Adam Lindsay wrote:
Vit Zyka said this at Tue, 8 Feb 2005 12:30:20 +0100:


So problem is at the very beginning stage. I check if input file is exactly in il2 encoding, yes it is. 'ì' has catcode letter. So a the letter is should enter the font.

Where is problem?


I think it's with two things:
1) you're not using \enableregime[il2]
2) there's no il2 regime anyway!

another option is to copy cont-en into cont-xx and replace the ec in there by il2

(or to say: \definetypeface[modern][il2] \setupbodyfont[modern], but that is slower)

%D \module
%D   [       file=cont-en,
%D        version=1997.08.19,
%D          title=\CONTEXT,
%D       subtitle=\CONTEXT\ English Format Generation,
%D         author=Hans Hagen,
%D           date=\currentdate,
%D      copyright={PRAGMA / Hans Hagen \& Ton Otten}]
%C
%C This module is part of the \CONTEXT\ macro||package and is
%C therefore copyrighted by \PRAGMA. See mreadme.pdf for
%C details.

\catcode`\{=1 \catcode`\}=2 \def\defaultinterface{english}

\input context.tex

\unprotect

\setupcurrentlanguage[\s!en]

\loaduserspecifications

\installlanguage [\s!en] [\c!state=\v!start]
\installlanguage [\s!uk] [\c!state=\v!start]
\installlanguage [\s!de] [\c!state=\v!start]
\installlanguage [\s!fr] [\c!state=\v!start]
\installlanguage [\s!es] [\c!state=\v!start]
\installlanguage [\s!it] [\c!state=\v!start]
\installlanguage [\s!nl] [\c!state=\v!start]

% \setupbodyfont [cmr,ams,rm,12pt]
%
% \setupencoding[default=ec] \usetypescript[modern][\defaultencoding] \setupbodyfont[modern,rm,12pt]


\setupencoding[default=ec] \usetypescript[fallback][\defaultencoding] \setupbodyfont[rm,12pt]

\protect \errorstopmode \dump \endinput

====

btw, if you patch enco-il2 by

  \startcoding[il2][il2] % second entry

and regenerate the format you have a regime for free -)

Hans


----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

Reply via email to