* grid=verytolerant causes overlapping @ 2011-02-11 13:33 Andreas Harder 2011-02-11 13:46 ` luigi scarso 2011-02-11 14:27 ` Wolfgang Schuster 0 siblings, 2 replies; 10+ messages in thread From: Andreas Harder @ 2011-02-11 13:33 UTC (permalink / raw) To: mailing list for ConTeXt users Hi all, if one sets the grid option to verytolerant the list entries overlap. Is this a but or did I miss something? \setuppapersize[A5][A5] % \setuplayout[grid=yes] % OK % \setuplayout[grid=tolerant] % OK \setuplayout[grid=verytolerant] % -> overlapping \setupheads[expansion=yes] \starttext \showgrid \placelist[chapter,section,subsection,subsubsection] \def\SampleHead{\dorecurse{10}{test } test} \dorecurse {5} {\chapter{\SampleHead} \section{\SampleHead} \subsection{\SampleHead} \subsubsection{\SampleHead}} \stoptext Greeting Andreas ___________________________________________________________________________________ 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] 10+ messages in thread
* Re: grid=verytolerant causes overlapping 2011-02-11 13:33 grid=verytolerant causes overlapping Andreas Harder @ 2011-02-11 13:46 ` luigi scarso 2011-02-11 13:55 ` Andreas Harder 2011-02-11 14:27 ` Wolfgang Schuster 1 sibling, 1 reply; 10+ messages in thread From: luigi scarso @ 2011-02-11 13:46 UTC (permalink / raw) To: mailing list for ConTeXt users On Fri, Feb 11, 2011 at 2:33 PM, Andreas Harder <andreas.harder@rz-online.de> wrote: > Hi all, > > if one sets the grid option to verytolerant the list entries overlap. Is this a but or did I miss something? > > \setuppapersize[A5][A5] > > % \setuplayout[grid=yes] % OK > % \setuplayout[grid=tolerant] % OK > \setuplayout[grid=verytolerant] % -> overlapping > > \setupheads[expansion=yes] > > \starttext \showgrid > \placelist[chapter,section,subsection,subsubsection] > \def\SampleHead{\dorecurse{10}{test } test} > \dorecurse > {5} > {\chapter{\SampleHead} > \section{\SampleHead} > \subsection{\SampleHead} > \subsubsection{\SampleHead}} > \stoptext I don't see problems here with latest minimals --- what is wrong in your pdf ? -- luigi ___________________________________________________________________________________ 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] 10+ messages in thread
* Re: grid=verytolerant causes overlapping 2011-02-11 13:46 ` luigi scarso @ 2011-02-11 13:55 ` Andreas Harder 2011-02-11 14:08 ` luigi scarso 0 siblings, 1 reply; 10+ messages in thread From: Andreas Harder @ 2011-02-11 13:55 UTC (permalink / raw) To: mailing list for ConTeXt users [-- Attachment #1: Type: text/plain, Size: 40 bytes --] Am 11.02.2011 um 14:46 schrieb luigi sc [-- Attachment #2: test-toc-on-grid.pdf --] [-- Type: application/pdf, Size: 13833 bytes --] [-- Attachment #3: Type: text/plain, Size: 861 bytes --] arso: > On Fri, Feb 11, 2011 at 2:33 PM, Andreas Harder > <andreas.harder@rz-online.de> wrote: >> Hi all, >> >> if one sets the grid option to verytolerant the list entries overlap. Is this a but or did I miss something? >> >> \setuppapersize[A5][A5] >> >> % \setuplayout[grid=yes] % OK >> % \setuplayout[grid=tolerant] % OK >> \setuplayout[grid=verytolerant] % -> overlapping >> >> \setupheads[expansion=yes] >> >> \starttext \showgrid >> \placelist[chapter,section,subsection,subsubsection] >> \def\SampleHead{\dorecurse{10}{test } test} >> \dorecurse >> {5} >> {\chapter{\SampleHead} >> \section{\SampleHead} >> \subsection{\SampleHead} >> \subsubsection{\SampleHead}} >> \stoptext > I don't see problems here with latest minimals --- what is wrong in your pdf ? Hmm, I've just updated the beta … [-- Attachment #4: test-toc-on-grid.pdf --] [-- Type: application/pdf, Size: 13833 bytes --] [-- Attachment #5: Type: text/plain, Size: 9 bytes --] Andreas [-- Attachment #6: Type: text/plain, Size: 486 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] 10+ messages in thread
* Re: grid=verytolerant causes overlapping 2011-02-11 13:55 ` Andreas Harder @ 2011-02-11 14:08 ` luigi scarso 2011-02-11 14:15 ` Andreas Harder 0 siblings, 1 reply; 10+ messages in thread From: luigi scarso @ 2011-02-11 14:08 UTC (permalink / raw) To: mailing list for ConTeXt users [-- Attachment #1: Type: text/plain, Size: 1057 bytes --] On Fri, Feb 11, 2011 at 2:55 PM, Andreas Harder <aharder@uni-koblenz.de> wrote: > > Am 11.02.2011 um 14:46 schrieb luigi sc > arso: > >> On Fri, Feb 11, 2011 at 2:33 PM, Andreas Harder >> <andreas.harder@rz-online.de> wrote: >>> Hi all, >>> >>> if one sets the grid option to verytolerant the list entries overlap. Is this a but or did I miss something? >>> >>> \setuppapersize[A5][A5] >>> >>> % \setuplayout[grid=yes] % OK >>> % \setuplayout[grid=tolerant] % OK >>> \setuplayout[grid=verytolerant] % -> overlapping >>> >>> \setupheads[expansion=yes] >>> >>> \starttext \showgrid >>> \placelist[chapter,section,subsection,subsubsection] >>> \def\SampleHead{\dorecurse{10}{test } test} >>> \dorecurse >>> {5} >>> {\chapter{\SampleHead} >>> \section{\SampleHead} >>> \subsection{\SampleHead} >>> \subsubsection{\SampleHead}} >>> \stoptext >> I don't see problems here with latest minimals --- what is wrong in your pdf ? > > Hmm, I've just updated the beta … this is my pdf -- luigi [-- Attachment #2: test.pdf --] [-- Type: application/pdf, Size: 14504 bytes --] [-- Attachment #3: Type: text/plain, Size: 486 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] 10+ messages in thread
* Re: grid=verytolerant causes overlapping 2011-02-11 14:08 ` luigi scarso @ 2011-02-11 14:15 ` Andreas Harder 2011-02-11 14:22 ` luigi scarso 0 siblings, 1 reply; 10+ messages in thread From: Andreas Harder @ 2011-02-11 14:15 UTC (permalink / raw) To: mailing list for ConTeXt users Am 11.02.2011 um 15:08 schrieb luigi scarso: > On Fri, Feb 11, 2011 at 2:55 PM, Andreas Harder <aharder@uni-koblenz.de> wrote: >> >> Am 11.02.2011 um 14:46 schrieb luigi sc >> arso: >> >>> On Fri, Feb 11, 2011 at 2:33 PM, Andreas Harder >>> <andreas.harder@rz-online.de> wrote: >>>> Hi all, >>>> >>>> if one sets the grid option to verytolerant the list entries overlap. Is this a but or did I miss something? >>>> >>>> \setuppapersize[A5][A5] >>>> >>>> % \setuplayout[grid=yes] % OK >>>> % \setuplayout[grid=tolerant] % OK >>>> \setuplayout[grid=verytolerant] % -> overlapping >>>> >>>> \setupheads[expansion=yes] >>>> >>>> \starttext \showgrid >>>> \placelist[chapter,section,subsection,subsubsection] >>>> \def\SampleHead{\dorecurse{10}{test } test} >>>> \dorecurse >>>> {5} >>>> {\chapter{\SampleHead} >>>> \section{\SampleHead} >>>> \subsection{\SampleHead} >>>> \subsubsection{\SampleHead}} >>>> \stoptext >>> I don't see problems here with latest minimals --- what is wrong in your pdf ? >> >> Hmm, I've just updated the beta … > this is my pdf You have commented the paper size setting, therefore the lines do not break. Otherwise in your pdf nothing is on grid, although you're using the same minimals … I've changed the example a bit: \setuplayout[grid=verytolerant] % -> overlapping \setupheads[expansion=yes] \starttext \showgrid \placelist[chapter,section,subsection,subsubsection] \def\SampleHead{\dorecurse{15}{test } test} \dorecurse {5} {\chapter{\SampleHead} \section{\SampleHead} \subsection{\SampleHead} \subsubsection{\SampleHead}} \stoptext Andreas ___________________________________________________________________________________ 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] 10+ messages in thread
* Re: grid=verytolerant causes overlapping 2011-02-11 14:15 ` Andreas Harder @ 2011-02-11 14:22 ` luigi scarso 0 siblings, 0 replies; 10+ messages in thread From: luigi scarso @ 2011-02-11 14:22 UTC (permalink / raw) To: mailing list for ConTeXt users On Fri, Feb 11, 2011 at 3:15 PM, Andreas Harder <aharder@uni-koblenz.de> wrote: > > Am 11.02.2011 um 15:08 schrieb luigi scarso: > >> On Fri, Feb 11, 2011 at 2:55 PM, Andreas Harder <aharder@uni-koblenz.de> wrote: >>> >>> Am 11.02.2011 um 14:46 schrieb luigi sc >>> arso: >>> >>>> On Fri, Feb 11, 2011 at 2:33 PM, Andreas Harder >>>> <andreas.harder@rz-online.de> wrote: >>>>> Hi all, >>>>> >>>>> if one sets the grid option to verytolerant the list entries overlap. Is this a but or did I miss something? >>>>> >>>>> \setuppapersize[A5][A5] >>>>> >>>>> % \setuplayout[grid=yes] % OK >>>>> % \setuplayout[grid=tolerant] % OK >>>>> \setuplayout[grid=verytolerant] % -> overlapping >>>>> >>>>> \setupheads[expansion=yes] >>>>> >>>>> \starttext \showgrid >>>>> \placelist[chapter,section,subsection,subsubsection] >>>>> \def\SampleHead{\dorecurse{10}{test } test} >>>>> \dorecurse >>>>> {5} >>>>> {\chapter{\SampleHead} >>>>> \section{\SampleHead} >>>>> \subsection{\SampleHead} >>>>> \subsubsection{\SampleHead}} >>>>> \stoptext >>>> I don't see problems here with latest minimals --- what is wrong in your pdf ? >>> >>> Hmm, I've just updated the beta … >> this is my pdf > > You have commented the paper size setting, therefore the lines do not break. Otherwise in your pdf nothing is on grid, although you're using the same minimals … true sorry. > > I've changed the example a bit: > > \setuplayout[grid=verytolerant] % -> overlapping > \setupheads[expansion=yes] > > \starttext \showgrid > \placelist[chapter,section,subsection,subsubsection] > \def\SampleHead{\dorecurse{15}{test } test} > \dorecurse > {5} > {\chapter{\SampleHead} > \section{\SampleHead} > \subsection{\SampleHead} > \subsubsection{\SampleHead}} > \stoptext same here: both examples show overlapping. -- luigi ___________________________________________________________________________________ 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] 10+ messages in thread
* Re: grid=verytolerant causes overlapping 2011-02-11 13:33 grid=verytolerant causes overlapping Andreas Harder 2011-02-11 13:46 ` luigi scarso @ 2011-02-11 14:27 ` Wolfgang Schuster 2011-02-11 14:32 ` luigi scarso 1 sibling, 1 reply; 10+ messages in thread From: Wolfgang Schuster @ 2011-02-11 14:27 UTC (permalink / raw) To: mailing list for ConTeXt users Am 11.02.2011 um 14:33 schrieb Andreas Harder: > Hi all, > > if one sets the grid option to verytolerant the list entries overlap. Is this a but or did I miss something? > > \setuppapersize[A5][A5] > > % \setuplayout[grid=yes] % OK > % \setuplayout[grid=tolerant] % OK > \setuplayout[grid=verytolerant] % -> overlapping There is no grid option “verytolerant”. Wolfgang ___________________________________________________________________________________ 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] 10+ messages in thread
* Re: grid=verytolerant causes overlapping 2011-02-11 14:27 ` Wolfgang Schuster @ 2011-02-11 14:32 ` luigi scarso 2011-02-11 14:55 ` Wolfgang Schuster 0 siblings, 1 reply; 10+ messages in thread From: luigi scarso @ 2011-02-11 14:32 UTC (permalink / raw) To: mailing list for ConTeXt users On Fri, Feb 11, 2011 at 3:27 PM, Wolfgang Schuster <schuster.wolfgang@googlemail.com> wrote: > > Am 11.02.2011 um 14:33 schrieb Andreas Harder: > >> Hi all, >> >> if one sets the grid option to verytolerant the list entries overlap. Is this a but or did I miss something? >> >> \setuppapersize[A5][A5] >> >> % \setuplayout[grid=yes] % OK >> % \setuplayout[grid=tolerant] % OK >> \setuplayout[grid=verytolerant] % -> overlapping > > There is no grid option “verytolerant”. true, the same with \setuplayout[grid=ztolerant] If I recall correctly there a way to see the in the log. -- luigi ___________________________________________________________________________________ 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] 10+ messages in thread
* Re: grid=verytolerant causes overlapping 2011-02-11 14:32 ` luigi scarso @ 2011-02-11 14:55 ` Wolfgang Schuster 2011-02-11 15:34 ` Andreas Harder 0 siblings, 1 reply; 10+ messages in thread From: Wolfgang Schuster @ 2011-02-11 14:55 UTC (permalink / raw) To: mailing list for ConTeXt users Am 11.02.2011 um 15:32 schrieb luigi scarso: >> There is no grid option “verytolerant”. > true, the same with > \setuplayout[grid=ztolerant] > If I recall correctly there a way to see the in the log. Depends on the commands, sometimes the value is checked but no with gridsnapping. The “yes” value is defined as \definegridsnapping[yes][maxheight,maxdepth,strut] and you enable with with “grid=yes” a where context tests if “yes” is a predefined lists but “grid={maxheight,maxdepth,strut}” is also valid and in this case context defined a dummy list which is passed to lua. The same happens with “verytolerant”, context creates a dummy list and use ”verytolerant” as value for this list. Wolfgang ___________________________________________________________________________________ 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] 10+ messages in thread
* Re: grid=verytolerant causes overlapping 2011-02-11 14:55 ` Wolfgang Schuster @ 2011-02-11 15:34 ` Andreas Harder 0 siblings, 0 replies; 10+ messages in thread From: Andreas Harder @ 2011-02-11 15:34 UTC (permalink / raw) To: mailing list for ConTeXt users Am 11.02.2011 um 15:55 schrieb Wolfgang Schuster: > > Am 11.02.2011 um 15:32 schrieb luigi scarso: > >>> There is no grid option “verytolerant”. >> true, the same with >> \setuplayout[grid=ztolerant] >> If I recall correctly there a way to see the in the log. > > Depends on the commands, sometimes the value is checked but no with gridsnapping. > > The “yes” value is defined as > > \definegridsnapping[yes][maxheight,maxdepth,strut] > > and you enable with with “grid=yes” a where context tests if “yes” > is a predefined lists but “grid={maxheight,maxdepth,strut}” is also > valid and in this case context defined a dummy list which is passed > to lua. The same happens with “verytolerant”, context creates > a dummy list and use ”verytolerant” as value for this list. Thank you Wolfgang! Now I've defined verytolerant in order to get some fractions on grid. \definegridsnapping[verytolerant][maxdepth:1.6,maxheight:1.4,strut] \setuplayout[grid=verytolerant] % \setuplayout[grid=tolerant] \setupbodyfont[palatino] \starttext test\crlf $b = \frac p q$\crlf test \stoptext Andreas ___________________________________________________________________________________ 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] 10+ messages in thread
end of thread, other threads:[~2011-02-11 15:34 UTC | newest] Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2011-02-11 13:33 grid=verytolerant causes overlapping Andreas Harder 2011-02-11 13:46 ` luigi scarso 2011-02-11 13:55 ` Andreas Harder 2011-02-11 14:08 ` luigi scarso 2011-02-11 14:15 ` Andreas Harder 2011-02-11 14:22 ` luigi scarso 2011-02-11 14:27 ` Wolfgang Schuster 2011-02-11 14:32 ` luigi scarso 2011-02-11 14:55 ` Wolfgang Schuster 2011-02-11 15:34 ` Andreas Harder
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).