Re: [NTG-context] fancy chapter setup

2020-01-12 Thread Henning Hraban Ramm
ad[chapter][ page=yes, before={\directsetup{FancyChapter}}, ] \setuppagenumbering[alternative=doublesided] \starttext \completecontent \startchapter[title={My Normal Text}] \input knuth \stopchapter \def\PreImg{Real} \startbuffer[Quote] I thought that was real. \stopbuffer \startchapter[title

Re: [NTG-context] Write to tuc file

2021-03-06 Thread Pablo Rodriguez
> you can use the reported values and feed them into whatever > > i could add something to the select style but i guess then there is no > uniformity in how users do this Many thanks for the new stuff, Hans. This could be an approach: \starttext \completecontent \dorecurse{10}

Re: [NTG-context] "\setuplabeltext [appendix=Appendix ]" broken mkiv

2010-02-16 Thread Mojca Miklavec
le > > \setuplabeltext [chapter=Chapter ]   % with trailing space; blank by default > \setuplabeltext [appendix=Appendix ] % with trailing space; blank by default > \setuphead [chapter] [placehead=yes] > \setuplist [chapter] [label=yes,width=5em,alternative=c] > >

Re: [NTG-context] \numstr errors out in chapter star logic

2010-06-30 Thread Tom
bers to words for the \chapter logic but also converts chapter numbers to words in unwanted places such as in the TOC and section numbers in the text. \defineconversion[numstring][One,Two,Three,Four,Five,Six,Seven,Eight,Nine,Te n,Eleven] \setupsection[chapter] [conversion=numstring] \startt

Re: [NTG-context] \stretched in chapter titles in MKII

2010-07-06 Thread Tom
erWords}} \define[1]\ChapterNumberWords {\determineheadnumber[chapter]\numstr{\currentheadnumber}} \setuphead [chapter] [alternative=middle, textstyle=sansbold, numberstyle=sans, deeptextcommand=\ChapterTextStretch, deepnumbercommand=\ChapterNumberStretch] \starttext \completec

Re: [NTG-context] Chapter-author in TOC

