# Tag Info

## Hot answers tagged restructured-text

7

According to its description, pandoc can convert between: markdown and (subsets of) reStructuredText, HTML, and LaTeX; and it can write plain text, markdown, reStructuredText, HTML, LaTeX, ConTeXt, RTF, DocBook XML, OpenDocument XML, ODT, GNU Texinfo, MediaWiki markup, groff man pages, and S5 HTML slide shows. It will happily convert ...

7

Markdown is quite limited when it comes to logical markup. It lacks the necessary structural elements like “sender”, “receiver” etc. I think it's not possible to create letters solely in markdown. A solution would be to use a pre-processor like gpp to create a logical markup which translates into different structural elements of the final format. There's a ...

2

Pandoc lets you specify both templates and variables. For instance, see the example here: http://pmagwene.github.io/blog/2013/02/07/pandoc-latex-letters/ Paraphrasing that link: you just create the latex template file with your desired letter class, etc, and then add pandoc macros (such as $title$ or $body$) to include the variables (defined in the compile ...

2

The problem is in the produced code %%% Title Data \title{\phantomsection% This it the title% \label{this-it-the-title}} that works in article and other classes, but not in memoir because of untimely expansions. A workaround would be persuading rst2latex to put \protect before \phantomsection and \label, but I really don't understand those commands ...

Only top voted, non community-wiki answers of a minimum length are eligible