problem with boldmath and MKIV
Hello, The following test file doesn't give bold sections no more with latest beta: \definetypeface[boldmath][mm][boldmath][modern] \setuphead[section][style=\boldmath\rm\bfb] \starttext \section{bla $bla$} bla \stoptext Could you help please? Cheers, Peter -- Contact information: http://pmrb.free.fr/contact/
Peter Münster wrote:
Hello,
The following test file doesn't give bold sections no more with latest beta:
\definetypeface[boldmath][mm][boldmath][modern] \setuphead[section][style=\boldmath\rm\bfb] \starttext \section{bla $bla$} bla \stoptext
Could you help please?
there is no boldmath in mkiv yet, simply because there are no (complete) bold math fonts to test with (or at least i didn't define them) ... bold in math is supported Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
No math symbols? (see attached) Alan minimal example: \usetypescript[postscript] \setupbodyfont[postscript,rm,12pt] \starttext $A = \pi r^2$ \stoptext
Does anyone use math? For I am surprised that nobody is complaining. (recent minimals, since 8 June, mkiv) The following minimal example % mkiv \usetypescript[postscript] \usetypescript[pagella] \starttext default: $A = \pi r^2$ \switchtobodyfont[postscript] postscript: $A = \pi r^2$ \switchtobodyfont[pagella] pagella: $A = \pi r^2$ \stoptext renders incorrectly. 1. no TeXGyre \pi (or other math symbols) 2. the math "r" is strange (outlined and unselectable under Acroread) 3. numerous error messages using libpoppler (okular, evince) Alan
On Sat, Jun 27, 2009 at 13:39, Alan BRASLAU wrote:
Does anyone use math? For I am surprised that nobody is complaining.
(recent minimals, since 8 June, mkiv)
The following minimal example
% mkiv \usetypescript[postscript] \usetypescript[pagella]
\starttext default: $A = \pi r^2$
\switchtobodyfont[postscript] postscript: $A = \pi r^2$
\switchtobodyfont[pagella] pagella: $A = \pi r^2$ \stoptext
renders incorrectly. 1. no TeXGyre \pi (or other math symbols) 2. the math "r" is strange (outlined and unselectable under Acroread) 3. numerous error messages using libpoppler (okular, evince)
I have confirmed the buggy behaviour offline, but I'm afraid that only Hans can fix it. (my off-list response:)
The version that breaks is apparently beta-2009.06.10 (the version from 8th June still worked). But there are too many changes to find a single simple reason for the failure. I leave it to Hans to sort it out ... now that he has the git repository, it should be easier for him to find the reason :) :) :)
Mojca
Mojca Miklavec wrote:
On Sat, Jun 27, 2009 at 13:39, Alan BRASLAU wrote:
Does anyone use math? For I am surprised that nobody is complaining.
(recent minimals, since 8 June, mkiv)
The following minimal example
% mkiv \usetypescript[postscript] \usetypescript[pagella]
\starttext default: $A = \pi r^2$
\switchtobodyfont[postscript] postscript: $A = \pi r^2$
\switchtobodyfont[pagella] pagella: $A = \pi r^2$ \stoptext
renders incorrectly. 1. no TeXGyre \pi (or other math symbols) 2. the math "r" is strange (outlined and unselectable under Acroread) 3. numerous error messages using libpoppler (okular, evince)
I have confirmed the buggy behaviour offline, but I'm afraid that only Hans can fix it.
(my off-list response:)
The version that breaks is apparently beta-2009.06.10 (the version from 8th June still worked). But there are too many changes to find a single simple reason for the failure. I leave it to Hans to sort it out ... now that he has the git repository, it should be easier for him to find the reason :) :) :)
the problem is that px/tx is somewhat messy; if you change this in math-vfu { name = "rpxr.tfm", vector = "tex-mr" } , { name = "rpxmi.tfm", vector = "tex-mi", skewchar=0x7F }, you will get pi's but also lots of warnings about missing chars in the vector the only solution is that someone makes proper vectors for rpxr and rpxmi as i have no time now for that, aditya is away and mojca is in thesis mode (example vectors are in math-vfu.lua) Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
participants (4)
-
Alan BRASLAU
-
Hans Hagen
-
Mojca Miklavec
-
Peter Münster