From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nathan Neff Subject: Re: Re: orgcard.txt in Makefile Date: Wed, 14 Apr 2010 11:05:23 -0500 Message-ID: References: <87ochnu7q4.fsf@saadawi.sbszh.ch> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0749523395==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O255x-0002vm-4V for emacs-orgmode@gnu.org; Wed, 14 Apr 2010 12:05:41 -0400 Received: from [140.186.70.92] (port=51743 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O255p-0002uA-RK for emacs-orgmode@gnu.org; Wed, 14 Apr 2010 12:05:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O255f-0006xX-Ue for emacs-orgmode@gnu.org; Wed, 14 Apr 2010 12:05:29 -0400 Received: from mail-gy0-f169.google.com ([209.85.160.169]:52080) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O255f-0006xO-QQ for emacs-orgmode@gnu.org; Wed, 14 Apr 2010 12:05:23 -0400 Received: by gyg4 with SMTP id 4so160707gyg.0 for ; Wed, 14 Apr 2010 09:05:23 -0700 (PDT) In-Reply-To: <87ochnu7q4.fsf@saadawi.sbszh.ch> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Christian Egli , emacs-orgmode@gnu.org --===============0749523395== Content-Type: multipart/alternative; boundary=000e0cd4d7eeaaf3350484348b19 --000e0cd4d7eeaaf3350484348b19 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Tue, Apr 13, 2010 at 2:33 AM, Christian Egli wr= ote: > 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 generat= ed > in > > the "make doc" task. > > AFAIK It is not. > > > Is orgcard.txt generated from orgcard.tex? If so, can anyone tell me h= ow > > 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=FCrich, 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 > --000e0cd4d7eeaaf3350484348b19 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

On Tue, Apr 13, 2010 at 2:33 AM, Christi= an Egli <ch= ristian.egli@sbszh.ch> wrote:
Hi

Nathan Neff <nathan.neff@gmail.= com> writes:

> I'd like to use the orgcard.txt file that's included in the or= g-mode source.
> I like being able to search through a text file for relevant keyboard<= br> > 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 ge= nerated in
> the "make doc" task.

AFAIK It is not.

> Is orgcard.txt generated from orgcard.tex?=A0 If so, can anyone tell m= e 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

=A0a) compare the existing orgcard.pdf and orgcard.txt and update the
=A0 =A0 existing orgcard.txt accordingly or
=A0b) cut'n'paste the text from a pdf viewer into emacs and do som= e magic
=A0 =A0 with rectangles (as the text is in three columns) to achieve the =A0 =A0 desired result.

Then submit the newest orgcard.txt as a patch so you will not have to
keep it locally.

Thanks
Christian


Very cool.=A0 I wa= nt to contribute back to org-mode, but I don't
want to manually modi= fy 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.=A0 =

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 (P= erl) done by next week.

Thanks,
--Nate
=A0
--
Christian Egli
Swiss Library for the Blind, Visually Impaired and Print Disabled
Grubenstrasse 12, CH-8045 Z=FCrich, 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

--000e0cd4d7eeaaf3350484348b19-- --===============0749523395== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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 --===============0749523395==--