[NTG-context] Re: Hanging indent in TOC

2025-05-22 Thread Gottschalt, Johannes
gt; \setuplist[defaultsubsubsection] > [ margin=3em,% >alternative=c% > ] > > \def\TOC{% > \blank[-24pt,back]% > \placecontent > } Why the negative space? > \def\TocChapter#1{% > \writetolist[defaultchapter]{}{#1}% > } > \def\TocSection#1{% &

[NTG-context] Re: Hanging indent in TOC

2025-05-22 Thread Wolfgang Schuster
] [ margin=3em,% alternative=c% ] \def\TOC{% \blank[-24pt,back]% \placecontent } Why the negative space? \def\TocChapter#1{% \writetolist[defaultchapter]{}{#1}% } \def\TocSection#1{% \writetolist[defaultsection]{}{#1}% } \def\TocSubsection#1{% \writetolist[defaultsubsection

[NTG-context] Re: Hanging indent in TOC

2025-05-21 Thread Gottschalt, Johannes
,back]% \placecontent } \def\TocChapter#1{% \writetolist[defaultchapter]{}{#1}% } \def\TocSection#1{% \writetolist[defaultsection]{}{#1}% } \def\TocSubsection#1{% \writetolist[defaultsubsection]{}{#1}% } \def\TocSubsubsection#1{% \writetolist[defaultsubsubsection]{}{#1}% } \def

[NTG-context] Footer issue (for graduated wizards mastering kung-fu)

2025-03-13 Thread roberto . bianchi
em, leftmargin=0.65em, rightmargin=1.65em, indentnext=no] %% === %% TABLE OF CONTENTS'S FORMAT %% === \setupcombinedlist [content] [list={cha

[NTG-context] \writetolist and horizontal mode

