ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Nested structure of files loaded by input
@ 2021-03-30  7:43 denis.maier
  2021-03-30  8:06 ` denis.maier
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: denis.maier @ 2021-03-30  7:43 UTC (permalink / raw)
  To: ntg-context


[-- Attachment #1.1: Type: text/plain, Size: 658 bytes --]

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

Now, when in the subdir `context chapter1` and `context subfile1` both work. But in the main directory this here fails : context main
-> < input file 'subfile1' is not found, quitting'

What am I missing ? Does \input resolve filenames according to the CWD, not to the location itself is located ?
How can I make that work?

Best,
Denis

[-- Attachment #1.2: Type: text/html, Size: 5614 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 bytes --]

___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-03-30  9:54 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-30  7:43 Nested structure of files loaded by input denis.maier
2021-03-30  8:06 ` denis.maier
2021-03-30  8:13 ` Henning Hraban Ramm
2021-03-30  8:23   ` denis.maier
2021-03-30  8:46     ` Henning Hraban Ramm
2021-03-30  9:54 ` Wolfgang Schuster

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).