From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/17822 Path: news.gmane.org!.POSTED!not-for-mail From: =?UTF-8?Q?Hendrik_B=C3=A4cker?= Newsgroups: gmane.text.pandoc Subject: Re: Markdown Backtick-code block within list interpreted to math Date: Mon, 12 Jun 2017 03:57:53 -0700 (PDT) Message-ID: <7a7d8667-8de5-4450-9ef8-22ac640eeeeb@googlegroups.com> References: <3c26f20b-250b-4ac6-83d3-3d7a5c5d3ef0@googlegroups.com> <20170612104847.GA914@Administrateurs-iMac-3.local> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_2054_946233064.1497265073828" X-Trace: blaine.gmane.org 1497265080 8576 195.159.176.226 (12 Jun 2017 10:58:00 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 12 Jun 2017 10:58:00 +0000 (UTC) To: pandoc-discuss Original-X-From: pandoc-discuss+bncBDSIXPWFZALBBMXH7HEQKGQEFIOKFKI-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mon Jun 12 12:57:50 2017 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-ot0-f187.google.com ([74.125.82.187]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dKN2b-0001iT-I3 for gtp-pandoc-discuss@m.gmane.org; Mon, 12 Jun 2017 12:57:49 +0200 Original-Received: by mail-ot0-f187.google.com with SMTP id i31sf9653064ota.1 for ; Mon, 12 Jun 2017 03:57:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:date:from:to:message-id:in-reply-to:references:subject :mime-version:x-original-sender:reply-to:precedence:mailing-list :list-id:x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=/JMj+srdYYVZHMOBtEgs3h+dgtLU9B3lOo18L84Z1Ic=; b=sou4Jxz4QH9sRLAAfKkdEEqLXRjWtdx83KXvNYqQZ4sSsSZNZw752TuOyVpBK0Tjci l0rtjgyjNdBkFk9zE29bCyRRd/iHMQJuJuBjw8B02sr5mL3D+dFp/LtSN1DomuF/yD+E zGdjIbdK9M4f0LD2USkbi20SIR5uVibaecJx4SAROUS+J1EaeMHJ4VAMCXzzTNIkniqz AX14YkS7T0qL+yIfexgixaGV0gFntD4qYODfzLyWbah8s7qD7jygzGqeuj54OYuKOpOs 0OLNsB/YyCH+V1+r7QWHKblhuSwJuwk1zYEWTtjgaqTrf0xD5qp5DKY69QFGrxGJxrNI OY6Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:message-id:in-reply-to:references:subject:mime-version :x-original-sender:reply-to:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=/JMj+srdYYVZHMOBtEgs3h+dgtLU9B3lOo18L84Z1Ic=; b=GfhTake20Pz7qz2QR1Mi4FYn4qlLHO8TfUAds0xB7yPFD/T7iKOHb1eF3awWo2vwM2 yKoMwuMomy2tPxqTKMNWwP0WtaHEQDD039Mw46dD5ZaN4bObxJMLv8zsIMge9osYZUi9 cfghd+yAtW28Wjp+Z2vQEVag9r0QcFQuu0ZGAwJ8N3BnxoOuQ8P5ryDV43gR82takOdy KHtb4yI0vScl60aKUP7Tlc4cQjRjHlP0++GQLJghlpL+GxEC4n1/UPo62jxEEmMgNF+m bAkh5NvxNaK5T71fhzRoXgsKu3La1m+i2iVMdz0GCTdgPJAU1DmKAoOMt57DltWiICBy 8HlQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:date:from:to:message-id:in-reply-to :references:subject:mime-version:x-original-sender:reply-to :precedence:mailing-list:list-id:x-spam-checked-in-group:list-post :list-help:list-archive:list-subscribe:list-unsubscribe; bh=/JMj+srdYYVZHMOBtEgs3h+dgtLU9B3lOo18L84Z1Ic=; b=TVSTLUtErKn+eVGjWK637iSwkNMmiDmVp5PUVNz1+SBvdwl98yI+WsEWZDX3PXu5Bb +Cz1XjJtBlPUljYzfAhgSGGP4ke5cuzVjgD+HGiEyWoDWGSG82L0QBx+j/ZJ8oCsDIiO IZPhA30wh/0/fmYEF4usL0sFv8tl/AjicufAxd3JeuD01Swd7KgUbqa/IouY3WXEgab9 BG2ZYlfo9ytGAVjCVhVeWtHvHPLYZvBK6jXLZwPyhPxH+OivoWTgR+uG0QVtxbda+3hW omGZzpQd10p12G1bbg+CtoWs+q3mMDOCeGn6Moh/R9cKRGoOJ43TPDRO8tWA5woMTOf2 OOTw== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AODbwcBdgBgtlrMqWTUHyG3w/zmCglLmluL6kO8syiUJbdqa1W93RleR omF2xvdh5XIhdA== X-Received: by 10.157.84.36 with SMTP id j36mr1290774oth.9.1497265074766; Mon, 12 Jun 2017 03:57:54 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.157.39.168 with SMTP id c37ls13773571otb.37.gmail; Mon, 12 Jun 2017 03:57:54 -0700 (PDT) X-Received: by 10.157.21.65 with SMTP id z1mr1284216otz.8.1497265074236; Mon, 12 Jun 2017 03:57:54 -0700 (PDT) In-Reply-To: <20170612104847.GA914-BKjuZOBx5Kn2N3qrpRCZGbhGAdq7xJNKhPhL2mjWHbk@public.gmane.org> X-Original-Sender: baeckerh-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org Precedence: list Mailing-list: list pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; contact pandoc-discuss+owners-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-ID: X-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.org gmane.text.pandoc:17822 Archived-At: ------=_Part_2054_946233064.1497265073828 Content-Type: multipart/alternative; boundary="----=_Part_2055_973149479.1497265073829" ------=_Part_2055_973149479.1497265073829 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable John, even if I feel 15yrs back to the first python indent errors - it works!=20 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=20 > content (such as a code block) that is intended to go under=20 > a list item must be indented four spaces. You only have=20 > three.=20 > > +++ Hendrik B=C3=A4cker [Jun 12 17 02:27 ]:=20 > > Hi Group,=20 > > I'm just at the beginning to play araound with pandoc and have nearly= =20 > > no background with latex.=20 > > Currently I'm facing problems to transform following markdown text to= =20 > a=20 > > pdf.=20 > > As long as I don't try to quote the backtick-code-block within a list= =20 > > the transformation will suceed without error - anything else results= =20 > > into a "! LaTeX Error: Bad math environment delimiter."=20 > > Do I miss any needed extensions or s.th. similar? Any hint to the=20 > right=20 > > direction would be nice.=20 > > # Contents of 'foo.md'=20 > > 1. Bla bla bla=20 > > 1. foobar=20 > > ```=20 > > !/bin/bash=20 > > ls -1 *.ext | while read f=20 > > do=20 > > echo $f; n=3D${f%%.*}; n=3D${n,,}=20 > > l=3D${n##*_}=20 > > d=3D${n%%-mx*}=20 > > d=3D${d/-/.}=20 > > ~/a.py -r ext -I file-$l-$d -s location=3D$l -i $f=20 > > done=20 > > ```=20 > > # Command to transform=20 > > pandoc --latex-engine=3Dxelatex -f markdown -o foo.pdf foo.md=20 > > # Pandoc Version=20 > > pandoc -v=20 > > pandoc 1.19.2.1=20 > > Compiled with pandoc-types 1.17.0.4, texmath 0.9, skylighting 0.1.1.4= =20 > > Default user data directory: /home/bkr/.pandoc=20 > > Copyright (C) 2006-2016 John MacFarlane=20 > > Web: http://pandoc.org=20 > > This is free software; see the source for copying conditions.=20 > > There is no warranty, not even for merchantability or fitness=20 > > for a particular purpose.=20 > > # Displayed Error Message=20 > > pandoc -f markdown -o foo.pdf foo.md=20 > > ! LaTeX Error: Bad math environment delimiter.=20 > > See the LaTeX manual or LaTeX Companion for explanation.=20 > > Type H for immediate help.=20 > > ...=20 > >=20 > > l.71 \textasciitilde{}/a.py -r ext -I file-\(=20 > > pandoc: Error producing PDF=20 > > Regards,=20 > > Hendrik=20 > >=20 > > --=20 > > You received this message because you are subscribed to the Google=20 > > Groups "pandoc-discuss" group.=20 > > To unsubscribe from this group and stop receiving emails from it, sen= d=20 > > an email to [1]pandoc-discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org .=20 > > To post to this group, send email to=20 > > [2]pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org .=20 > > To view this discussion on the web visit=20 > > [3] > https://groups.google.com/d/msgid/pandoc-discuss/3c26f20b-250b-4ac6-=20 > > 83d3-3d7a5c5d3ef0%40googlegroups.com.=20 > > For more options, visit [4]https://groups.google.com/d/optout.=20 > >=20 > >References=20 > >=20 > > 1. mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org = =20 > > 2. mailto:pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org =20 > > 3.=20 > https://groups.google.com/d/msgid/pandoc-discuss/3c26f20b-250b-4ac6-83d3-= 3d7a5c5d3ef0-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org?utm_medium=3Demail&utm_source=3Dfooter=20 > > 4. https://groups.google.com/d/optout=20 > > --=20 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 e= mail 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/7a7d8667-8de5-4450-9ef8-22ac640eeeeb%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. ------=_Part_2055_973149479.1497265073829 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
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." =C2=A0Any new block
content (such as a code block) that is intended to go under
a list item must be indented four spaces. =C2=A0You only have
three.

