From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/21675 Path: news.gmane.org!.POSTED!not-for-mail From: BPJ Newsgroups: gmane.text.pandoc Subject: Re: Multicol package starred command is not parsed Date: Thu, 13 Dec 2018 08:10:47 +0100 Message-ID: References: <7bd1e5ae-4201-4244-86d7-9e0382fc980c@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000411b36057ce204c3" X-Trace: blaine.gmane.org 1544684941 30598 195.159.176.226 (13 Dec 2018 07:09:01 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 13 Dec 2018 07:09:01 +0000 (UTC) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBCWMVYEK54FRBBEMZDQAKGQE4GKH7MY-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Thu Dec 13 08:08:57 2018 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-wr1-f63.google.com ([209.85.221.63]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gXL78-0007jZ-SK for gtp-pandoc-discuss@m.gmane.org; Thu, 13 Dec 2018 08:08:54 +0100 Original-Received: by mail-wr1-f63.google.com with SMTP id q18sf452535wrx.0 for ; Wed, 12 Dec 2018 23:11:01 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1544685060; cv=pass; d=google.com; s=arc-20160816; b=K/P+4XsGPyJZJnKhhE4La6/l2mnWkUOtZ6a46BJ+jMEPLDcbUYXB93RFw3KMYnRqFM UKGRWVYx6axGfSrXWY3ObhzP3uirHXQq/hoNscyAQdrRhym1yvVuVtgIssitbW4L8aMi CCSYmyzuaGyeWTsSPx3sNtKO8fbrD5EYo34UWuUB5wkp1eNvqP29fFyjqizuIbPZQb0h VPBZo+B25e6feY2cL20GHw+a6m21hM+EmY5hyjq73vC6clyQTq1ZWuACpN5xxAD5rmJr PeQL9oq5M6VSPO7gLUd32vJRlidjyHB8AtjPiKQOJayjsWVeeUFzpt1VSO57HfuX7l1u 8LGw== 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=dAo6h7c3GlUSo5pQecMLvl25mBrJHItC4WPTt7DVuJY=; b=Amcb9Ymerk0c+LcXao+2Rq+ep02bufu2ZzO4mZD7lmnoFxXeRbcuXqJx1wP9vzeF5J 5UtqRABgNTuoINIKfPZxyP6HC22KhR9o4dsHcyGQUDcIjfM1DeE7FYfpNm8m0vuhJ1r/ 3aE0vAYi/V/bkdyJMcs0SwQkkvruutUV/+H4E8teWNLVX2hTqP5ZlophcRqs6edAQZog btMh6oTARO2SQRtsq+31si20FBeuu1rnObIlt36RUPOpmw3WSdhqibfd2x6itpthAtqL 5HU9zsMRDQVC71cMyTDDNVSywkKp1blWugelVjeGg7G+KLb9hVv9Nkx3Bkr62lcl07dM 1ScQ== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=FG7av517; spf=pass (google.com: domain of melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::32f 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=dAo6h7c3GlUSo5pQecMLvl25mBrJHItC4WPTt7DVuJY=; b=tiwweW3xkRGNOuYiAiBG41fqk7E6n5ZzkxhXUi+FWQblF0dACVsZ50SeJeIq9ZXV+4 uhIO/tv1wAmcEMurh9D5bOxRG2iEGHY8NjrOZEGM7c133vjRt0HIpzUitgwYY19qFAII lrz0JeRqW11Xr6RgVW07s3Y6RiTF5FnfZuPvJdE7OHM8ld8usuGSpvhJ1S8WIFmlKEka AqL2rESYGtqrVEasnsbcWiPUJjQ1XjbBCTMZh07XEEP93GpUPjchm2R1d0QF3725wvIK SoYg+pdl/Dln/hpoHB+f66xQamEojiVSWVFWnDGnQ0XU82O8d3iQMElz+mzbfGbhH4k+ XctQ== 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=dAo6h7c3GlUSo5pQecMLvl25mBrJHItC4WPTt7DVuJY=; b=UWEITE7SHqERpUyAqst82kMI7v3sihYjnQA3TYt4fq2aXHavFOPjjKxDibeA57XYiT bGtN4Bf+2KZrQV6jQuI6DY+lojhzjyRfWPFJoUgoVjkhGWtYZ/M32HlgdI8VnzWyF/Mv O3jJov0tgsZG23WLBSElKdBnLQFe3zkmEu3aNKWgItlxfSjYU9sMqk7/sa3hO+ujZnXH 6th6loOcSdqUZxrnD4T7bQ7aVtypuSZvMsD31PriCB67KtLlgBei9Wzf1ngDVReEM8YD VYSxCXIUw55nABsJNzDjgDFYqY517SDc/OyB9ZhdZPTWIlt9nO0g20h34rYPNcfmBtV5 8oxw== 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=dAo6h7c3GlUSo5pQecMLvl25mBrJHItC4WPTt7DVuJY=; b=VkRdynzUeAaUcDOy5TR7NJrJvB+XSNNJzDUEMEzi3dVb+YYYocEcsu4jJestmG59n4 UQJI2yw+yWP4oj4CsUQGzKnpFzas8YOvS8rduFXmJHE45/EXBjUFDkEQXKTmgM3cWyGr AzuZmDSFHQUgYICGCLwTfsE8qwZhf5W+6GDDZ2WKFIx34InaLTU446hDuanfYTEW84vb n7dj65nkRgGzvazmlmVUXYGRUvTJ1ojA4F44pciSeCjCmRMVmezwPfkMku6DJSuUSian 8XSYLOu62IMh2p284qidIIQh9fAjN2GU2Z6cuMi0xdOZdYFzx0BjBLcSmtR7OCNqFWVk wJ6g== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AA+aEWYAMcxwJBZgo/rxn4RBL0Jm2C3nyk6qygiNquae1JF3csGGFQLu 1t0IXeaRpy41LKR81qUvUfk= X-Google-Smtp-Source: AFSGD/VZLP63AQmMtqxr/qIgyIp7BgjPOsHV8+byDm6vpCKxIKWNnllaYjihlPHXCgO0MVGEKg46Hg== X-Received: by 2002:adf:b6a7:: with SMTP id j39mr233266wre.0.1544685060828; Wed, 12 Dec 2018 23:11:00 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:adf:ce8b:: with SMTP id r11ls235045wrn.5.gmail; Wed, 12 Dec 2018 23:11:00 -0800 (PST) X-Received: by 2002:a5d:50c6:: with SMTP id f6mr2150255wrt.10.1544685060036; Wed, 12 Dec 2018 23:11:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544685060; cv=none; d=google.com; s=arc-20160816; b=Z1PeUcoMAgM6YoJCo/0j6h1wOyjsRODZ9ikXtN3gzUnkceTBfu49Wvca1p10nm+2cH mk1p/P9r5frqLWOJWaFzlvJLwrOHBcuG6xD+hk0CpJQRDq+0qShgzVI6xjcYXjfGz1CP eyGqSDnmDegkWVKFVf5o2w4Hl8u74umyExZJLEa+x3AeWoFzls8JnDK93TQarEVj71KZ xDGLrHJv3Dfb7eKwwAWyoMRqC7rBS+X4YHnbnmDBBVn5hpjMLxAT0maXPrZU7CMVrjqB 5Pl5t+/0FysbqhH9qux4gMN+gliv0TClSRX3moGL0cCPOJDuhMF4yZcfWfnHGMuZSTpc HPdg== 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=k/OqgD0GW9OsV7hUZTe3i4zG3xQ9NEAV70GsllhCpqU=; b=02L10+0KSQXli4qFK1IBTqxGoIQd0n+DDS19jgVV9Ll4VGRFch3meKIG+oaqQZoLu2 +eh8xxfxQ6NtC90qU4eAsRQ9YKo6Pwrbkxc9elf9FYzFUuGAtBxHHnumeCFRbXr6A9LG g9K/6vBBhVOp5Ol7yXt+qNgtjaKCdfGR91IBFU1N1sgkxe6xu02zVmgESDQRIugv7Ikt 9sMbyJwzy1p7sdth9wIv2c0j7vr+/NCCYkLkZYL6E+XAIlGliEbfpa/ry1KlSfBAcNSQ IgLoRwJxhl8BKjWMy8PUPd/RiOvPWGNYYeTGnMJYYJb58ryx08n/otfl2w+IGH51cj/K 39hw== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=FG7av517; spf=pass (google.com: domain of melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::32f 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-x32f.google.com (mail-wm1-x32f.google.com. [2a00:1450:4864:20::32f]) by gmr-mx.google.com with ESMTPS id p19si805975wmc.0.2018.12.12.23.11.00 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 12 Dec 2018 23:11:00 -0800 (PST) Received-SPF: pass (google.com: domain of melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::32f as permitted sender) client-ip=2a00:1450:4864:20::32f; Original-Received: by mail-wm1-x32f.google.com with SMTP id f81so1191832wmd.4 for ; Wed, 12 Dec 2018 23:11:00 -0800 (PST) X-Received: by 2002:a1c:d0cd:: with SMTP id h196mr8783911wmg.13.1544685059379; Wed, 12 Dec 2018 23:10:59 -0800 (PST) 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=FG7av517; spf=pass (google.com: domain of melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::32f 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-Spam-Checked-In-Group: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.org gmane.text.pandoc:21675 Archived-At: --000000000000411b36057ce204c3 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sorry I think much faster than I type! That should have said: You have to hide the `\begin=E2=80=A6` and `\end=E2=80=A6` by putting them = inside raw LaTeX blocks. This has the additional advantage that you can use Markdown inside the environment. tors 13 dec. 2018 kl. 08:07 skrev BPJ : > You have to hide to put the `\begin=E2=80=A6` and `\end=E2=80=A6` inside = raw LaTeX blocks. > This has the additional advantage that you can use Markdown inside the > environment. > > ``````pandoc-markdown > ```{=3Dlatex} > \begin{multicols*}{2}} > ``` > > Text *with Markdown* here! > > ```{=3Dlatex} > \end{multicols} > ``` > `````` > > If your version of Pandoc is too old for this you can "hide" the > problematic LaTeX from Pandoc inside the argument of a dummy command, whi= ch > has the same effect: > > ``````pandoc-markdown > \newcommand\dummy[1]{#1} > > \dummy{\begin{multicols*}{2}} > `````` > > Of course you can call the dummy command anything. I used to call it > `\nopandoc` since that is unlikely to clash with anything already existin= g > and is explanatory. > > tors 13 dec. 2018 kl. 07:26 skrev rama prakasha = : > >> In the below markdown example the starred version of latex command >> >> \begin{multicols*}{2} >> >> is *not parsed,* but >> >> \begin{multicols}{2} >> >> is parsed. I need a stared version to retain line breaks (ie. two spaces >> at the end of line). How to achieve this? >> >> --- >> header-includes: >> - \usepackage{multicol} >> --- >> >> >> A periodic numeral zooms. >> Each practised consent slices the road guard. >> A lined territory refreshes a revenue. >> How can the spokesman purge? >> >> >> >> >> \begin{multicols*}{2} >> >> >> A periodic numeral zooms. >> Each practised consent slices the road guard. >> A lined territory refreshes a revenue. >> How can the spokesman purge? >> >> >> A periodic numeral zooms. >> Each practised consent slices the road guard. >> A lined territory refreshes a revenue. >> How can the spokesman purge? >> >> >> \end{multicols} >> >> >> \begin{multicols}{2} >> >> >> A periodic numeral zooms. >> Each practised consent slices the road guard. >> A lined territory refreshes a revenue. >> How can the spokesman purge? >> >> >> A periodic numeral zooms. >> Each practised consent slices the road guard. >> A lined territory refreshes a revenue. >> How can the spokesman purge? >> >> >> \end{multicols} >> >> >> >> >> -- >> You received this message because you are subscribed to the Google Group= s >> "pandoc-discuss" group. >> To unsubscribe from this group and stop receiving emails from it, send a= n >> 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/7bd1e5ae-4201-4244-86d7= -9e0382fc980c%40googlegroups.com >> >> . >> For more options, visit 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/CADAJKhAEO48N5RtdnkejiuijTkf%2B%2B6k_d1NMThrpzsXo1tZqfw%40ma= il.gmail.com. For more options, visit https://groups.google.com/d/optout. --000000000000411b36057ce204c3 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Sorry I think much faster than I type! That should h= ave said:

