From e0c6872cf40896c7be36b11dcc744620f10adf1d Mon Sep 17 00:00:00 2001
From: Norbert Preining <norbert@preining.info>
Date: Mon, 2 Sep 2019 13:46:59 +0900
Subject: Initial commit

---
 info/epslatex/french/warn.sty | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 info/epslatex/french/warn.sty

(limited to 'info/epslatex/french/warn.sty')

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.}}
+%----------------------------------------------------------------------
-- 
cgit v1.2.3

