Re: [Doxygen-users] Latex and UTF-8
Brought to you by:
dimitri
From: Daniel R. <dr...@ma...> - 2007-06-17 16:31:35
|
Warren Young wrote: > Daniel Rubin wrote: >> Paul Floyd wrote: >>> Quoting Daniel Rubin <dr...@ma...>: >>> >>>> It might just be (but I don't know) that it suffices to give TeX >>>> that `utf8.def' file, by getting it from some CTAN server and >>>> putting it in your personal `texmf' directory. >>>> >>>> Hope this was helpful in some way, have fun >>> Yes, thanks. I downloaded utf8.def, and LaTeX is happy now. > > I'm having this same problem: Doxygen fails to generate a PDF via latex > on recent versions of RHEL and Doxygen. > > I can't seem to get this fix working. I downloaded utf8.def from CTAN, > but pdflatex still complains that it can't find the file. I think it's > because I'm not installing it in the right place. I've tried ~/texmf > and /usr/share/texmf/tex/latex/base. When it gives the error, it > prompts for a path to the file, and if I type that in, the PDF creation > succeeds. > > Where does pdflatex expect to find this file? TeX & Co. use a special technique to quickly find their files: File name lookup information is kept in hash-databases (so-called "ls-R databases"). Try info kpathsea if you'd like to learn a little more. If you kept the copy of `utf8.def' in your `~/texmf' tree, it should be as simple as issuing the command texhash or, if this cannot be found, the following less easy-to-remember one: mktexlsr Afterwards, TeX (and thus pdflatex) should be able to find the file. You might check with: kpsewhich utf8.def But it surprises me no little that this file isn't there on a recent RHEL system. Are you sure you've got all tetex-packages installed? On my ancient FC4 system the file `utf8.def' is in `tetex-latex'. Maybe the system's ls-R database got corrupted somehow? Can you `locate utf8.def'? Have fun ----Daniel |