* Re: some questions [not found] <mailman.1.1155463203.3247.ntg-context@ntg.nl> @ 2006-08-13 21:24 ` wwl 2006-08-13 23:07 ` Peter Rolf 2006-08-13 21:24 ` Snapping sectionhead wwl 1 sibling, 1 reply; 10+ messages in thread From: wwl @ 2006-08-13 21:24 UTC (permalink / raw) > > \setupcolors[state=start] > > \starttext > > How can I use the brace-key right? > > \starttable[| \{ |] > > the wiki entry is not that clear ("enclose the column in braces"). > \{ is a just a grouping command (which directly gives a solution > for > your second answer) > > Use > [| a{\{}b{\}} |] > > to add "braces" > > > \NC no braces \SR > > \stoptable > > > > What I am doing wrong here? > > \starttable[ o1 | C{red} |] > > \{C{red} Ahh! I see! So '\{' is a table command NOT a FormatKey? But why is '\{' introduced in 'thrd-tab.tex' with \NewFormatKey \{{..} as a primitive key? The wikiwriter has obviously used this source too. > > Should'nt \arg{bla} be \type{{bla}}? \arg{bla} gives me 'argbla'! Wolfgang ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: some questions 2006-08-13 21:24 ` some questions wwl @ 2006-08-13 23:07 ` Peter Rolf 0 siblings, 0 replies; 10+ messages in thread From: Peter Rolf @ 2006-08-13 23:07 UTC (permalink / raw) wwl@musensturm.de wrote: >>> \setupcolors[state=start] >>> \starttext >>> How can I use the brace-key right? >>> \starttable[| \{ |] >> the wiki entry is not that clear ("enclose the column in braces"). >> \{ is a just a grouping command (which directly gives a solution >> for >> your second answer) >> >> Use >> [| a{\{}b{\}} |] >> >> to add "braces" >> >>> \NC no braces \SR >>> \stoptable >>> >>> What I am doing wrong here? >>> \starttable[ o1 | C{red} |] >> \{C{red} > > Ahh! I see! > So '\{' is a table command NOT a FormatKey? > > But why is '\{' introduced in 'thrd-tab.tex' with > \NewFormatKey \{{..} as a primitive key? > > The wikiwriter has obviously used this source too. > Sorry, I don't know. > >>> Should'nt \arg{bla} be \type{{bla}}? > > \arg{bla} gives me 'argbla'! > I have no idea what it is used for. Using it in math environment $\arg{bla}$ gives me "arg {\it bla}" which is much better than 'argbla'. I guess it's a math only macro. Greetings, Peter > Wolfgang > > > > _______________________________________________ > ntg-context mailing list > ntg-context@ntg.nl > http://www.ntg.nl/mailman/listinfo/ntg-context > > ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Snapping sectionhead [not found] <mailman.1.1155463203.3247.ntg-context@ntg.nl> 2006-08-13 21:24 ` some questions wwl @ 2006-08-13 21:24 ` wwl 2006-08-13 21:33 ` Taco Hoekwater 2006-08-15 15:15 ` Hans Hagen 1 sibling, 2 replies; 10+ messages in thread From: wwl @ 2006-08-13 21:24 UTC (permalink / raw) Hallo! > > While I was reading 'In the Details' to learn more about grid- > > typesetting, I could not comprehend the examples with > > grid={broad,...}. > > > > Then in section 1.8 I read that grid=line should be a shortcut for > > grid={broad,high,depth}. > > Section 1.8 deals \exclusively with \externalfigure. Apparently > the grid option for sectioning commands is handled differently. In my version of 'In the Details', dated 2002 chapter 1 deals with 'Snapping section heads' and section 1.8 is titled 'Snapping around (broad,high,depth).' Is there a newer variant of that manual? Wolfgang ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Snapping sectionhead 2006-08-13 21:24 ` Snapping sectionhead wwl @ 2006-08-13 21:33 ` Taco Hoekwater 2006-08-15 15:15 ` Hans Hagen 1 sibling, 0 replies; 10+ messages in thread From: Taco Hoekwater @ 2006-08-13 21:33 UTC (permalink / raw) wwl@musensturm.de wrote: > Hallo! > >>> While I was reading 'In the Details' to learn more about grid- >>> typesetting, I could not comprehend the examples with >>> grid={broad,...}. >>> >>> Then in section 1.8 I read that grid=line should be a shortcut for >>> grid={broad,high,depth}. >> Section 1.8 deals \exclusively with \externalfigure. Apparently >> the grid option for sectioning commands is handled differently. > > In my version of 'In the Details', dated 2002 chapter 1 deals with > 'Snapping section heads' and section 1.8 is titled 'Snapping around > (broad,high,depth).' > Is there a newer variant of that manual? Must be, I read mine online from http://www.pragma-ade.com/general/manuals/details.pdf while I was keying in this answer. Greetings, Taco ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Snapping sectionhead 2006-08-13 21:24 ` Snapping sectionhead wwl 2006-08-13 21:33 ` Taco Hoekwater @ 2006-08-15 15:15 ` Hans Hagen 1 sibling, 0 replies; 10+ messages in thread From: Hans Hagen @ 2006-08-15 15:15 UTC (permalink / raw) wwl@musensturm.de wrote: > Hallo! > > >>> While I was reading 'In the Details' to learn more about grid- >>> typesetting, I could not comprehend the examples with >>> grid={broad,...}. >>> >>> Then in section 1.8 I read that grid=line should be a shortcut for >>> grid={broad,high,depth}. >>> >> Section 1.8 deals \exclusively with \externalfigure. Apparently >> the grid option for sectioning commands is handled differently. >> > > In my version of 'In the Details', dated 2002 chapter 1 deals with > 'Snapping section heads' and section 1.8 is titled 'Snapping around > (broad,high,depth).' > Is there a newer variant of that manual? > the grid options as discussed with sections, are the ones that are taken care of by the \snaptogrid macro; the grid key in externalfigure is not related to that, it relates to scaling, as in \setuplayout[grid=yes] \showgrid \setupcaptions[style=smallbodyfont,location=grid,inbetween=] \defineexternalfigure[enkel] [width=10cm,frame=on,grid=depth] \defineexternalfigure[dubbel][width=10cm,frame=on,grid=depth] \starttext test \placefigure{} {\externalfigure[t:/sources/cow.pdf][frame=on,grid=yes]} test \page test \placefigure{\input zapf\relax}{\externalfigure[t:/sources/cow.pdf][frame=on,grid=yes]} test \page test \placefigure{} {\externalfigure[t:/sources/cow.pdf][enkel]} test \page test \placefigure{\input zapf\relax}{\externalfigure[t:/sources/cow.pdf][enkel]} test \page \stoptext i.e. the grid option determins which way a height snaps (or is rounded); 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 ----------------------------------------------------------------- ^ permalink raw reply [flat|nested] 10+ messages in thread
[parent not found: <mailman.1.1155549602.30697.ntg-context@ntg.nl>]
* Re: Snapping sectionhead [not found] <mailman.1.1155549602.30697.ntg-context@ntg.nl> @ 2006-08-14 17:30 ` wwl 2006-08-14 17:58 ` taco hoekwater 0 siblings, 1 reply; 10+ messages in thread From: wwl @ 2006-08-14 17:30 UTC (permalink / raw) > Date: Sun, 13 Aug 2006 23:33:38 +0200 > From: Taco Hoekwater <taco@elvenkind.com> > Subject: Re: [NTG-context] Snapping sectionhead > >>> While I was reading 'In the Details' to learn more about grid- > >>> typesetting, I could not comprehend the examples with > >>> grid={broad,...}. > >>> > >>> Then in section 1.8 I read that grid=line should be a shortcut > for > >>> grid={broad,high,depth}. > >> Section 1.8 deals \exclusively with \externalfigure. Apparently > >> the grid option for sectioning commands is handled differently. > > > > In my version of 'In the Details', dated 2002 chapter 1 deals with > > 'Snapping section heads' and section 1.8 is titled 'Snapping > around > > (broad,high,depth).' > > Is there a newer variant of that manual? > > Must be, I read mine online from > > http://www.pragma-ade.com/general/manuals/details.pdf > > while I was keying in this answer. > > Greetings, > Taco I checked this. But it is the same document! Section 1.8 deals there with 'Snapping section heads' too. Wolfgang ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Snapping sectionhead 2006-08-14 17:30 ` wwl @ 2006-08-14 17:58 ` taco hoekwater 2006-08-14 18:39 ` taco hoekwater 0 siblings, 1 reply; 10+ messages in thread From: taco hoekwater @ 2006-08-14 17:58 UTC (permalink / raw) wwl@musensturm.de wrote: >> Must be, I read mine online from >> >> http://www.pragma-ade.com/general/manuals/details.pdf >> >> while I was keying in this answer. >> >> Greetings, >> Taco > > I checked this. > > But it is the same document! > > Section 1.8 deals there with 'Snapping section heads' too. Oops excuse me. I was reading _chapter 8_ . I'll try to find the difference Taco ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Snapping sectionhead 2006-08-14 17:58 ` taco hoekwater @ 2006-08-14 18:39 ` taco hoekwater 0 siblings, 0 replies; 10+ messages in thread From: taco hoekwater @ 2006-08-14 18:39 UTC (permalink / raw) taco hoekwater wrote: > wwl@musensturm.de wrote: >>> Must be, I read mine online from >>> >>> http://www.pragma-ade.com/general/manuals/details.pdf >>> >>> while I was keying in this answer. >>> >>> Greetings, >>> Taco >> I checked this. >> >> But it is the same document! >> >> Section 1.8 deals there with 'Snapping section heads' too. > > Oops excuse me. I was reading _chapter 8_ . I'll try to > find the difference Ok: yes they are definately different, but at the moment I don't know why. I predict that it is the manual that needs fixing, though. Taco ^ permalink raw reply [flat|nested] 10+ messages in thread
[parent not found: <mailman.153.1154467877.2039.ntg-context@ntg.nl>]
* Snapping sectionhead [not found] <mailman.153.1154467877.2039.ntg-context@ntg.nl> @ 2006-08-02 8:39 ` wwl 2006-08-13 7:52 ` Taco Hoekwater 0 siblings, 1 reply; 10+ messages in thread From: wwl @ 2006-08-02 8:39 UTC (permalink / raw) Hallo! While I was reading 'In the Details' to learn more about grid- typesetting, I could not comprehend the examples with grid={broad,...}. Then in section 1.8 I read that grid=line should be a shortcut for grid={broad,high,depth}. But these two variants gave me not the same result! Try \setuplayout[grid=yes] \definehead[Demo][section] \setuphead[Demo][style=\bfb, before=\blank, after=\blank, grid={broad,high,depth}] %\setuphead[Demo][style=\bfb,before=\blank,after=\blank,grid=line] \showgrid \starttext \Demo{Agathe} Bla blubber \stoptext Hmm! Wolfgang ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Snapping sectionhead 2006-08-02 8:39 ` wwl @ 2006-08-13 7:52 ` Taco Hoekwater 0 siblings, 0 replies; 10+ messages in thread From: Taco Hoekwater @ 2006-08-13 7:52 UTC (permalink / raw) wwl@musensturm.de wrote: > Hallo! > > While I was reading 'In the Details' to learn more about grid- > typesetting, I could not comprehend the examples with > grid={broad,...}. > > Then in section 1.8 I read that grid=line should be a shortcut for > grid={broad,high,depth}. Section 1.8 deals \exclusively with \externalfigure. Apparently the grid option for sectioning commands is handled differently. Taco ^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2006-08-15 15:15 UTC | newest] Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- [not found] <mailman.1.1155463203.3247.ntg-context@ntg.nl> 2006-08-13 21:24 ` some questions wwl 2006-08-13 23:07 ` Peter Rolf 2006-08-13 21:24 ` Snapping sectionhead wwl 2006-08-13 21:33 ` Taco Hoekwater 2006-08-15 15:15 ` Hans Hagen [not found] <mailman.1.1155549602.30697.ntg-context@ntg.nl> 2006-08-14 17:30 ` wwl 2006-08-14 17:58 ` taco hoekwater 2006-08-14 18:39 ` taco hoekwater [not found] <mailman.153.1154467877.2039.ntg-context@ntg.nl> 2006-08-02 8:39 ` wwl 2006-08-13 7:52 ` Taco Hoekwater
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).