texlive[56478] Master/texmf-dist: currfile (29sep20)
commits+karl at tug.org
commits+karl at tug.org
Tue Sep 29 23:25:25 CEST 2020
Revision: 56478
http://tug.org/svn/texlive?view=revision&revision=56478
Author: karl
Date: 2020-09-29 23:25:25 +0200 (Tue, 29 Sep 2020)
Log Message:
-----------
currfile (29sep20)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/latex/currfile/README
trunk/Master/texmf-dist/doc/latex/currfile/currfile.pdf
trunk/Master/texmf-dist/source/latex/currfile/currfile.dtx
trunk/Master/texmf-dist/tex/latex/currfile/currfile-abspath.sty
trunk/Master/texmf-dist/tex/latex/currfile/currfile.sty
Modified: trunk/Master/texmf-dist/doc/latex/currfile/README
===================================================================
--- trunk/Master/texmf-dist/doc/latex/currfile/README 2020-09-29 21:25:10 UTC (rev 56477)
+++ trunk/Master/texmf-dist/doc/latex/currfile/README 2020-09-29 21:25:25 UTC (rev 56478)
@@ -1,8 +1,8 @@
LaTeX package 'currfile'
~~~~~~~~~~~~~~~~~~~~~~~~
-Copyright (c) 2010-2011 by Martin Scharrer <martin at 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 at 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.
Modified: trunk/Master/texmf-dist/doc/latex/currfile/currfile.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/source/latex/currfile/currfile.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/currfile/currfile.dtx 2020-09-29 21:25:10 UTC (rev 56477)
+++ trunk/Master/texmf-dist/source/latex/currfile/currfile.dtx 2020-09-29 21:25:25 UTC (rev 56478)
@@ -1,8 +1,8 @@
% \iffalse meta-comment
%<=*COPYRIGHT>
%%
-%% Copyright (c) 2010-2011 by Martin Scharrer <martin at scharrer.me>
-%% ---------------------------------------------------------------
+%% Copyright (c) 2010-2020 by Martin Scharrer <martin at 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,7 +90,9 @@
% \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}
%
% \DoNotIndex{\newcommand,\newenvironment,\fi,\relax,\def,\gdef,\xdef}
@@ -102,7 +104,7 @@
%
% \author{Martin Scharrer}
% \email{martin at 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}.
Modified: trunk/Master/texmf-dist/tex/latex/currfile/currfile-abspath.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/currfile/currfile-abspath.sty 2020-09-29 21:25:10 UTC (rev 56477)
+++ trunk/Master/texmf-dist/tex/latex/currfile/currfile-abspath.sty 2020-09-29 21:25:25 UTC (rev 56478)
@@ -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{}
Modified: trunk/Master/texmf-dist/tex/latex/currfile/currfile.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/currfile/currfile.sty 2020-09-29 21:25:10 UTC (rev 56477)
+++ trunk/Master/texmf-dist/tex/latex/currfile/currfile.sty 2020-09-29 21:25:25 UTC (rev 56478)
@@ -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@}
More information about the tex-live-commits
mailing list.