Nicolas Goaziou <m...@nicolasgoaziou.fr> writes:

> Hello,
>
> Rasmus <ras...@gmx.us> writes:
>
>> I don’t think we need to do anything.
>
> Don't do anything? OK, done.
>
>> If we wanted to support this we’d probably need to load enumerate
>> (which is not a bad package...). We have worse offenders of manual
>> config. Local TOCs spring to mind. http://orgmode.org/org.html#fn-113
>
> Even if it isn't supported (I let you decide about it), It could be
> documented somewhere, if only as a FAQ, or even in the LaTeX export
> section of the manual.
>
> WDYT?

I would be happy with simply documenting this limitation and documenting a
solution, e.g. using enumitem one.  Enumitem is a wonderful package, but I
see no reason to add it as a standard package because of this.

Do any of you have a place in mind where we could add this to the manual?
How about the "Plain lists in LaTeX export".  I propose the following
change.  WDYT?  Can I commit/push?


modified   doc/org.texi
@@ -12297,12 +12297,30 @@ the @LaTeX{} @code{\includegraphics} macro will be 
commented out.
 
 Plain lists accept two optional attributes: @code{:environment} and
 @code{:options}.  The first one allows the use of a non-standard environment
-(e.g., @samp{inparaenum}).  The second one specifies additional arguments for
+(e.g., @samp{itemize*} of @samp{enumitem}).  The second one specifies 
additional arguments for
 that environment.
 
 @example
-#+ATTR_LATEX: :environment compactitem :options [$\circ$]
-- you need ``paralist'' package to reproduce this example.
+#+latex_header: \usepackage[inline]{enumitem}
+Some ways to say "Hello":
+#+ATTR_LATEX: :environment itemize* :options [label={}, itemjoin={,}, 
itemjoin*={, and}]
+- Hola
+- Bonjour
+- Guten Tag
+@end example
+
+By default, @LaTeX{} only support four level of nesting for lists.  If deeper
+nesting is needed, the @samp{enumitem} @LaTeX{} package could be employed, as
+shown in this example:
+@example
+\usepackage{enumitem}
+\renewlist{itemize}{itemize}{9}
+\setlist[itemize]{label=$\circ$}
+- one
+  - two
+    - three
+      - four
+        - five
 @end example
 

Rasmus

-- 
A page of history is worth a volume of logic

Reply via email to