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

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

2011-08-04 Thread Wolfgang Schuster
t > [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 > interac

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

2011-08-04 Thread Verhaag, G.C.H.M.
[content] [level=section,width=\textwidth,alternative=g] and use the command: \completecontent[level=section] to actually generate it. When using the alternative=g option the navigation in my pdf document is completely absent, while e.g. alternative=a the navigation is work

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

2011-08-02 Thread Verhaag, G.C.H.M.
dth,alternative=g] and use the command: \completecontent[level=section] to actually generate it. When using the alternative=g option the navigation in my pdf document is completely absent, while e.g. alternative=a the navigation is working as aspected! But alternative=g also wo

Re: [NTG-context] Only show section numbering for \chapter?

2011-07-26 Thread Khaled Hosny
ummy#1{}, but I'm trying to find if there is a cleaner > > solution. > > \setuphead[section,subsection][incrementnumber=list] > > \setupcombinedlist[content][width=2em] > > \starttext > \completecontent > \chapter {Examples} > \section {Knuth}\input knuth > \subs

Re: [NTG-context] Only show section numbering for \chapter?

2011-07-26 Thread Wolfgang Schuster
st] \setupcombinedlist[content][width=2em] \starttext \completecontent \chapter {Examples} \section {Knuth}\input knuth \subsection{Tufte}\input tufte \stoptext Wolfgang ___ If your question is of interest to others

[NTG-context] Only show section numbering for \chapter?

2011-07-26 Thread Khaled Hosny
ontent][chapter,section][criterium=all,level=section] \starttext \completecontent \chapter{Chapter} \section{Section} \input knuth \subsection{Sub Section} \input knuth \stoptext ___ If your question is of interest to

Re: [NTG-context] Heading with linebreaks in pdf bookmarks: linebreak sign stays

2011-07-17 Thread Wolfgang Schuster
tion] > > \starttext > \completecontent[criterium=all] > \chapter{A very,\\very long long title} > \chapter{A very, very long long title} > \stoptext > > What did I forgot to get rid of the linebreak sign in the pdf > bookmarks? Use \startchapter as Thomas suggests or ad

[NTG-context] right and left alignment in header w/ linebreak sign

2011-07-17 Thread Peter Schorsch
getmarking[chapter]}% {\getmarking[chapter]}% } \setupheadertexts[margin][][\rightaligned{\CurrentChapter}][\leftaligned{\CurrentChapter}][]% % \starttext \completecontent[criterium=all] \chapter{A very,\\very long long heading} \chapter{A very, very long long heading} \chap

Re: [NTG-context] Heading with linebreaks in pdf bookmarks: linebreak sign stays

2011-07-17 Thread Thomas A. Schmitz
On 7/17/11 4:51 PM, Peter Schorsch wrote: Hi, as soon I have a linebreak inside a heading via \\ I get this \\ also in the text of that heading in the pdf-bookmarks: \setupinteraction[state=start] \placebookmarks[chapter,section,subsection][chapter,section] \starttext \completecontent

[NTG-context] Heading with linebreaks in pdf bookmarks: linebreak sign stays

