Re: [NTG-context] How to use Helvetica Neue Light (OS X)?

2016-02-10 Thread Nicola

On 2016-02-10 12:48:32 +, Hans Hagen said:


On 2/10/2016 12:36 PM, Nicola wrote:


(1) I conclude that .dfont fonts are not dealt properly by ConTeXt, or
that I am missing some configuration step.


indeed the latest mkiv does not support dfonts any longer


Ok, good to know. Any suggestion on how to select a font within a .ttc?

Btw, I read in the wiki(*) that “the current version of LuaTeX (0.60)
has severe problems dealing with the new TrueType collection fonts in
Snow Leopard (Mac OS 10.6).”

Is that still the case with the current LuaTeX (I am on El Capitan)? That
might explain my results.

What is the best practice: do you recommended using only ttf and otf fonts?

Nicola

(*) http://wiki.contextgarden.net/Fonts_in_LuaTeX#Querying_the_font_database


___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] wrong xml char handling

2016-02-10 Thread Hans Hagen

On 2/10/2016 3:38 PM, Pablo Rodriguez wrote:

On 02/10/2016 01:51 PM, Hans Hagen wrote:

On 2/10/2016 12:19 PM, Pablo Rodriguez wrote:

[...]
Sorry for sounding impatient, but since next beta may take longer to be
released (because of columnsets), would it be possible to have a patch
to use latest released beta?


patch involves more than one line in a few files


OK, this is fine for me. I only asked because I thought it was a simple
replacement.


fwiw: here we never used the latest beta in critical workflows unless
tested beforehand (so we always lag a few betas behind)


Many thanks for the advice.

My workflow isn’t really critical. Sorry, but I’m afraid I don’t earn a
living (or even make money) with ConTeXt.

I think it makes sense that I work with latest beta. This is the only
way I can reasonably test it, so I may report issues that will benefit
every ConTeXt user (including myself :-)).

But, please, let me know whehter my previous assumption is wrong.


sounds ok to me but then you have to wait till i update (one of these days)

Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: 038 477 53 69 | www.pragma-ade.com | 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] How to use Helvetica Neue Light (OS X)?

2016-02-10 Thread Nicola

On 2016-02-10 14:13:37 +, Hans Hagen said:


Ok, good to know. Any suggestion on how to select a font within a .ttc?


normally by name


Btw, I read in the wiki(*) that “the current version of LuaTeX (0.60)
has severe problems dealing with the new TrueType collection fonts in
Snow Leopard (Mac OS 10.6).”


0.60 is ancient ... we have approx 0.90 now


Is that still the case with the current LuaTeX (I am on El Capitan)? That
might explain my results.


i don't use osx but others can tell you


What is the best practice: do you recommended using only ttf and otf fonts?


ttc is okay


So, if someone using OS X could tell me how to, say, use Avenir Light or
Avenir Next Ultra Light (both are .ttc), that would be much appreciated :)

Nicola


___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] How to use Helvetica Neue Light (OS X)?

2016-02-10 Thread Taco Hoekwater
Hi,

> On 10 Feb 2016, at 16:19, Pablo Rodriguez  wrote:
> 
> On 02/10/2016 03:45 PM, Nicola wrote:
>> On 2016-02-10 14:13:37 +, Hans Hagen said:
 
 Ok, good to know. Any suggestion on how to select a font within a .ttc?
>>> 
>>> normally by name


It seems the ttc extractor fails in the current beta, at least on osx. 

After a —reload of the fonts, I get similar results to Nicola: only one 
indexed font is found for each of the .ttc files (always the last index). 

So, for example, I have only these four entries for Avenir Next Condensed:

avenirnextcondensed avenirnextcondensedultralightitalic   
/System/Library/Fonts/Avenir Next Condensed.ttc  index: 12
avenirnextcondenseditalic   avenirnextcondensedultralightitalic   
/System/Library/Fonts/Avenir Next Condensed.ttc  index: 12
avenirnextcondensedlightavenirnextcondensedultralightitalic   
/System/Library/Fonts/Avenir Next Condensed.ttc  index: 12
avenirnextcondensedultralightitalic avenirnextcondensedultralightitalic   
/System/Library/Fonts/Avenir Next Condensed.ttc  index: 12

