public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* Creating my own Latex template and if statement literally inserted
@ 2017-02-01  0:42 hassan shaikley
       [not found] ` <0e3bdc5d-c284-4a7d-8ed7-ce2714b449e3-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: hassan shaikley @ 2017-02-01  0:42 UTC (permalink / raw)
  To: pandoc-discuss


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



$if(lot)$
\listoftables
$endif$


is literally writing $if(lot)$, then the list of tables, then $endif$

this is in a file I wrote called contents.tex that I include from main.tex

...

\begin{document}

\include{cover}
\pagestyle{plain}
\include{contents}

... 


The pandoc command i use is

pandoc --listings --bibliography ../test/bib/complete-pub-1.bib 
../test/pandoc/complete-pub-1.json --filter=pandoc-citeproc --csl 
../chicago-fullnote-bibliography.csl --latex-engine=lualatex 
 --template=main.tex -o published2.pdf

 
For the most part main.tex is the default pandoc-citeproc latex template. I 
have incrementally switched things around.If you want to see the exact 
files that I am working with they are here:

https://github.com/pubpub/prosemirror-to-pandoc/tree/master/templateRecreation

Thank you.

-- 
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/0e3bdc5d-c284-4a7d-8ed7-ce2714b449e3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

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

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

* Re: Creating my own Latex template and if statement literally inserted
       [not found] ` <0e3bdc5d-c284-4a7d-8ed7-ce2714b449e3-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2017-02-01 10:59   ` John MacFarlane
  0 siblings, 0 replies; 2+ messages in thread
From: John MacFarlane @ 2017-02-01 10:59 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

Only template commands in the actual template file are
resolved; the template engine is generic and doesn't know
to follow LaTeX includes.


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

end of thread, other threads:[~2017-02-01 10:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-01  0:42 Creating my own Latex template and if statement literally inserted hassan shaikley
     [not found] ` <0e3bdc5d-c284-4a7d-8ed7-ce2714b449e3-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2017-02-01 10:59   ` John MacFarlane

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