create
the effect you want.
regards
Keith.
Am 15.03.2013 um 07:46 schrieb H. Özoguz :
> Maybe I have not made it clear, what I mean?
>
> My Minexample is:
>
> \setuplist[chapter][pagenumber=no]
> \starttext
> \completecontent
> \chapter{Chapter 1}
> \section{Sect
Maybe I have not made it clear, what I mean?
My Minexample is:
\setuplist[chapter][pagenumber=no]
\starttext
\completecontent
\chapter{Chapter 1}
\section{Section 1}
\chapter{Chapter 2}
\stoptext
Now Chapter 1 is without pagenumber in the TOC, correct, because it has
a section after the
Hello there,
normally I use
\setuplist[chapter][pagenumber=no]
to prevent pages for chapters in the TOC, because normally (!) after
every chapter-titel comes a section-title, directly, without text
between the two titles. And so it is in this case enough to give the
page-number for the
Hello there,
normally I use
\setuplist[chapter][pagenumber=no]
to prevent pages for chapters in the TOC, because normally (!) after
every chapter-titel comes a section-title, directly, without text
between the two titles. And so it is in this case enough to give the
page-number for the
Am 07.02.2013 um 13:22 schrieb Marco Patzer :
> On 2013–02–07 Markus Finke wrote:
>
>> \startnarrower doesn’t work for the left margin in lists. What is
>> wrong in my minimal example?
>
> I did not check why it doesn't work. But to add a left margin you
> can
>
> Yes, it’s possible to fix it on this way. But what is the right
> conversion of 1*left in mm/em?
left, middle and right depend on the font size:
left=1.5\emwidth
right=1.5\emwidth
which means for your example:
\setuplist [margin=7.5em]
Marco
signature.asc
Description
I did not check why it doesn't work. But to add a left margin you
can use:
\setuplist [margin=3cm]
Yes, it’s possible to fix it on this way. But what is the right
conversion of 1*left in mm/em?
___
If
On 2013–02–07 Markus Finke wrote:
> \startnarrower doesn’t work for the left margin in lists. What is
> wrong in my minimal example?
I did not check why it doesn't work. But to add a left margin you
can use:
\setuplist [margin=3cm]
Marco
signature.asc
Description: Digita
Am 06.02.2013 um 13:22 schrieb H. Özoguz :
> Hi there,
>
> after each chapter I begin with a section. So in the table of content every
> chapter has the same page-number as the section, which comes directly after
> the chapter-title (so no text is between them).
\se
with
the section number and overlaps with it. I tried adding *loffset=2cm* (since
all the options of *\framed* are
valid for *setuplist*) also, but doesn't seem to have any effect.
Please point out the mistake.
Regards,
Devendra
*MWE*
\definehspace[myem][2em]
\def\secnum#1{\hspace[my
n number and overlaps with it. I tried adding *loffset=2cm* (since
> all the options of *\framed* are
> valid for *setuplist*) also, but doesn't seem to have any effect.
>
> Please point out the mistake.
>
> Regards,
> Devendra
>
> *MWE*
>
> \definehspa
*\framed* are
valid for *setuplist*) also, but doesn't seem to have any effect.
Please point out the mistake.
Regards,
Devendra
*MWE*
\definehspace[myem][2em]
\def\secnum#1{\hspace[myem]#1}
\setuplist
[section]
[numbercommand={\secnum}]
\starttext
\completecontent[alternat
>
> \setuplist
> [chapter]
> [before={\blank[5ex]}]
>
Thank you!
Troy
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl / ht
On 2013–01–29 Troy Henderson wrote:
> How do I change the vertical spacing between chapter/section list items in
> the Table of Contents?
\setuplist
[chapter]
[before={\blank[5ex]}]
\setuplist
[section]
[before={\blank[.6ex]}]
Marco
signature.asc
Description: Digital sig
tolist[MyTopics]{#1}{}%
}
\setuplist[MyTopics]
[pagenumber=no,
alternative=command,
command=\FancyEntry]
% On every page, place the TOC in the margin, plzkthx
\setuptexttexts[margin][\vbox{\placelist[MyTopics]}][]
\starttext
\Topic[First]
First Topic
\page
\Topic
= \MyMark}}
{\color[blue]{#1 = \MyMark}}
\blank[medium]
}
\definelist[MyTopics][criterium=all]
\def\MyMark{}
\def\Topic%
{\dosingleargument\doTopic}
\def\doTopic[#1]{%
\def\MyMark{#1}%
\writetolist[MyTopics]{#1}{}%
}
\setuplist[MyTopics]
[pagenumber=no
1 = \MyMark}\blank[medium]}
{\color[blue]{#1 = \MyMark}\blank[medium]}
}
\definelist[MyTopics][criterium=all]
\def\MyMark{}
\def\Topic%
{\dosingleargument\doTopic}
\def\doTopic[#1]{%
\def\MyMark{#1}%
\writetolist[MyTopics]{#1}{}%
}
\setuplist[MyTopics]
[pagenumber=no,
. like this:
\setuplist[section][before=]
\framed[background=frame_mp,frame=on,align=middle,width=80pt]{%
add: strut=no to the \framed command
(first run with \showstruts and you see what happens)
string %%this is the string
that if there is a
string before the \placelist the null string is disappear. like this:
\setuplist[section][before=]
\framed[background=frame_mp,frame=on,align=middle,width=80pt]{%
add: strut=no to the \framed command
(first run with \showstruts and you see what happens)
string
style=\tfa]
}
thank you!
ps. I am a chinese, my english is poor.
\setuplist[section][before=]
-
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
I wonder also why he uses such a complicated method for his headings when there
is a better way.
\defineresetset [none][][0]
\definehead [agendapart] [section]
[sectionresetset=none,sectionsegments=agendapart,style=\bfb,conversion=A,bodypartlabel=part]
\definehead [agendaitem] [subsection]
[se
\AgendaItemNumber
\AgendaItem{\AgendaItemNumber}{#1}
}
\definelist [AgendaPart]
\setuplist [AgendaPart] [width=1.5cm, style=bold, numbercommand={Part }]
\definelist [AgendaItem]
\setuplist [AgendaItem] [width=1.5cm, ownnumber=yes]
\definecombinedlist [toc] [AgendaPart, AgendaItem
k line after every entry.
>
> untested:
>
> \setuplist
> [pubs]
> [after=\blank]
>
>
> Marco
>
> ___
> If your question is of interest to others as well, please add an entry to
2012-09-19 "Eidenbenz Michael" :
Hi Michael
> is there a way to setup the layout of the publicationlist? I would
> like to add a blank line after every entry.
untested:
\setuplist
[pubs]
[after
t; > >> mtxrun that can be used in an editor:
> > >>
> > >> mtxrun
> > >>
> > >>--gethelp
> > >> --url="http://www.contextgarden.net/Command/setuplist";
> > >
> > > sh: http://www.context
in an editor:
> >>
> >> mtxrun
> >>
> >>--gethelp
> >>--url="http://www.contextgarden.net/Command/setuplist";
> >
> > sh: http://www.contextgarden.net/Command/setuplist: No such file or
> > directory
>
> So what would be
o mtxrun
> >>that can be used in an editor:
> >>
> >>mtxrun
> >> --gethelp
> >> --url="http://www.contextgarden.net/Command/setuplist";
> >
> >sh: http://www.contextgarden.net/Command/setuplist: No such file or directory
>
ded a feature to
mtxrun
that can be used in an editor:
mtxrun
--gethelp
--url="http://www.contextgarden.net/Command/setuplist";
sh: http://www.contextgarden.net/Command/setuplist: No such file or
directory
So what would be the right way? Is there some abstract shortcut to the
pr
d to acccess the help on the wiki, I've added a feature to
>>> mtxrun
>>> that can be used in an editor:
>>>
>>> mtxrun
>>>--gethelp
>>>--url="http://www.contextgarden.net/Command/setuplist";
>>
>>
>> s
"http://www.contextgarden.net/Command/setuplist";
sh: http://www.contextgarden.net/Command/setuplist: No such file or directory
So what would be the right way? Is there some abstract shortcut to the
preferred
On Thu, Aug 9, 2012 at 11:01 PM, Hans Hagen wrote:
> Hi,
>
> There is a new feature in mtxrun:
>
> As I wanted to acccess the help on the wiki, I've added a feature to mtxrun
> that can be used in an editor:
>
> mtxrun
> --gethelp
> --url="http://www.c
Hi,
There is a new feature in mtxrun:
As I wanted to acccess the help on the wiki, I've added a feature to
mtxrun that can be used in an editor:
mtxrun
--gethelp
--url="http://www.contextgarden.net/Command/setuplist";
Actually, one can also use this:
mtxrun
--gethel
hatever.
Yes, the user variables are only stored in the utility file and can be used
when you print the list entries.
> New feature 2: the command
> \rawstructurelistuservariable{#1}
> . This command can be used by custom list entry macros like
> \mylistentrymacro below:
> \setup
they can be used in
constructing the Table of figures/contents/whatever.
New feature 2: the command
\rawstructurelistuservariable{#1}
. This command can be used by custom list entry macros like
\mylistentrymacro below:
\setuplist[somelist][alternative=command, command=\mylistentrymacro]
T
relistuservariable{resource}][height=1cm]\hss}}%
\hbox to 2em{#1\hss}%
#2\hfill
\hbox to 2em{\hss#3}%
\blank}
\setuplist[figure][alternative=command,command=\FigureListEntry]
\placelist[figure]
\stoptext
Of course, the 'command' is not that nice looking but that's
On 3-8-2012 12:00, Willi Egger wrote:
Hi all,
At the moment I am busy to build a custom TOC. I stumble overt the fact, that
ConTeXt seems to forget all parameters set in \setuplist once you issue
alternative=command, command=…
Could anyone of you enlighten me whether I miss something?
Kind
On Fri, Aug 3, 2012 at 12:00 PM, Willi Egger wrote:
> Hi all,
>
> At the moment I am busy to build a custom TOC. I stumble overt the fact,
> that ConTeXt seems to forget all parameters set in \setuplist once you
> issue alternative=command, command=…
>
> Could anyone of you
Hi all,
At the moment I am busy to build a custom TOC. I stumble overt the fact, that
ConTeXt seems to forget all parameters set in \setuplist once you issue
alternative=command, command=…
Could anyone of you enlighten me whether I miss something?
Kind regards
Willi
P.S. Please refer to
>>
>> a) Test one 47 – b) Test two 51
>
> \setuplist
> [section]
> [alternative=d,
> textcommand=\SectionCommand]
>
> \define[1]\SectionCommand{#1 --}
sorry, but this results in:
1 One – 1 2 Two – 1
what I am looking for is this:
1
Am 30.07.2012 um 12:51 schrieb Steffen Wolfrum :
>
> Am 30.07.2012 um 12:46 schrieb luigi scarso:
>
>>
>>
>> On Mon, Jul 30, 2012 at 12:32 PM, Steffen Wolfrum
>> wrote:
>> Hi,
>>
>> \starttext
>> \subject{Contents}
>> \set
Am 30.07.2012 um 12:46 schrieb luigi scarso:
>
>
> On Mon, Jul 30, 2012 at 12:32 PM, Steffen Wolfrum
> wrote:
> Hi,
>
> \starttext
> \subject{Contents}
> \setuplist[section][alternative=d]
> \placecontent
> \section{One}
> \section{Two}
> \stoptext
>
On 2012-07-30 Steffen Wolfrum wrote:
Hi Steffen,
> Any idea where this "attr2 comes from, and how to get rid of it??
Sorry, no clue.
> Second question: how can I add a separator, like this:
>
> a) Test one 47– b) Test two 51
\setuplist
[section]
On Mon, Jul 30, 2012 at 12:32 PM, Steffen Wolfrum wrote:
> Hi,
>
> \starttext
> \subject{Contents}
> \setuplist[section][alternative=d]
> \placecontent
> \section{One}
> \section{Two}
> \stoptext
>
> while the minimal example above works nicely, my more complex
Hi,
\starttext
\subject{Contents}
\setuplist[section][alternative=d]
\placecontent
\section{One}
\section{Two}
\stoptext
while the minimal example above works nicely, my more complex project adds a
"attr" in front off the section number (ie. "a"):
attr a) Test one 47
> sets the page number to zero rather than 1. Also, the width= setting in
> \setuplist doesn't work anymore, either.
Do you have a example because this works:
\setuplist[section][width=4cm]
\starttext
\completecontent
\dorecurse{4}
{\chapter{Chapter #1}
\dorecurse{6}{\
I've noticed two things that seem to be broken in the betas, and they've
been broken for a while now.
\resetpagenumber
\setuppagenumber[number=1]
sets the page number to zero rather than 1. Also, the width= setting in
\setuplist doesn't work anymore, either.
I apologise if I
e of contents
> (neither \placelist,\placecontents, with setuplist or without worked). I do
> not get any error, but there is also no list generated. I think, I tried
> every hint I found on this list.
It’s a bug in the current beta (or the syntax changed, I don’t think so...
Dear all,
I'm quite new to ConTeXt and I'm just trying to set up a template for my
first project. I'm using MkIV and the ConTeXt Standalone nightlies. I've
encountered the problem that I was not able to create a table of
contents (neither \placelist,\placecontents, with
'd like to have the pagenumbers slanted; I tried
> [pagestyle=slanted], but it didn't work either.
>
> Any ideas?
\setuplist[chapter][alternative=a,width=1em,pagestyle=slanted]
\starttext
\compl
I'd love help with this: I have list that uses alternative=command, and it
stopped working when I switched from last year's TeXLive context to a recent
beta. I've minimized the problem to this example:
\definelist [MyList]
\define[3]\MyListEntry{:#1:#2:#3:}
\setuplis
gt; own commands, yet I get an error that might be from within ConTeXt. The
> cutomary minimal example follows:
>
>
> \define[3]\M{#3 some #2 magic #1}
> \setuplist[section][alternative=command,command=\M]
>
> \starttext
> \section{A}
> \completecontent
> \stopte
example follows:
\define[3]\M{#3 some #2 magic #1}
\setuplist[section][alternative=command,command=\M]
\starttext
\section{A}
\completecontent
\stoptext
and the error from the log:
ConTeXt ver: 2012.03.30 16:16 MKIV fmt: 2012.4.2 int:
english/english
! Argument of \M has
Am 19.03.2012 um 16:16 schrieb Alan BRASLAU:
> Wolfgang,
>
> Thank you for the suggestions.
> However, I have tried many such, things…
Is this what you want?
\setuphead[title][incrementnumber=list]
\setuplist[title][width=2em] % default value for chapter entry
\setup
Am 15.03.2012 um 17:45 schrieb Willi Egger:
> Hi Wolfgang,
>
> you are of course right. - When testing I switched to a test-file, where I
> did not set the romannumerals conversion in \setuphead. - Sorry ;-(
>
> Is the use of the option-key in \setuphead[chapter][conversion=Romannumerals]
> d
Hi Wolfgang,
you are of course right. - When testing I switched to a test-file, where I did
not set the romannumerals conversion in \setuphead. - Sorry ;-(
Is the use of the option-key in \setuphead[chapter][conversion=Romannumerals]
depreciated?
Willi
On 15 Mar 2012, at 17:33, Wolfgang Schus
\def\Mysectioncommand#1#2#3{#2, \hskip0.5\bodyfontsize
#3.\hskip0.25\bodyfontsize}
used in
\setuplist
[chapter]
[prefix=no,
sectionnumber=no,
headnumber=no,
alternative=command,
command=\Mychaptercommand]
\setuplist
[section]
[prefix=no
Am 15.03.2012 um 17:21 schrieb Willi Egger:
> Hi Wolfgang,
>
> thank you very much for solving my problem! -- Indeed this works well.
>
> What I need to do is to convert the chapter number into a roman number.
>
> CHAPTER XIV.
>
> BEES CAPABLE OF DOMESTICATION. Astonishment of persons at thei
Hi Wolfgang,
thank you very much for solving my problem! -- Indeed this works well.
What I need to do is to convert the chapter number into a roman number.
CHAPTER XIV.
BEES CAPABLE OF DOMESTICATION. Astonishment of persons at their
tameness, 25. Bees intended for the comfort of man. Properties
Am 15.03.2012 um 11:25 schrieb Willi Egger:
> Hi Guru's
>
> While typesetting an old book (original is from 1853) I need to tweak the
> table of contents. It looks as follows:
>
> CHAPTER II.
>
> BEES CAPABLE OF DOMESTICATION. Astonishment of persons at their
> tameness, 25. Bees intended for
Hi Guru's
While typesetting an old book (original is from 1853) I need to tweak the table
of contents. It looks as follows:
CHAPTER II.
BEES CAPABLE OF DOMESTICATION. Astonishment of persons at their
tameness, 25. Bees intended for the comfort of man. Properties fitting
them for domestication.
following bug with beta (first item on content
list is indented, but the second isn't):
\setuplist[chapter][alternative=d,margin=2em]
\starttext
\completecontent
\part{Part}
\chapter{Chapter}
a
\part{Part}
\chapter{Chapter}
b
\stoptext
I'm probably missing something, but this was reported
Hello Hans,
the following code shows a bug with latest beta (first item on content
list is indented, but the second isn't):
\setuplist[chapter][alternative=d,margin=2em]
\starttext
\completecontent
\part{Part}
\chapter{Chapter}
a
\part{Part}
\chapter{Chapter}
b
\stoptext
Wolfgang k
ive=c]
\starttext
\completecontent
\page
\section{Sec}
\subsection{SSec}
\subsubsection{SSSec}
\input knuth
\stoptext
My fault or something is broken or a new approach?
Use \setuplist[section,…][alternative=c].
in the latest beta the alternative option works but not
--- t-TOC.mkiv
\setupcombinedlist[content][alternative=c]
\starttext
\completecontent
\page
\section{Sec}
\subsection{SSec}
\subsubsection{SSSec}
\input knuth
\stoptext
My fault or something is broken or a new approach?
Use \setuplist[section,…][alternative=c].
Wol
; \starttext
> \completecontent
> \page
>
> \section{Sec}
>\subsection{SSec}
> \subsubsection{SSSec}
>
>\input knuth
> \stoptext
>
>
> My fault or something is broken or
On 02/26/2012 09:45 PM, Wolfgang Schuster wrote:
> Am 26.02.2012 um 16:32 schrieb Pablo Rodríguez:
>> Hi there,
>>
>> \setuplist[alternative=d,margin=2em] is shown right on the first item
>> from the sample below, but not on the last one:
>> []
>> This
Am 26.02.2012 um 16:32 schrieb Pablo Rodríguez:
> Hi there,
>
> \setuplist[alternative=d,margin=2em] is shown right on the first item
> from the sample below, but not on the last one:
>
> \setuplist[part][alternative=b]
> \setuplist[chapter][alternative=d,mar
Hi there,
\setuplist[alternative=d,margin=2em] is shown right on the first item
from the sample below, but not on the last one:
\setuplist[part][alternative=b]
\setuplist[chapter][alternative=d,margin=2em]
\starttext
\completecontent
\part{Part}
\chapter{Chapter}
a
\part{Part}
\chapter{Chapter
On 02/20/2012 12:56 PM, Hans Hagen wrote:
> On 20-2-2012 10:58, Wolfgang Schuster wrote:
>
>> The alternative d put’s all entries in a single line and this works perfect
>> when
>> you have a parent with alternative a–c. The alternatives e–g have also this
>> requirement but I guess they aren’t m
On 20-2-2012 10:58, Wolfgang Schuster wrote:
The alternative d put’s all entries in a single line and this works perfect when
you have a parent with alternative a–c. The alternatives e–g have also this
requirement but I guess they aren’t meant to be used in combination with
other alternatives.
Am 19.02.2012 um 23:00 schrieb Pablo Rodríguez:
> Hi Wolfgang,
>
> I have a with \setuplist[alternative=g] in an interactive document.
>
> Here you have the minimal sample:
>
> \setupinteraction[state=start]
> \setupcombinedlist[content][interaction=all]
> \se
Hi Wolfgang,
I have a with \setuplist[alternative=g] in an interactive document.
Here you have the minimal sample:
\setupinteraction[state=start]
\setupcombinedlist[content][interaction=all]
\setuplist[part][alternative=g]
\setuplist[chapter][alternative=d]
\starttext
\completecontent
\part
Hi Hans,
in the following sample, the first chapter has the correct margin on the
content list, but the second one doesn't have any margin.
\setuplist[part][alternative=b]
\setuplist[chapter][alternative=d,margin=2em]
\starttext
\completecontent
\part{Part}
\chapter{Chapter}
a
\part
On Sat, Feb 18, 2012 at 9:18 PM, Steffen Wolfrum wrote:
>
> Am 18.02.2012 um 20:19 schrieb luigi scarso:
>
>> On Sat, Feb 18, 2012 at 8:12 PM, Wolfgang Schuster
>> wrote:
>>> can also be \setupnote[…][rule={on,right,\MyRule}] which is ugly and two
>
te[footnote][rule=\MyRule]
>>
>> can also be \setupnote[…][rule={on,right,\MyRule}] which is ugly and two
>> step mechanism like \setuplist[…][alternative=command,command=\MyList] are
>> better but that’s only my opinion
which is ugly and two step
> mechanism like \setuplist[…][alternative=command,command=\MyList] are better
> but that’s only my opinion.
it's ok for me -- it was a quick fix for Steffen
--
luigi
___
If you
Am 18.02.2012 um 20:04 schrieb luigi scarso:
I think a separate key for the command is better because this
> \setupnote[footnote][rule=\MyRule]
can also be \setupnote[…][rule={on,right,\MyRule}] which is ugly and two step
mechanism like \setuplist[…][alternative=command,command=\MyList]
][ans,chapter,section]
\setuplist[ans][headnumber=no]
Then finally
\ans{Answers to Exercises}
cheers,
Alasdair
On Fri, Feb 17, 2012 at 4:05 PM, Otared Kavian wrote:
> Hi,
>
> Didn't you see my answer? As suggested below, you can
> use \chapter[title={Answer to all the questions}
ack] % klikaci dokument
\setupurl[style=type,color=black]
\setupcombinedlist[content][level=1,alternative=c]
\setuplist[chapter][width=10mm,style=bold]
\setupwhitespace[none]
% velikost odsazeni
\setupindenting[small,next] % none, small, medium, bix, next,
first, [rozmer]
\indenting[yes]
% N
rnative
"g" is meant for?
I thought it should be something like that:
\setupinteraction[state=start,focus=standard]
\setupcombinedlist[content][interaction=all]
\setuplist[part][alternative=g]
\setuplist[section][alternative=d]
\starttext
Am 10.02.2012 um 18:15 schrieb Pablo Rodríguez:
> Hi there,
>
> in the following sample, the TOC has chapter 2 on the same line as
> section 1.
>
>\setuplist[chapter][alternative=g,align=middle,aligntitle=yes]
>\setuplist[section][alternative=d]
>\startte
Hi there,
in the following sample, the TOC has chapter 2 on the same line as
section 1.
\setuplist[chapter][alternative=g,align=middle,aligntitle=yes]
\setuplist[section][alternative=d]
\starttext
\completecontent
\chapter{chapter 1}
\section{section 1}
\chapter
On 2012-02-07 Kip Warner wrote:
> On Tue, 2012-02-07 at 08:36 +0100, Marco wrote:
> > \setuplist [chapter] [color=yellow, pagecolor=green]
> > \setuplist [section] [color=blue, numbercolor=red]
>
> Thanks Marco. Where can I find a list of the parameters relevant
>
On Tue, 2012-02-07 at 08:36 +0100, Marco wrote:
> \setuplist [chapter] [color=yellow, pagecolor=green]
> \setuplist [section] [color=blue, numbercolor=red]
Thanks Marco. Where can I find a list of the parameters relevant to
chapter, section, and subsection for \setuplist?
--
Kip
links are green.
> Regardless, I wonder if someone could tell me how to customize the
> colours of the various parts of the table of contents, such as the
> chapter/section number, the name, and the page number it starts
> on.
\setuplist [chapter] [color=yellow, pagecolor=green]
\s
On 01/29/2012 01:06 PM, Wolfgang Schuster wrote:
> [...]
>
>> BTW, how can I get a table of contents with heading that doesn't contain
>> subsections? The wiki only offers the option
>> \placecontent[chapter,section], but I need the heading.
>
> \completecontent == \title{Contents} + \placeconten
Am 29.01.2012 um 00:23 schrieb Pablo Rodríguez:
> Hi there,
>
> in the following sample:
>
> \setuplist[chapter][alternative=g]
> \setuplist[section][alternative=d]
> \starttext
> \completecontent
> \chapter{chapter}
> \sec
Hi there,
in the following sample:
\setuplist[chapter][alternative=g]
\setuplist[section][alternative=d]
\starttext
\completecontent
\chapter{chapter}
\section{section}
\chapter{chapter}
\subsection{subsection}
I get the second
t[frame=off,offset=overlay]{\TOCstyleBF\midaligned{#2}}\hfill\tf#3}
> % here the interlinespace worked
>
> \setuplist[chapter]
> [alternative=MyListItemIT]
>
> \definecombinedlist[TOCtoc]
> [chapter]
>
> \setupcombinedlist[TOCtoc]
> [aligntitle=yes,criterium=text,interaction=
n=middle,style=TOCstyleBF]{#2}\hfill\tf#3}
% here the interlinespace is ignored
%
{\hfill\kern-1em\it#1\hfill\strut\crlf\strut\hfill\hphantom{\tf#3}\framedtext[frame=off,offset=overlay]{\TOCstyleBF\midaligned{#2}}\hfill\tf#3}
% here the interlinespace worked
\setuplist[chapter]
[alterna
the desk.
Back again ...
Here is the corresponding minimal example:
\definelistplacement[MyListItemIT][none]#1#2#3%
{\hfill\kern-1em\it#1\hfill\strut\crlf\strut\hfill\hphantom{\tf#3}\framedtext[frame=off,offset=overlay]{\bf\midaligned{#2}}\hfill\tf#3}
\setuplist[chapter]
[alternati
Wolfgang Schuster writes:
> Replace \setuplist with \definelist, before you use a list you should create
> it.
I knew I was missing something obvious...
Thanks a lot, it works.
Best wishes
--
Marco
___
I
Am 13.12.2011 um 11:41 schrieb Marco Pessotto:
>
> Hello!
>
> I can't understand what I'm doing wrong here:
>
> %
>
> \setuplist[mylist]
> [alternative=c,
>width=0mm,
>style=\tfx,
>criteri
Hello!
I can't understand what I'm doing wrong here:
%
\setuplist[mylist]
[alternative=c,
width=0mm,
style=\tfx,
criterium=all]
\starttext
\placelist[mylist]
\page[yes]
\input knuth
\writetolist[mylist]{}{Item}
\stoptext
%
Thanks Wolfgang - that works as expected. I'm trying to create a table
from the headings (as previously mentioned). Something like this:
\setuplist[chapter][criterium=all,alternative=command,command=\MySummaryTable,before={\setupTABLE[frame=on]\bTABLE\bTABLEbody},after={\eTABLEbody\e
meta-info that I'm passing to my
> custom command. (I'm planning on passing a custom command in the
> \setuplist command). If it's not possible to \placelist's after
> numbered headings then cou
ing to generate a summary table in my document that will contain
information from my page titles. I'd like to have the heading title,
the page number and possibly some meta-info that I'm passing to my
custom command. (I'm planning on passing a custom command in the
\setuplist com
]
\definefontfeature [default] [default] [mode=node, script=latn]
\setupbodyfont [12pt]
\definefontsize [g]
\setupbodyfontenvironment [default] [g=0.95]
\setuplist [section]
[alternative=b,
width=1.2em,
style=\tt\tfg]
\usemodule [typearea] \setupTypeArea
t" is already defined), it stops working;
> why?
\setupcombinedlist does two things:
1. It passes the argument to \setuplist for each heading in the list,
2. It is used to set certain options for the given list
> 2. The \setuphead line seem to be necessary; why?
Old option from MkII wher
\eTD
\eTR
\eTABLE}
\setuplist[chapter][alternative=command,command=\ChapterList]
\starttext \showframe
\placelist[chapter]
\dorecurse{3}{\chapter{Some very long title. Some very long title. Some very
long title. Some very long title. Some very long title. }}
\stoptext
Regards
401 - 500 of 909 matches
Mail list logo