You have to hide the `\begin=E2=80=A6` and `\end=E2=80=A6` by put= ting them inside raw LaTeX blocks. This has the additional advantage that y= ou can use Markdown inside the environment.


tors 13 dec. 2018 kl. 08:0= 7 skrev BPJ <melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org&= gt;:
You hav= e to hide to put the `\begin=E2=80=A6` and `\end=E2=80=A6` inside raw LaTeX= blocks. This has the additional advantage that you can use Markdown inside= the environment.

``````= pandoc-markdown
```{=3Dlatex}
\begin{multicols*}{2}}
```
<= br>
Text *with Markdown* here!

```{=3Dlatex}
\end{mul= ticols}
```
``````

If your version of Pandoc is too o= ld for this you can "hide" the problematic LaTeX from Pandoc insi= de the argument of a dummy command, which has the same effect:

``````pandoc-markdown
\newcommand\dummy[1]{#1}

\dummy{\begin{multicols*}{2}}
``````

Of course you can call the d= ummy command anything. I used to call it `\nopandoc` since that is unlikely= to clash with anything already existing and is explanatory.

tors 13 dec. 2018 kl. 07:26 skrev ram= a prakasha <ramaprakashak-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>:
<= div>In the below=C2=A0markdown exa= mple the starred version of latex command=C2=A0

\begin{multicols*}{2}

is not parsed, but=C2=A0

\begin{multicols}{2}

is parsed. I need a stare= d version to retain line breaks (ie. two spaces at the end of line). How to= achieve this?

---
header
-includes:
=C2=A0 =C2=A0
- \u= sepackage{multi= col}
---


A per= iodic numeral zooms
. =C2=A0
Each practised consent slices the road guard= . =C2=A0
A lined territory refreshes a rev= enue
. =C2=A0How can the = spokesman purge?




\begin{mu= lticols*}{2}


A peri= odic numeral zooms
. =C2=A0
Each practised consent slices the road guard.= =C2=A0
A lined territory refreshes a reve= nue
. =C2=A0How can the = spokesman purge?


A periodic numeral zooms
.= =C2=A0
Each practised consent slices the road guard. =C2=A0
A lined terri= tory refreshes a revenue
. =C2=A0
How can the spokesman purge?<= span style=3D"color:#000" class=3D"m_8617595838570219593m_74316480507606902= 77styled-by-prettify">


\<= span style=3D"color:#008" class=3D"m_8617595838570219593m_74316480507606902= 77styled-by-prettify">end
{multicols}


\begin{mult= icols}{2= }


A periodi= c numeral zooms
. =C2=A0
Each practised consent slices the road guard. =C2=A0
A lined territory refreshes a revenue=
. =C2=A0
How can the spokes= man purge?
<= br>
A periodic numeral zooms
. =C2=A0
Each practised consent slices the road guard. =C2=A0
A lined territory ref= reshes a revenue
. =C2=A0
How can the spokesman purge?


\end{multicols}
<= /div>



<= /div>

--
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 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/7bd1e5ae-4201-4244-86d7-9e0382fc= 980c%40googlegroups.com.
For more options, visit 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://gro= ups.google.com/d/msgid/pandoc-discuss/CADAJKhAEO48N5RtdnkejiuijTkf%2B%2B6k_= d1NMThrpzsXo1tZqfw%40mail.gmail.com.
For more options, visit http= s://groups.google.com/d/optout.
--000000000000411b36057ce204c3--