texinfo-commits
[Top][All Lists]
Advanced

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

[6538] add test file for texinfo.tex


From: Gavin D. Smith
Subject: [6538] add test file for texinfo.tex
Date: Mon, 17 Aug 2015 09:19:16 +0000

Revision: 6538
          http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=6538
Author:   gavin
Date:     2015-08-17 09:19:15 +0000 (Mon, 17 Aug 2015)
Log Message:
-----------
add test file for texinfo.tex

Modified Paths:
--------------
    trunk/ChangeLog
    trunk/README-hacking

Added Paths:
-----------
    trunk/doc/texinfo-tex-test.texi

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog     2015-08-17 08:58:01 UTC (rev 6537)
+++ trunk/ChangeLog     2015-08-17 09:19:15 UTC (rev 6538)
@@ -1,5 +1,10 @@
 2015-08-17  Gavin Smith  <address@hidden>
 
+       * doc/texinfo-tex-test.texi: Add test file.
+       * README-hacking: Mention to check texinfo-tex-test.texi.
+
+2015-08-17  Gavin Smith  <address@hidden>
+
        * doc/texinfo.tex (\passargtomacro): New macro, to convert 
        doubled backslashes into single backslashes in macro argument.
        (\braceorline) <braced argument>: Call \passargtomacro.

Modified: trunk/README-hacking
===================================================================
--- trunk/README-hacking        2015-08-17 08:58:01 UTC (rev 6537)
+++ trunk/README-hacking        2015-08-17 09:19:15 UTC (rev 6538)
@@ -111,18 +111,19 @@
 
 Steps for making a release (pretest or official):
 
+- When close to official release:
+special pleading with bug-texinfo / beebe / platform-testers to try.
+check OpenCSW build reports at
+  https://buildfarm.opencsw.org/buildbot/waterfall?category=texinfo
+try groff.texinfo from groff source repo.
+process doc/texinfo-tex-test.texi with TeX and check that output is good.
+
 - First checks:
 Ensure texinfo.tex, texi2dvi, and htmlxref.cnf are updated on ftp.gnu.org.
 Ensure TXI_XLATE in doc/Makefile.am matches actual file list.
 Check that TEXINFO_DTD_VERSION has been updated to the next version in
   configure.ac if the DTD has been modified since the last release.
 
-- When close to official release:
-special pleading with bug-texinfo / beebe / platform-testers to try.
-check OpenCSW build reports at
-  https://buildfarm.opencsw.org/buildbot/waterfall?category=texinfo
-try groff.texinfo from groff source repo.
-
 - Official releases only:
 version number in texi2dvi, texi2pdf, txirefcard.tex.
 version and date in NEWS.

Added: trunk/doc/texinfo-tex-test.texi
===================================================================
--- trunk/doc/texinfo-tex-test.texi                             (rev 0)
+++ trunk/doc/texinfo-tex-test.texi     2015-08-17 09:19:15 UTC (rev 6538)
@@ -0,0 +1,92 @@
+% texinfo.tex -- test file for texinfo.tex
+%
+% Copyright 2015 Free Software Foundation, Inc.
+%
+% This file 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 file 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/>.
+%
+\input texinfo
address@hidden
address@hidden Test Document for @file{texinfo.tex}
+
address@hidden
+
address@hidden Backslashes in macro arguments
+
address@hidden Mac{x}
+A\x\A
address@hidden macro
+
address@hidden Mactwo{x, y}
+B\x\B C\y\C
address@hidden macro
+
address@hidden RMac{x}
+Z\x\Z
address@hidden rmacro
+
+The number refers to the number of backslashes that should appear
+
+0 @Mac{}
+
+0 @Mac{a}
+
+0 @Mac{a}X
+
+1 @Mac{a\\}
+
+1 @Mac{a\}X
+
+1 @Mac{a\\}X
+
+2 @Mac{a\\\}X
+
+1 @Mac{\}X
+
+1 @Mac{\a}X
+
+1 @Mac{\\a}X
+
+1 @Mac{\\}X
+
+2 @Mac{\\\}X
+
+2 and 1 @Mac{\\\aaa\}X
+
+1 and 1 @Mac{\a\\b}X
+
+one backslash outside \
+
+two backslashes outside \\
+
+three backslashes outside \\\
+
+0 @Mac a 
+
+1 @Mac a\
+
+2 @Mac a\\ 
+
+3 @Mac a\\\
+
+1 and 2 @Mac \a\\b
+
+one backslash outside \
+
+two backslashes outside \\
+
+three backslashes outside \\\
+
+test @,c for c cedilla
+
address@hidden




reply via email to

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