Re: [NTG-context] A new question on \definefallbackfamily

2014-04-30 Thread Mikael P. Sundqvist
Hi, here is an update:

It seems this does not have to do with the font Frutiger to do.
Compiling the file

%%%
\definefontfamily [lundface] [rm] [TeX Gyre Pagella][opticalsize=yes]
\definefontfamily [lundface] [ss] [TeX Gyre Scholar][opticalsize=yes]
\definefontfamily [lundface] [math] [TeX Gyre Pagella Math][default]

\definebodyfontenvironment[18pt]
\setupbodyfont[lundface,18pt]

\starttext
{3 $3$}

{\bf 3 $3$}
\stoptext
%%%
I get the same behavior. Sometimes, the fourth 3 will become bold.
This happens very randomly (sometimes I have to compile 10 times for
it to happen). I compile with context test.tex. I can reproduce this
both on my home computer and on my computer at work, both with
late(st) standalone installed.

Best regards, Mikael

On Tue, Apr 29, 2014 at 8:44 PM, Mikael P. Sundqvist mic...@gmail.com wrote:
 Hi,

 With the file below (and the latest Standalone) I get different output
 different times I compile. Sometimes the fourth 3 is bold and
 sometimes it is not (I don't want it to be bold). What is going on? I
 attach also the log files from a successful run (test.log) and a
 failure (test-error.log). Also, the pdf files are attached.

 (what I want is to use the light font as default and the regular one as 
 bold...)

 Best regards, Mikael

 %%% TEST FILE

 \definefontfamily [lundfaces] [rm] [Adobe Garamond Pro][opticalsize=yes]
 \definefontfamily [lundfaces] [ss]
 [FrutigerLTstd][opticalsize=yes,tf=style:light,it=style:lightitalic,sl=style:lightitalic,bf=style:normal,scale=0.92]
 \definefallbackfamily [lundfaces] [math] [FrutigerLTstd]
 [preset=math:lowercaseitalic,tf=style:lightitalic,scale=0.92]
 \definefallbackfamily [lundfaces] [math] [FrutigerLTstd]
 [preset=math:lowercasebolditalic,tf=style:italic,scale=0.92]
 \definefallbackfamily [lundfaces] [math] [FrutigerLTstd]
 [preset=math:lowercasenormal,tf=style:light,scale=0.92]
 \definefallbackfamily [lundfaces] [math] [FrutigerLTstd]
 [preset=math:lowercasebold,tf=style:normal,scale=0.92]
 \definefallbackfamily [lundfaces] [math] [FrutigerLTstd]
 [preset=math:uppercaseitalic,tf=style:lightitalic,scale=0.92]
 \definefallbackfamily [lundfaces] [math] [FrutigerLTstd]
 [preset=math:uppercasebolditalic,tf=style:italic,scale=0.92]
 \definefallbackfamily [lundfaces] [math] [FrutigerLTstd]
 [preset=math:uppercasenormal,tf=style:light,scale=0.92]
 \definefallbackfamily [lundfaces] [math] [FrutigerLTstd]
 [preset=math:uppercasebold,tf=style:normal,scale=0.92]
 \definefallbackfamily [lundfaces] [math] [FrutigerLTstd]
 [preset=math:digitsnormal,tf=style:light,scale=0.92]
 \definefallbackfamily [lundfaces] [math] [FrutigerLTstd]
 [preset=math:digitsbold,tf=style:normal,scale=0.92]

 \definefontfamily [lundfaces] [math] [TeX Gyre Pagella Math]

 \definebodyfontenvironment[18pt]
 \setupbodyfont[lundfaces,ss,18pt]


 \starttext

 {3 $3$}

 {\bf 3 $3$}

 \stoptext

 %%% END TEST FILE
___
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] A new question on \definefallbackfamily

2014-04-29 Thread Mikael P. Sundqvist
Hi,

