From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/55730 Path: news.gmane.org!not-for-mail From: Marius Newsgroups: gmane.comp.tex.context Subject: Re: new language and hyphenation Date: Fri, 22 Jan 2010 13:16:58 +0200 Message-ID: References: <6faad9f01001200810q23c94fddm49000bafce4848fa@mail.gmail.com> <6faad9f01001201453o54e4167bhd5fb915ae9a02fe1@mail.gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0549105886==" X-Trace: ger.gmane.org 1264159074 13195 80.91.229.12 (22 Jan 2010 11:17:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 22 Jan 2010 11:17:54 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Jan 22 12:17:46 2010 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.50) id 1NYHWE-0007hv-Q0 for gctc-ntg-context-518@m.gmane.org; Fri, 22 Jan 2010 12:17:38 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 2848FC9CCF; Fri, 22 Jan 2010 12:17:36 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 89OztW5ua0Ss; Fri, 22 Jan 2010 12:17:15 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 62E56C9CC2; Fri, 22 Jan 2010 12:17:15 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 54B19C9CC2 for ; Fri, 22 Jan 2010 12:17:11 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 1LJ5qgFjsjPq for ; Fri, 22 Jan 2010 12:16:59 +0100 (CET) Original-Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.158]) by balder.ntg.nl (Postfix) with ESMTP id 63810C9CBE for ; Fri, 22 Jan 2010 12:16:59 +0100 (CET) Original-Received: by fg-out-1718.google.com with SMTP id e12so1592970fga.2 for ; Fri, 22 Jan 2010 03:16:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=GwuELjnXbQJ/8VVmQyOY8Do91/ieFCumLrin8a3DZZI=; b=dXuNISlw5J7HLXHn6Vb8AX+nCCqD2ON5L71IvnLM/2fNyDiV7plvQcganRmWvc9ZgJ jTy+R8opBaW2SjjOY5smOINUh1mFma6n01vxYolM8zi4SxXrvKvghEycKlAOTBugFjfS uyYiJnjoseSvPkmuRAbzR0+vkMCsQ/lp9Hmyo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=IWIJIHyJIow3MLzbz1XOvO7VVMfSvIIyeVeiDyuaBOOi2bgU9ohpNUEMOeuEMyPGba Db8xnUldCj6ggQ/5XVG+/4u1wPLoo1UKah/jOei5hGTu4sMho9JDPCCdtXvYq/N7TBx6 nmj/E6q5Td9eoXT42baEolZQ2epIWPqI8TR7A= Original-Received: by 10.102.207.12 with SMTP id e12mr1480658mug.97.1264159019022; Fri, 22 Jan 2010 03:16:59 -0800 (PST) In-Reply-To: X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:55730 Archived-At: --===============0549105886== Content-Type: multipart/alternative; boundary=0016364c770f44b91a047dbef526 --0016364c770f44b91a047dbef526 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hello, How do I test translation? I do it this way, is it correct? Translated lang-bal.tex (not finished yet) luatools --generate context --make But I get an error, then I run context --make ) (C:/doc/context/tex/texmf-context/tex/context/base/lang-art.tex loading : ConTeXt Language Macros / Artificial Languages ) (C:/doc/context/tex/texmf-context/tex/context/base/lang-bal.tex loading : ConTeXt Language Macros / Baltic Languages ! Undefined control sequence. \??la \s!lt \c!state \doifdefinedelse #1->\ifcsname #1 \endcsname \@EA \firstoftwoarguments \else ... \doiflanguageelse {\s!lt } {\getparameters [\??la \s!lt ][\c!spac... \firstoftwoarguments #1#2->#1 l.38 \s!righthyphenmin=3D2] ? %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Lettish/Latvian, Lietuvi=C5=B3/Lithuanian \unprotect \installlanguage [\s!lt] [\c!spacing=3D\v!packed, \c!leftsentence=3D---, \c!rightsentence=3D---, \c!leftsubsentence=3D---, \c!rightsubsentence=3D---, \c!leftquote=3D\lowerleftdoubleninequote, \c!rightquote=3D\upperrightdoublesixquote, \c!leftquotation=3D\lowerleftdoubleninequote, \c!rightquotation=3D\upperrightdoublesixquote, \c!date=3D{\v!year~m.\ \v!month\ \v!day~d.}, \s!patterns=3D\s!lt, \s!lefthyphenmin=3D2, \s!righthyphenmin=3D2] \protect \endinput %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% --0016364c770f44b91a047dbef526 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hello,

How do I test translation?
I do it this way, is it correct= ?

Translated lang-bal.tex (not finished yet)
lu= atools --generate
context --make

Bu= t I get an error, then I run context --make

) (C:/doc/context/tex/texmf-context/tex/context/base/lang-art.tex
loading =C2=A0 =C2=A0 =C2=A0 =C2=A0 : ConTeXt Language Macros / Artificial= Languages
) (C:/doc/context/tex/texmf-context/tex/context/base/l= ang-bal.tex
loading =C2=A0 =C2=A0 =C2=A0 =C2=A0 : ConTeXt Language Macros / Baltic= Languages
! Undefined control sequence.
<argument&g= t; \??la \s!lt
=C2=A0=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 \c!state
\doifdefinedelse #1-&= gt;\ifcsname #1
=C2=A0=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 \endcsname \@EA \firstoftw= oarguments \else ...
<argument> \doiflanguageelse {\s!lt }<= /div>
=C2=A0=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0{\= getparameters [\??la \s!lt ][\c!spac...
\firstoftwoarguments #1#2->#1

l.38 =C2=A0 = =C2=A0\s!righthyphenmin=3D2]

?


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% =C2=A0Lettish/Lat= vian, Lietuvi=C5=B3/Lithuanian

\unprotect

\installlanguage
=C2=A0=C2=A0[\s!lt]
=C2=A0=C2=A0[= \c!spacing=3D\v!packed,
=C2=A0=C2=A0 \c!leftsentence=3D---,
=
=C2=A0=C2=A0 \c!rightsentence=3D---,
=C2=A0=C2=A0 \c!leftsub= sentence=3D---,
=C2=A0=C2=A0 \c!rightsubsentence=3D---,
=C2=A0=C2=A0 \c!leftquote=3D\lowerleftdoubleninequote,
=C2= =A0=C2=A0 \c!rightquote=3D\upperrightdoublesixquote,
=C2=A0=C2=A0= \c!leftquotation=3D\lowerleftdoubleninequote,
=C2=A0=C2=A0 \c!ri= ghtquotation=3D\upperrightdoublesixquote,
=C2=A0=C2=A0 \c!date=3D{\v!year~m.\ \v!month\ \v!day~d.},
= =C2=A0=C2=A0 \s!patterns=3D\s!lt,
=C2=A0=C2=A0 \s!lefthyphenmin= =3D2,
=C2=A0=C2=A0 \s!righthyphenmin=3D2]

\protect \endinput

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%= %%%%%%%%
--0016364c770f44b91a047dbef526-- --===============0549105886== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --===============0549105886==--