2011-07-17 Thread Peter Schorsch
Hi, as soon I have a linebreak inside a heading via \\ I get this \\ also in the text of that heading in the pdf-bookmarks: \setupinteraction[state=start] \placebookmarks[chapter,section,subsection][chapter,section] \starttext \completecontent[criterium=all] \chapter{A very,\\very long long

Re: [NTG-context] Turn Off Header and Footer

2011-07-17 Thread Wolfgang Schuster
e command "\page[header,footer]" but it has no effect. :( > Command reference for "\page" command: > http://wiki.contextgarden.net/Reference/en/page > > Here you can see my present code: http://pastebin.com/JNtXji1i > > I placed the "\page" comm

[NTG-context] Turn Off Header and Footer

2011-07-17 Thread Bene dikt
for "\page" command: http://wiki.contextgarden.net/Reference/en/page Here you can see my present code: http://pastebin.com/JNtXji1i I placed the "\page" command before "\completecontent" to turn off header and footer, however they are typeset. Maybe somebody has a

[NTG-context] Interesing error message in MKIV:

2011-07-12 Thread John Culleton
ter 6 \startstandardmakeup 7 \midaligned{How to make a document.} 8 \midaligned{by} 9 \midaligned{The Author} 10 \stopstandardmakeup 11 \switchtotypeface [palatino] [12pt,rm] 12 \completecontent 13 >> \stopfrontmatter 14 \startbodymatter 15 \input

Re: [NTG-context] Fwd: Newlines in a table cel

2011-07-04 Thread Wolfgang Schuster
works. In my own document it does not. Looks like > I changed something in my environment. Have to find out what. > > It is not in my environment. The use of \completecontent wreck havoc on this. > See the attachments. This is *not* a minimal working example, neither it’s min

Re: [NTG-context] Fwd: Newlines in a table cel

2011-07-04 Thread Cecil Westerhof
ument it does not. Looks > like I changed something in my environment. Have to find out what. > It is not in my environment. The use of \completecontent wreck havoc on this. See the attachments. -- Cecil Westerhof dumm

Re: [NTG-context] First baby steps with MKIV

2011-07-02 Thread John Culleton
an outline of a Context file: > > --- > > And here is template.tex: > \starttext > \startfrontmatter > \startstandardmakeup > %\input title.tex > \stopstandardmakeup > \completecontent > %\input preface.tex > \stopfrontmatter > \startbodymatte

Re: [NTG-context] First baby steps with MKIV

2011-07-02 Thread John Culleton
> I tried > mtxrun template.tex > and I get the error: > ./template.tex:1: unexpected symbol near '\' > > template.tex is an outline of a Context file: > --- And here is template.tex: \starttext \startfrontmatter \startstandardmakeup %\inp

[NTG-context] bad argument #1 to 'gsub'

2011-06-23 Thread Kip Warner
ronment - /Source/Handbook.tex - \startproduct Handbook \environment Source/Environment \startfrontmatter \completecontent \stopfrontmatter \startbodymatter \component Source/Preface/Preface \stopbodymatter \startappendices \co

[NTG-context] Error with \{start,stop}structureblockenvironment

2011-06-11 Thread Martin 'golodhrim' Scholz
merals] \startfrontmatter \completecontent \stopfrontmatter \startbodymatter \setuppagenumbering[state=start,conversion=] \product prd_file \stopbodymatter I would appreciate any kind of help to get this solved, as the wiki explained that for making use of the romannumbers in the frontpart and normals

Re: [NTG-context] Include a list in a list, for example, a List of Figures in a Table of Content

2011-06-06 Thread Mathieu Dupont
messy. You want this? \setuplist[chapter][after={\placelist[figure]}] \setuplist[figure][label=figure,width=6em] \starttext \completecontent \chapter{One} \placefigure{Two}{2} \section{Three} \placefigure{Four}{4} \chapter{Five} \placefigure{Six}{6} \section{Seven} \placefigure{Eight}{8} \stoptex

Re: [NTG-context] Include a list in a list, for example, a List of Figures in a Table of Content

2011-06-05 Thread Wolfgang Schuster
> > \chapter{List of Figures} > \placeLOF > > but then I would have to adjust many other things and it becomes very messy. You want this? \setuplist[chapter][after={\placelist[figure]}] \setuplist[figure][label=figure,width=6em] \starttext \completecontent \chapter{One} \p

Re: [NTG-context] \definehead \setuphead new type included in a list such as TOC

2011-05-27 Thread Mathieu DUPONT
easiest way of getting the three desired results. Your own headings aren’t shown in the TOC because you use \completecontentwhich lists only the default numbered headings (\part, \chapter etc.) There are different solution: 1. Replace \completecontent with the following \title{Contents

Re: [NTG-context] \definehead \setuphead new type included in a list such as TOC

2011-05-26 Thread Wolfgang Schuster
there an option I can put into \setuphead[Abstract][] so it gets included > in the TOC ? > That would be the easiest way of getting the three desired results. Your own headings aren’t shown in the TOC because you use \completecontent which lists only the default numbered headings (\part, \chapter etc

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 >

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

2011-05-26 Thread Wolfgang Schuster
uplist [chapter] [alternative=vertical, command=\ChapterList, interaction=all] \starttext \completecontent \chapter{One} \chapter{Two} \stoptext I guess i should take a closer look at “horizontal” and “vertical” because the label key has no effect for them. Wo

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

2011-05-26 Thread Alan Braslau
ymore > with > MkIV : > > \setuplabeltext[chapter=CHAPTER~] > \setuplist[chapter][label=yes, style={\blank[0cm]}] > \starttext > > \startfrontmatter > \completecontent > \stopfrontmatter > > \startbodymatter > \c

[NTG-context] TOC : margin size doesn't reset if next section is a chapter

2011-05-25 Thread Mathieu DUPONT
gin=1.25cm,width=1.25cm] \starttext \completecontent \chapter{CHAPTER}\section{SECTION}\subsection{SUBSECTION} \chapter{CHAPTER}\section{SECTION}\subsection{SUBSECTION} \stoptext Mathieu ___

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

2011-05-25 Thread Mathieu DUPONT
, alternative=command,command=\ChapterList, ] \starttext \completecontent \start\setupinterlinespace[line=2.8ex]\completecontent\stop Wolfgang ___ If your question is of interest to others as well, please add an

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

2011-05-25 Thread Wolfgang Schuster
label=yes, > alternative=command, > command=\ChapterList, > ] > > \starttext > > \completecontent \start\setupinterlinespace[line=2.8ex] \completecontent \stop Wolfgang ___ If your qu

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

