From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/18190 Path: news.gmane.org!.POSTED!not-for-mail From: Hannu Kokko Newsgroups: gmane.text.pandoc Subject: Left braces not coming out correctly - what to do? Date: Tue, 19 Sep 2017 04:57:21 -0700 (PDT) Message-ID: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_6768_279678240.1505822241681" X-Trace: blaine.gmane.org 1505822241 26257 195.159.176.226 (19 Sep 2017 11:57:21 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 19 Sep 2017 11:57:21 +0000 (UTC) To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCG3ZEMT5T657PLUCCRIZBGOAUNAJ6F5ZINQ-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Tue Sep 19 13:57:17 2017 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-io0-f183.google.com ([209.85.223.183]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1duH9P-0006Yp-Os for gtp-pandoc-discuss@m.gmane.org; Tue, 19 Sep 2017 13:57:16 +0200 Original-Received: by mail-io0-f183.google.com with SMTP id m103sf2520078iod.16 for ; Tue, 19 Sep 2017 04:57:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:date:from:to:message-id:subject:mime-version :x-original-sender:reply-to:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=bKh/FUSoY6tKogRsX4Ja0W1uHV6wkynUoEF5Qu74+7c=; b=bNsUGfSDileQaD72PsPeZKlv9hrLAMGWu1MJbu+5wczRvOXDR5S2ZvvhSXiiqnKzXB eQiZOUPN63ARDeRtKWfJZplAio0ieSSodLD7ppLFmdI/NIB8ho2QW9QozZDktnZi+4s8 QS3dHHwh0hidYLBsBN+3Oku0RF/QSR6FPPy1vpXq18mM2x0I9FyPTEPk7vyFQaqelW2U S54OjN73dMSjwS6gIL9RmVHHArnMQfU+Rm4pJCqEiWnCtQRyJ0eQPnXm8ulM3+5luY2U /eduJUkJXErV0tI4Q+kShGLVDXK6OixlLC6vjwuyENS1QjCrF6hHOsleWzvnRZle4LhE 1G9g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:message-id:subject:mime-version:x-original-sender :reply-to:precedence:mailing-list:list-id:list-post:list-help :list-archive:list-subscribe:list-unsubscribe; bh=bKh/FUSoY6tKogRsX4Ja0W1uHV6wkynUoEF5Qu74+7c=; b=Q09DMmviRokEcSO8m3QkKxThRgrCGWuDPi4hvMLmlvUSCm0XubDUM3346lff6eg01/ JEp+gWiHVapNp9TbRtyVHeo9zWhWYz21ZMQUlj/Vlb5cV52KMqn9bUm5xI2Gh6Lrq5s7 g1JTRNTduH4el359VPc/LU4PMEKb5dZoUTpPi3bW7H7WAiMznt2J5QxXR5Tf0fIVEx2u BjVCx8oEOqUW4n3Il+RpCNEA9eh8HUF9RaKKWQVcAPRKm4xdo7yFm/HvsjfVaasBxSck qXkBe3Z1Up5H7HD+lZoOWp8ZmiyTBFma2zWXYV/1HGqL5mDwXzq2bIbfT7SIgCKs9oNd ldjQ== 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: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=bKh/FUSoY6tKogRsX4Ja0W1uHV6wkynUoEF5Qu74+7c=; b=nhfhVjkWUjv8yH6KkH80HWiKT4/D5InZZRg+OuNYkWK4STxczEmIHe4DpUCFY+BlMO gyWoWjm9HSo4ahdo4HLm2HrfwMlu0d7MxvS7iHMaJDzgxVjAT/aJxLkB6FEM0txPJ5B8 3ssU9FmfNVEG1F/HIz5+5gcN1hmt7zJsA34uJS5uankq7ky87lvIpnh1h6EGLwrSA3Po eYSynJW0Ffr+u9aHnJ3JfQfOx/DvuiNBamjCTaISVumYfLDu9j12qM/RLdz9k07BaB5u ChT+zh39SuzTZRToKYSDqTc/1TpnCuv3S2JWsg+y4tHKBBa20m+4RQE9xkEvH0U3OJWg UEyg== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AHPjjUgBh1EsiMfE1a4EmtJb8+7j4hAKlq/twvDL84GnX9n8UDV/Q+ct BtQdK2gKMt+baoDnEzsm6Zg= X-Google-Smtp-Source: AOwi7QAIIUeZOkynSCNHE0go77vTnaOLgBAdSB5k993E+aZYzTUHFA0/mw4WPAjJDIKdeFdD2g1JkA== X-Received: by 10.36.228.193 with SMTP id o184mr36001ith.9.1505822243060; Tue, 19 Sep 2017 04:57:23 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.36.85.143 with SMTP id e137ls2044532itb.3.gmail; Tue, 19 Sep 2017 04:57:22 -0700 (PDT) X-Received: by 10.36.79.4 with SMTP id c4mr35578itb.13.1505822242254; Tue, 19 Sep 2017 04:57:22 -0700 (PDT) X-Original-Sender: Hannu.Tapio.Kokko-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:18190 Archived-At: ------=_Part_6768_279678240.1505822241681 Content-Type: multipart/alternative; boundary="----=_Part_6769_739483790.1505822241681" ------=_Part_6769_739483790.1505822241681 Content-Type: text/plain; charset="UTF-8" Running latest TexShop on the latest MacOS X with latest LaTex and latest pandoc. The following pandoc typeset \documentclass{article}\begin{document}\begingroup\obeylines \{\} \endgroup% \end{document} Produces \{} I would have expected {} This is the pandoc parameter/script file #!/bin/bash # pandoc takes an input file (usually markdown) and writes an output file (latex, epub, ...) # There is a shortcut to create pdf from markdown via latex called markdown2pdf. # See http://johnmacfarlane.net/pandoc/ PATH=$PATH:/Library/TeX/texbin:/usr/texbin:/usr/local/bin fname_with_ext=$(basename "$1") fname="${fname_with_ext%.*}.txt" pandoc "$1" -s -t asciidoc --no-tex-ligatures --wrap=preserve -o $fname What do I need to change to get both curly braces correct in effect to produce {} -- 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/a1fa14a7-7391-4f68-a045-4b43a9388d9f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. ------=_Part_6769_739483790.1505822241681 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Running latest T= exShop on the latest MacOS X with latest LaTex and latest pandoc.=C2=A0

=

The following pandoc typeset=C2=A0

\documentclass{article} \begin{document} \begingroup \obeylines \{ \} \endgroup% \end{document}

Produces=C2=A0

\{
}

I would have expected

{=

}

This is the pandoc parameter/script file

#!/bin/bash

# pandoc takes an input file (usually markdown) and writes an output file (latex, epub, ...)
# There is a shortcut to create pdf from markdown via latex called markdown=
2pdf.
# See   http://johnmacfarlane.net/pandoc/


PATH=3D$PATH:/Library/TeX/texbin:/usr/texbin:/usr/local/bin

fname_with_ext=3D=
$(ba=
sename "$1")
fname=3D"${fname_with_ext%.*}.txt"
pandoc "$1" -s -t asciidoc --no-tex-li=
gatures --wrap=3D=
preserve -o $fname

What = do I need to change to get both curly braces correct in effect to produce

{
}


--
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/a1fa14a7-7391-4f68-a045-4b43a9388d9f%40googlegroups.co= m.
For more options, visit http= s://groups.google.com/d/optout.
------=_Part_6769_739483790.1505822241681-- ------=_Part_6768_279678240.1505822241681--