public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* inline latex being escaped
@ 2015-07-02 19:43 Jeff Larkin
       [not found] ` <32fdb0b6-daa1-49d8-b9e1-c3731102d5a3-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: Jeff Larkin @ 2015-07-02 19:43 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw


[-- Attachment #1.1: Type: text/plain, Size: 1459 bytes --]

Hi all. I've been using pandoc to convert markdown files into a pdf book. I 
want to be able to highlight certain paragraphs, so I've created a custom 
latex range called bestpractice. When I try to embed it in my document, the 
interpreter seems to escape the opening slash rather than passing the 
command through. 

\begin{bestpractice}
This is the *markdown* text.
\end{bestpractice}

When I generate the PDF or the intermediate .tex, the opening slash is 
escaped, so the command isn't executed. I've tried working around this 
using both the raw_tex and latex_macros extensions, but can't seem to find 
a solution. I've even tried adding an extra blank line between the command 
and the contained text and also \\begin{}. Other latex commands, like 
\appendix work. I'm using pandoc 1.13.1. Thank you for any suggestions, 
I've been pulling my hair out trying to get this working.

-- 
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/32fdb0b6-daa1-49d8-b9e1-c3731102d5a3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

[-- Attachment #1.2: Type: text/html, Size: 1934 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-07-06 14:14 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-02 19:43 inline latex being escaped Jeff Larkin
     [not found] ` <32fdb0b6-daa1-49d8-b9e1-c3731102d5a3-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2015-07-02 20:58   ` Thell Fowler
     [not found]     ` <95951b6c-20e3-4bcb-8545-7211677f6b63-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2015-07-02 21:52       ` BPJ
     [not found]         ` <CADAJKhCdtVhptXMGV3asyVFgEVWLo-x+NZtxXyMz2837hRh6Kg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-07-06 14:02           ` Jeff Larkin
     [not found]             ` <54388edb-22cc-4a7c-b1f8-8b913cdd920a-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2015-07-06 14:14               ` Jeff Larkin

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).