What is the right way to store XML or DTD files in a texmf tree and to configure my system so that kpsewhich will be able to find them?
Running kpsewhich -help-formats shows nothing about xml files, and the "other text files" option shows a path involving $TEXMF/kpsewhich// which is not really where I would like to have my files, I would rather put them in $TEXMF/tralics/xml or some place like that.
Setting TEXINPUTS to add the whole texmf tree works, but feels wrong.
I guess the proper way would be to teach kpathsea about a new file type but I found nowhere in the documentation how to do that. Is it possible?
find /usr/local/texlive/2020/texmf-dist/tex -name \*.xml | wc -lsays that there are already 270 xml files in the standard texlive TEXINPUTS tree so adding a few more seems quite reasonable. – David Carlisle Jan 06 '21 at 11:07kpsewhichfinds those... – Vincent Beffara Jan 06 '21 at 11:19kpsewhichfinds .cls files intexmf-distand in an auxtree, and finds .xml files intexmf-distbut not in an auxtree – Vincent Beffara Jan 06 '21 at 11:40kpsewhich testxml.xmlgave..../UFlocaltexmf/tex/xml/testxml.xml. But I don't think that a folder outside the tex folder can work without changes in the search pathes. – Ulrike Fischer Jan 06 '21 at 13:01/tex/then. Not TDS-compliant but so be it, as that will be for a local install. Thanks for your help! – Vincent Beffara Jan 06 '21 at 14:37