diff options
author | Karl Berry <karl@freefriends.org> | 2020-09-29 21:25:25 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2020-09-29 21:25:25 +0000 |
commit | 249d9fb0bbf460742a9e82a2b49c827dd3c35702 (patch) | |
tree | 4812e963edff4a6ec38d80dc22ebed6af919a46f /Master | |
parent | 8b3d80e99d743a36b0b3cc84105087914c01bb02 (diff) |
currfile (29sep20)
git-svn-id: svn://tug.org/texlive/trunk@56478 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r-- | Master/texmf-dist/doc/latex/currfile/README | 6 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/currfile/currfile.pdf | bin | 170278 -> 172948 bytes | |||
-rw-r--r-- | Master/texmf-dist/source/latex/currfile/currfile.dtx | 23 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/currfile/currfile-abspath.sty | 4 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/currfile/currfile.sty | 4 |
5 files changed, 25 insertions, 12 deletions
diff --git a/Master/texmf-dist/doc/latex/currfile/README b/Master/texmf-dist/doc/latex/currfile/README index 8b8e724f89d..d8c9f7be4cc 100644 --- a/Master/texmf-dist/doc/latex/currfile/README +++ b/Master/texmf-dist/doc/latex/currfile/README @@ -1,8 +1,8 @@ LaTeX package 'currfile' ~~~~~~~~~~~~~~~~~~~~~~~~ -Copyright (c) 2010-2011 by Martin Scharrer <martin@scharrer-online.de> -WWW: http://latex.scharrer-online.de/ -Code repository: https://bitbucket.org/martin_scharrer/currfile +Copyright (c) 2010-2020 by Martin Scharrer <martin@scharrer-online.de> +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/Master/texmf-dist/doc/latex/currfile/currfile.pdf b/Master/texmf-dist/doc/latex/currfile/currfile.pdf Binary files differindex b214a245743..fa175e52482 100644 --- a/Master/texmf-dist/doc/latex/currfile/currfile.pdf +++ b/Master/texmf-dist/doc/latex/currfile/currfile.pdf diff --git a/Master/texmf-dist/source/latex/currfile/currfile.dtx b/Master/texmf-dist/source/latex/currfile/currfile.dtx index de45aa88537..5f677130a09 100644 --- a/Master/texmf-dist/source/latex/currfile/currfile.dtx +++ b/Master/texmf-dist/source/latex/currfile/currfile.dtx @@ -1,8 +1,8 @@ % \iffalse meta-comment %<=*COPYRIGHT> %% -%% Copyright (c) 2010-2011 by Martin Scharrer <martin@scharrer.me> -%% --------------------------------------------------------------- +%% Copyright (c) 2010-2020 by Martin Scharrer <martin@scharrer-online.de> +%% ---------------------------------------------------------------------- %% %% 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/Master/texmf-dist/tex/latex/currfile/currfile-abspath.sty b/Master/texmf-dist/tex/latex/currfile/currfile-abspath.sty index 3052f1cb03c..414162a4733 100644 --- a/Master/texmf-dist/tex/latex/currfile/currfile-abspath.sty +++ b/Master/texmf-dist/tex/latex/currfile/currfile-abspath.sty @@ -1,7 +1,7 @@ \NeedsTeXFormat{LaTeX2e}[1999/12/01] \ProvidesPackage{currfile-abspath}[% - 2015/04/23 - v0.7c + 2020/09/29 + v0.7d Provides absolute file paths, the parent working directory and the main file name] \newcommand*\thepwd{} \newcommand*\theabspath{} diff --git a/Master/texmf-dist/tex/latex/currfile/currfile.sty b/Master/texmf-dist/tex/latex/currfile/currfile.sty index 37755c4b8a1..2fdfcc3a2e0 100644 --- a/Master/texmf-dist/tex/latex/currfile/currfile.sty +++ b/Master/texmf-dist/tex/latex/currfile/currfile.sty @@ -1,7 +1,7 @@ \NeedsTeXFormat{LaTeX2e}[1999/12/01] \ProvidesPackage{currfile}[% - 2015/04/23 - v0.7c + 2020/09/29 + v0.7d Provides the file path elements of the current input file] \RequirePackage{kvoptions} \SetupKeyvalOptions{family=currfile,prefix=currfile@} |