Re: [NTG-context] Linecorrection and distances
On 7/18/2013 9:36 AM, H. Özoguz wrote: I use grid-setting, but have elements, which should not be set on the grid (because it is impossible, because of different interlinespaces, bigger fonts, or whatever). For these elements I use \startlinecorrection Elements \stoplinecorrection After these elements the normal text is continued, set on the grid again. That is all working and fine. But: The distances between these \startlinecorrection Elements \stoplinecorrection blocks and the text (both distances, before and after) are not always the same, they seem to be random. How to correct that without inserting \vksip+-Xpt manually before/after the linecorrected blocks? For testing: \showgrid \setuplayout[grid=yes] \definefont[big][name:Arial at 25 pt] \def\kurztext{Dies ist ein kurzer Text. Die anderen Standardtexte sind deutlich zu lang.} \starttext \kurztext \startlinecorrection \big \kurztext Und noch Zusatztext. \stoplinecorrection \kurztext \startlinecorrection \big \kurztext \stoplinecorrection \kurztext \stoptext In the above example you can see it, the distances between the grid set and the not grid set text are different. you only switch the font so the distance between lines is determines by the size of glyphs + interlineskip .. best use: \big \setupinterlinespace - 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 ___
Re: [NTG-context] Linecorrection and distances
you only switch the font so the distance between lines is determines by the size of glyphs + interlineskip .. best use: \big \setupinterlinespace My Problem is NOT the bad interlinespacing of the big font in my example. Of course I can correct that with your suggestion, but thats not the topic. These big font sentences are only examples for elements, which are not set on the grid. The question is: How to achieve same distances between every normal text (set on the grid) and the elements (not set on the grid)? It is clear that not all before-distances and all after-distances respectivley can be the same simulatously, thats trivial. But at least all before-distances (so the distance between the text and the elements, in this order!) should be the same in the complete book. How to? ___ 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] Linecorrection and distances
On 7/18/2013 2:15 PM, H. Özoguz wrote: you only switch the font so the distance between lines is determines by the size of glyphs + interlineskip .. best use: \big \setupinterlinespace My Problem is NOT the bad interlinespacing of the big font in my example. Of course I can correct that with your suggestion, but thats not the topic. These big font sentences are only examples for elements, which are not set on the grid. The question is: How to achieve same distances between every normal text (set on the grid) and the elements (not set on the grid)? It is clear that not all before-distances and all after-distances respectivley can be the same simulatously, thats trivial. But at least all before-distances (so the distance between the text and the elements, in this order!) should be the same in the complete book. How to? it always depends on the content you can influence it with options ... see teststuite for examples (in spacing path) 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 ___
Re: [NTG-context] Linecorrection and distances
it always depends on the content you can influence it with options ... see teststuite for examples (in spacing path) Sorry, I did not get you. Which options, to influence this behaviour? (I could not find any options, parameters, for startlinecorrection). And to which testsuite do you refer to? Huseyin ___ 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] Linecorrection and distances
On 2013–07–18 H. Özoguz wrote: And to which testsuite do you refer to? Probably http://pragma-ade.com/context/latest/cont-tst.7z I could not find any options, parameters, for startlinecorrection grep -Hnr startlinecorrection * cld/cld-001.cld:28: context.startlinecorrection( { blank }) margins/margindata-006.tex:17:\startlinecorrection margins/margindata-006.tex:24:\startlinecorrection margins/margindata-006.tex:31:\startlinecorrection margins/margindata-006.tex:38:\startlinecorrection margins/margindata-006.tex:45:\startlinecorrection spacing/linecorrection-001.tex:6:\startlinecorrection \framed{xxx} \stoplinecorrection spacing/linecorrection-001.tex:14:\startlinecorrection \framed{xxx} \stoplinecorrection tables/xtables-003.tex:22:\startlinecorrection tables/xtables-003.tex:26:\startlinecorrection tables/xtables-003.tex:30:\startlinecorrection tags/tagged-007.tex:33:\startlinecorrection Marco signature.asc Description: Digital signature ___ 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 ___