Re: [NTG-context] Search path for typescripts

2019-03-01 Thread Rik Kabel
On 2/28/2019 22:42, Aditya Mahajan wrote: On Thu, 28 Feb 2019, Rik Kabel wrote: List, What is the proper place to put a custom typescript file to make it accessible to multiple projects? For testing I placed copies in" 1)  the local directory 2)  /texmf/fonts 3)  /tex/texmf-local/fonts/ A

Re: [NTG-context] Search path for typescripts

2019-02-28 Thread Aditya Mahajan
On Thu, 28 Feb 2019, Rik Kabel wrote: List, What is the proper place to put a custom typescript file to make it accessible to multiple projects? For testing I placed copies in" 1) the local directory 2) /texmf/fonts 3) /tex/texmf-local/fonts/ A typescript file is simply a tex file, so t

[NTG-context] Search path for typescripts

2019-02-28 Thread Rik Kabel
List, What is the proper place to put a custom typescript file to make it accessible to multiple projects? For testing I placed copies in" 1) the local directory 2) /texmf/fonts 3) /tex/texmf-local/fonts/ A standard version (uncustomized) exists as part of the distribution in: 4) /tex/tex

Re: [NTG-context] Search path for external figures changed

2013-02-15 Thread Marco Patzer
On 2013–02–15 Hans Hagen wrote: > location={global,local} It still doesn't work for me. Here is a complete example: \startbuffer [foo] beginfig(1); fill unitsquare scaled 2cm withcolor red; endfig; \stopbuffer \luacode{lfs.mkdir"graphics"} \savebuffer [list=foo, file=graphics/foo.mp,

Re: [NTG-context] Search path for external figures changed

2013-02-15 Thread Hans Hagen
On 2/14/2013 5:40 PM, Willi Egger wrote: Hi Marco, i think that ou have to specify the path completely \setupexternalfigures[directory={/Users/willi/Documents/BOEDE/Logos}] location={global,local} -

Re: [NTG-context] Search path for external figures changed

2013-02-14 Thread Marco Patzer
On 2013–02–14 Willi Egger wrote: > i think that ou have to specify the path completely > > \setupexternalfigures[directory={/Users/willi/Documents/BOEDE/Logos}] That does not work for me, does this work on you machine? Even if it would work, mandating an absolute path is wrong in my opinion. Th

Re: [NTG-context] Search path for external figures changed

2013-02-14 Thread Willi Egger
Hi Marco, i think that ou have to specify the path completely \setupexternalfigures[directory={/Users/willi/Documents/BOEDE/Logos}] Willi On Feb 13, 2013, at 2:15 PM, Marco Patzer wrote: > On 2013–02–08 Hans Hagen wrote: > >> default: texmftree >> local : relative to source >> global : path l

Re: [NTG-context] Search path for external figures changed

2013-02-13 Thread Marco Patzer
On 2013–02–08 Hans Hagen wrote: > default: texmftree > local : relative to source > global : path list > > these can be combined How to include MP graphics sitting in a dedicated directory, e.g. “graphs”? %% file: graphs/foo.mp beginfig(1); fill unitsquare scaled 2cm withcolor red; endfig;

Re: [NTG-context] Search path for external figures changed

2013-02-07 Thread Hans Hagen
On 2/7/2013 10:58 PM, Marco Patzer wrote: Hi, recently there was a discussion about search paths for external figures. Now I noticed that the search path is much stricter than it used to be and by default only local images are found. Is it intended that images are not searched in the texmf tree

[NTG-context] Search path for external figures changed

2013-02-07 Thread Marco Patzer
Hi, recently there was a discussion about search paths for external figures. Now I noticed that the search path is much stricter than it used to be and by default only local images are found. Is it intended that images are not searched in the texmf tree unless explicitly told to do so? Example:

Re: [NTG-context] Search path for .tex files (mkiv)

2012-10-30 Thread John Devereux
Marco Patzer writes: > 2012-10-30 John Devereux: > >> It looks like \usepath is the key to what I want, thank you. > > Yes, combine \usepath with the \startmodeset syntax that Wolfgang > suggested and you should have a clean solution. > >> I don't quite understand your overall structure. > > You'

Re: [NTG-context] Search path for .tex files (mkiv)

2012-10-30 Thread Marco Patzer
2012-10-30 John Devereux: > It looks like \usepath is the key to what I want, thank you. Yes, combine \usepath with the \startmodeset syntax that Wolfgang suggested and you should have a clean solution. > I don't quite understand your overall structure. You're right. Without file names it's har

Re: [NTG-context] Search path for .tex files (mkiv)

