\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
]
\definehead [agendapart] [section]
[sectionresetset=none,sectionsegments=agendapart,style=\bfb,conversion=A,bodypartlabel=part]
\definehead [agendaitem] [subsection]
[sectionresetset=none,sectionsegments=agendaitem,style=\bf]
\setuplist [agendapart] [width=1.5cm,pagenumber=no,style=bold,label=yes
2012-09-19 Eidenbenz Michael eidenb...@arch.ethz.ch:
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=\blank]
Marco
.
untested:
\setuplist
[pubs]
[after=\blank]
Marco
___
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
--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
preferred browser?
On unix shells, 'xdg-open' open any file or URL with the appropriate
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
preferred browser
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
--gethelp
--url=http
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.contextgarden.net/Command/setuplist;
sh: 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 browser?
Hans
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
preferred browser?
On Mac OS X it is
open url/file
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
preferred browser
:
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 preferred browser?
Hi Hans, there’s the environment variable
/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]
The command gets a property from the current list entry
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:
\setuplist[somelist][alternative=command, command=\mylistentrymacro]
The command gets
}}%
\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 for others
to improve.
(In a similar fashion one can associate
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
On Fri, Aug 3, 2012 at 12:00 PM, Willi Egger cont...@boede.nl 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
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
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 attr b) Test two 51
Any
On Mon, Jul 30, 2012 at 12:32 PM, Steffen Wolfrum cont...@st.estfiles.dewrote:
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
On 2012-07-30 Steffen Wolfrum cont...@st.estfiles.de 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
Am 30.07.2012 um 12:46 schrieb luigi scarso:
On Mon, Jul 30, 2012 at 12:32 PM, Steffen Wolfrum cont...@st.estfiles.de
wrote:
Hi,
\starttext
\subject{Contents}
\setuplist[section][alternative=d]
\placecontent
\section{One}
\section{Two}
\stoptext
while the minimal example
Am 30.07.2012 um 12:51 schrieb Steffen Wolfrum cont...@st.estfiles.de:
Am 30.07.2012 um 12:46 schrieb luigi scarso:
On Mon, Jul 30, 2012 at 12:32 PM, Steffen Wolfrum cont...@st.estfiles.de
wrote:
Hi,
\starttext
\subject{Contents}
\setuplist[section][alternative=d
– 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 One 1 – 2 Two 1
ie. a seperator between consecutive entries
Steffen
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 sound like I'm
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}{\section{Section #1.##1}}}
\stoptext
Wolfgang
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 setuplist or without
\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...)
Wait for the next one.
Greetlings, Hraban
; I tried
[pagestyle=slanted], but it didn't work either.
Any ideas?
\setuplist[chapter][alternative=a,width=1em,pagestyle=slanted]
\starttext
\completecontent
\chapter{Chapter}
\stoptext
Wolfgang
___
If your
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:}
\setuplist [MyList
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
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
\stoptext
and the error from the log:
ConTeXt ver: 2012.03.30 16:16
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
\setuphead[chapter][insidesection
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.
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 the
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.
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 their
\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
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
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]
the 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 two betas
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 kindly
]
\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 other
\section{Sec}
\subsection{SSec}
\subsubsection{SSSec}
\input knuth
\stoptext
My fault or something is broken or a new approach?
Use \setuplist[section,…][alternative=c].
Wolfgang
) of
the TOC - dots are missing:
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
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 happens since previous beta and I guess it might
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
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,margin=2em]
\starttext
\completecontent
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]
\setuplist[part][alternative=g]
\setuplist
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.
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 meant to
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{Part
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
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
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 your question
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.
it's ok for me -- it was a quick fix for Steffen
;o)
Steffen
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
;o)
Hm I don't know ;o) :
smiley (non-commutative ? ) algebra
;o) = ;-) + :o)
:-) = :o) + ;-)
--
luigi
,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 ota...@gmail.com wrote:
Hi,
Didn't you see my answer? As suggested below, you can
use \chapter[title={Answer to all the questions},number
=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]
% Nastaveni hlavicky
\setupheader[style=\tfx\sc
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]
\starttext
\completecontent
that:
\setupinteraction[state=start,focus=standard]
\setupcombinedlist[content][interaction=all]
\setuplist[part][alternative=g]
\setuplist[section][alternative=d]
\starttext
\completecontent
\part{part}
\chapter{chapter}
\section{section
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 k...@thevertigo.com 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
to chapter
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 Warner
.
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]
\setuplist [section] [color=blue
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}
\section{section}
\chapter{chapter
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} + \placecontent
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
]{\TOCstyleBF\midaligned{#2}}\hfill\tf#3}
% here the interlinespace worked
\setuplist[chapter]
[alternative=MyListItemIT]
\definecombinedlist[TOCtoc]
[chapter]
\setupcombinedlist[TOCtoc]
[aligntitle=yes,criterium=text,interaction=all]
\starttext
\placeTOCtoc[criterium=text,interaction=all
:
\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]
[alternative=MyListItemIT]
\definecombinedlist[TOCtoc]
[chapter]
\setupcombinedlist
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]
[alternative=MyListItemIT]
\definecombinedlist[TOCtoc
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
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,
criterium=all]
\starttext
\placelist[mylist]
\page[yes]
\input
Wolfgang Schuster schuster.wolfg...@googlemail.com 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
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 command). If it's not possible
command in the
\setuplist command). If it's not possible to \placelist's after
numbered headings then could someone suggest an alternative method?
You need \placelist[chapter][criterium=all].
Wolfgang
___
If your
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\eTABLE
]
\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
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 where this was needed. because combinedlist was a little
bit different.
3. And the worst: indenting of \titles
}
\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
Andreas
\definehead[exercise][section]
\setuphead[exercise][number=no]
\setuplist[exercise][headnumber=no]
but that doesn't work on its own, and when paired with
\definecombinedlist[content][exercise,chapter,section] wipes out the contents
completely.
Any advice (or even pointers to a web page) would
like these exercises to be typeset as unnumbered
sections (subjects), and appear so in the ToC. Like:
4.4 Second last section
4.5 Last section
Exercises
What is the best way of doing this (MkII)? I've tried
\definehead[exercise][section]
\setuphead[exercise][number=no]
\setuplist[exercise
on line 6 in file test4.tex: Undefined control sequence ...
1 \definestructureconversionset[frontpart:pagenumber][][romannumerals]
2 \definestructureconversionset[bodypart:pagenumber] [][numbers]
3
4 \setuplist[chapter][pageconversionset=pagenumber]
5
6 \startstructureblockenvironment[frontpart]
7
Hello,
I wish I were able to set tup my custom title (for example, for table of
contents). I have chapter titles split over two lines and with different
sizes so I need something different as a title of Contents. I know about
many possibilities of \setuplist options but can't find anything about
On 09/13/2011 04:48 PM, Honza Hejzl wrote:
I wish I were able to set tup my custom title (for example, for table
of contents). I have chapter titles split over two lines and with
different sizes so I need something different as a title of Contents.
I know about many possibilities of \setuplist
On 08/26/2011 12:20 PM, Willi Egger wrote:
Hi all,
I have a quite simple document and would like to get a table of contents.
However I can not manage to get this done. - This sounds quite stupid but...
Do you want either:
\setuplist
[section]
[prefix=no,
sectionnumber
ended up using hacks like numbercomman=\dummy, and
defining \def\dummy#1{}, but I'm trying to find if there is a cleaner
solution.
Regards,
Khaled
--
Khaled Hosny
Egyptian
Arab
\setuphead[chapter][sectionnumber=yes]
\setuphead[section,subsection][sectionnumber=no]
\setuplist[content][chapter
}]\strut #3 \eTD
\eTR
\eTABLE}
\setuplist[chapter][alternative=command,command=\ChapterList]
\placelist[chapter][criterium=text]
\stoptext
If I got your right, this should work.
Thanks Andreas, this one looks very good! Hans had sent me a more
complex patch which may go into the core
Hi all,
for an edited volume, entries in the TOC have two lines, title, then
author. Is is possible to have the page number aligned to the title,
i.e. the first of these lines?
Example:
\setuphead[chapter]
[number=no]
\setuplist[chapter]
[width=0cm]
\starttext
=no]
\setuplist[chapter]
[width=0cm]
\starttext
\startchapter[title=One,list={A Title \crlf An Author}]
\input knuth
\stopchapter
\page
\placelist[chapter][criterium=text]
\define[3]\ChapterList%
{\bTABLE[offset=none,rulethickness=0pt,width=broad]
\bTR
% \bTD
Dne 23.6.2011 21:49, Jaroslav Hajtmar napsal(a):
Hello ConTeXist,
As is known, the layout of a list (of content) is determined by the
values of alternative, margin, width
and distance. Required values can be changed via commands \setuplist
or \setupcombinedlist.
Can somehow influence
][alternative=c]
\setuplist
[chapter,chapterMiddle]
[alternative=b,before=\blank,after=\blank,style=bold]
% Commands
\def\startTitlePage{
\bgroup
\let\chapter=\chapterMiddle
}
\def\stopTitlePage{%
\egroup
\page
}
%%%
\starttext
\placecontent % = TOC
\page
\chapter{Cha1
Hi,
say, I want to design the TOC. Now I would write:
\setuplist[LevelFour] [margin=1.20cm,width=0.5cm,...]
\setuplist[LevelFive] [margin=1.70cm,width=0.5cm,]
But is there some clever command that makes a calculation like this:
\setuplist[LevelFour] [margin=1.20cm,width=0.5cm
Am 23.06.2011 um 16:49 schrieb Steffen Wolfrum:
Hi,
say, I want to design the TOC. Now I would write:
\setuplist[LevelFour] [margin=1.20cm,width=0.5cm,...]
\setuplist[LevelFive] [margin=1.70cm,width=0.5cm,]
But is there some clever command that makes a calculation like
On 23-6-2011 6:08, Wolfgang Schuster wrote:
Variant 1:
Variant 2:
Nice examples for the wiki!
-
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The
Am 23.06.2011 um 19:49 schrieb Jaroslav Hajtmar:
Hello Wolfgang.
I know that my question is a little off this topic, but:
Is there any possibility change due this method affect appearance list typed
using \placecontent (the gap between list items, alignment, etc.)?
If I knew how to do it,
would write:
\setuplist[LevelFour] [margin=1.20cm,width=0.5cm,...]
\setuplist[LevelFive] [margin=1.70cm,width=0.5cm,]
But is there some clever command that makes a calculation like this:
\setuplist[LevelFour] [margin=1.20cm,width=0.5cm,...]
\setuplist[LevelFive]
[margin={\the\dimexpr
Hello ConTeXist,
As is known, the layout of a list (of content) is determined by the
values of alternative, margin, width
and distance. Required values can be changed via commands \setuplist or
\setupcombinedlist.
Can somehow influence the horizontal arrangement of items in lists typed
=\v!slanted]
\setuplist
[\v!section]
[\c!width=3em]
\defineregister
[texmacro]
[texmacros]
\setupregister
[texmacro]
[\c!indicator=\v!off,
\c!distance=1em minus .25em]
\setupfootnotes
[\c!rule=\v!on]
\setuphead
[\v!chapter]
[\c!header=\v!empty]
\setupitemgroup[\v!itemize
}
randomized .4pt
scaled 6pt
withfillcolor .8\MPcolor{maincolor}
withpen pencircle scaled 1pt ; ) ;
draw r ;
\stopusableMPgraphic
\setuptype
[\c!option=\v!slanted]
\setuptyping
[\c!option=\v!slanted]
\setuplist
[\v!section]
[\c!width=3em]
\defineregister
[texmacro]
[texmacros
401 - 500 of 857 matches
Mail list logo