Comments (8)
There seems to be an issue with the user data directory and the lookup of latex files in version 2.2.2
:
Fix regression finding templates in user data directory (#4777). Under version 2.2.1 and prior pandoc found latex templates in the templates directory under the data directory, but this broke in 2.2.2.
The new pandoc version 2.2.2.1
should fix this issue. You can download it from the release page.
from pandoc-latex-template.
I'm on 2.2.2:
pandoc --version
pandoc 2.2.2
Compiled with pandoc-types 1.17.5.1, texmath 0.11.0.1, skylighting 0.7.2
Default user data directory: /User/Mark/.pandoc
Copyright (C) 2006-2018 John MacFarlane
Web: http://pandoc.org
This is free software; see the source for copying conditions.
There is no warranty, not even for merchantability or fitness
for a particular purpose.
from pandoc-latex-template.
I was able to work around this by using --template ~/.pandoc/templates/eisvogel.latex
from pandoc-latex-template.
I accidentally wrote the wrong version number in the first comment. The problem is fixed in version 2.2.2.1. So you just have to update. Sorry for the confusion.
from pandoc-latex-template.
Bug seems present in Pandoc 2.3.1. Pandoc doesn't even look in the data-dir it seems.
from pandoc-latex-template.
I have the same issue with pandoc 2.7.3, should --data-dir
be fixed?
from pandoc-latex-template.
according to the pandoc manual in section "General writer options" pandoc would search for template files in $DATADIR/templates/
, where $DATADIR
can be specified using the --data-dir
option ...
that is, pandoc requires a certain subfolder structure in $DATADIR
. you can not specify the folder containing the template directly via the option --data-dir
...
from pandoc-latex-template.
just tried this (pandoc 2.7.3): created a subfolder templates/
in my working copy, copied eisvogel.tex
to this subfolder, opened a terminal at examples/book/
and issued pandoc book.md -o book.pdf --template eisvogel.tex --data-dir ../../
... worked pretty well :)
ok, pandoc book.md -o book.pdf --template ../../eisvogel.tex
works, too ...
from pandoc-latex-template.
Related Issues (20)
- 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
- Eisvogel design with typst implementation
- Figure numbers reset for every chapter/markdown file
- Change name for figures and alike according to language HOT 1
- Running Header {\rightmark} in footer not working HOT 3
- Any way to add columns inside?
- Option to disable text on the title page
- Completely disable footers and headers separately HOT 1
- Display "Page X of Y" in footer? HOT 1
- Exporting svg format pictures in Typora software failed
- How to have consistent headnotes and footnotes?
- Document in English with cyrillic characters HOT 1
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.