Doesn't \usemodule issue a search in parent directories when the module is not found in the working directory ? \usemodule[t-lettrine] \starttext \lettrine{A}{bc} defgh \stoptext When putting t-lettrine.tex in the same directory as the above test file it works, when putting it in the parent directory it leads to... context.cmd lettritest This is luaTeX, Version snapshot-0.31.3-2008122922 (lettritest.tex ConTeXt ver: 2009.01.18 14:39 MKIV fmt: 2009.2.2 int: english/english system : cont-new loaded (C:/context/tex/texmf-context/tex/context/base/cont-new.tex systems : beware: some patches loaded from cont-new.tex (C:/context/tex/texmf-context/tex/context/base/cont-new.mkiv) (C:/context/tex/texmf-context/tex/context/base/cont-mtx.tex)) system : cont-fil loaded (C:/context/tex/texmf-context/tex/context/base/cont-fil.tex loading : Context File Synonyms ) system : cont-sys.rme loaded (C:/context/tex/texmf-context/tex/context/user/cont-sys.rme (C:/context/tex/texmf-context/tex/context/base/type-tmf.tex) (C:/context/tex/texmf-context/tex/context/base/type-siz.tex) (C:/context/tex/texmf-context/tex/context/base/type-otf.tex)) bodyfont : 12pt rm is loaded specials : pdftex loaded language : language en is active system : lettritest.top loaded (lettritest.top) system : module t-lettrine not found systems : begin file lettritest at line 3 ! Undefined control sequence. l.5 \lettrine {A}{bc} defgh -- Alan
Did put t-lettrine.tex in C:\context\tex\texmf
Didn't work.
kpsewhich --expand-var $TEXMF
{C:/context/tex/texmf-project,C:/context/tex/texmf-fonts,C:/context/tex/texmf-local,C:/context/tex/texmf-mswin,C:/context/tex/texmf-context,C:/context/tex/texmf-extra,!!C:/context/tex/texmf}
================ READY ================
luatools.cmd --expand-var TEXMF
{C:/context/tex/texmf-project,C:/context/tex/texmf-fonts,C:/context/tex/texmf-local,C:/context/tex/texmf-mswin,C:/context/tex/texmf-context,C:/context/tex/texmf-extra,!!C:/context/tex/texmf}
================ READY ================
kpsewhich t-lettrine.tex
================ READY ================
luatools.cmd --locate t-lettrine.tex
================ READY ================
Alan
On Thu, Feb 26, 2009 at 12:11 PM, Wolfgang Schuster
Am 26.02.2009 um 11:55 schrieb Alan Stone:
Doesn't \usemodule issue a search in parent directories when the module is not found in the working directory ?
No, only current dir or TeX tree.
Wolfgang
Am 26.02.2009 um 13:11 schrieb Alan Stone:
Did put t-lettrine.tex in C:\context\tex\texmf
Don't use texmf for local, use texmf-local etc. instead and the complete path should be C:\context\tex\texmf-local\tex\context\third\lettrine\t- lettrine.tex The minimals installer has the --extras option to install package. Before you can use the package TeX has to be aware of the files, for MkII call "mktexlsr" and for MkIV "context --generate" on the command line. Wolfgang
On Feb 26, 2009, at 11:55 AM, Alan Stone wrote:
Doesn't \usemodule issue a search in parent directories when the module is not found in the working directory ?
Why should it? Look at the variable TEXINPUTS in texmf.cnf. In TL2008: TEXINPUTS.tex = .;$TEXMF/tex/{plain,generic,}// So: the current directory + the texmf-trees. Letting it climb the directory hierarchy is a potential security risk. Thomas
Thomas A. Schmitz wrote:
On Feb 26, 2009, at 11:55 AM, Alan Stone wrote:
Doesn't \usemodule issue a search in parent directories when the module is not found in the working directory ?
Why should it?
From the ConTeXt Manual (page 18): "A file that is not available on the working directory is searched for on the parent directories." Just answering your question. :) Tad
On Thu, 26 Feb 2009, Tad Ashlock wrote:
Thomas A. Schmitz wrote:
On Feb 26, 2009, at 11:55 AM, Alan Stone wrote:
Doesn't \usemodule issue a search in parent directories when the module is not found in the working directory ?
Why should it?
From the ConTeXt Manual (page 18):
"A file that is not available on the working directory is searched for on the parent directories."
That is true for files searched using \project, \product, \environment, and \component. This is not true of \usemodule and \input. Aditya
participants (5)
-
Aditya Mahajan
-
Alan Stone
-
Tad Ashlock
-
Thomas A. Schmitz
-
Wolfgang Schuster