* does this pandoc error look familiar to anybody?
@ 2018-03-19 4:43 Samuel Wales
2018-03-19 9:56 ` Eric S Fraga
2018-03-19 12:02 ` Adonay Felipe Nogueira
0 siblings, 2 replies; 12+ messages in thread
From: Samuel Wales @ 2018-03-19 4:43 UTC (permalink / raw)
To: emacs-orgmode
exporting to html, then converting to pdf errors. it worked ok
before. just wondering if anybody has seen this before and can guess
if i did something wrong at the org level?
thanks.
===
pandoc -o sickly--pdf-from-pandoc.pdf sickly--html.html
! LaTeX Error: Too deeply nested.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.1358 \begin{itemize}
pandoc: Error producing PDF from TeX source
===
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: does this pandoc error look familiar to anybody?
2018-03-19 4:43 does this pandoc error look familiar to anybody? Samuel Wales
@ 2018-03-19 9:56 ` Eric S Fraga
2018-03-19 22:10 ` Samuel Wales
2018-03-19 12:02 ` Adonay Felipe Nogueira
1 sibling, 1 reply; 12+ messages in thread
From: Eric S Fraga @ 2018-03-19 9:56 UTC (permalink / raw)
To: Samuel Wales; +Cc: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 664 bytes --]
On Sunday, 18 Mar 2018 at 21:43, Samuel Wales wrote:
> exporting to html, then converting to pdf errors. it worked ok
> before. just wondering if anybody has seen this before and can guess
> if i did something wrong at the org level?
hard to know without seeing the actual input file but, if this happens
to be related to your other posting regarding exporting to PDF, LaTeX
has a limit on the number of levels, both headings and items. If you
have an org document (assuming you started with org to generate the
HTML) which has >8 levels, you are likely to run into this problem.
--
Eric S Fraga via Emacs 27.0.50, Org release_9.1.7-475-g3ffc7d
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 194 bytes --]
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: does this pandoc error look familiar to anybody?
2018-03-19 4:43 does this pandoc error look familiar to anybody? Samuel Wales
2018-03-19 9:56 ` Eric S Fraga
@ 2018-03-19 12:02 ` Adonay Felipe Nogueira
2018-03-19 12:30 ` Colin Baxter
1 sibling, 1 reply; 12+ messages in thread
From: Adonay Felipe Nogueira @ 2018-03-19 12:02 UTC (permalink / raw)
To: emacs-orgmode
> ! LaTeX Error: Too deeply nested.
I guess that it's due to excessive subsections, or --- in Org mode
documents --- this can also happen if you have headings such as
"***********" or similar exagerated structure.
The heading "***********" by default is exported as an item list
(`itemize' environment), or as an enumerated list (`enumerate'
environment), depending on the heading level.
Good academic and writting practice tells that headings shouldn't be
more than four levels deep. In LaTeX (which is used for PDF export), and
its default `article' class, you can have `section{}', `subsection{}',
`subsubsection{}' and --- if I'm not mistaken ---
`subsubsubsection{}'. At least for the LaTeX `book' class, before
`section{}', there is `\chapter{}'. In all cases, those headings that
are deeper than four are exported as lists by Org mode when converting
to LaTeX and to PDF.
--
- https://libreplanet.org/wiki/User:Adfeno
- Palestrante e consultor sobre /software/ livre (não confundir com
gratis).
- "WhatsApp"? Ele não é livre. Por favor, veja formas de se comunicar
instantaneamente comigo no endereço abaixo.
- Contato: https://libreplanet.org/wiki/User:Adfeno#vCard
- Arquivos comuns aceitos (apenas sem DRM): Corel Draw, Microsoft
Office, MP3, MP4, WMA, WMV.
- Arquivos comuns aceitos e enviados: CSV, GNU Dia, GNU Emacs Org, GNU
GIMP, Inkscape SVG, JPG, LibreOffice (padrão ODF), OGG, OPUS, PDF
(apenas sem DRM), PNG, TXT, WEBM.
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: does this pandoc error look familiar to anybody?
2018-03-19 12:02 ` Adonay Felipe Nogueira
@ 2018-03-19 12:30 ` Colin Baxter
2018-03-19 13:33 ` Peter Neilson
0 siblings, 1 reply; 12+ messages in thread
From: Colin Baxter @ 2018-03-19 12:30 UTC (permalink / raw)
To: Adonay Felipe Nogueira; +Cc: emacs-orgmode
>>>>> Adonay Felipe Nogueira <adfeno@hyperbola.info> writes:
---------------- snip ----------------
> Good academic and writting practice tells that headings shouldn't
> be more than four levels deep. In LaTeX (which is used for PDF
> export), and its default `article' class, you can have
> `section{}', `subsection{}', `subsubsection{}' and --- if I'm not
> mistaken --- `subsubsubsection{}'.
There's also part{}.
Best wishes,
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: does this pandoc error look familiar to anybody?
2018-03-19 12:30 ` Colin Baxter
@ 2018-03-19 13:33 ` Peter Neilson
0 siblings, 0 replies; 12+ messages in thread
From: Peter Neilson @ 2018-03-19 13:33 UTC (permalink / raw)
To: emacs-orgmode
On Mon, 19 Mar 2018 08:30:13 -0400, Colin Baxter <m43cap@yandex.com> wrote:
>>>>>> Adonay Felipe Nogueira <adfeno@hyperbola.info> writes:
>
> ---------------- snip ----------------
>
> > Good academic and writting practice tells that headings shouldn't
> > be more than four levels deep. In LaTeX (which is used for PDF
> > export), and its default `article' class, you can have
> > `section{}', `subsection{}', `subsubsection{}' and --- if I'm not
> > mistaken --- `subsubsubsection{}'.
>
> There's also part{}.
Indeed, if your writing is to be read by other people, not just yourself,
you should try to stay to no more than two levels. If you feel you need
levels deeper than two, perhaps your should refactor your writing.
When I say "two" do I mean * and **, or do I mean ** and ***? Well, I
guess that depends upon what the value of two is.
Moreover, as we can already see in this discussion, any attempt to correct
errors of style, grammar or spelling will itself contain additional
errors. This phenomenon is sometimes called Muphry's Law. Yes, Muphry, not
Murphy. https://en.wikipedia.org/wiki/Muphry%27s_law
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: does this pandoc error look familiar to anybody?
2018-03-19 9:56 ` Eric S Fraga
@ 2018-03-19 22:10 ` Samuel Wales
2018-03-20 7:42 ` Eric S Fraga
0 siblings, 1 reply; 12+ messages in thread
From: Samuel Wales @ 2018-03-19 22:10 UTC (permalink / raw)
To: Samuel Wales, emacs-orgmode
On 3/19/18, Eric S Fraga <esflists@gmail.com> wrote:
> has a limit on the number of levels, both headings and items. If you
> have an org document (assuming you started with org to generate the
> HTML) which has >8 levels, you are likely to run into this problem.
thanks everybody for your contributions, including muphry.
i will have to try this, but can i assume [i do hope] that
org->html->pandoc->pdf does not count clean view as approximately
doubling the number of levels?
and that it does not count levels above the subtree that i am
exporting? i.e. the olpath a/b/c/d/e/f/g/h/i/i am exporting
this/2/3/4 would be ok?
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: does this pandoc error look familiar to anybody?
2018-03-19 22:10 ` Samuel Wales
@ 2018-03-20 7:42 ` Eric S Fraga
2018-03-20 18:04 ` Nick Dokos
2018-03-20 20:00 ` Samuel Wales
0 siblings, 2 replies; 12+ messages in thread
From: Eric S Fraga @ 2018-03-20 7:42 UTC (permalink / raw)
To: Samuel Wales; +Cc: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 523 bytes --]
On Monday, 19 Mar 2018 at 15:10, Samuel Wales wrote:
> i will have to try this, but can i assume [i do hope] that
> org->html->pandoc->pdf does not count clean view as approximately
> doubling the number of levels?
I do not understand this question. Sorry.
> and that it does not count levels above the subtree that i am
> exporting? i.e. the olpath a/b/c/d/e/f/g/h/i/i am exporting
> this/2/3/4 would be ok?
Yes, this should be correct.
--
Eric S Fraga via Emacs 27.0.50, Org release_9.1.6-303-g6cf5fc
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 194 bytes --]
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: does this pandoc error look familiar to anybody?
2018-03-20 7:42 ` Eric S Fraga
@ 2018-03-20 18:04 ` Nick Dokos
2018-03-20 20:00 ` Samuel Wales
1 sibling, 0 replies; 12+ messages in thread
From: Nick Dokos @ 2018-03-20 18:04 UTC (permalink / raw)
To: emacs-orgmode
Eric S Fraga <esflists@gmail.com> writes:
> On Monday, 19 Mar 2018 at 15:10, Samuel Wales wrote:
>> i will have to try this, but can i assume [i do hope] that
>> org->html->pandoc->pdf does not count clean view as approximately
>> doubling the number of levels?
>
> I do not understand this question. Sorry.
>
IIUC, I don't think it's a problem: basically clean view doubles the
number of stars for each level, but logically speaking the levels
remain the same.
>> and that it does not count levels above the subtree that i am
>> exporting? i.e. the olpath a/b/c/d/e/f/g/h/i/i am exporting
>> this/2/3/4 would be ok?
>
> Yes, this should be correct.
--
Nick
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: does this pandoc error look familiar to anybody?
2018-03-20 7:42 ` Eric S Fraga
2018-03-20 18:04 ` Nick Dokos
@ 2018-03-20 20:00 ` Samuel Wales
2018-03-24 23:58 ` Samuel Wales
1 sibling, 1 reply; 12+ messages in thread
From: Samuel Wales @ 2018-03-20 20:00 UTC (permalink / raw)
To: Samuel Wales, emacs-orgmode
thanks eric and nick.
i was able to look at the h levels in the org direct export html.
they were h7 or so. dunno if there was an h1. so i am going to try
to get them down to h4.
then who knows if that will fix it.
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: does this pandoc error look familiar to anybody?
2018-03-20 20:00 ` Samuel Wales
@ 2018-03-24 23:58 ` Samuel Wales
2018-03-25 8:57 ` Julius Dittmar
0 siblings, 1 reply; 12+ messages in thread
From: Samuel Wales @ 2018-03-24 23:58 UTC (permalink / raw)
To: Samuel Wales, emacs-orgmode
i reduced levels in org. the exported html has no h1. it has nothing
deeper than h4.
it sounds like it's producing latex someplace but can't produce pdf.
still i get this:
pandoc -o sickly--pdf-from-pandoc.pdf alpha-org-export-output.html
! LaTeX Error: Too deeply nested.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.590 \begin{itemize}
pandoc: Error producing PDF from TeX source
(43)
which is funny because it used to work. maybe it is not an error in
my use of org?
i then tried .latex and went to line 590 and did not find anything
unusual, nor that line.
but it was a list. must lists not be nested?
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: does this pandoc error look familiar to anybody?
2018-03-24 23:58 ` Samuel Wales
@ 2018-03-25 8:57 ` Julius Dittmar
2018-03-25 23:55 ` Samuel Wales
0 siblings, 1 reply; 12+ messages in thread
From: Julius Dittmar @ 2018-03-25 8:57 UTC (permalink / raw)
To: emacs-orgmode
On 25.03.2018 00:58, Samuel Wales wrote:
> i then tried .latex and went to line 590 and did not find anything
> unusual, nor that line.
> but it was a list. must lists not be nested?
How deeply are those lists nested? LaTeX has a maximum on that as well:
4 levels of a specific kind of list, and 6 levels total (so you could
put for levels of bullet-list into an enumerated list for example).
HTH,
Julius
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: does this pandoc error look familiar to anybody?
2018-03-25 8:57 ` Julius Dittmar
@ 2018-03-25 23:55 ` Samuel Wales
0 siblings, 0 replies; 12+ messages in thread
From: Samuel Wales @ 2018-03-25 23:55 UTC (permalink / raw)
To: Julius Dittmar; +Cc: emacs-orgmode
On 3/25/18, Julius Dittmar <Julius.Dittmar@gmx.de> wrote:
> On 25.03.2018 00:58, Samuel Wales wrote:
>> i then tried .latex and went to line 590 and did not find anything
>> unusual, nor that line.
>> but it was a list. must lists not be nested?
>
> How deeply are those lists nested? LaTeX has a maximum on that as well:
> 4 levels of a specific kind of list, and 6 levels total (so you could
> put for levels of bullet-list into an enumerated list for example).
interesting. big document [org subtree] with lots of lists and idk
what to do to measure the max depth. maybe about 4 total though.
mixed 1) and - style.
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2018-03-25 23:55 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-19 4:43 does this pandoc error look familiar to anybody? Samuel Wales
2018-03-19 9:56 ` Eric S Fraga
2018-03-19 22:10 ` Samuel Wales
2018-03-20 7:42 ` Eric S Fraga
2018-03-20 18:04 ` Nick Dokos
2018-03-20 20:00 ` Samuel Wales
2018-03-24 23:58 ` Samuel Wales
2018-03-25 8:57 ` Julius Dittmar
2018-03-25 23:55 ` Samuel Wales
2018-03-19 12:02 ` Adonay Felipe Nogueira
2018-03-19 12:30 ` Colin Baxter
2018-03-19 13:33 ` Peter Neilson
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).