2011-05-25 Thread Mathieu DUPONT
efore={\setuplocalinterlinespace[line=2.8ex]\blank[halfline]}, margin=1.25cm, after={\setuplocalinterlinespace[line=4.2ex]}, ] \starttext \completecontent \startbodymatter\chapter{THIS VERY VERY VERY VERY VERY VERY LONG TITLE SHOULD BE SINGLE INTERLINE-SPACED (line=2.8ex)}\section{THIS VERY

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

[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] TOC : Chapter title under its number (separate lines)

2011-05-24 Thread Mathieu DUPONT
he job with MkII but it doesn't anymore with MkIV : \setuplabeltext[chapter=CHAPTER~]\setuplist[chapter][label=yes, style={\blank[0cm]}]\starttext \startfrontmatter\completecontent\stopfrontmatter \startbodymatter\chapter{Title of chapter}\section{Title of section}\stopbodymatter \stoptext

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

2011-05-24 Thread Mathieu DUPONT
following code used to do the job with MkII but it doesn't anymore with MkIV : \setuplabeltext[chapter=CHAPTER~]\setuplist[chapter][label=yes, style={\blank[0cm]}]\starttext \startfrontmatter\completecontent\stopfrontmatter \startbodymatter\chapter{Title of chapter}\section{Title of se

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

2011-05-24 Thread Wolfgang Schuster
er title underneath its number and left aligned, just like > everything else) > > The following code used to do the job with MkII but it doesn't anymore with > MkIV : > > \setuplabeltext[chapter=CHAPTER~] > \setuplist[chapter][label=yes, style={\blank[0cm]}] >

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

2011-05-23 Thread Mathieu DUPONT
do the job with MkII but it doesn't anymore with MkIV : \setuplabeltext[chapter=CHAPTER~]\setuplist[chapter][label=yes, style={\blank[0cm]}]\starttext \startfrontmatter\completecontent\stopfrontmatter \startbodymatter\chapter{Title of chapter}\section{Title of section}\stopbodym

