Latex format file bugs in Fedora 13

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a long standing bug in Fedora dating back to at least version 9, 
which not only hasn't been fixed, but has gotten worse in Fedora 13.

The problem is that texlive does not install Tex format files in a 
system-wide accessible directory.  Rather it creates these format files 
in each users home directory within a subdirectory named .texlive2007 
whenever the user invokes (pdf)latex. This is especially annoying if 
Latex is invoked by a server daemon, such as httpd.  Then Latex attempts 
to create .texlive2007 subdirectory in what it considers to be the 
daemon's home directory, such as / or /var/www/. Of course it doesn't 
succeed because the daemon doesn't have write permissions to these 
directories.

In Fedora 12 and earlier, there was a simple way to fix this:
fmtutil --missing
would create the format files in /var/lib/texmf and afterwords Latex 
would use these format files instead of creating new ones in users' home 
directories.

In Fedora 13, fmtutil does create the format files in /var/lib/texmf, 
but Latex ignores them and continues to recreate them in users' home 
directories.

To see this bug in action, create a tex file say /tmp/test.tex and run 
the following commands
su -
fmtutil --missing
su -s /bin/bash apache
pdflatex /tmp/test.tex

You will get the following error:

This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6)
  %&-line parsing enabled.
kpathsea: Running mktexfmt pdflatex.fmt
fmtutil: format directory `/var/www/.texlive2007/texmf-var/web2c' does not
exist.
I can't find the format file `pdflatex.fmt'!




-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux