![](https://secure.gravatar.com/avatar/5955e8e90611e77ccbfc7721b6112027.jpg?s=120&d=mm&r=g)
27 Feb
2024
27 Feb
'24
4:43 a.m.
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