Re: [NTG-context] Error with Libertinus Semibold and new standalone beta

2017-07-16 Thread Rik Kabel

On 2017-07-16 06:15, Hans Hagen wrote:

On 7/16/2017 1:43 AM, Rik Kabel wrote:
With the example below and the latest beta (2017.07.14 19:35), I get 
the following error whenever a bold face is requested:


lua error   > lua error on line 44 in file
C:/Users/rik/Desktop/test/prod_quotation.tex:
...ext/tex/texmf-context/tex/context/base/mkiv/font-ots.lua:5336:
attempt to index local 'one' (a boolean value)

The typescript in the example is based on the delivered typescript 
with the replacement of bold fonts by semibold. This has worked in 
the past with no problems.


(Is there a way to accomplish this without replicating the whole of 
the typescript?)

  \definefontsynonym
 [file:libertinusserif-bold]
 [file:libertinusserif-semibold]


Thank you very much, and also thank you for the quick turnaround on the fix.

I had tried
\definefontsynonym [LibertinusSerif-Bold] 
[file:libertinusserif-semibold]

but never thought to try what clearly works.

--
Rik

___
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] Error with Libertinus Semibold and new standalone beta

2017-07-16 Thread Hans Hagen

On 7/16/2017 1:43 AM, Rik Kabel wrote:
With the example below and the latest beta (2017.07.14 19:35), I get the 
following error whenever a bold face is requested:


lua error   > lua error on line 44 in file
C:/Users/rik/Desktop/test/prod_quotation.tex:
...ext/tex/texmf-context/tex/context/base/mkiv/font-ots.lua:5336:
attempt to index local 'one' (a boolean value)

The typescript in the example is based on the delivered typescript with 
the replacement of bold fonts by semibold. This has worked in the past 
with no problems.


(Is there a way to accomplish this without replicating the whole of the 
typescript?)

  \definefontsynonym
 [file:libertinusserif-bold]
 [file:libertinusserif-semibold]



-
  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] Error with Libertinus Semibold and new standalone beta

2017-07-15 Thread Rik Kabel
With the example below and the latest beta (2017.07.14 19:35), I get the 
following error whenever a bold face is requested:


   lua error   > lua error on line 44 in file
   C:/Users/rik/Desktop/test/prod_quotation.tex:
   ...ext/tex/texmf-context/tex/context/base/mkiv/font-ots.lua:5336:
   attempt to index local 'one' (a boolean value)

The typescript in the example is based on the delivered typescript with 
the replacement of bold fonts by semibold. This has worked in the past 
with no problems.


(Is there a way to accomplish this without replicating the whole of the 
typescript?)


   \starttypescript [serif] [libertinus]
\setups[font:fallback:serif]
\definefontsynonym [LibertinusSerif-Regular]
   [file:libertinusserif-regular]
\definefontsynonym [LibertinusSerif-Italic]
[file:libertinusserif-italic]
\definefontsynonym [LibertinusSerif-Slanted]
   [file:libertinusserif-italic]
   %   \definefontsynonym [LibertinusSerif-Bold]
   %  [file:libertinusserif-bold]
   %   \definefontsynonym [LibertinusSerif-BoldItalic]
   %  [file:libertinusserif-bolditalic]
   %   \definefontsynonym [LibertinusSerif-BoldSlanted]
   %  [file:libertinusserif-bolditalic]
\definefontsynonym [LibertinusSerif-Bold]
   [file:libertinusserif-semibold]
\definefontsynonym [LibertinusSerif-BoldItalic]
   [file:libertinusserif-semibolditalic]
\definefontsynonym [LibertinusSerif-BoldSlanted]
   [file:libertinusserif-semibolditalic]
   \stoptypescript
   \starttypescript [serif] [libertinus] [name]
\setups[font:fallback:serif]
\definefontsynonym [Serif]
[LibertinusSerif-Regular]
[features=default]
\definefontsynonym [SerifItalic]
[LibertinusSerif-Italic]
[features=default]
\definefontsynonym [SerifSlanted]
[LibertinusSerif-Slanted]
[features=default]
\definefontsynonym [SerifBold]
[LibertinusSerif-Bold]
[features=default]
\definefontsynonym [SerifBoldItalic]
[LibertinusSerif-BoldItalic]
[features=default]
\definefontsynonym [SerifBoldSlanted]
[LibertinusSerif-BoldSlanted]
[features=default]
\definefontsynonym [SerifCaps]
[LibertinusSerif-Regular]
[features=smallcaps]
   \stoptypescript
   \definetypeface[mainface][rm][serif][libertinus][default]
   \setupbodyfont [mainface]
   \starttext
Text
\bf bold text
   \stoptext

--
Rik

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