[NTG-context] UTF8 chars in attribute values (XML)

2019-05-19 Thread Pablo Rodriguez
Hi Hans,

I’m afraid I found another issue with UTF8 chars in attribute values
when printing them.

\starttext
\startTEXpage[offset=1em]
\startXML

\stopXML
\stopTEXpage
\stoptext

Inspecting buff-imp-xml.lua, I understand that "alsoname" should be
added to "key". But I don’t know where or how this could be achieved.

Sorry for not providing a patch,

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 UTF8 chars in XML elements

2019-05-19 Thread Pablo Rodriguez
On 5/5/19 5:25 PM, Axel Kielhorn wrote:
>> Am 05.05.2019 um 14:58 schrieb Pablo Rodriguez:
>> [...]
>> ConTeXt has problems parsing . To the best of my knowledge, this
>> is a valid XML element name (sorry, but I don’t have a better reference:
>> https://en.wikipedia.org/wiki/XML#International_use]).
>
> I had the same problem with an „ä“ in one of my elements.

Hans fixed this in latest beta (so that everybody knows).

Hans, many thanks for the fix.

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] interactive link area and scale in LMTX

2019-05-19 Thread Pablo Rodriguez
On 5/18/19 11:00 PM, Hans Hagen wrote:
> On 5/18/2019 7:12 PM, Pablo Rodriguez wrote:
>> [...]
>> Interactive link areas are fine in latest beta (2019.05.18 10:57) with
>> LuaTeX-1.10, but with LuaTeX-2.0, they aren’t scaled.
>>
>> Could anyone confirm the issue?
> fixed in next beta

Hans,

many thanks for your fix.

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] EB Garamond works in TL2016 ConTeXt but not in latest ConTeXt

2019-05-19 Thread Wolfgang Schuster

Hans Hagen schrieb am 19.05.2019 um 12:22:

On 5/19/2019 11:46 AM, Wolfgang Schuster wrote:

nyssus schrieb am 19.05.2019 um 11:31:

In my source ConTeXt file I have the lines:

\usetypescriptfile[type-ebgaramond]
\setupbodyfont[ebgaramond,10pt]


ConTeXt from TL 2016 correctly formats the text in EB Garamond, as can
be shown by the prescence of

mkiv lua stats  > loaded fonts: 2 files: ebgaramond12-regular.otf,
texgyrebonum-math.otf

whereas the latest ConTeXt gives:

fonts   > defining > font with asked name 
'EBGaramond12-Regular'

is not found using lookup 'file'
fonts   > defining > unknown font 'EBGaramond12-Regular',
loading aborted
fonts   > defining > unable to define 'EBGaramond12-Regular' as
'ebgaramond-10pt-rm-tf-0--0'

and typesets the text with TeX Gyre Bonum Math. I have the EBGaramond
fonts installed, set the OSFONTDIR path in setuptex, etc. What exactly
is wrong here?
There is a newer version of the fonts (from October 2017) which uses 
different files names than the older version (from 2014) but the 
predefined typescripts work only with the older names.


the names are mapped in a goodie file .. where did you find the new 
fonts?

https://github.com/octaviopardo/EBGaramond12/tree/master/fonts/

About the newer version: 
https://en.wikipedia.org/wiki/EB_Garamond#Implementation_History


Wolfgang

___
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] EB Garamond works in TL2016 ConTeXt but not in latest ConTeXt

2019-05-19 Thread Hans Hagen

On 5/19/2019 11:46 AM, Wolfgang Schuster wrote:

nyssus schrieb am 19.05.2019 um 11:31:

In my source ConTeXt file I have the lines:

\usetypescriptfile[type-ebgaramond]
\setupbodyfont[ebgaramond,10pt]


ConTeXt from TL 2016 correctly formats the text in EB Garamond, as can
be shown by the prescence of

mkiv lua stats  > loaded fonts: 2 files: ebgaramond12-regular.otf,
texgyrebonum-math.otf

whereas the latest ConTeXt gives:

fonts   > defining > font with asked name 'EBGaramond12-Regular'
is not found using lookup 'file'
fonts   > defining > unknown font 'EBGaramond12-Regular',
loading aborted
fonts   > defining > unable to define 'EBGaramond12-Regular' as
'ebgaramond-10pt-rm-tf-0--0'

and typesets the text with TeX Gyre Bonum Math. I have the EBGaramond
fonts installed, set the OSFONTDIR path in setuptex, etc. What exactly
is wrong here?
There is a newer version of the fonts (from October 2017) which uses 
different files names than the older version (from 2014) but the 
predefined typescripts work only with the older names.


the names are mapped in a goodie file .. where did you find the new fonts?


Instead of using the existing typescripts you can use the 
\definefontfamily command to access the font.


\definefontfamily [ebgaramond] [serif] [EB Garamond]
\definefontfamily [ebgaramond] [math]  [TeX Gyre Bonum Math]

\setupbodyfont [ebgaramond,10pt]

\starttext
...
\stoptext

Wolfgang

___ 

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
___ 




--

-
  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] EB Garamond works in TL2016 ConTeXt but not in latest ConTeXt

2019-05-19 Thread Wolfgang Schuster

nyssus schrieb am 19.05.2019 um 11:31:

In my source ConTeXt file I have the lines:

\usetypescriptfile[type-ebgaramond]
\setupbodyfont[ebgaramond,10pt]


ConTeXt from TL 2016 correctly formats the text in EB Garamond, as can
be shown by the prescence of

mkiv lua stats  > loaded fonts: 2 files: ebgaramond12-regular.otf,
texgyrebonum-math.otf

whereas the latest ConTeXt gives:

fonts   > defining > font with asked name 'EBGaramond12-Regular'
is not found using lookup 'file'
fonts   > defining > unknown font 'EBGaramond12-Regular',
loading aborted
fonts   > defining > unable to define 'EBGaramond12-Regular' as
'ebgaramond-10pt-rm-tf-0--0'

and typesets the text with TeX Gyre Bonum Math. I have the EBGaramond
fonts installed, set the OSFONTDIR path in setuptex, etc. What exactly
is wrong here?
There is a newer version of the fonts (from October 2017) which uses 
different files names than the older version (from 2014) but the 
predefined typescripts work only with the older names.


Instead of using the existing typescripts you can use the 
\definefontfamily command to access the font.


\definefontfamily [ebgaramond] [serif] [EB Garamond]
\definefontfamily [ebgaramond] [math]  [TeX Gyre Bonum Math]

\setupbodyfont [ebgaramond,10pt]

\starttext
...
\stoptext

Wolfgang

___
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] EB Garamond works in TL2016 ConTeXt but not in latest ConTeXt

2019-05-19 Thread nyssus
In my source ConTeXt file I have the lines:

\usetypescriptfile[type-ebgaramond]
\setupbodyfont[ebgaramond,10pt]


ConTeXt from TL 2016 correctly formats the text in EB Garamond, as can
be shown by the prescence of

mkiv lua stats  > loaded fonts: 2 files: ebgaramond12-regular.otf,
texgyrebonum-math.otf

whereas the latest ConTeXt gives:

fonts   > defining > font with asked name 'EBGaramond12-Regular'
is not found using lookup 'file'
fonts   > defining > unknown font 'EBGaramond12-Regular',
loading aborted
fonts   > defining > unable to define 'EBGaramond12-Regular' as
'ebgaramond-10pt-rm-tf-0--0'

and typesets the text with TeX Gyre Bonum Math. I have the EBGaramond
fonts installed, set the OSFONTDIR path in setuptex, etc. What exactly
is wrong here?

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