A plain text markup language for conversion to HTML and other formats

learn more… | top users | synonyms

1
vote
1answer
28 views

Pandoc Markdown to PDF doesn't show images [on hold]

I used knitR to convert R Markdown files to Markdown, and I'm trying to use Pandoc to convert them into HTML/PDF. Markdown to HTML includes all my images in the output, using pandoc test.md -o ...
3
votes
2answers
14 views

Changing remote path of figures to local path with a regular expression

I am using markdown to write the bulk of my thesis, and then converting it to LaTeX (with Pandoc) for the final presentation. To include graphics I use dropbox share links as: ...
2
votes
0answers
34 views

Add \only<>{} and \uncover<>{} sequences in pandoc beamer

Most probably my question shall be better addressed to the pandoc developers yet I was wondering if anybody managed to use the \only<N>{ ... } (or \uncover<N>{ ... }) directives in a ...
0
votes
0answers
11 views

How to create a portable document containing .bib references from .(R)md files?

I have a .Rmd file that contains references like [@smoreda2013spatiotemporal]. Works great. The problem is that it's referencing a giant .bib file, making the document less portable. How to make it ...
2
votes
1answer
39 views

How to generate a 4-up table of images with Pandoc?

I'm using Pandoc to write a document using Markdown. I have a section that includes a bunch of identically-sized square images in PNG format. I would like to lay out these images four per page in a ...
3
votes
1answer
80 views

Which Latex environments are supported in Markdown and pandoc?

Does anyone know which Latex environments that are supported in pandoc when converting Markdown to html? I have tested equation, align, alignat which seams to work, so is there e.g. a family/kind of ...
5
votes
1answer
63 views

Filtering through an external command in LaTeX?

