- From: Peter Flynn <pflynn@imbolc.ucc.ie>
- Date: 26 Sep 1997 14:53:43 +0100
- To: www-html@w3.org
(Nit-picking: how would you handle English text within some German text in a document with English as default language.) If you use regular SGML software the problem simply goes away. <P>He looked up and said: <Q><FOREIGN LANG=DE>Was du denn dagegen? Das mit deinem <FOREIGN LANG=EN>stiff upper lip</> bring mich zum Kotzen</></>.</P> If I convert this to TeX using OMLE, I can say element FOREIGN output "{\it %c}" when parent isnt FOREIGN output "{\rm %c}" when parent is FOREIGN ; you could even handle Fraktur type if you wanted: ; output "{\fr %c}" when attribute LANG is equal "DE" (This isn't the only way, by any means. Synex, CSS, DSSSL, and XSL can all handle styling by descent or ancestry). Getting it to work right in all the common HTML browsers probably involves a lot more work. ///Peter
Received on Friday, 26 September 1997 10:40:49 UTC