[NTG-context] Re: last page number for a list

2024-04-03 Thread Alan Bowen
g a custom list and use \writetolist immediately > before each \stopchapter command? > > \definelist[LastPages][criterium=all] > \starttext > \completecontent > \page > \completelist[LastPages] > \page > \dorecurse{10}{ > \startchapter[title={This is my chapter

[NTG-context] Re: last page number for a list

2024-04-03 Thread Bruce Horrocks
I'm not quite sure what you want to do with these numbers: something like printing out a contents page but instead of the start page of a chapter it shows the last page of the chapter? If so then try creating a custom list and use \writetolist immediately before each \stopchapter command

[NTG-context] Re: chronological TOC

2024-01-29 Thread jbf
of the book, according to chapter titles. I have succeeded in defining a separate TOC to place at the back, but have not succeeded in the chronological order! Here is what I have done: \definelist[chron][criterium=all,alternative=c] At the back of the book: \placelist[chron][criterium=all

[NTG-context] Re: chronological TOC

2024-01-29 Thread Bruce Horrocks
n defining a separate TOC to place at the back, but have >>> not succeeded in the chronological order! Here is what I have done: >>> >>> \definelist[chron][criterium=all,alternative=c] >>> >>> At the back of the book: >>> >>> \placelist[chron][cri

[NTG-context] Re: chronological TOC

2024-01-29 Thread Wolfgang Schuster
to show up in the TOC. There is the normal TOC at the front of the book, according to chapter titles. I have succeeded in defining a separate TOC to place at the back, but have not succeeded in the chronological order! Here is what I have done: \definelist[chron][criterium=all,alternative=c

[NTG-context] Re: chronological TOC

2024-01-27 Thread Henning Hraban Ramm
at the front of the book, according to chapter titles. I have succeeded in defining a separate TOC to place at the back, but have not succeeded in the chronological order! Here is what I have done: \definelist[chron][criterium=all,alternative=c] At the back of the book: \placelist[chron][criterium

[NTG-context] chronological TOC

2024-01-26 Thread jbf
to chapter titles. I have succeeded in defining a separate TOC to place at the back, but have not succeeded in the chronological order! Here is what I have done: \definelist[chron][criterium=all,alternative=c] At the back of the book: \placelist[chron][criterium=all] Then at an appropriate point

[NTG-context] TOC with sections titles and page numbers like a paragraph beneath chapter

2023-09-04 Thread jbf
of it compiles (for me) in LMTX. So I tried something different, e.g. \definelist[chapter] \setuplist[chapter][label=yes,distance=1.5cm,alternative=c,style=normal,before=\blank] \definelist[section] \setuplist[section] [textcommand=\setups{SecToc}] \setupcombinedlist [content]o [list={chapter

Re: [NTG-context] Unwanted blank page before page figures when using non-placed (hidden) heads

2022-07-29 Thread cryo shock via ntg-context
me. > > > > Cheers, k > > > > > > %%% START of MWE > > > > \definehead[VisiSection][section] > > \setuphead[VisiSection][number=no] > > > > \definehead[InvisiSection][VisiSection] > > \setuphead[InvisiSection][placehead=no]

Re: [NTG-context] Unwanted blank page before page figures when using non-placed (hidden) heads

2022-07-25 Thread Hans Hagen via ntg-context
=no] \definelist[CustomBMarks] \setupinteraction[state=start] \placebookmarks[VisiSection,InvisiSection,CustomBMarks] \startcomponent * % not a product, no   \startVisiSection[title={Custom Section A}]     Text of Custom Section A   \stopVisiSection   \page   \startVisiSection[title={Custom

[NTG-context] Unwanted blank page before page figures when using non-placed (hidden) heads

2022-07-24 Thread cryo shock via ntg-context
as well. I hope some of you can enlighten me. Cheers, k %%% START of MWE \definehead[VisiSection][section] \setuphead[VisiSection][number=no] \definehead[InvisiSection][VisiSection] \setuphead[InvisiSection][placehead=no] \definelist[CustomBMarks] \setupinteraction[state=start

[NTG-context] Solved: Book setup with LHS-side quotes before chapters/parts, header/footer issues, TOC, etc.

2021-10-26 Thread Gerben Wierda via ntg-context
, appendixlabel=, sectionconversionset=part, page=yes, header=empty, footer=empty, placehead=yes] \definelist[parttext] \setuplist[parttext][margin=1.3em,pagecommand=\gobbleoneargument] \define[1]\PartAbstract{\writetolist[parttext]{}{\start\itx#1\stop}} %%% %%% chapter is managed here

Re: [NTG-context] How do I get the first page of the chapter to display the page number in the footer in this setup?

2021-10-25 Thread Bruce Horrocks via ntg-context
tartsetups chapter:before \page[left] %noheaderandfooterlines %% \setupheader[state=empty] %% \setupfootertexts [] [pagenumber] [pagenumber] [] %% \startalignment[left,nothyphenated] \startnarrower[4*left] \em \getbuffer[chapter:quote] \stopnarrower \stopalignment

[NTG-context] Move the page number from header to footer on the current page only?

2021-10-25 Thread Gerben Wierda via ntg-context
lignment[left,nothyphenated] > \startnarrower[4*left] > \em \getbuffer[chapter:quote] > \stopnarrower > \stopalignment > \resetsetups[quote:text] > \page[right] > \blank[force,2*big] > \stopsetups > > \startsetups chapter:after >

Re: [NTG-context] How do I get the first page of the chapter to display the page number in the footer in this setup?

2021-10-24 Thread Gerben Wierda via ntg-context
chapter:quote] \stopnarrower \stopalignment \resetsetups[quote:text] \page[right] \blank[force,2*big] \stopsetups \startsetups chapter:after \blank[3*big] \stopsetups \definelist[chaptertext] \setuplist[chaptertext][margin=1.3em,pagecommand=\gobbleoneargument] \define[1

Re: [NTG-context] How do I get the first page of the chapter to display the page number in the footer in this setup?

2021-10-24 Thread Gerben Wierda via ntg-context
\page[right] > %\noheaderandfooterlines % I want the enumber in the footer here > \blank[force,2*big] > \stopsetups > > \startsetups chapter:after > \blank[3*big] > \stopsetups > > \definelist[chaptertext] > \setuplist[chaptertext][margin=1.3em,pagecommand=\gob

[NTG-context] How do I get the first page of the chapter to display the page number in the footer in this setup?

2021-10-24 Thread Gerben Wierda via ntg-context
] \stopsetups \definelist[chaptertext] \setuplist[chaptertext][margin=1.3em,pagecommand=\gobbleoneargument] \define[1]\ChapterAbstract{\writetolist[chaptertext]{}{\start\itx#1\stop}} \starttext \startbuffer [chapter:quote] If you think good architecture is expensive, try bad architecture\crlf {\tf Brian

Re: [NTG-context] Automatically setting the value of list key in annotation module

2020-12-09 Thread Aditya Mahajan
On Wed, 9 Dec 2020, Wolfgang Schuster wrote: > > Actually, I cannot figure out how \writetolist works. According to > https://wiki.contextgarden.net/Command/writetolist, the 2nd argument is the > "number". But, for some reason, the list number doesn't show in placelist: &

Re: [NTG-context] Automatically setting the value of list key in annotation module

2020-12-09 Thread Wolfgang Schuster
umber". But, for some reason, the list number doesn't show in placelist: \definelist[test] \starttext \placelist[test][criterium=all, alternative=b] Add "headnumber=always". Wolfgang ___ If your question is o

Re: [NTG-context] Automatically setting the value of list key in annotation module

2020-12-08 Thread Aditya Mahajan
the renderingsetup, > but there are already multiple \writetolist in the annotation module, so I > think that I am missing a configuration option. Actually, I cannot figure out how \writetolist works. According to https://wiki.contextgarden.net/Command/writetolist, the 2nd argument is the &

Re: [NTG-context] Placing extra bookmarks?

2020-12-02 Thread Bruce Horrocks
an MWE adapted from one of the test cases that places one bookmark via a chapter heading and one manually that is not linked to any document section. \enabletrackers[references.bookmarks,backend.resources] % For debug only \setupinteraction [state=start] \setupinteractionscreen [option=bookm

Re: [NTG-context] ToC as itemize

2018-06-10 Thread Henning Hraban Ramm
mail (May 3rd). Thank you anyway! > > \starttext > > \define[3]\ChapterTocEntry{% > \startitem > \structurelistuservariable{author}: #1/#2/#3 > \stopitem > } > > \definelist[chapter][% > alternative=command, > interaction=all, > criterium=all,

Re: [NTG-context] ToC as itemize

2018-06-10 Thread Hans Hagen
/#3 \stopitem } \definelist[chapter][% alternative=command, interaction=all, criterium=all, before=, after=, command=\ChapterTocEntry] \startitemize \placelist[chapter] \stopitemize \chapter{one} \chapter{two} \chapter{three} \stoptext Greetlings, Hraban --- https

Re: [NTG-context] ToC as itemize

2018-06-10 Thread Henning Hraban Ramm
This is the core code: > > \define[1]\ChapterTocEntry{% > \startitem >\structurelistuservariable{author}: >#1\leaderfill\currentlistentrypagenumber > \stopitem > } > > \definelist[chapter][% >alternative=b, >interaction=all, >criterium=all, >textcommand=\

[NTG-context] ToC as itemize

2018-05-03 Thread Henning Hraban Ramm
ble{author}: #1\leaderfill\currentlistentrypagenumber \stopitem } \definelist[chapter][% alternative=b, interaction=all, criterium=all, textcommand=\ChapterTocEntry, pagecommand=\gobbleoneargument, ] \startContentsList %\sym{}Preface\leaderfill\at{Preface} % Preface

Re: [NTG-context] Fwd: Correct usage of \placebookmarks

2018-01-26 Thread Lars
e stumbled upon a behaviour in CTX that I don't fully understand. My goal is to create a multipage document without heads (title, chapter, etc) but only text. Yet I would like to create bookmarks. So my MWE looks the following: \setupinteraction[state=start] \setupinteractionscreen[option=bookmark] \

Re: [NTG-context] Fwd: Correct usage of \placebookmarks

2018-01-25 Thread Henri
So my MWE looks the following: > \setupinteraction[state=start] > \setupinteractionscreen[option=bookmark] > \definelist[Marks] > \placebookmarks[Marks][Marks][force=yes] > > \starttext > >   \bookmark[Marks]{Bookmark one} >   \input tufte >    >   \page >    &g

[NTG-context] Fwd: Correct usage of \placebookmarks

2018-01-25 Thread Lars
bookmarks. So my MWE looks the following: \setupinteraction[state=start] \setupinteractionscreen[option=bookmark] \definelist[Marks] \placebookmarks[Marks][Marks][force=yes] \starttext   \bookmark[Marks]{Bookmark one}   \input tufte   \page   \bookmark[Marks]{Bookmark two}   \input knuth

[NTG-context] Fwd: Correct usage of \placebookmarks

2018-01-23 Thread Lars
goal is to create a multipage document *without* heads (title, chapter, etc) but only text. Yet I would like to create bookmarks. So my MWE looks the following: \setupinteraction[state=start] \setupinteractionscreen[option=bookmark] \definelist[Marks] \placebookmarks[Marks][Marks][for

[NTG-context] Correct usage of \placebookmarks

2018-01-18 Thread Lars
] \setupinteractionscreen[option=bookmark] \definelist[Marks] \placebookmarks[Marks][Marks][force=yes] \starttext   \bookmark[Marks]{Bookmark one}   \input tufte   \page   \bookmark[Marks]{Bookmark two}   \input knuth \stoptext Yet CTX doesn't create bookmarks in that case. I first have to add a blank

Re: [NTG-context] Simpleslides presentation: list of topics

2016-09-15 Thread Otared Kavian
, in such that upon clicking on that portion one jumps to the corresponding page? Best regards: OK %%% begin example-swoosh-topics.tex \usemodule[simpleslides] [style=swoosh] \setupinteraction[state=start] \definelist[ListOfTopics] \setuplist[ListOfTopics][alternative=f] \define[1]\Topic

Re: [NTG-context] placelist not working in latest beta

2016-03-21 Thread Hans Hagen
. when playign with some new feature i commented too much around line 722, uncomment: \setuplistalternative [\c!command=\strictlistparameter\c!command, \c!symbol=.] Thanks a lot Thomas \definelist[MyTopics][criterium=all] \def\MyMark{} \def\Topic% {\dosingleargument\doTopic} \def

[NTG-context] placelist not working in latest beta

2016-03-21 Thread Schmitz Thomas A.
Hi all, example attached with output from latest beta and an older one. The \placelist command appears to have changed recently; the older beta I tested is from November, but this used to work in February as well, the change must be recent. Thanks a lot Thomas \definelist[MyTopics][criterium

Re: [NTG-context] horizontal list of sections/topics?

2016-02-12 Thread Alan BRASLAU
r=, etc. Maybe this can give you some ideas. Alan I use it as follows: \def\MarkPage{4} % first 3 slides are title, introduction and outline... I then put this whenever I want to begin a new topic. \Topic [A new topic] \definelist [MyTopics] [criterium=all] \setuplist [MyTopics]

Re: [NTG-context] Regression with \doboundtext in \writetolist

2015-10-11 Thread Hans Hagen
{\dimexpr\textwidth-\IDWidth+1cm} \definelist[OList] \setuplist [OList][criterium=all,alternative=c,pagecommand=\gobbleoneargument] \starttexdefinition OLister #ID#String {\writetolist[OList]{}{\hbox{\simplealignedbox{\IDWidth}{left}{#ID\quad} {\doboundtext{#String}{\STWidth

Re: [NTG-context] Regression with \doboundtext in \writetolist

2015-10-11 Thread Wolfgang Schuster
later, including the current standalone beta. % macros=mkvi \setwidthof {99}\to\IDWidth\relax \def\STWidth{\dimexpr\textwidth-\IDWidth+1cm} \definelist[OList] \setuplist [OList][criterium=all,alternative=c,pagecommand=\gobbleoneargument] \starttexdefinition OLister #ID#

Re: [NTG-context] Regression with \doboundtext in \writetolist

2015-10-11 Thread Rik Kabel
{99}\to\IDWidth\relax \def\STWidth{\dimexpr\textwidth-\IDWidth+1cm} \definelist[OList] \setuplist [OList][criterium=all,alternative=c,pagecommand=\gobbleoneargument] \starttexdefinition OLister #ID#String {\writetolist[OList]{}{\hbox{\simplealignedbox{\IDWidth}{left}{#ID\quad

[NTG-context] Regression with \doboundtext in \writetolist

2015-10-10 Thread Rik Kabel
} \definelist[OList] \setuplist [OList][criterium=all,alternative=c,pagecommand=\gobbleoneargument] \starttexdefinition OLister #ID#String {\writetolist[OList]{}{\hbox{\simplealignedbox{\IDWidth}{left}{#ID\quad} {\doboundtext{#String}{\STWidth}{…} \stoptexdefinition \starttext

[NTG-context] Questions on registers, and on processors used with registers

2015-10-04 Thread Rik Kabel
, 2.) in the first braced argument to writetolist. \definelist[Reprints][criterium=all] \starttext \section{Sec 1} \writetolist[Reprints]{1.}{List entry A} \subsection{Subsec 1} \writebetweenlist[Reprints]{\hrule} \writetolist[Reprints]{2.}{List entr

[NTG-context] put titles in toc

2015-09-08 Thread John Culleton
In thew frontmatter there are several titles headings that i want to see in the TOC Here is a stripped down version of my file: -- \setuphead[chapter] [header=high,footer=chapter,page=yes, alternative=middle, align=normal, number=yes, ] %% \definelist[title

Re: [NTG-context] mkiv versus mkii: whitespace issues

2015-03-22 Thread Wolfgang Schuster
this when you replace \GotoPar with a different mechanism. begin example \showgrid \definelist[chaptertext][style=\itx] \define[1]\ChapterAbstract{\doflushatpar{\writetolist[chaptertext]{}{#1}}} \starttext \title{\headtext{content}} \placelist[chapter,chaptertext] \chapter{Knuth

Re: [NTG-context] mkiv versus mkii: whitespace issues

2015-03-20 Thread Gerben Wierda
] \noheaderandfooterlines \blank[force,2*big] \stopsetups \startsetups chapter:after \blank[3*big] \stopsetups \definelist[chaptertext] \setuplist[chaptertext][margin=1.3em,pagecommand=\gobbleoneargument] \define[1]\ChapterAbstract{\writetolist[chaptertext]{}{\start\itx#1\stop

Re: [NTG-context] mkiv versus mkii: whitespace issues

2015-03-16 Thread Gerben Wierda
] \startnarrower[4*left] \em \getbuffer[chapter:quote] \stopnarrower \stopalignment \resetsetups[quote:text] \page[right] \noheaderandfooterlines \blank[force,2*big] \stopsetups \startsetups chapter:after \blank[3*big] \stopsetups \definelist[chaptertext

Re: [NTG-context] mkiv versus mkii: whitespace issues

2015-03-15 Thread Gerben Wierda
] \useURL[masteringarchimateblog][http://masteringarchimate.com] \useURL[masteringarchimatebook][http://masteringarchimate.com/mastering-archimate-edition-ii/] \setupinteraction [style=, color=, contrastcolor=] %\setupbackend[export=yes,xhtml=yes] \definelist[chaptertext] \setuplist[chaptertext

Re: [NTG-context] small abstracts in table of contents?

2014-11-25 Thread Gerben Wierda
This works, but not completely. I’ve added this to my environments file: \definelist[chaptertext] \setuplist[chaptertext][style=\itx,margin=3em,pagecommand=\gobbleoneargument] and the contents list is created by \title[h:toc]{Contents} \placelist[chapter,chaptertext

Re: [NTG-context] small abstracts in table of contents?

2014-11-25 Thread Otared Kavian
, but not completely. I’ve added this to my environments file: \definelist[chaptertext] \setuplist[chaptertext][style=\itx,margin=3em,pagecommand=\gobbleoneargument] and the contents list is created by \title[h:toc]{Contents} \placelist[chapter,chaptertext

Re: [NTG-context] small abstracts in table of contents?

2014-11-25 Thread Gerben Wierda
On 25 Nov 2014, at 15:12, Otared Kavian ota...@gmail.com wrote: Hi Gerben, This shouldn’t be a problem, since you may give your own style to the list of chapters by saying for example \setuplist[chapter][style=\bf] or whatever style you wish. I tried \definelist[chaptertext

Re: [NTG-context] small abstracts in table of contents?

2014-11-25 Thread Otared Kavian
Hi Gerben, Sorry for not having been more cautious: what I sent you works fine with mkiv, but somehow in mkii giving a style for your list of « chaptertext » spills over to the list of « chapter »… The following seems to give your desired result in mkii: \definelist[chaptertext] \setuplist

Re: [NTG-context] small abstracts in table of contents?

2014-11-24 Thread Otared Kavian
Hi Gerben, As Wolfgang said, you can use something like this (example given by him some months ago on the mailing list): \definelist[chaptertext] \setuplist[chaptertext][style=\tfx,margin=3em,pagecommand=\gobbleoneargument] \starttext \placelist[chapter,chaptertext] \chapter

Re: [NTG-context] small abstracts in table of contents?

2014-11-24 Thread Hans Hagen
On 11/25/2014 8:18 AM, Otared Kavian wrote: Hi Gerben, As Wolfgang said, you can use something like this (example given by him some months ago on the mailing list): \definelist[chaptertext] \setuplist[chaptertext][style=\tfx,margin=3em,pagecommand=\gobbleoneargument] \starttext \placelist

Re: [NTG-context] Chapter precis

2014-08-28 Thread Wolfgang Schuster
a limit for the width of the list entry. \definelist[chaptertext] %\setuplist [chaptertext][maxwidth=8cm] \starttext \placelist[chapter,chaptertext] \chapter{This is a chapter} \writetolist[chaptertext]{}{\input ward } \stoptext Wolfgang

Re: [NTG-context] Chapter precis

2014-08-28 Thread Werner Hintze
the maxwidth key to set a limit for the width of the list entry. \definelist[chaptertext] %\setuplist [chaptertext][maxwidth=8cm] \starttext \placelist[chapter,chaptertext] \chapter{This is a chapter} \writetolist[chaptertext]{}{\input ward } \stoptext Wolfgang

Re: [NTG-context] Chapter precis

2014-08-28 Thread Wolfgang Schuster
without maxwidth indented on the right? When you enable the pagenumber context puts some space between the number and the text. \definelist[chaptertext] \setuplist [chaptertext][margin=2em,pagecommand=\gobbleoneargument] %\setuplist [chaptertext][margin=2em,pagenumber=no] \starttext \placelist

Re: [NTG-context] Chapter precis

2014-08-28 Thread Werner Hintze
indented on the right? When you enable the pagenumber context puts some space between the number and the text. \definelist[chaptertext] \setuplist [chaptertext][margin=2em,pagecommand=\gobbleoneargument] %\setuplist [chaptertext][margin=2em,pagenumber=no] \starttext \placelist[chapter,chaptertext

[NTG-context] Placing arbitrary pdf bookmarks

2014-03-22 Thread Jean-Philippe Rey
to quickly jump to the start of a category. After taking a look at strc-bkm.mkiv, I tried the following \setupinteraction[state=start] \definelist[building] \definelist[aisle] \placebookmarks[building,aisle

[NTG-context] writetolist doesn't include sectionnumber in mkiv?

2014-02-15 Thread Sanjoy Mahajan
://wiki.contextgarden.net/Command/setuplist. The only change is that I've included [order=command] so that the \hrule ends up at the right place. \definelist[Reprints][criterium=all] \starttext \section{Sec 1} \writetolist[Reprints]{1.}{List entry A} \subsection{Subsec 1} \writebetweenlist[Reprints

[NTG-context] \startnarrower[left, right] \completecontent[pageboundaries={0.1.1.5}] \stopnarrower

2014-01-22 Thread Rudolf Bahr
[text][after=\hrule] \setupbodyfont[default] \definebodyfontswitch [xvii] [17.3pt] \definebodyfontswitch [xiv] [14.4pt] \definebodyfontswitch [xii] [12pt] \setupheadtext[content=\rm\xvii\bf Inhaltsverzeichnis] \definelist[chapter] \setuplist[chapter] [style=\rm\xvii\bf, pagenumber

[NTG-context] Bug in the latest beta

2013-04-15 Thread Jannik Voges
Hello ConTeXt-Users, I have found a bug, when using \writetolist: \starttext \writetolist[chapter]{}{test} \stoptext That gives an error, but changing the list to a not predefined list doesn't. For example \definelist[chapter1] \starttext \writetolist[chapter1]{}{test} \stoptext

Re: [NTG-context] Bug in the latest beta

2013-04-15 Thread Wolfgang Schuster
\definelist[chapter1] \starttext \writetolist[chapter1]{}{test} \stoptext Can you try your example with the current beta because I don’t get an error when I process your example. WOlfgang ___ If your

Re: [NTG-context] Bug in the latest beta

2013-04-15 Thread Jannik Voges
: \starttext \writetolist[chapter]{}{test} \stoptext That gives an error, but changing the list to a not predefined list doesn't. For example \definelist[chapter1] \starttext \writetolist[chapter1]{}{test} \stoptext Thanks Jannik

[NTG-context] float combinations

2013-04-13 Thread Robert Blackstone
example: (I trust the cow and the mill can be found). %--- \useexternalfigure[SmallCow][cow.pdf][height=2cm] \useexternalfigure[MediumCow][cow.pdf][height=3cm] \useexternalfigure[Mill][mill.png][height=3cm] \definelist[figure] \setuplist[figure

Re: [NTG-context] bibliography (interaction)

2013-03-21 Thread Hans Hagen
of citations? Alan Hi Alan, 1. should work by default when you have \setupinteraction[state=start] in your document preamble. 2. is not possible, AFAIK. In principle you could mess with the list as bib's are using them: \definelist [pubs] \setuplist [pubs] [\c!state=\v!start, \c

Re: [NTG-context] How to use module simpleslides' SideToc

2013-01-09 Thread Sietse Brouwer
, headers, footers, etc. \showframe % Color the margin area. \setupbackgrounds must be called after % \showframe, or \showframe will 'overwrite' \setupbackgrounds. \setupbackgrounds[text][leftmargin][ background=color, backgroundcolor=colMyTopics] \definelist[MyTopics][criterium=all] \def

Re: [NTG-context] How to use module simpleslides' SideToc

2013-01-08 Thread Thomas A. Schmitz
]} {\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, alternative=command

Re: [NTG-context] How to use module simpleslides' SideToc

2013-01-08 Thread 土卜皿
= \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

[NTG-context] two bugs in the latest beta of context mkiv

2012-12-03 Thread Jannik Voges
[toc]{number}{text}. But \writetolist seems to be broken, because the sectionnumber is missing. As an minimal example you can use the example from the context-wiki: \definelist[Reprints][criterium=all] \starttext \section{Sec 1} \writetolist[Reprints]{1.}{List entry A}% \writetolist

[NTG-context] combinedlist: different behaviour in mkiv

2012-09-21 Thread Stefan Rothe
\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

[NTG-context] Lists and alternative=command

2012-05-17 Thread Rogers, Michael K
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

Re: [NTG-context] Lists and alternative=command

2012-05-17 Thread Wolfgang Schuster
Am 17.05.2012 um 20:29 schrieb Rogers, Michael K: 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

Re: [NTG-context] Lists and alternative=command

2012-05-17 Thread Rogers, Michael K
the problem to this example: \definelist [MyList] \define[3]\MyListEntry{:#1:#2:#3:} \unexpanded\def\MyListEntry#1#2#3{:#1:#2:#3:} Wolfgang Thank you very much. Michael This e-mail message (including any attachments) is for the sole use of the intended

Re: [NTG-context] \placelist and \writetolist

2011-12-13 Thread Wolfgang Schuster
knuth \writetolist[mylist]{}{Item} \stoptext % The document compiles fine with version 2011.05.18 22:2, but it fails miserably with the latest (2011.11.29 23:11) Replace \setuplist with \definelist, before you use a list you should create it. Wolfgang

Re: [NTG-context] \placelist and \writetolist

2011-12-13 Thread Marco Pessotto
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

Re: [NTG-context] TOC struggles

2011-08-26 Thread Wolfgang Schuster
. Use “\placelist[section][criterium=all]” to show the section entries in the TOC. With “\definelist[MeinInhalt][section][…]” you created only a new list “MeinInhalt” which inherits the style from “section”. Wolfgang

[NTG-context] \placecontent (\placemylist) problem in last beta

2011-06-20 Thread Jaroslav Hajtmar
Hello ConTeXist. When I create my own list of content, so there is a repetition of chapter numbers in the list of contents. Is it a bug in last minimals? In previous versions it worked OK! Thanx Jaroslav Here is my minimal example: \definelist[Ichap] \definelist[IIchap

Re: [NTG-context] \placecontent (\placemylist) problem in last beta

2011-06-20 Thread Wolfgang Schuster
: \definelist[Ichap] \definelist[IIchap] Remove these two lines, \definehad already does this. Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg

Re: [NTG-context] \placecontent (\placemylist) problem in last beta

2011-06-20 Thread Jaroslav Hajtmar
of chapter numbers in the list of contents. Is it a bug in last minimals? In previous versions it worked OK! Thanx Jaroslav Here is my minimal example: \definelist[Ichap] \definelist[IIchap] Remove these two lines, \definehad already does this. Wolfgang

[NTG-context] \do(single|double|etc)empty behaviour

2010-12-15 Thread Marco Pessotto
Hello there. I was writing a small macro to emulate a custom \part command, and I broke my head against \dosingleempty (but finally I won). Why this example is working: % start % \definelist[talpart] \define\talpart{\page[right]% \blank[2*big]% \startalignment

Re: [NTG-context] writebetweenlist regression (mkiv)

2010-12-14 Thread Marco Pessotto
is an immediate action. In principle one can influence that but it's not that intuitive. So, I've now added an option to (1) the flushers and (2) the list placers. The following example shows this: \definelist[testlist][criterium=all] \starttext Regular list entries are bound to a specific

Re: [NTG-context] writebetweenlist regression (mkiv)

2010-12-14 Thread Steffen Wolfrum
, if unexpected interference is the hardest to track down, inbetween is an immediate action. In principle one can influence that but it's not that intuitive. So, I've now added an option to (1) the flushers and (2) the list placers. The following example shows this: \definelist[testlist][criterium=all

[NTG-context] How to avoid that \writetolist becomes a page-breaker

2010-12-14 Thread Marco Pessotto
Probably due to my abuse of \writetolist, I noticed that inserting \writetolist right after \subject makes TeX to think that it can break the page there without problems. See the following minimal example: %===cut here= \definelist[myrandompart] \starttext \dorecurse

Re: [NTG-context] How to avoid that \writetolist becomes a page-breaker

2010-12-14 Thread Marco Pessotto
= \definelist[myrandompart] \starttext \dorecurse{12}{ \input reich } \subject{\bf Wrong!} \writetolist[myrandompart]{It's a test} \input knuth \page \dorecurse{12}{ \input reich } \subject{\bf Correct!} %\writetolist[myrandompart]{It's a test} \input knuth %===cut

Re: [NTG-context] writebetweenlist regression (mkiv)

2010-12-13 Thread Hans Hagen
that but it's not that intuitive. So, I've now added an option to (1) the flushers and (2) the list placers. The following example shows this: \definelist[testlist][criterium=all] \starttext Regular list entries are bound to a specific location in order to get the right pagenumber etc

Re: [NTG-context] compound titles, lists and headers

2010-09-26 Thread Tomas Bures
Dear all, I found this useful, but still I'm wondering, how shall I extend the \KomplexTitel to put current chapter number to the \writetolist command? Thank you. Best regards, Tomas On 17.2.2003 0:31, Hans Hagen wrote: better make a dedicated list: \definelist [mylist] and configure

Re: [NTG-context] Bugs in current beta

2010-08-10 Thread Andreas Harder
sequence. l.19 \defineoutputstream[\v!left] One more: \definelist[test] \starttext \input tufte \writetolist[test]{.1}{test} \input tufte \stoptext There shouldn't be a whitespace between the paragraphs, should there? Greeting Andreas

[NTG-context] 2 sets of footnotes?

2010-08-05 Thread Martin Althoff
below. Thanks Martin \mainlanguage [de] \setuppapersize[A5][A5] \usetypescript[palatino] \setupbodyfont[pagella,12pt] \setupinmargin[style=\rmx] \setupindenting[yes,small] \indenting[next] \setupfootnotes [way=section] \definelist[SideNote] \setuplist[SideNote][width=2em] \definelist

Re: [NTG-context] problem with publication lists in mkiv

2010-07-22 Thread Thomas A. Schmitz
. And the vertical space in the bibliography (shown in the example below) is still unsolved. So there definitely is a bug somewhere in mkiv. All best Thomas \definelist[MyTopics][criterium=all] \setuplist[MyTopics] [pagenumber=no] \showframe \starttext \writetolist[MyTopics]{Word

Re: [NTG-context] problem with publication lists in mkiv

2010-07-22 Thread Hans Hagen
of text; everything works as expected in mkii. And the vertical space in the bibliography (shown in the example below) is still unsolved. So there definitely is a bug somewhere in mkiv. is the current beta better? All best Thomas \definelist[MyTopics][criterium=all] \setuplist[MyTopics

Re: [NTG-context] \writetolist fails in footnotes when interaction is on

2010-06-22 Thread Hans Hagen
On 21-6-2010 7:11, Michael Saunders wrote: \setupinteraction[state=start,color=,contrastcolor=,option=fit] \definelabel[demonum][text=,before=,after=,way=bytext] \definelist[demos] \setuplist[demos][interaction=all,alternative=b,after=] \starttext \footnote{\writetolist[demos]{\nextdemonum

[NTG-context] \writetolist fails in footnotes when interaction is on

2010-06-20 Thread Michael Saunders
\setupinteraction[state=start,color=,contrastcolor=,option=fit] \definelabel[demonum][text=,before=,after=,way=bytext] \definelist[demos] \setuplist[demos][interaction=all,alternative=b,after=] \starttext \footnote{\writetolist[demos]{\nextdemonum}{demo title}} \stoptext Is there a way

[NTG-context] Dotted line in ToC

2010-04-07 Thread marfin
the dots (dotsep)? \definelist [section] \setuplist [section] [alternative=c] \definecombinedlist [content] [chapter,section] [level=section] \starttext \placecontent \chapter{Chapter} \section{Section} \dorecurse{4}{\input knuth} \section{Section} \setuppagenumber [number=20,state=start

[NTG-context] DIY toc (or similar list)

2010-02-07 Thread Thomas A. Schmitz
of topics typeset in gray frames in a black font, but the current topic in a blue frame with a white font. Would this be possible with something like \definelist? Is there any notion of currentlistitem or currentmarking in such lists? Or, even better: would it be possible to have access to the single

Re: [NTG-context] DIY toc (or similar list)

2010-02-07 Thread Wolfgang Schuster
it to be a bit fancier. Let's say I want the list of topics typeset in gray frames in a black font, but the current topic in a blue frame with a white font. Would this be possible with something like \definelist? Is there any notion of currentlistitem or currentmarking in such lists? Or, even better: would

Re: [NTG-context] DIY toc (or similar list)

2010-02-07 Thread Thomas A. Schmitz
layout {...}% normal layout ...} Wolfgang Wolfgang, thanks a lot! I could adapt your code so it does what I want! Here's what I have now, I'm sure I can run with that for the presentation stuff. Thanks a lot, and best wishes! Thomas \definelist[MyTopics][criterium=all] \define[3

Re: [NTG-context] Problem or bug with enumerations in latest ConTeXt beta

2009-10-26 Thread Kevin D. Robbins
for the moment add: \definelist[listing] also, use listing' as name in order to get some result \setuplist[listing]... \placelist[listing][criterium=text] Hans - Hans Hagen

Re: [NTG-context] Initialisation problem enumeration and way=bysection

2009-08-19 Thread Hans Hagen
]% \doifundefined{\??li#1}{\definelist[#1][\c!prefix=\v!no]}}% definestructurelist ? {\getparameters[\??nh#1][\s!parent=\??nh#2,\c!label=#1,\c!coupling=#2]% \definemarking[#1][#2]% \definemarking[#1\v!number][#2\c!number]% \doifundefined{\??li#1}{\definelist[#1][#2][\c!prefix=\v

Re: [NTG-context] Initialisation problem enumeration a nd way=bysection

2009-08-19 Thread B. Vogel
}% \presetlabeltext[#1=]% \doifelse{#1}{#2} {\getparameters[\??nh#1][\c!label=#1]% \doifundefined{\??li#1}{\definelist[#1][\c!prefix=\v!no]}}% definestructurelist ? {\getparameters[\??nh#1][\s!parent=\??nh#2,\c!label=#1,\c!coupling=#2]% \definemarking[#1][#2

Re: [NTG-context] How to define my own list entry?

2008-05-07 Thread Wolfgang Schuster
know it's normal, but I would like to know if there's any way to write the page counters I defined to the .tui or .tuo file so that I can totally handle them and display them on the contents and make the bookmarks not crazy any more. core-lst: - \definelist - \writetolist - \writebetweenlist

Re: [NTG-context] How to define my own list entry?

2008-05-07 Thread Zhichu Chen
know it's normal, but I would like to know if there's any way to write the page counters I defined to the .tui or .tuo file so that I can totally handle them and display them on the contents and make the bookmarks not crazy any more. core-lst: - \definelist - \writetolist

Re: [NTG-context] ConTeXt-ifying Kile

2008-01-02 Thread Matija Šuklje
[position|name][position|name][settings] \definelabel[name][text and options] # \definelayer # \definelayerpreset # \definelayout \definelist[name][name][settings] \definelogo[name][position][position][command][state] # \definemainfield \definemakeup[name][settings] \definemarking[name][name

Re: [NTG-context] Pesky list problem

2007-10-22 Thread Wolfgang Schuster
2007/10/20, John Culleton [EMAIL PROTECTED]: On Friday 19 October 2007 05:24:14 pm [EMAIL PROTECTED] wrote: I tried building my own TOC as follows: ... \definelist[subject][alternative=a] \definelist[subsubject][alternative=a] \definelist[subsubsubject][alternative

  1   2   >