2025-03-13 Thread mf
Hello, in a document that had already a defined layout, I added some \writetolist commands to add references to an index of figures (I know there's already the figure list, but I could not use it). I realized the commands I inserted were changing the typesetting result, because

[NTG-context] help with \writetolist alignment

2025-03-05 Thread jbf
I need a little help to get alignment of a \writebetweenlist correct. I currently have the following in the frontmatter (after the \placecombinedlist etc.) \startfrontmatter ... \starttitle[title={Introduction}] Blah blah blah \stoptitle \writebetweenlist[title]{Essays} \sto

[NTG-context] Re: understanding \writetolist and \writebetweenlist

2024-12-17 Thread Henning Hraban Ramm
ing at the examples, I only partly understand what’s going on. * What’s the difference of \writetolist and \writebetweenlist WRT their connection to the place where they occur? This seems to be important. (\writetolist has a section number, \writebetweenlist hasn’t …) As far as I can tell the only

[NTG-context] Re: understanding \writetolist and \writebetweenlist

2024-12-15 Thread Bruce Horrocks
examples, I only partly understand what’s going on. > > * What’s the difference of \writetolist and \writebetweenlist WRT their > connection to the place where they occur? This seems to be important. > (\writetolist has a section number, \writebetweenlist hasn’t …) As far as I can tell

[NTG-context] understanding \writetolist and \writebetweenlist

2024-12-13 Thread Henning Hraban Ramm
. Looking at the examples, I only partly understand what’s going on. * What’s the difference of \writetolist and \writebetweenlist WRT their connection to the place where they occur? This seems to be important. (\writetolist has a section number, \writebetweenlist hasn’t …) * What’s the differen

[NTG-context] Re: Adding a line after the TOC

2024-10-08 Thread Duncan Hothersall
need it to appear as if it was part of the TOC? > > Duncan > > On Tue, 8 Oct 2024 at 10:25, jbf wrote: > >> I am struggling with something that might be simple enough, but... >> >> The author is insisting that on the TOC page, after all the chapters and >> their

[NTG-context] Re: Adding a line after the TOC

2024-10-08 Thread jbf
are by the author'. I have trie various combinations of \writetolist and \writebetweenlist, and I can get his comment at the beginning of the TOC, but I cannot get it at the end, and perhaps with some vertical space separation from the main list. How can I place it at the e

[NTG-context] Re: Adding a line after the TOC

2024-10-08 Thread Duncan Hothersall
ns are by the author'. > > I have trie various combinations of \writetolist and \writebetweenlist, > and I can get his comment at the beginning of the TOC, but I cannot get it > at the end, and perhaps with some vertical space separation from the main > list. How can I place it at

[NTG-context] Adding a line after the TOC

2024-10-08 Thread jbf
have trie various combinations of \writetolist and \writebetweenlist, and I can get his comment at the beginning of the TOC, but I cannot get it at the end, and perhaps with some vertical space separation from the main list. How can I place it at the end? Here is my simple MWE where at least I can

[NTG-context] Re: Vertical spacing in table of content

2024-10-06 Thread mf
There's also \writetolist to add arbitrary content and make local adjustments. \writetolist[section]{}{\blank[...]} Massi Il 06/10/24 04:26, Gerion Entrup ha scritto: Hi, for my table of contents, I have set a style that makes sections and subsections smaller than chapters. Howeve

[NTG-context] Re: Inserting text between end notes

2024-09-03 Thread Rik Kabel
\writetolist and such are no help. The text to be inserted is of two types. The first is the name of the chapter from which the following notes were generated. It would be nice to automatically generate these. The second type is pseudo-end-notes crediting the book and chapter epigraphs, which should

[NTG-context] Re: Inserting text between end notes

2024-09-01 Thread Bruce Horrocks
list (as far as I > can see) and \writetolist and such are no help. > The text to be inserted is of two types. The first is the name of the chapter > from which the following notes were generated. It would be nice to > automatically generate these. > The second type is pseudo

[NTG-context] Inserting text between end notes

2024-08-31 Thread Rik Kabel
Hello all, I am trying to implement some style-guide-defined (Chicago 17, and now, 18) requirements to the end notes in a book. The need is to insert non-end-note text into the list of end notes. But end notes are not a list (as far as I can see) and \writetolist and such are no help. The

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

2024-04-03 Thread Alan Bowen
Hi, Bruce— This does not quite work—the page numbers are those of the first page of the chapter, not the last. But thanks for the tip about \writetolist. Perhaps I can get that to work. What I need are ToC entries like AuthorName ShortTitle 1–6 I need this pagination

[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 co

[NTG-context] Re: chronological TOC

2024-01-29 Thread jbf
terium=all] Then at an appropriate point after each \startchapter I have placed (as an example): \writetolist[chron]{}{{\bf 29 April 2017,} Speech, Panama City} This gives me my list, but in page number order. How do I get the date (e.g. 29 April 2017) to be the ordering factor in the list. I assu

[NTG-context] Re: chronological TOC

2024-01-29 Thread Bruce Horrocks
ing 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
the back of the book: \placelist[chron][criterium=all] Then at an appropriate point after each \startchapter I have placed (as an example): \writetolist[chron]{}{{\bf 29 April 2017,} Speech, Panama City} This gives me my list, but in page number order. How do I get the date (e.g. 29 April

[NTG-context] Re: chronological TOC

2024-01-27 Thread Henning Hraban Ramm
=all] Then at an appropriate point after each \startchapter I have placed (as an example): \writetolist[chron]{}{{\bf 29 April 2017,} Speech, Panama City} This gives me my list, but in page number order. How do I get the date (e.g. 29 April 2017) to be the ordering factor in the list. I assume

[NTG-context] chronological TOC

2024-01-26 Thread jbf
after each \startchapter I have placed (as an example): \writetolist[chron]{}{{\bf 29 April 2017,} Speech, Panama City} This gives me my list, but in page number order. How do I get the date (e.g. 29 April 2017) to be the ordering factor in the list. I assume it will be something to do with

Re: [NTG-context] \writetolist not writing the number to the TOC

2023-03-27 Thread Willi Egger via ntg-context
onsider the following example: >>>> \starttext >>>> \starttitle[title=Contents] >>>> \placelist[chapter][criterium=all] >>>> \stoptitle >>>> \startchapter[title=Mychapter] >>>> \input knuth >>>> \startsubject[

Re: [NTG-context] \writetolist not writing the number to the TOC

2023-03-27 Thread Hans Hagen via ntg-context
] \stoptitle \startchapter[title=Mychapter] \input knuth \startsubject[title=Subject will be in TOC] \writetolist[chapter]{1}{I am in TOC!} \input ward \stopsubject \stopchapter \stoptext According to the Wiki I should get te number (1) in the TOC. Instead the text starts at the height of

Re: [NTG-context] \writetolist not writing the number to the TOC

2023-03-26 Thread Willi Egger via ntg-context
terium=all] >> \stoptitle >> \startchapter[title=Mychapter] >> \input knuth >> \startsubject[title=Subject will be in TOC] >> \writetolist[chapter]{1}{I am in TOC!} >> \input ward >> \stopsubject >> \stopchapter >> \stoptext >> A

