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

learn more… | top users | synonyms

0
votes
0answers
40 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
46 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
0answers
44 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 ...
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
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 ...
0
votes
0answers
179 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} ...
4
votes
1answer
219 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 ...
0
votes
0answers
63 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
1answer
66 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 ...
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 ...
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 ...
4
votes
3answers
569 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 ...
1
vote
0answers
363 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
572 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
131 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 ...
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
29 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
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 ...
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
544 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).
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 ...
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: ...
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 ...
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 ...
3
votes
1answer
414 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
123 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
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 ...
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. ...
5
votes
1answer
870 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
954 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} ...
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 ...
2
votes
1answer
54 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
65 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
4
votes
1answer
360 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
619 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
225 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
172 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
293 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
120 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 ...
10
votes
1answer
12k 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 ...
3
votes
0answers
451 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 ...