2010-09-19 Thread Wolfgang Schuster
servariable{author}}{\blank\structureuservariable{author}} \stopframedtext} \setuphead [chapter] [command=\ChapterHead] \starttext \completecontent \startchapter[title=Rom][date=12.06.2010,author=Knuth] \input knuth \stopchapter \startchapter[title=Pisa][date=14.06.2010,author=Tufte

Re: [NTG-context] Questions on Table of Contents

2012-02-06 Thread Marco
On 2012-02-06 Kip Warner wrote: > I am familiar with the \completecontent command, but was wondering > if there is a way to also typeset just a summary of the table of > contents (e.g. just chapters and no sections, sub sections, etc.)? \placelist [chapter] > I've also no

Re: [NTG-context] bug with \definepagebreak in latest beta?

2012-02-19 Thread Wolfgang Schuster
ith > the latest one: > > \definepagebreak[numberpagebreak][yes,header,footer,right] > \setuphead[part][page=numberpagebreak,placehead=yes] > \setuphead[chapter][page=numberpagebreak] > \setuppagenumbering[alternative=doublesided,location=inmargin] > \starttext > \completecontent &

Re: [NTG-context] how to implement buttons, navigator in context's presentation

2013-01-07 Thread Wolfgang Schuster
tupinteraction[state=start] \starttext \completecontent \page \hbox {\button {previous} [previouspage]\quad \button {next} [nextpage]\quad \button {index} [index]\quad \button {table of contents} [content

Re: [NTG-context] ToC - dots distance

2013-01-23 Thread Wolfgang Schuster
e alternate? % \filler[pavel-1]% %\else % \filler[pavel-2]% %\fi} \setuplistalternative[c][filler=\PavelFiller] \starttext \completecontent[alternative=c] \dorecurse{10}{\expanded{\chapter{Chapter \recurselevel}}} \stoptext Wolfgang _

Re: [NTG-context] What happened with sectionworld?

2009-04-29 Thread Wolfgang Schuster
\theChapterTitle \relax \let\theChapterSubTitle\relax \define[3]\Titel {\def\theChapterAuthor {#1}% \def\theChapterTitle {#2}% \def\theChapterSubTitle{#3}% \chapter{}} \starttext \completecontent \Titel{Author}{Title}{Subtitle} \stoptext

Re: [NTG-context] bugs in beta (footnotes)

2009-05-10 Thread Henning Hraban Ramm
d{\footnote{Zapf \recurselevel}} \input tufte\expanded{\footnote{Tufte \recurselevel}} } \completeindex % OK \completecontent[criterium=all] % OK \stoptext Greetlings from Lake Constance! Hraban --- http://www.fiee.net/texnique/ http://wiki.contextgard

Re: [NTG-context] Table of Contents with unnumbered Chapters etc

2009-07-08 Thread Wolfgang Schuster
", etc and still get a table of contents by means of a combined list. But whatever I tried, no list is ever placed anywhere and even \completecombinedlist[contents][level=subject] is seen as an undefined control sequence. \setupheads[incrementnumber=list] \starttext \completecontent

Re: [NTG-context] Buggy source code--> references disappears when I put sections and If I put subjects, \completecontent has void list.

2009-08-12 Thread Hans Hagen
Xan wrote: should work (i just fixed \about in mkiv and will make a new beta) I running with the last version of MKII via minimals and I get the same problem. With MKIV via minimals I get error (it hangs!). So, please, can you let it a change: can you run context with this source with th

Re: [NTG-context] comparing pdfs

2009-10-25 Thread luigi scarso
On Wed, Oct 21, 2009 at 4:13 PM, luigi scarso wrote: > Maybe stupid > Consider this (you must have cow.pdf in the same dir): > > %%test-1.tex > \setupcolors[state=start] > \setupinteraction[state=start] > \starttext > \startfrontmatter > \completecontent > \stop

Re: [NTG-context] Remove bold face

2009-11-18 Thread Alan BRASLAU
{something another thing} {something {\bf another thing}} } \setupselector [title] [n=1] \completecontent \stoptext Alan ___ If your question is of interest to others as well, please add an entry to the

Re: [NTG-context] Forbidden things in bookmarks

2006-04-20 Thread Hans Hagen
gt; \placebookmarks > [chapter,section,subsection] > > \startfrontmatter > \completecontent > \stopfrontmatter > > \startbodymatter > \starttext > \chapter{A \copyright} > a a a > \stopbodymatter > \stoptext > > Regards, > BG > _

Re: [NTG-context] Problem with XML entities in titles [2]

2007-10-04 Thread Wolfgang Schuster
ent[para] \dontleavehmode \par \defineXMLentities [tex] {tex} {\TeX} \starttext \completecontent \startXMLdata This is a testing &tex; chapter Some meaningless text... \stopXMLdata \stoptext Wolfgang ___ If your qu

Re: [NTG-context] chapter without number but in table of contents

2007-12-15 Thread Henning Hraban Ramm
Am 2007-12-15 um 17:33 schrieb Patrick Gundlach: > \starttext > > \completecontent > [alternative=c] > > \chapter{chapter1} > \chapter{chapter2} > \chapter{chapter3} > > \definehead[mychapter][chapter] > \setuphead [mychapter][number=no,incrementnum

Re: [NTG-context] A book with sections

2021-10-23 Thread Pablo Rodriguez via ntg-context
sectionsegments=chapter] \setuphead[section][sectionsegments=chapter:section] \starttext \completecontent \dorecurse{25}{\part{Part} \chapter{Chapter} \section{Section} \section{Section}} \stoptext Pablo -- http://www.ousia.tk __

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

2024-04-03 Thread Bruce Horrocks
mmand? \definelist[LastPages][criterium=all] \starttext \completecontent \page \completelist[LastPages] \page \dorecurse{10}{ \startchapter[title={This is my chapter}] This is a chapter\par \dorecurse{6}{\input knuth } \input math-kontinuitet-sv \writetolist[LastPages]{3.}{\namedstructurevariable{ch

Re: [NTG-context] Strange bug in interactive table of content...

2015-01-30 Thread Rob Heusdens
on[state=start] >> \definecombinedlist[content][chapter] >> \setupcombinedlist[content][level=4, alternative=c] >> \setbreakpoints[compound] >> \starttext >> \completecontent >> \chapter{Noten bij de digitale (her)uitgave} >> \chapter{Noten bij de digitale

Re: [NTG-context] Interactive table of content -- jumps always 1 page too far

2015-01-31 Thread Pablo Rodriguez
;focus=width" is the problematic part. Replace it with "focus=standard" and it will work better (it isn’t perfect either [there is a bug reported before]). \enabletrackers[*destinations*] \setupinteraction[state=start, focus=standard] \starttext \completecontent \ch

Re: [NTG-context] Interactive table of content -- jumps always 1 page too far

2015-01-31 Thread Rob Heusdens
teraction[state=start, focus=standard] >> \starttext >> \completecontent >> \chapter{Chapter} >> \dorecurse{5}{\input knuth} >> \stoptext >> >> It took me a while to realized the problem, because I didn’t have >> continious view enabled in

Re: [NTG-context] toc and macro

2015-05-28 Thread Wolfgang Schuster
ommented leads to an error > \def\tit{Oops!} > > \def\Teil{\dodoubleempty\doTeil} > \def\doTeil[#1][#2]#3{% > \def\tit{#1} > %... > \startchapter[title={\tit},reference={#2}] >#3 > \stopchapter > %... > } > > > \protect > > \starttext >

Re: [NTG-context] \writebetweenllst not working for frontmatter material?

2015-08-24 Thread robheus
ample), when this doesn’t help send a minimal example. \starttext \startfrontmatter \completecontent \chapter{Frontpart} \writebetweenlist[chapter][location=here]{\thinrule} \stopfrontmatter \startbodymatter \chapter{Bodypart} \stopbodymatter \stoptext Wol

Re: [NTG-context] Remove header after ToC

2017-10-17 Thread N. Raghavendra
> \setupheadertexts > [{\getmarking[section]}] > [\pagenumber] > [\pagenumber] > [{Chapter \getmarking[chapternumber].\ \getmarking[chapter]}] > > \setuphead > [chapter] > [page={yes,header,footer,right}, >header=empty] > > \startfrontmatter >

Re: [NTG-context] Part numbers

2013-08-12 Thread Tim Steenvoorden
I think this is what you need: \definestructureresetset[default][1,0,1][1] \setuphead[chapter][sectionsegments=chapter] \setuphead[section][sectionsegments=chapter:section] \starttext \completecontent \dorecurse{5}{\part{Part} \dorecurse{2}{\chapter{Chapter} \dorecurse{2}{\section{Section \stoptex

[NTG-context] Different counters for titles

2013-09-02 Thread H. Özoguz
\completecontent \mychapter{Vorwort} \chapter{First Chapter} \section{Some section in the first chapter} \chapter{Second chapter} \section{Some section in the second chapter} \stoptext The problem is now: Obviously the counter of mychapter and chapter is the same. Because "first chapter" begins w

Re: [NTG-context] Different counters for titles

2013-09-03 Thread H. Özoguz
}] \starttext \completecontent \startmychapter[ownnumber=0,title=Vorwort] \chapter{First Chapter} \section{Some section in the first chapter} \chapter{Second chapter} \section{Some section in the second chapter} \stoptext Still "first chapter" has the number 2 etc. Of course I could change al

[NTG-context] Breaks in TOC

2013-10-01 Thread H. Özoguz
Hi there, two questions about formatting the TOC or the titles in the TOC: 1. How to formate the titles different in the text and in the TOC respectively? I only mean line breaks. E.g., see this minexample: \starttext \completecontent \startsection[ title={Eine sehr, sehr lange

Re: [NTG-context] Index - entries in section titles

2013-11-07 Thread honyk
et to FitPage :-( Preserving of zoom seems to be working for TOC only... \setupinteraction[state=start,focus=standard] \starttext \startfrontmatter \completecontent \blank \section{Primary}\index{primary} Dummy text. \stopbod

Re: [NTG-context] Linespacing in TOC

2013-11-19 Thread Hans Hagen
ll, just for testing \placecontent \setupinterlinespace[line=2.75ex] %\setupinterlinespace[reset] \startfrontmatter \chapter{Intro}text text text \startfrontmatter \startbodymatter \chapter{Chapter}text \stopbodymatter \startbackmatter \chapter{Appendix}text \stopbackmatter \stoptext I cannot use simply

Re: [NTG-context] ToC - right-alignment of roman numerals

2013-11-24 Thread Jan Tosovsky
parameter{width}}{flushright}}, > ] > > \starttext > \completecontent > > \startfrontmatter > \chapter{Preface}text > \stopfrontmatter > > \startbodymatter > \chapter{Chapter}text\index{primary} > \stopbodymatter > > \startbackmatter > \completeindex > \

Re: [NTG-context] PDF bookmarks - incorrect titles for registers

2013-11-26 Thread Jan Tosovsky
dexnames] > \defineregister[indexsubject][indexsubjects] > \setupheadtext[indexname=Name Index] > \setupheadtext[indexsubject=Subject Index] > > \starttext > \completecontent > \chapter{Chapter}text\indexname{primary}\indexsubject{primary} > \startbackmatter > \completeindexname

Re: [NTG-context] Interaction's focus for footnotes/index entries

2014-02-23 Thread Rik Kabel
rontmatter \completecontent \stopfrontmatter \startbodymatter \section{Primary}\index{primary} Dummy text\footnote{footnote}. \stopbodymatter \startbackmatter \completeindex \stopbackmatter \stoptext Just generate the output, zoom the second or third page in and click any hyperlink on that scaled page. It

Re: [NTG-context] Interaction's focus for footnotes/index entries

2014-02-24 Thread Jan Tosovsky
> > > > \setupinteraction[state=start,focus=standard] > > \starttext > > \startfrontmatter > > \completecontent > > \stopfrontmatter > > \startbodymatter > > \section{Primary}\index{primary} > > Dummy text\footnote{footnote}. > > \stopbod

[NTG-context] Latest beta: bug with 'convert()'?

2014-12-12 Thread Procházka Lukáš Ing . - Pontex s . r . o .
t ../../../../_e-TZ.mkiv 2 3 \starttext 4 \completecontent 5 \page 6 >> \stoptext 7 backend > xmp > using file 'c:/Ctx-Beta/tex/texmf-context/tex/context/base/lpdf-pdx.xml' I guess it has to do something with latest XML/Lua extension; I don't have MnWE at the

[NTG-context] empty page before chapter and part

2010-12-11 Thread Emanuele Sacco
}]\switchtobodyfont[20pt]}, after=\stopstandardmakeup, align=middle, prefix=no, resetnumber=no] \setuphead[chapter] [header=empty] \starttext \completecontent \part{Parte} \chapter{Capitolo} \section{Sezione} \input knuth \subsection{Sottosezione} \input knuth \input tufte \section{Altra sezione

[NTG-context] Chapters not sowing up in ToC

2011-02-14 Thread Tom
.0in]}] \starttext \completecontent \chapter{The First Chapter} \input knuth \chapter{The\\Second\\Chapter} \input knuth \stoptext Tom Benjey 717-258-9733 voice 717-243-0074 fax blog: www.TomBenjey.com ___ If

Re: [NTG-context] The appendices envrionment and title in toc

2011-04-18 Thread Wolfgang Schuster
appendix=Appendix ] \setuplist[chapter][label=yes,width=5em] \starttext \startfrontmatter \completecontent \stopfrontmatter \startbodymatter \chapter{Bodypart} \stopbodymatter \startappendices \chapter{Appendix} \stopappendices \stoptext Wolfgang ___

