FW: [WEB4LIB] macrons in html?

Gimon, Charles A CAGimon at mpls.lib.mn.us
Tue May 23 13:05:28 EDT 2000


One rather exotic way to accomplish this would be to tag your text as being
Windows Code Page 1257:

<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1257">

or as ISO 8859-4.

This is not at all guaranteed to work universally, of course, but if you
have a controlled audience (or people who are willing to follow
instructions) you can get all the macrons you want.

To enter macrons in Windows, you will need to go to Keyboards, then click on
the Input Locales tab, then install the Lithuanian keyboard. You'll need the
Windows 98 or NT disk to do this.

Basically, you're fooling the browser into thinking the text is Lithuanian.
The end user will also have to set their browser to read pages as
Baltic/Windows-1257. 

Numeric entities ought to work; try http://czyborra.com/ for the character
set mappings.

I just tested this out, it worked in MSIE, but not in Netscape. Your mileage
MAY vary.

Someday we'll all just use Unicode, look back, and laugh (forsan et haec
olim meminisse iuvabit; Aeneid I).

Have fun! Glad it's not me!

--Charles Gimon
  Web Coordinator
  Minneapolis Public Library


-----Original Message-----
From: Kenneth R. Irwin [mailto:kirwin at wittenberg.edu] 
Sent: Tuesday, May 23, 2000 11:25 AM
To: Multiple recipients of list
Subject: [WEB4LIB] macrons in html?


Hi folks -- am I crazy, or is there no way to do a useful macron in HTML?

theres the &macr; entity for a macron by itself, but there's no &emacr; or
&macre. 

you could use a stylesheet to define
.macr {text-decoration: overline}
but it's not supported in Netscape, just IE.

is there a way to overwrite a macron and a letter -- i don't know of a way
to superimpose HTML entities. Has anyone come up with a better work-around
than creating little picture-files?

Thanks,
Ken, who wonders why the ISO Latin 1 standard doesn't seem to include the
only diacritical mark actually used in Latin...


Kenneth R. Irwin                                    kirwin at wittenberg.edu
Reference/Electronic Resources Librarian            (937) 327-7594
Thomas Library, Wittenberg University


More information about the Web4lib mailing list