gi-ev / LNI

A LaTeX class for submissions to the “Lecture Notes in Informatics” (LNI) published by the German “Gesellschaft für Informatik” (GI)
https://www.ctan.org/pkg/lni
LaTeX Project Public License v1.3c
40 stars 33 forks source link

Font error upon arXiv submission #99

Closed kantholtz closed 1 year ago

kantholtz commented 2 years ago

Hi - I am stuck submitting a paper using this template to arXiv. This is the relevant portion of the output logfile detailing the error (click here for the full output file):

kpathsea: Running mktexmf ntx-Regular-tlf-t1+20

! I can't find file `ntx-Regular-tlf-t1+20'.
<*> ... ; nonstopmode; input ntx-Regular-tlf-t1+20

Please type another input file name
! Emergency stop.
<*> ... ; nonstopmode; input ntx-Regular-tlf-t1+20

Transcript written on mfput.log.
grep: ntx-Regular-tlf-t1+20.log: No such file or directory
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; ; nonstopmode; input ntx-Regular-tlf-t1+20' failed.
kpathsea: Appending font creation commands to missfont.log.

! Font csnameendcsname=ntx-Regular-tlf-t1+20 at 10.0pt not loadable: Metric (TF
M) file not found.

As per arXiv documentation

Use of unusual/uncommon fonts Authors should keep in mind that if they use unusual fonts, many potential readers of their work won't have them installed.

Because it would require significant admin time to install and maintain non-standard fonts, we do not generally support such fonts.

It is, however, possible to include your local metafont .mf files as well as your local fontmap.map file. This will require special handling with a 00README.XXX file with the appropriate fontmap directive.

How to include the fontmap is described here

My question is: how can I obtain such a metafont file?

This issue is not related to #81 as it discusses a hyperref error (see https://www.overleaf.com/learn/how-to/LaTeX_checklist_for_arXiv_submissions#Are_you_using_the_hyperref_package.3F)

kantholtz commented 1 year ago

Solution is very easy: the arXiv needs to be forced to use pdflatex instead of latex by setting \pdfoutput=1 at the beginning of the main .tex. file.