* Multicol package starred command is not parsed @ 2018-12-13 6:25 rama prakasha [not found] ` <7bd1e5ae-4201-4244-86d7-9e0382fc980c-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> 0 siblings, 1 reply; 5+ messages in thread From: rama prakasha @ 2018-12-13 6:25 UTC (permalink / raw) To: pandoc-discuss [-- Attachment #1.1: Type: text/plain, Size: 1707 bytes --] 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 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/7bd1e5ae-4201-4244-86d7-9e0382fc980c%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. [-- Attachment #1.2: Type: text/html, Size: 10778 bytes --] ^ permalink raw reply [flat|nested] 5+ messages in thread
[parent not found: <7bd1e5ae-4201-4244-86d7-9e0382fc980c-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>]
* Re: Multicol package starred command is not parsed [not found] ` <7bd1e5ae-4201-4244-86d7-9e0382fc980c-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> @ 2018-12-13 7:07 ` BPJ [not found] ` <CADAJKhCRzDdmitXQpmBLXVHXBZfyyob7qmddFe6_dryhpOVZHA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> 0 siblings, 1 reply; 5+ messages in thread From: BPJ @ 2018-12-13 7:07 UTC (permalink / raw) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw [-- Attachment #1: Type: text/plain, Size: 3450 bytes --] You have to hide to put the `\begin…` and `\end…` inside raw LaTeX blocks. This has the additional advantage that you can use Markdown inside the environment. ``````pandoc-markdown ```{=latex} \begin{multicols*}{2}} ``` Text *with Markdown* here! ```{=latex} \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, which 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 existing and is explanatory. tors 13 dec. 2018 kl. 07:26 skrev rama prakasha <ramaprakashak-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>: > 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 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/7bd1e5ae-4201-4244-86d7-9e0382fc980c%40googlegroups.com > <https://groups.google.com/d/msgid/pandoc-discuss/7bd1e5ae-4201-4244-86d7-9e0382fc980c%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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/CADAJKhCRzDdmitXQpmBLXVHXBZfyyob7qmddFe6_dryhpOVZHA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout. [-- Attachment #2: Type: text/html, Size: 15772 bytes --] ^ permalink raw reply [flat|nested] 5+ messages in thread
[parent not found: <CADAJKhCRzDdmitXQpmBLXVHXBZfyyob7qmddFe6_dryhpOVZHA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>]
* Re: Multicol package starred command is not parsed [not found] ` <CADAJKhCRzDdmitXQpmBLXVHXBZfyyob7qmddFe6_dryhpOVZHA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> @ 2018-12-13 7:10 ` BPJ [not found] ` <CADAJKhAEO48N5RtdnkejiuijTkf++6k_d1NMThrpzsXo1tZqfw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> 0 siblings, 1 reply; 5+ messages in thread From: BPJ @ 2018-12-13 7:10 UTC (permalink / raw) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw [-- Attachment #1: Type: text/plain, Size: 3923 bytes --] Sorry I think much faster than I type! That should have said: You have to hide the `\begin…` and `\end…` 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 <melroch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>: > You have to hide to put the `\begin…` and `\end…` inside raw LaTeX blocks. > This has the additional advantage that you can use Markdown inside the > environment. > > ``````pandoc-markdown > ```{=latex} > \begin{multicols*}{2}} > ``` > > Text *with Markdown* here! > > ```{=latex} > \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, which > 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 existing > and is explanatory. > > tors 13 dec. 2018 kl. 07:26 skrev rama prakasha <ramaprakashak-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>: > >> 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 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/7bd1e5ae-4201-4244-86d7-9e0382fc980c%40googlegroups.com >> <https://groups.google.com/d/msgid/pandoc-discuss/7bd1e5ae-4201-4244-86d7-9e0382fc980c%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > -- 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/CADAJKhAEO48N5RtdnkejiuijTkf%2B%2B6k_d1NMThrpzsXo1tZqfw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout. [-- Attachment #2: Type: text/html, Size: 19186 bytes --] ^ permalink raw reply [flat|nested] 5+ messages in thread
[parent not found: <CADAJKhAEO48N5RtdnkejiuijTkf++6k_d1NMThrpzsXo1tZqfw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>]
* Re: Multicol package starred command is not parsed [not found] ` <CADAJKhAEO48N5RtdnkejiuijTkf++6k_d1NMThrpzsXo1tZqfw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> @ 2018-12-13 15:05 ` rama prakasha [not found] ` <5e4adebb-1c0a-44c0-829e-eb5282a6ff7a-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> 0 siblings, 1 reply; 5+ messages in thread From: rama prakasha @ 2018-12-13 15:05 UTC (permalink / raw) To: pandoc-discuss [-- Attachment #1.1: Type: text/plain, Size: 1761 bytes --] Thank you for quick reply. I emulated the code you showed me. But the multicol content is now showing up in verbatim environment. What I am doing wrong? Posting markdown content below. --- 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? ``````pandoc-markdown ```{=latex} \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? ```{=latex} \end{multicols} ``` `````` ``````pandoc-markdown ```{=latex} \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? ``` {=latex} \end{multicols} ``` `````` -- 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/5e4adebb-1c0a-44c0-829e-eb5282a6ff7a%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. [-- Attachment #1.2: Type: text/html, Size: 8447 bytes --] ^ permalink raw reply [flat|nested] 5+ messages in thread
[parent not found: <5e4adebb-1c0a-44c0-829e-eb5282a6ff7a-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>]
* Re: Multicol package starred command is not parsed [not found] ` <5e4adebb-1c0a-44c0-829e-eb5282a6ff7a-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> @ 2018-12-13 17:47 ` BPJ 0 siblings, 0 replies; 5+ messages in thread From: BPJ @ 2018-12-13 17:47 UTC (permalink / raw) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw [-- Attachment #1: Type: text/plain, Size: 2943 bytes --] The outer codeblock marked 'pandoc-markdown is not part of the syntax, it is part of my text to show that what goes inside it is what you should put in a markdown document. It's the codeblock marked with {=latex} which is the raw block syntax. tors 13 dec. 2018 kl. 16:06 skrev rama prakasha <ramaprakashak-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>: > Thank you for quick reply. I emulated the code you showed me. But the > multicol content is now showing up in verbatim environment. What I am doing > wrong? Posting markdown content below. > > --- > 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? > > > ``````pandoc-markdown > ```{=latex} > \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? > > > ```{=latex} > \end{multicols} > ``` > `````` > > > > > ``````pandoc-markdown > ```{=latex} > \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? > > > ``` > {=latex} > \end{multicols} > ``` > `````` > > -- > 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/5e4adebb-1c0a-44c0-829e-eb5282a6ff7a%40googlegroups.com > <https://groups.google.com/d/msgid/pandoc-discuss/5e4adebb-1c0a-44c0-829e-eb5282a6ff7a%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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/CADAJKhCEe_zrqOx%2BOs-B5Q6BKx4uU-whkDG1tF8jtcbzvcLK5w%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout. [-- Attachment #2: Type: text/html, Size: 12059 bytes --] ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2018-12-13 17:47 UTC | newest] Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2018-12-13 6:25 Multicol package starred command is not parsed rama prakasha [not found] ` <7bd1e5ae-4201-4244-86d7-9e0382fc980c-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> 2018-12-13 7:07 ` BPJ [not found] ` <CADAJKhCRzDdmitXQpmBLXVHXBZfyyob7qmddFe6_dryhpOVZHA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> 2018-12-13 7:10 ` BPJ [not found] ` <CADAJKhAEO48N5RtdnkejiuijTkf++6k_d1NMThrpzsXo1tZqfw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> 2018-12-13 15:05 ` rama prakasha [not found] ` <5e4adebb-1c0a-44c0-829e-eb5282a6ff7a-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> 2018-12-13 17:47 ` BPJ
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).