With the file below (and the latest Standalone) I get different output
different times I compile. Sometimes the fourth 3 is bold and
sometimes it is not (I don't want it to be bold). What is going on? I
attach also the log files from a successful run (test.log) and a
failure (test-error.log). Also, the pdf files are attached.

(what I want is to use the light font as default and the regular one as bold...)

Best regards, Mikael

%%% TEST FILE

\definefontfamily [lundfaces] [rm] [Adobe Garamond Pro][opticalsize=yes]
\definefontfamily [lundfaces] [ss]
[FrutigerLTstd][opticalsize=yes,tf=style:light,it=style:lightitalic,sl=style:lightitalic,bf=style:normal,scale=0.92]
\definefallbackfamily [lundfaces] [math] [FrutigerLTstd]
[preset=math:lowercaseitalic,tf=style:lightitalic,scale=0.92]
\definefallbackfamily [lundfaces] [math] [FrutigerLTstd]
[preset=math:lowercasebolditalic,tf=style:italic,scale=0.92]
\definefallbackfamily [lundfaces] [math] [FrutigerLTstd]
[preset=math:lowercasenormal,tf=style:light,scale=0.92]
\definefallbackfamily [lundfaces] [math] [FrutigerLTstd]
[preset=math:lowercasebold,tf=style:normal,scale=0.92]
\definefallbackfamily [lundfaces] [math] [FrutigerLTstd]
[preset=math:uppercaseitalic,tf=style:lightitalic,scale=0.92]
\definefallbackfamily [lundfaces] [math] [FrutigerLTstd]
[preset=math:uppercasebolditalic,tf=style:italic,scale=0.92]
\definefallbackfamily [lundfaces] [math] [FrutigerLTstd]
[preset=math:uppercasenormal,tf=style:light,scale=0.92]
\definefallbackfamily [lundfaces] [math] [FrutigerLTstd]
[preset=math:uppercasebold,tf=style:normal,scale=0.92]
\definefallbackfamily [lundfaces] [math] [FrutigerLTstd]
[preset=math:digitsnormal,tf=style:light,scale=0.92]
\definefallbackfamily [lundfaces] [math] [FrutigerLTstd]
[preset=math:digitsbold,tf=style:normal,scale=0.92]

\definefontfamily [lundfaces] [math] [TeX Gyre Pagella Math]

\definebodyfontenvironment[18pt]
\setupbodyfont[lundfaces,ss,18pt]


\starttext

{3 $3$}

{\bf 3 $3$}

\stoptext

%%% END TEST FILE
open source  1  1  /home/mickep/ConTeXt/tex/texmf-context/tex/context/base/cont-yes.mkiv

ConTeXt  ver: 2014.04.28 23:24 MKIV beta  fmt: 2014.4.29  int: english/english

system   'cont-new.mkiv' loaded
open source  2  2  /home/mickep/ConTeXt/tex/texmf-context/tex/context/base/cont-new.mkiv
close source 2  2  /home/mickep/ConTeXt/tex/texmf-context/tex/context/base/cont-new.mkiv
system   files  jobname 'test', input './test', result 'test'
fontslatin modern fonts are not preloaded
languageslanguage 'en' is active
open source  2  3  /home/mickep/Dropbox/lth/mall/test.tex
fontspreloading modern-designsize (mono)
fontstypescripts  unknown library 'modern-designsize' or 'modern'
fonts'fallback modern-designsize tt 18pt' is loaded
backend  xmp  using file '/home/mickep/ConTeXt/tex/texmf-context/tex/context/base/lpdf-pdx.xml'
pagesflushing realpage 1, userpage 1
close source 2  3  /home/mickep/Dropbox/lth/mall/test.tex
close source 1  3  /home/mickep/ConTeXt/tex/texmf-context/tex/context/base/cont-yes.mkiv

system   structure  start used structure

used structure   text: test

system   structure  stop used structure


system   files  start used files

used file   1: filename=cont-yes.mkiv filetype=tex foundname=/home/mickep/ConTeXt/tex/texmf-context/tex/context/base/cont-yes.mkiv usedmethod=database
used file   2: filename=cont-new.mkiv filetype=tex foundname=/home/mickep/ConTeXt/tex/texmf-context/tex/context/base/cont-new.mkiv usedmethod=database
used file   3: filename=lang-us.lua filetype=scripts foundname=/home/mickep/ConTeXt/tex/texmf-context/tex/context/patterns/lang-us.lua usedmethod=database
used file   4: filename=/home/mickep/Dropbox/lth/mall/test.tex foundname=/home/mickep/Dropbox/lth/mall/test.tex usedmethod=direct
used file   5: filename=texgyre.lfg filetype=tex foundname=/home/mickep/ConTeXt/tex/texmf-context/tex/context/fonts/texgyre.lfg usedmethod=database
used file   6: filename=FrutigerLTStd-Light.otf filetype=otf format=otf foundname=/home/mickep/.fonts/FrutigerLTStd-Light.otf usedmethod=filesystem
used file   7: filename=texgyrepagella-math.otf filetype=otf format=otf foundname=/home/mickep/ConTeXt/tex/texmf/fonts/opentype/public/tex-gyre-math/texgyrepagella-math.otf usedmethod=database
used file   8: filename=/home/mickep/.fonts/FrutigerLTStd-LightItalic.otf format=otf foundname=/home/mickep/.fonts/FrutigerLTStd-LightItalic.otf usedmethod=direct
used file   9: filename=/home/mickep/.fonts/FrutigerLTStd-Italic.otf format=otf foundname=/home/mickep/.fonts/FrutigerLTStd-Italic.otf usedmethod=direct
used file  10: filename=/home/mickep/.fonts/FrutigerLTStd-Roman.otf format=otf foundname=/home/mickep/.fonts/FrutigerLTStd-Roman.otf usedmethod=direct
used file  11: filename=FrutigerLTStd-Roman.otf