public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* [LaTeX] Problem with Links in headers
@ 2019-09-01 13:16 Andreas Scherer
       [not found] ` <9600a513-8196-4747-953f-70ada224a688-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Andreas Scherer @ 2019-09-01 13:16 UTC (permalink / raw)
  To: pandoc-discuss


[-- Attachment #1.1: Type: text/plain, Size: 848 bytes --]

What's wrong with the attached MWE? If I try to compile *taocp.md* with *pandoc 
taocp.md -o taocp.pdf*, I receive the error message from LaTeX: 

Error producing PDF.
! File ended while scanning use of \@writefile.
<inserted text>  
               \par  
l.49 \begin{document}


If I delete either non-empty input line, the compilation is successful and 
the links work in the PDF dile.

(*pandoc taocp.md -s -o taocp.html* works fine.)

-- 
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/9600a513-8196-4747-953f-70ada224a688%40googlegroups.com.

[-- Attachment #1.2: Type: text/html, Size: 1555 bytes --]

[-- Attachment #2: taocp.md --]
[-- Type: text/markdown, Size: 324 bytes --]


#### Fascicle 1 for Section 1.3: [MMIX](file:///opt/archive/Code For Books/TAoCP (Knuth)/fasc1.ps.gz) ([orig](https://www-cs-faculty.stanford.edu/~knuth/fasc1.ps.gz))

[Errata for Fascicle 1](file:///opt/archive/Code For Books/TAoCP (Knuth)/err1f1.ps.gz) ([orig](https://www-cs-faculty.stanford.edu/~knuth/err1f1.ps.gz)).


^ permalink raw reply	[flat|nested] 4+ messages in thread
* Re: [LaTeX] Problem with Links in headers
@ 2019-09-03  8:43 Andreas Scherer
  0 siblings, 0 replies; 4+ messages in thread
From: Andreas Scherer @ 2019-09-03  8:43 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

Finally, I was able to rearrange the full MD document to compile it successfully into PDF and HTML. Moving all '#' sectioning commands one level up seems to satisfy pdflatex. Maybe the 'paragraph' level was too deep (although there were more such items, none followed by 'text').

The final result is in this gist: https://gist.github.com/ascherer/b10e9680436f61bb776adef2c0c353f7
Thanks. Case closed.








-- 
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/906b7dd2fdd045c00a777d5492d3aa2f%40email.freenet.de.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-09-03  8:43 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-01 13:16 [LaTeX] Problem with Links in headers Andreas Scherer
     [not found] ` <9600a513-8196-4747-953f-70ada224a688-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2019-09-02  3:52   ` John MacFarlane
     [not found]     ` <m28sr7cq31.fsf-pgq/RBwaQ+zq8tPRBa0AtqxOck334EZe@public.gmane.org>
2019-09-02 17:13       ` Andreas Scherer
2019-09-03  8:43 Andreas Scherer

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 NNTP newsgroup(s).