The last of those lines is the most specific one, the earlier ones are probably 
heuristically derived, and the font works indeed ok.

But the fonts at index 1–11 of the ttc are missing completely! 

That same issue happens for all the ttcs files on my system, with the
latest standalone beta.

Best wishes,
Taco
___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] How to use Helvetica Neue Light (OS X)?

2016-02-10 Thread Pablo Rodriguez
On 02/10/2016 03:45 PM, Nicola wrote:
> On 2016-02-10 14:13:37 +, Hans Hagen said:
>>>
>>> Ok, good to know. Any suggestion on how to select a font within a .ttc?
>>
>> normally by name
>>
>>> Btw, I read in the wiki(*) that “the current version of LuaTeX (0.60)
>>> has severe problems dealing with the new TrueType collection fonts in
>>> Snow Leopard (Mac OS 10.6).”
>>
>> 0.60 is ancient ... we have approx 0.90 now
>>
>>> Is that still the case with the current LuaTeX (I am on El Capitan)? That
>>> might explain my results.
>>
>> i don't use osx but others can tell you
>>
>>> What is the best practice: do you recommended using only ttf and otf fonts?
>>
>> ttc is okay
> 
> So, if someone using OS X could tell me how to, say, use Avenir Light or
> Avenir Next Ultra Light (both are .ttc), that would be much appreciated :)

Hi Nicolca,

I’m not OS user, but the following works with Junction
(https://www.theleagueofmoveabletype.com/junction):

\definefontfamily[mainface][ss][Junction][tf=style:light]

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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] Floating split TABLE misaligned

2016-02-10 Thread Andreas Schneider

Am 2016-02-05 11:29, schrieb Andreas Schneider:

Hi,

I presume I found a bug in TABLE placement. The attached examples
shows, that the split TABLE is not centered on the first page, bug
centered on the second. I would expect it to be centered in both
cases.

Best regards,
Andreas


As much as I hate to bump threads ... but can someone at least confirm 
that I not just misused \placetable or Natural Tables? :-)

(Solutions for the problem are most welcome too, of course ;-))
___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] issue with typeface definition order

2016-02-10 Thread Pablo Rodriguez
On 02/10/2016 01:13 PM, Wolfgang Schuster wrote:
>> Pablo Rodriguez 10. Februar 2016 um 13:06
>> [...]
>> Using latest beta (2016.02.08 15:35), if sans is defined before serif,
>> the default family is sans (no serif used). It only works as intended if
>> serif is defined before sans.
>>
>> Is this the intended behavior?
> Yes, the first style is used as default when you enable the typeface.

Many thanks for your reply. Wolfgang.

Good to know. I suspected that before, but I didn’t know for sure before.

Many thanks for your help,


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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] How to use Helvetica Neue Light (OS X)?

2016-02-10 Thread Hans Hagen

On 2/10/2016 2:51 PM, Nicola wrote:

On 2016-02-10 12:48:32 +, Hans Hagen said:


On 2/10/2016 12:36 PM, Nicola wrote:


(1) I conclude that .dfont fonts are not dealt properly by ConTeXt, or
that I am missing some configuration step.


indeed the latest mkiv does not support dfonts any longer


Ok, good to know. Any suggestion on how to select a font within a .ttc?


normally by name


Btw, I read in the wiki(*) that “the current version of LuaTeX (0.60)
has severe problems dealing with the new TrueType collection fonts in
Snow Leopard (Mac OS 10.6).”


0.60 is ancient ... we have approx 0.90 now


Is that still the case with the current LuaTeX (I am on El Capitan)? That
might explain my results.


i don't use osx but others can tell you


What is the best practice: do you recommended using only ttf and otf fonts?


ttc is okay

Hans


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: 038 477 53 69 | www.pragma-ade.com | 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] wrong xml char handling

2016-02-10 Thread Pablo Rodriguez
On 02/10/2016 01:51 PM, Hans Hagen wrote:
> On 2/10/2016 12:19 PM, Pablo Rodriguez wrote:
>> [...]
>> Sorry for sounding impatient, but since next beta may take longer to be
>> released (because of columnsets), would it be possible to have a patch
>> to use latest released beta?
> 
> patch involves more than one line in a few files

