From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/22486 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: BPJ Newsgroups: gmane.text.pandoc Subject: Re: Raw LaTeX: {} at the end Date: Tue, 9 Apr 2019 21:24:11 +0200 Message-ID: References: <2c050519-afd0-4406-b75b-7601ae398771@googlegroups.com> <62da4610-bd15-44ed-97c6-e554c1d20313@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000007b447205861de605" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="141666"; mail-complaints-to="usenet@blaine.gmane.org" To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBCWMVYEK54FRBZ7CWPSQKGQEVJCRT3Q-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Tue Apr 09 21:24:25 2019 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-lf1-f56.google.com ([209.85.167.56]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1hDwM4-000aeo-I4 for gtp-pandoc-discuss@m.gmane.org; Tue, 09 Apr 2019 21:24:24 +0200 Original-Received: by mail-lf1-f56.google.com with SMTP id n25sf2541786lfl.9 for ; Tue, 09 Apr 2019 12:24:24 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1554837863; cv=pass; d=google.com; s=arc-20160816; b=VMrRQdeSPsSlXMelJ9wik9Casmr47wSlKVY/5wyfFigclAI9ttbibP4IKvdhIo1E36 JLRNtCs/qA2Nphkipc2EePmrTpRiOzKSlmu3Wn7/wKXi6raCHxc/dL2NXasarE5S+4DU O92/QuyJn/AokNhGS2ogfw/H4PCvVvauqsfc5ibPvUh4P6+khZepOdeaQyrcRs1dLboU HnmUMTJ3vnt9aiwweSWs6HkQVkOd8v78wGWpHO2e6dKzJLFdBxnWDDR1PtBBbIyIuhtP IXNsu6vvjadCq4BfdJGgzWyd0u2t7ijXL79xhPjh84VH24EV5rSDBAEljMgNd7IJCG56 M8Qg== 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:to:subject:message-id:date :from:in-reply-to:references:mime-version:sender:dkim-signature :dkim-signature; bh=Pe5XrAG0ZV/huWC9s2O1PTzcLPMTF7A7H7DfNUxAsfQ=; b=S4tSNEkL7YZ934Byx/VAu+lj8cerzHn0g9YTPS/HfOY9DJ6JQKE7MAcWBAsQR1oOpd LAYnuQgidWjGpNDrcpU5NolORrvMfK/q421rwWenuTMNMPRNDtXnvJ5Ckeq5WG4KPr3G Fu/UM7ssV6L2nKhmecEVgswumH1flVR4qBnMlX3SanZwtCMWtAHfMB4dcJCEp0Ea/Gfd jN0SSinrBMQrgI3eU/CpeuMose0xK3HSXwsgbuexBIRPXI9R9OQMlwkizxmS3FTfHWdN UFuXyz6p6GkW9n7m8hQyL2NBNu7r1pPVZgND7ke8OR68v8q45JkRS6aos9r2jLdQ8VZE be5A== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=nV94q5q1; spf=pass (google.com: domain of melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::329 as permitted sender) smtp.mailfrom=melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:mime-version:references:in-reply-to:from:date:message-id :subject:to:x-original-sender:x-original-authentication-results :reply-to:precedence:mailing-list:list-id:list-post:list-help :list-archive:list-subscribe:list-unsubscribe; bh=Pe5XrAG0ZV/huWC9s2O1PTzcLPMTF7A7H7DfNUxAsfQ=; b=mZWgmA3xjc7R/DMrCd0RdEsGerXAETI4UK9a2l6c7c9ria7NPaJo/pfmfo2Bga8NWR 6sGg+Ec5sE/Ay2EtS//qg5H8xuTDFFZjk6/TVhJ/PUjgvfHrfgUfGoME824LFRwChJye tkp0cbnzNho2cmUyCIgs74tRXT/QNXzw5VzAhZWa1wQV5pI+GbD4+nUXzjdcnVYMy/Ar 5CVMjYO4X+iDh06JY0RnnP7YM0/Ppig+rDP6Rk9hZ93tvAP7HR3A12jLaeUdbTZZnN9u fnKlSv3GXn81YNkdLfAk76A1LJTxmTCHL0Y2CkmpE4GmFiq7qUaA8EUZ1LzXqacoWaCc 865g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :x-original-sender:x-original-authentication-results:reply-to :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=Pe5XrAG0ZV/huWC9s2O1PTzcLPMTF7A7H7DfNUxAsfQ=; b=g50dhu5Y1cSWgq6dS75Gh6L4Mevy4Gu39VODV7Dmhh6BC21s1Yi76tpYLdYghYP0ug PIximjvTnwFQLFoD1TRNFKDew7ifP8xqcUx2UPh1ghwHpR/CM8pPX7zxQzU39JdH9PQ/ SB4XammFDblLbDdSBNI/q45ynaokq1jZXGRU+Jd8hZzK+6HkHZGuT/t8XeD/kOif590v RfuxaxlcE43KXIppypYFvf1GQQaPFn9ywAEhKLtSQpCmo4B7WImH/ztpSFcGaWGfeY5p ru2aCNAi/eru9//mG3Gh9sPtiu4j2ETFJtRE3EZHkDMqGnTZEiW0r/cT0rleMQpltMvf luQg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:mime-version:references:in-reply-to:from :date:message-id:subject:to: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=Pe5XrAG0ZV/huWC9s2O1PTzcLPMTF7A7H7DfNUxAsfQ=; b=nwc8nw+Q+3mki4RQPVaGdEc71I6bytEefnEjh9oY1dS3oe391UMFiMmSHdW3rneuCd cACLldWhf5VpAYcVl+F6qWabWj/yyIEZKWIYcLXEwL5xjVVgiKsfVtpE7XaBS1g2Fph/ FctZtWgAaImQ9JeA58AEJPufcVyy2Q8S5bfQ645kR3c/8lzxux2HoEkaPKmTAS5XIJNK L6bIn7Fxj/gktFpvBpkTisf589i1jfoeIiD3Y9JCCYRUaoltVcJ3GekVK1RpqcU7OdTs T0XfSoTTuCLk11VUCS6ca+g0fBympoPnn2dSY9es1jkPC//Go7T29pUc7FYtZSsRqanx Dcqw== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: APjAAAW9/uQvR9XxZlKB/TxMzXzz/DzsJSFWNvqpuyqhi/pAbOTa5cxY IskJMSeXxtQBeVUHBZWpjgM= X-Google-Smtp-Source: APXvYqw4nEQpDvyAqZhdCgJyLnnCxuYngToXCjCy3FUS5hS9apA6Nutvm5SD/rzH7bihJNFWFsNiaA== X-Received: by 2002:a19:740e:: with SMTP id v14mr21351901lfe.94.1554837863785; Tue, 09 Apr 2019 12:24:23 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:ac2:5289:: with SMTP id q9ls1726261lfm.2.gmail; Tue, 09 Apr 2019 12:24:23 -0700 (PDT) X-Received: by 2002:ac2:51d0:: with SMTP id u16mr1827163lfm.2.1554837862982; Tue, 09 Apr 2019 12:24:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554837862; cv=none; d=google.com; s=arc-20160816; b=GYYdd8CqCAMfZRoEtAHKbLoABp2LnqfyoSXC6+fv+vYCQBWPCxG49QawkLpXGBbbpz IJ3tENkUNnCq56s99ATCPOx7XHhuuum9YWJIwGyUV5a/pAaSU0Cc5zaMqM5DlkxMWoql 4aFI4Qad3qM/cm5Sbcy8LFYwXUujdha637abE9idP1k1jptq2hnLt7WNf7vNk6fvrN+8 jNZ7sfX3VrzJMvxeXO5YXYZwCnzNLvEACS29ve49ZaRlBXz9NdR4mUxFzARTdC8q92Nn GFlDJ0fS4wMeIkEJ0Dxy9Yy5nk2jVaOxs0qdlSwV5jjmUsKDqXiXB3NpZP9tmSxHd42d nhgg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=gvNum/NTHVqGSAj/E2KznHe00xueryR0Ljxn6xZwspo=; b=xLJ/zUQjtuR2XjBcQIFBciJ1J+0WwxmhrsH2pjAvLvMRlE8XMALQWLdUVy/qxPIXlL NgPNHoMn59wNDuk5HNBV2FuvjOPRqBN6xvXQtXdhJep+cehnhsakXjwO+6KEUTxzhMec jrkW20yIpY/rIK80e5p5vMKgrPxCZdl2Uk6Ld1HFAnz4oCkq2ne0L3EqoWTcRB3k46yA pMzTDow1p3qABV8hCtGukro5XA019+MKRgN6ac84EU9aRUvSD7fOJ21VpArtTgrXhm3E a0IRTpJIILIAyjF36GB0JaALb7bSxDTTNVcjE09Eb9VW5s/Is3WU8RbWpW0IUT01f0tM nBdw== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=nV94q5q1; spf=pass (google.com: domain of melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::329 as permitted sender) smtp.mailfrom=melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Original-Received: from mail-wm1-x329.google.com (mail-wm1-x329.google.com. [2a00:1450:4864:20::329]) by gmr-mx.google.com with ESMTPS id p16si366433ljp.1.2019.04.09.12.24.22 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 09 Apr 2019 12:24:22 -0700 (PDT) Received-SPF: pass (google.com: domain of melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::329 as permitted sender) client-ip=2a00:1450:4864:20::329; Original-Received: by mail-wm1-x329.google.com with SMTP id c1so3449821wml.4 for ; Tue, 09 Apr 2019 12:24:22 -0700 (PDT) X-Received: by 2002:a05:600c:2208:: with SMTP id z8mr22445197wml.89.1554837862562; Tue, 09 Apr 2019 12:24:22 -0700 (PDT) In-Reply-To: X-Original-Sender: melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=nV94q5q1; spf=pass (google.com: domain of melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::329 as permitted sender) smtp.mailfrom=melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com 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:22486 Archived-At: --0000000000007b447205861de605 Content-Type: text/plain; charset="UTF-8" Yes but *LaTeX* will eat the space eventually unless it is protected. Den tis 9 apr. 2019 20:44John MacFarlane skrev: > BPJ writes: > > > Yes one should because adding an empty group is a common strategy to > avoid > > having to insert a space which will be gobbled, and with pandoc you > pretty > > much have to do it since a following space will be parsed as a Space, but > > in the output TeX will gobble that space anyway unless you protect it > with > > an empty group. > > > Not so, at least not with the current version! > > % pandoc -t native > \my tex > [Para [RawInline (Format "tex") "\\my ",Str "tex"]] > > -- 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/CADAJKhBmGU5b%3D2Ct-Euwqhi0j0tPQroGK450%2B4DX-SEpkcGo_w%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout. --0000000000007b447205861de605 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Yes but *LaTeX* will eat the space eventually unless it i= s protected.

Den tis 9 apr. 2019 20:44John MacFarlane <jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org> skrev:
BPJ <melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> writes:

> Yes one should because adding an empty group is a common strategy to a= void
> having to insert a space which will be gobbled, and with pandoc you pr= etty
> much have to do it since a following space will be parsed as a Space, = but
> in the output TeX will gobble that space anyway unless you protect it = with
> an empty group.


Not so, at least not with the current version!

% pandoc -t native
\my tex
[Para [RawInline (Format "tex") "\\my ",Str "tex&q= uot;]]

--
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://gro= ups.google.com/d/msgid/pandoc-discuss/CADAJKhBmGU5b%3D2Ct-Euwqhi0j0tPQroGK4= 50%2B4DX-SEpkcGo_w%40mail.gmail.com.
For more options, visit http= s://groups.google.com/d/optout.
--0000000000007b447205861de605--