2012-10-30 Thread Wolfgang Schuster
Am 30.10.2012 um 17:24 schrieb John Devereux : > Marco Patzer writes: > >> 2012-10-30 John Devereux: >> >>> What is the correct way to set or modify the search path for tex files? >>> >>> I want to make it mode-dependent. For example, for figures I have >>> something like >>> >>> \doifmode{e

Re: [NTG-context] Search path for .tex files (mkiv)

2012-10-30 Thread John Devereux
Marco Patzer writes: > 2012-10-30 John Devereux: > >> What is the correct way to set or modify the search path for tex files? >> >> I want to make it mode-dependent. For example, for figures I have >> something like >> >> \doifmode{en} >> {\def\FigDirLanguage{fig/lang_en}\def\DocumentSuffix{EN

Re: [NTG-context] Search path for .tex files (mkiv)

2012-10-30 Thread Wolfgang Schuster
Am 30.10.2012 um 17:12 schrieb John Devereux : > Thank you Wolfgang, these "modesets" are neat. But it was primarily the > .tex file search path I was interested in, I have figures working > already, although your way is nicer. > > Is there something like \setuptexfilesdirectory? You can set se

Re: [NTG-context] Search path for .tex files (mkiv)

2012-10-30 Thread John Devereux
Wolfgang Schuster writes: > Am 30.10.2012 um 15:31 schrieb John Devereux : > >> >> Hi, >> >> What is the correct way to set or modify the search path for tex files? >> >> I want to make it mode-dependent. For example, for figures I have >> something like >> >> \doifmode{en} >> {\def\FigDirLa

Re: [NTG-context] Search path for .tex files (mkiv)

2012-10-30 Thread Marco Patzer
2012-10-30 John Devereux: > What is the correct way to set or modify the search path for tex files? > > I want to make it mode-dependent. For example, for figures I have > something like > > \doifmode{en} > {\def\FigDirLanguage{fig/lang_en}\def\DocumentSuffix{EN}\mainlanguage[en]} > \doifmode{d

Re: [NTG-context] Search path for .tex files (mkiv)

2012-10-30 Thread Wolfgang Schuster
Am 30.10.2012 um 15:31 schrieb John Devereux : > > Hi, > > What is the correct way to set or modify the search path for tex files? > > I want to make it mode-dependent. For example, for figures I have > something like > > \doifmode{en} > {\def\FigDirLanguage{fig/lang_en}\def\DocumentSuffix{E

[NTG-context] Search path for .tex files (mkiv)

2012-10-30 Thread John Devereux
Hi, What is the correct way to set or modify the search path for tex files? I want to make it mode-dependent. For example, for figures I have something like \doifmode{en} {\def\FigDirLanguage{fig/lang_en}\def\DocumentSuffix{EN}\mainlanguage[en]} \doifmode{de} {\def\FigDirLanguage{fig/lang_de}

Re: [NTG-context] Search path.

2012-09-10 Thread Aditya Mahajan
On 2012-09-10, at 9:13 AM, Pontus Lurcock wrote: > On Mon 10 Sep 2012, Andre Caldas wrote: > >>> Do you really need to use context mkii? As it's a new project, >>> using context mkiv might be a better idea. >> >> No, I don't. I want to use always the preferred solution. I want to >> follow you

Re: [NTG-context] Search path.

2012-09-10 Thread Pontus Lurcock
On Mon 10 Sep 2012, Andre Caldas wrote: > > Do you really need to use context mkii? As it's a new project, > > using context mkiv might be a better idea. > > No, I don't. I want to use always the preferred solution. I want to > follow your guidelines and be enlightened... :-) > How did you know I

Re: [NTG-context] Search path.

2012-09-10 Thread Andre Caldas
>> When I write a project, product, component or environment file, why >> would I want the references I made to be dependent on the directory >> where the script was called? Shouldn't things be like the >> #include "relative_path.h" >> used in the C language, for example? That is, shouldn't those p

Re: [NTG-context] Search path.

2012-09-10 Thread Hans Hagen
On 10-9-2012 04:45, Andre Caldas wrote: Hello, list! I am really new to ConTeXt. I am writing a book http://topologia-geral.ourproject.org/ It is written in LaTeX and I intend to migrate it to ConTeXt. I want to migrate and I want to be as far from HACKS as I can. So I want to know the recommen

[NTG-context] Search path.

2012-09-09 Thread Andre Caldas
Hello, list! I am really new to ConTeXt. I am writing a book http://topologia-geral.ourproject.org/ It is written in LaTeX and I intend to migrate it to ConTeXt. I want to migrate and I want to be as far from HACKS as I can. So I want to know the recommended way to do things. One of my first diff

Re: [NTG-context] search path for require(...)

2011-03-24 Thread Ulrike Fischer
Am Thu, 24 Mar 2011 11:50:47 +0100 schrieb Philipp Gesang: >>> (You’re going to have to declare the table “chessfss” globally >>> for this to work.) >> >> The chessfss.lua has a "return Table" at the end which declares the >> table chessfss. >> >> To quote from http://lua-users.org/wiki/LuaMod

Re: [NTG-context] search path for require(...)

2011-03-24 Thread Philipp Gesang
On 2011-03-24 <11:34:21>, Ulrike Fischer wrote: > Am Thu, 24 Mar 2011 11:14:00 +0100 schrieb Philipp Gesang: > > >> I'm trying to store the virtual lua chess fonts I'm currently > >> creating so that latex and context can use them. > >> > >> 1. At first I stored the vf-chess-XX.lua in tex/luatex

Re: [NTG-context] search path for require(...)

2011-03-24 Thread Ulrike Fischer
Am Thu, 24 Mar 2011 11:14:00 +0100 schrieb Philipp Gesang: >> I'm trying to store the virtual lua chess fonts I'm currently >> creating so that latex and context can use them. >> >> 1. At first I stored the vf-chess-XX.lua in tex/luatex. This works >> for latex but not for context. tex/generic w

Re: [NTG-context] search path for require(...)

2011-03-24 Thread Philipp Gesang
On 2011-03-24 <10:50:58>, Ulrike Fischer wrote: > I'm trying to store the virtual lua chess fonts I'm currently > creating so that latex and context can use them. > > 1. At first I stored the vf-chess-XX.lua in tex/luatex. This works > for latex but not for context. tex/generic works for both.

[NTG-context] search path for require(...)

2011-03-24 Thread Ulrike Fischer
I'm trying to store the virtual lua chess fonts I'm currently creating so that latex and context can use them. 1. At first I stored the vf-chess-XX.lua in tex/luatex. This works for latex but not for context. tex/generic works for both. 2. My fonts loads a lua-file which should be shared by all