[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Bug: incorrect export for LaTeX [8.2.10 (release_8.2.10 @ c:/ema
From: |
Rasmus |
Subject: |
Re: [O] Bug: incorrect export for LaTeX [8.2.10 (release_8.2.10 @ c:/emacs25-91/share/emacs/25.0.91/lisp/org/)] |
Date: |
Sun, 06 Mar 2016 19:57:27 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
Nicolas Goaziou <address@hidden> writes:
> Hello,
>
> Rasmus <address@hidden> 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
address@hidden 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:
address@hidden
+\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
Re: [O] Bug: incorrect export for LaTeX [8.2.10 (release_8.2.10 @ c:/emacs25-91/share/emacs/25.0.91/lisp/org/)], Marcin Borkowski, 2016/03/06