summaryrefslogtreecommitdiff
path: root/office/texlive/doinst.sh
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackbuilds.org>2011-01-24 18:16:41 -0600
committerRobby Workman <rworkman@slackbuilds.org>2011-01-30 09:15:30 -0600
commit46c9bfb1f98fd317078db019265bf798e1d0ad6a (patch)
tree4392beb50c9bd95a4777f4cade8ad3dc4d6e7a23 /office/texlive/doinst.sh
parentf8d956083617ddcdb4d62e02c6c52a0676720241 (diff)
downloadslackbuilds-46c9bfb1f98fd317078db019265bf798e1d0ad6a.tar.gz
office/texlive: Patched to use correct path of texmf-local tree
From: Peter Berntsen <ptrber@gmail.com> To: rw@rlworkman.net Subject: TexLive Date: Sun, 16 Jan 2011 18:33:02 +0100 Hi, Installed from source texlive-20100722. Thanks! Writing a paper to Science and downloaded the style-files from http://www.sciencemag.org/site/feature/contribinfo/prep/TeX_help/index.xhtml Followed this wiki on how to install extra packages under texmf-local http://en.wikibooks.org/wiki/LaTeX/Packages/Installing_Extra_Packages Running texhash or mktexlsr. It did not find all directories in /usr/share/texmf* Edited TEXMFLOCAL = $SELFAUTOPARENT/../texmf-local on line 64 in /usr/share/texmf/web2c/texmf.cnf to TEXMFLOCAL =$SELFAUTOPARENT/texmf-local Now root@slack:~# mktexlsr mktexlsr: Updating /usr/share/texmf/ls-R... mktexlsr: Updating /usr/share/texmf-config/ls-R... mktexlsr: Updating /usr/share/texmf-dist/ls-R... mktexlsr: Updating /usr/share/texmf-local/ls-R... mktexlsr: Updating /usr/share/texmf-var/ls-R... mktexlsr: Done. finds texmv-local/ls-R and the installed sty files can be used in all directories. Don't know if this is a 'bug' but it might be possible to change in the default path generation to the texmf tree. Of course one can put all extra style files in a ~/texmf but to use texmf-local make it neat and clean. Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'office/texlive/doinst.sh')
-rw-r--r--office/texlive/doinst.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/office/texlive/doinst.sh b/office/texlive/doinst.sh
index 5d68eafc83..22da4eb4c2 100644
--- a/office/texlive/doinst.sh
+++ b/office/texlive/doinst.sh
@@ -8,7 +8,7 @@ chroot . /usr/share/texmf/bin/mktexlsr 1>/dev/null 2>/dev/null
# This is to generate /usr/share/texmf-var/ stuff
chroot . /usr/share/texmf/bin/updmap-sys --nohash --syncwithtrees 1>/dev/null 2>/dev/null
-chroot . /usr/share/texmf/bin/mktexlsr /usr/share/texmf-var 1>/dev/null 2>/dev/null
+chroot . /usr/share/texmf/bin/mktexlsr 1>/dev/null 2>/dev/null
chroot . /usr/share/texmf/bin/fmtutil-sys --all 1>/dev/null 2>/dev/null
# Just in case...