summaryrefslogtreecommitdiff
path: root/info/epslatex/french/warn.sty
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /info/epslatex/french/warn.sty
Initial commit
Diffstat (limited to 'info/epslatex/french/warn.sty')
-rw-r--r--info/epslatex/french/warn.sty19
1 files changed, 19 insertions, 0 deletions
diff --git a/info/epslatex/french/warn.sty b/info/epslatex/french/warn.sty
new file mode 100644
index 0000000000..c9f78d2871
--- /dev/null
+++ b/info/epslatex/french/warn.sty
@@ -0,0 +1,19 @@
+%Here's a little hack, that allow you to get the linenumbers of LaTeX's
+%warning messages.
+
+%The output is like:
+%
+% LaTeX Warning [l.86]: Citation `diggle' on page 91 undefined.
+
+%where [l.86] refers to line 86 in the current file.
+%
+%You should put the following in a style file:
+
+%----------------------------------------------------------------------
+% warn.sty
+%
+% \string: for french context
+\def\@warning#1{\typeout{LaTeX Warning [l.\the\inputlineno]\string: #1.}}
+% and the new name:
+\def\@latex@warning#1{\typeout{LaTeX Warning [l.\the\inputlineno]\string: #1.}}
+%----------------------------------------------------------------------