ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
Subject: Re: Czech patterns in TeXlive2003
Date: Tue, 30 Sep 2003 17:19:56 +0200	[thread overview]
Message-ID: <5.2.0.9.1.20030930171518.01283370@server-1> (raw)
In-Reply-To: <20030930161823.A6560946@aisa.fi.muni.cz>

Hi David,

>Petr Olsak has changed slightly Czech pattern file czhyph.tex for
>TeXlive2003, it's a bit `Babelized' now. It produces \errmessage for
>Babel's \addlanguage being \undefined. It also contains several ugly
>hacks to make both plain and LaTeX read \v and \' syntax for Czech
>accents, and finally it reads czhyphen.tex containing real patterns.
>
>The result is that generating ConTeXt format ends with the \errmessage.
>Simple workaround is to change alias in cont-usr.tex to pattern files
>from czhyph.tex to czhyphen.tex. My discussion with Petr Olsak suggests
>to make a more systematic correction: to add a test into czhyph.tex and
>make it directly read czhyphen.tex if ConTeXt is detected.
>
>This needs two things to make sure:
>1. Is it OK to read patterns with \v and \' syntax into ConTeXt?
>2. Is there a way to detect ConTeXt in order to put into czhyph.tex
>something like:
>
>\ifx\<something-typical-to-detect-ConTeXt>\undefined \else
>     % for ConTeXt
>     \input czhyphen.tex
>     \endinput \fi
>
>Is there a more systematic/clean solution? Or shall I ask Petr Olsak to
>change this in the czhyph.tex file?

Ah ... i just found that out yesterday and had on my agenda to ask you to 
look into it. I have now adapted cont-usr.tex and commented:

% \definefilesynonym [lang-cz.pat]  [czhyph.tex]
% \definefilesynonym [lang-cz.pat]  [skhyph.tex]

maybe you can trigger on:

\contextversion

Thanks for taking care of it.

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
-------------------------------------------------------------------------
                        information: http://www.pragma-ade.com/roadmap.pdf
                     documentation: http://www.pragma-ade.com/showcase.pdf
-------------------------------------------------------------------------

  reply	other threads:[~2003-09-30 15:19 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-30 14:18 David Antos
2003-09-30 15:19 ` Hans Hagen [this message]
2003-10-06  9:58   ` David Antos
2003-10-06 13:40     ` Footnotes Albrecht Kauffmann
2003-10-06 13:44     ` hanging punctuation and lm-fonts Albrecht Kauffmann
2003-10-14 22:45     ` Czech patterns in TeXlive2003 Hans Hagen
2003-10-17  9:28       ` David Antos
2003-11-05 14:09       ` David Antos

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