[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}

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 j...@devereux.me.uk: 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}

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{de}

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

2012-10-30 Thread John Devereux
Wolfgang Schuster wolfgang.schus...@gmail.com writes: Am 30.10.2012 um 15:31 schrieb John Devereux j...@devereux.me.uk: 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

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 j...@devereux.me.uk: 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?

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

2012-10-30 Thread John Devereux
Marco Patzer home...@lavabit.com 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}

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 j...@devereux.me.uk: Marco Patzer home...@lavabit.com 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

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 hard

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

2012-10-30 Thread John Devereux
Marco Patzer home...@lavabit.com 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