bug-texinfo
[Top][All Lists]
Advanced

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

Re: Acronyms in HTML


From: Torsten Bronger
Subject: Re: Acronyms in HTML
Date: Tue, 25 Nov 2003 14:21:36 +0100
User-agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux)

Halloechen!

Alper Ersoy <address@hidden> writes:

> Torsten Bronger:
>
>> I am using makeinfo 4.6.  @acronym{}s should be translated to
>> <acronym/>s instead of <small/>s in HTML.
>
> Thanks.  This will be fixed in the next release.  A patch is also
> attached (though it's against CVS, so may need adaptation for 4.6.)
>
>> so that I can use it at least.  A clean solution is possible only in
>> LaTeX (with relsize and soul).  Maybe the DocBook way will make that
>> possible.
>
> Can you please elaborate?

If you have a good Texinfo-->DocBook XML transformation you can use
db2latex to transform it to LaTeX.  I don't know what it currently
does with DocBook's abbreviations tag (I hope DocBook has one), but
it should be trivial to transform it to something like
{\smaller\caps{HTML}}, thus using relsize.sty and soul.sty.  This
produces very decent print output.

> Karl, maybe we should add an optional parameter to @acronym{}?
> Say:
>
>   @acronym{HTML, HyperText Markup Language}
>
> Becomes:
>
>   <acronym title="HyperText Markup Language">HTML</acronym>
>
> so visual agents will display a tooltip when hovered.  TeX and Info
> backends should show a footnote.  Docbook will use MoreInfo attribute
> instead of the above title.
>
> All subsequent uses of @acronym{HTML} will then use the same title.
> @acronym{HTML, A new definition} will redefine it.
>
> What do you think?

Well, *I* think that this idea is very good.

Tschoe,
Torsten.

-- 
Torsten Bronger, aquisgrana, europa vetus





reply via email to

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