Re: [NTG-context] loading hyphenation patterns (again)

2018-07-10 Thread Pablo Rodriguez
On 07/10/2018 07:44 PM, Hans Hagen wrote:
> On 7/10/2018 5:20 PM, Pablo Rodriguez wrote:
>> [...]
>> I wonder why English cannot have extra hyphenation patterns, while
>> ancient Greek allows them.
>
> there are no patterns 'en', just 'us' and 'uk'

Many thanks for your reply, Hans.

I just took for granted that "en" patterns would be the "us" ones (such
as with the language commands).

Sorry for the noise,

Pablo
-- 
http://www.ousia.tk
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] loading hyphenation patterns (again)

2018-07-10 Thread Hans Hagen

On 7/10/2018 5:20 PM, Pablo Rodriguez wrote:

Dear list,

sorry for bothering with this again:

 \setuplanguage[agr][patterns={agr, en}]
 \setuplanguage[en][patterns={en, agr}]
 \starttext
 \hyphenatedword{judgmental}
 \agr\hyphenatedword{judgmental}
 \stoptext

I wonder why English cannot have extra hyphenation patterns, while
ancient Greek allows them.

Have I hit a bug or am I missing something?

Sorry for insisting, but I get weird results with column balancing
(registers).

there are no patterns 'en', just 'us' and 'uk'

\enabletrackers[language*]

\setuplanguage[en] [patterns={us,agr}]
\setuplanguage[agr][patterns={us,agr}]
\setuplanguage[nl] [patterns={nl,agr}]
\setuplanguage[de] [patterns={de,agr}]

\starttext
\en  \hyphenatedword{judgmental}
\agr \hyphenatedword{judgmental}
\nl  \hyphenatedword{judgmental}
\de  \hyphenatedword{judgmental}

\usemodule[languages-hyphenation]

\startcomparepatterns[en,nl,de]
judgmental
\stopcomparepatterns

\stoptext




-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] text in mathematics

2018-07-10 Thread Hans Åberg

> On 9 Jul 2018, at 21:27, Hans Åberg  wrote:
> 
>> On 9 Jul 2018, at 17:48, Aditya Mahajan  wrote:
>> 
>> On Mon, 9 Jul 2018, Hans Åberg wrote:
>> 
>>> On 8 Jul 2018, at 23:00, Otared Kavian  wrote:
 The advantage being that if the above formula appears in an environment 
 such as a Theorem (where the text is typeset in italic, or slanted) the 
 text in the above \mbox will be also in italic or slanted.
>>> 
>>> Math displayed formula text inheriting the style of the text appears in two 
>>> books from first published in 1966 and 1980 that I checked.
>>> 
>>> So a math text command should probably support that style.
>> 
>> IIRC, that is also the case for the \text command in amsmath.
> 
> There might be two commands, one that inherits the text environment style, 
> and one that keeps it in normal.

Also math and code (verbatim) might appear nested in Hoare logic and such.


___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

[NTG-context] loading hyphenation patterns (again)

2018-07-10 Thread Pablo Rodriguez
Dear list,

sorry for bothering with this again:

\setuplanguage[agr][patterns={agr, en}]
\setuplanguage[en][patterns={en, agr}]
\starttext
\hyphenatedword{judgmental}
\agr\hyphenatedword{judgmental}
\stoptext

I wonder why English cannot have extra hyphenation patterns, while
ancient Greek allows them.

Have I hit a bug or am I missing something?

Sorry for insisting, but I get weird results with column balancing
(registers).

Many thanks for your help,

Pablo
-- 
http://www.ousia.tk
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___