[NTG-context] doublestroke

2013-12-19 Thread Elspeth McGullicuddy
Hi,
I'm writing math and I'm using modern, and I would like to use
doublestroke.
There is an example here,
http://www.ntg.nl/pipermail/ntg-context/2008/037124.html, but I think it's
not likely to work since families aren't used anymore.
I really can't think how it should be done, and all I've found would be
through some substitution mechanism as described in fonts-mkiv.pdf.
I could use an example of replacing a vector of a font, by another font.
There might be things too with simplefonts and fallback mechanism, but
I haven't seen examples with math.
Regards,
Chris
___
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] ConTeXt hyphenation patterns for Indic languages

2013-12-19 Thread Rajeesh K Nambiar
 Now mkiv correctly loads the patterns and hyphenation works (though
 even with \language[ml], log says language 'en' is active).



 \language is a local command, use \mainlanguage instead


 Does not seem to have an effect here. MWE:

 \starttext
 %\language[ml]
 \mainlanguage[ml]
 \definedfont[file:rachana*default]
 കോണ്‍ടെക്സ്റ്റില്‍ മലയാളം ടൈപ്പ്സെറ്റ് ചെയ്തത്
 \stoptext

 The font, Rachana, could be found here:

 http://download.savannah.gnu.org/releases/smc/fonts/malayalam-fonts-6.0/Rachana/Rachana.ttf


 \starttext


 \mainlanguage[ml]
 \definedfont[file:rachana*default]
 \setuplayout[width=4cm]
 \setupalign[tolerant]
 \showframe

 \setuplanguage[ml][lefthyphenmin=1,righthyphenmin=1]


 കോണ്‍ടെക്സ്റ്റില്‍ മലയാളം ടൈപ്പ്സെറ്റ് ചെയ്തത്

 \stoptext

 i see one hyphen ... how good are the patterns?

Sorry for the confusion - hyphenation indeed works correctly (I
confirmed it earlier), but I was just noticing that the logfile still
mentions language 'en' is active which is harmless I guess.


___
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] ConTeXt hyphenation patterns for Indic languages

2013-12-19 Thread Hans Hagen

On 12/19/2013 6:08 PM, Rajeesh K Nambiar wrote:

Now mkiv correctly loads the patterns and hyphenation works (though
even with \language[ml], log says language 'en' is active).




\language is a local command, use \mainlanguage instead



Does not seem to have an effect here. MWE:

\starttext
%\language[ml]
\mainlanguage[ml]
\definedfont[file:rachana*default]
കോണ്‍ടെക്സ്റ്റില്‍ മലയാളം ടൈപ്പ്സെറ്റ് ചെയ്തത്
\stoptext

The font, Rachana, could be found here:

http://download.savannah.gnu.org/releases/smc/fonts/malayalam-fonts-6.0/Rachana/Rachana.ttf



\starttext


\mainlanguage[ml]
\definedfont[file:rachana*default]
\setuplayout[width=4cm]
\setupalign[tolerant]
\showframe

\setuplanguage[ml][lefthyphenmin=1,righthyphenmin=1]


കോണ്‍ടെക്സ്റ്റില്‍ മലയാളം ടൈപ്പ്സെറ്റ് ചെയ്തത്

\stoptext

i see one hyphen ... how good are the patterns?


Sorry for the confusion - hyphenation indeed works correctly (I
confirmed it earlier), but I was just noticing that the logfile still
mentions language 'en' is active which is harmless I guess.


normally you set the mainlanguage before \starttext

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

Re: [NTG-context] ConTeXt hyphenation patterns for Indic languages

2013-12-19 Thread Wolfgang Schuster

Am 19.12.2013 um 19:09 schrieb Hans Hagen pra...@wxs.nl:

 Sorry for the confusion - hyphenation indeed works correctly (I
 confirmed it earlier), but I was just noticing that the logfile still
 mentions language 'en' is active which is harmless I guess.
 
 normally you set the mainlanguage before \starttext

Even then the message reports english because it is produced by the 
\initializemainlanguage (lang-ini.mkiv) command

\unexpanded\def\initializemainlanguage
  {\mainlanguage[\currentlanguage]%
   \showmessage\m!languages9\currentlanguage}

which is stored in the \everyjob (core-def.mkiv) register. A better place for 
the message would be in the definition of the \mainlanguage command.

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
___