For Programmers: Free Programming Magazines  


Home > Archive > Mathematica > April 2005 > Guide to get tex-stuff working in Suse 9.2









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Guide to get tex-stuff working in Suse 9.2
Detlef Müller

2005-04-20, 9:00 am

Hello,

I hope someone here has some hint for me.

I have written a bigger Mathematica-Module with
Mathematica 4.1 .

Now the code shall appear as Appendix in a latex document, using
tetex under Suse Linux 9.2.

For first, I would be content, do save it as tex document,
process Latex and pdflatex on the resulting File and get
dvips, xdvi, acroread working with the results.

(next step would be coexistence of different styles
and own defs with the notebook2e.sty etc. to build
the Book with Mathematica-generated Texsequences in
it)

I would like to find just a cooking reciept, what files
to get and where to copy them such that everything
works. But I didn't find these informations.

Is there any "howto" for this - refering to
tetex-2.0 (and Suse 9.2, acroread 7, X11R6)

Here, what I did so far:

I copied the Directory
/usr/local/mathematica/SystemFiles/IncludeFiles/TeX/texmf

somewhere, where tetex finds it
(in my case $HOME/texmf), als described for tetex1 in
the technical support FAQ of Wolfram Research. Unfortunately
in tetex2 some files/locations/configs seem to be different,
so some of the hints were not aplicable.

Now latex gererates a dvifile, then

xdvi launches kpathsea-messages like

"kpathsea: Running mktexpk --mfmode ljfour --bdpi 600 --mag 0+480/600
--dpi 480 Math1Mono-Bold
mktexpk: don't know how to create bitmap font for Math1Mono-Bold.
"
and, viewing the result, it seems, that there is no pagebreak
inside a cell.

pdflatex warns:

"Warning: pdflatex (file Math1Mono-Bold): Font Math1Mono-Bold at 480 not
found"

viewing the result with acroread (7) pops up Messages:

"Could not find a font in the resources dictionary - using
Helvetica instead."

"Could not find or create font 'Helvetica'. Some characters may
not display or print correctly"
(indeed this happens).

Greetings,
Detlef

Jens-Peer Kuska

2005-04-21, 9:00 am

Hi,

a) switch to the newer and better 4.2 Mathematica
fonts
b) you *must* include the wolfram.map (for dvips)
or the
pdfwolfram.map (for pdftex) in the corresponing
configuration files. The 4.1 fonts have no
pdfwolfram.map
map file and you can't use the fonts with
pdflatex

Regards
Jens



"Detlef Müller" <=?ISO-8859-1?Q?Detlef_M=FCller?=>
schrieb im Newsbeitrag
news:d459ct$i4f$1@smc.vnet.net...
> Hello,
>
> I hope someone here has some hint for me.
>
> I have written a bigger Mathematica-Module with
> Mathematica 4.1 .
>
> Now the code shall appear as Appendix in a latex
> document, using
> tetex under Suse Linux 9.2.
>
> For first, I would be content, do save it as tex
> document,
> process Latex and pdflatex on the resulting File
> and get
> dvips, xdvi, acroread working with the results.
>
> (next step would be coexistence of different
> styles
> and own defs with the notebook2e.sty etc. to
> build
> the Book with Mathematica-generated
> Texsequences in
> it)
>
> I would like to find just a cooking reciept,
> what files
> to get and where to copy them such that
> everything
> works. But I didn't find these informations.
>
> Is there any "howto" for this - refering to
> tetex-2.0 (and Suse 9.2, acroread 7, X11R6)
>
> Here, what I did so far:
>
> I copied the Directory
> /usr/local/mathematica/SystemFiles/IncludeFiles/TeX/texmf
>
> somewhere, where tetex finds it
> (in my case $HOME/texmf), als described for
> tetex1 in
> the technical support FAQ of Wolfram Research.
> Unfortunately
> in tetex2 some files/locations/configs seem to
> be different,
> so some of the hints were not aplicable.
>
> Now latex gererates a dvifile, then
>
> xdvi launches kpathsea-messages like
>
> "kpathsea: Running mktexpk --mfmode
> ljfour --bdpi 600 --mag 0+480/600
> --dpi 480 Math1Mono-Bold
> mktexpk: don't know how to create bitmap font
> for Math1Mono-Bold.
> "
> and, viewing the result, it seems, that there is
> no pagebreak
> inside a cell.
>
> pdflatex warns:
>
> "Warning: pdflatex (file Math1Mono-Bold): Font
> Math1Mono-Bold at 480 not
> found"
>
> viewing the result with acroread (7) pops up
> Messages:
>
> "Could not find a font in the resources
> dictionary - using
> Helvetica instead."
>
> "Could not find or create font 'Helvetica'. Some
> characters may
> not display or print correctly"
> (indeed this happens).
>
> Greetings,
> Detlef
>



Detlef Müller

2005-04-22, 9:00 am

Jens-Peer Kuska wrote:
> Hi,
>
> a) switch to the newer and better 4.2 Mathematica
> fonts


I replaced my so far installed local texmf by the files under
http://support.wolfram.com/mathemat...athT1_42.tar.gz
(and hope this is the correct adress).

> b) you *must* include the wolfram.map (for dvips)
> or the
> pdfwolfram.map (for pdftex) in the corresponing
> configuration files. The 4.1 fonts have no
> pdfwolfram.map
> map file and you can't use the fonts with
> pdflatex
>

Mh, now dvips runs without complaining, the result
is visible. Xdvi walks too, a success.

pdflatex gives tons of messages of the kind

"Warning: pdflatex (file /var/lib/texmf/dvips/config/psfonts.map):
invalid entry for `ptmro8r': SlantFont/ExtendFont can be used only with
embedded T1 fonts
"
and
"Warning: pdflatex (file /var/lib/texmf/dvips/config/psfonts.map):
invalid entry
for `pagko8r': font file missing"

It seems, that I have to update /var/lib/texmf/dvips/config/psfonts.map
somehow ...

> Regards
> Jens
>

Thank you for the hint.
\def\IndentingNewLine{}
>

....[color=darkred]

About this I'm still worried.

Meanwhile I have the feeling to do realy dirty tricks, mixing the
4.1 and 4.2 - Versions ...

For example I added (following some hint found in the net) the line

" \def\IndentingNewLine{}"

in the notebook2e.sty - file (this was simply not defined and
caused an error)

So far ...
Detlef

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com