The tag has no wiki summary.

learn more… | top users | synonyms

8
votes
1answer
5k views

Markdown to LaTeX conversion with a custom preamble using Pandoc

I know that I can use the -H or --include-in-header commands to include a custom preamble in the generated output. The problem is now that Pandoc includes my preamble but puts another preamble in ...
5
votes
2answers
2k views

Getting chapters to start on a new page in a pandoc-generated PDF

%Title %Author #Header 1 Lots of words. #Header 2 More words. ##Level 2 header The above text can be turned into an EPUB file for e-readers with pandoc -o output.epub input.mkd, and it can be ...
3
votes
1answer
364 views

How do I set pandoc as a 'compiler' for markdown files in SciTE?

I've begun writing stuff in markdown lately, and edit my files in SciTE. I work in Windows, so this means I'm simultaneously running a Windows command prompt to generate output files at various stages ...
2
votes
3answers
322 views

Using find, xargs, etc. to output similarly named files

I have a folder full of HTML files: 001.htm 002.htm 003.htm … I want to run Pandoc on them to convert them to similarly named Markdown files: 001.md 002.md 003.md This command works on one of ...
2
votes
2answers
1k views

Why would RTF files created with Pandoc be opened as plain text?

I'm experimenting with Pandoc, in particular the markdown to RTF function. When I run the converter, the resulting RTF is opened in both Word and OpenOffice as plain text (where the text looks like ...
2
votes
0answers
163 views

Using pandoc, dzslides and mathjax only works with Firefox

I'm trying to create dzslides with pandoc (v. 1.9.4.2) that contain equations which I want to be rendered by mathjax. Consider the following example: % $\TeX$ test % John Doe % March 22, 2013 ## ...
1
vote
1answer
348 views

using Jekyll to generate HTML-based slideshow presentations from Markdown source?

I want to create slick HTML-based slideshows to use for giving presentations. I've found a couple that I like, such as scrolldeck.js. Basically it's a static site within a folder, i.e. a single ...
1
vote
1answer
25 views

CLI Perform Regex in Memory then feed to Command

I would like to use a regular expression to modify a file and then feed it to pandoc in the cli. Something like this: perl -pe 's/_(.*)_/\\underline{$1}/g' source.md > pandoc -o source.pdf So, ...
1
vote
3answers
724 views

Convert html2pdf with toc, color and unicode support?

Is there a way I can convert large html file (produced with sphinx by the way) to pdf with color, table of contents (toc) and unicode support? There's htmldoc -- but it neither support color, nor ...
1
vote
1answer
665 views

Specifying image size when converting HTML to docx

I am using Pandoc to convert HTML to DOCX format. Everything works fine, but the resulting images are too big. If I resize them in input HTML nothing changes. I could resize the images with ...
1
vote
2answers
866 views

How do I automate a set of VIM commands that I use all the time?

I'm running some text files written in Markdown through Pandoc to get html, but it renders the tags strangely with weird line breaks and white space in tags, so I've been running a few sed commands in ...
1
vote
0answers
104 views

How to use Pdflatex with Pandoc?

I'm using Pandoc to convert my markdown files to different formats including html and docx. With PDF though, I get the message pdflatex not found even though it was installed and I can even call it ...
1
vote
2answers
431 views

Include files in Markdown document with Pandoc (except Haskell)

I use Pandoc to create Reveal.js presentations from Markdown documents, having switched to it from Google Slides. From the beginning I decided that presentations for different events and lectures are ...
1
vote
0answers
53 views

Pandoc: Output two sumation signs in equal height in Word 2010

I need to output some complex equations in Word 2010 (docx). To do so I write most of the equations in tex and use pandoc to translate them as Word formulas. However I have a problem with the ...
1
vote
0answers
209 views

Using font-face with Slidy / Pandoc?

Is there a way to make an @font-face call in using Pandoc's Slidy? At the beginning of my slidy.css stylesheet, I have a @font-face call in the tradtional format: @font-face { ...
1
vote
0answers
490 views

Writing corporate documentation in Markdown and pandoc [closed]

Background I have had a few friends that turned me on to markdown and pandoc for writing documentation. At my current job, we use Microsoft Word for writing unstructured, one-off howto documents for ...
0
votes
3answers
87 views

Fixing a CSL file that fails to print the date correctly in pandoc

I am having a minor but very irritating problem with pandoc and citations. In accordance with Pandoc's User Guide I insert the citation like this: [@ChandrajitBanerjee12] The applicable Bibtex ...
0
votes
1answer
233 views

Compiling markdown Simplenotes with pandoc.vim and simplenote.vim

I would like to use pandoc.vim to compile markdown Simplenotes that I edit in Vim using simplenote.vim. To use pandoc.vim I set my Simplenote file type to pandoc with let g:SimplenoteFiletype = ...
0
votes
1answer
34 views

How to update pandoc on centos linux?

I dowloaded cabal-install-1.20.0.3.tar.gz file and extracted when I try to run am getting following errors.My aim is to update pandoc. Now I have pandoc 1.9 but I need 1.12 version.To update pandoc am ...
0
votes
1answer
12 views

Pandoc options to convert LaTeX flavored Markdown to HTML

The aim is to convert a Markdown file (file.md) to a html file (file.html). The Markdown file contains formulas specified in LaTeX specified between two dollar ($) signs. Example: The resulting ...
0
votes
1answer
72 views

Compiling Pandoc Haskell script: Could not find module `Text.Pandoc.JSON'

I am trying to use a canned example from Pandoc's scripting page, but I don't understand enough Haskell to make this work. Here's the script. #!/usr/bin/env runhaskell -- includes.hs import ...
0
votes
0answers
723 views

correctly sizing PNG images in markdown with pandoc for html/pdf/docx

I am trying to use markdown with pandoc to convert a single document into html, pdf, and docx. It's an extremely simple document containing only math-less text and a few images. The images are in ...
0
votes
0answers
53 views

Override default .csl bibliography file with vim-pandoc plugin

I use vim and pandoc markdown with the vim-pandoc plugins (I only use the base and syntax plugins). I would like to change the default bibliography style to a different .csl file so that when I run ...
0
votes
0answers
81 views

Word count for markdown?

Is there a way to get a word count of natural language words in Markdown (or better, Pandoc Markdown), via the command line? It's possible to just use wc to get a very rough estimate, but wc is ...
0
votes
2answers
49 views

Image Identifiers and List of Images with pandoc?

I have a text written in markdown (with pandoc extensions) with several image-references. Now I need to build a table or list with these images with a reference to the page they appear on. Just ...
0
votes
0answers
65 views

Pandoc places a carriage return before LaTeX in Markdown

I'm in the habit of writing class notes in Markdown, and decided to use LaTeX for marking up my formulas. I'm using Pandoc so that I can mix the syntaxes. However, when I convert my document over to a ...
0
votes
1answer
382 views

pandoc in emacs in windows, searching for program: permission denied, /usr/bin/pandoc

I have Pandoc successfully installed on Windows, and have run it from command prompt. When I try to run it in Emacs, I receive: Running Pandoc... apply: Searching for program: permission denied, ...
0
votes
0answers
230 views

How to convert mac osx dictionary to linux readable format?

I would like to be able to take the dictionary data described here: http://priithaamer.com/blog/ruby-on-rails-dictionary-for-macosx And convert it for reading on linux. Is there an app such as ...
-1
votes
1answer
228 views

Utility to automatically convert markdown content to HTML on-the-fly within an HTML page? [closed]

Is there a utility that will automatically convert my Markdown content to HTML on-the-fly within an HTML page? So that I could easily embed markdown content within an HTML page like so? ...