The l3file package in the interface3 document used to define the \file_add_path:nN function; but no longer. Has that function been discarded? If so I wonder how to work around this as I am using \file_add_path in some of my work.

  • 1
    The function is listed as deprecated in l3obsolete.txt and is marked for removal at the end of 2018. The current definition can be found in l3file.dtx. – moewe Oct 19 '18 at 6:01

The file-handling functions were revised in July 2017: the commit that is most relevant is https://github.com/latex3/latex3/commit/bf52c87f72ba11c4309fb001321d708dda828239. The release announcement for the changes is https://listserv.uni-heidelberg.de/cgi-bin/wa?A2=ind1707&L=LATEX-L&F=&S=&P=71: this one perhaps is a bit terse on the nature of the revisions. It is though listed in the list of removed functions. The recommended replacement is \file_get_full_name:nN.

One can get information on deprecated functions and check for other issues by using

\RequirePackage[enable-debug ,check-declarations]{expl3}
\debug_on:n { deprecation }

before loading a package to be checked.

Since the beginning of 2018, we have started a detailed ChangeLog: all deprecations now get listed there.

  • the detailed ChangeLog: answers a question that I have meant to ask for quite a while. Thanks. – Reinhard Neuwirth Oct 19 '18 at 8:23
  • @ReinhardNeuwirth If necessary, I can work back through to extend the log ... – Joseph Wright Oct 19 '18 at 8:46

Your Answer

By clicking "Post Your Answer", you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.