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 at 6:01
up vote 4 down vote accepted

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}
\ExplSyntaxOn
\debug_on:n { deprecation }
\ExplSyntaxOff

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 at 8:23
  • @ReinhardNeuwirth If necessary, I can work back through to extend the log ... – Joseph Wright Oct 19 at 8:46

Your Answer

 

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

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