[latexrefman-commits] [SCM] latexrefman updated: r682 - trunk

karl at gnu.org.ua karl at gnu.org.ua
Mon Jul 9 01:05:04 CEST 2018


Author: karl
Date: 2018-07-09 02:05:04 +0300 (Mon, 09 Jul 2018)
New Revision: 682

Modified:
   trunk/ChangeLog
   trunk/Makefile
   trunk/latex2e.texi
Log:
PRE_BODY_CLOSE for doc home page; remove doubled words

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog	2018-07-07 23:01:19 UTC (rev 681)
+++ trunk/ChangeLog	2018-07-08 23:05:04 UTC (rev 682)
@@ -1,3 +1,10 @@
+2018-07-08  Karl Berry  <karl at freefriends.org>
+
+	* Makefile (t2html_home): use PRE_BODY_CLOSE; Texinfo's About
+	button is something else.
+	(check-dw): better removal of intentional doubles in text.
+	* latex2e.texi: remove doubled words.
+
 2018-07-05  Jim Hefferon  <jhefferon at smcvt.edu>
 
 	* Makefile  Try out making split HTML's.

Modified: trunk/Makefile
===================================================================
--- trunk/Makefile	2018-07-07 23:01:19 UTC (rev 681)
+++ trunk/Makefile	2018-07-08 23:05:04 UTC (rev 682)
@@ -34,15 +34,10 @@
 # Go somewhere useful from Top:
 t2html_top = -c TOP_NODE_UP_URL=http://tug.org/texinfohtml/
 #
-# Use an About link:
-t2html_home = -c DO_ABOUT=1 -c PRE_ABOUT="<a\
-href='https://puszcza.gnu.org.ua/software/latexrefman/'><i>Unofficial\
-LaTeX2e reference manual</i></a>"
-#
-## Put a link in the footer:
-#t2html_home = -c PRE_BODY_CLOSE="<div class='referenceinfo'>\
-#<a href='https://puszcza.gnu.org.ua/software/latexrefman/'>\
-#<i>Unofficial LaTeX2e reference manual</i></a></div>"
+# Put a link in the footer:
+t2html_home = -c PRE_BODY_CLOSE="<div class='referenceinfo'>\
+<a href='https://puszcza.gnu.org.ua/software/latexrefman/'>\
+<i>Unofficial LaTeX2e reference manual</i></a></div>"
 
 %.pdf: %.texi
 	$(texi2pdf) $<
@@ -82,17 +77,18 @@
 # To build everything in all languages.
 all: en es fr
 
-# following the GNU sequence of clean targets.
+# Sort of following the GNU sequence of clean targets.
 distclean clean mostlyclean:
-	rm -rf latex2e*.t2*
+	rm -rf latex2e*.t2* latex2e-help-texinfo-tree*
 
 realclean maintainer-clean: distclean
 	rm -f $(addprefix latex2e*., pdf dvi $(mi_suffixes) $(xref_suffixes))
 
 
-# 
 dist for CTAN.  Also update NEWS
+# 
 dist for CTAN.  Update NEWS before uploading!
 # 
-txt_files = ChangeLog Makefile NEWS README aspell.en.pws ltx-help.el 
+txt_files = ChangeLog Makefile NEWS README \
+            aspell.en.pws latex2e.css ltx-help.el
 figure_files = list.eps list.pdf list.png list.txt
 figure_source_files = asy/list.asy
 distname = latex2e-help-texinfo
@@ -134,12 +130,17 @@
 
 # Check for doubled words.
 # http://www.math.utah.edu/~beebe/software/file-tools.html#dw
+# The first sed expression elides a few @-command lines which cause
+# duplicates; the second expr some text in the middle of lines.
 check-dw:
-	grep -v '^@item' latex2e.texi | dw
+	sed -e 's/^@\(item\|anchor\|.index\) .*//' \
+	    -e 's/ da da\|{test test}\|[iI][jJ]//g' \
+	  latex2e.texi | dw
 
 # Convenience targets to svn revert the generated files,
 # and svn diff the source files.
 svr:
 	svn revert $(addprefix latex2e*., $(all_suffixes))
+	svn status
 svd:
 	svn diff $(txt_files) *.texi

