So following your instructions I get:

C:\Users\Christopher>kpsewhich -progname=texexec basic-template
c:/Users/Christopher/Library/texmf/tex/sources/user/basic-template.tex

C:\Users\Christopher>texmfstart --locate basic-template.tex
C:/Users/Christopher/Library/texmf/tex/sources/user/basic-template.tex
C:\Users\Christopher>

However when I run texexec, I get an error:
texexec --pdf --interface=en --nonstop "rss-tech-tip.tex"
...
(c:/context/texmf-context/tex/context/base/spec-fdf.mkii))
! I can't find file `basic-template'.
l.1 \input basic-template

(Press Enter to retry, or Control-Z to exit)
Please type another input file name
! Emergency stop.
l.1 \input basic-template

I don't have a clue what's happening, I'm afraid.

Christopher

Hans Hagen wrote:
Christopher G D Tipper wrote:
OK the problem becomes clearer. The map files are now fixed, and texexec now complains it cannot find punr8a.pfb. Copying all pfb and afm files to c:\context\texmf-context\font\type1\adobe\univers and refreshing the filename database with mktexlsr allows the document to compile.

I have two problems:
(1) (The original problem) putting the pfb and afm files in texmf-local and updating filename database does not work. So texmf-local is being ignored.

(2) (My real problem, preventing me from using my own setups) \input basic-template where basic-template.tex is in the local tree is an error and the file will not compile.

However, I get this:
C:\Users\Christopher>kpsewhich basic-template
c:/Users/Christopher/Library/texmf/tex/sources/user/basic-template.tex

C:\Users\Christopher>

So for some reason texexec is not using kpsewhich to find setups. Why not?

you can simulate what context looks for with:

texmfstart --locate basic-template.tex

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                             | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to