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

learn more… | top users | synonyms

13
votes
3answers
2k 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 ...
10
votes
2answers
4k 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 ...
0
votes
2answers
39 views

Pandoc md to tex: code + enumerate interaction

How to make pandoc md to xelatex conversion understand that the code structure is within an enumeration list. The minimal code I've got in my markdown file. * Test your code * Don't use structures ...
12
votes
3answers
2k 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 ...
7
votes
2answers
492 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: ...
0
votes
0answers
41 views

Caption options don't work in rmarkdown beamer template

I want to resize the figure captions in an rmarkdown beamer template, so I added \usepackage[font={small,it}]{caption} to my header.tex. But it doesn't work - the options are ignored. I didn't find ...
2
votes
1answer
47 views

Pandoc / Markdown: References on last page

Currently I am writing a document. And I have written most in Markdown with some embedded LaTeX. However, now all references are now placed on the page where they are defined. Is it possible to ...
0
votes
1answer
49 views

with rmarkdown tufte-handout template xtables placed at the document end

I cannot understand why the chunks in rmarkdown would place tables at the end of the document. If I allow ECHO = TRUE in the chunk header, the code gets output in the correct place, but the table ...
0
votes
0answers
45 views

Converting .md to Springer's .lncs with Pandoc

I'm new to the world of LaTeX. I was trying to figure out how to convert my research written as a .md file with iA Writer to Springer's .lncs with the help of Pandoc. I've found some stuff through ...
3
votes
2answers
92 views

Does a LaTeX to Kramdown converter exist?

I'm building a blog using Jekyll and hosting on Github Pages. I have a bunch of LaTeX documents that I'd like to upload as blog posts, but they contain a good deal of formatting that I'd have to go in ...
3
votes
1answer
90 views

Margin references in tufte-handout with pandoc

I'm trying to convert a Markdown file to PDF using pandoc and a tufte-handout template. I would like to have references in the margin, instead of in the end of the document, is this even possible in a ...
0
votes
0answers
180 views

Inline Markdown LaTeX Tips

I would like to use an Markdown inline of Latex, but not as main language so that every Latex command still works, as in the following sample. #A heading in *Markdown One Paragraph, with \emph{some} ...
12
votes
1answer
903 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 ...
4
votes
1answer
220 views

Embed Github readme.md in Latex

During my thesis I have created multiple Git-Repositories which are documented using the readme.md which GitHub uses as repository explanation. Now I would like to include those documentations into ...
1
vote
1answer
67 views

Nested list failed to convert from markdown or html to pdf [closed]

I am trying to convert markdown to pdf using pandoc with the latex-engine set as xelatex because I am trying to use fonts installed on my system. I have tried switching the pdf-engine to pdflatex but ...
0
votes
0answers
65 views

Centered section headers in Pandoc using markdown

I am trying to use centered section headers in pandoc using the following syntax: | ### Work Experience However, the atx headers are not parsed by the pandoc when executing: ...
2
votes
1answer
45 views

Chaining citations in pandoc [closed]

I use pandoc to convert a mardown file into latex. for that I am using the [@author_journal_year] format to grab citations automatically. But as far as I see there doesn't seem to be a way to tell ...
2
votes
2answers
160 views

Citations in tabular environment not working

I'm writing my thesis with Rmarkdown but with a lot of LaTeX mixed in. When I compile the document, all my citations appear just fine, but those in my table appear as [?]. I have tested different ...
4
votes
3answers
570 views

Markdown + Mathjax => PDF [closed]

I've used LaTeX a lot in the past, but now (thanks to StackOverflow's great editor!), I find it annoying/boring, for short documents (< 2 pages), to have to use pure LaTeX. For a short document, ...
0
votes
0answers
23 views

Use custom font family in markdown with pandoc and Ubuntu/Linux Mint? [duplicate]

I have some custom fonts that I've installed on my system, and I'd like to utilize them when writing in Markdown. Currently I'm using pandoc and texlive extensions to convert Markdown to nice looking ...
1
vote
0answers
67 views

How to solve the error: No counter 'sectionpage' defined [closed]

