last day (15 days later) » 

8:50 PM
4
A: How use Mathematica fonts with LaTeX - which method?

egregThe instructions you mention are rather outdated. Modify wolfram.map to have .pfa instead of .pfb (to reflect the format of the font files) and remove all from Janson Text onwards, as those fonts are not provided. Copy wolfram.map to /usr/local/texlive/texmf-local/fonts/map/dvips/wolfram/wolfr...

 
@murray What's most important is not using updmap that may create problems in using fonts when they are updated via tlmgr.
 
I am using Mathematica 9.0.1: I copied all necessary files in steps 2-5, and successfully got 6 to work. At step 7 I got error Unknown option: enable-map. Any ideas? Would it work if I just skipped this step?
I tried to compile my LaTeX document with \usepackage{wrisym} but it failed: mktexpk: don't know how to create bitmap font for Mathematica1. So clearly I'm doing something wrong. Any ideas?
 
@QuantumDot updmap-sys --enable Map=wolfram map should work. I'll fix the code.
 
@egreg Thanks, it now runs marginally better: But after 4 lines of output (including resetting $HOME$ value), it gives me the error: updmap: invalid mapType map at /usr/texbin/updmap line 1470. This seems to be an excessive amount of trouble for something so simple.
 
@QuantumDot What TeX distribution are you running?
@QuantumDot If the Mathematica font distribution is corrupt, it's not a fault of the TeX system.
@QuantumDot Apart from the slip in step 7 (fixed), the instructions should work if the map file is good. I'm not really going to download and install fonts that are quite bad, in my opinion.
 
8:53 PM
Hi, I'm on Mac OS X 10.9.4, and just 3 hours ago I installed fresh TeX distribution... let me check the version
 
Can you show the contents of wolfram.map?
 
Ok, I just installed the 2014 distribution from here tug.org/mactex
 
@QuantumDot did you use the “new” step 7 under “Update”?
 
Let me get the file
yes, I did.
but my folder /usr/local/texlive/texmf-local/web2c/ appears empty
and so I am unable to add a line to updmap.cfg.
Math1 Math1 <Math1.pfa
Math1-Bold Math1-Bold <Math1-Bold.pfa
Math2 Math2 <Math2.pfa
Math2-Bold Math2-Bold <Math2-Bold.pfa
Math3 Math3 <Math3.pfa
Math3-Bold Math3-Bold <Math3-Bold.pfa
Math4 Math4 <Math4.pfa
Math4-Bold Math4-Bold <Math4-Bold.pfa
Math5 Math5 <Math5.pfa
Math5-Bold Math5-Bold <Math5-Bold.pfa
Math1Mono Math1Mono <Math1Mono.pfa
Math1Mono-Bold Math1Mono-Bold <Math1Mono-Bold.pfa
Math2Mono Math2Mono <Math2Mono.pfa
Math2Mono-Bold Math2Mono-Bold <Math2Mono-Bold.pfa
 
@QuantumDot Create the file: sudo touch /usr/local/texlive/texmf-local/web2c/updmap.cfg
 
8:58 PM
Ok; just created it --
I can add the line now
 
Then do sudo nano /usr/local/texlive/texmf-local/web2c/updmap.cfg, add the line Map wolfram.map and do control-X, answering Y.
Now try sudo mktexlsr and sudo updmap-sys
 
Ok, finished adding the line
 
sudo mktexlsr
 
Ah it is working...
 
@QuantumDot Good!
 
9:01 PM
it just finished sudo updmap-sys
Looks like no problems so far.
 
@QuantumDot :-D
 
Proceed with \usepackage{wrisym} in latex?
:-)
 
@QuantumDot Try it.
 
Ah it compiled and a pdf shows instantly. Many thanks for your time and help!!!
:-)
 
@QuantumDot You're welcome!
And you owe me a beer!
 
9:07 PM
Yes, I do!
 
Ciao!
 
See ya!! Have a good day!@
 

last day (15 days later) »