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

learn more… | top users | synonyms

0
votes
0answers
28 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. Does someone has experiences with that kind of setup? How can I make this? I ...
3
votes
1answer
51 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
26 views

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

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
9 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: ...
1
vote
0answers
29 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 ...
0
votes
0answers
29 views

Error using pandoc when converting from markdown topdf [on hold]

I am trying to convert a document from markdown to pdf. I use this as a yaml metadata block at the top: --- author: Vamsi Deepak Ampolu title: resume papersize: letter documentclass: article ...
3
votes
0answers
38 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 ...
2
votes
1answer
29 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
97 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
301 views

Markdown + Mathjax => PDF

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
21 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
42 views

How to solve the error: No counter 'sectionpage' defined

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
30 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 ...
59
votes
9answers
19k 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 ...
0
votes
0answers
87 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
78 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
333 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
130 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
69 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
60 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
30 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
27 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
4k 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 ...
5
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
44 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
260 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
223 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
752 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
1k 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
35 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
371 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
207 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
138 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
28 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
297 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 ...
13
votes
2answers
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 ...
5
votes
1answer
102 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
377 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. ...
10
votes
1answer
9k 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 ...
1
vote
1answer
453 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 --- ...
20
votes
3answers
894 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
1answer
572 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 ...
2
votes
1answer
51 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?
10
votes
2answers
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 ...
10
votes
1answer
3k 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
1answer
59 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