Re: [O] does this pandoc error look familiar to anybody?

2018-03-25 Thread Samuel Wales
On 3/25/18, Julius Dittmar  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.



Re: [O] does this pandoc error look familiar to anybody?

2018-03-25 Thread Julius Dittmar



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





Re: [O] does this pandoc error look familiar to anybody?

2018-03-24 Thread Samuel Wales
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   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?



Re: [O] does this pandoc error look familiar to anybody?

2018-03-20 Thread Samuel Wales
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.



Re: [O] does this pandoc error look familiar to anybody?

2018-03-20 Thread Nick Dokos
Eric S Fraga  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




Re: [O] does this pandoc error look familiar to anybody?

2018-03-20 Thread Eric S Fraga
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


signature.asc
Description: PGP signature


Re: [O] does this pandoc error look familiar to anybody?

2018-03-19 Thread Samuel Wales
On 3/19/18, Eric S Fraga  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?



Re: [O] does this pandoc error look familiar to anybody?

2018-03-19 Thread Peter Neilson

On Mon, 19 Mar 2018 08:30:13 -0400, Colin Baxter  wrote:


Adonay Felipe Nogueira  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




Re: [O] does this pandoc error look familiar to anybody?

2018-03-19 Thread Colin Baxter
> Adonay Felipe Nogueira  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,



Re: [O] does this pandoc error look familiar to anybody?

2018-03-19 Thread Adonay Felipe Nogueira
> ! 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.



Re: [O] does this pandoc error look familiar to anybody?

2018-03-19 Thread Eric S Fraga
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


signature.asc
Description: PGP signature


[O] does this pandoc error look familiar to anybody?

2018-03-18 Thread Samuel Wales
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   for immediate help.
 ...

l.1358   \begin{itemize}

pandoc: Error producing PDF from TeX source
===