[NTG-context] TOC : Changing the interline spacing of titles, for long titles on multiple lines

2011-05-24 Thread Mathieu DUPONT
\listdots\enspace #3\par\blank[0.1cm]}\setupcombinedlist[content][level=3,alternative=c]\setuplist[chapter][ label=yes, alternative=command,command=\ChapterList, ] \starttext \completecontent \startbodymatter\chapter{THIS VERY VERY VERY VERY VERY VERY VERY VERY LONG TITLE SHOULD BE

Re: [NTG-context] Problem with table of contents? (Mark IV)

2011-08-05 Thread Verhaag, G.C.H.M.
dlist [content] [level=section,width=\textwidth,alternative=a] \starttext \completecontent[level=section] \chapter[one]{One} \page[yes] \chapter[two]{One} \stoptext I tried to set interaction=all within the \setupcombinedlist, but no interaction possible from the table of contents within the gene

[NTG-context] interaction?

2011-11-25 Thread Hans van der Meer
other references, to figures, tables etc. makes the action disappear! Clicking then does nothing, although the links to the figures and tables can be used. The link works when the code above is placed BEFORE \completecontent. But becomes incative when put BEHIND it. The index however has links transf

[NTG-context] Accessing raw titles in textcommand in TOC

2020-02-21 Thread alephzorro
def\transformtitle#1% {\ctxlua{userdata.mytransform([==[#1]==])}} \setuplist[chapter][textcommand=\transformtitle] \starttext \completecontent \startchapter[title={Sample Chapter}] \stopchapter \stoptext When I print the actual title that is passed to mytransform, all I get is \currentli

