Comments (5)
Could you give me the document that you're trying to convert? I'll have a look then.
from pandoc-latex-template.
command:
pandoc how_to_convert_markdown_to_pdf.md -o how_to_convert_markdown_to_pdf.pdf --from markdown -s --template eisvogel
how_to_convert_markdown_to_pdf.md.gz
from pandoc-latex-template.
Hm, that's strange. The error message tells me that pandoc can't parse something in the template (maybe a $
because that character has a special meaning). When I run it on my mac everything is fine and I can't reproduce the problem.
Can it be that you downloaded the template somehow wrong, and it therefore contains invalid characters (possibly also something like a BOM)?
You could try to redownload the file from the GitHub generated zip here. It may also be possible, that the template does't work with the older pandoc version you are using. You could install the newer version like mentioned on askubuntu. This command should do the trick:
sudo wget https://github.com/jgm/pandoc/releases/download/1.19.2.1/pandoc-1.19.2.1-1-amd64.deb
sudo dpkg -i pandoc-1.19.2.1-1-amd64.deb
Unfortunately I don't have an Ubuntu installation ready at the moment.
from pandoc-latex-template.
I had the same issue and Wandmalfarbe is correct about the template being "corrupt".
Initially I didn't follow the instructions properly and added the template to my "source" folder where I had my markdown file. Somehow pandoc used it and it was changed.
Once I actually copied it across to the proper user location I got the mentioned error since the template was altered into an unusable form.
I downloaded the template again and it is much smaller and the error was gone.
Just thought I'd mention that.
from pandoc-latex-template.
I have downloaded zip file as you mentioned and it works. Thank you both.
from pandoc-latex-template.
Related Issues (20)
- pandoc fails to use eisvogel template HOT 2
- disable headers and footers
- indent first line of footnotes HOT 1
- \usepackage{ragged2e} has no effect
- Changing Color and Size of text in YAML Metadata block
- Issue with pandoc/latex docker image and missing texlive packages HOT 2
- Is it possible to split markdown files into several files and then compile with pandoc? HOT 1
- Cannot use `code-block-font-size` from the command line HOT 1
- Undefined control sequence when used with citeproc HOT 5
- toc-own-page: true - not working HOT 2
- imgage resize HOT 3
- Fatal problem with citeproc in Pandoc 3.1.8. and Eisvogel 2.4.1: "... missing \item." HOT 7
- There is no line break between the H4-level heading and the body text HOT 3
- Captions not working in default configuration with Docker image ?
- JavaScript highlighting (fenced code blocks)
- Hyphens not appearing in generated PDF HOT 1
- Dynamic images in the table
- Chapter color
- Can I set paper size, borders individually, 1..2 pages, etc
- Syntax highlight
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pandoc-latex-template.