Latex Error: about add \usepackage{newtxtext} \usepackage[varg]{newtxmath}

My journal publisher’s class file uses newtx fonts, so I’ve tried to update my MikTeX installation. The MikTeX package manager reports that all of newtxtt, newtxsf, minion2newtx and newtxitself (only the last is new) are installed. I’ve run (as administrator and as myself) updmap as well as FNDB. A simple hello world file (appended) will compile and produce a dvi, but converting it to pdf or viewing it in yap or … tries to run miktex-makepk to make pk fonts and these fail. Compiling with pdflatex (which is what I’d really like to do) fails in the same way:

 

This turned out to be a failure to put newtx.map in the updmap.cfg file. Following an answer on this site to manual font installation, perform the following as administrator:

a) initexmf --edit-config-file updmap

This creates a updmap.cfg file in C:\users\steve\AppData\Roaming\MiKTeX\2.9\config and opened up Notepad. [If this file already exists it will open up that existing file for further editing]. I inserted a single line:

Map newtx.map

which I saved.

b) initexmf -u

c) updmap

Pdflatex, yap etc will now find the appropriate T1 fonts. In this sense it doesn’t answer the question as posed since there is no need for the PK fonts.

 

Step 2:

Find fi-logo.mf (https://github.com/liskin/fithesis), copy it to fonts/source and update the FNDB.

 

refer to the website:https://tex.stackexchange.com/questions/355716/newtx-miktex-pk-fonts

 

799total visits,10visits today

Leave a Reply

Your email address will not be published. Required fields are marked *