* MkIV grid ? @ 2010-02-17 9:58 Steffen Wolfrum 2010-02-17 10:08 ` Hans Hagen 2010-02-17 13:54 ` MkIV \placecontent [level=section] Alan BRASLAU 0 siblings, 2 replies; 7+ messages in thread From: Steffen Wolfrum @ 2010-02-17 9:58 UTC (permalink / raw) To: mailing list for ConTeXt users; +Cc: Hans Hagen Hi, I have seen Hans' reply to Peter Rolf from Nov. 19th 2009 on "grid snapping (mkiv)". What has changed since then? Is there some more info somewhere? I am missing my MkII optimized section setting, like ... grid={page,3.5pt,fit,low} Steffen ___________________________________________________________________________________ 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] 7+ messages in thread
* Re: MkIV grid ? 2010-02-17 9:58 MkIV grid ? Steffen Wolfrum @ 2010-02-17 10:08 ` Hans Hagen 2010-02-17 13:54 ` MkIV \placecontent [level=section] Alan BRASLAU 1 sibling, 0 replies; 7+ messages in thread From: Hans Hagen @ 2010-02-17 10:08 UTC (permalink / raw) To: Steffen Wolfrum; +Cc: mailing list for ConTeXt users On 17-2-2010 10:58, Steffen Wolfrum wrote: > Hi, > > I have seen Hans' reply to Peter Rolf from Nov. 19th 2009 on "grid snapping (mkiv)". > What has changed since then? Is there some more info somewhere? > > I am missing my MkII optimized section setting, like ... grid={page,3.5pt,fit,low} i have no time not to explain it but the system is somewhat different than in mkii % \installsnapvalues{loose} {\v!maxdepth:0.8,\v!maxheight:0.8,\v!strut} % \installsnapvalues{normal}{\v!maxdepth:1.0,\v!maxheight:1.0,\v!strut} % \installsnapvalues{tight} {\v!maxdepth:1.2,\v!maxheight:1.2,\v!strut} % none don't enlarge % halfline enlarge by halfline/halfline % line enlarge by line/line % strut enlarge by ht/dp (default) % first align to top line % last align to bottom line % mindepth round depth down % maxdepth round depth up % minheight round height down % maxheight round height up %D We're not downward compatible with \MKII ! \definegridsnapping[\v!normal] [\v!maxheight,\v!maxdepth,\v!strut] \definegridsnapping[\v!standard] [\v!maxheight,\v!maxdepth,\v!strut] \definegridsnapping[\v!yes] [\v!maxheight,\v!maxdepth,\v!strut] \definegridsnapping[\v!strict] [\v!maxdepth:0.8,\v!maxheight:0.8,\v!strut] \definegridsnapping[\v!tolerant] [\v!maxdepth:1.2,\v!maxheight:1.2,\v!strut] \definegridsnapping[\v!top] [\v!minheight,\v!maxdepth,\v!strut] \definegridsnapping[\v!bottom] [\v!maxheight,\v!mindepth,\v!strut] \definegridsnapping[\v!both] [\v!minheight,\v!mindepth,\v!strut] \definegridsnapping[\v!broad] [\v!maxheight,\v!maxdepth,\v!strut,0.8] % maybe 0.85 \definegridsnapping[\v!fit] [\v!maxheight,\v!maxdepth,\v!strut,1.2] % tight 0.15 \definegridsnapping[\v!first] [\v!first] \definegridsnapping[\v!last] [\v!last] \definegridsnapping[\v!high] [\v!minheight,\v!maxdepth,\v!none] \definegridsnapping[\v!low] [\v!maxheight,\v!mindepth,\v!none] \definegridsnapping[\v!line] [\v!line] \definegridsnapping[\v!strut] [\v!strut] \definegridsnapping[\v!max] [\v!maxdepth,\v!maxheight,\v!strut] \definegridsnapping[\v!min] [\v!mindepth,\v!minheight,\v!strut] in one (experimental) style i use: % none will effectively smash the box to one line (zero inner) but is the same as strut as outer will snap % however you can use {none,top:3} to move it down 3 lines then % {local,strut} will use the style related settings and move one line down because the font is larger \setuphead [chapter] [grid=strut] \setuphead [section] [grid=strut] most structure components will get a grid key and these are normally local the bottomline is that you snap up/down, within certain rounding specs, and add/subtract/distribute extra lineheights to the ht/dp's of the gridded material 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 ----------------------------------------------------------------- ___________________________________________________________________________________ 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] 7+ messages in thread
* MkIV \placecontent [level=section] 2010-02-17 9:58 MkIV grid ? Steffen Wolfrum 2010-02-17 10:08 ` Hans Hagen @ 2010-02-17 13:54 ` Alan BRASLAU 2010-02-17 13:56 ` Mikael Persson ` (2 more replies) 1 sibling, 3 replies; 7+ messages in thread From: Alan BRASLAU @ 2010-02-17 13:54 UTC (permalink / raw) To: ntg-context \placecontent [level=section] or \completecontent [level=section] doesn't seem to work in MkIV, that is level= is ignored. \quote{Minimal} example (for Hans or Taco): contextref.tex (yes, I am getting back to working on the revision under MkIV...) Alan ___________________________________________________________________________________ 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] 7+ messages in thread
* Re: MkIV \placecontent [level=section] 2010-02-17 13:54 ` MkIV \placecontent [level=section] Alan BRASLAU @ 2010-02-17 13:56 ` Mikael Persson 2010-02-17 14:29 ` Alan BRASLAU 2010-02-17 17:18 ` Alan BRASLAU 2010-02-17 21:36 ` Wolfgang Schuster 2 siblings, 1 reply; 7+ messages in thread From: Mikael Persson @ 2010-02-17 13:56 UTC (permalink / raw) To: mailing list for ConTeXt users On Wed, Feb 17, 2010 at 2:54 PM, Alan BRASLAU <alan.braslau@cea.fr> wrote: > \placecontent [level=section] > or > \completecontent [level=section] > doesn't seem to work in MkIV, that is level= is ignored. > > \quote{Minimal} example (for Hans or Taco): > contextref.tex (yes, I am getting back to working > on the revision under MkIV...) > > Alan What is the level=section supposed to mean? You do not mean criterium=section, do you? Best regards, Mikael ___________________________________________________________________________________ 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] 7+ messages in thread
* Re: MkIV \placecontent [level=section] 2010-02-17 13:56 ` Mikael Persson @ 2010-02-17 14:29 ` Alan BRASLAU 0 siblings, 0 replies; 7+ messages in thread From: Alan BRASLAU @ 2010-02-17 14:29 UTC (permalink / raw) To: ntg-context; +Cc: Mikael Persson On Wednesday 17 February 2010 14:56:54 Mikael Persson wrote: > > What is the level=section supposed to mean? > > You do not mean criterium=section, do you? > No. criterium=section produces a partial list pertinent to that level. For example, \placecontent [criterium=chapter] prints the per-chapter TOC. level=section truncates the list at a certain level. For example, \placecontent [level=section] should list [part,chapter,section] but not subsection and below. Alan ___________________________________________________________________________________ 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] 7+ messages in thread
* Re: MkIV \placecontent [level=section] 2010-02-17 13:54 ` MkIV \placecontent [level=section] Alan BRASLAU 2010-02-17 13:56 ` Mikael Persson @ 2010-02-17 17:18 ` Alan BRASLAU 2010-02-17 21:36 ` Wolfgang Schuster 2 siblings, 0 replies; 7+ messages in thread From: Alan BRASLAU @ 2010-02-17 17:18 UTC (permalink / raw) To: ntg-context On Wednesday 17 February 2010 14:54:37 Alan BRASLAU wrote: > \placecontent [level=section] > or > \completecontent [level=section] > doesn't seem to work in MkIV, that is level= is ignored. > Another funny thing is taking place in the TOC under MkIV: \placecontent (alone) within a \chapter indeed places a partial TOC. However, within a big project (book) with frontmatter, bodymatter, \part, \chapter., appendices, and backmatter, the first chapter of the bodymatter (Chapter 1) also lists sections A.1 and A.2 (coming from Appendix A). A minimal example is too complicated to present here. Alan ___________________________________________________________________________________ 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] 7+ messages in thread
* Re: MkIV \placecontent [level=section] 2010-02-17 13:54 ` MkIV \placecontent [level=section] Alan BRASLAU 2010-02-17 13:56 ` Mikael Persson 2010-02-17 17:18 ` Alan BRASLAU @ 2010-02-17 21:36 ` Wolfgang Schuster 2 siblings, 0 replies; 7+ messages in thread From: Wolfgang Schuster @ 2010-02-17 21:36 UTC (permalink / raw) To: mailing list for ConTeXt users Am 17.02.10 14:54, schrieb Alan BRASLAU: > \placecontent [level=section] > or > \completecontent [level=section] > doesn't seem to work in MkIV, that is level= is ignored. > Not supported in MkIV, write \placelist[chapter,section] 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] 7+ messages in thread
end of thread, other threads:[~2010-02-17 21:36 UTC | newest] Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2010-02-17 9:58 MkIV grid ? Steffen Wolfrum 2010-02-17 10:08 ` Hans Hagen 2010-02-17 13:54 ` MkIV \placecontent [level=section] Alan BRASLAU 2010-02-17 13:56 ` Mikael Persson 2010-02-17 14:29 ` Alan BRASLAU 2010-02-17 17:18 ` Alan BRASLAU 2010-02-17 21:36 ` Wolfgang Schuster
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).