diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/epslatex-fr/warn.sty')
-rw-r--r-- | Master/texmf-dist/doc/latex/epslatex-fr/warn.sty | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/epslatex-fr/warn.sty b/Master/texmf-dist/doc/latex/epslatex-fr/warn.sty new file mode 100644 index 00000000000..c9f78d28711 --- /dev/null +++ b/Master/texmf-dist/doc/latex/epslatex-fr/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.}} +%---------------------------------------------------------------------- |