Re: [NTG-context] Table of contents

2011-05-23 Thread Wolfgang Schuster
Am 23.05.2011 um 19:18 schrieb Oliver Buerschaper: > Dear all, > > is it possible to have entries in the table of contents not indented at all > whenever they stem from unnumbered headings? For example: > > --- > \starttext > > > \startfrontmatter >

[NTG-context] Table of contents

2011-05-23 Thread Oliver Buerschaper
Dear all, is it possible to have entries in the table of contents not indented at all whenever they stem from unnumbered headings? For example: --- \starttext \startfrontmatter \completecontent \chapter{Preface} \stopfrontmatter \startbodymatter \part{Test} \chapter

Re: [NTG-context] Appendix label in TOC (Table of Contents) : APPENDIX instead of CHAPTER

2011-05-23 Thread Wolfgang Schuster
Am 23.05.2011 um 04:06 schrieb Mathieu DUPONT: > Hi, > > The following code : > > \setuplabeltext[chapter=CHAPTER~] > \setuplabeltext[appendix=APPENDIX~] > \setuplist [chapter] [label=yes,style={\blank[0cm]}] > > \starttext > > \completecontent

[NTG-context] Appendix label in TOC (Table of Contents) : APPENDIX instead of CHAPTER

2011-05-22 Thread Mathieu DUPONT
Hi, The following code : \setuplabeltext[chapter=CHAPTER~]\setuplabeltext[appendix=APPENDIX~]\setuplist [chapter] [label=yes,style={\blank[0cm]}] \starttext \completecontent \chapter{Title of a chapter} \startappendices\chapter{Title of an appendix}\stopappendices \stoptext results in

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

2011-04-23 Thread Wolfgang Schuster
rk any more with this solution: > http://www.ntg.nl/pipermail/ntg-context/2011/058614.html \setuplist[part] [label=part] \setuplist[chapter][label=chapter] \setuplist[section][label=section] and use the \completecontent command without setting for label because this will otherwise overwr

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] label bug with latest beta (2011.04.22)

2011-04-23 Thread Reviczky, Adam
%\setuplabeltext [en] [part={Part }] % no difference, Part is not shown \setuplabeltext [en] [chapter={Chapter }] \setuplabeltext [en] [section={Section }] \starttext \startfrontmatter \completecontent [criterium=all,label=yes] \stopfrontmatter \startbodymatter \startpart [title={Table of Contents}]

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

2011-04-23 Thread Reviczky, Adam
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 /usr/share/texmf/tex/context/base/strc-lst.lu

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

2011-04-22 Thread Wolfgang Schuster
chapter][starter=(,stopper=),width=6em] \starttext \startfrontmatter \completecontent[label=no] % default \completecontent[label=] \completecontent[label=none] \completecontent[label=yes] \completecontent[label=section] \stopfrontmatter \startbodymatter \chapter{Bodypart} \stopbodymatter \startapp

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

2011-04-20 Thread Reviczky, Adam
an be used to see the problem and to test for the > correct result once the thing is resolved. > > \setuplabeltext [chapter=Chapter ] > \setuplabeltext[appendix=Appendix ] > > \setuplist[chapter][label=yes,width=5em] > > \starttext > > \startfrontmatter > \co

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

