unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Reiner Steib <4.uce.03.r.s@nurfuerspam.de>
Cc: help-texinfo@gnu.org
Subject: extended @uref command? (was: Emacs-diffs Digest, Vol 6, Issue 5)
Date: Sat, 03 May 2003 19:57:24 +0200	[thread overview]
Message-ID: <v9ade3kj5n.fsf@marauder.physik.uni-ulm.de> (raw)
In-Reply-To: 8011-Sat03May2003111515+0300-eliz@elta.co.il

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\,\text\}@c
@end ifhtml
@ifnothtml
\text\@footnote{@uref{\url\} (\text\)}@c
@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: help-texinfo@gnu.org

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

  parent reply	other threads:[~2003-05-03 17:57 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <E19BiZh-00012A-00@monty-python.gnu.org>
2003-05-03  8:15 ` Emacs-diffs Digest, Vol 6, Issue 5 Eli Zaretskii
2003-05-03 12:26   ` Glenn Morris
2003-05-03 17:57   ` Reiner Steib [this message]
2003-05-03 18:55     ` extended @uref command? (was: Emacs-diffs Digest, Vol 6, Issue 5) Eli Zaretskii
2003-05-04  0:23 Karl Berry

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=v9ade3kj5n.fsf@marauder.physik.uni-ulm.de \
    --to=4.uce.03.r.s@nurfuerspam.de \
    --cc=help-texinfo@gnu.org \
    --cc=reiner.steib@gmx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).