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

denis.maier at ub.unibe.ch denis.maier at ub.unibe.ch
Tue Mar 30 10:23:19 CEST 2021


> -----Ursprüngliche Nachricht-----
> Von: ntg-context <ntg-context-bounces at ntg.nl> Im Auftrag von Henning
> Hraban Ramm
> Gesendet: Dienstag, 30. März 2021 10:14
> An: mailing list for ConTeXt users <ntg-context at ntg.nl>
> Betreff: Re: [NTG-context] Nested structure of files loaded by input
> 
> 
> 
> > Am 30.03.2021 um 09:43 schrieb denis.maier at 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.

Ok, thank you.

> 
> 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 components I probably wouldn't have noticed that things go off the rails here as \component doesn't complain about missing files...)

Denis



More information about the ntg-context mailing list