1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
|
README for warning package, 2023-03-18, v0.10
TABLE OF CONTENTS
=================
1 Introduction
2 Download
3 Installation
1 INTRODUCTION
==============
Note 1: This package is obsolete. For LaTeX-format 2020-10-01 and newer:
Instead of \addglobalwarning{ something } use
\AddToHook{enddocument/info}{ something } and do not load the warning package.
Note 2: The package author, Harald Harders, is inactive.
Sometimes a class or package has to make a global warning such as
"Rerun for this or that reason" or "This is draft, change this
before the final run". If you are generating them with
\AtEndDocument{\PackageWarningNoLine{<packagename>}{<warning>}}
the warning appears very early before the filelist. Then the warning can easily be
overseen. This package provides a command that surely puts the warning at the end
near to the global warnings generated by LaTeX itself. You can add a warning to a list
of user defined warnings using the command \addglobalwarning as it can be seen in
the example below.
This material is published under the LPPL 1.3c: This work may be
distributed and/or modified under the conditions of the LaTeX Project
Public License, either version 1.3c of this license or (at your option)
any later version. This version of this license is in
https://www.latex-project.org/lppl/lppl-1-3c.txt
and the latest version of this license is in
https://www.latex-project.org/lppl.txt
and version 1.3c or later is part of all distributions of
LaTeX version 2005-12-01 or later.
2 DOWNLOAD
==========
"warning" is available on CTAN:
https://ctan.org/pkg/warning
Also a ZIP file is provided that contains the files:
the manual (warning-doc.tex and warning-doc.pdf,
including examples),
the style file (warning.sty),
and this README:
https://mirrors.ctan.org/macros/latex/contrib/warning.zip
3 INSTALLATION
==============
a) Download the warning files from CTAN.
If necessary, unpack them.
b) Install the file "warning.sty" in your TDS tree:
cp warning.sty TDS:tex/latex/warning/
Replace "TDS:" by the prefix of your TDS tree
(texmf directory).
c) Create the documentation, if necessary, e.g.
pdflatex warning.tex
pdflatex warning.tex
d) Update the databases if necessary, e.g. for TeX Live
texhash or mktexlsr.
e) Create the warning-example.pdf, if necessary,
by copying the example code from the documentation
into (a) separate .tex file(s) and compiling that (those).
f) Copy the documentation files to
"TDS:doc/latex/warning/":
README, warning.pdf, warning.tex,
and the example(s), if you created any.
|