Re: [NTG-context] \writetolist not writing the number to the TOC

2023-03-26 Thread Henning Hraban Ramm via ntg-context
knuth \startsubject[title=Subject will be in TOC] \writetolist[chapter]{1}{I am in TOC!} \input ward \stopsubject \stopchapter \stoptext According to the Wiki I should get te number (1) in the TOC. Instead the text starts at the height of the chapter-numbering and is not carrying

[NTG-context] How to prefix the list of figures with part number?

2023-03-25 Thread Willi Egger via ntg-context
] \stopsubject \stoptitle \startchapter[title=Mychapter] \input knuth \startsubject[title=Subject will be in TOC] \writetolist[chapter]{1}{I am in TOC!} \input ward \startplacefigure [location=middle, title=Cow 1

[NTG-context] \writetolist not writing the number to the TOC

2023-03-25 Thread Willi Egger via ntg-context
] \writetolist[chapter]{1}{I am in TOC!} \input ward \stopsubject \stopchapter \stoptext According to the Wiki I should get te number (1) in the TOC. Instead the text starts at the height of the chapter-numbering and is not carrying the given number. Am I doing something wrong? Kind regards Willi

Re: [NTG-context] Confusing interaction between \writetolist and bookmarks (bug?)

2021-11-22 Thread musa furber via ntg-context
kmarks and table of > > contents -- until I started using \writetolist to manually inject > > additional sections and subsections into their respective lists. The > > manually injected entries do show up (as I expected), but their > > corresponding PDF bookmarks get repeated (not

Re: [NTG-context] Confusing interaction between \writetolist and bookmarks (bug?)

2021-11-22 Thread Musa Furber via ntg-context
amples. > > My book design requires the front matter to contain an abridged table of > contents just for chapters, and a detailed table of contents in the back > matter. > > Everything worked fine -- including the PDF bookmarks and table of > contents -- until I started usi

Re: [NTG-context] Confusing interaction between \writetolist and bookmarks (bug?)

2021-11-22 Thread Hans Hagen via ntg-context
for chapters, and a detailed table of contents in the back matter. Everything worked fine -- including the PDF bookmarks and table of contents -- until I started using \writetolist to manually inject additional sections and subsections into their respective lists. The manually injected entries

[NTG-context] Confusing interaction between \writetolist and bookmarks (bug?)

2021-11-22 Thread musa furber via ntg-context
matter. Everything worked fine -- including the PDF bookmarks and table of contents -- until I started using \writetolist to manually inject additional sections and subsections into their respective lists. The manually injected entries do show up (as I expected), but their corresponding PDF bookmarks

[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
\resetsetups[quote:text] \page[right] \blank[force,2*big] \setupfootertexts [] [] [] [] %% \stopsetups Is that what you were after? > > \startsetups chapter:after > \blank[3*big] > \stopsetups > > \definelist[chaptertext] > \setuplist[chaptertext][margin

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

2021-10-24 Thread Gerben Wierda via ntg-context
artalignment[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=

[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] Indexing redux

2021-08-26 Thread Rik Kabel via ntg-context
; entries via the \seeREGISTER command (it does not properly support references to sub-entries) and it provides no support at all for "see also" entries. Can somebody suggest a way to generate these entries? Perhaps a way of inserting entries into the index before it is formatte

Re: [NTG-context] Indexing redux

2021-08-26 Thread Taco Hoekwater via ntg-context
ntries > via the \seeREGISTER command (it does not properly support references to > sub-entries) and it provides no support at all for "see also" entries. > > Can somebody suggest a way to generate these entries? Perhaps a way of > inserting entries into the index before it is

[NTG-context] Indexing redux

2021-08-25 Thread Rik Kabel via ntg-context
es no support at all for "see also" entries. Can somebody suggest a way to generate these entries? Perhaps a way of inserting entries into the index before it is formatted, in the manner of \writetolist or \writebetweenlist? (MkII has \writetoregister, but that did not carry forward a

Re: [NTG-context] Add items to list with arbitrary page number

2021-03-18 Thread denis.maier
That's neat Hans. Thanks. Especially didn't know about \writedatatolist. What I want is basically to manually construct a toc entry, but in compliance with the overall styling of the contents list. So, I was hoping for something like this? \writetolist[chapter][location=here,pagen

Re: [NTG-context] Add items to list with arbitrary page number

2021-03-17 Thread Hans Hagen
On 3/17/2021 6:19 PM, denis.ma...@ub.unibe.ch wrote: Hi, I need to add an item to a list with an arbitrary page number. (The reason is that I have a multivolume book, and I want to add information about the other books to the TOC) I know about this: \writetolist[section]{}{It's a

[NTG-context] Add items to list with arbitrary page number

2021-03-17 Thread denis.maier
Hi, I need to add an item to a list with an arbitrary page number. (The reason is that I have a multivolume book, and I want to add information about the other books to the TOC) I know about this: \writetolist[section]{}{It's a test} But how can you add an arbitrary page number ? Best,

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 placeli

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

2020-12-09 Thread Wolfgang Schuster
] \starttest[title={This is a title}] \input ward \stoptest \starttest[title={This is another title}, list={This is in the 2nd list}] \input ward \stoptest just cheat: \starttest[title={This is another title}, list={This is in the 2nd list},after={\writetolist[test]{1}{what a cheat

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

2020-12-08 Thread Aditya Mahajan
e 2nd list}] > > > \input ward > > > \stoptest > > > > just cheat: > > > > \starttest[title={This is another title}, list={This is in the 2nd > > list},after={\writetolist[test]{1}{what a cheat}}] > > \input ward > > \stoptest >

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

2020-12-08 Thread Aditya Mahajan
t; \starttest[title={This is a title}] > >\input ward > > \stoptest > > > > \starttest[title={This is another title}, list={This is in the 2nd list}] > >\input ward > > \stoptest > > just cheat: > > \starttest[title={This is another title},

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

2020-12-08 Thread Hans Hagen
}] \input ward \stoptest just cheat: \starttest[title={This is another title}, list={This is in the 2nd list},after={\writetolist[test]{1}{what a cheat}}] \input ward \stoptest btw, maybe wolfgang should turn that module into a core mkxl one using the new fancy macro magic anyway, if

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

2016-09-15 Thread Otared Kavian
{% \SlideTitle{#1} \unexpanded\define\TopicTitle{#1} \writetolist[ListOfTopics]{}{#1} } \define\Slide{\SlideTitle{\TopicTitle}} \define[1]\placeListOfTopics{% \SlideTitle{#1} \startalignment[middle] \completelist[ListOfTopics

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

2016-03-21 Thread Hans Hagen
\doTopic[#1]{% \gdef\MyMark{#1}% \writetolist[MyTopics][location=none]{#1}{}} \define[3]\FancyEntry{% \doifelse{\rawstructurelistfirst}{\MyMark}% {\quad\color[red]{#1}\quad} {\quad #1\quad}} \setuplist[MyTopics] [pagenumber=no, alternative=command

[NTG-context] placelist not working in latest beta

2016-03-21 Thread Schmitz Thomas A.
=all] \def\MyMark{} \def\Topic% {\dosingleargument\doTopic} \def\doTopic[#1]{% \gdef\MyMark{#1}% \writetolist[MyTopics][location=none]{#1}{}} \define[3]\FancyEntry{% \doifelse{\rawstructurelistfirst}{\MyMark}% {\quad\color[red]{#1}\quad} {\quad #1\quad}} \setuplist[MyTopics

Re: [NTG-context] \writetolist command...

2016-03-04 Thread Willi Egger
Hans, thank you for your tip! Willi > On 4 mrt. 2016, at 12:08, Hans Hagen wrote: > > On 3/4/2016 5:37 AM, Willi Egger wrote: >> Hi all, >> >> I need to write to a list, however it appears that the second argument from >> \writetolist[name]{number}{ext} does

Re: [NTG-context] \writetolist command...

2016-03-04 Thread Hans Hagen
On 3/4/2016 5:37 AM, Willi Egger wrote: Hi all, I need to write to a list, however it appears that the second argument from \writetolist[name]{number}{ext} does not end up in the list. — What do I miss? \starttext \startsubject[title=Contents] \placelist[section

[NTG-context] \writetolist command...

2016-03-03 Thread Willi Egger
Hi all, I need to write to a list, however it appears that the second argument from \writetolist[name]{number}{ext} does not end up in the list. — What do I miss? \starttext \startsubject[title=Contents] \placelist[section][criterium=all] \stopsubject

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

2016-02-12 Thread Alan BRASLAU
nd,command=\FancyEntry,interaction=all] \setupinteraction [state=start,color=,contrastcolor=] \def\MarkPage{0} \def\MyMark{} \def\Topic{\dosingleargument\doTopic} \def\doTopic[#1]{\def\MyMark{#1}\writetolist[MyTopics]{}{#1}} \define[3]\FancyEntry { \framed[width=2.5cm,align={righ

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

2015-10-11 Thread Rik Kabel
On 2015-10-11 15:41, Wolfgang Schuster wrote: Rik 11. Oktober 2015 um 21:20 On 2015-10-11 12:56, Wolfgang Schuster wrote: Is it an option of which I am aware, yes. Do I desire to use it, no. Will I use it? Perhaps, if \doboundtext cannot be repaired. The resulting page w

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

2015-10-11 Thread Wolfgang Schuster
Rik 11. Oktober 2015 um 21:20 On 2015-10-11 12:56, Wolfgang Schuster wrote: Is it an option of which I am aware, yes. Do I desire to use it, no. Will I use it? Perhaps, if \doboundtext cannot be repaired. The resulting page with \limitatetext has large rivers of white on

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

2015-10-11 Thread Rik
On 2015-10-11 12:56, Wolfgang Schuster wrote: Is \limitatetext a option for you because unlike \doboundtext the command is unexpandable? \starttext \doboundtext {Thus, I came to the conclusion that the designer of a new system ...}{.5\textwidth}{...} \limitatetext{Thus, I came to the conclu

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

2015-10-11 Thread Wolfgang Schuster
String {\writetolist[OList]{}{\hbox{\simplealignedbox{\IDWidth}{left}{#ID\quad} {\doboundtext{#String}{\STWidth}{…} \stoptexdefinition \starttext \OLister1{Some list testing text xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx} \OListe

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

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

[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

Re: [NTG-context] chapter only in bookmarks (not in text or in TOC)

2015-07-06 Thread Hans Hagen
as a bookmark. How should I define \hiddentitle to get that? something \setupinteraction[state=start] \placebookmarks[chapter,hiddentitle] \definehead[hiddentitle][chapter] \starttext \completecontent \writetolist[hiddentitle]{!!}{xxx} aa\page aa \chapter{Foreword} aa

Re: [NTG-context] overlay or layer for chapter head.

2015-04-02 Thread Wolfgang Schuster
-------- > \startstandardmakeup[doublesided=no] > \vskip -0.15in > \hskip -0.7in > \hbox{\externalfigure[chaphead2.pdf][width=\paperwidth, > height=\paperheight]} \stopstandardmakeup > \writetolist[chapter]{2}{Chapter 2: Understanding > the Food Industry}%

Re: [NTG-context] overlay or layer for chapter head.

2015-04-02 Thread John Culleton
nd I only need this for 7 chapter heads. Here is how I put the page image into my context file now: - \startstandardmakeup[doublesided=no] \vskip -0.15in \hskip -0.7in \hbox{\externalfigure[chaphead2.pdf][width=\paperwidth, height=\pap

Re: [NTG-context] overlay or layer for chapter head.

2015-04-02 Thread Otared Kavian
t; >> Is there a way that I can overlay the entire >> chapter first page with a graphic, ideally a one >> page pdf file. >> >> I have tried workarounds with >> \startstandardmakeup,\writetolist, >> \definemarking etc. but the whole thing is >> get

Re: [NTG-context] overlay or layer for chapter head.

2015-04-02 Thread Robin.Kirkham
; statement for running heads, TOC etc. > > Is there a way that I can overlay the entire > chapter first page with a graphic, ideally a one > page pdf file. > > I have tried workarounds with > \startstandardmakeup,\writetolist, > \definemarking etc. but the whole thing is

Re: [NTG-context] overlay or layer for chapter head.

2015-04-01 Thread Alan BRASLAU
statement for running heads, TOC etc. > > Is there a way that I can overlay the entire > chapter first page with a graphic, ideally a one > page pdf file. > > I have tried workarounds with > \startstandardmakeup,\writetolist, > \definemarking etc. but the whole thin

Re: [NTG-context] overlay or layer for chapter head.

2015-04-01 Thread Idris Samawi Hamid ادريس سماوي حامد
still have the "\chapter" statement for running heads, TOC etc. Is there a way that I can overlay the entire chapter first page with a graphic, ideally a one page pdf file. I have tried workarounds with \startstandardmakeup,\writetolist, \definemarking etc. but the whole thing is getting

[NTG-context] Fwd: My posts.

2015-04-01 Thread Hans Hagen
heads, TOC etc. Is there a way that I can overlay the entire chapter first page with a graphic, ideally a one page pdf file. I have tried workarounds with \startstandardmakeup,\writetolist, \definemarking etc. but the whole thing is getting too complicated. I just want to overlay a the entire page wit

[NTG-context] overlay or layer for chapter head.

2015-04-01 Thread John Culleton
. I have tried workarounds with \startstandardmakeup,\writetolist, \definemarking etc. but the whole thing is getting too complicated. I just want to overlay a the entire page with a graphic yet have the real content of the page still available for TOC, running head, indexing terms etc. Any s

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

2015-03-22 Thread Wolfgang Schuster
initial is the problem but you can fix 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[chapte

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

2015-03-20 Thread Gerben Wierda
ord for >> \blank >> which produce different result with MkII and MkIV and the MkIV behaviour need >> to be corrected. >> >> The space after \chapter comes from your \writetolist entry and you can >> correct >> this with the \GotoPar command at the

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

2015-03-16 Thread Gerben Wierda
>> the first paragraph. How can I influence this? > > The different space before the \chapter is caused by the “fixed” keyword for > \blank > which produce different result with MkII and MkIV and the MkIV behaviour need > to be corrected. > > The space after \chapt

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

2015-03-15 Thread Wolfgang Schuster
re the \chapter is caused by the “fixed” keyword for \blank which produce different result with MkII and MkIV and the MkIV behaviour need to be corrected. The space after \chapter comes from your \writetolist entry and you can correct this with the \GotoPar command at the end of the entry as shown

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

2015-03-15 Thread Gerben Wierda
tertext][margin=1.3em,pagecommand=\gobbleoneargument] \define[1]\ChapterAbstract{\writetolist[chaptertext]{}{\start\itx#1\stop}} \stopenvironment = test.tex mkii \showgrid \startcomponent c_loosely \product prd_book \

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

2014-11-25 Thread Otared Kavian
[chaptertext][pagecommand=\gobbleoneargument] \define[1]\ChapterAbstract{\writetolist[chaptertext]{}{\start\itx#1\stop}} \starttext \placelist[chapter,chaptertext] \chapter{This is a chapter} \ChapterAbstract{This is a small description of this chapter: \input ward } \input knuth.tex \stoptext

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

2014-11-25 Thread Gerben Wierda
command for chaptertext influences the style of chapter G Minimal example: \definelist[chaptertext] \setuplist[chaptertext][style=\itx,margin=3em,pagecommand=\gobbleoneargument] \setuplist[chapter][style=\tfa,before={\blank[big]}] \starttext \placelist[chapter,chaptertext] \chapter{This is

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

2014-11-25 Thread Otared Kavian
ertext] > %\completecontent[level=chapter] > > The %-outcommented was the original list. In the chapter file, it now says > > \chapter[h:foo]{Foo} > \writetolist[chaptertext]{}{\input tufte} > > The effect of this is that every chapter name in the list is typeset as \itx,

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

2014-11-25 Thread Gerben Wierda
] %\completecontent[level=chapter] The %-outcommented was the original list. In the chapter file, it now says \chapter[h:foo]{Foo} \writetolist[chaptertext]{}{\input tufte} The effect of this is that every chapter name in the list is typeset as \itx, not just the summary chaptertext. The chapter

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

2014-11-24 Thread Hans Hagen
[chapter,chaptertext] \chapter{This is a chapter} \writetolist[chaptertext]{}{This is a small description of this chapter: \input ward } \input knuth.tex \stoptext The mkiv way: \starttext \unexpanded\def\ShowSummary#1#2#3% {\inleftmargin{#1}\structurelistuservariable{summary}\blank

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

2014-11-24 Thread Otared Kavian
chapter} \writetolist[chaptertext]{}{This is a small description of this chapter: \input ward } \input knuth.tex \stoptext Best regards: OK > On 25 Nov 2014, at 00:41, Gerben Wierda wrote: > > I have a standard ToC, but what I’d like to have is that each chapter item (I > don’t go low

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

2014-11-24 Thread Wolfgang Schuster
> Am 25.11.2014 um 00:41 schrieb Gerben Wierda : > > I have a standard ToC, but what I’d like to have is that each chapter item (I > don’t go lower than that in the hierarchy) comes with its own little > abstract.Is that possible? You can use the \writebetweenlist or \writetoli

Re: [NTG-context] \writetolist in mkiv

2014-10-13 Thread Jano Kula
Thank you, Wolfgang, here is the working example for the structure manual ;) % \writetolist & local table of contents example \def\ManualSubsection#1{\blank% {\bf Manual Subsection #1}\par% \writetolist[subsection]{}{Manual Subsection #1}% \input tufte\relax} \starttext \dorecur

Re: [NTG-context] \writetolist in mkiv

2014-10-12 Thread Wolfgang Schuster
t;>> How to insert local TOC of manually created subsections after the section >>> starts? >>> >>> % start minimal example >>> \def\ManualSubsection#1{\blank% >>> {\bf Manual Subsection #1}\par% >>> \writetolist[subsection]{wh

Re: [NTG-context] \writetolist in mkiv

2014-10-12 Thread Jano Kula
% {\bf Manual Subsection #1}\par% \writetolist[subsection]{whatever}{Manual Subsection #1}% \input tufte\relax} \starttext \dorecurse{3}{% \startchapter[title=Chapter] \placecontent[chapter,criterium=local] % local TOC OK You can’t put a keyword (chapter) and a assignment (criterium=local) in the

Re: [NTG-context] \writetolist in mkiv

2014-10-12 Thread Wolfgang Schuster
{\bf Manual Subsection #1}\par% > \writetolist[subsection]{whatever}{Manual Subsection #1}% > \input tufte\relax} > > \starttext > \dorecurse{3}{% > \startchapter[title=Chapter] > \placecontent[chapter,criterium=local] % local TOC OK You can’t put a keyword (chapter) and a assignment

[NTG-context] \writetolist in mkiv

2014-10-12 Thread Jano Kula
Hello to everybody! Minimal story - How to insert local TOC of manually created subsections after the section starts? % start minimal example \def\ManualSubsection#1{\blank% {\bf Manual Subsection #1}\par% \writetolist[subsection]{whatever}{Manual Subsection #1}% \input tufte

Re: [NTG-context] Chapter precis

2014-08-30 Thread Alan BRASLAU
text in the table of contents as suggested in this thread. I thought about adding before={\startbuffer[precis]}, after={\stopbuffer\getbuffer[precis]\writetolist[chapter]{}{\getbuffer[precis]}} to the \definestartstop but this does not seem to work. I did not try further. Perhaps someone has an

Re: [NTG-context] Chapter precis

2014-08-28 Thread Werner Hintze
is a chapter} \writetolist[chaptertext]{}{\input ward } \stoptext Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.n

Re: [NTG-context] Chapter precis

2014-08-28 Thread Wolfgang Schuster
\placelist[chapter,chaptertext] \chapter{This is a chapter} \writetolist[chaptertext]{}{\input ward } \stoptext Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist :

Re: [NTG-context] Chapter precis

2014-08-28 Thread Werner Hintze
, Wolfgang Schuster wrote: Am 28.08.2014 um 17:46 schrieb Werner Hintze : Yes. I did. Before and now. But I think, writebetweenlist is not what I’m looking for. I try now with \writetolist[section] and to give the section list the desired format. That seems not easy, because the text now runs

Re: [NTG-context] Chapter precis

2014-08-28 Thread Wolfgang Schuster
Am 28.08.2014 um 17:46 schrieb Werner Hintze : > Yes. I did. Before and now. > > But I think, writebetweenlist is not what I’m looking for. I try now with > \writetolist[section] and to give the section list the desired format. That > seems not easy, because the text now ru

Re: [NTG-context] Chapter precis

2014-08-28 Thread Werner Hintze
Yes. I did. Before and now. But I think, writebetweenlist is not what I’m looking for. I try now with \writetolist[section] and to give the section list the desired format. That seems not easy, because the text now runs on the whole line, this means also in the region, where the page numbers

Re: [NTG-context] Chapter precis

2014-08-28 Thread Werner Hintze
list[chapter]{XYZ} or with \weitetolist[chapter]{XYZ} But both produce only a fatal error. What’s wrong here? Hard to tell without a example which demonstrates the error because the following works for me. \starttext \completecontent \chapter{This is a chapter} \writetolist[chapter]

Re: [NTG-context] Chapter precis

2014-08-28 Thread Werner Hintze
example which demonstrates the error because the following works for me. \starttext \completecontent \chapter{This is a chapter} \writetolist[chapter]{}{This is a summary of the chapter with \tex{writetolist}.} \writebetweenlist[chapter][location=here]{This is a summary of the chapter with

  1   2   3   >