* Oddity in LaTeX output from ReST file with :author: metadata
@ 2020-12-08 10:32 T. Kurt Bond
[not found] ` <CAN1EhV8NC_NWLpMBxCdn7Eb_3uyVv8CWjQZ7b6tMZPe1FwjhUQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
0 siblings, 1 reply; 3+ messages in thread
From: T. Kurt Bond @ 2020-12-08 10:32 UTC (permalink / raw)
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw
[-- Attachment #1: Type: text/plain, Size: 1504 bytes --]
I'm using pandoc version:
pandoc 2.11.2
Compiled with pandoc-types 1.22, texmath 0.12.0.3, skylighting 0.10.0.3,
citeproc 0.2, ipynb 0.1.0.1
I have a ReStructuredText file:
:title: A Test of RST Metadata
:author: T. Kurt Bond
This is some text.
When I process it to produce LaTeX output, like this:
pandoc -s -r rst -w latex --pdf-engine=xelatex --lua-filter=general.lua -o
author-broke-in-latex.ltx.pdf author-broke-in-latex.rst
I get the following error:
Error producing PDF.
! LaTeX Error: Something's wrong--perhaps a missing \item.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.64
When I look at the generated LaTeX, line 64 is right after the \maketitle but
the interesting thing is the \author invocation, which looks like this:
\author{\begin{enumerate}
\def\labelenumi{\Alph{enumi}.}
\setcounter{enumi}{19}
\tightlist
\item
Kurt Bond
\end{enumerate}}
Anybody have any ideas why this is happening?
--
T. Kurt Bond, tkurtbond-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org, https://tkurtbond.github.io
--
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/CAN1EhV8NC_NWLpMBxCdn7Eb_3uyVv8CWjQZ7b6tMZPe1FwjhUQ%40mail.gmail.com.
[-- Attachment #2: Type: text/html, Size: 4221 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Oddity in LaTeX output from ReST file with :author: metadata
[not found] ` <CAN1EhV8NC_NWLpMBxCdn7Eb_3uyVv8CWjQZ7b6tMZPe1FwjhUQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2020-12-08 10:44 ` Albert Krewinkel
[not found] ` <87tuswzidx.fsf-9EawChwDxG8hFhg+JK9F0w@public.gmane.org>
0 siblings, 1 reply; 3+ messages in thread
From: Albert Krewinkel @ 2020-12-08 10:44 UTC (permalink / raw)
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw
Pandoc treats "T. Kurt Bond" as a list with an item "Kurt Bond" marked
with "T.". You can prevent this by escaping the dot:
:title: A Test of RST Metadata
:author: T\. Kurt Bond
This is some text.
T. Kurt Bond writes:
> I'm using pandoc version:
>
> pandoc 2.11.2
> Compiled with pandoc-types 1.22, texmath 0.12.0.3, skylighting 0.10.0.3,
> citeproc 0.2, ipynb 0.1.0.1
>
>
> I have a ReStructuredText file:
>
> :title: A Test of RST Metadata
> :author: T. Kurt Bond
>
> This is some text.
>
>
> When I process it to produce LaTeX output, like this:
>
> pandoc -s -r rst -w latex --pdf-engine=xelatex --lua-filter=general.lua -o
> author-broke-in-latex.ltx.pdf author-broke-in-latex.rst
>
>
> I get the following error:
>
> Error producing PDF.
> ! LaTeX Error: Something's wrong--perhaps a missing \item.
>
> See the LaTeX manual or LaTeX Companion for explanation.
> Type H <return> for immediate help.
> ...
>
> l.64
>
>
> When I look at the generated LaTeX, line 64 is right after the \maketitle but
> the interesting thing is the \author invocation, which looks like this:
>
> \author{\begin{enumerate}
> \def\labelenumi{\Alph{enumi}.}
> \setcounter{enumi}{19}
> \tightlist
> \item
> Kurt Bond
> \end{enumerate}}
>
>
> Anybody have any ideas why this is happening?
>
> --
> T. Kurt Bond, tkurtbond-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org, https://tkurtbond.github.io
--
Albert Krewinkel
GPG: 8eed e3e2 e8c5 6f18 81fe e836 388d c0b2 1f63 1124
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Oddity in LaTeX output from ReST file with :author: metadata
[not found] ` <87tuswzidx.fsf-9EawChwDxG8hFhg+JK9F0w@public.gmane.org>
@ 2020-12-08 17:58 ` T. Kurt Bond
0 siblings, 0 replies; 3+ messages in thread
From: T. Kurt Bond @ 2020-12-08 17:58 UTC (permalink / raw)
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw
[-- Attachment #1: Type: text/plain, Size: 2672 bytes --]
Oh, that makes sense. Thanks!
On Tue, Dec 8, 2020 at 5:45 AM Albert Krewinkel <albert+pandoc-9EawChwDxG8hFhg+JK9F0w@public.gmane.org>
wrote:
> Pandoc treats "T. Kurt Bond" as a list with an item "Kurt Bond" marked
> with "T.". You can prevent this by escaping the dot:
>
> :title: A Test of RST Metadata
> :author: T\. Kurt Bond
>
> This is some text.
>
>
> T. Kurt Bond writes:
>
> > I'm using pandoc version:
> >
> > pandoc 2.11.2
> > Compiled with pandoc-types 1.22, texmath 0.12.0.3, skylighting 0.10.0.3,
> > citeproc 0.2, ipynb 0.1.0.1
> >
> >
> > I have a ReStructuredText file:
> >
> > :title: A Test of RST Metadata
> > :author: T. Kurt Bond
> >
> > This is some text.
> >
> >
> > When I process it to produce LaTeX output, like this:
> >
> > pandoc -s -r rst -w latex --pdf-engine=xelatex --lua-filter=general.lua
> -o
> > author-broke-in-latex.ltx.pdf author-broke-in-latex.rst
> >
> >
> > I get the following error:
> >
> > Error producing PDF.
> > ! LaTeX Error: Something's wrong--perhaps a missing \item.
> >
> > See the LaTeX manual or LaTeX Companion for explanation.
> > Type H <return> for immediate help.
> > ...
> >
> > l.64
> >
> >
> > When I look at the generated LaTeX, line 64 is right after the
> \maketitle but
> > the interesting thing is the \author invocation, which looks like this:
> >
> > \author{\begin{enumerate}
> > \def\labelenumi{\Alph{enumi}.}
> > \setcounter{enumi}{19}
> > \tightlist
> > \item
> > Kurt Bond
> > \end{enumerate}}
> >
> >
> > Anybody have any ideas why this is happening?
> >
> > --
> > T. Kurt Bond, tkurtbond-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org, https://tkurtbond.github.io
>
>
> --
> Albert Krewinkel
> GPG: 8eed e3e2 e8c5 6f18 81fe e836 388d c0b2 1f63 1124
>
> --
> 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/87tuswzidx.fsf%40zeitkraut.de
> .
>
--
T. Kurt Bond, tkurtbond-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org, https://tkurtbond.github.io
--
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/CAN1EhV8O_ppZmwY%3DTfjg5%3Dcc8R9FM6hdTKJXArmQMwpdD7ES7g%40mail.gmail.com.
[-- Attachment #2: Type: text/html, Size: 4383 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-12-08 17:58 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-08 10:32 Oddity in LaTeX output from ReST file with :author: metadata T. Kurt Bond
[not found] ` <CAN1EhV8NC_NWLpMBxCdn7Eb_3uyVv8CWjQZ7b6tMZPe1FwjhUQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2020-12-08 10:44 ` Albert Krewinkel
[not found] ` <87tuswzidx.fsf-9EawChwDxG8hFhg+JK9F0w@public.gmane.org>
2020-12-08 17:58 ` T. Kurt Bond
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).