[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] Re: orgcard.txt in Makefile

From: Nathan Neff
Subject: Re: [Orgmode] Re: orgcard.txt in Makefile
Date: Wed, 14 Apr 2010 11:05:23 -0500

On Tue, Apr 13, 2010 at 2:33 AM, Christian Egli <address@hidden> wrote:

Nathan Neff <address@hidden> 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.


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.

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.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]