texinfo-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[7152] \typeout for logs


From: gavinsmith0123
Subject: [7152] \typeout for logs
Date: Sat, 7 May 2016 19:05:55 +0000 (UTC)

Revision: 7152
          http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=7152
Author:   gavin
Date:     2016-05-07 19:05:55 +0000 (Sat, 07 May 2016)
Log Message:
-----------
\typeout for logs

Modified Paths:
--------------
    trunk/ChangeLog
    trunk/doc/texinfo.tex

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog     2016-05-07 17:57:56 UTC (rev 7151)
+++ trunk/ChangeLog     2016-05-07 19:05:55 UTC (rev 7152)
@@ -1,3 +1,11 @@
+2016-05-07  John Collins  <address@hidden>  (tiny change)
+
+       * doc/texinfo.tex (\typeout): New macro defined like in LaTeX for
+       ensuring message are identical in format as those output by
+       latex/pdflatex.
+       (\requireopenindexfile): \typeout trace Writing index file.
+       (\printindex) \typeout trace No file.
+
 2016-05-07  Gavin Smith  <address@hidden>
 
        * doc/texinfo.tex (\mylbrace, \myrbrace): Avoid use of \ecfont, 

Modified: trunk/doc/texinfo.tex
===================================================================
--- trunk/doc/texinfo.tex       2016-05-07 17:57:56 UTC (rev 7151)
+++ trunk/doc/texinfo.tex       2016-05-07 19:05:55 UTC (rev 7152)
@@ -3,7 +3,7 @@
 % Load plain if necessary, i.e., if running under initex.
 \expandafter\ifx\csname fmtname\endcsname\relax\input plain\fi
 %
-\def\texinfoversion{2016-05-07.19}
+\def\texinfoversion{2016-05-07.20}
 %
 % Copyright 1985, 1986, 1988, 1990, 1991, 1992, 1993, 1994, 1995,
 % 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
@@ -67,6 +67,10 @@
 \everyjob{\message{[Texinfo version \texinfoversion]}%
   \catcode`+=\active \catcode`\_=\active}
 
+% LaTeX's \typeout.  This ensures that the messages it is used for
+% are identical in format to the corresponding ones from latex/pdflatex.
+\def\typeout{\immediate\write17}%
+
 \chardef\other=12
 
 % We never want plain's \outer definition of \+ in Texinfo.
@@ -5155,9 +5159,10 @@
   \ifx\suffix\indexisfl\def\suffix{f1}\fi
   % Open the file
   \immediate\openout\csname#1indfile\endcsname \jobname.\suffix
-  % Using \immediate here prevents an object entering into the current box,
-  % which could confound checks such as those in \safewhatsit for preceding
-  % skips.
+  % Using \immediate above here prevents an object entering into the current 
+  % box, which could confound checks such as those in \safewhatsit for
+  % preceding skips.
+  \typeout{Writing index file \jobname.\suffix}%
 \fi}
 \def\indexisfl{fl}
 
@@ -5365,6 +5370,7 @@
     % index.  The easiest way to prevent this problem is to make sure
     % there is some text.
     \putwordIndexNonexistent
+    \typeout{No file \jobname.\indexname s.}%
   \else
     \catcode`\\ = 0
     %




reply via email to

[Prev in Thread] Current Thread [Next in Thread]