Re: [NTG-context] TOC chapter and section numbering

2020-08-19 Thread Wolfgang Schuster
, style=WORD] \setuplist [chapter] [label=yes, style=bold, width=fit, distance=\spaceamount] \setuplist [section] [margin=3em, width=1.5em] \starttext \completecontent ... \stoptext Wolfgang

Re: [NTG-context] xml bookmarks + chapter no. in header

2020-10-07 Thread Pablo Rodriguez
placelist[section] % this doesn’t work \def\name{aa} \placelist[section] \startsection[title=\name, list=\expanded\name] \stopsection \def\name{bb} \startsection[title=\name, list=\expanded\name] \stopsection \completecontent \stoptext

Re: [NTG-context] Some interaction questions

2020-10-13 Thread Pablo Rodriguez
tless.) "focus=standard" in \setupinteraction. With a minimal sample: \setupinteraction[state=start, focus=standard] \enabledirectives[references.bookmarks.preroll] \placebookmarks[chapter] \starttext \completecontent \chapter{The concept

Re: [NTG-context] Write to tuc file

2021-03-07 Thread Pablo Rodriguez
er > \startchapter[reference=moreover,title=oof] > \stopchapter > > and --pages=whatever,moreover will give you the info you need to call > context --extra=copy or whatever with the right arguments Hans, real-world needs may be complex, such as in the following sample: \startte

[NTG-context] ToC filler dots/leaders not aligned in LMTX

2021-04-23 Thread Schister, Roman
aligned. Compiling the same document with MkIV leads to correct alignment of the filler dots in both instances. Here is an MWE: \setuplistalternative[c][width=2em] \starttext \completecontent[alternative=c] \chapter{Short title} Lorem ipsum \hskip.5em\gleaders\hbox to .5\emwidth{\hss.\hss

[NTG-context] Trouble with customising section heads

2010-08-10 Thread Elias Oltmanns
f\Myhead#1{% Sect \currentheadnumber} \def\Mynum#1{} \starttext \completecontent \chapter{First chapter} \section{First section} Some text. \chapter{Second chapter} Introductory text. \section{First section} More text. \section{Second section} The end.

Re: [NTG-context] Chapter-author in TOC

2010-09-19 Thread Andreas Harder
> {\startframedtext[frame=off,width=\textwidth,offset=0pt,align=middle] > > \doifsomething{\structureuservariable{date}}{\structureuservariable{date}\blank} > #2 > > \doifsomething{\structureuservariable{author}}{\blank\structureuservariable{author}} > \stopframedt

Re: [NTG-context] [NTG-Context] How to compute correct page number for handout

2010-10-03 Thread Wolfgang Schuster
u help me to resolve this issue ? A very dirty hack: \setuppapersize[A6][A6] \let\normaltranslatednumber\translatednumber \def\translatednumber[#1]% {\number\numexpr(\normaltranslatednumber[#1]+1)/4\relax} \starttext \completecontent \dorecurse{1

Re: [NTG-context] TOC with wrong lines in latest beta

2012-02-11 Thread Pablo Rodríguez
rnative "g" is meant for? I thought it should be something like that: \setupinteraction[state=start,focus=standard] \setupcombinedlist[content][interaction=all] \setuplist[part][alternative=g] \setuplist[section][alternative=d] \starttext

Re: [NTG-context] \setuplist[alternative=g] bug with interactive document

2012-02-20 Thread Wolfgang Schuster
tuplist[part][alternative=g] > \setuplist[chapter][alternative=d] > \starttext > \completecontent > \part{part} > \chapter{chapter} > \part{part} > \stoptext > > The second \part should start a new line. I now that you told me that I > was misusing “alternative=g”, beca

[NTG-context] Paragraph width in table of contents

2012-04-10 Thread Charles
pretium fringilla dui dui odio, pellentesque arcu leo id. Malesuada curabitur, urna nostrum mauris lobortis, ante luctus donec a, congue arcu placerat dictum non integer, nulla non.} \completecontent[criterium=all] \stoptext

Re: [NTG-context] Interactive documents

2012-07-11 Thread Wolfgang Schuster
n=middle, background=screen, frame=on, width=broad, style=smallbold, color=] \startinteractionmenu[right] \startbut [content]Content \stopbut \startbut [index] Index \stopbut \vfill \startbut [ExitViewer] Stop\stopbut \stopinteractionmenu \starttext \c

Re: [NTG-context] lists and notes (was: \placelist)

2009-05-04 Thread Henning Hraban Ramm
3!} \chapter{Laberbla} \input tufte\footnote{Tufte 4!} \index{Lalala} \completeindex \completecontent \stoptext - table of contents is empty, as reported - I get no chapter name in the header - footnotes are numbered like "3.2" - the footnote marker is missing in the text I need to

Re: [NTG-context] mkiv structure

2009-07-02 Thread Alan BRASLAU
r][label=yes] \setuplist[part,chapter,section,subsection,subsubsection] [partnumber=no,interaction=all,alternative=c] % number – title – dots – pagenumber \starttext \startfrontmatter \completecontent \chapter{Introduction} % in content, no number \sto