OK, this is fine for me. I only asked because I thought it was a simple
replacement.

> fwiw: here we never used the latest beta in critical workflows unless 
> tested beforehand (so we always lag a few betas behind)

Many thanks for the advice.

My workflow isn’t really critical. Sorry, but I’m afraid I don’t earn a
living (or even make money) with ConTeXt.

I think it makes sense that I work with latest beta. This is the only
way I can reasonably test it, so I may report issues that will benefit
every ConTeXt user (including myself :-)).

But, please, let me know whehter my previous assumption is wrong.

Many thanks for your help,

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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] How to use Helvetica Neue Light (OS X)?

2016-02-10 Thread Nicola

On 2016-02-10 15:49:37 +, Taco Hoekwater said:


It seems the ttc extractor fails in the current beta, at least on osx.

After a —reload of the fonts, I get similar results to Nicola: only one
indexed font is found for each of the .ttc files (always the last index).


I have exactly the same for the beta. Let me add that things do not look
right with ConTeXt from TeX Live either. Try this:

1) remove the cache from ~/Library/texlive/2015/texmf-var
2) luatools --generate
3) mtxrun --script fonts --list --all --pattern=avenirnextcondensed*
4) Typeset my test document using Avenir Next Condensed.
5) mtxrun --script fonts --reload
6) mtxrun --script fonts --list --all --pattern=avenirnextcondensed*
7) Typeset again.

My results:

3) I see all the entries, plus some spurious ones, which are probably
  synthesized by the script (e.g., avenirnextcondensedblack).
4) The PDF is an empty document (`unknown font` in the console).
6) I see only avenirnextcondensed and avenirnextcondensedbold: the rest
  is gone.
7) The document is typeset in boldface (at least the font is found).

Nicola


___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] How to use Helvetica Neue Light (OS X)?

2016-02-10 Thread Nicola

On 2016-02-10 15:19:01 +, Pablo Rodriguez said:


I’m not OS user, but the following works with Junction
(https://www.theleagueofmoveabletype.com/junction):

\definefontfamily[mainface][ss][Junction][tf=style:light]


Thanks, that indeed does the trick (modulo Taco's comment in another post).

Nicola


___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] How to use Helvetica Neue Light (OS X)?

2016-02-10 Thread Hans Hagen

On 2/10/2016 6:06 PM, Nicola wrote:

On 2016-02-10 15:49:37 +, Taco Hoekwater said:


It seems the ttc extractor fails in the current beta, at least on osx.

After a —reload of the fonts, I get similar results to Nicola: only one
indexed font is found for each of the .ttc files (always the last index).


I have exactly the same for the beta. Let me add that things do not look
right with ConTeXt from TeX Live either. Try this:

1) remove the cache from ~/Library/texlive/2015/texmf-var
2) luatools --generate
3) mtxrun --script fonts --list --all --pattern=avenirnextcondensed*
4) Typeset my test document using Avenir Next Condensed.
5) mtxrun --script fonts --reload
6) mtxrun --script fonts --list --all --pattern=avenirnextcondensed*
7) Typeset again.

My results:

3) I see all the entries, plus some spurious ones, which are probably
   synthesized by the script (e.g., avenirnextcondensedblack).
4) The PDF is an empty document (`unknown font` in the console).
6) I see only avenirnextcondensed and avenirnextcondensedbold: the rest
   is gone.
7) The document is typeset in boldface (at least the font is found).


can you delete the fonts path in the texmf-cache

Hans


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: 038 477 53 69 | www.pragma-ade.com | 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] How to use Helvetica Neue Light (OS X)?

2016-02-10 Thread Hans Hagen

On 2/10/2016 5:44 PM, Nicola wrote:

On 2016-02-10 15:19:01 +, Pablo Rodriguez said:


