bug-texinfo
[Top][All Lists]
Advanced

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

[bug #33373] makeinfo adds a spurious period for @pxref before closing p


From: Hilmar Preusse
Subject: [bug #33373] makeinfo adds a spurious period for @pxref before closing parenthesis
Date: Sun, 22 May 2011 16:53:38 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.16) Gecko/20110430 Iceweasel/3.5.16 (like Firefox/3.5.16)

URL:
  <http://savannah.gnu.org/bugs/?33373>

                 Summary: makeinfo adds a spurious period for @pxref before
closing parenthesis
                 Project: texinfo - GNU documentation system
            Submitted by: hpreusse
            Submitted on: Sun 22 May 2011 04:53:37 PM GMT
                Category: makeinfo
                 Release: 4.13a
                Priority: 3 - Low
                Severity: 3 - Normal
              Item Group: bug
                 Privacy: Public
             Open/Closed: Open
             Assigned to: None
         Discussion Lock: Any
                  Status: None

    _______________________________________________________

Details:

http://bugs.debian.org/492210

<snip>
The texinfo manual says:

8.7 address@hidden'
============

The parenthetical reference command, address@hidden', is nearly the same as 
address@hidden',
but it is best used at the end of a sentence or before a closing parenthesis. 
The command differs from address@hidden' in two ways:

  1. TeX typesets the reference for the printed manual with a lower case `see'
rather than an upper case `See'.

  2. The Info formatting commands automatically end the reference with a
closing colon or period, if necessary.

However if there's a period after a closing parenthesis, makeinfo adds a
second one before. For instance, gmp.texi from GMP 4.2.2 contains:

Libtool is used to build the library and @samp{-version-info} is set
appropriately, having started from @samp{3:0:0} in GMP 3.0 (@pxref{Versioning,
Library interface versions, Library interface versions, libtool, GNU
Libtool}).

and makeinfo generates:

Libtool is used to build the library and `-version-info' is set appropriately,
having started from `3:0:0' in GMP 3.0 (*note Library interface versions:
(libtool)Versioning.).

makeinfo should be able to handle this case to generate instead:

Libtool is used to build the library and `-version-info' is set
appropriately, having started from `3:0:0' in GMP 3.0 (*note Library interface
versions: (libtool)Versioning).

Note that this is correct typography according to some manuals, such as the
Chicago Manual Of Style, 14th Ed.
<snap>

I see this bug in the C implementation of makeinfo and texi2any.pl by Patrice
Dumas, but not in the texi2any from texi2html.

http://ftp.gnu.org/gnu/gmp/gmp-4.2.2.tar.bz2




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?33373>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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