ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* mode dependend character handling
@ 2006-01-02 13:36 Henning Hraban Ramm
  2006-01-06 14:39 ` Taco Hoekwater
  2006-01-06 15:08 ` Mojca Miklavec
  0 siblings, 2 replies; 10+ messages in thread
From: Henning Hraban Ramm @ 2006-01-02 13:36 UTC (permalink / raw)


(This mail was rejected as spam in my first try, and the reject  
message was catched by my spam filter...)

A happy new year!

I'd like to typeset a text in both German and Swiss German orthography,
i.e. I'd like to expand "s (or the like) to ß in German and ss in  
Swiss German mode,
or even better, automagically change ß to ss in Swiss mode.

This is what I have:
\startmode[swiss]
     \def\S#1{ss\relax}
\stopmode
\startnotmode[swiss]
     \def\S#1{\sz\relax}
\stopnotmode

That forces me to use \S{} in the middle of words, very ugly.
I know this is possible in a more sophisticated way! Please?
(My favorite solution would be to make ß expand to ss in Swiss mode.)

Grüßlis vom Hraban!
---
http://www.fiee.net/texnique/
http://contextgarden.net
http://www.cacert.org (I'm an assurer)

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2006-01-15 18:16 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-01-02 13:36 mode dependend character handling Henning Hraban Ramm
2006-01-06 14:39 ` Taco Hoekwater
2006-01-14 13:50   ` Henning Hraban Ramm
2006-01-14 19:35     ` Mojca Miklavec
2006-01-14 21:10       ` Henning Hraban Ramm
2006-01-14 22:44         ` Taco Hoekwater
2006-01-14 23:02           ` Mojca Miklavec
2006-01-14 23:31             ` Henning Hraban Ramm
2006-01-15 18:16     ` Hans Hagen
2006-01-06 15:08 ` Mojca Miklavec

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).