I’m not OS user, but the following works with Junction
(https://www.theleagueofmoveabletype.com/junction):

\definefontfamily[mainface][ss][Junction][tf=style:light]


Thanks, that indeed does the trick (modulo Taco's comment in another post).


mtxrun --script font --reload --force


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: 038 477 53 69 | www.pragma-ade.com | 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] wrong xml char handling

2016-02-10 Thread Pablo Rodriguez
On 02/09/2016 06:02 PM, Hans Hagen wrote:
> On 2/9/2016 11:36 AM, Pablo Rodriguez wrote:
>> [...]
>> Output with latest beta:
>>
>>  Link: http://a.b/c\Ux {23}d
>>
>> Output with beta from 2016.01.14 09:55;
>>
>>  Link: http://a.b/c#d
>>
>> I guess this is a bug. Could anyone else confirm this?
> 
> fixed in next beta

Many thanks for the fix. Hans.

Sorry for sounding impatient, but since next beta may take longer to be
released (because of columnsets), would it be possible to have a patch
to use latest released beta?

Many thanks for your help,

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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] How to use Helvetica Neue Light (OS X)?

2016-02-10 Thread Nicola

On 2016-02-09 22:15:47 +, Nicola said:


I want to use OS X's Helvetica Neue Light in a document. How may
I do that?


I have investigated the issue a bit more and it seems that I have
a more fundamental problem with fonts. More specifically, I have
tested the latest beta (ConTeXt 0.63 2016.02.08 15:35) and the TeX
Live version (ConTeXt 0.61 2015.05.18 12:26), with inconsistent
results. The beta is a fresh install, where I have only executed:

sh ./first-setup.sh --modules=all --engine=luatex
. ./tex/setuptex
luatools --generate

This is a selection of fonts that I have tried (the name is the name
that I have used as an argument to \definefamily):

Name SuffixTeXLive ConTeXt  ConTeXt Beta
---
Baskerville   .ttc OK   OK
Courier   .dfont   unknown font unknown font
Geneva.dfont   OK   unknown font
Helvetica .dfont   OK   unknown font
Helvetica Neue.dfont   Nearly OK(*) unknown font
Helvetica Neue Desk Interface .ttc Nearly OK(*) Nearly OK(**)
Hoefler   .ttc unknown font unknown font
Hoefler Text  .ttc unknown font unknown font
Hoefler Text Ornaments.ttc unknown font unknown font
Menlo .ttc OK   OK
Monaco.dfont   OK   unknown font
Optima.ttc OK   OK
Palatino  .ttc OK   OK
Source Code Pro   .otf OK   Nearly OK(***)
Times .dfont   unknown font unknown font
Times Roman   .dfont   unknown font unknown font

(*) Instead of bold, bold italic is used
(**) Instead of bold italic, bold is used (!)
(***) Italic and bold italic are shown as regular and italic, resp.

In general, I have no problems with .ttf and .otf fonts (with the
exception of Source Code Pro, see the table).

From the above:

(1) I conclude that .dfont fonts are not dealt properly by ConTeXt, or
   that I am missing some configuration step.

(2) I suspect that I also have a naming issue (e.g., see Hoefler and
   Times). This is what mtxrun gives me for Hoefler (for both ConTeXt
   versions):

mtxrun --script fonts --list --all --pattern=hoefl*

hoeflertext  hoeflertextornaments 
/Library/Fonts/Hoefler Text Ornaments.ttf
hoeflertextblack hoeflertextblack 
/Library/Fonts/Hoefler Text.ttc index:  2
hoeflertextblackitalic   hoeflertextblackitalic   
/Library/Fonts/Hoefler Text.ttc index:  4
hoeflertextitalichoeflertextitalic
/Library/Fonts/Hoefler Text.ttc index:  3
hoeflertextnormalhoeflertextornaments 
/Library/Fonts/Hoefler Text Ornaments.ttf
hoeflertextornaments hoeflertextornaments 
/Library/Fonts/Hoefler Text Ornaments.ttf
hoeflertextregular   hoeflertextregular   
/Library/Fonts/Hoefler Text.ttc index:  1



(3) I still don't now how to select, say, Helvetica Light or Avenir Black.
   For the record, in LuaLaTeX I use \setsansfont{Helvetica Neue Light},
   and it works.

The document I have used for the tests is pretty basic, but I paste it
below for completeness.

Nicola