I'm trying to use this answer from a previous question to get frame numbers in a table of content in a beamer presentation made in RStudio with R Markdown and knitr (see file below; in in_header.tex ...
1
vote
0answers
60 views

How to change bibliography locale in pandoc? [closed]

I'm trying to render a document from MarkDown to PDF using pandoc: pandoc my-document.md \ --csl=citation-style.xml \ --standalone \ --smart \ -V documentclass=report \ -f ...
60
votes
9answers
20k 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 ...
1
vote
0answers
364 views

align, aligned and R Markdown

I have been working in R Markdown, which supports LaTeX, including in display mode. I had the following snippet for displaying aligned equations $$ \begin{align} a_1 &= \beta_0 \\ b_1 &= ...
2
votes
0answers
200 views

pandoc managed markdown to latex to PDF workflow fails to port simple pipe tables

I'd like to setup a simple workflow allowing me to type document segments in their own files using markdown, then convert them to latex using a common library such as pandoc, before finally collating ...
8
votes
2answers
365 views

Fast way to write itemize list

I'm using beamer to make presentation slides. In beamer, a lot of itemize lists are usually used. Is there some quick way to write an itemize list like Markdown? When some list such as below is ...
1
vote
0answers
575 views

Error 43 while knitting a markdown to pdf in a R project created on mac and run on Windows

I created a R project which outputs some plots to pdf using rmarkdown::render with an .Rmd file. I shared the folder when the R project and all the relative files are kept to a colleague using Google ...
0
votes
1answer
146 views

LaTeX macros in markdown [closed]

I'm wondering if markdown supports even the simplest commands like \newcommand \def \declaremathoperator Furthermore, whether or not the use of parameters is possible. For example, ...
0
votes
0answers
132 views

I can not install the framed package in R Markdown

Hi I am trying to install the framed package from LaTeX in RStudio because I get the Error when I am trying to use knitr. There are my LaTeX Error: File `framed.sty' not found. Type X to quit or ...
23
votes
3answers
2k 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 ...
0
votes
0answers
43 views

Can we use itemize specially nested itemize without itemize environment?

I am writing in Markdown a LaTeX doc. In this special environment I apply a R Code after every \item. It means I cannot use itemize environment! And I know that there is HTML possiblity like we ...
0
votes
0answers
30 views

How can I have the Latex structure in knitr?

how can I have the same structure, I mean: \section, \subsection, ... in knitr or Markdown? Is there any possibility to include every section in a separate file like in latex? ...
2
votes
0answers
1k 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 ...
4
votes
4answers
5k views

Latex Figures appear before text in pandoc markdown

I am using pandoc to convert markdown to pdf, but I need to place some figures with more formating than the ![Alt text](image.png) so I use something like this: # Document with figures ...
6
votes
3answers
4k 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 ...
2
votes
1answer
70 views

How to load and use AucTeX when editing LaTeX snippets in Markdown files in Emacs?

I edit lots of Markdown files where LaTeX snippets are embedded between a pair of $ or $$. Is there a way to load and use AucTeX package to preview these snippets in Emacs? The motivation is to ...
0
votes
1answer
546 views

Can I use LaTex in WhatsApp? [closed]

I've tried this, but it didn't work. Also tried using Markdown, although it only works when you're writing a message (not once you've sent it).
7
votes
0answers
5k 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 ...
1
vote
1answer
322 views

Knitr pdf not working on Mac OS X error “! Missing $ inserted.”

I have the following chunk in rmarkdown {r } library(psych) a <- (matrix(c(1:1000), ncol=4)) f <- fa(a) But when I try to print inline the following output: `r f$null.chisq` I get the ...
5
votes
2answers
829 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 ...
4
votes
1answer
2k views

Pandoc Markdown to PDF doesn't show images [closed]

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
40 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
1answer
545 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 ...
0
votes
1answer
294 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 ...
4
votes
0answers
179 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
30 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 ...
3
votes
1answer
415 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 ...
4
votes
1answer
2k 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 ...
5
votes
1answer
124 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 ...
9
votes
1answer
459 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. ...