a markup converter which can output LaTeX and can parse a subset of LaTeX. Questions about pandoc itself are not on-topic for this site; questions about using it to produce LaTeX are on-topic.

learn more… | top users | synonyms

0
votes
1answer
320 views

Macron in pandoc markdown. (Mh\={a}v\={\i}ra) [closed]

I'm using pandoc markdown to generate PDF, and I cannot get it to accept my special characters. For example, I want to include Mah\={a}v\={\i}ra in my document to place macrons over the appropriate ...
2
votes
1answer
2k views

How to interpret message “Invalid UTF-8 stream” when trying to convert a tex-file to a rtf-file using pandoc?

I want to convert a .tex file into something that is possible to open in MS Word (.doc, .docx, .rtf, ...) by means of the pandoc command line software. A minimum .tex file is attached below. I use ...
34
votes
5answers
6k views

Recommended workflow? LaTeX -> ePub with math viewable on iPad

This started as a comment in an older thread, but I thought I repost it here as a question to the forum... I'm looking for a workflow that will take me efficiently and reliably from existing LaTeX ...
8
votes
1answer
708 views

Using \lstinline inside a \item

I know about the fragility of verbatim-like commands, and that they should not be used as an argument of another macro, but a need to write a description environment in which the terms to be defined ...
5
votes
1answer
272 views

Stop listings going over page breaks

I am using Pandoc to generate Tex from Markdown. It automatically generates listings when it comes across the appropriate Markdown (code indented four spaces). It then uses the listings package to ...
6
votes
2answers
916 views

Using markdown/restructuredtext to produce a letter

For simple documents, I like to use markdown/restructuredtext and convert it to LaTeX using pandoc (and LaTeX includes). For documents such as articles, leaflets, etc., it's quite easy. However, I ...
6
votes
2answers
1k views

Resize all images in Latex to a percentage width

I am auto-generating multiple tex files using pandoc (one tex file for each of my chapters). Pandoc generates this tex code for each image. \begin{figure}[htbp] \centering ...
3
votes
1answer
399 views

Can an 'Abstract' parameter be passed to pandoc to create a latex file? [closed]

Similar to $title$, $author$, and $date$, is there an $abstract$ parameter that one can pass to a latex file from the title block? Example: \begin{abstract} $abstract$ \end{abstract}
1
vote
0answers
377 views

More generic live preview editor? (can support pandoc and/or custom scripts) [closed]

I'm a fan of using things like pandoc, GPP and Rake to make my source files to look cleaner, be human readable, simplify my workflow and get some level of style/semantics separation (especially for ...
8
votes
4answers
908 views

Fun unicode characters with pandoc

Silly question: I want to use a heart (♥) character in my presentation. I'm already using xelatex as engine so it doesn't complain for the character itself but it doesn't render it. Just a blank ...
5
votes
1answer
1k views

redefine \includegraphics for beamer

I'm using Pandoc to convert from markdown to LaTeX or Beamer. The LaTeX template of Pandoc has nice command so that images are resized to fit the text width but the Beamer output is not. ...
4
votes
2answers
480 views

Is reStructuredText compatible with the memoir class?

While I'm fine with writing "real" documents in full-blown LaTeX, I often switch to reStructuredText as a lightweight markup language for simplish documents (like meeting notes and stuff). I was ...
5
votes
1answer
1k views

Hanging indents in bibliography

I can't imagine this isn't covered elsewhere, but for the life of my I can't find it. (Forgive me, I'm very new to LaTeX.) I'm running pandoc to generate PDFs based on a markdown document, but right ...
15
votes
1answer
694 views

How to fix kerning of comma/colon after quotes?

How to fix kerning of comma/colon after quotes? Hello, I’m a relative newbie in latex and am trying to reduce the space between closing quotes and colon/comma, but by a general way in the preamble, ...
8
votes
1answer
798 views

How to change emphasis commands in pandoc's LaTeX template?

I want to change the default strong emphasis command in the conversion from pandoc's markdown to LaTeX, say, from \textbf to \textsc. Since running pandoc in the source file prints into the .tex file ...
3
votes
2answers
1k views

Pandoc - Convert XeTeX to HTML

I posted the question here How to Convert XeTeX to Html However I tried something different so decided to ask the issues with the results as a new question. So far my XeTeX file is nicely getting ...
2
votes
1answer
396 views

Renew section command to wrap whole section in an environment

I am trying to write a beamer template for pandoc. For that I need to convert \section{Text 1} Some text. to \begin{frame}[fragile]{Text 1} Some text. \end{frame} Is there a way to do this ...
14
votes
3answers
8k views

Deeper levels of (sub)sections don't appear in the LaTeX output of pandoc. Why?

I use pandoc to create latex and PDF from Markdown. Markdown, being designed for HTML, allows 6 levels of headers H1...H6. But when converting to PDF, via tex, I get only three levels: 1 (\section), ...