* A new question on \definefallbackfamily
@ 2014-04-29 18:44 Mikael P. Sundqvist
2014-04-30 11:36 ` Mikael P. Sundqvist
0 siblings, 1 reply; 2+ messages in thread
From: Mikael P. Sundqvist @ 2014-04-29 18:44 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1: Type: text/plain, Size: 2016 bytes --]
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
[-- Attachment #2: test.log --]
[-- Type: text/x-log, Size: 5793 bytes --]
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'
fonts > latin modern fonts are not preloaded
languages > language 'en' is active
open source > 2 > 3 > /home/mickep/Dropbox/lth/mall/test.tex
fonts > preloading modern-designsize (mono)
fonts > typescripts > 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'
pages > flushing 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 filetype=otf format=otf foundname=/home/mickep/.fonts/FrutigerLTStd-Roman.otf usedmethod=filesystem
used file > 12: filename=lpdf-pdx.xml filetype=tex foundname=/home/mickep/ConTeXt/tex/texmf-context/tex/context/base/lpdf-pdx.xml usedmethod=database
system > files > stop used files
system > options > start commandline options
used option > currentrun="1"
used option > fulljobname="./test.tex"
used option > input="./test.tex"
used option > kindofrun="1"
used option > maxnofruns="8"
used option > no-parse-first-line="true"
system > options > stop commandline options
system > options > start commandline files
used file > 1: ./test.tex
system > options > stop commandline files
mkiv lua stats > used config file: selfautoparent:/texmf/web2c/texmfcnf.lua
mkiv lua stats > used cache path: /home/mickep/ConTeXt/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e
mkiv lua stats > resource resolver: loadtime 0.012 seconds, 0 scans with scantime 0.000 seconds, 0 shared scans, 12 found files, scanned paths: <none>
mkiv lua stats > stored bytecode data: 349 modules (0.169 sec), 69 tables (0.003 sec), 418 chunks (0.172 sec)
mkiv lua stats > running in nuts mode: yes
mkiv lua stats > cleaned up reserved nodes: 44 nodes, 443 lists of 442
mkiv lua stats > node memory usage: 2 glue, 2 penalty, 9 attribute, 28 glue_spec, 3 attribute_list, 2 temp
mkiv lua stats > node list callback tasks: 6 unique task lists, 6 instances (re)created, 46 calls
mkiv lua stats > used backend: pdf (backend for directly generating pdf output)
mkiv lua stats > loaded patterns: en::2, load time: 0.000
mkiv lua stats > jobdata time: 0.000 seconds saving, 0.004 seconds loading
mkiv lua stats > callbacks: 156 direct, 203 indirect, 359 total
mkiv lua stats > randomizer: resumed with value 0.19046469041634
mkiv lua stats > result saved in file: test.pdf, compresslevel 3, objectcompresslevel 3
mkiv lua stats > loaded fonts: 5 files: frutigerltstd-italic.otf, frutigerltstd-light.otf, frutigerltstd-lightitalic.otf, frutigerltstd-roman.otf, texgyrepagella-math.otf
mkiv lua stats > fonts load time: nilfor 17 fonts, 12 shared in backend, 4 common vectors, 8 common hashes
mkiv lua stats > used platform: linux, type: unix, binary subtree: texmf-linux
mkiv lua stats > luatex banner: this is luatex, version beta-0.79.1 (tex live 2014/dev) (rev 4972)
mkiv lua stats > control sequences: 38908 of 65536 + 100000
mkiv lua stats > lua properties: engine: lua, used memory: 25 MB (ctx: 25 MB), hash type: lua, hash chars: min(64,40), symbol mask: utf (τεχ)
mkiv lua stats > runtime: 0.640 seconds, 1 processed pages, 1 shipped pages, 1.562 pages/second
[-- Attachment #3: test.pdf --]
[-- Type: application/pdf, Size: 6541 bytes --]
[-- Attachment #4: test-error.log --]
[-- Type: text/x-log, Size: 5789 bytes --]
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'
fonts > latin modern fonts are not preloaded
languages > language 'en' is active
open source > 2 > 3 > /home/mickep/Dropbox/lth/mall/test.tex
fonts > preloading modern-designsize (mono)
fonts > typescripts > 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'
pages > flushing 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=lua 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 filetype=otf format=otf foundname=/home/mickep/.fonts/FrutigerLTStd-Roman.otf usedmethod=filesystem
used file > 12: filename=lpdf-pdx.xml filetype=tex foundname=/home/mickep/ConTeXt/tex/texmf-context/tex/context/base/lpdf-pdx.xml usedmethod=database
system > files > stop used files
system > options > start commandline options
used option > currentrun="1"
used option > fulljobname="./test.tex"
used option > input="./test.tex"
used option > kindofrun="1"
used option > maxnofruns="8"
used option > no-parse-first-line="true"
system > options > stop commandline options
system > options > start commandline files
used file > 1: ./test.tex
system > options > stop commandline files
mkiv lua stats > used config file: selfautoparent:/texmf/web2c/texmfcnf.lua
mkiv lua stats > used cache path: /home/mickep/ConTeXt/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e
mkiv lua stats > resource resolver: loadtime 0.012 seconds, 0 scans with scantime 0.000 seconds, 0 shared scans, 12 found files, scanned paths: <none>
mkiv lua stats > stored bytecode data: 349 modules (0.158 sec), 69 tables (0.003 sec), 418 chunks (0.161 sec)
mkiv lua stats > running in nuts mode: yes
mkiv lua stats > cleaned up reserved nodes: 44 nodes, 443 lists of 442
mkiv lua stats > node memory usage: 2 glue, 2 penalty, 9 attribute, 28 glue_spec, 3 attribute_list, 2 temp
mkiv lua stats > node list callback tasks: 6 unique task lists, 6 instances (re)created, 46 calls
mkiv lua stats > used backend: pdf (backend for directly generating pdf output)
mkiv lua stats > loaded patterns: en::2, load time: 0.000
mkiv lua stats > jobdata time: 0.004 seconds saving, 0.000 seconds loading
mkiv lua stats > callbacks: 159 direct, 203 indirect, 362 total
mkiv lua stats > randomizer: resumed with value 0.19046469041634
mkiv lua stats > result saved in file: test.pdf, compresslevel 3, objectcompresslevel 3
mkiv lua stats > loaded fonts: 5 files: frutigerltstd-italic.otf, frutigerltstd-light.otf, frutigerltstd-lightitalic.otf, frutigerltstd-roman.otf, texgyrepagella-math.otf
mkiv lua stats > fonts load time: nilfor 17 fonts, 12 shared in backend, 4 common vectors, 8 common hashes
mkiv lua stats > used platform: linux, type: unix, binary subtree: texmf-linux
mkiv lua stats > luatex banner: this is luatex, version beta-0.79.1 (tex live 2014/dev) (rev 4972)
mkiv lua stats > control sequences: 38908 of 65536 + 100000
mkiv lua stats > lua properties: engine: lua, used memory: 26 MB (ctx: 26 MB), hash type: lua, hash chars: min(64,40), symbol mask: utf (τεχ)
mkiv lua stats > runtime: 0.664 seconds, 1 processed pages, 1 shipped pages, 1.506 pages/second
[-- Attachment #5: test-error.pdf --]
[-- Type: application/pdf, Size: 8056 bytes --]
[-- Attachment #6: Type: text/plain, Size: 485 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://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: A new question on \definefallbackfamily
2014-04-29 18:44 A new question on \definefallbackfamily Mikael P. Sundqvist
@ 2014-04-30 11:36 ` Mikael P. Sundqvist
0 siblings, 0 replies; 2+ messages in thread
From: Mikael P. Sundqvist @ 2014-04-30 11:36 UTC (permalink / raw)
To: mailing list for ConTeXt users
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 <mickep@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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-04-30 11:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-29 18:44 A new question on \definefallbackfamily Mikael P. Sundqvist
2014-04-30 11:36 ` Mikael P. Sundqvist
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).