Re: pdflatex and tipa fonts - works

2002-01-20 Thread Reiner Wilhelms-Tricarico

Dear Reinhard,

Thank you very much for your help. I am not sure what exactly 
I had to do in order to recreate the map files. At
any rate, I probably fixed the problem:

The file tipa.map already exists. It is in the distribution 
tar file and sits now in the directory /usr/share/texmf/dvips/config.

What I didn't realize was that the Makefile in the distribution
makes the implicit assumption that it is executed from the 
directory /usr/share/texmf (in the case of Redhat linux with the
tetex distribution). So all I had to do is go to the 
directory /usr/share/texmf
and execute the command mktexlsr. Further
in order to get all the fonts installed I had to
just run the sequence shown in the Makefile:
cd /usr/share/texmf/doc 
latex tipaman; bibtex tipaman; latex tipaman; latex tipaman

That did it and there are no more complaints from pdflatex.

I include here the Makefile that was included in the
distribution and that I had edited (PREFIX).



# Makefile for TIPA.
#
# You need to edit PREFIX.  (I did)


PREFIX=/usr/share/texmf 

TEXDIR=$(PREFIX)/tex/latex/tipa
FONTDIR=$(PREFIX)/fonts
MAPDIR=$(PREFIX)/dvips/config

all : 

install :
-mkdir $(TEXDIR)
chmod 755 $(TEXDIR)
-mkdir -p $(FONTDIR)/source/fkr/tipa
chmod 755 $(FONTDIR)/source/fkr $(FONTDIR)/source/fkr/tipa
-mkdir -p $(FONTDIR)/tfm/fkr/tipa
chmod 755 $(FONTDIR)/tfm/fkr $(FONTDIR)/tfm/fkr/tipa
-mkdir -p $(FONTDIR)/type1/fkr/tipa
chmod 755 $(FONTDIR)/type1/fkr $(FONTDIR)/type1/fkr/tipa
install -c -m 644 sty/*.sty sty/*.fd sty/*.def $(TEXDIR)
install -c -m 644 mf/*.mf mf/*.def mf/*.sh $(FONTDIR)/source/fkr/tipa
install -c -m 644 tfm/*.tfm $(FONTDIR)/tfm/fkr/tipa
install -c -m 644 type1/*.pfb $(FONTDIR)/type1/fkr/tipa
install -c -m 644 dvips/tipa.map $(MAPDIR)
-mktexlsr

man :
cd doc; latex tipaman; bibtex tipaman; latex tipaman; latex tipaman

clean :
(cd doc; rm -f *~ *.log *.aux *.dvi *.blg)
(cd sty; rm -f *~ *.log *.aux *.dvi *.blg)
(cd mf; rm -f *~ ti*gf ti*pk ti*.tfm ti*.log xi*gf xi*pk xi*.tfm xi*.log)
--

 

Reinhard Kotucha wrote:
 
  Reiner == Reiner Wilhelms-Tricarico [EMAIL PROTECTED] writes:
 
  I installed the tipa fonts (symbols of the Internation Phonetic
  Alphabet) from CTAN and it works fine for LaTeX but not for
  pdflatex.
 
 You obviously edited psfonts.map to make them visible to LaTeX/dvips.
 But pdfTeX needs an entry in pdftex.map (in the same directory).  You
 might also want to edit ps2pk.map.
 
 A better way is to create a file tipa.map, edit the script
 texmf/dvips/config/updmap and recreate the map files.
 
 Regards,
   Reinhard
 
 --
 
 Reinhard Kotucha   Phone: +49-511-751355
 Berggartenstr. 9
 D-30419 Hannover  mailto:[EMAIL PROTECTED]
 
 Microsoft isn't the answer. Microsoft is the question, and the answer is NO.
 

-- 
Reiner Wilhelms-Tricarico, Sc.D.
Research Scientist @ Speech Group, RLE-MIT
email: [EMAIL PROTECTED]
site:  http://webpages.charter.net/reinerwt




Re: pdflatex and tipa fonts - works

2002-01-20 Thread David Kastrup

Reiner Wilhelms-Tricarico [EMAIL PROTECTED] writes:

 # Makefile for TIPA.
 #
 # You need to edit PREFIX.  (I did)
 
 
 PREFIX=/usr/share/texmf 

Just let me add that it is a bad idea to install things like that in
the main tree, /usr/share/texmf instead of, say,
/usr/local/share/texmf.  The reason is that things get ugly when you
upgrade your distribution.  As long as you keep local additions in a
local tree, this is simply removing the old tree, installing the new
one, editing the new texmf.cnf to point to the local tree as well (if
that's not already done.  BTW, Thomas, with most file system layouts,
/usr/local/share/texmf is a better place for it than
/usr/share/texmf.local).

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum
Email: [EMAIL PROTECTED]




Re: pdflatex and tipa fonts - works

2002-01-19 Thread Reinhard Kotucha

 Reiner == Reiner Wilhelms-Tricarico [EMAIL PROTECTED] writes:

 Dear Reinhard, Thank you very much for your help. I am not sure
 what exactly I had to do in order to recreate the map files. At
 any rate, I probably fixed the problem:

 The file tipa.map already exists. It is in the distribution tar
 file and sits now in the directory
 /usr/share/texmf/dvips/config.

I suppose that you have installed all the tfm, type1, sty, fd files
correctly because you say that LaTeX works.  LaTeX uses the sty, fd
and tfm files.

Move to /usr/share/texmf/dvips/config and edit the file updmap.  Look
for extra_modules= and put tipa.map between the quotes.  Finally run
./updmap .  That should recreate psfonts.map, pdftex.map and ps2pk.map.

 What I didn't realize was that the Makefile in the distribution
 makes the implicit assumption that it is executed from the
 directory /usr/share/texmf (in the case of Redhat linux with the

No, preserve the directory structure from CTAN and run make install
from the directory where the Makefile is in.

make doc assumes that you want to install the documentation manually.  

After running make install, run mktexlsr (from any directory) and do
what I described above.

Regards,
  Reinhard

-- 

Reinhard Kotucha   Phone: +49-511-751355
Berggartenstr. 9
D-30419 Hannover  mailto:[EMAIL PROTECTED]

Microsoft isn't the answer. Microsoft is the question, and the answer is NO.