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,tpmfrom the mtp2lite must go in the corresponding folders of textmf-local ? – mynameisJEFF Mar 30 '14 at 16:47mtpro2lite; using the namemtpro2will do just fine. – Mico Mar 30 '14 at 16:50mtp2litefolder actually has 2 folders,templatesandtexmf. And thetexmfcontainsdoc,dvips,fonts,source,tex,tpm. But in mytexmf-localfolder, it doesn't contain folders likedoc,source,tpmand thetemplatefolder ? And also, do I need to change the names of the subdirectories ? I am confused. Sorry – mynameisJEFF Mar 30 '14 at 16:58texmf\at the root of yourtexmf-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. – Bernard Mar 30 '14 at 17:28updamp-sys? And where should I run it ? Sorry, I am a complete noob on these things – mynameisJEFF Mar 30 '14 at 17:30updmap-sysupdates the information TeX has about fonts. After you place the files by unzipping as explained above, you need to do two things. First,mktexlsr /usr/local/texlive/texmf-local. This will update the filename database for that tree. Then runupdmap-sys --enable Map=mapname.mapwheremapname.mapis the name of the map file installed underdvips. Do this in the Terminal application (probably in/Applications/Utilities/) usingsudo. That is, you actually writesudo mktexlsr...sudo updmap-sys...etc. You will be asked for your password. – cfr Mar 30 '14 at 18:05/usr/local/texlive/texmf-local/usr/local/texlive/2013/texmf-config/usr/local/texlive/texmf-distI also ran the commands in terminal but i am still getting errors. Please see update in question
– mynameisJEFF Mar 30 '14 at 18:50