diff options
author | Robby Workman <rworkman@slackbuilds.org> | 2011-01-24 18:16:41 -0600 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2011-01-30 09:15:30 -0600 |
commit | 46c9bfb1f98fd317078db019265bf798e1d0ad6a (patch) | |
tree | 4392beb50c9bd95a4777f4cade8ad3dc4d6e7a23 /office/texlive/patches | |
parent | f8d956083617ddcdb4d62e02c6c52a0676720241 (diff) | |
download | slackbuilds-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/patches')
-rw-r--r-- | office/texlive/patches/source-fixup_texmf-local_tree_in_texmf_cnf.diff | 12 | ||||
-rw-r--r-- | office/texlive/patches/texmf-fixup_texmf-local_tree_in_texmf_cnf.diff | 11 |
2 files changed, 23 insertions, 0 deletions
diff --git a/office/texlive/patches/source-fixup_texmf-local_tree_in_texmf_cnf.diff b/office/texlive/patches/source-fixup_texmf-local_tree_in_texmf_cnf.diff new file mode 100644 index 0000000000..41c5b89fd2 --- /dev/null +++ b/office/texlive/patches/source-fixup_texmf-local_tree_in_texmf_cnf.diff @@ -0,0 +1,12 @@ +diff -Nur texlive-20100722-source.orig//texk/kpathsea/texmf.cnf texlive-20100722-source/texk/kpathsea/texmf.cnf +--- texlive-20100722-source.orig//texk/kpathsea/texmf.cnf 2010-05-30 16:52:39.000000000 -0500 ++++ texlive-20100722-source/texk/kpathsea/texmf.cnf 2011-01-24 14:38:46.317199461 -0600 +@@ -61,7 +61,7 @@ + % A place for local additions to a "standard" texmf tree. + % This tree is not used for local configuration maintained by + % texconfig, it uses TEXMFCONFIG below. +-TEXMFLOCAL = $SELFAUTOPARENT/../texmf-local ++TEXMFLOCAL = $SELFAUTOPARENT/texmf-local + + % TEXMFSYSVAR, where texconfig-sys stores variable runtime data. + % With teTeX-3.0 or later, this must be set. diff --git a/office/texlive/patches/texmf-fixup_texmf-local_tree_in_texmf_cnf.diff b/office/texlive/patches/texmf-fixup_texmf-local_tree_in_texmf_cnf.diff new file mode 100644 index 0000000000..fa064e7651 --- /dev/null +++ b/office/texlive/patches/texmf-fixup_texmf-local_tree_in_texmf_cnf.diff @@ -0,0 +1,11 @@ +--- texlive-20100722-texmf.orig/texmf/web2c/texmf.cnf 2011-01-24 18:04:35.406411913 -0600 ++++ texlive-20100722-texmf/texmf/web2c/texmf.cnf 2011-01-24 18:04:45.709266445 -0600 +@@ -61,7 +61,7 @@ + % A place for local additions to a "standard" texmf tree. + % This tree is not used for local configuration maintained by + % texconfig, it uses TEXMFCONFIG below. +-TEXMFLOCAL = $SELFAUTOPARENT/../texmf-local ++TEXMFLOCAL = $SELFAUTOPARENT/texmf-local + + % TEXMFSYSVAR, where texconfig-sys stores variable runtime data. + % With teTeX-3.0 or later, this must be set. |