[tex-live] A query related to "auxtrees"
Pablo Alfonso González Luengo
pablgonz at educarchile.cl
Sun Dec 9 19:00:32 CET 2018
> > I think instead of "delete" (show tlmgr: unknown auxtrees operation:
> > delete) I should say "remove"
>
> Maybe we can add an alias to treat remove the same way as delete.
When writing this I was referring to changing the line
conf auxtrees [--conffile *file*] [show|add|delete] [*value*]
for
conf auxtrees [--conffile *file*] [show|add|remove] [*value*]
when showing the documentation $ tlmgr -h
> See above. Use it with your
> $TEXMFHOME/web2c/texmf.cnf
> *should* work ...
Dear Norbert, I think here I am a bit confused about how auxtree
works, In my mind, and without using sudo, I should be able to
configure the directory trees to search for them when calling
"pdflatex" for example, placing "auxtree" at the beginning of the
search. This is my experiment, the idea is to be able to load an image
from ~/ctan/lion/ using a file in ~/testaux/. This is the command
sequence that I used
[pablo at fedora ~] $ pwd
/home/pablo
[pablo at fedora ~] $ cat .bashrc
# .bashrc
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
# Uncomment the following line if you don't like systemctl's
auto-paging feature:
# export SYSTEMD_PAGER=
# User specific aliases and functions
export TEXMFCNF='~/texmf/web2c:'
[pablo at fedora ~] $ kpsewhich -var-value=TEXMFHOME
/home/pablo/texmf
[pablo at fedora ~] $ kpsewhich -all texmf.cnf
/home/pablo/texmf/web2c/texmf.cnf
/usr/local/texlive/2018/texmf.cnf
/usr/local/texlive/2018/texmf-dist/web2c/texmf.cnf
[pablo at fedora ~] $ tlmgr conf auxtrees --conffile texmf/web2c/texmf.cnf show
tlmgr: no auxiliary texmf trees defined.
[pablo at fedora ~] $ tlmgr conf auxtrees --conffile
texmf/web2c/texmf.cnf add ~/ctan/lion/
[pablo at fedora ~] $ tlmgr conf auxtrees --conffile texmf/web2c/texmf.cnf show
List of auxiliary texmf trees:
/home/pablo/ctan/lion/
[pablo at fedora ~] $ cd ctan/lion/
[pablo at fedora lion] $ ls
ctanlion.eps ctanlion.pdf
[pablo at fedora lion] $ ls -lh
total 388K
-rw-rw-r--. 1 pablo pablo 259K nov 30 2005 ctanlion.eps
-rw-rw-r--. 1 pablo pablo 122K dic 9 13:44 ctanlion.pdf
[pablo at fedora lion] $ cd ~/testaux/
[pablo at fedora testaux] $ cat test.tex
\documentclass{article}
\usepackage{graphicx}
\begin{document}
This is proof of how \verb|auxtrees| works by loading an image in
\verb|/home/pablo/ctan/lion|
\includegraphics{ctanlion}
\end{document}
[pablo at fedora testaux] $ pdflatex test.tex
This is pdfTeX, Version 3.14159265-2.6-1.40.19 (TeX Live 2018)
(preloaded format=pdflatex)
restricted \write18 enabled.
entering extended mode
(./test.tex
LaTeX2e <2018-04-01> patch level 5
(/usr/local/texlive/2018/texmf-dist/tex/latex/base/article.cls
Document Class: article 2014/09/29 v1.4h Standard LaTeX document class
(/usr/local/texlive/2018/texmf-dist/tex/latex/base/size10.clo))
(/usr/local/texlive/2018/texmf-dist/tex/latex/graphics/graphicx.sty
(/usr/local/texlive/2018/texmf-dist/tex/latex/graphics/keyval.sty)
(/usr/local/texlive/2018/texmf-dist/tex/latex/graphics/graphics.sty
(/usr/local/texlive/2018/texmf-dist/tex/latex/graphics/trig.sty)
(/usr/local/texlive/2018/texmf-dist/tex/latex/graphics-cfg/graphics.cfg)
(/usr/local/texlive/2018/texmf-dist/tex/latex/graphics-def/pdftex.def)))
No file test.aux.
(/usr/local/texlive/2018/texmf-dist/tex/context/base/mkii/supp-pdf.mkii
[Loading MPS to PDF converter (version 2006.09.02).]
) (/usr/local/texlive/2018/texmf-dist/tex/latex/oberdiek/epstopdf-base.sty
(/usr/local/texlive/2018/texmf-dist/tex/generic/oberdiek/infwarerr.sty)
(/usr/local/texlive/2018/texmf-dist/tex/latex/oberdiek/grfext.sty
(/usr/local/texlive/2018/texmf-dist/tex/generic/oberdiek/kvdefinekeys.sty
(/usr/local/texlive/2018/texmf-dist/tex/generic/oberdiek/ltxcmds.sty)))
(/usr/local/texlive/2018/texmf-dist/tex/latex/oberdiek/kvoptions.sty
(/usr/local/texlive/2018/texmf-dist/tex/generic/oberdiek/kvsetkeys.sty
(/usr/local/texlive/2018/texmf-dist/tex/generic/oberdiek/etexcmds.sty
(/usr/local/texlive/2018/texmf-dist/tex/generic/oberdiek/ifluatex.sty))))
(/usr/local/texlive/2018/texmf-dist/tex/generic/oberdiek/pdftexcmds.sty
(/usr/local/texlive/2018/texmf-dist/tex/generic/oberdiek/ifpdf.sty))
(/usr/local/texlive/2018/texmf-dist/tex/latex/latexconfig/epstopdf-sys.cfg))
Overfull \hbox (35.24904pt too wide) in paragraph at lines 4--5
[]\OT1/cmr/m/n/10 This is proof of how [][]\OT1/cmtt/m/n/10 auxtrees []\OT1/cmr
/m/n/10 works by load-ing an im-age in [][]\OT1/cmtt/m/n/10 /home/pablo/ctan/li
on
! LaTeX Error: File `ctanlion' not found.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.6 \includegraphics{ctanlion}
?
[1{/usr/local/texlive/2018/texmf-var/fonts/map/pdftex/updmap/pdftex.map}]
(./test.aux) )</usr/local/texlive/2018/texmf-dist/fonts/type1/public/amsfonts/c
m/cmr10.pfb></usr/local/texlive/2018/texmf-dist/fonts/type1/public/amsfonts/cm/
cmtt10.pfb>
Output written on test.pdf (1 page, 25810 bytes).
Transcript written on test.log.
[pablo at fedora testaux] $ sudo tlmgr conf auxtrees add ~/ctan/lion/
[sudo] password for pablo:
[pablo at fedora testaux] $ tlmgr conf auxtrees show
List of auxiliary texmf trees:
/home/pablo/ctan/lion/
[pablo at fedora testaux] $ pdflatex test.tex
This is pdfTeX, Version 3.14159265-2.6-1.40.19 (TeX Live 2018)
(preloaded format=pdflatex)
restricted \write18 enabled.
entering extended mode
(./test.tex
LaTeX2e <2018-04-01> patch level 5
(/usr/local/texlive/2018/texmf-dist/tex/latex/base/article.cls
Document Class: article 2014/09/29 v1.4h Standard LaTeX document class
(/usr/local/texlive/2018/texmf-dist/tex/latex/base/size10.clo))
(/usr/local/texlive/2018/texmf-dist/tex/latex/graphics/graphicx.sty
(/usr/local/texlive/2018/texmf-dist/tex/latex/graphics/keyval.sty)
(/usr/local/texlive/2018/texmf-dist/tex/latex/graphics/graphics.sty
(/usr/local/texlive/2018/texmf-dist/tex/latex/graphics/trig.sty)
(/usr/local/texlive/2018/texmf-dist/tex/latex/graphics-cfg/graphics.cfg)
(/usr/local/texlive/2018/texmf-dist/tex/latex/graphics-def/pdftex.def)))
(./test.aux)
(/usr/local/texlive/2018/texmf-dist/tex/context/base/mkii/supp-pdf.mkii
[Loading MPS to PDF converter (version 2006.09.02).]
) (/usr/local/texlive/2018/texmf-dist/tex/latex/oberdiek/epstopdf-base.sty
(/usr/local/texlive/2018/texmf-dist/tex/generic/oberdiek/infwarerr.sty)
(/usr/local/texlive/2018/texmf-dist/tex/latex/oberdiek/grfext.sty
(/usr/local/texlive/2018/texmf-dist/tex/generic/oberdiek/kvdefinekeys.sty
(/usr/local/texlive/2018/texmf-dist/tex/generic/oberdiek/ltxcmds.sty)))
(/usr/local/texlive/2018/texmf-dist/tex/latex/oberdiek/kvoptions.sty
(/usr/local/texlive/2018/texmf-dist/tex/generic/oberdiek/kvsetkeys.sty
(/usr/local/texlive/2018/texmf-dist/tex/generic/oberdiek/etexcmds.sty
(/usr/local/texlive/2018/texmf-dist/tex/generic/oberdiek/ifluatex.sty))))
(/usr/local/texlive/2018/texmf-dist/tex/generic/oberdiek/pdftexcmds.sty
(/usr/local/texlive/2018/texmf-dist/tex/generic/oberdiek/ifpdf.sty))
(/usr/local/texlive/2018/texmf-dist/tex/latex/latexconfig/epstopdf-sys.cfg))
Overfull \hbox (35.24904pt too wide) in paragraph at lines 4--5
[]\OT1/cmr/m/n/10 This is proof of how [][]\OT1/cmtt/m/n/10 auxtrees []\OT1/cmr
/m/n/10 works by load-ing an im-age in [][]\OT1/cmtt/m/n/10 /home/pablo/ctan/li
on
! LaTeX Error: File `ctanlion' not found.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.6 \includegraphics{ctanlion}
?
[1{/usr/local/texlive/2018/texmf-var/fonts/map/pdftex/updmap/pdftex.map}]
(./test.aux) )</usr/local/texlive/2018/texmf-dist/fonts/type1/public/amsfonts/c
m/cmr10.pfb></usr/local/texlive/2018/texmf-dist/fonts/type1/public/amsfonts/cm/
cmtt10.pfb>
Output written on test.pdf (1 page, 25810 bytes).
Transcript written on test.log.
You could give me an instruction for "dummy novices" of how I can
achieve this by using "auxtrees" (without sudo).
regards
More information about the tex-live
mailing list