Re: [NTG-context] Problem with setup for fonts

2017-08-28 Thread Pablo Rodriguez
On 08/28/2017 10:53 AM, Robert Blackstone wrote:
> [...]
> Hi Pablo,
> This works, thank you very much. 
> I had tried several fonts mentioned on the ConTeX-wiki in the
> chapter "Using Math fonts in MkIV" but TeX Gyre Termes Math is not
> mentioned there. But actually it is [mm] that does the trick and I
> had not realized that.
> Even then several of the Math fonts mentioned did not work.

Hi Robert,

I don’t do math myself. I only knew from defining it for \setupitemize
(as kindly explained by Wolfgang and Hans).

The only thing is that your serif typeface won’t match its math
counterpart. But this is a cosmetic question.

Glad to read it helped,

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] Problem with setup for fonts

2017-08-28 Thread Robert Blackstone

On 27 Aug 2017, at 23:27 , : Pablo Rodriguez  wrote
> 
> On 08/27/2017 08:46 PM, Robert Blackstone wrote:
>> Hi Hans,
>> Thanks for your reaction. Unfortunately it has not helped me for I have
>> no idea how to set the parameter \Umathquad\textstyle. Just loading the
>> fonts, as I believed you suggest in your mail, does not change anything:
>> the compilation with a 2017 mkiv still stops at  “
>> 7~$\xrightarrow[none]$~6 progression ”.
> 
> Hi Robert,
> 
> this works with latest beta from 2017.08.24 19:46:
> 
>\definefontfamily[mainface][rm][Verdana]
>\definefontfamily[mainface][tt][Courier]
>\definefontfamily[mainface][mm][TeX Gyre Termes Math]
>\setupbodyfont[mainface
>\starttext
> 7~$\xrightarrow[none]$~6 progression
>\stoptext

Hi Pablo,
This works, thank you very much. 
I had tried several fonts mentioned on the ConTeX-wiki in the chapter "Using 
Math fonts in MkIV" but TeX Gyre Termes Math is not mentioned there. But 
actually it is [mm] that does the trick and I had not realized that. 
Even then several of the Math fonts mentioned did not work.

Thanks again. 

Best regards,

Robert
___
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] Problem with setup for fonts

2017-08-27 Thread Pablo Rodriguez
On 08/27/2017 08:46 PM, Robert Blackstone wrote:
> Hi Hans,
> Thanks for your reaction. Unfortunately it has not helped me for I have
> no idea how to set the parameter \Umathquad\textstyle. Just loading the
> fonts, as I believed you suggest in your mail, does not change anything:
> the compilation with a 2017 mkiv still stops at  “
> 7~$\xrightarrow[none]$~6 progression ”.

Hi Robert,

this works with latest beta from 2017.08.24 19:46:

\definefontfamily[mainface][rm][Verdana]
\definefontfamily[mainface][tt][Courier]
\definefontfamily[mainface][mm][TeX Gyre Termes Math]
\setupbodyfont[mainface]
\starttext
 7~$\xrightarrow[none]$~6 progression
\stoptext

I canno check it with Cambria (I’m on Linux).

> For me the simplest solution would be to keep working with pre-2017
> standalones for documents that contain these arrows (for musical tone-
> or chord-progressions )
> But it intrigues me why some process that worked perfectly in many
> generations of mkiv has suddenly stopped working in the recent mkiv's. 

Either you provide a sample or we won’t guess which arrows are wrong.

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] Problem with setup for fonts

2017-08-27 Thread Robert Blackstone

On 25 Aug 2017, at 17:34 , Hans Hagen  wrote:
> To: ntg-context@ntg.nl
> 
> On 8/25/2017 12:21 PM, Robert Blackstone wrote:
>> On 08/24/2017 10:57 AM, Robert Blackstone wrote:
> [...]
> %++MWE+++
> \usemodule[simplefonts]
> \setmainfont[Verdana]
> \setupbodyfont[10pt]
>> does not work anymore in mkiv versions later than july 2016.
>> 
>> Pablo Rodriguez helped me out:
 
 Robert,
 
 those commands now read:
 
   \definefontfamily[mainface][rm][Verdana]
   \setupbodyfont[mainface, 10pt]
   \starttext
   \input zapf
   \stoptext
 
 I hope it helps,
 
 Pablo
>> 
>> It does help but for the Law of the Conservation of Trouble (or Misery)
>> 
>> Having properly changed my font setup  ConTeXt stumbles upon things like:
>> 
>> “ 7~$\xrightarrow[none]$~6 progression ”
>> 
>> The error message is:  " ! Ma error: parameter \Umathquad\textstyle is not 
>> set."
>> 
>> How and where can I remedy this?
> This means that you haven't defined a math font so you need something:
> 
> \definefontfamily[mainface][rm][Verdana]
> \definefontfamily[mainface][tt][Courier]
> \definefontfamily[mainface][mm][Cambria]
> 
> or so, depending on what combination you want

Hi Hans,
Thanks for your reaction. Unfortunately it has not helped me for I have no idea 
how to set the parameter \Umathquad\textstyle. Just loading the fonts, as I 
believed you suggest in your mail, does not change anything: the compilation 
with a 2017 mkiv still stops at  “ 7~$\xrightarrow[none]$~6 progression ”.
However, when I use the older font calls, 
 \usemodule[simplefonts]
