public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* Latex Code inside reST File convert to PDF
@ 2016-11-23 19:27 Zelphir Kaltstahl
       [not found] ` <dd7df4c5-c089-4141-b29d-1360c5e017f0-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 12+ messages in thread
From: Zelphir Kaltstahl @ 2016-11-23 19:27 UTC (permalink / raw)
  To: pandoc-discuss


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

When I write in Pandoc Markdown, I can use (probably almost) arbitrary 
Latex code in my markdown files, as long as needed packages are imported in 
the Pandoc template. The Latex code is then ignored and as is inserted into 
the template's body, if I understand correctly. Then the whole thing is 
compiled to PDF.

Is the same possible in reStructuredText files?

I already know the .. :math: directive to be working, someone had an 
example of that on the tex stackexchange subsite.

The reason I ask this is an idea I have.

Citations are not working when converting from reST file to PDF. However, 
if I simply still used a style of citations and then ran a small tool, 
which checks for citation keys in the bib file itself and transforms those 
citations into Latex citations, that Latex code would be inserted into the 
template. Then I could export to latex and use latexmk to build the PDF 
with citations working just fine.
For this to work, it would be necessary, that I can include Latex in my 
reST files, before pandoc puts it all into the template and creates the 
complete document's Latex code.

-- 
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/dd7df4c5-c089-4141-b29d-1360c5e017f0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

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

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

end of thread, other threads:[~2016-11-25 13:59 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-11-23 19:27 Latex Code inside reST File convert to PDF Zelphir Kaltstahl
     [not found] ` <dd7df4c5-c089-4141-b29d-1360c5e017f0-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2016-11-23 23:43   ` John MacFarlane
     [not found]     ` <20161123234304.GF76966-l/d5Ua9yGnxXsXJlQylH7w@public.gmane.org>
2016-11-24 12:18       ` Zelphir Kaltstahl
     [not found]         ` <a51db0fc-ff96-497b-a316-fa5968cbd4d1-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2016-11-24 13:10           ` John MacFarlane
     [not found]             ` <20161124131029.GA25992-BKjuZOBx5Kn2N3qrpRCZGbhGAdq7xJNKhPhL2mjWHbk@public.gmane.org>
2016-11-24 17:28               ` Zelphir Kaltstahl
     [not found]                 ` <8ca3f9a4-089c-4a77-82ea-a19107e0a35c-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2016-11-24 17:38                   ` Latex files for resume/CV formatting Fernando Botelho
     [not found]                     ` <e5cc7f94-23d9-642e-b8f8-2f38a06f2f66-mxjLRozsjzA@public.gmane.org>
2016-11-24 17:50                       ` Zelphir Kaltstahl
     [not found]                         ` <8bc9d081-118e-49fc-95de-122bfd8c1b69-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2016-11-25 12:19                           ` Fernando Botelho
2016-11-25 10:30                   ` Latex Code inside reST File convert to PDF John MacFarlane
     [not found]                     ` <20161125103045.GF77617-l/d5Ua9yGnxXsXJlQylH7w@public.gmane.org>
2016-11-25 13:57                       ` Zelphir Kaltstahl
     [not found]                         ` <0ca5be6f-3992-4db6-a455-f1ed87d7e5a6-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2016-11-25 13:59                           ` Zelphir Kaltstahl
2016-11-24 17:32               ` Zelphir Kaltstahl

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