Re: [NTG-context] Substituting Greek characters in math mode

2017-09-07 Thread Alan Bowen
Let me try again with fonts in the ConteXt distribution.

The aim is to substitute Pagella letters (roman and Greek) and numerals for
those in Dejavu Math. It gets the numerals and the Greek capitals right but
the rest (roman lower– and uppercase, and lowercase Greek) are still in
Dejavu. How can I fix this?

\definefontfamily[mainface][serif][TeX Gyre Pagella][]

\definefallbackfamily[mainface][mm][TeX Gyre Pagella]
[range={0030-0039, 0041-005A, 0061-0071, 0391-03A9, 03B1-03C9}, scale=1]

\definefallbackfamily [mainface] [mm]
[TeXGyrePagella][preset=math:lowercasegreeknormal]
\definefallbackfamily [mainface] [mm] [TeXGyrePagellaItalic]
[preset=math:lowercasegreekitalic]
\definefallbackfamily [mainface] [mm] [TeXGyrePagella]
[preset=math:uppercasegreeknormal]
\definefallbackfamily [mainface] [mm] [TeXGyrePagellaItalic]
[preset=math:uppercasegreekitalic]


\definefontfamily[mainface][mm][Dejavu Math][scale=1]

\setupmathematics[autopunctuation={all}, ucgreek=normal, lcgreek=italic]

\setupbodyfont[mainface,10pt]

\starttext

A~B~C~a~b~c (Pagella)

\emph{A~B~C~a~b~c} (Pagella)\\
\m{A~B~C~a~b~c} (math: Pagella?)
\blank
0123456789 (Pagella) \\
\m{0123456789} (math: Pagella?)
\blank
δ \emph{δ} (Pagella) \\
\m{δ} (math: Pagella?)
\blank
π \emph{π} (Pagella) \\
\m{π} (math: Pagella?)
\blank
Π \emph{ Π} (Pagella) \\
\m{Π} (math: Pagella?)
\blank
Δ \emph{ Δ} (Pagella) \\
\m{Δ}  (math: Pagella?)

\stoptext

Alan

On Tue, Sep 5, 2017 at 5:42 PM, Alan Bowen  wrote:

> I should like to have the Brill font substitute for the Greek alphabet
> (upper and lower cases) as well for the numerals in Tex Gyre Termes Math.
>
> So far, I have been able to get the Brill numerals (oldstyle) but nothing
> more: the Greek letters in math mode are from Termes Math.
>
> Here is what I have:
>
> \definefontfamily[mainface][serif][Brill]
> [protrusion=quality,
> expansion=quality,
> mode=node,
> force=yes,
> ]
>
> \definefallbackfamily[mainface][mm][Brill][range={0030-0039, 0391-03A9,
> 03B1-03C9}, scale=1]
>
> \definefallbackfamily [mainface] [mm] [Brill] [preset=math:
> lowercasegreeknormal]
> \definefallbackfamily [mainface] [mm] [BrillItalic] [preset=math:
> lowercasegreekitalic]
> \definefallbackfamily [mainface] [mm] [Brill] [preset=math:
> uppercasegreeknormal]
> \definefallbackfamily [mainface] [mm] [BrillItalic] [preset=math:
> uppercasegreekitalic]
>
>
> \definefontfamily[mainface][mm][TeX Gyre Termes Math][scale=0.94]
> \setupmathematics[autopunctuation={all}, ucgreek=normal, lcgreek=italic]
>
> \setupbodyfont[mainface,10pt]
>
> \starttext
>
> A~B~C~a~b~c
>
> \emph{A~B~C~a~b~c}\quad math: \m{A~B~C~a~b~c}
>
> 0123456789\quad math: \m{0123456789}
>
> δ \emph{δ}\quad math: \m{δ}
>
> π \emph{π}\quad math: \m{π}
>
> Π \emph{ Π}\quad math: \m{Π}
>
> \stoptext
>
> Any suggestions or pointers will be most welcome.
>
> Alan
>
>
___
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] \setupheadertexts except on pages with title of chapter

2017-09-07 Thread Pablo Rodriguez
On 09/07/2017 04:43 PM, Fabrice Couvreur wrote:
> Hi Pablo,
> Thanks but I'm confused because I found the answer on the wiki.

Hi Fabrice,

and which is the problem? Had you searched the answer before and you
didn’t found it that search?

No problem. Probably you were spending too much time with the computer.
You needed a break ;-).

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] \setupheadertexts except on pages with title of chapter

2017-09-07 Thread Fabrice Couvreur
HI Pablo,
Hi Pablo,
Thanks but I'm confused because I found the answer on the wiki.
Fabrice

2017-09-07 6:35 GMT+02:00 Pablo Rodriguez :

> On 09/06/2017 11:04 PM, Fabrice Couvreur wrote:
> > Hello,
> > I would like that on the pages with the title of the chapter the header
> > is empty.
>
> Hi Fabrice,
>
> this is the command you need:
>
>   \setuphead[chapter][header=empty]
>
> I hope it helps,
>
> 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
> 
> ___
___
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] Tagging and Math Matrix

2017-09-07 Thread Hans Hagen

On 9/7/2017 7:51 AM, Christoph Reller wrote:


However: Testing never stops ;-) I have the following MWE:
These alignments are kind of tricky. I made a fix (will upload later) 
but we need more tests or actually a proper test suite for this. I'm 
pretty sure that there are other issues. (For instance one needs to get 
rid of artifacts related to spacing and wrappers.)


Hans


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

[NTG-context] mathalignment vs mathmatrix

2017-09-07 Thread Henri
Dear devs,

In the latest beta the interaction between mathalignment and mathmatrix is 
broken.  The biggest
problem is that documents containing this pattern do not typeset anymore at 
all!  (That makes 100
errors; please try again.)  Please fix.

Cheers, Henri

---

\define\Up{\mathord\Uparrow}
\define\Dn{\mathord\Downarrow}

\starttext

\placeformula
\startformula
  \startmathalignment
\NC \psi_{+,\Up} ...
\startmathmatrix
\stopmathmatrix
\NR
\NC \psi_{+,\Dn} ...
\NR
  \stopmathalignment
\stopformula

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