Ahoi, I’m working on ePubs again and need a bit more information in the exported xml.
E.g. I defined my own small caps macro: \def\SC#1{{\sc\lowercase{#1}}} to be able to say \SC{ISO} instead of changing everything into lowercase like {\sc iso}. (I also tried OpenType features, but those were too unreliable with my fonts. That’s not the problem here.) But my small caps end as unmarked lowercase in the exported xml. I didn’t manage to combine my above approach with \definehighlight, but after poking around in the source (core-sys.mkiv, strc-tag.mkiv) I found this solution: \def\SC#1{\dostarttagged{highlight}{scaps}{\sc\lowercase{#1}}\dostoptagged} so that \SC{ISO} becomes <highlight detail="scaps">iso</highlight> Works for me. Better suggestions? Greetlings, Hraban --- http://www.fiee.net http://wiki.contextgarden.net GPG Key ID 1C9B22FD ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___________________________________________________________________________________