Solutions combined from here and here. Here is a log.
If you use MacOS, skip the Debian/Ubuntu part.
Debian/Ubuntu
cd ~
wget http://mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz
tar -xzf install-tl-unx.tar.gz
cd install-tl-20170117
sudo ./install-tl
Then press o
and press Enter
. You will see the option manual. Enable letter size as well as creating symlinks by pressing P
and L
.
Then press i
to start installation. It took me about 45min to finish installation. This will depend on your network speed.
MacOS
Just download MacTex from here. Install the pkg. It took me about 20min.
Dealing with dvips font issue
After installing the new system, I still encounter the problem saying
dvips: Font Helvetica used in file <...> is not in the mapping file.
To solve the issue, find where dvips35.map
is.
For MacOS, mine is at /usr/local/texlive/2016/texmf-dist/fonts/map/dvips/tetex/dvips35.map
.
For Ubuntu, mine is at /usr/share/texlive/texmf-dist/fonts/map/dvips/tetex/dvips35.map
.
First check your current version of Tex is right (via tex --version
), and then do
nano ~/.dvipsrc
and paste the following (modify based on the path of dvips35.map
) and save it.
p +/usr/share/texlive/texmf-dist/fonts/map/dvips/tetex/dvips35.map
Then run updmap
to update the map.
Everything should work fine now. Thank Harris and the author of Tex Live.
1 comment