Re: remove setref ?
Dumas Patrice <[email protected]> Thu, 23 Jan 2003 12:42:36 +0100
| Newsgroups | gmane.comp.tex.texi2html.devel |
|---|---|
| Message-ID | <[email protected]> |
> I found several references that seem to imply that setref is in the
> texinfo.tex but nobody implements it. For starters:
>
> http://216.239.51.100/search?q=cache:JflfZiHg6FsC:mail.gnu.org/pipermail/bug-texinfo/1998-June/002711.html+setref+texinfo&hl=en&ie=UTF-8
> http://216.239.51.100/search?q=cache:DZTqMNHJCj0C:mail.gnu.org/pipermail/bug-texinfo/2000-February/001197.html+setref+texinfo&hl=en&ie=UTF-8
Thanks, I had those hits in google but couldn't get to the pages.
I made some tests and looked at the texinfo.tex. From my
understanding, this is a macro which shouldn't be used in
texinfo files. I tried to use it, and the following construct
works with texi2dvi, but I doubt this is good practice.
@iftex
@setref{ref}{Ynothing}
@end iftex
.....
@iftex
ref to setref @ref{ref}.
@end iftex
It breaks texi2html (which wants something like @setref{ref}). It
could be fixed, but I doubt it is worth.
I send a mail about that subject on the bug-texinfo mailing list,
but even though it is a usable construct as a TeX macro, I think we
should remove it from texi2html, and if people wants to use pure tex
constructs they should embed them in @iftex and @tex. (chances are
the ref wouldn't be available in the resulting html document,
though, but I don't think this is a real concern anyway).
Pat