Is there any way in LaTeX to define an environment, say, \begin{markdown} This will be *processed* as [Markdown](http://daringfireball.net/projects/markdown/)! \end{markdown} which passes the ...
0
votes
1answer
75 views

markdown's bold and italic stop working after including babel package

I'm having problems with bold and italic options in my pdf file that I get from my Rmarkdown file. I write in Russian so I unclude babel package and after that ** and __ stop working. Here's my ...
9
votes
1answer
193 views

Automating extraction of Markdown-formatted tables from an (incomplete) LaTeX document

I am trying to automate the presentation of my note taking. I would like to be able to regex all Pandoc tables in my document, add LaTeX around them, compile them and show the result in a PDF. ...
3
votes
1answer
116 views

Using Pandoc to transform Markdown to Beamer Latex Code?

According to http://pandoc.org/demos.html I see the command for turning an md file into a beamer pdf file. pandoc -t beamer SLIDES -o example8.pdf When I change the extension to tex instead ...
20
votes
3answers
744 views

Use Markdown-style formatting for bold and italic

I rather like the system here where *...* is italic, **...** is bold, and ***...*** is bold italic. Is it possible to do that in (La)TeX? A MWE that implements the first one: \documentclass{article} ...
5
votes
2answers
358 views

How to set a font family with pandoc?

I have some reports written in MultiMarkDown and want to convert them to pdf (via xelatex) with pandoc. As I am in an professional environment, a certain font-family is mandatory. The fonts are ...
2
votes
1answer
38 views

Text Input Fields from markdown and Pandoc

I'd like to use markdown and pandoc to create a document where I have some text input. Is it possible to specify fields that, when the pdf is generated, would appear as text input?
0
votes
1answer
47 views

Error message converting from markdown to PDF

I am using MacOSX (Yosemite 10.10) and I have a problem trying to convert from markdown to PDF. The error message is: ! Undefined control sequence. l.268 for Windows the file is at *C:\Windows
3
votes
1answer
116 views

\mathplus fails to render

I'm new to LaTeX - can anyone suggest why the $\mathplus$ is not rendering as +? It can be seen in the bibliography entry of another question, publisher = {Springer Science $\mathplus$ Business ...
1
vote
1answer
152 views

How can I nest a code chunk within an enumerate environment when using R Markdown?

When I attempt to do this using this code: --- title: "Title" author: "Me" date: "31 October 2014" output: pdf_document: includes: in_header: includes.sty --- ...
8
votes
1answer
166 views

Is there any package with Markdown support?

Sometimes, I have notes where I would not like to convert all portions to Tex format. I normally then simply put such contexts under verbatim. However, this is a rather crude approach. So I started ...
3
votes
1answer
102 views

\cite{} autocompletion in VIM in non tex file

I'm moving my workflow from LaTeX to Asciidoc + Asciidoc-bib. I would like to have the vim-latex reference autocompletion working for non-.tex files, in my case for .txt files. So when I add some ...
3
votes
0answers
175 views

Convert Latex with lots of math to web-friendly format

My math notes have a bunch of align environments (proofs) and I hope to post them on the Web. Currently I'm thinking about using pandoc to convert tex to markdown, then use jekyll to build my site. ...
4
votes
2answers
83 views

Strange output when writing \texttt{“avg”} in spanish

I'm using pandoc, which parses markdown into LaTeX. In this case I configured pandoc to use babel in spanish and wrote `"avg"` which is translated by pandoc as \texttt{"avg"}. When I do this I obtain ...
5
votes
1answer
4k views

Knitr and rmarkdown will not add figure captions to the output

I am writing a report on Rmarkdown and knitr using RStudio, and cannot find a way to get figure captions on my document. My code for the chunk where I try to plot is like: ```{r ...
2
votes
0answers
256 views

Convert pandoc-style citations to the LaTeX cite format

I have a Markdown document with pandoc-style citations such as [@johndoe2014]. This documents needs to be converted to LaTeX for submission to a scientific journal. The LaTeX template of the journal ...
1
vote
1answer
125 views

Processing a tex file automatically

I'm currently writing in markdown and converting using Pandoc, but there are additional replacements that I want to do, as well as fixing some of what pandoc does that I don't like. Does anyone know ...
1
vote
0answers
59 views

Parse markdown automatically (just emphasis) without luatex

I want to parse markdown emphasis automatically in XeLaTeX. This basically means converting asterisks either side of a word into the \emph{word} that LaTeX uses. I know that more complex Markdown ...
5
votes
1answer
273 views

“TeX capacity exceeded” error when converting markdown to PDF using XeLaTeX with russian language

I've installed pandoc and texlive-full packages on recent Ubuntu 14.04 LTS 64bit to convert markdown files with russian language to PDF. Everything works fine when I run the following command: ...
1
vote
1answer
223 views

Add a black border to block quotations?

I have a Markdown file that I'm converting to PDF with Pandoc. And I'd like that the block quotation of the Markdown file get a 1px black border around them in the PDF. I already managed to edit the ...
9
votes
1answer
3k views

Pandoc: Markdown to PDF, without cutting off code block lines that are too long

I'm trying to convert a Markdown file into a PDF file using Pandoc. I have a lot of code blocks in my Markdown. And if I have a line of code that is too long, it will just be cut off in the PDF. How ...
17
votes
2answers
749 views

Why doesn't Pandoc convert citations correctly from Markdown to LaTeX?

Consider the following markdown fragment: Connecting these native implementations to the Python world is enabled by the [Cython](http://cython.org/) toolchain  [@behnel2011cython]. I use pandoc to ...
1
vote
1answer
282 views

“Math Processing Error” when processing LaTeX using knitr in R

I've never had any problem with my Latex appearing properly when using knitr before, but recently when I compile my document, I get this error: I'm not sure why this is happening. The error output ...
10
votes
1answer
2k views

Bibtex to html/Markdown/etc., using Pandoc

It seems that Pandoc is capable of dealing with references given in a .bib file. Yet, I haven't been able to simply ask Pandoc to convert a .bib file into html, markdown or other formats. Is there a ...
17
votes
2answers
6k views

How to include LaTeX package in R Markdown?

I am writing a report with Rmd in RStudio via knitr package. I want to write a indicator variable symbol in the report, like How do you get \mathbb{1} to work (characteristic function of a set)?. ...
6
votes
1answer
205 views

Active characters in linguistics

What are the pros and cons of using active characters instead of macros in text? Would it make sense to implement a “simplified markup” parser in Latex to make code more readable? Rationale ...
4
votes
2answers
2k views

Pandoc-generated PDF contains large images, how can I make them fit into the page?

I am using pandoc to generate pdf output out of my markdown code. So far, it works fine without any warning or error, except the fact that figures are large, so that some figures get cut and don't fit ...
8
votes
1answer
361 views

Different colors for default and language-specific listings

I'm generating pdf documents using knitr and pandoc. The conversion is mostly automated from R markdown -> markdown -> latex -> pdf. However, my documents combine R source code and its output, and I ...
2
votes
1answer
952 views

pandoc support for LaTeX ctable?

I use ctable to make my LaTeX tables. My ultimate goal is to produce a presentation of HTML5 slides. The tables that I need to present are all created in LaTeX with ctable. For example, I have my ...
5
votes
1answer
162 views

External inline filters, markdown, latex, beamer, and standards

I read Converting Markdown to LaTeX, in LaTeX and a couple of related posts. They are about a year old. is there now a quasi-standard package that enables generic filter plugins, allowed if ...
12
votes
1answer
644 views

LaTeX class for creating markdown style output

I am a long time user of LaTeX. I have found, however, that using Markdown gives me a document which is "easier on the eyes". LaTeX often looks like textbooks. Does anyone know LaTeX classes (or ...
5
votes
1answer
95 views

Conditional expression to convert figure to table. Is it possible?

I have a though one for you: I'm writing in MultiMarkdown and all my figures, tables, charts are usually pictures. This allows me to write something like this: The MultiMarkdown input ![This is the ...
3
votes
2answers
300 views

About “markdown” like syntax in latex

What I mean with markdown like syntax, is for example using *...* or **...** instead of \emph{...} or \(...\) or \begin{blabla}...\end{blabla}. It seems to be possible to use this "markdown" kind of ...
1
vote
1answer
161 views

Automatic PDF generation, image scaling

I am currently working with GitHub's wiki and I have markdown pages in the wiki that I would like to convert to PDF files. I have a script that uses Kramdown, bash/sed/grep and custom HTML tags for ...
0
votes
2answers
273 views

Drawing a graphic image with LaTeX for an e-book using Markdown

How can I draw the picture below with LaTeX? I will be using it in an e-book using Markdown. Thanks.
4
votes
1answer
1k views

Pandoc: Markdown to pdf without page numbers

I want to convert a document written in Markdown to pdf via TeX, so that it looks like I wrote it in TeX. The problem is that I don't want the page number. What do I write in the terminal in order to ...
8
votes
2answers
2k views

Adding page breaks to pandoc latex template when converting markdown

Perhaps I'm missing something, but is there a way to either (a) ensure that pandoc places pagebreaks before level 1 and level 2 headers in markdown (#,##), or (b) hide \newpage from other markdown ...
3
votes
1answer
529 views

\frontmatter causes bad text formatting

When I insert \frontmatter into my LaTeX document, it causes all of the text to be centered and in the wrong font. I'm using a template called Legrand Orange Book ...
11
votes
2answers
927 views

Changing “language” settings used by Pandoc for generated output [Pandoc template variables]

This is not directly a LaTeX question since I use Markdown to format my text but this subpart of "stack" seems the most correct place to ask my question. I generate my PDF with Pandoc from markdown ...
6
votes
3answers
232 views

Labeling links, Markdown style

In Markdown, you can do [google.][1] ... [1]:http://www.google.com In LaTeX, I've tried \href{\ref{1}}{google?} ... \label{1}{http://www.google.com} But that doesn't work, and I'm tired of ...
5
votes
0answers
575 views

Converting RMarkdown to LaTeX without additional packages [closed]

I'm wanting to convert a markdown document into LaTeX for inclusion in my thesis. Unfortunately, the output of my command, pandoc -f markdown -t latex --standalone msim-eg.md > msimeg.tex ...
6
votes
0answers
3k views

How do I set variables in latex template used for pandoc markdown to pdf conversion [closed]

I'm sorry if this is a bit of a pandoc question, but I'm hoping you tex users have some familiarity with latex templates within pandoc. I'm very new at this, but am excited to get a good work flow ...
2
votes
0answers
867 views

Is combination of markdown and LaTeX a future trend of LaTeX development? [closed]

I think markdown language is encroaching on the market of LaTeX, could latex developers share about your opinions on this language? Do you think a kind of combination of markdown and LaTeX be a good ...
52
votes
8answers
15k views

Converting Markdown to LaTeX, in LaTeX

I've started to use markdown for my notes simply because its faster than writing latex, but I would prefer to have the extra power to LaTeX. Is there/would it be possible to have a markdown ...