\setmainfont[Verdana]  
it compiles correctly files containing arrows ( $\xrightarrow[none]$ )  with 
the pre-2017 mkiv's . With my 2017 mkiv it still compiles correctly albeit not 
with the specified font but with latinmodern-math.otf. (Btw, I found the same 
behaviour for other fonts, such as: dejavu, times, palatino, bonum, lucidanova, 
lucida, garamond, libertine, gentium, xits, courier, and cambria.)  

For me the simplest solution would be to keep working with pre-2017 standalones 
for documents that contain these arrows (for musical tone- or 
chord-progressions )
But it intrigues me why some process that worked perfectly in many generations 
of mkiv has suddenly stopped working in the recent mkiv's. 

Best regards,

Robert Blackstone








___
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] Problem with setup for fonts

2017-08-25 Thread Hans Hagen

On 8/25/2017 12:21 PM, Robert Blackstone wrote:

On 08/24/2017 10:57 AM, Robert Blackstone wrote:

[...]
%++MWE+++
\usemodule[simplefonts]
\setmainfont[Verdana]
\setupbodyfont[10pt]

does not work anymore in mkiv versions later than july 2016.

Pablo Rodriguez helped me out:


Robert,

those commands now read:

   \definefontfamily[mainface][rm][Verdana]
   \setupbodyfont[mainface, 10pt]
   \starttext
   \input zapf
   \stoptext

I hope it helps,

Pablo


It does help but for the Law of the Conservation of Trouble (or Misery)

Having properly changed my font setup  ConTeXt stumbles upon things like:

“ 7~$\xrightarrow[none]$~6 progression ”

The error message is:  " ! Ma error: parameter \Umathquad\textstyle is not set."

How and where can I remedy this?

This means that you haven't defined a math font so you need something:

\definefontfamily[mainface][rm][Verdana]
\definefontfamily[mainface][tt][Courier]
\definefontfamily[mainface][mm][Cambria]

or so, depending on what combination you want

-
  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] Problem with setup for fonts

2017-08-25 Thread Robert Blackstone
On 08/24/2017 10:57 AM, Robert Blackstone wrote:
>>> [...]
>>> %++MWE+++
>>> \usemodule[simplefonts]
>>> \setmainfont[Verdana]
>>> \setupbodyfont[10pt]
does not work anymore in mkiv versions later than july 2016.

Pablo Rodriguez helped me out:
>> 
>> Robert,
>> 
>> those commands now read:
>> 
>>   \definefontfamily[mainface][rm][Verdana]
>>   \setupbodyfont[mainface, 10pt]
>>   \starttext
>>   \input zapf
>>   \stoptext
>> 
>> I hope it helps,
>> 
>> Pablo

It does help but for the Law of the Conservation of Trouble (or Misery)

Having properly changed my font setup  ConTeXt stumbles upon things like:

“ 7~$\xrightarrow[none]$~6 progression ” 

The error message is:  " ! Ma error: parameter \Umathquad\textstyle is not set."

How and where can I remedy this? 

Thanks in advance  for any advice.

Best regards, 
Robert Blackstone


___
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] Problem with setup for fonts

2017-08-24 Thread Robert Blackstone

On 24 Aug 2017, at 17:10 , Pablo Rodriguez  wrote:
> 
> On 08/24/2017 10:57 AM, Robert Blackstone wrote:
>> [...]
>> %++MWE+++
>> \usemodule[simplefonts]
>> \setmainfont[Verdana]
>> \setupbodyfont[10pt]
> 
> Robert,
> 
> those command now read:
> 
>\definefontfamily[mainface][rm][Verdana]
>\setupbodyfont[mainface, 10pt]
>\starttext
>\input zapf
>\stoptext
> 
> I hope it helps,
> 
> Pablo

Thanks Pablo. It does help.

Best regards,
Robert

___
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] Problem with setup for fonts

2017-08-24 Thread Pablo Rodriguez
On 08/24/2017 10:57 AM, Robert Blackstone wrote:
> [...]
> %++MWE+++
> \usemodule[simplefonts]
> \setmainfont[Verdana]
> \setupbodyfont[10pt]


Robert,

those command now read:

\definefontfamily[mainface][rm][Verdana]
\setupbodyfont[mainface, 10pt]
\starttext
\input zapf
\stoptext

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
___

[NTG-context] Problem with setup for fonts

2017-08-24 Thread Robert Blackstone
Dear all,
I’ve been “out of ConTeXt” for a few months. In the meantime some things seem 
to have changed quite a bit.
My present task is to handle the typesetting of the revision, for an external 
publisher, of my wife’s PhD thesis. I stumbled on a problem with fonts.

I can typeset the book in its present version and the revised chapters with 
mkiv versions till mid 2016. The version I recently installed, on 23-08-2017, 
does not recognize the setups for the font selection anymore.
The MWE below shows the problem.
The older mkiv’s give Verdana, the present version  some different font, 
probably the default TeX font.
The same happens, m.m., when I replace Verdana with, for example, dejavu.

%++MWE+++
\usemodule[simplefonts]
\setmainfont[Verdana]
\setupbodyfont[10pt]
%\setupinterlinespace[line=18pt]

\definebodyfontenvironment[10pt][interlinespace=19pt]
\definebodyfontenvironment[9pt]%[interlinespace=16pt]
\definebodyfontenvironment[8pt]

\setupindenting[yes,20pt]%,next]
\setuppagenumbering[alternative=doublesided]


\starttext
\input knuth
\stoptext

%%+++%% 

So clearly these commands do not work anymore.
I experimented a bit with information on wiki.contextgarden.net but without 
success.

Can someone help me out here?

Thanks in advance.

Best regards,
Robert Blackstone

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