Re: [NTG-context] Nested structure of files loaded by input

2021-03-30 Thread Wolfgang Schuster
schrieb am Di., 30. März 2021, 09:45: > Hi, > > I have file main.tex that loads various subfiles that are placed in a > subdir : > > > > \starttext > > \input subdir/chapter1 > > \stoptext > > > > Chapter1.tex itself loads some other files that are also placed in the > subdir directory : > >

Re: [NTG-context] Nested structure of files loaded by input

2021-03-30 Thread Henning Hraban Ramm
> Am 30.03.2021 um 10:23 schrieb > : >> BTW I’d strongly suggest to use the project structure (environment, >> products, components) in such cases, but that doesn’t change this. > > I use environments, but in that particular case there's no need for products > and components. (OTOH, with

Re: [NTG-context] Nested structure of files loaded by input

2021-03-30 Thread denis.maier
> -Ursprüngliche Nachricht- > Von: ntg-context Im Auftrag von Henning > Hraban Ramm > Gesendet: Dienstag, 30. März 2021 10:14 > An: mailing list for ConTeXt users > Betreff: Re: [NTG-context] Nested structure of files loaded by input > > > > > Am 30.

Re: [NTG-context] Nested structure of files loaded by input

2021-03-30 Thread Henning Hraban Ramm
> Am 30.03.2021 um 09:43 schrieb denis.ma...@ub.unibe.ch: > What am I missing ? Does \input resolve filenames according to the CWD, not > to the location itself is located ? Nothing. You need to decide from where you want to run your files. BTW I’d strongly suggest to use the project

Re: [NTG-context] Nested structure of files loaded by input

2021-03-30 Thread denis.maier
Ok, I can make it work with \doiffileexistselse But is there a more elegant way ? Von: ntg-context Im Auftrag von denis.ma...@ub.unibe.ch Gesendet: Dienstag, 30. März 2021 09:44 An: ntg-context@ntg.nl Betreff: [NTG-context] Nested structure of files loaded by input Hi, I have file main.tex

[NTG-context] Nested structure of files loaded by input

2021-03-30 Thread denis.maier
Hi, I have file main.tex that loads various subfiles that are placed in a subdir : \starttext \input subdir/chapter1 \stoptext Chapter1.tex itself loads some other files that are also placed in the subdir directory : \starttext \input subfile1 \stoptext Subfile1 : \starttext Asdf \stopttext