2011-04-20 Thread seasoul
t; \setuplabeltext[appendix=Appendix ] > > \setuplist[chapter][label=yes,width=5em] > > \starttext > > \startfrontmatter > \completecontent > \stopfrontmatter > > \startbodymatter > \chapter{Bodypart} > \stopbodymatter > > \startappendices > \chapter{Appe

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 ___

Re: [NTG-context] Problem with \completecontent

2011-04-15 Thread Cecil Westerhof
2011/4/15 Wolfgang Schuster : > > Am 15.04.2011 um 06:24 schrieb Cecil Westerhof: > >> But why is there a difference between using \completecontent >> immediately or later in the document. > > The TOC is empty when you have \chapter commands before > \(complete|place

Re: [NTG-context] Problem with \completecontent

2011-04-15 Thread Wolfgang Schuster
Am 15.04.2011 um 06:24 schrieb Cecil Westerhof: > But why is there a difference between using \completecontent > immediately or later in the document. The TOC is empty when you have \chapter commands before \(complete|place)content, to flush the entries you have to use now “criterium=all

Re: [NTG-context] Problem with \completecontent

2011-04-14 Thread Cecil Westerhof
2011/4/14 Wolfgang Schuster : >> The following works as expected: >>    \starttext >> >>    \completecontent >> >>    \chapter{one} >> >>    \chapter{two} >> >>    \chapter{three} >> >>    \chapter{four} >> >>    

Re: [NTG-context] Problem with \completecontent

2011-04-14 Thread Wolfgang Schuster
Am 13.04.2011 um 22:47 schrieb Cecil Westerhof: > The following works as expected: >\starttext > >\completecontent > >\chapter{one} > >\chapter{two} > >\chapter{three} > >\chapter{four} > >\stoptext > &g

[NTG-context] Problem with \completecontent

2011-04-13 Thread Cecil Westerhof
The following works as expected: \starttext \completecontent \chapter{one} \chapter{two} \chapter{three} \chapter{four} \stoptext But when I use the following: \starttext \chapter{one} \completecontent \chapter{two} \chapter{three

Re: [NTG-context] \crlf breaks unexpected in title

2011-04-12 Thread Wolfgang Schuster
Am 12.04.2011 um 15:53 schrieb Markus Finke: > \completecontent > > \starttext > > % linebreak in title: > \chapter{Influences in the 20th century:\\{}an introduction} > > % linebreak in ToC *and* title: > \chapter{Influences in the 20th century:\crlf an i

[NTG-context] \crlf breaks unexpected in title

2011-04-12 Thread Markus Finke
\completecontent \starttext % linebreak in title: \chapter{Influences in the 20th century:\\{}an introduction} % linebreak in ToC *and* title: \chapter{Influences in the 20th century:\crlf an introduction} \stoptext Linebreak in the ToC only is required. Is there a new command? TIA

Re: [NTG-context] Problem with en-dash in footer

2011-03-28 Thread Hans Hagen
On 28-3-2011 5:21, Florian Wobbe wrote: Hi, this used to work before: \setupcombinedlist[content][alternative=c] \setupfootertexts[{should be en-dash: -- \hfill \pagenumber}] \setupfooter[style=\ssbi] %<-- comment out \starttext %text %<-- comment in \completecontent \stoptext Stra

[NTG-context] Problem with en-dash in footer

2011-03-28 Thread Florian Wobbe
Hi, this used to work before: \setupcombinedlist[content][alternative=c] \setupfootertexts[{should be en-dash: -- \hfill \pagenumber}] \setupfooter[style=\ssbi] % <-- comment out \starttext %text % <-- comment in \completecontent \stoptext Strange is, that the en-dash is there when eith

[NTG-context] Reference jump location

2011-03-28 Thread Marco
=width] \starttext \completecontent [interaction=all] \startchapter [title=Foo] \stopchapter \page \startchapter [title=Bar] \stopchapter \stoptext Marco ___ If your question is of interest to others as well, please

Re: [NTG-context] Minimals ignores structureblockenvironment for frontmatter etc.

2011-03-20 Thread Wolfgang Schuster
Am 20.03.2011 um 16:46 schrieb Tom: > Thank you, Wolfgang. Your table is most helpful. This can probably be found > in the documentation but not where I looked. This probably relates to the > recent discussion regarding manuals for novices. > > My observation is that \comp

Re: [NTG-context] Minimals ignores structureblockenvironment for frontmatter etc.

2011-03-20 Thread Tom
Thank you, Wolfgang. Your table is most helpful. This can probably be found in the documentation but not where I looked. This probably relates to the recent discussion regarding manuals for novices. My observation is that \completecontent and \completeindex are treated like chapter starts in that

[NTG-context] [***SPAM***] Minimals ignores structureblockenvironment for frontmatter etc.

2011-03-20 Thread Tom
ty,footer=chapter,page=mychapterpagebreak, number=no,after={\blank[0.25in]}] \stopstructureblockenvironment \starttext \startfrontmatter % errors if startfrontpart %sample front matter \input knuth \completecontent[alternative=c,criterium=all] \chapter{Preface} \input knuth \cha

Re: [NTG-context] Is it possible to generate only a table of contents

2011-03-18 Thread luigi scarso
On Fri, Mar 18, 2011 at 10:35 AM, Peter Münster wrote: > Cecil Westerhof writes: > >> Is it possible to generate only a TOC? (\completecontent) When >> creating a document I like to have the 'stakeholders' to have an >> indication of what is going on. For this

Re: [NTG-context] Is it possible to generate only a table of contents

2011-03-18 Thread Peter Münster
Cecil Westerhof writes: > Is it possible to generate only a TOC? (\completecontent) When > creating a document I like to have the 'stakeholders' to have an > indication of what is going on. For this a TOC is enough. I could > create the document and cut out the TOC, but

Re: [NTG-context] Is it possible to generate only a table of contents

2011-03-18 Thread Steffen Wolfrum
Am 18.03.2011 um 09:32 schrieb Cecil Westerhof: > Is it possible to generate only a TOC? (\completecontent) When creating a > document I like to have the 'stakeholders' to have an indication of what is > going on. For this a TOC is enough. I could create the document and

[NTG-context] Is it possible to generate only a table of contents

2011-03-18 Thread Cecil Westerhof
Is it possible to generate only a TOC? (\completecontent) When creating a document I like to have the 'stakeholders' to have an indication of what is going on. For this a TOC is enough. I could create the document and cut out the TOC, but it would be simpler if that could be auto

Re: [NTG-context] Is Minimals ready for non-developers to use?

2011-03-14 Thread Jeong Dalyoung
Dear Tom, good to hear that minimal is working fine. > I had the same experience that you had with the Introduction not showing up > in the TOC. Do you know how to report a bug? I think that completecontent doesn't recognize the user defined "intro". It is all what I

[NTG-context] Is Minimals ready for non-developers to use?

2011-03-13 Thread Tom
ers] \setuplist[chapter][pageconversionset=pagenumber] \startstructureblockenvironment[frontpart] \setupuserpagenumber[numberconversion=romannumerals] \setuppagenumber[number=1] \stopstructureblockenvironment \startstructureblockenvironment[bodypart] \setuppagenumber[number=1] \stopstructureblockenvironm

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] Am not getting Roman numeral page numbers in MKIV

