Tag Info

New answers tagged

0

I hit the same problem. It seems that pandoc started using \tightlist in \begin{itemize} sections. My workaround was simply to add an empty macro for \tightlist to my template file (I run pandoc with --template=mytemplate.tex): \def\tightlist{}


0

Based on previous answers and comments, here is the solution I use with Pandoc 1.15. Specific command line options : --listings -H header.latex Specific header.latex file content : \BeforeBeginEnvironment{lstlisting}{\par\noindent\begin{minipage}{\linewidth}} \AfterEndEnvironment{lstlisting}{\end{minipage}\par\addvspace{\topskip}}


0

For the documentation of a recent customer project I used the following (modified) section to replace the respective lines of the default Pandoc template (which itself can be printed with the pandoc -D latex command): \makeatletter \def\maketitle{% \null \thispagestyle{empty}% \includegraphics[width=3em]{red_corner.png} \vfill ...


3

A. Short answer You are not using BibTeX but the built-in mechanism for the bibliography. In order to specify the title with -V biblio-title=Bibliography you have to use either --biblatex or --natbib. B. Long answer If you are producing LaTeX output with pandoc you have three options for the bibliograpy: Using the built-in mechanism, using natbib, and ...


0

I'd recommend Pandoc for converting LaTeX to HTML with good math support. From the front page: Several different methods of rendering math in HTML are provided, including MathJax and translation to MathML. Also, check out pdf2htmlEX for very nice (pretty much 1:1) conversion of PDF output to HTML.


3

You should create a header file (say header.tex) that contains the following \let\otherbegin\begin \let\otherend\end Then include a header file (either using -H or --include-in-header, or via --include-before-body=header.tex). This should allow you to use \otherbegin{lemma} The following are equivalent - the moon is made out of cheese - the axiom of ...


1

Pandoc includes raw HTML only if the output format is HTML-like. From the web-site: The raw HTML is passed through unchanged in HTML, S5, Slidy, Slideous, DZSlides, EPUB, Markdown, and Textile output, and suppressed in other formats. In order to get images to work for both, HTML and PDF writer, you have to use pandoc's own format: ![la ...



Top 50 recent answers are included