I am using texmaker, which is based on Tex Live 2013. I have just downloaded a package, i.e. mathpro2 (lite version).
Question 1: Where should I put my package files into?
I have seen answers to this question, but I am still entirely not sure where exactly should I put my mtp2lite
folder. Right now, I have the following file path
`\usr\local\texlive\`
Inside texlive
, there are 2 folders 2013
and texmf-local
.
2013
contains texmf-config
, texmf-dist
and texmf-var
.
Inside texmf-local
, there are 6 other folders; bibtex
, dvips
, fonts
, metapost
, tex
, and web2c
.
But I am not sure where to place my "mtp2lite
" folder in?
Question 2: My mtp2lite
folder 2 folders, template
and texmf
. And the texmf
contains several other folders doc
, dvips
, fonts
, source
, tex
, and tpm
but I was expecting files with .sty
extension. Not sure where they are? Am I suppose to extract something from these folders? Put simply, what should I do such that when I compile my TeX files in Texmaker with the following command, everything will work smoothly?
\usepackage[lite]{mtpro2}
I am just really confused here.
UPDATE: Someone said that it suffices to unzip the mtp2lite.zip
file. However, I am not sure which file path should I unzip the file ?
\usr\local\texlive\2013\texmf-config
\usr\local\texlive\2013\texmf-dist
\usr\local\texlive\texmf-local
I unzip the files in all 3 paths, and in the terminal I ran the following command:
sudo mktexlsr /usr/local/texlive/2013/
and
sudo updmap-sys --enable Map=mtpro2.map
The terminal output gave me this after the second command:
updmap is using the following updmap.cfg files (in precedence order):
/usr/local/texlive/2013/texmf-config/web2c/updmap.cfg
/usr/local/texlive/2013/texmf-dist/web2c/updmap.cfg
updmap is using the following updmap.cfg file for writing changes:
/usr/local/texlive/2013/texmf-config/web2c/updmap.cfg
/usr/local/texlive/2013/texmf-config/web2c/updmap.cfg unchanged. Map files not recreated.
I am Not sure if this is actually a problem.
But when I tried to compile my tex file, I am still getting error message:
I can't find file `mt2exa'. <*> ...:=ljfour; mag:=1; nonstopmode; input mt2exa Please type another input file name ! Emergency stop. <*> ...:=ljfour; mag:=1; nonstopmode; input mt2exa Transcript written on mfput.log.
grep: mt2exa.log: No such file or directory
doc,dvips,fonts,source,tex,tpm
from the mtp2lite must go in the corresponding folders of textmf-local ?mtpro2lite
; using the namemtpro2
will do just fine.mtp2lite
folder actually has 2 folders,templates
andtexmf
. And thetexmf
containsdoc,dvips,fonts,source,tex,tpm
. But in mytexmf-local
folder, it doesn't contain folders likedoc,source,tpm
and thetemplate
folder ? And also, do I need to change the names of the subdirectories ? I am confused. Sorrytexmf` at the root of your
texmf-local` directory. This will automatically create the required directories and everything will be in its right place. Don't forget to runupdmap-sys
, as Ulrike Fischer said.