[NTG-context] m-steps on mkiv
Some features of m-steps does not work in mkiv. For example, I can not change colors and the shapes (first example), add steps from the cell (n) to the cell (n+m, m=2,3,4...) and reverse steps. \usemodule[steps,mathml] \starttext \startSTEPtable \setupSTEPcells [alternative=5, framecolor=red] \setupSTEPtexts [framecolor=green] \setupSTEPlines [alternative=5] \cell {initial concentration, $C_i$} \text {$\div C_f$, final concentration} \cell {diluation factor, $f$} \text {inverse} \cell {$\frac{1}{f}$} \text {$\times V_f$, volume of the volumetric flask} \cell {pipette volume, $V_p$} \stopSTEPtable >From the manual: \startSTEPchart \cell {A} \cell {one} \texts{}{+2} \texts{}{+3} \cell {two} \cell {three} \texts{+4}{} \texts{+5}{} \cell {four} \cell {five} \stopSTEPchart \stoptext Jorge ___ 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] (no subject)
Some features of m-steps does not work in mkiv. For example, I can not change colors and the shapes (first example), add steps from the cell (n) to the cell (n+m, m=2,3,4...) and reverse steps. \usemodule[steps,mathml] \starttext \startSTEPtable \setupSTEPcells [alternative=5, framecolor=red] \setupSTEPtexts [framecolor=green] \setupSTEPlines [alternative=5] \cell {initial concentration, $C_i$} \text {$\div C_f$, final concentration} \cell {diluation factor, $f$} \text {inverse} \cell {$\frac{1}{f}$} \text {$\times V_f$, volume of the volumetric flask} \cell {pipette volume, $V_p$} \stopSTEPtable >From the manual: \startSTEPchart \cell {A} \cell {one} \texts{}{+2} \texts{}{+3} \cell {two} \cell {three} \texts{+4}{} \texts{+5}{} \cell {four} \cell {five} \stopSTEPchart \stoptext Jorge ___ 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] special case to disable italic correction
On 01/28/2014 03:14 PM, Hans Hagen wrote: > On 1/26/2014 8:24 PM, Pablo Rodriguez wrote: >> [...] >> If I get it right, the italic correction should be avoided before points >> and commas (these are all the exceptions I can imagine for this case). >> The explanation is simple: the space is already at the base line, since >> at the glyph base, the inclination of the italic or slanted glyph makes >> the right side-bearing larger at the baseline. The issue with italic >> correction is mainly with ascenders or at the cap height, but I think it >> isn’t at the base line (or the descenders). Because of that I think it >> is important to disable italic correction before points and commas. >> [...] > Hard coded char checking is talking all punctuation is tricky, so i now > use a threshold instead (enabled by default). > [,,,] > Will be in next beta. Many thanks for your implementation, Hans. It works fine now. Many thanks again for your work, 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] special case to disable italic correction
On 1/26/2014 8:24 PM, Pablo Rodriguez wrote: Hi Hans, after reading the relevant part for italic correction in fonts-mkiv.pdf and enabling it in my documents, I have found a case in which the italic correction could be improved. My settings are: \definefontfeature[default][default][itlc=yes] \setupitaliccorrection[global,always] If I get it right, the italic correction should be avoided before points and commas (these are all the exceptions I can imagine for this case). The explanation is simple: the space is already at the base line, since at the glyph base, the inclination of the italic or slanted glyph makes the right side-bearing larger at the baseline. The issue with italic correction is mainly with ascenders or at the cap height, but I think it isn’t at the base line (or the descenders). Because of that I think it is important to disable italic correction before points and commas. The sample shows the issue: \setuppagenumbering[location=] \definefontfeature[default][default][itlc=yes] \setupitaliccorrection[global,always] \starttext \startTEXpage[offset=1ex] Abf. {\em Abf}.\\ Abf, {\em Abf},\\ Abf. {\it Abf}.\\ Abf, {\it Abf}, \stopTEXpage \stoptext I think it might be worth considering. Many thanks for your help and your excellent work, Hard coded char checking is talking all punctuation is tricky, so i now use a threshold instead (enabled by default). \disabledirectives[typesetters.threshold] % % % % test: \definefontfeature [default] [default] [itlc=yes] \setupitaliccorrection [global,always] % \enabletrackers[typesetters.italics] \starttext \startTEXpage[offset=1ex] f. {\em f}.\par f, {\em f},\par f. {\it f}.\par f, {\it f},\par f: {\it f}:\par f; {\it f};\par x. {\em x}.\par x, {\em x},\par x. {\it x}.\par x, {\it x},\par x: {\it x}:\par x; {\it x};\par \stopTEXpage \stoptext Will be in next beta. Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | 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 ___