markdown is a plain text markup language for conversion to html and other formats

learn more… | top users | synonyms

0
votes
1answer
71 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 ...
0
votes
0answers
32 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
70 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 ...
34
votes
6answers
9k 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
31 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 ...
3
votes
1answer
165 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 ...
5
votes
1answer
85 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: ...
7
votes
0answers
110 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
58 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 ...
3
votes
0answers
149 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)?. ...
5
votes
1answer
278 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 ...
6
votes
1answer
92 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 ...
6
votes
2answers
1k 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
2answers
426 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
170 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 ...
5
votes
1answer
108 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 ...
2
votes
1answer
399 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 ...
11
votes
1answer
338 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
72 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
192 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
115 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 ...
2
votes
2answers
1k 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 ...
0
votes
2answers
162 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.
6
votes
2answers
1k views

Using markdown/restructuredtext to produce a letter

For simple documents, I like to use markdown/restructuredtext and convert it to LaTeX using pandoc (and LaTeX includes). For documents such as articles, leaflets, etc., it's quite easy. However, I ...
2
votes
1answer
645 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 ...
3
votes
1answer
176 views

How can I convert the tables and math in a latex document to one of the markup languages supported by github's wiki?

I wrote some software documentation in Latex, but need to get it into a more lightweight format. I used pandoc to convert latex to markdown, but it did not do a very good job of converting tables. ...
2
votes
1answer
285 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 ...
4
votes
2answers
137 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 ...
14
votes
3answers
9k views

Deeper levels of (sub)sections don't appear in the LaTeX output of pandoc. Why?

I use pandoc to create latex and PDF from Markdown. Markdown, being designed for HTML, allows 6 levels of headers H1...H6. But when converting to PDF, via tex, I get only three levels: 1 (\section), ...
5
votes
1answer
302 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 ...
8
votes
1answer
388 views

Change the “language” of Pandoc

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 ...
4
votes
0answers
319 views

Converting RMarkdown to LaTeX without additional packages

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 ...
2
votes
0answers
2k 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
567 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 ...
2
votes
1answer
268 views

Minimal syntax alternative to enumerate environment [duplicate]

Is there an alternative to the enumerate environment in LaTeX where I can define a nested list with a minimal syntax like that of Markdown or something similar, e.g.: \begin{minimallist} - Fruit ...
0
votes
1answer
363 views

Macron in pandoc markdown. (Mh\={a}v\={\i}ra) [closed]

I'm using pandoc markdown to generate PDF, and I cannot get it to accept my special characters. For example, I want to include Mah\={a}v\={\i}ra in my document to place macrons over the appropriate ...
12
votes
3answers
881 views

I'd like to include Markdown in a LaTeX file

I have a LaTeX file, foo.tex and a bunch of markdown files {1..N}.markdown in the same directory. Basically, I'd like to be able to \include{1.markdown} and have the markdown rendered to LaTeX and ...