Questions tagged [pandoc]
Pandoc is an open-source tool to convert between types of documents
15
questions
9
votes
3
answers
14k
views
Converting EPUB to PDF using Pandoc
I want to convert my test.epub to PDF format using Pandoc. I tried (given here)
pandoc -f epub -t test.epub -o outfile.pdf
which throws the following error:
cannot produce pdf output from pdf
I ...
20
votes
5
answers
34k
views
Install Pandoc (required for docverter)
For the life of me I can't figure out how to install pandoc. I tried the approach recommended on its Github repo as well as all 3 approaches recommended on the pandoc site. I'm installing on Ubuntu 12....
1
vote
0
answers
615
views
How can I convert this epub file to pdf?
I have tried Calibre to convert an epub file to pdf, following https://askubuntu.com/a/299752/
ebook-convert /tmp/1.epub 1.pdf
but it fails with many errors.
$ ebook-convert --version
..ebook-convert-...
3
votes
2
answers
3k
views
How to convert Markdown to PDF (with word wrapping)
Using pandoc like:
pandoc -o output.pdf input.md
does not give me a result with word-wrapping.
For instance, three liner input.md looks like the following:
# Introduction
Lorem ipsum dolor sit ...
0
votes
1
answer
138
views
Why does pandoc not generate a table of content in a LXC container?
I have a problem with pandoc not generating a table of content correclty.
Here is my workflow:
I create a Markdown file with the content of a web page.
I version my project with Git.
I git push to my ...
2
votes
1
answer
2k
views
Issues installing pandoc 2.3.1 in Ubuntu 18.04.1
I am trying to install pandoc 2.3.1 in my Ubuntu 18.04.1 LTS.
First, I remove any old pandoc version (in my case is pandoc 1.19.2.1)
manolo@manolo:~$ sudo apt-get remove pandoc
Reading package ...
5
votes
2
answers
4k
views
Using pandoc-crossref on Ubuntu 20.04
I am using pandoc to convert a LaTeX document to Word format. The source document contains various cross-references that need to be kept in the output. However, when the cross-references filter is ...
0
votes
0
answers
436
views
Installing Pandoc with dpkg instead of apt [duplicate]
Since the apt pandoc is still version 1.19 I thought I would try to install it from here https://packages.debian.org/buster/amd64/pandoc/download. But something went wrong:
$ sudo dpkg -i /tmp/...
3
votes
1
answer
2k
views
How do I uninstall Pandoc in Ubuntu 19.10 (and install most recent version)
I have an old version of Pandoc installed, but I'd like to install the latest version of Pandoc.
To begin I've run the following to get rid of the old version:
sudo apt-get autoremove --purge ...
2
votes
1
answer
2k
views
Ubuntu 19.10 How To Get Pandoc Making PDF Files?
Install pandoc:
$ sudo apt install texlive-latex-base pandoc
Use pandoc to make pdf from a Markdown file:
$ pandoc file.md -o file.pdf
Error message:
kpathsea: Running mktextfm ecrm1000
/usr/...
3
votes
2
answers
1k
views
How to get Ubuntu to recognize new installed Pandoc version?
I want to install a new pandoc version. I followed the procedure outlined here.
mark@server:~$ sudo cabal install pandoc pandoc-citeproc
This worked out. But when checking on the installed version I ...
1
vote
2
answers
109
views
Get Firefox to reopen same file on disk (for testing)
I am writing documentation using Pandoc, with a view to having it be viewed in HTML eventually on my web site. During development I want to test how the results look locally, so I have a build command ...
1
vote
1
answer
839
views
Problem in converting math in Latex to epub using pandoc
Latex code in my tex file:
$\frac{\partial H}{\partial q_i}$ $=$ $\dot{P}_i$, $\frac{\partial H}{\partial P_i} =\dot{q}_i$
I have given the following command in terminal
pandoc -s science.tex -o ...
4
votes
1
answer
2k
views
Trying to install pandoc via cabal install fails
Since the pandoc package in the repository is outdated, I would like to install it via cabal-install.
I ran cabal update, and then cabal install pandoc which fails with:
cabal: Couldn't read cabal ...
4
votes
1
answer
1k
views
pandoc on Ubuntu can't use beamer
I'm using pandoc to author slides. I'd like to see how the beamer PDF output looks, but I'm getting an error:
$ pandoc -t beamer talk.txt -o talk.pdf
pandoc: Unknown writer: beamer
Any ideas?