Re: thumbnails
Dumas Patrice <[email protected]> Tue, 25 Nov 2003 13:02:18 +0100
| Newsgroups | gmane.comp.tex.texinfo.pretest |
|---|---|
| Message-ID | <[email protected]> |
Hi,
> The simplest approach we could think of is to say that if foo-thumb.EXT
> exists for some @image{foo}, output the usual
> <a href="foo.EXT"><img src="foo-thumb.EXT"></a>
>
> That way, authors don't have to do anything to the source in order to
> get thumbnails in their HTML output, if they want them.
This seems rather ad-hoc and a little obfuscated to me, but should work
right. Maybe it should bewarned that this is a temporary solution and
that it could be dropped in the future, such that if this is dropped
this doesn't annoy users ?
> It does hardwire the foo-thumb convention. An additional approach could
> be to add yet another optional arg to @image, specifying the thumbnail
> name. But I'd just as soon wait to do that until an author actually
> wants/needs it.
This would be much better in my opinion, and not tied to HTML. I believe
there could be something added to the xml, and maybe this kind of thing
allready exists in docbook ? For all the additions, I think that doing
things clearly in texinfo and trying to have as few as possible output
format specific things would be best (even though some constructs are
ignored during formatting based on the format).
> The width/height arguments that @image already supports are really
> orthogonal to this, and useful basically only for dvi/pdf output, where
> the page size is fixed and where the natural size of the image can't be
> easily changed.
I agree that it is orthogonal, although it could be possible to use
these in HTML, too.
> Patrice, does texi2html support (or have plans to) thumbnails? Of
> course it'd be best to do something compatible, if so.
No support for thumbnails and no plan. Of course I will follow your
implementation.
Pat
_______________________________________________
Texinfo home page: http://www.gnu.org/software/texinfo/
[email protected]
http://ff0.org/mailman/listinfo/texinfo-pretest