emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] Fwd: Export to Texinfo


From: Nicolas Goaziou
Subject: Re: [O] Fwd: Export to Texinfo
Date: Fri, 03 Aug 2012 10:41:00 +0200

Hello,

Jonathan Leech-Pepin <address@hidden> writes:

> Nested lists do work with only a small issue I can see at the moment,
> if there are no blank lines between the items in org there are none in
> the info file either, however there are 2 blank lines at the end of
> the nested list (end of nested list+end of parent item).

By default, Org export preserves the number of blank lines during
conversion.  If no blank line separates two elements in the Org buffer,
no blank line will separate their transcoded version.

You can change this by using filters.  For example "md" back-end
enforces at least one blank line between elements (see
`org-md-separate-elements') and "e-ascii" back-end normalizes the number
of blank lines after an headline (see
`org-e-ascii-filter-headline-blank-lines').

Filters are installed by :filters-alist keyword in
`org-export-define-backend' and `org-export-define-derived-backend'.

> When I export the attached .org file the only difference I get from
> your .texi is the AUTHOR and the chapter/sections are numbered rather
> than unnumbered (and the level 4 headline is an enumerate rather than
> an itemize).

Ideally, for "listified" headlines, list type (ordered or not) should be
determined by `org-export-numbered-headline-p' predicate.


Regards,

-- 
Nicolas Goaziou



reply via email to

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