* \setuplist[alternative=inmargin, sectionsegments=section]?
@ 2014-02-19 18:02 Pablo Rodriguez
2014-02-19 18:48 ` Wolfgang Schuster
0 siblings, 1 reply; 5+ messages in thread
From: Pablo Rodriguez @ 2014-02-19 18:02 UTC (permalink / raw)
To: mailing list for ConTeXt users
Dear list,
I have the following sample:
\setupheads\setuphead[chapter][sectionsegments=chapter, align=center]
\setuphead[section][alternative=inmargin]
\setuplist[section][alternative=d, style=\itx]
\starttext
\placecontent
\startfrontmatter
\dorecurse{2}{\chapter{Chapter}
\dorecurse{10}{\section{Section}\input zapf}}
\startfrontmatter
\startbodymatter
\dorecurse{2}{\part{Part}
\dorecurse{2}{\chapter{Chapter}
\dorecurse{10}{\section{Section}\input knuth}}}
\stopbodymatter
\stoptext
My question is: how can I achieve
\setuplist[chapter][alternative=inmargin] and
\setuplist[section][sectionsegments=section]?
I know these options are not implemented for \setuplist, but I think
they would be extremely useful, if they were implemented.
Many thanks for your help,
Pablo
--
http://www.ousia.tk
___________________________________________________________________________________
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] 5+ messages in thread
* Re: \setuplist[alternative=inmargin, sectionsegments=section]?
2014-02-19 18:02 \setuplist[alternative=inmargin, sectionsegments=section]? Pablo Rodriguez
@ 2014-02-19 18:48 ` Wolfgang Schuster
2014-02-19 19:14 ` Pablo Rodriguez
0 siblings, 1 reply; 5+ messages in thread
From: Wolfgang Schuster @ 2014-02-19 18:48 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am 19.02.2014 um 19:02 schrieb Pablo Rodriguez <oinos@gmx.es>:
> Dear list,
>
> I have the following sample:
>
> \setupheads\setuphead[chapter][sectionsegments=chapter, align=center]
> \setuphead[section][alternative=inmargin]
> \setuplist[section][alternative=d, style=\itx]
> \starttext
> \placecontent
> \startfrontmatter
> \dorecurse{2}{\chapter{Chapter}
> \dorecurse{10}{\section{Section}\input zapf}}
> \startfrontmatter
> \startbodymatter
> \dorecurse{2}{\part{Part}
> \dorecurse{2}{\chapter{Chapter}
> \dorecurse{10}{\section{Section}\input knuth}}}
> \stopbodymatter
> \stoptext
>
> My question is: how can I achieve
> \setuplist[chapter][alternative=inmargin] and
Write your own list layout.
> \setuplist[section][sectionsegments=section]?
\setuplist[section][numbersegments=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] 5+ messages in thread
* Re: \setuplist[alternative=inmargin, sectionsegments=section]?
2014-02-19 18:48 ` Wolfgang Schuster
@ 2014-02-19 19:14 ` Pablo Rodriguez
2014-02-19 19:26 ` Wolfgang Schuster
0 siblings, 1 reply; 5+ messages in thread
From: Pablo Rodriguez @ 2014-02-19 19:14 UTC (permalink / raw)
To: mailing list for ConTeXt users
On 02/19/2014 07:48 PM, Wolfgang Schuster wrote:
> Am 19.02.2014 um 19:02 schrieb Pablo Rodriguez:
>> [...]
>> My question is: how can I achieve
>> \setuplist[chapter][alternative=inmargin] and
>
> Write your own list layout.
Many thanks for your reply, Wolfgang.
I have no idea about how to do it. What should I start reading?
>> \setuplist[section][sectionsegments=section]?
>
> \setuplist[section][numbersegments=section]
Exactly what I wanted.
Many thanks for your help,
Pablo
--
http://www.ousia.tk
___________________________________________________________________________________
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] 5+ messages in thread
* Re: \setuplist[alternative=inmargin, sectionsegments=section]?
2014-02-19 19:14 ` Pablo Rodriguez
@ 2014-02-19 19:26 ` Wolfgang Schuster
2014-02-19 21:57 ` \setuplist[alternative=inmargin? Pablo Rodriguez
0 siblings, 1 reply; 5+ messages in thread
From: Wolfgang Schuster @ 2014-02-19 19:26 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am 19.02.2014 um 20:14 schrieb Pablo Rodriguez <oinos@gmx.es>:
> On 02/19/2014 07:48 PM, Wolfgang Schuster wrote:
>> Am 19.02.2014 um 19:02 schrieb Pablo Rodriguez:
>>> [...]
>>> My question is: how can I achieve
>>> \setuplist[chapter][alternative=inmargin] and
>>
>> Write your own list layout.
>
> Many thanks for your reply, Wolfgang.
>
> I have no idea about how to do it. What should I start reading?
Search for \definelistalternative or \setuplist in combination with alternative=command.
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] 5+ messages in thread
* Re: \setuplist[alternative=inmargin?
2014-02-19 19:26 ` Wolfgang Schuster
@ 2014-02-19 21:57 ` Pablo Rodriguez
0 siblings, 0 replies; 5+ messages in thread
From: Pablo Rodriguez @ 2014-02-19 21:57 UTC (permalink / raw)
To: mailing list for ConTeXt users
On 02/19/2014 08:26 PM, Wolfgang Schuster wrote:
> Am 19.02.2014 um 20:14 schrieb Pablo Rodriguez:
>> On 02/19/2014 07:48 PM, Wolfgang Schuster wrote:
>>> [...]
>>> Write your own list layout.
>>
>> I have no idea about how to do it. What should I start reading?
>
> Search for \definelistalternative or \setuplist in combination with alternative=command.
Many thanks for your reply, Wolfgang.
After reading strc-lst.mkvi (and trying something), I thought of a
different approach:
\showframe\showgrid
\setupinteraction[state=start]
\setupcombinedlist[content][interaction=all]
\setuplist[chapter][numbercommand=\listchapter,width=0pt]
\definemargindata[listchapter][hoffset=1em,location=left,style=]
\setupinterlinespace[line=3.3ex]
\setupwhitespace[small]
\setupindenting[medium,always]
\starttext
\placecontent
\dorecurse{10}{\chapter{Chapter}}
\stoptext
The only side-effect is that interaction doesn’t work for the chapter
number.
Is there any way to enable it again?
Many thanks for your help,
Pablo
--
http://www.ousia.tk
___________________________________________________________________________________
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] 5+ messages in thread
end of thread, other threads:[~2014-02-19 21:57 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-19 18:02 \setuplist[alternative=inmargin, sectionsegments=section]? Pablo Rodriguez
2014-02-19 18:48 ` Wolfgang Schuster
2014-02-19 19:14 ` Pablo Rodriguez
2014-02-19 19:26 ` Wolfgang Schuster
2014-02-19 21:57 ` \setuplist[alternative=inmargin? Pablo Rodriguez
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).