ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Expand cont-ger.tex
@ 1999-11-13 15:01 Berend de Boer
  1999-11-15 11:40 ` Hans Hagen
  0 siblings, 1 reply; 6+ messages in thread
From: Berend de Boer @ 1999-11-13 15:01 UTC (permalink / raw)


Hai Hans,

I suggest that cont-ger is expanded with some things to type in dutch code
is a lot easier:

This is my current suggestion:

\startlanguagespecifics[nl]
  \installcompoundcharacter "a {\"a}
  \installcompoundcharacter "e {\"e}
  \installcompoundcharacter "o {\"o}
\stoplanguagespecifics

Maybe other dutch language interested have more ideas? Like accents and so
on.

With these settings I can now type:

	co"ordinator

instead of

	co\"ordinator

Groetjes,

Berend. (-:


^ permalink raw reply	[flat|nested] 6+ messages in thread
[parent not found: <Your message of "Mon, 15 Nov 1999 12:40:31 +0100." <3.0.6.32.19991115124031.010f2a90@pop.wxs.nl>]
* Re: Expand cont-ger.tex
@ 1999-11-15 18:34 Karsten Tinnefeld
  0 siblings, 0 replies; 6+ messages in thread
From: Karsten Tinnefeld @ 1999-11-15 18:34 UTC (permalink / raw)


> >These shorthands seem to be the only ones from german/babel not 
> >implemented in cont-ger - why?
> 
> Since I don't use latex, I just implemented what tobias told me to
> implement. BTW, the shortcut mechanism is available for other purposes
> too, just take a look at supp-lan.tex 

My first impression is that a few and may be the most important 
breakpoint issues are 
met.

> >"-	allow hyphenation here, but do not disallow elsewhere, as \" 
> 
> ||

My typo, sorry: "- contrasts to \- and does not produce anything when 
not at a line break. || always produces a hyphen glyph.

> >	does, used in OT1 encoded text containing e.g. umlauts
> >""	insert \discretionary{}{}{} (empty breakpoint) here, 
> >	used after solidi (/)
> 
> |/|    |)|   |(|

Ahem, I meant only the solidus, not the parens. Taking the german.sty 
example, I want Ein"~/""Ausgang to become Ein-/¦Ausgang (the ¦ 
indicating the only breakpoint).

> || |-| |~| |--| |hello world| 

The active vertical bar trick seems to be rather flexible, but I am not 
yet sure if I can do a simple mapping that supports all features 
(deepingly hidden in quite some texts). I'll try to dig into 
supp-lan.tex later, 'though it does not seem to have typesettable docs.

In case you're interested, germanb.dtx in babel provides English 
documentation to what I was talking about.

Something like this may be right, but it produces a lot of errors (I 
inserted before \starttext, maybe just catcode problems:

\installcompoundcharacter "- 
  {\prewordbreak\discretionary{-}{}{}\postwordbreak}
\installcompoundcharacter ""
  {\prewordbreak\allowbreak\postwordbreak}
\installcompoundcharacter "|
  {\prewordbreak\discretionary{-}{}{\thinspace}\postwordbreak}
\installcompoundcharacter "~
  {\hbox{\compoundhyphen}}
\installcompoundcharacter "=
  {\prewordbreak\hbox{\compoundhyphen}\allowbreak\postwordbreak}

Karsten
-- 
Karsten Tinnefeld                       tinnefeld@ls2.cs.uni-dortmund.de
Fachbereich Informatik, Lehrstuhl 2                   T +49 231 755-4737
Universität Dortmund, D-44221 Dortmund, Deutschland   F +49 231 755-2047


^ permalink raw reply	[flat|nested] 6+ messages in thread
* RE: Expand cont-ger.tex
@ 1999-11-15 19:23 Berend de Boer
  0 siblings, 0 replies; 6+ messages in thread
From: Berend de Boer @ 1999-11-15 19:23 UTC (permalink / raw)


> If I would make it default
> for dutch, it could break existing documents with normal "'s.
> Although, as long as one never uses " '' `` but \quote and
> \quotation instead, making " active is pretty safe.

What do people on this list think? I've used it for a few days now, and are
quite happy with it (now if I only could get the emacs spelling mode to
recognize "e life would be perfect).

Groetjes,

Berend. (-:


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

end of thread, other threads:[~1999-11-15 19:23 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-11-13 15:01 Expand cont-ger.tex Berend de Boer
1999-11-15 11:40 ` Hans Hagen
     [not found] <Your message of "Mon, 15 Nov 1999 12:40:31 +0100." <3.0.6.32.19991115124031.010f2a90@pop.wxs.nl>
1999-11-15 14:31 ` Karsten Tinnefeld
1999-11-15 17:28   ` Hans Hagen
1999-11-15 18:34 Karsten Tinnefeld
1999-11-15 19:23 Berend de Boer

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).