[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] Exporting org to LaTeX to PDF: headings do not convert to
From: |
Carsten Dominik |
Subject: |
Re: [Orgmode] Exporting org to LaTeX to PDF: headings do not convert to sections |
Date: |
Thu, 21 May 2009 16:52:28 +0200 |
Replying to my own message:
On May 21, 2009, at 4:27 PM, Carsten Dominik wrote:
Hi Alan,
this is a fundamental limitation in LaTeX
See http://www.tex.ac.uk/cgi-bin/texfaq2html?label=toodeep
The only thing you can do in Org is to increase the number of
headline levels to the maximum possible:
#+OPTION H:5
is I think the maximum you can get. You cal also create a
LaTeX class with more headline leves and push H even further.
I believe there are some clases which provide at least
subsubparagraph.
If you have a good idea how to represent deeper levels in LaTeX,
maybe we
can do something clever in the LaTeX exporter.
Besides this, I see no further way out of this problem.
I just realize that your question provides the answer to a question
I had for a long time: Why did Bastien implement lower
levels in the LaTeX export as {description} lists instead of
{itemize} lists. Now I know the answer: Because the number of levels
in a description list is not limited.
I recently changed Bastien's code to use itemize instead, for
consistence with HTML export. Fortunately I left the old code
in, with a customization option. Please try:
(setq org-export-latex-low-level 'description)
- Carsten
HTH
- Carsten
On May 21, 2009, at 3:50 PM, Alan E. Davis wrote:
An outline, when exported as PDF, shows no sections. When
exporting to LaTeX, the following message is received:
ERROR: LaTeX Error: Too deeply nested.
--- TeX said ---
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.110 \begin{itemize}
--- HELP ---
There are too many list-making environments nested within one
another.
How many levels of nesting are permitted may depend upon what
computer
you are using, but at least four levels are provided, which
should be
enough.
When I am able to clear out a couple of levels of /begin{itemize},
LaTeX does compile, and produces a file with sections as expected.
Is there a solution, or something I ought to know?
I have tried to set some options, like sec:5, in the outline, but
to no effect. In the PDF, instead of sections with numbers, one
finds several stars, as though this were an ascii export.
Thank you for any advice.
Alan Davis
It is undesirable to believe a proposition when
there is no ground whatsoever for supposing it is true.
---- Bertrand Russell
_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
address@hidden
http://lists.gnu.org/mailman/listinfo/emacs-orgmode
=======================
PLEASE NOTE NEW ADDRESS
=======================
prof.dr. Carsten Dominik address@hidden
Astronomical Institute 'Anton Pannekoek'
www.astro.uva.nl/~dominik
Faculty of Science, University of Amsterdam phone
+31-20-5257477/7491
SCIENCE PARK 904, ROOM C4-106 fax +31-20-5257484
1098 XH Amsterdam, The Netherlands
mail: PO BOX 94249, 1090GE, Amsterdam
- [Orgmode] Exporting org to LaTeX to PDF: headings do not convert to sections, Alan E. Davis, 2009/05/21
- Re: [Orgmode] Exporting org to LaTeX to PDF: headings do not convert to sections, Carsten Dominik, 2009/05/21
- Re: [Orgmode] Exporting org to LaTeX to PDF: headings do not convert to sections,
Carsten Dominik <=
- Re: [Orgmode] Exporting org to LaTeX to PDF: headings do not convert to sections, Alan E. Davis, 2009/05/21
- Re: [Orgmode] Exporting org to LaTeX to PDF: headings do not convert to sections, Carsten Dominik, 2009/05/21
- [Orgmode] Re: Exporting org to LaTeX to PDF: headings do not convert to sections, Eric S Fraga, 2009/05/22
- Re: [Orgmode] Re: Exporting org to LaTeX to PDF: headings do not convert to sections, Carsten Dominik, 2009/05/23
- Re: [Orgmode] Re: Exporting org to LaTeX to PDF: headings do not convert to sections, Alan E. Davis, 2009/05/23
- Re: [Orgmode] Exporting org to LaTeX to PDF: headings do not convert to sections, Mark Elston, 2009/05/21