public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
From: "T. Kurt Bond" <tkurtbond-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
Subject: Re: Oddity in LaTeX output from ReST file with :author: metadata
Date: Tue, 8 Dec 2020 12:58:44 -0500	[thread overview]
Message-ID: <CAN1EhV8O_ppZmwY=Tfjg5=cc8R9FM6hdTKJXArmQMwpdD7ES7g@mail.gmail.com> (raw)
In-Reply-To: <87tuswzidx.fsf-9EawChwDxG8hFhg+JK9F0w@public.gmane.org>

[-- 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 --]

      parent reply	other threads:[~2020-12-08 17:58 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-08 10:32 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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAN1EhV8O_ppZmwY=Tfjg5=cc8R9FM6hdTKJXArmQMwpdD7ES7g@mail.gmail.com' \
    --to=tkurtbond-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
    --cc=pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).