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

2011-07-17 Thread Peter Schorsch
]}% {\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} \chapter{End} \stoptext

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

2011-07-17 Thread Wolfgang Schuster
\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 add \appendtoks\def\\{ }\to \simplifiedcommands to the begin

[NTG-context] Interesing error message in MKIV:

2011-07-12 Thread John Culleton
\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 body.tex 16

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

2011-07-04 Thread Cecil Westerhof
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 dummy.tex Description: TeX document dummy.pdf Description: Adobe PDF document

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

2011-07-04 Thread Wolfgang Schuster
. 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 minimal nor it’s working. You

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

2011-07-02 Thread John Culleton
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 %\input title.tex \stopstandardmakeup \completecontent %\input

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

2011-06-23 Thread Kip Warner
- \startproduct Handbook \environment Source/Environment \startfrontmatter \completecontent \stopfrontmatter \startbodymatter \component Source/Preface/Preface \stopbodymatter \startappendices \completeindex \stopappendices \startbackmatter \stopbackmatter \stopproduct

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

2011-06-11 Thread Martin 'golodhrim' Scholz
] \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
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} \stoptext Wolfgang

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
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} \placefigure{Two}{2} \section{Three} \placefigure{Four}{4} \chapter{Five

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

2011-05-27 Thread Mathieu DUPONT
be the 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] TOC : Chapter title under its number (separate lines)

2011-05-26 Thread Alan Braslau
[chapter][label=yes, style={\blank[0cm]}] \starttext \startfrontmatter \completecontent \stopfrontmatter \startbodymatter \chapter{Title of chapter} \section{Title of section} \stopbodymatter \stoptext Instead, I get something like this (I

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

2011-05-26 Thread Wolfgang Schuster
[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. Wolfgang

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

2011-05-26 Thread Alan Braslau
] \define[3]\ChapterList {\vbox{#1\crlf#2\hfill#3}} \setuplist [chapter] [alternative=vertical, command=\ChapterList, interaction=all] \starttext \completecontent \chapter{One} \chapter{Two} \stoptext I guess i should take a closer look at “horizontal

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

2011-05-26 Thread Wolfgang Schuster
][] 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.) There are different solution: 1. Replace

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

2011-05-25 Thread Steffen Wolfrum
[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-SPACED (line=2.8ex)} \subsection{THIS VERY VERY

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

2011-05-25 Thread Mathieu DUPONT
={\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 VERY

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

2011-05-25 Thread Wolfgang Schuster
\completecontent \start\setupinterlinespace[line=2.8ex] \completecontent \stop 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.ntg.nl

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

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

2011-05-25 Thread Mathieu DUPONT
\listdots\enspace #3\par }\setuplist[chapter][ margin=0cm, % this line doesn't do anything label=yes, alternative=command, command=\ChapterList, ]\setuplist[section][margin=0cm,width=1.25cm]\setuplist[subsection][margin=1.25cm,width=1.25cm] \starttext \completecontent

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

2011-05-24 Thread Wolfgang Schuster
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]}] \starttext \startfrontmatter \completecontent \stopfrontmatter

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

