Re: [NTG-context] \installlanguage questions

2010-05-06 Thread Taco Hoekwater

Tomáš Pustelník wrote:

Hello,

I have few questions about command \installlanguage. First, in file
lang-ini is command \setuplanguage for default language. It has
parameters lefthyphen, righthyphen and hyphen. I would like to ask if
these parameters can be used in command \installlanguage or not and
what is their funcionality becouse I have tried use command:

\setuplanguage[cz][lefthyphen=@,righthyphen=@,hyphen=€]

and I didn't see any changes. 


I think this is a case of NYI (not yet implemented). Luatex has support
for these parameters, but it looks like mkiv only has the \setuplanguage
keys at the moment, not an actual implementation.


I thought it's used to setup hyphen
mark when the word is spilt at the end of line 


Yes, that is wat it is supposed to do.


Also I would like to know whats the difference in \date and parameter
date in \installlanguage? In parameter date in \installlanguage are
curly backets, 


That is just a syntax trick to solve a problem with embedded commas.
In context, key=value and key={value} are equivalent, except
that the second form allows embedded commas.


it's just some mask for command \date? Or those two
are entirely different?


The \setuplanguage parameter provides a formatting template for \date.

Best wishes,
Taco

___
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
___


Re: [NTG-context] \installlanguage questions

2010-05-06 Thread Hans Hagen

On 5-5-2010 3:48, Tomáš Pustelník wrote:

Hello,

I have few questions about command \installlanguage. First, in file lang-ini is 
command \setuplanguage for default language. It has parameters lefthyphen, 
righthyphen and hyphen. I would like to ask if these parameters can be used in 
command \installlanguage or not and what is their funcionality becouse I have 
tried use command:

 \setuplanguage[cz][lefthyphen=@,righthyphen=@,hyphen=€]

and I didn't see any changes. I thought it's used to setup hyphen mark when the 
word is spilt at the end of line but I still get symbol -


lefthyphen and righthyphen are supported now


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
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
___


[NTG-context] \installlanguage questions

2010-05-05 Thread Tomáš Pustelník
Hello,

I have few questions about command \installlanguage. First, in file lang-ini is 
command \setuplanguage for default language. It has parameters lefthyphen, 
righthyphen and hyphen. I would like to ask if these parameters can be used in 
command \installlanguage or not and what is their funcionality becouse I have 
tried use command:

\setuplanguage[cz][lefthyphen=@,righthyphen=@,hyphen=€] 

and I didn't see any changes. I thought it's used to setup hyphen mark when the 
word is spilt at the end of line but I still get symbol -

Also I would like to know whats the difference in \date and parameter date in 
\installlanguage? In parameter date in \installlanguage are curly backets, it's 
just some mask for command \date? Or those two are entirely different?

Thank you answers.

Tomas Pustelnik
___
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
___


Re: [NTG-context] \installlanguage syntax

2009-11-03 Thread Tomáš Pustelník

Hi,
I'm using mkII because I wasn't able to make mkIV work on my Windows.
Anyway thank you for answer It helped me. I have just one another question. 
How should I write  parametr lefthyphenmin. I mean precise dimension. I 
tryed several possibilities but none of them worked.


Thank you

Tomas Pustelnik


Hi,
I'm student at Faculty of Informatics at Masaryk university and I'm 
writing bachelor's thesis this year. One part of the thesis is to 
document language support and implementation in ConTeXt so someone can 
use it to implement new language. Right now I'm stuck with command 
\installlannguage. I can't figure out what these parametres are doing:

 \c!leftsentence=---,
   \c!rightsentence=---,
   \c!leftsubsentence=---,
   \c!rightsubsentence=---,
 So I'would really appreciated some more info about them.
 Thank you for your answers.


are you using context mkiv? it makes sense to focus on that as the main 
development happens there and it's also more fun


anyway, these parameters are related to:

test ||bla|| test

and nested usage; the meaning of --- depends on the font settings as well 
(tex ligature)


Hans



___
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
___


Re: [NTG-context] \installlanguage syntax

2009-11-03 Thread Wolfgang Schuster


Am 03.11.2009 um 14:49 schrieb Tomáš Pustelník:


Hi,
I'm using mkII because I wasn't able to make mkIV work on my Windows.
Anyway thank you for answer It helped me. I have just one another  
question. How should I write  parametr lefthyphenmin. I mean  
precise dimension. I tryed several possibilities but none of them  
worked.


\installlanguage
  [...]
  [lefthyphenmin=number, % e.g. lefthyphenmin=3
   righthyphenmin=number]

Wolfgang

___
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
___


Re: [NTG-context] \installlanguage syntax

2009-11-03 Thread Tomáš Pustelník

Am 03.11.2009 um 14:49 schrieb Tomáš Pustelník:


Hi,
I'm using mkII because I wasn't able to make mkIV work on my Windows.
Anyway thank you for answer It helped me. I have just one another 
question. How should I write  parametr lefthyphenmin. I mean  precise 
dimension. I tryed several possibilities but none of them  worked.


\installlanguage
  [...]
  [lefthyphenmin=number, % e.g. lefthyphenmin=3
   righthyphenmin=number]

Wolfgang


Thank you, it works now.

Tomas Pustelnik 


___
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
___


[NTG-context] \installlanguage syntax

2009-11-01 Thread Tomáš Pustelník
Hi,
I'm student at Faculty of Informatics at Masaryk university and I'm writing 
bachelor's thesis this year. One part of the thesis is to document language 
support and implementation in ConTeXt so someone can use it to implement new 
language. Right now I'm stuck with command \installlannguage. I can't figure 
out what these parametres are doing:

   \c!leftsentence=---,
   \c!rightsentence=---,
   \c!leftsubsentence=---,
   \c!rightsubsentence=---,

So I'would really appreciated some more info about them.

Thank you for your answers.

Tomas Pustelnik___
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
___


Re: [NTG-context] \installlanguage syntax

2009-11-01 Thread Wolfgang Schuster


Am 01.11.2009 um 16:32 schrieb Tomáš Pustelník:


Hi,
I'm student at Faculty of Informatics at Masaryk university and I'm  
writing bachelor's thesis this year. One part of the thesis is to  
document language support and implementation in ConTeXt so someone  
can use it to implement new language. Right now I'm stuck with  
command \installlannguage. I can't figure out what these parametres  
are doing:


   \c!leftsentence=---,
   \c!rightsentence=---,
   \c!leftsubsentence=---,
   \c!rightsubsentence=---,

So I'would really appreciated some more info about them.


some text ||with a subsentence ||and another level deeper|| and one  
level up|| and back to the outer level


Wolfgang

___
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
___


Re: [NTG-context] \installlanguage syntax

2009-11-01 Thread Hans Hagen

Tomáš Pustelník wrote:

Hi,
I'm student at Faculty of Informatics at Masaryk university and I'm 
writing bachelor's thesis this year. One part of the thesis is to 
document language support and implementation in ConTeXt so someone can 
use it to implement new language. Right now I'm stuck with command 
\installlannguage. I can't figure out what these parametres are doing:
 
   \c!leftsentence=---,

   \c!rightsentence=---,
   \c!leftsubsentence=---,
   \c!rightsubsentence=---,
 
So I'would really appreciated some more info about them.
 
Thank you for your answers.


are you using context mkiv? it makes sense to focus on that as the main 
development happens there and it's also more fun


anyway, these parameters are related to:

test ||bla|| test

and nested usage; the meaning of --- depends on the font settings as 
well (tex ligature)


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
-
___
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
___