\definefontfamily [myfamily] [serif] [Some Font] %[style=Light]
\setupbodyfont[myfamily]
\starttext
\scale[width=\textwidth]{\switchtobodyfont   [6pt]\tf Regular, \it 
Italic \bf Bold and \bi BoldItalic}
\scale[width=\textwidth]{\switchtobodyfont   [8pt]\tf Regular, \it 
Italic \bf Bold and \bi BoldItalic}
\scale[width=\textwidth]{\switchtobodyfont  [10pt]\tf Regular, \it 
Italic \bf Bold and \bi BoldItalic}
\scale[width=\textwidth]{\switchtobodyfont  [12pt]\tf Regular, \it 
Italic \bf Bold and \bi BoldItalic}
\scale[width=\textwidth]{\switchtobodyfont[17.3pt]\tf Regular, \it 
Italic \bf Bold and \bi BoldItalic}

\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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

[NTG-context] issue with typeface definition order

2016-02-10 Thread Pablo Rodriguez
Dear list,

I have the following code:

\definefontfamily[mainface][ss][TeX Gyre Heros]
\definefontfamily[mainface][rm][TeX Gyre Termes]
\setupbodyfont[mainface]
\starttext
\startTEXpage[offset=1em]
this is a simple sentence

\ss this is a simple sentence
\stopTEXpage

Using latest beta (2016.02.08 15:35), if sans is defined before serif,
the default family is sans (no serif used). It only works as intended if
serif is defined before sans.

Is this the intended behavior?

Many thanks for your help,

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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] issue with typeface definition order

2016-02-10 Thread Wolfgang Schuster

Pablo Rodriguez 
10. Februar 2016 um 13:06
Dear list,

I have the following code:

\definefontfamily[mainface][ss][TeX Gyre Heros]
\definefontfamily[mainface][rm][TeX Gyre Termes]
\setupbodyfont[mainface]
\starttext
\startTEXpage[offset=1em]
this is a simple sentence

\ss this is a simple sentence
\stopTEXpage

Using latest beta (2016.02.08 15:35), if sans is defined before serif,
the default family is sans (no serif used). It only works as intended if
serif is defined before sans.

Is this the intended behavior?

Yes, the first style is used as default when you enable the typeface.

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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] How to use Helvetica Neue Light (OS X)?

2016-02-10 Thread Hans Hagen

On 2/10/2016 12:36 PM, Nicola wrote:


(1) I conclude that .dfont fonts are not dealt properly by ConTeXt, or
that I am missing some configuration step.


indeed the latest mkiv does not support dfonts any longer (makes no 
sense to depend on an obsolete format and the few fonts around are not 
worth the trouble of implementing)


you can try \usemodule[oldotf]

Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: 038 477 53 69 | www.pragma-ade.com | 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] issue with typeface definition order

2016-02-10 Thread Hans Hagen

On 2/10/2016 1:06 PM, Pablo Rodriguez wrote:

Dear list,

I have the following code:

 \definefontfamily[mainface][ss][TeX Gyre Heros]
 \definefontfamily[mainface][rm][TeX Gyre Termes]
 \setupbodyfont[mainface]
 \starttext
 \startTEXpage[offset=1em]
 this is a simple sentence

 \ss this is a simple sentence
 \stopTEXpage

Using latest beta (2016.02.08 15:35), if sans is defined before serif,
the default family is sans (no serif used). It only works as intended if
serif is defined before sans.

Is this the intended behavior?


yes


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: 038 477 53 69 | www.pragma-ade.com | 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] wrong xml char handling

2016-02-10 Thread Hans Hagen

On 2/10/2016 12:19 PM, Pablo Rodriguez wrote:

On 02/09/2016 06:02 PM, Hans Hagen wrote:

On 2/9/2016 11:36 AM, Pablo Rodriguez wrote:

[...]
Output with latest beta:

  Link: http://a.b/c\Ux {23}d

Output with beta from 2016.01.14 09:55;

  Link: http://a.b/c#d

I guess this is a bug. Could anyone else confirm this?


fixed in next beta


Many thanks for the fix. Hans.

Sorry for sounding impatient, but since next beta may take longer to be
released (because of columnsets), would it be possible to have a patch
to use latest released beta?


patch involves more than one line in a few files

fwiw: here we never used the latest beta in critical workflows unless 
tested beforehand (so we always lag a few betas behind)


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: 038 477 53 69 | www.pragma-ade.com | 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___