From 36f406d8d1fc994af516d837e6a87c68839cdb2d Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Wed, 30 Sep 2020 03:03:53 +0000 Subject: CTAN sync 202009300303 --- macros/latex/contrib/currfile/README | 6 +++--- macros/latex/contrib/currfile/currfile.dtx | 23 ++++++++++++++++++----- macros/latex/contrib/currfile/currfile.pdf | Bin 170278 -> 172948 bytes 3 files changed, 21 insertions(+), 8 deletions(-) (limited to 'macros/latex/contrib/currfile') diff --git a/macros/latex/contrib/currfile/README b/macros/latex/contrib/currfile/README index 8b8e724f89..d8c9f7be4c 100644 --- a/macros/latex/contrib/currfile/README +++ b/macros/latex/contrib/currfile/README @@ -1,8 +1,8 @@ LaTeX package 'currfile' ~~~~~~~~~~~~~~~~~~~~~~~~ -Copyright (c) 2010-2011 by Martin Scharrer -WWW: http://latex.scharrer-online.de/ -Code repository: https://bitbucket.org/martin_scharrer/currfile +Copyright (c) 2010-2020 by Martin Scharrer +WWW: https://sourceforge.net/projects/currfile/ +Code repository: https://sourceforge.net/p/currfile/code/ Provides macros holding the file name information (dir, base name, extension, full name and full path) for files read by LaTeX's \input and \include macros. diff --git a/macros/latex/contrib/currfile/currfile.dtx b/macros/latex/contrib/currfile/currfile.dtx index de45aa8853..5f677130a0 100644 --- a/macros/latex/contrib/currfile/currfile.dtx +++ b/macros/latex/contrib/currfile/currfile.dtx @@ -1,8 +1,8 @@ % \iffalse meta-comment %<=*COPYRIGHT> %% -%% Copyright (c) 2010-2011 by Martin Scharrer -%% --------------------------------------------------------------- +%% Copyright (c) 2010-2020 by Martin Scharrer +%% ---------------------------------------------------------------------- %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3c @@ -29,10 +29,10 @@ \NeedsTeXFormat{LaTeX2e}[1999/12/01] \ProvidesFile{currfile.dtx}[% %<=*DATE> - 2015/04/23 + 2020/09/29 %<=/DATE> %<=*VERSION> - v0.7c + v0.7d %<=/VERSION> DTX file for currfile package] @@ -90,6 +90,8 @@ % \changes{v0.7a}{2012/10/28}{Fixed issue with \pkg{enumitem} package which redefines \cs{value}.} % \changes{v0.7b}{2013/02/01}{Support for \cs{\subinput*} etc.\ from the \pkg{import} package which requires a different path search order.} % \changes{v0.7c}{2015/04/23}{Removed stack underflow warning if loaded by other package. Set default file name in this case to main file name.} +% \changes{v0.7d}{2020/09/29}{Updated documentation for 2020/10/01 \LaTeX\ release.} +% % % \GetFileInfo{currfile.dtx} % @@ -102,7 +104,7 @@ % % \author{Martin Scharrer} % \email{martin@scharrer-online.de} -% \repository{https://bitbucket.org/martin_scharrer/currfile/} +% \repository{https://sourceforge.net/projects/currfile/} % \maketitle % % \begin{abstract} @@ -113,6 +115,17 @@ % % \tableofcontents % +% \section{Direct filename support in \LaTeX\ 2020/10/01} +% With the \LaTeX\ release 2020/10/01 the core now provides own filehooks and access to the current filename and path. +% This package still uses the authors \pkg{filehook} package to collect the filenames but there the core implementation is now used internally. +% Due to this users could see changes in the output in some special cases. +% +% For new documents users might want to use the new core macros \Macro\CurrentFile and \Macro\CurrentFilePath discribed in +% \href{http://mirrors.ctan.org/macros/latex-dev/base/ltfilehook-doc.pdf}{\texttt{ltfilehook-doc}} +% directly and use this package only if the advanced features -- like parent or absolute file names - are required. +% Note that \Macro\CurrentFile is empty for the main document which filename can be accessed usually over \Macro\jobname. +% +% % \section{Important notice} % This package relies heavily on the package \pkg{filehook} by the same author and installs at-begin and at-end hooks for all files. % The provided macros for the file names \emph{will only work for files loaded \emph{after} the package}. diff --git a/macros/latex/contrib/currfile/currfile.pdf b/macros/latex/contrib/currfile/currfile.pdf index b214a24574..fa175e5248 100644 Binary files a/macros/latex/contrib/currfile/currfile.pdf and b/macros/latex/contrib/currfile/currfile.pdf differ -- cgit v1.2.3