This post has been de-listed (Author was flagged for spam)
It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.
I ran into a small hiccup when following the Pandoc and LaTeX Guide.pdf
that was bundled with the software for a Debian based Linux instruction. After I installed texlive-base
, texlive-xetex
, and pandoc
, I encountered the error below. I can gather that I'm missing the Times New Roman
font.
kpathsea:make_tex: Invalid filename `Times New Roman', contains ' '
kpathsea:make_tex: Invalid filename `Times New Roman', contains ' '
Error producing PDF.
! Package fontspec Error: The font "Times New Roman" cannot be found.
For immediate help type H <return>.
...
l.59 \setsansfont
I downloaded the Times New Roman
font from https://freefontsfamily.com/times-new-roman-font-free/ and installed it in a folder in my home directory called ./fonts/Times New Roman
. I tried to export as PDF again and came across a new error complaining about Arial, but it doesn't look like the previous error. Any suggestions?
kpathsea: Running mktextfm Arial
/usr/share/texlive/texmf-dist/web2c/mktexnam: Could not map source abbreviation A for Arial.
/usr/share/texlive/texmf-dist/web2c/mktexnam: Need to update /usr/share/texlive/texmf-dist/fonts/map/fontname/special.map?
mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input Arial
This is METAFONT, Version 2.7182818 (TeX Live 2019/Debian) (preloaded base=mf)
kpathsea: Running mktexmf Arial
! I can't find file `Arial'.
<*> ...e:=ljfour; mag:=1; nonstopmode; input Arial
Please type another input file name
! Emergency stop.
<*> ...e:=ljfour; mag:=1; nonstopmode; input Arial
Transcript written on mfput.log.
grep: Arial.log: No such file or directory
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input Arial' failed to make Arial.tfm.
kpathsea: Appending font creation commands to missfont.log.
kpathsea: Running mktextfm Arial
/usr/share/texlive/texmf-dist/web2c/mktexnam: Could not map source abbreviation A for Arial.
/usr/share/texlive/texmf-dist/web2c/mktexnam: Need to update /usr/share/texlive/texmf-dist/fonts/map/fontname/special.map?
mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input Arial
This is METAFONT, Version 2.7182818 (TeX Live 2019/Debian) (preloaded base=mf)
kpathsea: Running mktexmf Arial
! I can't find file `Arial'.
<*> ...e:=ljfour; mag:=1; nonstopmode; input Arial
Please type another input file name
! Emergency stop.
<*> ...e:=ljfour; mag:=1; nonstopmode; input Arial
Transcript written on mfput.log.
grep: Arial.log: No such file or directory
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input Arial' failed to make Arial.tfm.
kpathsea: Appending font creation commands to missfont.log.
Error producing PDF.
! Package fontspec Error: The font "Arial" cannot be found.
For immediate help type H <return>.
...
l.60
Installed Packages
texlive-base (2019.20200218-1)
texlive-xetex (2019.20200218-1)
pandoc (2.5-3build2)
Subreddit
Post Details
- Posted
- 4 years ago
- Reddit URL
- View post on reddit.com
- External URL
- reddit.com/r/Zettlr/comm...