+++ Hendrik B=C3=A4cker [Jun 12 17 02:27 ]:
> =C2=A0 Hi Group,
> =C2=A0 I'm just at the beginning to play araound with pandoc a= nd have nearly
> =C2=A0 no background with latex.
> =C2=A0 Currently I'm facing problems to transform following ma= rkdown text to a
> =C2=A0 pdf.
> =C2=A0 As long as I don't try to quote the backtick-code-block= within a list
> =C2=A0 the transformation will suceed without error - anything els= e results
> =C2=A0 into a "! LaTeX Error: Bad math environment delimiter.= "
> =C2=A0 Do I miss any needed extensions or s.th<= /a>. similar? Any hint to the right
> =C2=A0 direction would be nice.
> =C2=A0 # Contents of '
foo.md'
> =C2=A0 1. Bla bla bla
> =C2=A0 1. foobar
> =C2=A0 ```
> =C2=A0 !/bin/bash
> =C2=A0 =C2=A0 =C2=A0ls -1 *.ext | while read f
> =C2=A0 =C2=A0 =C2=A0do
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0echo $f; n=3D${f%%.*}; n=3D${n,,= }
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0l=3D${n##*_}
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0d=3D${n%%-mx*}
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0d=3D${d/-/.}
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0~/a.py -r ext -I file-$l-$d -s l= ocation=3D$l -i $f
> =C2=A0 =C2=A0 =C2=A0done
> =C2=A0 ```
> =C2=A0 # Command to transform
> =C2=A0 pandoc --latex-engine=3Dxelatex -f markdown -o foo.pdf foo.md
> =C2=A0 # Pandoc Version
> =C2=A0 pandoc -v
> =C2=A0 pandoc 1.19.2.1
> =C2=A0 Compiled with pandoc-types 1.17.0.4, texmath 0.9, skylighti= ng 0.1.1.4
> =C2=A0 Default user data directory: /home/bkr/.pandoc
> =C2=A0 Copyright (C) 2006-2016 John MacFarlane
> =C2=A0 Web: =C2=A0http://pando= c.org
> =C2=A0 This is free software; see the source for copying condition= s.
> =C2=A0 There is no warranty, not even for merchantability or fitne= ss
> =C2=A0 for a particular purpose.
> =C2=A0 # Displayed Error Message
> =C2=A0 pandoc -f markdown -o foo.pdf foo= .md
> =C2=A0 ! LaTeX Error: Bad math environment delimiter.
> =C2=A0 See the LaTeX manual or LaTeX Companion for explanation.
> =C2=A0 Type =C2=A0H <return> =C2=A0for immediate help.
> =C2=A0 =C2=A0...
>
> =C2=A0 l.71 \textasciitilde{}/a.py -r ext -I file-\(
> =C2=A0 pandoc: Error producing PDF
> =C2=A0 Regards,
> =C2=A0 Hendrik
>
> =C2=A0 --
> =C2=A0 You received this message because you are subscribed to the= Google
> =C2=A0 Groups "pandoc-discuss" group.
> =C2=A0 To unsubscribe from this group and stop receiving emails fr= om it, send
> =C2=A0 an email to [1]pandoc-discus...@googlegroups.com.
> =C2=A0 To post to this group, send email to
> =C2=A0 [2]pandoc-...@googlegroups.com.
> =C2=A0 To view this discussion on the web visit
> =C2=A0 [3]http= s://groups.google.com/d/msgid/pandoc-discuss/3c26f20b-250b-4ac6-<= /a>
> =C2=A0 83d3-3d7a5c5d3ef0%
40googlegroups.com.
> =C2=A0 For more options, visit [4]https:= //groups.google.com/d/optout.
>
>References
>
> =C2=A0 1. mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
> =C2=A0 2. mailto:pandoc-...@googlegroups.com
> =C2=A0 3. https://groups.google.com/d/msgid/pandoc-discuss/3c26f20b-2= 50b-4ac6-83d3-3d7a5c5d3ef0@googlegroups.com?utm_medium=3Demail&am= p;utm_source=3Dfooter
> =C2=A0 4. https://groups.google.com/d/optout

--
You received this message because you are subscribed to the Google Groups &= quot;pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to pand= oc-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.co= m.
For more options, visit http= s://groups.google.com/d/optout.
------=_Part_2055_973149479.1497265073829-- ------=_Part_2054_946233064.1497265073828--