2011-03-11 Thread Tom
nuth %page numbers not being converted to Roman numerals \completecontent[alternative=c,criterium=all] \chapter{Preface} \input knuth \stopfrontmatter \startbodymatter \intro{Introduction} %is not appearing in TOC \input knuth %page number not being set to 1 \chapter{I Was Bor

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

2011-03-11 Thread Tom
\input knuth \completecontent[alternative=c,criterium=all] \chapter{Preface} \input knuth \stopfrontmatter \startbodymatter \intro{Introduction} \input knuth \setupheadnumber[chapter][0] %resets first chapter number to 1 \setuppagenumbering [state=start, conversion=numbers, location

[NTG-context] Roman numeral page numbers produced in MKII

2011-03-10 Thread Tom
\startsectionblockenvironment[backmatter] \stopsectionblockenvironment \starttext \setuppagenumber[state=start] \startfrontmatter %sample front matter \input knuth \completecontent[alternative=c,criterium=all] \chapter{Preface} \input knuth \stopfrontmatter \startbodymatter \setuppagenumber[state

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

2011-03-10 Thread Tom
] \stopsectionblockenvironment \startsectionblockenvironment[backmatter] \stopsectionblockenvironment \starttext \setuppagenumber[state=start] \startfrontmatter %sample front matter \input knuth \completecontent[alternative=c,criterium=all] \chapter{Preface} \input knuth \stopfrontmatter

Re: [NTG-context] Making contents 'clickable'

2011-03-03 Thread Cecil Westerhof
etupinteraction[state=start] > > \starttext > > \completecontent[interaction=all] % can be also done with > \setuplist[...][interaction=all] > I like just \completecontent better. But thanks anyway. -- Cecil Westerhof _

Re: [NTG-context] Making contents 'clickable'

2011-03-03 Thread Wolfgang Schuster
Am 03.03.2011 um 14:30 schrieb Cecil Westerhof: > In a lot of e-books you see that when you are at the contents that the > chapters an sections can be clicked and you go to them. Can ConTeXt make this > kind of documents? \setupinteraction[state=start] \starttext \comple

[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

[NTG-context] Chapter Command causes ToC to not display correctly

2011-02-14 Thread Tom
. Let's see how this works for dedications that span multiple lines. \stopalignment \stopdedication \completecontent \intro{Introduction - Ag} \input knuth \chapter{First chapter - Ag} \input knuth \input knuth \input knuth \input knuth \input knuth \chapter{Second Chapter - Ag} \input knuth \sto

[NTG-context] Getting paragraphs to indent

2011-02-13 Thread Tom
iple lines. \stopdedication \completecontent \intro{Introduction - Ag} \input knuth \chapter{First chapter - Ag} \input knuth \input knuth \input knuth \input knuth \input knuth \chapter{Second Chapter - Ag} \input knuth \stoptext Tom Benjey 717-258-9733 voice 717-243-0074 fax blog: www.Tom

Re: [NTG-context] Using fonts from multiple families

2011-02-13 Thread Tom
head[dedication][number=no,style={\switchtobodyfont[dedication,16pt]}] \definecombinedlist [content][intro,chapter,section] % pagenumbers \setuppagenumbering[style={\switchtobodyfont[pagenumber]}] \starttext \dedication{Dedication} \completecontent \intro{Introduction - Ag} \input knuth \chapter{First ch

Re: [NTG-context] Using fonts from multiple families

2011-02-13 Thread Wolfgang Schuster
binedlist [content][intro,chapter,section] % pagenumbers \setuppagenumbering[style={\switchtobodyfont[pagenumber]}] \starttext \dedication{Dedication} \completecontent \intro{Introduction - Ag} \input knuth \chapter{First chapter - Ag} \input knuth \chap

[NTG-context] Using fonts from multiple families

2011-02-12 Thread Tom
t[BookFont,12pt] \switchtobodyfont[serif] \setuphead [chapter][style=sansbold, alternative=middle] \definehead [intro][chapter] \setuphead [intro][number=no] \definecombinedlist [content][intro,chapter,section] \setuphead[chapter][style=sansbold] \starttext {\cg Dedication} \page \completecontent \int

Re: [NTG-context] Table of Contents issues

2011-02-12 Thread Tom
combinedlist[content][intro,chapter,section] \setupcombinedlist [content][style=sansbold] \starttext \completecontent \intro{Introduction} \input knuth \chapter{First chapter} \input knuth \chapter{Second Chapter} \input knuth \stoptext Wolfgang _

Re: [NTG-context] Table of Contents issues

2011-02-12 Thread Wolfgang Schuster
ction] \setupcombinedlist [content][style=sansbold] \starttext \completecontent \intro{Introduction} \input knuth \chapter{First chapter} \input knuth \chapter{Second Chapter} \input knuth \stoptext Wolfgang ___ If your qu

[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

[NTG-context] strange hang during compilation

2011-02-08 Thread Jeong Dalyoung
\component preface \page %\setuplist[alternative=c, style=12pt, textstyle=normal] %\placelist[chapter] \completecontent[criterium=all] \stopfrontmatter \enablemode[withsolution] \startbodymatter \component SumRule1 %\component ProductRule

Re: [NTG-context] formatting title pages and table of contents

2011-02-05 Thread Wolfgang Schuster
Am 05.02.2011 um 18:51 schrieb Paul Menzel: > Dear ConTeXt folks, > > > how do you set a title page? I took [1] as an example where `\title{}` > is formatted using `\setuphead[title][…]`. But then if I want to use ` > \completecontent` to insert the table of contents [2] – I

[NTG-context] formatting title pages and table of contents

2011-02-05 Thread Paul Menzel
Dear ConTeXt folks, how do you set a title page? I took [1] as an example where `\title{}` is formatted using `\setuphead[title][…]`. But then if I want to use ` \completecontent` to insert the table of contents [2] – I need it with the title – then »Contents« is also formatted using the

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] 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

Re: [NTG-context] Trouble with ConTeXt's project structure

2010-10-18 Thread Stefan Müller
project file is always executed. Consider the table of content call in the wiki a bad example. Mea culpa. Change it. Greetlings from Lake Constance! Hraban --- http://www.fiee.net/texnique/ http://wiki.contextgarden.net https://www.cacert.org (I'm an assurer) Okay, so the \completecontent shou

[NTG-context] Trouble with ConTeXt's project structure

2010-10-17 Thread Stefan Müller
\product prd_year2004-01 \completecontent[criterium=all] \stopproject %% EOF %% env_mymag.tex \startenvironment env_mymag \setupindenting[medium, yes] %some random setup \stopenvironment %% EOF %% prd_year2004-01 \startproduct prd_year2004-01 \project project_mymag

[NTG-context] Lists and labeltexts

2010-10-03 Thread Wolfgang Schuster
Hi Hans, lists ignore the sectionblock for the labeltext \setuplabeltext[chapter=Chapter~,appendix=Appendix~] \setuplist[chapter][label=yes,width=2cm] \setuphead[chapter][bodypartlabel=appendix] \starttext \completecontent \chapter{Foo} \stoptext Wolfgang

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

2010-10-03 Thread Pierre-François Bonnefoi
rPrefix] >> >> That doesn't work, and I've some difficulties to figure how computation is >> performed in e-TeX... >> >> Could you help me to resolve this issue ? > > A very dirty hack: > > \setuppapersize[A6][A6] > > \let\normaltranslatedn

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] [NTG-Context] How to compute correct page number for handout

2010-10-03 Thread Pierre-François Bonnefoi
lor=yellow,numbercommand=\underbar,pagecommand=\ChapterPrefix] \setuplist[section][] \completecontent \dorecurse{3}{\chapter{test} \dorecurse{4}{test \page}} \stoptext In MKII, I get a "Missing number error". I've isolated the problem : the value given to the \chapterprefix by the pagecommand

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

2010-09-29 Thread Steffen Wolfrum
Am 29.09.2010 um 10:55 schrieb Hans Hagen: > On 29-9-2010 9:22, Steffen Wolfrum wrote: >> >> Am 28.09.2010 um 12:33 schrieb Mari Voipio: >> >>> On Tue, Sep 28, 2010 at 12:19, Steffen Wolfrum >>> wrote: >>>>>> \completecontent[pagebou

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

2010-09-29 Thread Hans Hagen
On 29-9-2010 9:22, Steffen Wolfrum wrote: 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 works for me, even i

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

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

2010-09-28 Thread 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 works for me, even in the fairly complex files that I recently upgraded from MKII to

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

2010-09-28 Thread Steffen Wolfrum
i, >>>>> >>>>> somewhere I saw the code how to insert a pagebreak in the table of >>>>> content. >>>>> I remember it somehow was related to the new structure model (one could >>>>> specify after which sections the table

<    1   2   3   4   5   6   7   8   9   10   >