Re: [NTG-context] Feature Request: showframe debugging
On 2013–08–20 Thangalin wrote: > \showframe > [ > labels=on, > measurements=on, > color=red, > ] > > Would produce an image similar to the attached, but with the black > lines drawn in the specified colour. > > Using labels=on would show the names of the items that can be changed > with \setuplayout. > Using measurements=on would show the values for each of the items. > > I don't know if there is any value separating the measurements from the > labels. Some years ago I visualised the layout elements for a cheat sheet. The code can be found here: https://gist.github.com/mpfusion/4635387 It could be extended to visualise the layout dimensions as well. But that complicates the code, since you don't know where the labels end up and you need to check for overlapping labels. 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 ___
Re: [NTG-context] Feature Request: showframe debugging
On Tue, 20 Aug 2013, Thangalin wrote: Hi, \showframe [ labels=on, measurements=on, color=red, ] Would produce an image similar to the attached, but with the black lines drawn in the specified colour. Using labels=on would show the names of the items that can be changed with \setuplayout. Using measurements=on would show the values for each of the items. I don't know if there is any value separating the measurements from the labels. There was also the layout module[1] by Patrick that visualizes the layout, but it has not been tuned to work for MkIV. [1]: http://modules.contextgarden.net/t-layout Aditya ___ 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] Feature Request: showframe debugging
On 8/21/2013 6:49 AM, Thangalin wrote: Hi, \showframe [ labels=on, measurements=on, color=red, ] Would produce an image similar to the attached, but with the black lines drawn in the specified colour. Using labels=on would show the names of the items that can be changed with \setuplayout. Using measurements=on would show the values for each of the items. I don't know if there is any value separating the measurements from the labels. You can use: \starttext \showlayout % \showlayout[cc,cm,mm,bp] \stoptext the problem with visualizing is that values can be zero so visualizing becomes messy 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 ___
[NTG-context] Feature Request: showframe debugging
Hi, \showframe [ labels=on, measurements=on, color=red, ] Would produce an image similar to the attached, but with the black lines drawn in the specified colour. Using labels=on would show the names of the items that can be changed with \setuplayout. Using measurements=on would show the values for each of the items. I don't know if there is any value separating the measurements from the labels. Thank you! <>___ 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 ___