From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/17821 Path: news.gmane.org!.POSTED!not-for-mail From: John MacFarlane Newsgroups: gmane.text.pandoc Subject: Re: Markdown Backtick-code block within list interpreted to math Date: Mon, 12 Jun 2017 12:48:47 +0200 Message-ID: <20170612104847.GA914@Administrateurs-iMac-3.local> References: <3c26f20b-250b-4ac6-83d3-3d7a5c5d3ef0@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1497264587 8353 195.159.176.226 (12 Jun 2017 10:49:47 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 12 Jun 2017 10:49:47 +0000 (UTC) User-Agent: Mutt/1.7.0 (2016-08-17) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBCJZJHG45QDBBSHD7HEQKGQEIT27HIA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mon Jun 12 12:49:41 2017 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-vk0-f60.google.com ([209.85.213.60]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dKMui-0001lo-99 for gtp-pandoc-discuss@m.gmane.org; Mon, 12 Jun 2017 12:49:40 +0200 Original-Received: by mail-vk0-f60.google.com with SMTP id y70sf1825547vky.0 for ; Mon, 12 Jun 2017 03:49:46 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1497264585; cv=pass; d=google.com; s=arc-20160816; b=KsUQnwmGx/CsfE6OBrkIIRBlMVTyFtfwWbi50DsLv51ouWjIVbJGp5UypkKhcEg22A kvYMfevxxFfBXQq2URrLPX32EpgjduLid1Kj+sWUSUwRm9h0ez/WmPrejJlCIw4AQGNq vWSvEDIdK5/kap5LATxhiWOtWZD2HXWy0tE+J6txfHPt0lYRBulr3dNlP7/ltt96InYH jvyH0pLfgQsunPhbOmulJ6vpNgaAinpiVFDmMmWKtvzOH0Paz9ZO5gu33No4eiA80RkI 0QDQJwxi1OHXUZk/LUIiX0VBJ17NfpEhzdcgcTcEw0rky0ek3M5JWInQMI719xmIIx0t 6PtQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:to:date:from :arc-authentication-results:arc-message-signature:sender :dkim-signature:arc-authentication-results; bh=QTnSvOhjHcasjpbZaWHBHYdYL38QZn4pFI+3c9bYCoE=; b=O5HzaUWV27Qdh6N0+m9RfwvU7m1iHbpEyGCjZyIRQYXd/XnVT0r6r1rFK0ESdCHxE8 dkP/Vrbr+HdavuP5wUVVem7czMuqHsZcoSTz5DL9EGrYPVHSm/zUkt7SZsUcYas79gbn FBctbeA93GK6WVfvmfFNGHBeFkzSMpgjLvowSNzzGbXRLIGpsEQj0JgSqNW28bB0KqgP WV7/zG2L+NMylsKqXWYb61KojHytMhncNE9By07cO96B9Y9nMVWLMjQrFohCLHZhq9sQ ygqrHTHOSlbBeFwloG45Ss3bUaZnvEdiULKLUdHMag ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:400e:c05::235 as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:from:date:to:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent:x-original-sender:x-original-authentication-results :reply-to:precedence:mailing-list:list-id:x-spam-checked-in-group :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=QTnSvOhjHcasjpbZaWHBHYdYL38QZn4pFI+3c9bYCoE=; b=bdboSr5cwbHkLpPJf11BjwctFlnBQnFFqq6r2/7w4SKEKJ2KKvzAvleDIl4QeHbNkH r5NB/PByo1QNcQQlWP7japLukwJjUQGo3EP/KRvdnW8XVj8bw1+CiMSrPBEpKHdnBFvR vwXQhIPh4Ze6v0nrSWczcC3NmKq+ushGfNaLr1lUKPG46eT1j7tfB2ElAHUDWN3PlNgg L59iWNPSjOBlpbax5heH0qQqxrL3xOrxxIbnMEXdeyxq7xdSGwmGr/dXFPj1EYW7IAPs koxaSI6/kGaQHLOtmDpkZYfRXbaujjcaZ9+1oGtNggFtMwTLHel9s7G+425t/S5+ X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:from:date:to:subject:message-id :references:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=QTnSvOhjHcasjpbZaWHBHYdYL38QZn4pFI+3c9bYCoE=; b=uaqkh8NZLCW/9bUKNnTJFQsW7M57w4semXaTxiDXFWWUHY0l5G4Luceh/E0uP0hvbI XOsiuxP+2cy91aQju0NVbhStZdzL5abzunWZ+VPWG8/urlCvoF7oB+XNoXGw5O15c/85 fDWN+M4RwTvCT85TBb8MhAo6gcZ2JMf7CYE/jIzlQo8bz5laWBVR/VTN9mrZSSaKsacA Bn8lfk5Q/nKuhfIRXLFxihjqiXvpOOWhPRyrcR55fDEalSoi3IogG9E5boY/Vnwc8BYl WIjAbQhHbA/CjaDMAcTL9VA5kqKqmRFaj Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AODbwcC25IB8RH/vd2KQ5n4r2YuZVgJXOuTrDlS0rK8Z9sbaaQswvl84 AglLySrc0mlziQ== X-Received: by 10.36.92.21 with SMTP id q21mr96628itb.6.1497264585542; Mon, 12 Jun 2017 03:49:45 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.36.115.139 with SMTP id y133ls1700755itb.2.gmail; Mon, 12 Jun 2017 03:49:44 -0700 (PDT) X-Received: by 10.101.90.6 with SMTP id y6mr825250pgs.47.1497264584519; Mon, 12 Jun 2017 03:49:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1497264584; cv=none; d=google.com; s=arc-20160816; b=UxAV4XTnbtnmswYKSOjP6NnACezGtv7Jlak3tG/NG2KBFzrkH/KP1wEVENkAKg/W9N x6a3dPTm6WZQ6NOzsP0PDBx0+J3JqpFvpfMABFEU9LT3RBzpE6z8vvG201ASXLDHXK6F 21OIjM/7me4QA5cfddLH8s4jTRTefnaxunzts1ZOlcBM6Qi7+CtsOcMa53behe8J1Tbz 6uvN1akBwEhkdBXOzbyDNTT9/NfQcuW5kdMsECpxqI+UOLBuw3qd1P4NAWG21QIB3Mor FV41kz6XOFkbX1tsmyOnSTwsuhMQkAB5iqbwFSVOeMYC4Uwuumfw2GltrRT9pshI9nm+ lv8A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=user-agent:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:to :date:from:dkim-signature:arc-authentication-results; bh=qu6T/EC0XJf1XEJtc0zLNgfXXTVtHtY+bnpJwgiuoeo=; b=eLroMTaj87tn3QU5du7xsjEbIlnUK9TFU9gMmJCfztLL8USxXTn22dfQMk1jl1Dg+W zLC0UQQZQZbdl1p9tDceYdGd+J4M86DyS5p8zLHzRa2n0JUO5whtpi/bJX7lQs5sf4Wl 16xprpTfAkOxAB3zdJH8nexr4i8+Tou87mkbRjRmhU/Em4Pe7Ozb4g4+JSYh3WacjOim VCHKPF5BxWI3OG6PqmNqTEKiIqaTFiDGVhW1tbthdLofgnhCC3ije1jVANJ+2zeBzaV5 WBfdkMPzI8NAJH9d6nh3ZfG9otHYpQY/7KlQ1CQVj60wt0CF9SSNRsg6NivT6Kz2A2LU 5kpQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:400e:c05::235 as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org Original-Received: from mail-pg0-x235.google.com (mail-pg0-x235.google.com. [2607:f8b0:400e:c05::235]) by gmr-mx.google.com with ESMTPS id l78si343810pfb.15.2017.06.12.03.49.44 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 12 Jun 2017 03:49:44 -0700 (PDT) Received-SPF: pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:400e:c05::235 as permitted sender) client-ip=2607:f8b0:400e:c05::235; Original-Received: by mail-pg0-x235.google.com with SMTP id f185so44235745pgc.0 for ; Mon, 12 Jun 2017 03:49:44 -0700 (PDT) X-Received: by 10.99.109.143 with SMTP id i137mr39577378pgc.62.1497264583954; Mon, 12 Jun 2017 03:49:43 -0700 (PDT) Original-Received: from johnmacfarlane.net (li55-134.members.linode.com. [74.82.3.134]) by smtp.gmail.com with ESMTPSA id u45sm25863920pgn.28.2017.06.12.03.49.43 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 12 Jun 2017 03:49:43 -0700 (PDT) Original-Received: by johnmacfarlane.net (Postfix, from userid 1000) id B805BA2A1; Mon, 12 Jun 2017 06:49:32 -0400 (EDT) Content-Disposition: inline In-Reply-To: <3c26f20b-250b-4ac6-83d3-3d7a5c5d3ef0-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> X-PGP-Key: http://johnmacfarlane.net/jgm.asc X-Original-Sender: jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:400e:c05::235 as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@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:17821 Archived-At: 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=C3=A4cker [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=3D${f%%.*}; n=3D${n,,} > l=3D${n##*_} > d=3D${n%%-mx*} > d=3D${d/-/.} > ~/a.py -r ext -I file-$l-$d -s location=3D$l -i $f > done > ``` > # Command to transform > pandoc --latex-engine=3Dxelatex -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 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-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To post to this group, send email to > [2]pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > 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-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > 3. https://groups.google.com/d/msgid/pandoc-discuss/3c26f20b-250b-4ac6-= 83d3-3d7a5c5d3ef0-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org?utm_medium=3Demail&utm_source=3Dfooter > 4. https://groups.google.com/d/optout --=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/20170612104847.GA914%40Administrateurs-iMac-3.local. For more options, visit https://groups.google.com/d/optout.