emacs-devel
[Top][All Lists]
Advanced

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

Re: pxref


From: Robert J. Chassell
Subject: Re: pxref
Date: Sun, 23 Oct 2005 13:43:04 +0000 (UTC)

In the default Info, @pxref succeeds, but @xref fails.

This is a bug in Emacs display, not makeinfo.

This morning's  CVS snapshot, Sun, 2005 Oct 23  12:42 UTC
GNU Emacs 22.0.50.1 (i686-pc-linux-gnu, GTK+ Version 2.6.10)
built using only

 (compile
        "time make -C lisp autoloads && cd lisp && \
         time make recompile \
             EMACS=/usr/local/src/emacs/src/emacs && \
         cd /usr/local/src/emacs/ && \
         time make info html"))

and the (presumably temporary and irrelevant) eval-at-startup bug
handled so I do not get the `Symbol's function definition is void:' 
error, and using GNU Texinfo 4.8.

In the default, Info-hide-note-references is non-nil.
Then @xref lacks a proper capitalized `See' using both 
emacs -Q and emacs -Q -D.

But with emacs -Q and evaluating

    (setq Info-hide-note-references nil)

the cross references appear properly.

With the default, which is t, @xref display wrongly:

    Here is a @pxref (see Musings on fossil fuels) in a sentence.

    Here is a standalone @xref within parentheses:

    (see Musings on fossil fuels.)

    Here is another @xref within parentheses, but with following text:

    (see Musings on fossil fuels, with non-cross-reference text.)



With  the following evaluated,  (setq Info-hide-note-references nil)
the GNU Emacs Info is correct:

    Here is a @pxref (*note Musings on fossil fuels::) in a sentence.

    Here is a standalone @xref within parentheses:

    (*Note Musings on fossil fuels::.)

    Here is another @xref within parentheses, but with following text:

    (*Note Musings on fossil fuels::, with non-cross-reference text.)


Here is the output in DVI:

    Here is an @pxref (see Chapter 2 [Musings on fossil fuels], page
    2) in a sentence.

    Here is a standalone @xref within parentheses:

    (See Chapter 2 [Musings on fossil fuels], page 2.)


    Here is another @xref within parentheses, but with following text:

    (See Chapter 2 [Musings on fossil fuels], page 2, with
    non-cross-reference text.)


Here is the Texinfo source for the two output formats:

    Here is an @@pxref (@pxref{Musings on fossil fuels}) in a sentence.

    Here is a standalone xref within parentheses:

    (@xref{Musings on fossil fuels}.)

    Here is another @@xref within parentheses, but with following text:

    (@xref{Musings on fossil fuels}, with non-cross-reference text.)

-- 
    Robert J. Chassell                         
    address@hidden                         GnuPG Key ID: 004B4AC8
    http://www.rattlesnake.com                  http://www.teak.cc




reply via email to

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