Hi Uli,
>
>I just designed a nice logo for our group to appear on every
>page. However I realized that a page which looks nicely balanced
>(wrt. text vs. logo-size) on my monitor (at 1280*1024), looks rather
>odd on a low-res monitor (say 800*600). Are ther means within the html
>definition to take care of this?
No can do.
With bitmapped images a pixel is a pixel, no matter what the resolution.
So 100 pixels at low-res appears much larger than 100 at hi-res.
It is up to browsers or operating-system software to do anything different.
This is a real killer for mathematics using images.
It makes it impossible to produce HTML pages that will have a consistent
presentation on all platforms.
The other real killer for mathematics is MSIEs stupid implementation of
<IMG ALIGN="MIDDLE" ...
>And on a sidematter, How do I escape the tilde (~) character in the
>.latex2html file. NOTE: I do not mean within a tex-file
>(i.e. \~{}). The problem is that in order to modify the menu-bar, I
>have to reference the logo-file as http://somename/~/somedir inside
>the l2h init files.
>I tried a couple of things (including the usual suspects), but found
>no way to preserve the tilde character.
Use ';SPMtilde;'
This character string remains static through all translation processes,
--- except if it ends within the LaTeX code for an image.
It's converted to '~' after all LaTeX-like processing has been completed.
Similarly use ';SPMdollar;' for '$' and ';$PMpct;' for '%'
Other entities can be preserved this way too:
';SPMamp;' ---> &
';SPMlt;' ---> <
';SPMgt;' ---> >
';SPMnbsp;' --->
';SPMquot;' ---> "
';SPMalpha;' ---> α
';SPMeuro; ---> €
etc.
You can construct your own entity names this way,
--- if you have a DTD that a browser can access to find out what they mean.
Otherwise stick to the ones defined for HTML by the W3C .
;-)
Cheers,
Ross Moore
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Ross Moore email: [EMAIL PROTECTED]
Mathematics Department phone: +612 9850 8955
Macquarie University fax: +612 9850 8114
Sydney, NSW 2109 office: E7A-419
Australia WWW: http://www-math.mpce.mq.edu.au/~ross/
***************************
for the best in (La)TeX-nical typesetting and Web page production
join the TeX Users Group (TUG) --- browse at http://www.tug.org
<[EMAIL PROTECTED]>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~