From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jonathan Leech-Pepin Subject: Re: [RFC] Org version of the Org manual Date: Sun, 10 Mar 2013 15:39:56 -0400 Message-ID: References: <87ehfuonx6.fsf@Rainer.invalid> <87zjyhotvi.fsf@yagnesh.org> <876213cbnu.fsf@Rainer.invalid> <87txojo32h.fsf@Rainer.invalid> <87620zm50w.fsf@Rainer.invalid> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=20cf307d04229a015404d7973834 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:43067) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UEm6A-0007gx-Lg for emacs-orgmode@gnu.org; Sun, 10 Mar 2013 15:40:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UEm69-00044b-22 for emacs-orgmode@gnu.org; Sun, 10 Mar 2013 15:39:58 -0400 Received: from mail-vc0-f174.google.com ([209.85.220.174]:40738) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UEm68-00044U-TC for emacs-orgmode@gnu.org; Sun, 10 Mar 2013 15:39:56 -0400 Received: by mail-vc0-f174.google.com with SMTP id n11so1705567vch.19 for ; Sun, 10 Mar 2013 12:39:56 -0700 (PDT) In-Reply-To: <87620zm50w.fsf@Rainer.invalid> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Achim Gratz Cc: emacs-orgmode@gnu.org --20cf307d04229a015404d7973834 Content-Type: text/plain; charset=UTF-8 On 10 March 2013 15:25, Achim Gratz wrote: > Jonathan Leech-Pepin writes: > > The error is actually on line 6069 of the manual. The {{{vindex > > [...]}}} line and subsequent paragraph. As far as the list is > > concerned there is no associated content for that list > > entry. Indenting them appropriately to be recognized as part of the > > list allows for successful export. > > Thanks for tracking that down. > > > This may also be partly a bug, should the exporter allow for a list > > item without any contents? > > Well it should maybe not allow for it, but I think it should either > expect to get a nil in that situation or otherwsie not let the error > propagate. Anyway, it's great to have such a large and complex document > available to train the exporter on. > The error is not actually within ox-texinfo in this case however I suspect. The exact same code (at the location of the error in ox-texinfo) appears within ox-latex and ox-ascii. `(org-trim contents)', which removes whitespace at start and end of string, in this case with the string being the contents of the list item. When there is no contents there is no string to clean up. Regards, Jon > > > Regards, > Achim. > -- > +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ > > Waldorf MIDI Implementation & additional documentation: > http://Synth.Stromeko.net/Downloads.html#WaldorfDocs > > > --20cf307d04229a015404d7973834 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

On 10 March 2013 15:25, Achim Gratz <St= romeko@nexgo.de> wrote:
Jonathan Leech-Pepin writes:
> The error is actually on line 6069 of the manual. The {{{vindex
> [...]}}} line and subsequent paragraph. As far as the list is
> concerned there is no associated content for that list
> entry. Indenting them appropriately to be recognized as part of the > list allows for successful export.

Thanks for tracking that down.

> This may also be partly a bug, should the exporter allow for a list > item without any contents?

Well it should maybe not allow for it, but I think it should either expect to get a nil in that situation or otherwsie not let the error
propagate. =C2=A0Anyway, it's great to have such a large and complex do= cument
available to train the exporter on.

The error is n= ot actually within ox-texinfo in this case however I suspect.
The exact = same code (at the location of the error in ox-texinfo) appears within
ox-latex and ox-ascii.

`(org-trim contents)', which removes whit= espace at start and end of string,
in this case with the string being th= e contents of the list item.=C2=A0 When there is
no contents there is no= string to clean up.

Regards,

Jon


Regards,
Achim.
--
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+<= br>
Waldorf MIDI Implementation & additional documentation:
http://Synth.Stromeko.net/Downloads.html#WaldorfDocs



--20cf307d04229a015404d7973834--