From: Hans Hagen <pragma@wxs.nl>
Cc: ConTeXt mailing list <ntg-context@ntg.nl>
Subject: Re: Language specific commands
Date: Wed, 12 Sep 2001 08:38:09 +0200 [thread overview]
Message-ID: <5.1.0.14.1.20010912083509.0262c518@server-1> (raw)
In-Reply-To: <3B9EA91A.E96A49F2@ukrpost.net>
At 03:15 AM 9/12/2001 +0300, Olya Briginets wrote:
>Hello ConTeXt gurus,
>
>Is there a way to set some assignments in particular language only?
>
>I have the following problem: in ukrainian, apostrophe (') is a letter and
>should have lccode 39 to get words with it hyphenated. So I use
> \startlanguagespecifics[ua]
> \lccode`'=`'
> \stoplanguagespecifics
>But then, when I switch to another language, \lccode`' doesn't restore to 0,
>which can lead to improper hyphenation, as ' is used in quotes.
>
>Should the definitions which are "language specific" be forgotten when
>switching
>to another language? Or maybe there is (or should be) something like
>\everylanguage hook: \addtoeverylanguage{\lccode`'=0}?
in lang-ger you can see examples of using language specific sections in
encoding definitions.
concerning lccodes: this is tricky business since they *are* stored with
the language, so they should be set when reading in the hyphenations
Hans
-------------------------------------------------------------------------
Hans Hagen | PRAGMA ADE | pragma@wxs.nl
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
prev parent reply other threads:[~2001-09-12 6:38 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-09-12 0:15 Olya Briginets
2001-09-12 6:38 ` Hans Hagen [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5.1.0.14.1.20010912083509.0262c518@server-1 \
--to=pragma@wxs.nl \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).