Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 434 - latex should work after emerge with no additional config steps
Summary: latex should work after emerge with no additional config steps
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-01-30 10:40 UTC by Vitaly Kushneriuk (RETIRED)
Modified: 2003-02-04 19:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vitaly Kushneriuk (RETIRED) gentoo-dev 2002-01-30 10:40:20 UTC
At least default cache dir should exist with proper permissions set etc.
Quote from user list about how to make it work after install.
I haven't check it myself, as I do not actualy use LaTex, but it seems 
a good idea to do at least some of this steps automaticaly during emerge

Once you have LaTeX installed you have to run 
'texconfig' as root (I recommend merging 'dialog' 
from dev-util first if it isn't already). 
In the "FONT" section you have to go to 
"OPTIONS" and activate the "varfonts" option. 
Then go back one step and set a path where fonts 
should be created by common users in the "VARDIR" 
section (I use /var/lib/texmf/fonts instead of /var/cache/fonts 
which does not exist...). This dir will then be world-writable 
with sticky-bit set. One more thing to do is that the 'ls-R'-file 
in this dir is not world-writable which will result in an error on 
font generation. so chmod it 'a+w' and you should be set to go. 
(I'm still with tetex-1.0.7-r2 since I don't like the /var/cache policy 
adopted afterwards. 

regards
Comment 1 Daniel Robbins (RETIRED) gentoo-dev 2002-02-02 11:27:49 UTC
Oops, danarmak just uses lyx, not tex, so he can't help.
Comment 2 Martin Schlemmer (RETIRED) gentoo-dev 2002-02-02 11:35:43 UTC
Please try the latest revision (tetex-1.0.7-r7), and let me know (maybe unmerge
and rm -rf /var/lib/texmf and /var/cache/fonts).
Comment 3 Vitaly Kushneriuk (RETIRED) gentoo-dev 2002-02-03 04:58:49 UTC
I do not use tetext currently, just copy-pasted from gentoo-dev list,
coz I think tetex is fairly important package.
Comment 4 Martin Schlemmer (RETIRED) gentoo-dev 2002-02-03 06:50:55 UTC
Im marking this as WORKSFORME, as it does.  If merged as a DEPEND of something
else, and it do not work ... that is a portage issue, as portage do not
run pkg_postinst() of something merged as a DEPEND ..