Modified: trunk/latex2e.texi
===================================================================
--- trunk/latex2e.texi	2018-07-07 23:01:19 UTC (rev 681)
+++ trunk/latex2e.texi	2018-07-08 23:05:04 UTC (rev 682)
@@ -5244,7 +5244,7 @@
 
 Because the optional label is surrounded by square brackets
 @samp{[...]}, if you have an item whose text starts with @samp{[}, you
-have to to hide the bracket inside curly braces, as in: @code{\item
+have to hide the bracket inside curly braces, as in: @code{\item
 @{[@} is an open square bracket}; otherwise, @LaTeX{} will think it
 marks the start of an optional label.
 
@@ -6643,9 +6643,9 @@
 not insert @code{\tabcolsep} so you must insert any desired space
 yourself, as in @code{@@@{\hspace@{1em@}@}}.
 
-An empty expression @code{@@@{@}} will eliminate the space.  In
-particular, sometimes you want to eliminate the the space before the
-first column or after the last one, as in the example below where the
+An empty expression @code{@@@{@}} will eliminate the space. In
+particular, sometimes you want to eliminate the space before the first
+column or after the last one, as in the example below where the
 tabular lines need to lie on the left margin.
 
 @example
@@ -9155,8 +9155,8 @@
 @end example
 
 Define a command @code{\@var{cmd}} that will change the current font.
-The control sequence must must not already be defined.  It must begin
-with a backslash, @code{\}.
+The control sequence must not already be defined. It must begin with a
+backslash, @code{\}.
 
 @cindex at clause, in font definitions
 @cindex design size, in font definitions
@@ -10331,9 +10331,9 @@
 prior paragraph.  Revert that to the default position with
 @code{\normalmarginpar}.
 
-When you specify the optional argument @var{left} then it is used for a
-note in the left margin, while the mandatory argument @var{right} is
-used for a note in the the right margin.
+When you specify the optional argument @var{left} then it is used for
+a note in the left margin, while the mandatory argument @var{right} is
+used for a note in the right margin.
 
 Normally, a note's first word will not be hyphenated.  You can enable
 hyphenation there by beginning @var{left} or @var{right} with
@@ -12480,7 +12480,7 @@
 @cindex outer paragraph mode
 @anchor{modes inner paragraph mode}
 @anchor{modes outer paragraph mode}
-Paragraph mode has two subcases.  If you use a @code{\parbox} command or
+Paragraph mode has two subcases.  If you use a @code{\parbox} command
 or a @code{minipage} then @LaTeX{} is put into paragraph mode.  But it
 will not put a page break here.  Inside one of these boxes, called a
 @dfn{parbox}, @LaTeX{} is in @dfn{inner paragraph mode}.  Its more usual
@@ -12488,7 +12488,7 @@
 (@pxref{Page breaking}).
 
 @menu
-* \ensuremath:: Ensure that math mode is active
+* \ensuremath:: Ensure that math mode is active.
 @end menu
 
 @node \ensuremath
@@ -12669,7 +12669,7 @@
 
 @table @code
 @item arabic
-arabic numerals: 1, 2, @dots{} 
+Arabic numerals: 1, 2, @dots{} 
 
 @item roman
 lowercase Roman numerals: i, ii, @dots{}
@@ -12828,7 +12828,7 @@
 
 Often the first page of a chapter or section has a different style.  For
 example, this @LaTeX{} book document has the first page of the first
-chapter in in @code{plain} style, as is the default (@pxref{Page
+chapter in @code{plain} style, as is the default (@pxref{Page
 styles}).
 
 @example
@@ -13926,7 +13926,7 @@
 \makebox[@var{width}][@var{position}]@{@var{text}@}
 @end example
 
-Create a box, a container for material.  The @var{text} is is typeset in
+Create a box, a container for material.  The @var{text} is typeset in
 LR mode (@pxref{Modes}) so it is not broken into lines.  The
 @code{\mbox} command is robust, while @code{\makebox} is fragile
 (@pxref{\protect}).
@@ -15131,7 +15131,7 @@
 single backward quote.  Thus,
 @code{\DeclareGraphicsRule@{.eps.gz@}@{eps@}@{.eps.bb@}@{`gunzip -c
 #1@}} specifies that any file with the extension @file{.eps.gz} should
-be treated as an @code{eps} file, with the the BoundingBox information
+be treated as an @code{eps} file, with the BoundingBox information
 stored in the file with extension @file{.eps.bb}, and that the command
 @code{gunzip -c} will run on your platform to decompresses the file.
 
@@ -15608,10 +15608,11 @@
 typesetting this material.
 
 If you use the @file{graphics} package then the rotation is about the
-reference point of the box.  If you use the @file{graphicx} package then
-then these are the options that can go in the @var{key-value list}, but
-note that you can get the same effect without needing this package,
-except for the @code{x} and @code{y} options (@pxref{\includegraphics}).
+reference point of the box. If you use the @file{graphicx} package
+then these are the options that can go in the @var{key-value list},
+but note that you can get the same effect without needing this
+package, except for the @code{x} and @code{y} options
+(@pxref{\includegraphics}).
 
 @table @code
 @item origin
@@ -17352,7 +17353,7 @@
 The @code{\index} command writes the indexing information to the file
 @file{@var{root-name}.idx} file.  Specifically, it writes text of the
 command
- at code{\indexentry@{@var{index-entry-string}@}@{@var{page-num}@}}, where
+ at code{\indexentry@{@var{index-entry-string}@}@{@var{page-num}@}},
 where @var{page-num} is the value of the @code{\thepage} counter.  On
 occasion, when the @code{\printindex} command is confused, you have to
 delete this file to start with a fresh slate.
@@ -17450,7 +17451,7 @@
 @item lethead_flag
 An integer.  It governs what is inserted for a new group or letter.  If
 it is 0 (which is the default) then other than @code{group_skip} nothing
-will be inserted before the group. If it is is positive then at a new
+will be inserted before the group. If it is positive then at a new
 letter the @code{lethead_prefix} and @code{lethead_suffix} will be
 inserted, with that letter in uppercase between them.  If it is negative
 then what will be inserted is the letter in lowercase.  The default
@@ -17557,12 +17558,12 @@
 
 @findex xindy
 @cindex @command{xindy} program
-There are a number of other programs that do the job @command{makeindex}
-does.  One is @command{xindy}, which does internationalization and can
-process indexes for documents marked up using @LaTeX{} and a number of
-other languages.  It is is highly configurable, both in markup terms and
-in terms of the collating order of the text.  See the documentation on
-CTAN.
+There are a number of other programs that do the job
+ at command{makeindex} does. One is @command{xindy}, which does
+internationalization and can process indexes for documents marked up
+using @LaTeX{} and a number of other languages. It is highly
+configurable, both in markup terms and in terms of the collating order
+of the text, as described in its documentation.
 
 
 @node \printindex



More information about the latexrefman-commits mailing list