[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: pxref
From: |
Richard M. Stallman |
Subject: |
Re: pxref |
Date: |
Sat, 29 Oct 2005 16:34:14 -0400 |
The Texinfo source produces this in the Info output format. (This
output is not indented four spaces; I did that for this message.)
Here is an @xref as a sentence. *Note Musings on fossil fuels::.
Here is an @ref in a sentence, see *Note Musings on fossil fuels::.
Here is an @pxref parenthetically (*Note Musings on fossil fuels::)
in a sentence.
Note the `see' from the source for the @ref and the one space
indentation of the `in' for the @pxref.
That last seems to be a bug in Texinfo. Why does it indent that space?
(Perhaps the source should
not be written with `see'. I have left it because many make this
mistake although the Texinfo manual counsels against it.)
It is correct to write "see" before @ref; that is necessary to get
the right output in DVI.
This change in Emacs should prevent Emacs from displaying a second "see".
Does it work right for you?
*** info.el 26 Oct 2005 12:35:51 -0400 1.454
--- info.el 29 Oct 2005 16:05:29 -0400
***************
*** 3741,3747 ****
;; an end of sentence
(skip-syntax-backward " ("))
(setq other-tag
! (cond ((memq (char-before) '(nil ?\. ?! ??))
"See ")
((save-match-data
(save-excursion
--- 3741,3749 ----
;; an end of sentence
(skip-syntax-backward " ("))
(setq other-tag
! (cond ((save-match-data (looking-back "see "))
! "")
! ((memq (char-before) '(nil ?\. ?! ??))
"See ")
((save-match-data
(save-excursion
- Re: pxref, (continued)
- Re: pxref, Robert J. Chassell, 2005/10/27
- Re: pxref, Karl Berry, 2005/10/27
- Re: pxref, Robert J. Chassell, 2005/10/27
- Re: pxref, Karl Berry, 2005/10/27
- Re: pxref, Robert J. Chassell, 2005/10/27
- Re: pxref, Karl Berry, 2005/10/27
- Re: pxref, Eli Zaretskii, 2005/10/28
- Re: pxref, Luc Teirlinck, 2005/10/28
- Re: pxref, Juri Linkov, 2005/10/29
- Re: pxref, Robert J. Chassell, 2005/10/28
- Re: pxref,
Richard M. Stallman <=
- Re: pxref, Eli Zaretskii, 2005/10/27
- Re: pxref, Richard M. Stallman, 2005/10/27
- Re: pxref, Eli Zaretskii, 2005/10/25
- Re: pxref, Richard M. Stallman, 2005/10/25
- Re: pxref, Richard M. Stallman, 2005/10/23