public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
From: "'K' via pandoc-discuss" <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
To: pandoc-discuss <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
Subject: Re: Problem with ordered lists - Markdown to PDF
Date: Wed, 6 Sep 2017 04:21:11 -0700 (PDT)	[thread overview]
Message-ID: <9f54f8a1-6f77-4a40-bc9a-0eb70034536d@googlegroups.com> (raw)
In-Reply-To: <bb3d9147-befa-4061-b14c-282e6db835fc-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>


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

Stupid me, ...
I've got a wrong parameter in my cmdline "-i". Without it, it runs as 
smooth as wished...


Am Mittwoch, 6. September 2017 10:53:11 UTC+2 schrieb K:
>
> Hi,
>
> I want to convert a ordered list from Markdown to PDF but it didn't worked.
> The Markdown-Part looks like the basic example, nothing fancy around 
> (headlines, blockqoutes) :
> 1.  Red.
> 2.  Green.
> 3.  Blue.
>
>
>
> I want to convert it with MikTex 2.9 (portable) and tried this commandline:
> H:\pandoc-1.19.2.1-windows\pandoc -i H:\pandoc-1.19.2.1-windows\test\md\
> Markdown_Test_01.md -o H:\pandoc-1.19.2.1-windows\test\md\Markdown_Test_01
> .pdf --latex-engine=H:\MiKTeX_2.9\miktex\bin\pdflatex.exe
>
>
>
> As far as I understand, this is all what's necessary for a conversion. 
> That commandline produces the following error:
> ! 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.106   R
>
> pandoc: Error producing PDF
>
>
>
> A conversion to HTML runs perfectly. The next step was Mardown to Tex 
> (with -s), runs without errors. With my little knowledge about Tex/Latex 
> i've tried a direct conversion from Tex to PDF with Texworks/MikTex (with 
> pdfLatex) show the same error as above.
> \begin{enumerate}[<+->]
> \def\labelenumi{\arabic{enumi}.}
> \tightlist
> \item
>   Red.
> \item
>   Green.
> \item
>   Blue.
> \end{enumerate}
>
>
>
> After a little trail and error i found out, that the following part in 
> that Tex-File seems to be the Problem:
> \begin{enumerate}[<+->]
>
>
>
> After removing that
> [<+->]
>
> the conversion runs smoothly.
>
> So, is this a Problem in Pandocs Markdown to Tex (PDF) part? Or is my 
> Latex-System not ok? In the web i didn't found anything like that 
> {enumerate}[<+->]. Am i missing a Latex-Paket (in that case MikTex normaly 
> shows an installation window)? Or where is my problem?
>
> Thanks for a little help or advice where to look.
> Greets from (wet) Germany
> Karsten
>
>
>

-- 
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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/9f54f8a1-6f77-4a40-bc9a-0eb70034536d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

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

      parent reply	other threads:[~2017-09-06 11:21 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-06  8:53 'K' via pandoc-discuss
     [not found] ` <bb3d9147-befa-4061-b14c-282e6db835fc-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2017-09-06 11:21   ` 'K' via pandoc-discuss [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=9f54f8a1-6f77-4a40-bc9a-0eb70034536d@googlegroups.com \
    --to=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).