The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.
latexfileinfo-pkgs
—
[ intro | table | \GetFileInfo
etc. | \listfiles
etc. | rcs/svn | thanks ]
[ reload ]
\ProvidesClass
(for .cls
files)
\ProvidesPackage
(for .sty
files)
\ProvidesFile
(for all other files)
\NeedsTeXFormat
).
Their trailing optional argument can provide the most recent
The document especially describes five packages of my own, including interrelations and dependencies, and thus extends their documentations; see table below for them. An asterisk* near a package name indicates that the package is not mine; so what I tell about it may be wrong or bad … (please let me know via form, or should I add something?) ...
We have the cases of
and for each Related subjects are using
just using LaTeX | using external program | |
single file |
• doc*
(Frank Mittelbach) • zwgetfdate* (Zdeněk Wagner) • readprov |
• latexfileversion*
(Harald Harders) • ltxfileinfo* (Wybo Dekker) • typeoutfileinfo |
file list |
• classlist*
(Heiko Oberdiek) • dateiliste* (Paul Ebermann) • longnamefilelist • nicefilelist • myfilist |
• [ltxinput*
(Jim Green)] • [texlog-extract* (Wybo Dekker)] [ don’t really belong here … ] |
\GetFileInfo
{〈file〉}
; after using this,
you have \filedate
, \fileversion
, \fileinfo
of 〈file〉.
\GetFileInfo
is fragile.
\DateOfFile
{〈file〉}
and \DateOfPackage
{〈file〉}
.
\UseDateOf
{〈file〉}
and \UseVersionOf
{〈file〉}
– robust (expandable).
\GetFileInfo
(with modified definition; used internally)
\ReadFileInfos
{〈files〉}
\ReadPackageInfos
{〈files〉}
\ReadClassInfo
{〈file〉}
\GetFileInfo
.
\ReadFileInfos{〈base〉.cls}
).
\listfiles
— this is used for
myfilist.
latex
run using a copy of
doc’s \GetFileInfo
.
latex
won’t append too many screen lines after
1-line \typeout
latex
run using readprov.
\pdffilemoddate{〈file〉}
primitive.
pdflatex
in DVI mode.
\listfiles
for the document preamble.
\listfiles
issues a list of all files input in the latex
run
near end of .log
file, together with their infos according
to \Provide...
commands.
\documentclass
and what was input by (b) \LoadClass
.
\PrintClassList
, the list of loaded class files appears on screen.
\PrintClassListEntry
and \PrintClassListTitle
.
\listfiles
would list.
.log
) output.
\listfiles
,
indicating number of characters to be reserved for
base filenames, e.g. accounting for “longnamefilelist.sty
”:
\listfiles[16]
— view
example outcome
t1cmtt.fd
(standard LaTeX font definition) and
supp-pdf.mkii
(ConTeXt).
nicefilelist.sty 2012/03/29 v0.2 more file list alignment (UL)
nicefilelist.tex 2012/03/23 -- documenting nicefilelist.sty
(Martin Münch’s idea).
\MFfieldtemplate{f-base} {nicefilelist} %% base name
\MFfieldtemplate{f-ext} {tex} %% name extension
\MFfieldtemplate{f-version}{v0.11a} %% version
\listfiles[12]
.
nicefilelist does not provide an optional argument
for \listfiles
.
[r]
to allow
“release numbers” in the column reserved for versions:
nicefilelist.sty 2012/05/20 v0.4 more file list alignment (UL)
nicefilelist.tex 2012/05/20 -- documenting nicefilelist.sty
nicefilelist.RLS 2012/05/20 r0.4 v0.4 Kabelschacht + [r]
.RLS
files are an idea to provide/access a release summary.
\listfiles
at a certain point
(\EmptyFileList
).
latex
on a “script” file
just loading readprov and myfilist
and using only commands from them.
(No \documentclass
, no {document}
environment.)
.log
output, the list can be written into a separate
plain text file — view
output example
for longnamefilelist.
.sty
and .tex
files for my
CTAN packages and bundles
(instead of the .dtx
/docstrip system, I use nicetext).
\include
files for a book project,
edited at changing computers (by a number of authors).
\Provides...
command — the myfilist
helps you to check this
(e.g., right before a release;
filemod might automate this check,
perhaps together with readprov,
without myfilist).
upsfl
with
alias upsfl='latex srcfiles'
updates the list of source files,
and actually displays the updated list on screen.
shsfl
with
alias shsfl='more SrcFILEs.txt'
displays the source file list without updating,
and waits when the list is too long for your (netbook) screen.
\ProvidesClass
, \ProvidesFile
, and \ProvidesPackage
.
Last revised 2012-05-29 © Uwe Lück
(using blog.sty and monofill.sty)
License: LPPL 1.3c or later, author-maintained.
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.