[NTG-context] sectionstopper

2010-01-07 Thread Wolfgang Schuster
[default][prefixsegments=2:100] % uncomment to get the correct result for references in the text, brr %\definestructureseparatorset [default][,(][] \starttext \completecontent \chapter[sec:knuth]{Knuth} \input knuth \section[sec:ward]{Ward} \input ward \page see \in{section}[sec:ward] at \at{

Re: [NTG-context] pdfstartview

2006-02-01 Thread Hans Hagen
nd the mode is "FullScreen" >> - and when clicking on a reference, the zoom-level does *not* change >> >> Since this is possible with LaTeX, I believe that it should be also >> possible with ConTeXt, for example like this: >> >> \setupoutput[pdf] >>

Re: [NTG-context] footnote number in header

2006-09-01 Thread Horacio Suarez
. Hi, maybe that the use of \nomarking is an option. However this will place an ellipsis in the title \setupheadertexts[][{\getmarking[section][current]}] \starttext \completecontent \chapter{Chapter number one\footnote{Footnote of chapter one}} \input tufte \section{Section

Re: [NTG-context] fancyhdr equivalent

2007-07-02 Thread Wolfgang Schuster
\dorecurse{12} > > {\input knuth\par}} > > > > \stoptext > > Beautifull. One problem arise, if you put a \placecontent after \starttext > the first chapter will stil have the frame on. do you mean \starttext \placecontent \chapter{Knuth} \stoptext I see only a

[NTG-context] TOC fine-tuning (urgent)

2007-07-19 Thread Steffen Wolfrum
ust change \jobname to {somename.tuo} I guess when my TUO normally is called test.tuo I should copy it to a testtest.tuo and next, instead of \completecontent I use \placecombinedlist [content][file=testtest] . This works, but takes long too, as again all chapters are processed. So I comme

Re: [NTG-context] how to change 'figure 1.1' to '?? 1.1'

2007-12-10 Thread Jeong Dalyoung
setuphead. Your methods give me more choices. Then the \completecontent and \completeindex follows the above setup of chapters. My question was how to make the head title setup of contents and of indices free from the chapter setup? Now, I find that the prefix{"(a character)

AW: [NTG-context] Re: Answer too obvious?

2003-09-04 Thread "Höppner, Dierk"
e] %% Hier fängt der Text an \starttext \startfrontmatter \setuppagenumbering[conversion=romannumerals] \setuppagenumber[number=1] \completecontent \stopfrontmatter %% Haupttext \startbodymatter \setuppagenumbering[conversion=numbers] \setuppagenumber[number=1] \part[allgemeines]{Allgemeines}

[NTG-context] configuration (texutil?) problem

2003-10-28 Thread Onet
f contents. A sample zzz.tex file looks like this: \starttext \completecontent \chapter{Some chapter} \section{One section} \section{Another section} \chapter{And one more chapter} \section{And one more section} \stoptext After running such a code with command &#

Re: [NTG-context] How to place "Content" and other chapter-level titles the same vertical distance from the top?

2022-05-09 Thread Denis Maier via ntg-context
c=1.728, > l=8.916 > ]% > % > > \setuplabeltext[chapter=\strut] > \setuphead[chapter][style=\ssc,placehead=yes,expansion=yes,page=yes, > numbercommand=\groupedcommand{}{\blank[1cm]}, > alternative=middle, > numberstyle=ssl, > numbercolor=green, > strut=yes] >

Re: [NTG-context] Some extra empty pages, why? And how to get an initial blank page with page number 0?

2005-03-13 Thread Willi Egger
oject project_teoada \starttext \start \startstandardmakeup \ss \hairline \start \switchtobodyfont[20pt]\bf \leftaligned{TEOADA}% \stop \hairline \blank[line]\rightaligned{Gerben Wierda}% \blank[10cm]\start\leftskip=10cm\hairline\stop \rightaligned{2005}% \stopstandardmakeup \stop \startfrontmatter

Re: [NTG-context] Control of Titles appearing in \completelistoftables and \completelistoffigures

2021-08-25 Thread Taco Hoekwater via ntg-context
ome syntax that one can use in: > > \placetable or \placefigure > > to control the Table of Figure Title appearing in: > > \completelistoftables and \completelistoffigures > > > At the moment one can do this for the output of: > > \completecontent > >

Re: [NTG-context] TOC colors and in-page anchors

2022-09-28 Thread Bruce Horrocks via ntg-context
> On 28 Sep 2022, at 09:18, Sylvain Hubert via ntg-context > wrote: > > Dear list, > > \usemodule[ipsum] > \setupinteraction[state=start] > > \starttext > \completecontent > \section{s1}\ipsum > \section{s2}\ipsum > \sec

Re: [NTG-context] footnote link destionations in interactive documents

2015-03-11 Thread Hans Hagen
On 3/11/2015 6:52 PM, Pablo Rodriguez wrote: On 03/10/2015 10:12 PM, Hans Hagen wrote: On 3/10/2015 6:04 PM, Pablo Rodriguez wrote: Hans, I have the following sample: \setupinteraction[state=start, focus=standard] \starttext \completecontent \chapter{Chapter 1

Re: [NTG-context] Table of Contents

2016-03-10 Thread Pablo Rodriguez
owing advice from Pablo I’ve swapped over to generating XHTML and > using the XML mapping ability to generate ConTeXt and the PDF. Using > this route the TOC looks the same but it’s no longer there in the > outline panel. > > What do I need in addition to > \completecontent >

Re: [NTG-context] adding font feature tnum in the TOC

2016-03-29 Thread Willi Egger
g way? > \setuplist[chapter][pagestyle={\feature[=][tabularnumbers]}] > > \definefontfeature[default][default][onum=yes] > > \setupbodyfont[pagella] > > \starttext > > \setcounter[userpage][100] > > \completecontent > > \dorecurse{20}{\expanded{\chapter{

Re: [NTG-context] Wrong bookmark for TOC

2016-09-04 Thread Henri Menke
Cheers, Henri >> \setupinteraction[state=start] >> \placebookmarks[chapter,title][force=yes] >> \starttext >> \completecontent >> \stoptext > Wolfgang > > > ___ > If your que

[NTG-context] interline space for \setuplist[alternative=d]

2016-11-02 Thread Pablo Rodriguez
, setups=lsect] \starttext \completecontent \dorecurse{5}{\chapter{Knuth}\input knuth \dorecurse{8}{\section{Zapf}\input zapf}} \stoptext I cannot set the interline space for \setuplist[section]. Wolfgang kindly provided me with a workaround: \setuppapersize[A6

Re: [NTG-context] local ToC after each chapter title

2019-01-10 Thread Otared Kavian
le leads to a "TeX capacity exceeded" error: > > \setupcombinedlist[content][% > list={chapter,section},] > > \setuplist[chapter][ > before=, > after={\placecombinedlist[content][criterium=local]},] > > \starttext > > \completecontent > > \chapter{One} > > \

Re: [NTG-context] typesetting TOC

2013-04-17 Thread Meer, H. van der
It took me quite a while to find the solution for this problem. By posting it here, I hope this will be useful to others. \completecontent set the list composed of the chapters with a previous call to: \setupcombinedlist[content][list=chapter] and the list of chapters and included sections

[NTG-context] Chapter numbering - applying several commands at once

2013-11-17 Thread Jan Tosovsky
combinedlist[content][list=chapter, alternative=c] \starttext \completecontent \chapter{Foo}text \chapter{Bar}text \stoptext Thanks, Jan ___ If your question is of interest to others as well, please add an entry to

[NTG-context] \setuplist ignores width= in combination with headnumber=no

2014-05-23 Thread Mojca Miklavec
ction][width=15mm,headnumber=no] \setuplist[subsubsection][width=20mm,style=slanted,pagestyle=normal] \starttext \completecontent \page[yes] \section{First section} \subsection{First subsection} \subsubsection{First subsubsection} \subsubsubsection{First subsubsubsection} \section{Second se

[NTG-context] Strange error with bookmarks

2014-08-26 Thread Michał Goliński
\chapter{0} \startpart[title={A}] \chapter{1} \chapter{2} \stoppart \startpart[title={B}] \chapter{3} \chapter{4} \chapter{5} \chapter{6} \chapter{7} \chapter{8} \chapter{9} \chapter{10} \stoppart \completecontent[criterium=all] \stoptext ConTeXt would generate a file in which the

Re: [NTG-context] Latest beta: bug with 'convert()'?

2014-12-12 Thread Hans Hagen
main chunk 1 \environment ../../../../_e-TZ.mkiv 2 3 \starttext 4 \completecontent 5 \page 6 >> \stoptext 7 backend > xmp > using file 'c:/Ctx-Beta/tex/texmf-context/tex/context/base/lpdf-pdx.xml' I guess it has to do something with latest X

Re: [NTG-context] chapter setup / table of contents

2008-04-15 Thread Henning Hraban Ramm
ox{#2\crlf\ChapterSubTitle}} > > \let\ChapterSubTitle\relax > > \protect > > \setuphead > [chapter] > [incrementnumber=no, >command=\ChapterCommand] > > \starttext > \completecontent > \startsectionworld[chapter][author=Hans,text=Chapter

Re: [NTG-context] Empty page at the end of document

2008-06-17 Thread Wolfgang Schuster
; \component images > > \startfrontmatter > \environment fmatter > \completecontent > \stopfrontmatter > > \startbodymatter > \environment body > \component intro > \component osbasics > \stopbodymatter > > \startbackmatter > \comp

Re: [NTG-context] LuaTeX problems

2008-06-26 Thread Wolfgang Schuster
t; > \stopproject > > > % Product > \startproduct book > > \project atkmom > > \component images > > \startfrontmatter >\environment fmatter >\completecontent > \stopfrontmatter > > \startbodymatter >\environment body >

[NTG-context] A strange error I haven't been able to create a minimal for...

2008-10-14 Thread .
acecontent and \completecontent (in the frontpart) generate a ToC with the 1st chapter heading displayed twice, aka Chapter 1 heading (2) Chapter 1 heading Chapter 1 - Section 1 heading Chapter 1 - Section 2 heading etc... Chapter 2 heading Chapter 2 -

Re: [NTG-context] A strange error I haven't been able to create a minimal for...

2008-10-15 Thread .
> > > > - \startsectionblockenvironment[frontpart]% contains > > ToC > > \setupheader[state=start] > >\stopsectionblockenvironment > > > > - \setuphead[chapter][header=empty] (1) > > > > - for some bodyfonts

Re: [NTG-context] empty page before chapter and part

2010-12-11 Thread Emanuele Sacco
rlay[whatever][]}] > \setuphead[chapter][before={\pagetype[chapter]}] > > \setuphead[part] >  [placehead=yes, >  before={\pagetype[chapter]\startstandardmakeup[align={middle,lohi}]\switchtobodyfont[20pt]}, >  after=\stopstandardmakeup, >  align=middle, >  prefix=no, >  rese

[NTG-context] Table of Contents issues

2011-02-12 Thread Tom
tyle=\ss\bf,pagestyle=\ss\bf,n umberstyle=\ss\bf,aligntitle=yes] \setuplist [intro][headnumber=no] \starttext \completecontent \intro{Introduction} \input knuth \chapter{First chapter} \input knuth \chapter{Second Chapter} \input Knuth \stoptext Tom Benjey 717-258-9733 voice 717-243-00

Re: [NTG-context] Am not getting Roman numeral page numbers in MKIV

2011-03-13 Thread Jeong Dalyoung
] \setuppagenumber[number=1] \stopstructureblockenvironment \starttext \startfrontmatter \completecontent[criterium=all] \chapter{Intro} \input tufte \stopfrontmatter \startbodymatter \chapter{knuth} \input knuth \stopbodymatter \stoptext Mailing list is a good place for me to learn ConTeXt. The

Re: [NTG-context] label bug with latest beta (2011.04.22)

2011-04-23 Thread Hans Hagen
On 23-4-2011 6:25, Reviczky, Adam wrote: Hi With the latest beta (2011.04.22) I cannot compile my thesis any more. I think I've narrowed it down to this minimal example: %%% \starttext \startpart[title={Table of Contents}] \completecontent[criterium=all] \stoptext %%% ! LuaTeX error

Re: [NTG-context] TOC : Changing the interline spacing of titles, for long titles on multiple lines

2011-05-25 Thread Steffen Wolfrum
before={\blank[line]},after={\blank[halfline]} ] \starttext \completecontent \startbodymatter \chapter{THIS VERY VERY VERY VERY VERY VERY VERY VERY LONG TITLE\\SHOULD BE BOLD INTERLINE-SPACED (line=4.2ex)} \section{THIS VERY VERY VERY VERY LONG TITLE SHOULD BE SINGLE INTERLINE-SPACE

Re: [NTG-context] TOC : Chapter title under its number (separate lines)

2011-05-26 Thread Alan Braslau
his: > > \setupinteraction[state=start] > > \define[3]\ChapterList > {\vbox{#1\crlf#2\hfill#3}} > > \setuplist > [chapter] > [alternative=vertical, >command=\ChapterList, >interaction=all] > > \starttext > > \completecontent >

[NTG-context] Some more ToC questions

2011-10-25 Thread Alasdair McAndrew
Thanks to the great expertise of folk on this mailgroup, I have my chapter headings set so that each one comes out as Chapter n Name of Chapter However, I have a few more questions. First: if I use "completecontent" to display the contents, how can I have the "Contents" titl

Re: [NTG-context] Bibliography: `\setupheadtext[de][pubs=Quellen]` does not update the table of contents.

2011-12-14 Thread Hans Hagen
=author] \setuppublications[alternative=apa, criterium=all] % Show reference numbers in the generated list. \setupheadtext[de][pus=Quellen] \starttext \completecontent \section{Example} As \cite[hh2010b] already indicated, bibtex is a \LaTeX

Re: [NTG-context] strange page break

2010-05-06 Thread Peter Münster
bottom" and I don't always want that \def\Lines#1{\dorecurse{#1}{\dorecurse{17}{text }}\par} \def\Table#1{\starttable[|l|]\dorecurse{#1}{\NC bla \NC\AR}\stoptable} \showframe \starttext \completecontent \section{bla} \Lines{10} \Lines3 \section{bla} \Table9 \section{bla} \subsection{bla} \L

Re: [NTG-context] insert pagebreak in toc (MkIV)

2010-09-29 Thread Steffen Wolfrum
Am 28.09.2010 um 12:33 schrieb Mari Voipio: > On Tue, Sep 28, 2010 at 12:19, Steffen Wolfrum wrote: >>>> \completecontent[pageboundaries={20.3,30}] >> >> >> In current context it doesn't show any effect. >> Is it obsolete in MkIV? > > It wor

[NTG-context] Length of section line in a table of contents

2012-02-29 Thread Charles
parturient ipsum, consequuntur malesuada.} \section{Vestibulum ut pretium fringilla dui dui odio, pellentesque arcu leo id. Malesuada curabitur, urna nostrum mauris lobortis, ante luctus donec a, congue arcu placerat dictum non integer, nulla non.} \completecontent[criterium=all] \stoptext

[NTG-context] Header-Footer-Layout

2012-09-24 Thread Arne Runge
[chapter][header=empty] \setupfootertexts[][pagenumber] \starttext \startstandardmakeup \title{title} \stopstandardmakeup \startfrontmatter \setuppagenumbering[conversion=romannumerals] \completecontent \stopfrontmatter \startbodymatter \setuppagenumber[number=1] \chapter{body} bla \stopbodymatter

Re: [NTG-context] ToC - dots distance

2013-01-23 Thread Devendra Ghate
argin=.5em] \setuplistalternative[c][filler={\filler[pavel]}] \starttext \completecontent[alternative=c] \chapter{First chapter} \chapter{Second chapter} \stoptext Wolfgang ___ Is that a complete MWE? It doesn't work on ConTeXt ver: 2013.01.10 01:04 MKIV. I get: --- ! Un

<    2   3   4   5   6   7   8   9   10   >