-
Notifications
You must be signed in to change notification settings - Fork 557
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make pdf Error 43 #84
Comments
Hi, I recently reinstalled the entire |
Also here with the error 43. On mac osx 15.7. I first needed to run
I'm running this with python 3.9.1. Perhaps this is the issue (the original script wants me to For me, when I run
Will update - I'm trying to fix: #100 |
OK. It might be a python version issue. Here's one way to fix: # make python venv and install pandoc
conda create -n phd -y python=3.6 pandoc
conda activate phd
# Install required python packages
pip install pandoc-fignos pandoc-eqnos pandoc-tablenos \
pandoc-secnos pandoc-shortcaption
# get texlive
brew install --cask mactex
# update tlmgr and get required packages for tex
tlmgr update --self
sudo tlmgr install truncate &&
sudo tlmgr install tocloft &&
sudo tlmgr install wallpaper &&
sudo tlmgr install morefloats &&
sudo tlmgr install sectsty &&
sudo tlmgr install siunitx &&
sudo tlmgr install threeparttable &&
sudo tlmgr update l3packages &&
sudo tlmgr update l3kernel &&
sudo tlmgr update l3experimental |
This is fixed by #100 |
The error occurred on Ubuntu 20.10 too and could be solved by adding some lines to the install_linux.sh (or install manually), as these packages were not installed by default and not installed by the steps in quickstart or script: sudo tlmgr install xltxtra
sudo tlmgr install realscripts
sudo tlmgr install eso-pic
sudo tlmgr install ctable
sudo tlmgr install listings
sudo tlmgr install pdfpages
sudo tlmgr install bbold
sudo tlmgr install cleveref This is probably related to the installation of TexLive on Ubuntu, which was not done using apt (causing problems on Ubuntu with user mode for tlmgr). TexLive was installed with https://github.com/scottkosty/install-tl-ubuntu with default settings. sudo env PATH=$PATH tlmgr install truncate
sudo env PATH=$PATH tlmgr install tocloft
sudo env PATH=$PATH tlmgr install wallpaper
sudo env PATH=$PATH tlmgr install morefloats
sudo env PATH=$PATH tlmgr install sectsty
sudo env PATH=$PATH tlmgr install siunitx
sudo env PATH=$PATH tlmgr install threeparttable
sudo env PATH=$PATH tlmgr update l3packages
sudo env PATH=$PATH tlmgr update l3kernel
sudo env PATH=$PATH tlmgr update l3experimental
sudo env PATH=$PATH tlmgr update l3backend
sudo env PATH=$PATH tlmgr install mathspec
sudo env PATH=$PATH tlmgr install xltxtra
sudo env PATH=$PATH tlmgr install realscripts
sudo env PATH=$PATH tlmgr install eso-pic
sudo env PATH=$PATH tlmgr install ctable
sudo env PATH=$PATH tlmgr install listings
sudo env PATH=$PATH tlmgr install pdfpages
sudo env PATH=$PATH tlmgr install bbold
sudo env PATH=$PATH tlmgr install cleveref |
Cheers Rob. It would be amazing if you could raise a PR, like #100, where you develop and fix the Travis install for Linux. I would be delighted to review that PR (@dendrondal - I think I may need additional permissions for this repo to review?). |
Hi, I just figured out that there are some other factors influencing the installation success and have to correct some of my findings above. In my case I also had a TinyTex installation which I wasn't aware of. They did interfere and with the TexLive installation it actually didn't work and only the TinyTex installation could be used without problems. So I removed everything from the full TexLive. The good news is, you don't need the full TexLive installation, but only the small TinyTex one with the needed packages installed in the install script. I adapted the script and added an Ubuntu part in the Readme which should work now, as tested on another machine with a fresh install of Ubuntu 20.10 without problems now. |
Oh great stuff, well done! Please do share a link to the code with your fixed changes if you don’t have time/inclination to PR. I’m sure that would help many people get going. |
Same error as OP for me after a fresh clone / fork of the repo.
A patch file resp. pull request will follow. Edit: The 1st edited line 44 did contain a typo (missing closing bracket "}" at the end) which is now added above. |
Fix error 43 for make pdf rendering process by adding a mathbf declaration to euro symbol and commenting out (deleting) wallpaper background declaration.
All 'sudo tlmgr ...' are installed following on the readme instructions. However, at present the 'Error 43' still shows as below:
make pdf
pandoc "/Users/phd/phd_thesis_markdown/source"/*.md
-o "/Users/phd/phd_thesis_markdown/output/"z0000000"-"Last"-"First"-Thesis.pdf"
-H "/Users/phd/phd_thesis_markdown/style/preamble.tex"
--template="/Users/phd/phd_thesis_markdown/style/template.tex"
--bibliography="/Users/phd/phd_thesis_markdown/source/references.bib" 2>pandoc.log
--csl="/Users/phd/phd_thesis_markdown/style/ref_format.csl"
--highlight-style pygments
-V fontsize=12pt
-V papersize=a4paper
-V documentclass:report
-N
--pdf-engine=xelatex
--filter pandoc-crossref
make: *** [pdf] Error 43
The text was updated successfully, but these errors were encountered: