On Tue, Apr 13, 2010 at 2:33 AM, Christian Egli wrote: > Hi > > Nathan Neff writes: > > > I'd like to use the orgcard.txt file that's included in the org-mode > source. > > I like being able to search through a text file for relevant keyboard > > shortcuts. > > > > It doesn't seem like it's been updated since org version 6.10. > > > > I tried running make doc, but I don't think that orgcard.txt is generated > in > > the "make doc" task. > > AFAIK It is not. > > > Is orgcard.txt generated from orgcard.tex? If so, can anyone tell me how > > to do it? > > I presume that it is converted by hand. I tried a few automated tools > (pdftotext, latex2html + w3m) but they all give very bad results. > > I would recommend to either > > a) compare the existing orgcard.pdf and orgcard.txt and update the > existing orgcard.txt accordingly or > b) cut'n'paste the text from a pdf viewer into emacs and do some magic > with rectangles (as the text is in three columns) to achieve the > desired result. > > Then submit the newest orgcard.txt as a patch so you will not have to > keep it locally. > > Thanks > Christian > > Very cool. I want to contribute back to org-mode, but I don't want to manually modify orgcard.txt :-) I will write a script that can parse the orgcard.tex file and pull out the goodies that we want in the orgcard.txt file. Regardless of whether that script is accepted into the org-mode base, I can run the script when there's an update to orgcard.tex, then submit the updated orgcard.txt. I should have a quick & dirty script (Perl) done by next week. Thanks, --Nate > -- > Christian Egli > Swiss Library for the Blind, Visually Impaired and Print Disabled > Grubenstrasse 12, CH-8045 Zürich, Switzerland > > > > _______________________________________________ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode >