ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Re: Problem with setup for fonts
       [not found] <mailman.1802.1503587454.2080.ntg-context@ntg.nl>
@ 2017-08-24 20:28 ` Robert Blackstone
  0 siblings, 0 replies; 9+ messages in thread
From: Robert Blackstone @ 2017-08-24 20:28 UTC (permalink / raw)
  To: ntg-context; +Cc: Pablo Rodriguez


On 24 Aug 2017, at 17:10 , Pablo Rodriguez <oinos@gmx.es> 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Problem with setup for fonts
  2017-08-28  8:53 ` Robert Blackstone
@ 2017-08-28 14:07   ` Pablo Rodriguez
  0 siblings, 0 replies; 9+ messages in thread
From: Pablo Rodriguez @ 2017-08-28 14:07 UTC (permalink / raw)
  To: ntg-context

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Problem with setup for fonts
       [not found] <mailman.1853.1503869246.2080.ntg-context@ntg.nl>
@ 2017-08-28  8:53 ` Robert Blackstone
  2017-08-28 14:07   ` Pablo Rodriguez
  0 siblings, 1 reply; 9+ messages in thread
From: Robert Blackstone @ 2017-08-28  8:53 UTC (permalink / raw)
  To: ntg-context


On 27 Aug 2017, at 23:27 , : Pablo Rodriguez <oinos@gmx.es> 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Problem with setup for fonts
  2017-08-27 18:46 ` Robert Blackstone
@ 2017-08-27 19:57   ` Pablo Rodriguez
  0 siblings, 0 replies; 9+ messages in thread
From: Pablo Rodriguez @ 2017-08-27 19:57 UTC (permalink / raw)
  To: ntg-context

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Problem with setup for fonts
       [not found] <mailman.1829.1503675257.2080.ntg-context@ntg.nl>
@ 2017-08-27 18:46 ` Robert Blackstone
  2017-08-27 19:57   ` Pablo Rodriguez
  0 siblings, 1 reply; 9+ messages in thread
From: Robert Blackstone @ 2017-08-27 18:46 UTC (permalink / raw)
  To: ntg-context


[-- Attachment #1.1: Type: text/plain, Size: 2474 bytes --]


On 25 Aug 2017, at 17:34 , Hans Hagen <pragma@wxs.nl> 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









[-- Attachment #1.2: Type: text/html, Size: 5483 bytes --]

[-- Attachment #2: Type: text/plain, Size: 492 bytes --]

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Problem with setup for fonts
  2017-08-25 10:21 ` Robert Blackstone
@ 2017-08-25 10:31   ` Hans Hagen
  0 siblings, 0 replies; 9+ messages in thread
From: Hans Hagen @ 2017-08-25 10:31 UTC (permalink / raw)
  To: ntg-context

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Problem with setup for fonts
       [not found] <mailman.1810.1503621116.2080.ntg-context@ntg.nl>
@ 2017-08-25 10:21 ` Robert Blackstone
  2017-08-25 10:31   ` Hans Hagen
  0 siblings, 1 reply; 9+ messages in thread
From: Robert Blackstone @ 2017-08-25 10:21 UTC (permalink / raw)
  To: ntg-context

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Problem with setup for fonts
  2017-08-24  8:57 Robert Blackstone
@ 2017-08-24 13:13 ` Pablo Rodriguez
  0 siblings, 0 replies; 9+ messages in thread
From: Pablo Rodriguez @ 2017-08-24 13:13 UTC (permalink / raw)
  To: ntg-context

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Problem with setup for fonts
@ 2017-08-24  8:57 Robert Blackstone
  2017-08-24 13:13 ` Pablo Rodriguez
  0 siblings, 1 reply; 9+ messages in thread
From: Robert Blackstone @ 2017-08-24  8:57 UTC (permalink / raw)
  To: ntg-context

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2017-08-28 14:07 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <mailman.1802.1503587454.2080.ntg-context@ntg.nl>
2017-08-24 20:28 ` Problem with setup for fonts Robert Blackstone
     [not found] <mailman.1853.1503869246.2080.ntg-context@ntg.nl>
2017-08-28  8:53 ` Robert Blackstone
2017-08-28 14:07   ` Pablo Rodriguez
     [not found] <mailman.1829.1503675257.2080.ntg-context@ntg.nl>
2017-08-27 18:46 ` Robert Blackstone
2017-08-27 19:57   ` Pablo Rodriguez
     [not found] <mailman.1810.1503621116.2080.ntg-context@ntg.nl>
2017-08-25 10:21 ` Robert Blackstone
2017-08-25 10:31   ` Hans Hagen
2017-08-24  8:57 Robert Blackstone
2017-08-24 13:13 ` Pablo Rodriguez

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).