* goto(box) and setuplist questions @ 2008-08-04 11:06 Alan Stone 2008-08-04 12:23 ` Hans Hagen 0 siblings, 1 reply; 24+ messages in thread From: Alan Stone @ 2008-08-04 11:06 UTC (permalink / raw) To: mailing list for ConTeXt users [-- Attachment #1.1: Type: text/plain, Size: 354 bytes --] Hi, (1) \goto(box) (1a) What's the difference between - goto and gotobox ? (1b) With \goto{Table of Contents}[contents] each word separately is interactive, not the whole word. How do you make so ? (3) \setuplist (3a) what is - depth ? - maxwidth ? (3b) margin=xpt sets the left margin to xpt How to set the right margin to xpt ? Thanks, Alan [-- Attachment #1.2: Type: text/html, Size: 461 bytes --] [-- Attachment #2: Type: text/plain, Size: 487 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: goto(box) and setuplist questions 2008-08-04 11:06 goto(box) and setuplist questions Alan Stone @ 2008-08-04 12:23 ` Hans Hagen 2008-08-04 14:44 ` Alan Stone 0 siblings, 1 reply; 24+ messages in thread From: Hans Hagen @ 2008-08-04 12:23 UTC (permalink / raw) To: mailing list for ConTeXt users Alan Stone wrote: > Hi, > > (1) \goto(box) > > (1a) What's the difference between > > - goto and gotobox ? > > (1b) With \goto{Table of Contents}[contents] > each word separately is interactive, not the whole word. > How do you make so ? gotobox does not split, just try both commands on a combination of words; also, gotobox does not check if the area is comfortable clickable (so you might need to add struts) (in a lists there are optins like interaction-all which makes the whole toc entry clockable) > (3) \setuplist > > (3a) what is > > - depth ? detail .. sometimes you need to manipulat ethe depth of lines; seldom needed > - maxwidth ? just try it on long entries .. it prevents too long lines this is a very long entry this is a very ... > (3b) margin=xpt sets the left margin to xpt > > How to set the right margin to xpt ? depends, sometimes setting the width works ok, otherwise wrap the whole in narrower ----------------------------------------------------------------- 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: goto(box) and setuplist questions 2008-08-04 12:23 ` Hans Hagen @ 2008-08-04 14:44 ` Alan Stone 2008-08-04 14:52 ` Wolfgang Schuster 0 siblings, 1 reply; 24+ messages in thread From: Alan Stone @ 2008-08-04 14:44 UTC (permalink / raw) To: mailing list for ConTeXt users [-- Attachment #1.1: Type: text/plain, Size: 1236 bytes --] > > > (3b) margin=xpt sets the left margin to xpt > > > > How to set the right margin to xpt ? > > depends, sometimes setting the width works ok, otherwise wrap the whole > in narrower I'm out of inspiration... \setupnarrower[left=.6pt,right=.6pt] \startinteractionmenu[right] % \startnarrower % sets a wide right margin, whatever \setnarrower left/right settings \placecontent[ % criterium=all, criterium=chapter, alternative=b, style=\tfx, % offset=5pt, % no effect at all % margin=5pt, % only sets left margin % width=.90\rightedge, % no effect at all % before=\startnarrower, % no effect at all % after=\stopnarrower, % no effect at all interaction=all] % \stopnarrower \stopinteractionmenu % \startnarrower % blank menu \setupinteractionmenu[right][ % offset=5pt, % no effect at all % width=.95\rightedge, % no effect at all % before=\startnarrower, % sets a wide right margin, % after=\stopnarrower, % whatever \setnarrower left/right settings distance=overlay] % \stopnarrower Alan [-- Attachment #1.2: Type: text/html, Size: 2761 bytes --] [-- Attachment #2: Type: text/plain, Size: 487 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: goto(box) and setuplist questions 2008-08-04 14:44 ` Alan Stone @ 2008-08-04 14:52 ` Wolfgang Schuster 2008-08-04 20:57 ` Alan Stone 0 siblings, 1 reply; 24+ messages in thread From: Wolfgang Schuster @ 2008-08-04 14:52 UTC (permalink / raw) To: mailing list for ConTeXt users On Mon, Aug 4, 2008 at 4:44 PM, Alan Stone <software.list.1es9s@gmail.com> wrote: >> > (3b) margin=xpt sets the left margin to xpt >> > >> > How to set the right margin to xpt ? >> >> depends, sometimes setting the width works ok, otherwise wrap the whole >> in narrower > > I'm out of inspiration... > > \setupnarrower[left=.6pt,right=.6pt] > > \startinteractionmenu[right] > % \startnarrower % sets a wide right margin, whatever \setnarrower > left/right settings > \placecontent[ > % criterium=all, > criterium=chapter, > alternative=b, > style=\tfx, > % offset=5pt, % no effect at all > % margin=5pt, % only sets left margin > % width=.90\rightedge, % no effect at all > % before=\startnarrower, % no effect at all > % after=\stopnarrower, % no effect at all > interaction=all] > % \stopnarrower > \stopinteractionmenu > > % \startnarrower % blank menu > \setupinteractionmenu[right][ > % offset=5pt, % no effect at all > % width=.95\rightedge, % no effect at all > % before=\startnarrower, % sets a wide right margin, > % after=\stopnarrower, % whatever \setnarrower left/right > settings > distance=overlay] > % \stopnarrower Make a real example. 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: goto(box) and setuplist questions 2008-08-04 14:52 ` Wolfgang Schuster @ 2008-08-04 20:57 ` Alan Stone 2008-08-05 8:29 ` Wolfgang Schuster 0 siblings, 1 reply; 24+ messages in thread From: Alan Stone @ 2008-08-04 20:57 UTC (permalink / raw) To: mailing list for ConTeXt users [-- Attachment #1.1: Type: text/plain, Size: 2314 bytes --] I'm looking to have in the menu... - chapter title centered - section title left aligned - for long chapter/section titles split over more than 1line, vertical space between these chapter/section lines to be smaller - left and right margin of (x)pt \setuppapersize[S6][S6] \setupbodyfont[14.4pt] %\showframe \setuppagenumbering[alternative=singlesided] \setuplayout [width=360pt, headerheight=7pt, footerheight=7pt, margin=0pt, backspace=25pt, topheight=7pt, bottomheight=7pt, rightedgedistance=20pt, rightedge=180pt] \setuplist[chapter,section][ criterium=all, aligntitle=yes, interaction=all] \setuphead[chapter][number=yes] \setuphead[section][number=no] \setupbackgrounds[text][rightedge][frame=on] \setupinteraction[ state=start, menu=on, page=yes] \setupnarrower[left=1pt,right=1pt] %\setupnarrower[left=5pt,right=5pt] \defineinteractionmenu[myMenu][right] \startinteractionmenu[myMenu] \placecontent[ criterium=all, alternative=b, % distance=2pt, % no effect style=\tfx, % \tfxx is too small to read % offset=5pt, % no effect % margin=5pt, % only sets left margin % width=.9\rightedgewidth, % chapter title gets whacked out of rightedge % maxwidth=.9\rightedgewidth, % no effect interaction=all, before=\startnarrower, % sets a default left and right margin, i.e. independent after=\stopnarrower] % of left/right setting % before=, % after=] \stopinteractionmenu \setupinteractionmenu[myMenu][state=start] \setupinteractionmenu[right][ % offset=5pt, % no effect % width=.9\rightedgewidth, % no effect % maxwidth=.9\rightedgewidth, % no effect % before=\startnarrower, % no effect % after=\stopnarrower, % no effect distance=overlay] \starttext \chapter{This Long Chapter Title} \section{This Long Section Title A} \input knuth \section{This Long Section Title B} \input zapf \stoptext [-- Attachment #1.2: Type: text/html, Size: 4993 bytes --] [-- Attachment #2: Type: text/plain, Size: 487 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: goto(box) and setuplist questions 2008-08-04 20:57 ` Alan Stone @ 2008-08-05 8:29 ` Wolfgang Schuster 2008-08-05 11:07 ` Alan Stone 0 siblings, 1 reply; 24+ messages in thread From: Wolfgang Schuster @ 2008-08-05 8:29 UTC (permalink / raw) To: mailing list for ConTeXt users On Mon, Aug 4, 2008 at 10:57 PM, Alan Stone <software.list.1es9s@gmail.com> wrote: > I'm looking to have in the menu... > > - chapter title centered > - section title left aligned > - for long chapter/section titles split over more than 1line, > vertical space between these chapter/section lines to be > smaller > - left and right margin of (x)pt > > \setuppapersize[S6][S6] > > \setupbodyfont[14.4pt] > > %\showframe > > \setuppagenumbering[alternative=singlesided] > > \setuplayout > [width=360pt, > headerheight=7pt, > footerheight=7pt, > margin=0pt, > backspace=25pt, > topheight=7pt, > bottomheight=7pt, > rightedgedistance=20pt, > rightedge=180pt] > > \setuplist[chapter,section][ > criterium=all, > aligntitle=yes, > interaction=all] > > \setuphead[chapter][number=yes] > \setuphead[section][number=no] > > \setupbackgrounds[text][rightedge][frame=on] > > \setupinteraction[ > state=start, > menu=on, > page=yes] > > \setupnarrower[left=1pt,right=1pt] > %\setupnarrower[left=5pt,right=5pt] > > \defineinteractionmenu[myMenu][right] > > \startinteractionmenu[myMenu] > \placecontent[ > criterium=all, > alternative=b, > % distance=2pt, % no effect > style=\tfx, % \tfxx is too > small to read > % offset=5pt, % no effect > % margin=5pt, % only sets left > margin > % width=.9\rightedgewidth, % chapter title gets whacked > out of rightedge > % maxwidth=.9\rightedgewidth, % no effect > interaction=all, > before=\startnarrower, % sets a default left and > right margin, i.e. independent > after=\stopnarrower] % of left/right setting > % before=, > % after=] > \stopinteractionmenu > > \setupinteractionmenu[myMenu][state=start] > > \setupinteractionmenu[right][ > % offset=5pt, % no effect > % width=.9\rightedgewidth, % no effect > % maxwidth=.9\rightedgewidth, % no effect > % before=\startnarrower, % no effect > % after=\stopnarrower, % no effect > distance=overlay] > > \starttext > \chapter{This Long Chapter Title} > \section{This Long Section Title A} > \input knuth > \section{This Long Section Title B} > \input zapf > \stoptext Slightly modfied: \setuppapersize[S6][S6] \setupbodyfont[14.4pt] \setuplayout [width=360pt, headerheight=7pt, footerheight=7pt, margin=0pt, backspace=25pt, topheight=7pt, bottomheight=7pt, rightedgedistance=20pt, rightedge=180pt] \setuplist[chapter,section][aligntitle=yes,criterium=all] \setuplist[chapter][align=middle] \setuphead[chapter][number=yes] \setuphead[section][number=no] \setupbackgrounds[text][rightedge][frame=on] \setupinteraction[ state=start, menu=on, page=yes] \setupnarrower[left=1pt,right=1pt] \defineinteractionmenu[myMenu][right] \startinteractionmenu[myMenu] \placecontent[ criterium=all, alternative=b, style={\switchtobodyfont[small]\setupinterlinespace[line=2.4ex]}, interaction=all, before={\blank[small]\startnarrower}, after={\stopnarrower\blank[medium]}, ] \stopinteractionmenu \setupinteractionmenu[myMenu][state=start] \setupinteractionmenu[right][distance=overlay] \starttext \chapter{This Long Chapter Title} \section{This Long Section Title A} \input knuth \section{This Long Section Title B} \input zapf \stoptext 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: goto(box) and setuplist questions 2008-08-05 8:29 ` Wolfgang Schuster @ 2008-08-05 11:07 ` Alan Stone 2008-08-05 11:16 ` Wolfgang Schuster 0 siblings, 1 reply; 24+ messages in thread From: Alan Stone @ 2008-08-05 11:07 UTC (permalink / raw) To: mailing list for ConTeXt users [-- Attachment #1.1: Type: text/plain, Size: 1842 bytes --] Thanks for these finishing touches Wolfgang. I'm troubled by the following though... - whatever the dimension (number and/or unit) I set for \setupnarrower[left=1pt,right=1pt] the left and right margin remain the same - when setting for example \setuplist[chapter][align=middle,distance=1em] ( or whatever else for distance ) it has no effect upon the distance between the chapter number and the chapter title ConTeXt ver: 2008.07.10 08:40 MKIV fmt: 2008.7.10 int: english/english Alan On Tue, Aug 5, 2008 at 10:29 AM, Wolfgang Schuster < schuster.wolfgang@googlemail.com> wrote: > > Slightly modfied: > > \setuppapersize[S6][S6] > > \setupbodyfont[14.4pt] > > \setuplayout > [width=360pt, > headerheight=7pt, > footerheight=7pt, > margin=0pt, > backspace=25pt, > topheight=7pt, > bottomheight=7pt, > rightedgedistance=20pt, > rightedge=180pt] > > \setuplist[chapter,section][aligntitle=yes,criterium=all] > \setuplist[chapter][align=middle] > > \setuphead[chapter][number=yes] > \setuphead[section][number=no] > > \setupbackgrounds[text][rightedge][frame=on] > > \setupinteraction[ > state=start, > menu=on, > page=yes] > > \setupnarrower[left=1pt,right=1pt] > > \defineinteractionmenu[myMenu][right] > > \startinteractionmenu[myMenu] > \placecontent[ > criterium=all, > alternative=b, > style={\switchtobodyfont[small]\setupinterlinespace[line=2.4ex]}, > interaction=all, > before={\blank[small]\startnarrower}, > after={\stopnarrower\blank[medium]}, > ] > \stopinteractionmenu > > \setupinteractionmenu[myMenu][state=start] > > \setupinteractionmenu[right][distance=overlay] > > \starttext > \chapter{This Long Chapter Title} > \section{This Long Section Title A} > \input knuth > \section{This Long Section Title B} > \input zapf > \stoptext > > Wolfgang > [-- Attachment #1.2: Type: text/html, Size: 2796 bytes --] [-- Attachment #2: Type: text/plain, Size: 487 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: goto(box) and setuplist questions 2008-08-05 11:07 ` Alan Stone @ 2008-08-05 11:16 ` Wolfgang Schuster 2008-08-06 7:12 ` Alan Stone 0 siblings, 1 reply; 24+ messages in thread From: Wolfgang Schuster @ 2008-08-05 11:16 UTC (permalink / raw) To: mailing list for ConTeXt users On Tue, Aug 5, 2008 at 1:07 PM, Alan Stone <software.list.1es9s@gmail.com> wrote: > Thanks for these finishing touches Wolfgang. > > I'm troubled by the following though... > > - whatever the dimension (number and/or unit) I set for > \setupnarrower[left=1pt,right=1pt] > the left and right margin remain the same Use \startnarrower[left,right]. > - when setting for example > \setuplist[chapter][align=middle,distance=1em] > ( or whatever else for distance ) it has no effect > upon the distance between the chapter number > and the chapter title \setuplist[chapter][align=middle,distance=0pt,width=1em] 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: goto(box) and setuplist questions 2008-08-05 11:16 ` Wolfgang Schuster @ 2008-08-06 7:12 ` Alan Stone 2008-08-06 8:45 ` Wolfgang Schuster 0 siblings, 1 reply; 24+ messages in thread From: Alan Stone @ 2008-08-06 7:12 UTC (permalink / raw) To: mailing list for ConTeXt users [-- Attachment #1.1: Type: text/plain, Size: 729 bytes --] On Tue, Aug 5, 2008 at 1:16 PM, Wolfgang Schuster < schuster.wolfgang@googlemail.com> wrote: > > - whatever the dimension (number and/or unit) I set for > > \setupnarrower[left=1pt,right=1pt] > > the left and right margin remain the same > > Use \startnarrower[left,right]. Used it, still doesn't work. > - when setting for example > > \setuplist[chapter][align=middle,distance=1em] > > ( or whatever else for distance ) it has no effect > > upon the distance between the chapter number > > and the chapter title > > \setuplist[chapter][align=middle,distance=0pt,width=1em] This works. What's the reason for this Wolfgang ? From what I understood from the main manual, it logically should be distance=(x>0)pt. Best, Alan [-- Attachment #1.2: Type: text/html, Size: 1311 bytes --] [-- Attachment #2: Type: text/plain, Size: 487 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: goto(box) and setuplist questions 2008-08-06 7:12 ` Alan Stone @ 2008-08-06 8:45 ` Wolfgang Schuster 2008-08-06 10:16 ` Alan Stone 2008-08-06 10:25 ` Alan Stone 0 siblings, 2 replies; 24+ messages in thread From: Wolfgang Schuster @ 2008-08-06 8:45 UTC (permalink / raw) To: mailing list for ConTeXt users On Wed, Aug 6, 2008 at 9:12 AM, Alan Stone <software.list.1es9s@gmail.com> wrote: > On Tue, Aug 5, 2008 at 1:16 PM, Wolfgang Schuster > <schuster.wolfgang@googlemail.com> wrote: >> >> > - whatever the dimension (number and/or unit) I set for >> > \setupnarrower[left=1pt,right=1pt] >> > the left and right margin remain the same >> >> Use \startnarrower[left,right]. > > Used it, still doesn't work. It works. \setupnarrower[left=1em,right=1em] \startinteractionmenu[myMenu] \placecontent[ criterium=all, alternative=b, style={\switchtobodyfont[small]\setupinterlinespace[line=2.4ex]}, interaction=all, before={\blank[small]\startnarrower[left,right]}, after={\stopnarrower\blank[medium]}, ] \stopinteractionmenu >> > - when setting for example >> > \setuplist[chapter][align=middle,distance=1em] >> > ( or whatever else for distance ) it has no effect >> > upon the distance between the chapter number >> > and the chapter title >> >> \setuplist[chapter][align=middle,distance=0pt,width=1em] > > This works. > > What's the reason for this Wolfgang ? From what I understood > from the main manual, it logically should be distance=(x>0)pt. 'width' is the width of the box for the number and 'distance' is the distance between the numberbox and the text. The result is something like: \hbox to 1em{1\hfil}\hskip 0pt{chapter title ...} ^^ ^^ width distance 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: goto(box) and setuplist questions 2008-08-06 8:45 ` Wolfgang Schuster @ 2008-08-06 10:16 ` Alan Stone 2008-08-06 13:26 ` Wolfgang Schuster 2008-08-06 10:25 ` Alan Stone 1 sibling, 1 reply; 24+ messages in thread From: Alan Stone @ 2008-08-06 10:16 UTC (permalink / raw) To: mailing list for ConTeXt users [-- Attachment #1.1: Type: text/plain, Size: 1334 bytes --] On Wed, Aug 6, 2008 at 10:45 AM, Wolfgang Schuster < schuster.wolfgang@googlemail.com> wrote: > It works. Ahaa! Now it does. I misunderstood. Thanks. > What's the reason for this Wolfgang ? From what I understood > > from the main manual, it logically should be distance=(x>0)pt. > > 'width' is the width of the box for the number and 'distance' is the > distance between the numberbox and the text. Indeed, so normally you should be setting distance=(x>0)pt instead of the width trickery. Hence my question. > The result is something like: > > \hbox to 1em{1\hfil}\hskip 0pt{chapter title ...} > ^^ ^^ > width distance Sorry, TeX is currently still like Klingon to me. Thanks anyway. Hans wrote: >> - maxwidth ? > >just try it on long entries .. it prevents too long lines > >this is a very long entry >this is a very ... Ok I see. Now, in \placecontent or \setuplist, which parameter allows to influence where long lines are cut off in two (or more) ? Like... (number) This long long chapter title (pagenumber) vs. (number) This long long chapter title (pagenumber) Using the brute force tactic I tried setting width and textwith which didn't work. It could be textcommand. If so what does \command#1 mean ( see main manual pg 150 ) ? Best, Alan [-- Attachment #1.2: Type: text/html, Size: 2416 bytes --] [-- Attachment #2: Type: text/plain, Size: 487 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: goto(box) and setuplist questions 2008-08-06 10:16 ` Alan Stone @ 2008-08-06 13:26 ` Wolfgang Schuster 2008-08-06 14:15 ` Alan Stone 0 siblings, 1 reply; 24+ messages in thread From: Wolfgang Schuster @ 2008-08-06 13:26 UTC (permalink / raw) To: mailing list for ConTeXt users On Wed, Aug 6, 2008 at 12:16 PM, Alan Stone <software.list.1es9s@gmail.com> wrote: > On Wed, Aug 6, 2008 at 10:45 AM, Wolfgang Schuster > <schuster.wolfgang@googlemail.com> wrote: >> >> It works. > > Ahaa! Now it does. I misunderstood. Thanks. > >> > What's the reason for this Wolfgang ? From what I understood >> > from the main manual, it logically should be distance=(x>0)pt. >> >> 'width' is the width of the box for the number and 'distance' is the >> distance between the numberbox and the text. > > Indeed, so normally you should be setting distance=(x>0)pt instead of > the width trickery. Hence my question. Depends on the situation, for left aligned numbers it didn't matter because you can't see where the space comes from (1) but for right aligned numbers you need a postive value for distance (2). (1) Left aligned number: \starttext \bTABLE[frame=off] \bTR\bTD[width=1cm] 1 \eTD\bTD header \eTD\eTR \eTABLE \bTABLE[frame=off,distance=5mm] \bTR\bTD[width=5mm] 1 \eTD\bTD header \eTD\eTR \eTABLE \stoptext (2) Right aligned number: \starttext \bTABLE[frame=off] \bTR\bTD[width=1cm,align=flushright] 1 \eTD\bTD header \eTD\eTR \eTABLE \bTABLE[frame=off,distance=5mm] \bTR\bTD[width=5mm,align=flushright] 1 \eTD\bTD header \eTD\eTR \eTABLE \stoptext >> The result is something like: >> >> \hbox to 1em{1\hfil}\hskip 0pt{chapter title ...} >> ^^ ^^ >> width distance > > Sorry, TeX is currently still like Klingon to me. Thanks anyway. But TeX is turing complete ;-) > Hans wrote: >>> - maxwidth ? >> >>just try it on long entries .. it prevents too long lines >> >>this is a very long entry >>this is a very ... > > Ok I see. Now, in \placecontent or \setuplist, which parameter > allows to influence where long lines are cut off in two (or more) ? > > Like... > > (number) This long long > chapter title (pagenumber) > > vs. > > (number) This long > long chapter title (pagenumber) > > Using the brute force tactic I tried setting width and textwith which didn't > work. > It could be textcommand. If so what does \command#1 mean ( see main > manual pg 150 ) ? The effect for maxwidth (3cm in my example) is this: \starttext \limitatetext {This long long chapter title} {3cm} {\unknown} \stoptext 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: goto(box) and setuplist questions 2008-08-06 13:26 ` Wolfgang Schuster @ 2008-08-06 14:15 ` Alan Stone 2008-08-06 14:59 ` Wolfgang Schuster 2008-08-06 15:03 ` Wolfgang Schuster 0 siblings, 2 replies; 24+ messages in thread From: Alan Stone @ 2008-08-06 14:15 UTC (permalink / raw) To: mailing list for ConTeXt users [-- Attachment #1.1: Type: text/plain, Size: 2274 bytes --] On Wed, Aug 6, 2008 at 3:26 PM, Wolfgang Schuster < schuster.wolfgang@googlemail.com> wrote: > Depends on the situation, for left aligned numbers it didn't matter because > you can't see where the space comes from (1) but for right aligned numbers > you need a postive value for distance (2). > > (1) Left aligned number: > > \starttext > \bTABLE[frame=off] > \bTR\bTD[width=1cm] 1 \eTD\bTD header \eTD\eTR > \eTABLE > \bTABLE[frame=off,distance=5mm] > \bTR\bTD[width=5mm] 1 \eTD\bTD header \eTD\eTR > \eTABLE > \stoptext > > (2) Right aligned number: > > \starttext > \bTABLE[frame=off] > \bTR\bTD[width=1cm,align=flushright] 1 \eTD\bTD header \eTD\eTR > \eTABLE > \bTABLE[frame=off,distance=5mm] > \bTR\bTD[width=5mm,align=flushright] 1 \eTD\bTD header \eTD\eTR > \eTABLE > \stoptext I'm impressed... So you really have an MBA in Klingon! :O) > Hans wrote: > >>> - maxwidth ? > >> > >>just try it on long entries .. it prevents too long lines > >> > >>this is a very long entry > >>this is a very ... > > > > Ok I see. Now, in \placecontent or \setuplist, which parameter > > allows to influence where long lines are cut off in two (or more) ? > > > > Like... > > > > (number) This long long > > chapter title (pagenumber) > > > > vs. > > > > (number) This long > > long chapter title (pagenumber) > > > > Using the brute force tactic I tried setting width and textwith which > didn't > > work. > > It could be textcommand. If so what does \command#1 mean ( see main > > manual pg 150 ) ? > > The effect for maxwidth (3cm in my example) is this: > > \starttext > \limitatetext {This long long chapter title} {3cm} {\unknown} > \stoptext > > Wolfgang > I just tried with style={\switchtobodyfont[small]\setuplinewidth[(x)pt]\setupinterlinespace[line=2.4ex]} and several values for (x) in \startinteractionmenu[myMenu] \placecontent[ criterium=all, alternative=b, % style={\switchtobodyfont[small]\setupinterlinespace[line=2.4ex]}, style={\switchtobodyfont[small]\setuplinewidth[150pt]\setupinterlinespace[line=2.4ex]}, interaction=all, before={\blank[small]\startnarrower[left,right]}, after={\stopnarrower\blank[medium]}] \stopinteractionmenu but that generates a compile error. Grrr... Best, Alan [-- Attachment #1.2: Type: text/html, Size: 3313 bytes --] [-- Attachment #2: Type: text/plain, Size: 487 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: goto(box) and setuplist questions 2008-08-06 14:15 ` Alan Stone @ 2008-08-06 14:59 ` Wolfgang Schuster 2008-08-06 16:07 ` Alan Stone 2008-08-06 15:03 ` Wolfgang Schuster 1 sibling, 1 reply; 24+ messages in thread From: Wolfgang Schuster @ 2008-08-06 14:59 UTC (permalink / raw) To: mailing list for ConTeXt users On Wed, Aug 6, 2008 at 4:15 PM, Alan Stone <software.list.1es9s@gmail.com> wrote: > On Wed, Aug 6, 2008 at 3:26 PM, Wolfgang Schuster > <schuster.wolfgang@googlemail.com> wrote: >> >> Depends on the situation, for left aligned numbers it didn't matter >> because >> you can't see where the space comes from (1) but for right aligned numbers >> you need a postive value for distance (2). >> >> (1) Left aligned number: >> >> \starttext >> \bTABLE[frame=off] >> \bTR\bTD[width=1cm] 1 \eTD\bTD header \eTD\eTR >> \eTABLE >> \bTABLE[frame=off,distance=5mm] >> \bTR\bTD[width=5mm] 1 \eTD\bTD header \eTD\eTR >> \eTABLE >> \stoptext >> >> (2) Right aligned number: >> >> \starttext >> \bTABLE[frame=off] >> \bTR\bTD[width=1cm,align=flushright] 1 \eTD\bTD header \eTD\eTR >> \eTABLE >> \bTABLE[frame=off,distance=5mm] >> \bTR\bTD[width=5mm,align=flushright] 1 \eTD\bTD header \eTD\eTR >> \eTABLE >> \stoptext > > I'm impressed... > > So you really have an MBA in Klingon! :O) > >> > Hans wrote: >> >>> - maxwidth ? >> >> >> >>just try it on long entries .. it prevents too long lines >> >> >> >>this is a very long entry >> >>this is a very ... >> > >> > Ok I see. Now, in \placecontent or \setuplist, which parameter >> > allows to influence where long lines are cut off in two (or more) ? >> > >> > Like... >> > >> > (number) This long long >> > chapter title (pagenumber) >> > >> > vs. >> > >> > (number) This long >> > long chapter title (pagenumber) >> > >> > Using the brute force tactic I tried setting width and textwith which >> > didn't >> > work. >> > It could be textcommand. If so what does \command#1 mean ( see main >> > manual pg 150 ) ? >> >> The effect for maxwidth (3cm in my example) is this: >> >> \starttext >> \limitatetext {This long long chapter title} {3cm} {\unknown} >> \stoptext >> >> Wolfgang > > I just tried with > > style={\switchtobodyfont[small]\setuplinewidth[(x)pt]\setupinterlinespace[line=2.4ex]} \starttext \framed{text} \thinrule \setuplinewidth[small] \framed{text} \thinrule \setuplinewidth[1cm] \framed{text} \thinrule \stoptext > and several values for (x) in > > \startinteractionmenu[myMenu] > \placecontent[ > criterium=all, > alternative=b, > % style={\switchtobodyfont[small]\setupinterlinespace[line=2.4ex]}, > style={\switchtobodyfont[small]\setuplinewidth[150pt]\setupinterlinespace[line=2.4ex]}, > interaction=all, > before={\blank[small]\startnarrower[left,right]}, > after={\stopnarrower\blank[medium]}] > \stopinteractionmenu > > but that generates a compile error. Grrr... You could try style={\switchtobodyfont[small]\hsize.8\hsize\relax\setupinterlinespace[line=2.4ex]}, or style={\switchtobodyfont[small]\hsize150pt\relax\setupinterlinespace[line=2.4ex]}, The better way is to define you own list alternative. \define[3]\ChapterList {\hbox {\hbox to .5em{#1}\hskip.5em \vtop{\hsize150pt\relax#2}% \hfil#3}} \setuplist[chapter][alternative=command,command=\ChapterList] 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: goto(box) and setuplist questions 2008-08-06 14:59 ` Wolfgang Schuster @ 2008-08-06 16:07 ` Alan Stone 2008-08-06 18:45 ` Alan Stone 2008-08-07 6:24 ` Wolfgang Schuster 0 siblings, 2 replies; 24+ messages in thread From: Alan Stone @ 2008-08-06 16:07 UTC (permalink / raw) To: mailing list for ConTeXt users [-- Attachment #1.1: Type: text/plain, Size: 1144 bytes --] On Wed, Aug 6, 2008 at 4:59 PM, Wolfgang Schuster < schuster.wolfgang@googlemail.com> wrote: > \starttext > > \framed{text} > > \thinrule > > \setuplinewidth[small] > > \framed{text} > > \thinrule > > \setuplinewidth[1cm] > > \framed{text} > > \thinrule > > \stoptext I don't see the output difference between \framed{text} \thinrule \setuplinewidth[small] \framed{text} \thinrule \setuplinewidth[big] \framed{text} while \setuplinewidth[1cm] \framed{text} is "fascinating". You could try > > > style={\switchtobodyfont[small]\hsize.8\hsize\relax\setupinterlinespace[line=2.4ex]}, > > or > > > style={\switchtobodyfont[small]\hsize150pt\relax\setupinterlinespace[line=2.4ex]}, These work, however not entirely to my satisfaction because then the right margin setting is modified due to text/head and pagenumber being grouped ( re: drawing, manual pg 150 ). > The better way is to define you own list alternative. > > \define[3]\ChapterList > {\hbox > {\hbox to .5em{#1}\hskip.5em > \vtop{\hsize150pt\relax#2}% > \hfil#3}} > > \setuplist[chapter][alternative=command,command=\ChapterList] I'll try that... Alan [-- Attachment #1.2: Type: text/html, Size: 1978 bytes --] [-- Attachment #2: Type: text/plain, Size: 487 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: goto(box) and setuplist questions 2008-08-06 16:07 ` Alan Stone @ 2008-08-06 18:45 ` Alan Stone 2008-08-07 6:26 ` Wolfgang Schuster 2008-08-07 7:48 ` Wolfgang Schuster 2008-08-07 6:24 ` Wolfgang Schuster 1 sibling, 2 replies; 24+ messages in thread From: Alan Stone @ 2008-08-06 18:45 UTC (permalink / raw) To: mailing list for ConTeXt users [-- Attachment #1.1: Type: text/plain, Size: 405 bytes --] > > The better way is to define you own list alternative. >> >> \define[3]\ChapterList >> {\hbox >> {\hbox to .5em{#1}\hskip.5em >> \vtop{\hsize150pt\relax#2}% >> \hfil#3}} >> >> \setuplist[chapter][alternative=command,command=\ChapterList] > > > I'll try that... > #1, #2, #3 being parameters which can be passed to \ChapterList, aka \ChapterList[#1,#2,#3]. Is that correct ? Best, Alan [-- Attachment #1.2: Type: text/html, Size: 904 bytes --] [-- Attachment #2: Type: text/plain, Size: 487 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: goto(box) and setuplist questions 2008-08-06 18:45 ` Alan Stone @ 2008-08-07 6:26 ` Wolfgang Schuster 2008-08-07 7:48 ` Wolfgang Schuster 1 sibling, 0 replies; 24+ messages in thread From: Wolfgang Schuster @ 2008-08-07 6:26 UTC (permalink / raw) To: mailing list for ConTeXt users On Wed, Aug 6, 2008 at 8:45 PM, Alan Stone <software.list.1es9s@gmail.com> wrote: >>> The better way is to define you own list alternative. >>> >>> \define[3]\ChapterList >>> {\hbox >>> {\hbox to .5em{#1}\hskip.5em >>> \vtop{\hsize150pt\relax#2}% >>> \hfil#3}} >>> >>> \setuplist[chapter][alternative=command,command=\ChapterList] >> >> I'll try that... > > #1, #2, #3 being parameters which can be passed to \ChapterList, aka > \ChapterList[#1,#2,#3]. Is that correct ? No, \define[3]\ChapterList == \def\ChapterList#1#2#3. 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: goto(box) and setuplist questions 2008-08-06 18:45 ` Alan Stone 2008-08-07 6:26 ` Wolfgang Schuster @ 2008-08-07 7:48 ` Wolfgang Schuster 1 sibling, 0 replies; 24+ messages in thread From: Wolfgang Schuster @ 2008-08-07 7:48 UTC (permalink / raw) To: mailing list for ConTeXt users On Wed, Aug 6, 2008 at 8:45 PM, Alan Stone <software.list.1es9s@gmail.com> wrote: >>> The better way is to define you own list alternative. >>> >>> \define[3]\ChapterList >>> {\hbox >>> {\hbox to .5em{#1}\hskip.5em >>> \vtop{\hsize150pt\relax#2}% >>> \hfil#3}} >>> >>> \setuplist[chapter][alternative=command,command=\ChapterList] >> >> I'll try that... > > #1, #2, #3 being parameters which can be passed to \ChapterList, aka > \ChapterList[#1,#2,#3]. Is that correct ? Each lis entry has three argument: #1: The section number #2: The header text #3: The page number To define your own format for the list entry in the ToC you need a new command with three argument like \def\MyCommand#1#2#3 and use it in \setuplist with \setuplist[...][command=\MyCommand]. 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: goto(box) and setuplist questions 2008-08-06 16:07 ` Alan Stone 2008-08-06 18:45 ` Alan Stone @ 2008-08-07 6:24 ` Wolfgang Schuster 1 sibling, 0 replies; 24+ messages in thread From: Wolfgang Schuster @ 2008-08-07 6:24 UTC (permalink / raw) To: mailing list for ConTeXt users On Wed, Aug 6, 2008 at 6:07 PM, Alan Stone <software.list.1es9s@gmail.com> wrote: > On Wed, Aug 6, 2008 at 4:59 PM, Wolfgang Schuster > <schuster.wolfgang@googlemail.com> wrote: >> >> \starttext >> >> \framed{text} >> >> \thinrule >> >> \setuplinewidth[small] >> >> \framed{text} >> >> \thinrule >> >> \setuplinewidth[1cm] >> >> \framed{text} >> >> \thinrule >> >> \stoptext > > I don't see the output difference between small = 0.2pt medium = 0.4pt (TeX default value and also ConTeXt default) big = 0.6pt no big difference on the screen with 100% magnification but you can zoom into the page and you see the difference. > \framed{text} > > \thinrule > > \setuplinewidth[small] > \framed{text} > > \thinrule > > \setuplinewidth[big] > \framed{text} > > while > > \setuplinewidth[1cm] > \framed{text} > > is "fascinating". > >> You could try >> >> >> style={\switchtobodyfont[small]\hsize.8\hsize\relax\setupinterlinespace[line=2.4ex]}, >> >> or >> >> >> style={\switchtobodyfont[small]\hsize150pt\relax\setupinterlinespace[line=2.4ex]}, > > These work, however not entirely to my satisfaction because then the right > margin setting is modified due to text/head and pagenumber being grouped ( > re: drawing, manual pg 150 ). This is why you could define your own alternatives. >> The better way is to define you own list alternative. >> >> \define[3]\ChapterList >> {\hbox >> {\hbox to .5em{#1}\hskip.5em >> \vtop{\hsize150pt\relax#2}% >> \hfil#3}} >> >> \setuplist[chapter][alternative=command,command=\ChapterList] > > I'll try that... 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: goto(box) and setuplist questions 2008-08-06 14:15 ` Alan Stone 2008-08-06 14:59 ` Wolfgang Schuster @ 2008-08-06 15:03 ` Wolfgang Schuster 2008-08-06 15:13 ` Alan Stone 1 sibling, 1 reply; 24+ messages in thread From: Wolfgang Schuster @ 2008-08-06 15:03 UTC (permalink / raw) To: mailing list for ConTeXt users On Wed, Aug 6, 2008 at 4:15 PM, Alan Stone <software.list.1es9s@gmail.com> wrote: > On Wed, Aug 6, 2008 at 3:26 PM, Wolfgang Schuster > <schuster.wolfgang@googlemail.com> wrote: >> >> Depends on the situation, for left aligned numbers it didn't matter >> because >> you can't see where the space comes from (1) but for right aligned numbers >> you need a postive value for distance (2). >> >> (1) Left aligned number: >> >> \starttext >> \bTABLE[frame=off] >> \bTR\bTD[width=1cm] 1 \eTD\bTD header \eTD\eTR >> \eTABLE >> \bTABLE[frame=off,distance=5mm] >> \bTR\bTD[width=5mm] 1 \eTD\bTD header \eTD\eTR >> \eTABLE >> \stoptext >> >> (2) Right aligned number: >> >> \starttext >> \bTABLE[frame=off] >> \bTR\bTD[width=1cm,align=flushright] 1 \eTD\bTD header \eTD\eTR >> \eTABLE >> \bTABLE[frame=off,distance=5mm] >> \bTR\bTD[width=5mm,align=flushright] 1 \eTD\bTD header \eTD\eTR >> \eTABLE >> \stoptext > > I'm impressed... > > So you really have an MBA in Klingon! :O) > >> > Hans wrote: >> >>> - maxwidth ? >> >> >> >>just try it on long entries .. it prevents too long lines >> >> >> >>this is a very long entry >> >>this is a very ... >> > >> > Ok I see. Now, in \placecontent or \setuplist, which parameter >> > allows to influence where long lines are cut off in two (or more) ? >> > >> > Like... >> > >> > (number) This long long >> > chapter title (pagenumber) >> > >> > vs. >> > >> > (number) This long >> > long chapter title (pagenumber) >> > >> > Using the brute force tactic I tried setting width and textwith which >> > didn't >> > work. >> > It could be textcommand. If so what does \command#1 mean ( see main >> > manual pg 150 ) ? >> >> The effect for maxwidth (3cm in my example) is this: >> >> \starttext >> \limitatetext {This long long chapter title} {3cm} {\unknown} >> \stoptext >> > I just tried with > > style={\switchtobodyfont[small]\setuplinewidth[(x)pt]\setupinterlinespace[line=2.4ex]} > > and several values for (x) in > > \startinteractionmenu[myMenu] > \placecontent[ > criterium=all, > alternative=b, > % style={\switchtobodyfont[small]\setupinterlinespace[line=2.4ex]}, > > style={\switchtobodyfont[small]\setuplinewidth[150pt]\setupinterlinespace[line=2.4ex]}, > interaction=all, > before={\blank[small]\startnarrower[left,right]}, > after={\stopnarrower\blank[medium]}] > \stopinteractionmenu > > but that generates a compile error. Grrr... Was the empty line also in your source, if your answer is yes remove it. 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: goto(box) and setuplist questions 2008-08-06 15:03 ` Wolfgang Schuster @ 2008-08-06 15:13 ` Alan Stone 0 siblings, 0 replies; 24+ messages in thread From: Alan Stone @ 2008-08-06 15:13 UTC (permalink / raw) To: mailing list for ConTeXt users [-- Attachment #1.1: Type: text/plain, Size: 293 bytes --] On Wed, Aug 6, 2008 at 5:03 PM, Wolfgang Schuster < schuster.wolfgang@googlemail.com> wrote: > Was the empty line also in your source, if your answer is yes remove it. No, it wasn't in my sauce, correction: source. Although... My source sometimes looks like a messed up sauce. :O) Alan [-- Attachment #1.2: Type: text/html, Size: 615 bytes --] [-- Attachment #2: Type: text/plain, Size: 487 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: goto(box) and setuplist questions 2008-08-06 8:45 ` Wolfgang Schuster 2008-08-06 10:16 ` Alan Stone @ 2008-08-06 10:25 ` Alan Stone 2008-08-06 11:03 ` Wolfgang Schuster 1 sibling, 1 reply; 24+ messages in thread From: Alan Stone @ 2008-08-06 10:25 UTC (permalink / raw) To: mailing list for ConTeXt users [-- Attachment #1.1: Type: text/plain, Size: 181 bytes --] correction... Using the brute force tactic I tried setting textwidth which didn't work. It could be textcommand. If so what does \command#1 mean ( see main manual pg 150 ) ? Alan [-- Attachment #1.2: Type: text/html, Size: 229 bytes --] [-- Attachment #2: Type: text/plain, Size: 487 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: goto(box) and setuplist questions 2008-08-06 10:25 ` Alan Stone @ 2008-08-06 11:03 ` Wolfgang Schuster 2008-08-06 12:09 ` Alan Stone 0 siblings, 1 reply; 24+ messages in thread From: Wolfgang Schuster @ 2008-08-06 11:03 UTC (permalink / raw) To: mailing list for ConTeXt users On Wed, Aug 6, 2008 at 12:25 PM, Alan Stone <software.list.1es9s@gmail.com> wrote: > correction... > > Using the brute force tactic I tried setting textwidth which didn't work. textwidth for what and why, you're in the right edge > It could be textcommand. If so what does \command#1 mean ( see main > manual pg 150 ) ? \define[1]\SectionList {\framed{#1}} \setuplist[section][textcommand=\SectionList] \starttext \placelist[section] \section{Section} \stoptext 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: goto(box) and setuplist questions 2008-08-06 11:03 ` Wolfgang Schuster @ 2008-08-06 12:09 ` Alan Stone 0 siblings, 0 replies; 24+ messages in thread From: Alan Stone @ 2008-08-06 12:09 UTC (permalink / raw) To: mailing list for ConTeXt users [-- Attachment #1.1: Type: text/plain, Size: 469 bytes --] On Wed, Aug 6, 2008 at 1:03 PM, Wolfgang Schuster < schuster.wolfgang@googlemail.com> wrote: > > textwidth for what and why, you're in the right edge Something undocumented. ;O) > > It could be textcommand. If so what does \command#1 mean ( see main > > manual pg 150 ) ? > > \define[1]\SectionList > {\framed{#1}} > > \setuplist[section][textcommand=\SectionList] > > \starttext > \placelist[section] > \section{Section} > \stoptext > Vielen dank. Best, Alan [-- Attachment #1.2: Type: text/html, Size: 1037 bytes --] [-- Attachment #2: Type: text/plain, Size: 487 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 24+ messages in thread
end of thread, other threads:[~2008-08-07 7:48 UTC | newest] Thread overview: 24+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2008-08-04 11:06 goto(box) and setuplist questions Alan Stone 2008-08-04 12:23 ` Hans Hagen 2008-08-04 14:44 ` Alan Stone 2008-08-04 14:52 ` Wolfgang Schuster 2008-08-04 20:57 ` Alan Stone 2008-08-05 8:29 ` Wolfgang Schuster 2008-08-05 11:07 ` Alan Stone 2008-08-05 11:16 ` Wolfgang Schuster 2008-08-06 7:12 ` Alan Stone 2008-08-06 8:45 ` Wolfgang Schuster 2008-08-06 10:16 ` Alan Stone 2008-08-06 13:26 ` Wolfgang Schuster 2008-08-06 14:15 ` Alan Stone 2008-08-06 14:59 ` Wolfgang Schuster 2008-08-06 16:07 ` Alan Stone 2008-08-06 18:45 ` Alan Stone 2008-08-07 6:26 ` Wolfgang Schuster 2008-08-07 7:48 ` Wolfgang Schuster 2008-08-07 6:24 ` Wolfgang Schuster 2008-08-06 15:03 ` Wolfgang Schuster 2008-08-06 15:13 ` Alan Stone 2008-08-06 10:25 ` Alan Stone 2008-08-06 11:03 ` Wolfgang Schuster 2008-08-06 12:09 ` Alan Stone
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).