[Top][All Lists]

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

Re: @ref without page numbers

From: Christopher Dimech
Subject: Re: @ref without page numbers
Date: Fri, 23 Oct 2020 21:18:12 +0200

I could not follow it very well.

My problem occurs in pdf output.  How is the page number important, is there 
of page number in other formats, not just only on pdf?  How are links and page 
related?  Can one do anything for the pdf case only?

> Sent: Friday, October 23, 2020 at 8:42 PM
> From: "Gavin Smith" <>
> To: "Christopher Dimech" <>
> Cc: "help-texinfo gnu" <>
> Subject: Re: @ref without page numbers
> On Fri, Oct 23, 2020 at 03:42:11PM +0200, Christopher Dimech wrote:
> >
> > Although it is useful to have @ref followed by page numbers, page
> > numbers can make the text very difficult to follow when there there
> > are two or more references cluttered together, or when the same
> > reference is used (particularly when this happens on the same page).
> >
> > Are there ways to stop @ref from showing page numbers?
> >
> > Although the most important command is @ref, the same thing applies
> > to other reference commands (@xref, @pref).
> >
> > Regards
> > Christopher
> I wrote about this in the manual recently:
> +@item Yes, but how do I get a plain link, with no extra markup?
> +
> +You can't.  Info is a plain text format that is displayed mostly as-is
> +in the viewers, and without the @samp{*note} text there would be nothing
> +to mark text as a link.  Additionally, in printed output there is no
> +such thing as a plain link, as the page number of the target would have
> +to be printed somewhere.
> +
> +If you really want a plain link in HTML output without affecting other
> +output formats, you could create a macro with conditional definitions for
> +each output format.

reply via email to

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