gbranden pushed a commit to branch master
in repository groff.

commit e5d21e28fea8bbfb3372eb924eb40f8226ef68ee
Author: G. Branden Robinson <[email protected]>
AuthorDate: Thu Jul 2 01:20:06 2026 -0500

    doc/txi-en.tex: Delete.
    
    * doc/txi-en.tex: Delete.
    * doc/doc.am (EXTRA_DIST): Stop shipping that file in our distribution
      archive.
    
    The macros defined in "doc/texinfo.tex" already handle English
    localization, making this vendored English template file redundant.
    However, retaining it creates problems when overriding the `TEXINPUTS`
    macro, which a forthcoming change requires.  Specifically, the override
    seems to have altered the search path, causing this 13-year-old file to
    be discovered prior to TeX Live's own much more up-to-date version, and
    ultimately causing the Texinfo `@entry` command to fail.
---
 ChangeLog      | 15 ++++++++++++
 doc/doc.am     |  3 ---
 doc/txi-en.tex | 74 ----------------------------------------------------------
 3 files changed, 15 insertions(+), 77 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index acd3a8b8a..86345ee28 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,18 @@
+2026-07-02  G. Branden Robinson <[email protected]>
+
+       * doc/txi-en.tex: Delete.
+       * doc/doc.am (EXTRA_DIST): Stop shipping that file in our
+       distribution archive.
+
+       The macros defined in "doc/texinfo.tex" already handle English
+       localization, making this vendored English template file
+       redundant.  However, retaining it creates problems when
+       overriding the `TEXINPUTS` macro, which a forthcoming change
+       requires.  Specifically, the override seems to have altered the
+       search path, causing this 13-year-old file to be discovered
+       prior to TeX Live's own much more up-to-date version, and
+       ultimately causing the Texinfo `@entry` command to fail.
+
 2026-07-01  G. Branden Robinson <[email protected]>
 
        [libgroff]: Remove `string::remove_spaces()`.  It no longer has
diff --git a/doc/doc.am b/doc/doc.am
index fe6b013c6..c38bc911e 100644
--- a/doc/doc.am
+++ b/doc/doc.am
@@ -193,9 +193,6 @@ endif
 # use for locating files within the source or build trees.
 imagedir = img
 
-EXTRA_DIST += \
-  doc/txi-en.tex
-
 # Introduce variables to house the groff man pages.  We break the list
 # of page sources into multiple chunks because we have to load Swedish
 # localization before formatting groff_mmse.7 and then reload English
diff --git a/doc/txi-en.tex b/doc/txi-en.tex
deleted file mode 100644
index 640a355a4..000000000
--- a/doc/txi-en.tex
+++ /dev/null
@@ -1,74 +0,0 @@
-% $Id: txi-en.tex 5191 2013-02-23 00:11:18Z karl $
-% txi.en.tex -- English non-translations for texinfo.tex.  This is read
-% when a source document says @documentlanguage en (which might happen
-% after another @documentlanguage).  The actual values are the same as
-% the defaults.
-% 
-% Copyright 1999, 2007, 2008 Free Software Foundation.
-%
-% This program is free software; you can redistribute it and/or modify
-% it under the terms of the GNU General Public License as published by
-% the Free Software Foundation; either version 3 of the License, or
-% (at your option) any later version.
-%
-% This program is distributed in the hope that it will be useful,
-% but WITHOUT ANY WARRANTY; without even the implied warranty of
-% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-% GNU General Public License for more details.
-%
-% You should have received a copy of the GNU General Public License
-% along with this program.  If not, see <http://www.gnu.org/licenses/>.
-
-\txisetlanguage{USenglish}{2}{3}
-
-\plainnonfrenchspacing
-
-\gdef\putwordAppendix{Appendix}
-\gdef\putwordChapter{Chapter}
-\gdef\putworderror{error}
-\gdef\putwordfile{file}
-\gdef\putwordin{in}
-\gdef\putwordIndexIsEmpty{(Index is empty)}
-\gdef\putwordIndexNonexistent{(Index is nonexistent)}
-\gdef\putwordInfo{Info}
-\gdef\putwordInstanceVariableof{Instance Variable of}
-\gdef\putwordMethodon{Method on}
-\gdef\putwordNoTitle{No Title}
-\gdef\putwordof{of}
-\gdef\putwordon{on}
-\gdef\putwordpage{page}
-\gdef\putwordsection{section}
-\gdef\putwordSection{Section}
-\gdef\putwordsee{see}
-\gdef\putwordSee{See}
-\gdef\putwordShortTOC{Short Contents}
-\gdef\putwordTOC{Table of Contents}
-%
-\gdef\putwordMJan{January}
-\gdef\putwordMFeb{February}
-\gdef\putwordMMar{March}
-\gdef\putwordMApr{April}
-\gdef\putwordMMay{May}
-\gdef\putwordMJun{June}
-\gdef\putwordMJul{July}
-\gdef\putwordMAug{August}
-\gdef\putwordMSep{September}
-\gdef\putwordMOct{October}
-\gdef\putwordMNov{November}
-\gdef\putwordMDec{December}
-%
-\gdef\putwordDefmac{Macro}
-\gdef\putwordDefspec{Special Form}
-\gdef\putwordDefvar{Variable}
-\gdef\putwordDefopt{User Option}
-\gdef\putwordDeffunc{Function}
-
-% Produces Day Month Year style of output.
-\def\today{%
-  \number\day\space
-  \ifcase\month
-  \or\putwordMJan\or\putwordMFeb\or\putwordMMar\or\putwordMApr
-  \or\putwordMMay\or\putwordMJun\or\putwordMJul\or\putwordMAug
-  \or\putwordMSep\or\putwordMOct\or\putwordMNov\or\putwordMDec
-  \fi
-  \space\number\year}

_______________________________________________
groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit

Reply via email to