ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* [NTG-context] \getdocumentfilename or document.files
@ 2024-02-27 11:43 Pablo Rodriguez via ntg-context
  0 siblings, 0 replies; only message in thread
From: Pablo Rodriguez via ntg-context @ 2024-02-27 11:43 UTC (permalink / raw)
  To: ConTeXt users; +Cc: Pablo Rodriguez

Dear list,

I have the following sample (saved as "a.tex"):

  \starttext
  \getdocumentfilename{1}
  \cldcontext{document.files[1]}
  \getdocumentfilename{2}
  \cldcontext{document.files[2]}
  \getdocumentfilename{3}
  \cldcontext{document.files[3]}
  \stoptext

I compile it with:

  context --purgeall a b c

"b.tex" is a different file and "c.tex" is a symlink to "a.tex".

I only get the first filename for "a.tex" and the last filename for "c.tex".

Which is the right way to get the second and third filenames when in
"a.pdf" (or the first two ones in "c.pdf")?

Many thanks for your help,

Pablo
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-02-27 11:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-27 11:43 [NTG-context] \getdocumentfilename or document.files Pablo Rodriguez via ntg-context

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).