emacs-devel
[Top][All Lists]
Advanced

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

extended @uref command? (was: Emacs-diffs Digest, Vol 6, Issue 5)


From: Reiner Steib
Subject: extended @uref command? (was: Emacs-diffs Digest, Vol 6, Issue 5)
Date: Sat, 03 May 2003 19:57:24 +0200
User-agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux)

On Sat, May 03 2003, Eli Zaretskii wrote:

> I think it's better to use @uref with 2 arguments here, like this:
>
>    @uref{http://www.anc.ed.ac.uk/~stephen/emacs/ell.html, The Emacs
>    Lisp List (ELL)}, maintained by
>
> The results will look better in HTML, for example.

ACK.  But in the printed version (produced with texi2dvi) looks like
this:

| The Emacs Lisp List (ELL)
| (http://www.anc.ed.ac.uk/~stephen/emacs/ell.html)

Especially with long URLs, this isn't very readable and often leeds to
`underfull \hbox'es.

Therefore, I use a macro @rsuref, producing a footnote in non-html
output:

@macro rsuref{url,text}
@ifhtml
@uref{\url\,address@hidden
@end ifhtml
@ifnothtml
address@hidden@uref{\url\} (\text\)address@hidden
@end ifnothtml
@end macro

Would it make sense to add a similar command (say @furef{url,text}) in
texinfo (or extend @uref{})?

Cc: & Mail-Followup-To: address@hidden

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo--- PGP key available via WWW   http://rsteib.home.pages.de/




reply via email to

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