John,

even if I feel 15yrs back to the first python indent errors - it works!
Thank you very much.

-hendrik

Am Montag, 12. Juni 2017 12:49:47 UTC+2 schrieb John MacFarlane:
See the manual under the "four space rule."  Any new block
content (such as a code block) that is intended to go under
a list item must be indented four spaces.  You only have
three.

+++ Hendrik Bäcker [Jun 12 17 02:27 ]:
>   Hi Group,
>   I'm just at the beginning to play araound with pandoc and have nearly
>   no background with latex.
>   Currently I'm facing problems to transform following markdown text to a
>   pdf.
>   As long as I don't try to quote the backtick-code-block within a list
>   the transformation will suceed without error - anything else results
>   into a "! LaTeX Error: Bad math environment delimiter."
>   Do I miss any needed extensions or s.th. similar? Any hint to the right
>   direction would be nice.
>   # Contents of 'foo.md'
>   1. Bla bla bla
>   1. foobar
>   ```
>   !/bin/bash
>      ls -1 *.ext | while read f
>      do
>          echo $f; n=${f%%.*}; n=${n,,}
>          l=${n##*_}
>          d=${n%%-mx*}
>          d=${d/-/.}
>          ~/a.py -r ext -I file-$l-$d -s location=$l -i $f
>      done
>   ```
>   # Command to transform
>   pandoc --latex-engine=xelatex -f markdown -o foo.pdf foo.md
>   # Pandoc Version
>   pandoc -v
>   pandoc 1.19.2.1
>   Compiled with pandoc-types 1.17.0.4, texmath 0.9, skylighting 0.1.1.4
>   Default user data directory: /home/bkr/.pandoc
>   Copyright (C) 2006-2016 John MacFarlane
>   Web:  http://pandoc.org
>   This is free software; see the source for copying conditions.
>   There is no warranty, not even for merchantability or fitness
>   for a particular purpose.
>   # Displayed Error Message
>   pandoc -f markdown -o foo.pdf foo.md
>   ! LaTeX Error: Bad math environment delimiter.
>   See the LaTeX manual or LaTeX Companion for explanation.
>   Type  H <return>  for immediate help.
>    ...
>
>   l.71 \textasciitilde{}/a.py -r ext -I file-\(
>   pandoc: Error producing PDF
>   Regards,
>   Hendrik
>
>   --
>   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 [1]pandoc-discus...@googlegroups.com.
>   To post to this group, send email to
>   [2]pandoc-...@googlegroups.com.
>   To view this discussion on the web visit
>   [3]https://groups.google.com/d/msgid/pandoc-discuss/3c26f20b-250b-4ac6-
>   83d3-3d7a5c5d3ef0%40googlegroups.com.
>   For more options, visit [4]https://groups.google.com/d/optout.
>
>References
>
>   1. mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
>   2. mailto:pandoc-...@googlegroups.com
>   3. https://groups.google.com/d/msgid/pandoc-discuss/3c26f20b-250b-4ac6-83d3-3d7a5c5d3ef0@googlegroups.com?utm_medium=email&utm_source=footer
>   4. https://groups.google.com/d/optout

--
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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/7a7d8667-8de5-4450-9ef8-22ac640eeeeb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.