2011-05-24 Thread Mathieu DUPONT
) 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]}]\starttext \startfrontmatter\completecontent\stopfrontmatter \startbodymatter\chapter{Title of chapter}\section{Title of section

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

2011-05-24 Thread Mathieu DUPONT
: \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 Instead, I get something like this (I hope it turns out readable

[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

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 \chapter{Title of a chapter} \startappendices

[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] 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 \completecontent \chapter{Preface

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

2011-05-23 Thread Mathieu DUPONT
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 section}\stopbodymatter

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

2011-04-24 Thread Wolfgang Schuster
://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 overwrite the settings above. Wolfgang

[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.lua:496

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

2011-04-23 Thread Reviczky, Adam
={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}] \startchapter [title

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 /usr

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

2011-04-22 Thread Wolfgang Schuster
=(,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 \startappendices \chapter

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

2011-04-20 Thread seasoul
which can 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 \completecontent \stopfrontmatter

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

2011-04-20 Thread Reviczky, Adam
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 \completecontent \stopfrontmatter \startbodymatter \chapter{Bodypart

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

2011-04-18 Thread Wolfgang Schuster
=5em] \starttext \startfrontmatter \completecontent \stopfrontmatter \startbodymatter \chapter{Bodypart} \stopbodymatter \startappendices \chapter{Appendix} \stopappendices \stoptext Wolfgang ___ If your question

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-15 Thread Cecil Westerhof
2011/4/15 Wolfgang Schuster schuster.wolfg...@googlemail.com: 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

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 But when I use the following: \starttext \chapter{one

Re: [NTG-context] Problem with \completecontent

2011-04-14 Thread Cecil Westerhof
2011/4/14 Wolfgang Schuster schuster.wolfg...@googlemail.com: 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

[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

[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

[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

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

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

2011-03-20 Thread Tom
={\blank[0.25in]}] \stopstructureblockenvironment \starttext \startfrontmatter % errors if startfrontpart %sample front matter \input knuth \completecontent[alternative=c,criterium=all] \chapter{Preface} \input knuth \chapter{Introduction} \input knuth \stopfrontmatter

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

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 \completecontent

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

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 cut out the TOC

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

2011-03-18 Thread Peter Münster
Cecil Westerhof cldwester...@gmail.com 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

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 pmli...@free.fr wrote: Cecil Westerhof cldwester...@gmail.com 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

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 can tell you. If you have

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

2011-03-13 Thread Jeong Dalyoung
] \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. There are so many things which

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

2011-03-13 Thread Tom
] \setupuserpagenumber[numberconversion=romannumerals] \setuppagenumber[number=1] \stopstructureblockenvironment \startstructureblockenvironment[bodypart] \setuppagenumber[number=1] \stopstructureblockenvironment \starttext \startfrontmatter \completecontent[criterium=all] \chapter{Intro} \input tufte

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

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

2011-03-11 Thread Tom
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 Born} \input knuth

[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

[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

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 \completecontent[interaction

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

2011-03-03 Thread Cecil Westerhof
? \setupinteraction[state=start] \starttext \completecontent[interaction=all] % can be also done with \setuplist[...][interaction=all] I like just \completecontent better. But thanks anyway. -- Cecil Westerhof ___ If your

[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 \stoptext

[NTG-context] Chapters not sowing up in ToC

2011-02-14 Thread Tom
]}] \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 your

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

2011-02-13 Thread Wolfgang Schuster
[style={\switchtobodyfont[pagenumber]}] \starttext \dedication{Dedication} \completecontent \intro{Introduction - Ag} \input knuth \chapter{First chapter - Ag} \input knuth \chapter{Second Chapter - Ag} \input knuth \stoptext Wolfgang

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

2011-02-13 Thread Tom
[content][intro,chapter,section] % pagenumbers \setuppagenumbering[style={\switchtobodyfont[pagenumber]}] \starttext \dedication{Dedication} \completecontent \intro{Introduction - Ag} \input knuth \chapter{First chapter - Ag} \input knuth \chapter{Second Chapter - Ag} \input knuth \stoptext

[NTG-context] Getting paragraphs to indent

2011-02-13 Thread Tom
. \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.TomBenjey.com

[NTG-context] Table of Contents issues

2011-02-12 Thread Tom
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-0074 fax blog: www.TomBenjey.com

Re: [NTG-context] Table of Contents issues

2011-02-12 Thread Wolfgang Schuster
. Aligntitle seems to have no effect on anything from what I have seen. \setuphead[chapter][style=sansbold] \definehead[intro][chapter] \setuphead [intro][number=no] \definecombinedlist[content][intro,chapter,section] \setupcombinedlist [content][style=sansbold] \starttext \completecontent

Re: [NTG-context] Table of Contents issues

2011-02-12 Thread Tom
=sansbold] \starttext \completecontent \intro{Introduction} \input knuth \chapter{First chapter} \input knuth \chapter{Second Chapter} \input knuth \stoptext Wolfgang ___ If your question is of interest to others

[NTG-context] Using fonts from multiple families

2011-02-12 Thread Tom
] \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 \intro{Introduction

[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

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 need it with the title

[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] empty page before chapter and part

2010-12-11 Thread Emanuele Sacco
]  [placehead=yes,  before={\pagetype[chapter]\startstandardmakeup[align={middle,lohi}]\switchtobodyfont[20pt]},  after=\stopstandardmakeup,  align=middle,  prefix=no,  resetnumber=no] \setuphead[chapter] [header=empty] \starttext \completecontent \part{Parte} \chapter{Capitolo} \section

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 should

[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

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

2010-10-03 Thread Pierre-François Bonnefoi
,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 option seems to be a text

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

2010-10-03 Thread Wolfgang Schuster
\translatednumber \def\translatednumber[#1]% {\number\numexpr(\normaltranslatednumber[#1]+1)/4\relax} \starttext \completecontent \dorecurse{12} {\chapter{Chapter #1} \dorecurse{#1}{\input knuth\par}} \stoptext Wolfgang

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

2010-10-03 Thread Pierre-François Bonnefoi
? A very dirty hack: \setuppapersize[A6][A6] \let\normaltranslatednumber\translatednumber \def\translatednumber[#1]% {\number\numexpr(\normaltranslatednumber[#1]+1)/4\relax} \starttext \completecontent \dorecurse{12} {\chapter{Chapter #1} \dorecurse{#1}{\input knuth\par

[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] 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 cont...@st.estfiles.de 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

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 Wolfrumcont...@st.estfiles.de wrote: \completecontent[pageboundaries={20.3,30}] In current context it doesn't show any effect. Is it obsolete in MkIV? It works

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 Wolfrumcont...@st.estfiles.de wrote: \completecontent[pageboundaries={20.3,30}] In current context it doesn't

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

2010-09-28 Thread Elias Oltmanns
Steffen Wolfrum cont...@st.estfiles.de wrote: Hi, 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 should break). \completecontent[pageboundaries

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

2010-09-28 Thread Steffen Wolfrum
should break). \completecontent[pageboundaries={20.3,30}] Yes, that's what I meant ;o) Thank you! Steffen ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg

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

2010-09-28 Thread Steffen Wolfrum
(one could specify after which sections the table should break). \completecontent[pageboundaries={20.3,30}] In current context it doesn't show any effect. Is it obsolete in MkIV? Steffen ___ If your question

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

2010-09-28 Thread Elias Oltmanns
it somehow was related to the new structure model (one could specify after which sections the table should break). \completecontent[pageboundaries={20.3,30}] In current context it doesn't show any effect. It does here (updated minimals today) and in MkIV too. Do you have an example that doesn't

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

2010-09-28 Thread Steffen Wolfrum
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 should break). \completecontent[pageboundaries={20.3,30}] In current context it doesn't show any effect. It does here (updated minimals today

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

2010-09-28 Thread Mari Voipio
On Tue, Sep 28, 2010 at 12:19, Steffen Wolfrum cont...@st.estfiles.de 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 MKIV. I

Re: [NTG-context] \setupcombinedlist ignores `level' argument?

2010-09-19 Thread Wolfgang Schuster
Am 19.09.2010 um 00:09 schrieb Corsair: Hi all, If I understand this right, \setupcombinedlist[content][level=section] tells ConTeXt to list up to section level when doing \completecontent. But it seems no matter what I set for `level', \completecontent lists however deeply it can

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

2010-09-19 Thread Wolfgang Schuster
\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] \input tufte \stopchapter \stoptext

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

2010-09-19 Thread Andreas Harder
\doifsomething{\structureuservariable{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

Re: [NTG-context] \setupcombinedlist ignores `level' argument?

2010-09-19 Thread Corsair
On Sun, Sep 19, 2010 at 08:06:05AM +0200, Wolfgang Schuster wrote: Am 19.09.2010 um 00:09 schrieb Corsair: Hi all, If I understand this right, \setupcombinedlist[content][level=section] tells ConTeXt to list up to section level when doing \completecontent. But it seems no matter

[NTG-context] \setupcombinedlist ignores `level' argument?

2010-09-18 Thread Corsair
Hi all, If I understand this right, \setupcombinedlist[content][level=section] tells ConTeXt to list up to section level when doing \completecontent. But it seems no matter what I set for `level', \completecontent lists however deeply it can. Here is a minimal example: \setupcombinedlist

Re: [NTG-context] Numbering in Table of Content

2010-08-12 Thread Cedric Mauclair
contextref for details. This then generates a TOC with \completecontent which includes the unnumbered sections/headers. Regarding the numbering, you might gleen that from the sample document here: http://wiki.contextgarden.net/Biochemistry_textbook It all kind of goes like this: \starttext

Re: [NTG-context] Numbering in Table of Content

2010-08-12 Thread Riobard
Hi Martin, I tried this --- \starttext \startfrontmatter \setuppagenumbering[conversion=romannumerals] \title{Title} \subject{Abstract} \subject{Acknowledgements} \definecombinedlist [content][title,subject,chapter] \completecontent \stopfrontmatter \startbodymatter \setuppagenumbering

Re: [NTG-context] Numbering in Table of Content

2010-08-11 Thread Martin Althoff
predefined list or combindedlist content. Read contextref for details. This then generates a TOC with \completecontent which includes the unnumbered sections/headers. Regarding the numbering, you might gleen that from the sample document here: http://wiki.contextgarden.net/Biochemistry_textbook

[NTG-context] Interaction and TOC/content problmes

2010-08-11 Thread Martin Althoff
a \bookmark after \completecontent leads to no output at all. Thanks for any pointers ! Martin \setupinteraction[ state=start, color=, contrastcolor=] \setupcombinedlist[content][interaction=all] \placebookmarks[chapter,title][force=yes] \setuphead[chapter][interaction=list] \setuplabeltext

[NTG-context] Trouble with customising section heads

2010-08-10 Thread Elias Oltmanns
{% 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. \stoptext

[NTG-context] 2 sets of footnotes?

2010-08-05 Thread Martin Althoff
[AuthorComment] \setuplist[AuthorComment][width=2em,alternative=d] \starttext \startfrontmatter \completecontent[label=yes,alternative=c] \placelist[SideNote] \stopfrontmatter % Seite 85 \chapter {Ein Kapitel} Die Welt \section {§ 14. Die Idee} Das blah balh \inmargin[+][R63]{R. 63

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

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

<    1   2   3   4   5   6   7   8   9   >