[NTG-context] Re: page number

2024-05-26 Thread Wolfgang Schuster
[{\getmarking[chapter]}][pagenumber] Please send a complete working example next time. Can anyone show me code to achieve this? 1. You use \setupheadertexts to set the header for all pages. 2. You use \definetext to create a custom header for the chapter page and apply it with the header-key in

[NTG-context] Re: Headertext

2024-03-27 Thread Henning Hraban Ramm
Am 26.03.24 um 17:12 schrieb Wolfgang Schuster: begin example \showframe \definetext   [chapterheader] % identifier   [header]    % vertical position (header/footer) % [text]  % horizontal position (text/margin)   [This is a custom header for \tex{chapter}] % content

[NTG-context] Re: Headertext

2024-03-27 Thread Thomas Meyer
der=empty" in the following example. begin example \showframe \starttext \setuphead[chapter][header=high] \chapter{Lorem Ipsum} \dorecurse{10}{\samplefile{lorem}} \setuphead[chapter][header=empty] \chapter{Lorem Ipsum} \dorecurse{10}{\samplefile{lorem}} \stoptext end example

[NTG-context] start/end pages in ToC

2024-03-26 Thread Alan Bowen
[SourceTitle][page=yes, footer={ItemData}] \definehead[StudyTitle][chapter] \setuphead[StudyTitle][page=yes, footer={ItemData}] \definetext[ItemData][footer][ {\at[\Reference]– \at[\namedstructureuservariable{}{authorInitials}endPage]} ] \setuplist[SourceTitle][ state=start, textcolor=black

[NTG-context] Re: Headertext

2024-03-26 Thread Wolfgang Schuster
Thomas Meyer schrieb am 26.03.2024 um 16:28: Hi folks, I know, with \setuphead[chapter][header=high] I can suppress the header text on the first page. But what can I do if I still want to have part of the header text on the first page? Is there something I can do with \definetext and if so

[NTG-context] Headertext

2024-03-26 Thread Thomas Meyer
Hi folks, I know, with \setuphead[chapter][header=high] I can suppress the header text on the first page. But what can I do if I still want to have part of the header text on the first page? Is there something I can do with \definetext and if so, how? Thanks for any help Greetings

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

2021-10-26 Thread Gerben Wierda via ntg-context
%%% \definetext [chapterfooter] % name [footer]% vertical location [pagenumber]% content \setuplabeltext[en][appendixchapterlabel=Appendix~] \setuphead [chapter] [page=yes, header=empty, bodypartlabel=, appendixlabel=appendixchapterlabel, footer=chapterfooter

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

2021-10-25 Thread Bruce Horrocks via ntg-context
each chapter on a right page with a quote on >>> the opposing left page. I’d like to move the page number of that right page >>> to the footer, but haven’t been able to find how to do this is the >>> documentation. How can I do this? >> >> \defi

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

2021-10-25 Thread Wolfgang Schuster via ntg-context
additional hook at the start of each chapter. The advantage of this hook is that its values are inserted before the actual chapter code even starts. \setuppagenumbering[alternative=doublesided] \definetext   [chapterfooter] % name   [footer]    % vertical location   [pagenumber

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

2021-10-24 Thread Gerben Wierda via ntg-context
y double-sided layout starts each chapter on a right page with a quote on >>> the opposing left page. I’d like to move the page number of that right page >>> to the footer, but haven’t been able to find how to do this is the >>> documentation. How can I do this? >

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

2021-10-24 Thread Gerben Wierda via ntg-context
>> to the footer, but haven’t been able to find how to do this is the >> documentation. How can I do this? > > \definetext > [chapterfooter] % name > [footer]% vertical location > [pagenumber]% content > > \setuphead > [chapter] >

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

2021-10-24 Thread Wolfgang Schuster via ntg-context
. How can I do this? \definetext   [chapterfooter] % name   [footer]    % vertical location   [pagenumber]    % content \setuphead   [chapter]   [header=empty,    footer=chapterfooter] \starttext \dorecurse{4}   {\expanded{\chapter{Chapter \recurselevel}}    \dorecurse{10}{\samplefile{lorem

Re: [NTG-context] custom header/footer for 1st/other pages of section

2020-08-11 Thread Wolfgang Schuster
pages. To have a different text on a chapter page you can use the \definetext command to set them (third first argument is the name of the setup and the second argument the location). These setups than can applied to the chapter with the header and footer key in \setuphead. begin example

Re: [NTG-context] custom header/footer for 1st/other pages of section

2020-08-10 Thread Mike Cooper
h \setupheadertexts and \setupfootertexts you set first the text > which should appear on regular pages. > > To have a different text on a chapter page you can use the \definetext > command to set them (third first argument is the name of the setup and > the second argument t

Re: [NTG-context] custom header/footer for 1st/other pages of section

2020-08-06 Thread Wolfgang Schuster
have a different text on a chapter page you can use the \definetext command to set them (third first argument is the name of the setup and the second argument the location). These setups than can applied to the chapter with the header and footer key in \setuphead. begin example

Re: [NTG-context] Chapter in header, but not on title page

2020-02-16 Thread Henning Hraban Ramm
>> Since I’d like to keep the page number in the header on these pages, >> I can’t use header=empty. >> What’s the right setup for me? > > Hi Hraban, > > I think this is what you intend: >\definetext[chapter-first][header][][pagenumber] > >\setuphe

Re: [NTG-context] Chapter in header, but not on title page

2020-02-15 Thread Pablo Rodriguez
an’t use header=empty. > What’s the right setup for me? Hi Hraban, I think this is what you intend: \usemodule[visual] \setuppagenumbering[alternative=doublesided, location=] \setupheadertexts[chapter][pagenumber][pagenumber][chapter] \definetext[chapter-first][he

Re: [NTG-context] Custom Footertext

2019-09-29 Thread Jeroen
> > \stopbodymatter > > \startappendices > > %\input{a1.tex} > > \stopappendices > > \stoptext > > Are you looking for something like this (I need more information for a > better answer): > > \definetext [sectionfooter] [footer] [section] > %\de

Re: [NTG-context] Custom Footertext

2019-09-29 Thread Wolfgang Schuster
\startbodymatter \section{Introduction} \dorecurse{10}{input knuth} \stopbodymatter \startappendices %\input{a1.tex} \stopappendices \stoptext Are you looking for something like this (I need more information for a better answer): \definetext [sectionfooter] [footer] [section] %\definetext

Re: [NTG-context] show header text only on first page of chapter

2018-02-20 Thread Henning Hraban Ramm
2018 um 17:35 >> Hi Wolfgang, >> thank you very much - does that mean it’s not possible to use the part title? > > \definetext[henning][header][part] > > \setuphead[part][placehead=empty] > > \setuphead[chapter][header=henning] > > \starttext >

Re: [NTG-context] show header text only on first page of chapter

2018-02-20 Thread Wolfgang Schuster
Henning Hraban Ramm <mailto:te...@fiee.net> 20. Februar 2018 um 17:35 Hi Wolfgang, thank you very much - does that mean it’s not possible to use the part title? \definetext[henning][header][part] \setuphead[part][placehead=empty] \setuphead[chapter][header=henning] \starttext \dor

Re: [NTG-context] show header text only on first page of chapter

2018-02-20 Thread Henning Hraban Ramm
Hi Wolfgang, thank you very much - does that mean it’s not possible to use the part title? Greetlings, Hraban --- http://www.fiee.net http://wiki.contextgarden.net GPG Key ID 1C9B22FD Am 2018-02-20 um 17:17 schrieb Wolfgang Schuster : > \definetext[henning][header][chapter] > > \

Re: [NTG-context] show header text only on first page of chapter

2018-02-20 Thread Wolfgang Schuster
\definetext[henning][header][chapter] \setuphead[chapter][header=henning] \starttext \dorecurse{5} {\expanded{\chapter{Kapitel \recurselevel}} \dorecurse{10}{\input{lorem}\par}} \stoptext Wolfgang Henning Hraban Ramm <mailto:te...@fiee.net> 20. Februar 2018 um 15:30 I tried som

Re: [NTG-context] interaction in a chapter footer

2016-03-03 Thread Hans Hagen
On 3/3/2016 11:45 PM, Alan BRASLAU wrote: On Thu, 3 Mar 2016 22:42:22 +0100 Hans Hagen wrote: \startsetups chapter:footer {\goto{\CONTEXT\ garden}[url(http://http://wiki.contextgarden.net)]} \stopsetups \definetext [chapterfooter] [footer] [\setups{chapter:footer}] Thanks

Re: [NTG-context] interaction in a chapter footer

2016-03-03 Thread Alan BRASLAU
On Thu, 3 Mar 2016 22:42:22 +0100 Hans Hagen wrote: > \startsetups chapter:footer > {\goto{\CONTEXT\ > garden}[url(http://http://wiki.contextgarden.net)]} \stopsetups > > \definetext >[chapterfooter] >[footer] >[\setups{chapter:footer}] Thanks, I

Re: [NTG-context] interaction in a chapter footer

2016-03-03 Thread Hans Hagen
On 3/3/2016 10:12 PM, Alan BRASLAU wrote: Hello, Is it possible (without being too cleaver) to include interaction (a hyperlink) in a chapter footer? Alan M(non-)WE: \setupinteraction [state=start] \definetext [chapterfooter] [footer] [{\goto{\CONTEXT\ garden}[url(http://http

Re: [NTG-context] interaction in a chapter footer

2016-03-03 Thread Hans Hagen
On 3/3/2016 10:12 PM, Alan BRASLAU wrote: Hello, Is it possible (without being too cleaver) to include interaction (a hyperlink) in a chapter footer? Alan M(non-)WE: \setupinteraction [state=start] \definetext [chapterfooter] [footer] [{\goto{\CONTEXT\ garden}[url(http://http

[NTG-context] interaction in a chapter footer

2016-03-03 Thread Alan BRASLAU
Hello, Is it possible (without being too cleaver) to include interaction (a hyperlink) in a chapter footer? Alan M(non-)WE: \setupinteraction [state=start] \definetext [chapterfooter] [footer] [{\goto{\CONTEXT\ garden}[url(http://http://wiki.contextgarden.net)]}] \setuphead [chapter

Re: [NTG-context] only page number in the header of the chapter title page

2015-11-10 Thread massifr
36 - Chapter title > > | > > > > Or (odd page): > > > > --+ > > > > Chapter title - 35 | > > | > > > > Thanks, Massi > > > > > You can use the \definetext command to set a different header (or > footer) f

Re: [NTG-context] only page number in the header of the chapter title page

2015-11-10 Thread Wolfgang Schuster
title | Or (odd page): --+ Chapter title - 35 | | Thanks, Massi You can use the \definetext command to set a different header (or footer) for chapter pages. \setuppagenumbering[alternative=doublesided,location=] \setupheadertexts [][{\getmarking[c

Re: [NTG-context] chapter title does not show on header.

2014-06-29 Thread Wolfgang Schuster
genumber}] > [{page \pagenumber}] > [{\Titlea}] > \setuppagenumbering[location=] > ... > \setuppagenumbering[command=\bf] Use the style key for bold page numbers. > \definetext[chapter][footer][pagenumber] > \setupmakeup[standard][page=yes, doublesided=no] > \defi

[NTG-context] chapter title does not show on header.

2014-06-29 Thread john Culleton
d=\bf] \definetext[chapter][footer][pagenumber] \setupmakeup[standard][page=yes, doublesided=no] \definepagebreak [mychapterpagebreak] [yes,header,right] ... \chapter{Summary} etc. -- John Culleton Wexford Press Free list of books for self-publishers: http://wexfordpress.net/shortlist.html PDF e-book: &q

Re: [NTG-context] footer page number on first page of section: doesn't appear

2013-12-05 Thread Lars Huttar
t; setting you mentioned (which we don't want, >> because we handle page breaks with some separate special logic); but it >> also apparently includes some unknown magic that enables page numbers in >> footers. >> >> Then we add "page=no" to th

Re: [NTG-context] footer page number on first page of section: doesn't appear

2013-12-04 Thread Aditya Mahajan
on the first page only: \definetext[footerpagenumber][footer][pagenumber] \setuphead[section][header=empty,footer=footerpagenumber,number=no,align={middle,nothyphenated,verytolerant},style=ssbf] \starttext \section{My Own Section} \dorecurse{15}{ \input knuth \par } \stoptext Unfortunately

Re: [NTG-context] footer page number on first page of section: doesn't appear

2013-12-04 Thread Lars Huttar
t;> footer on the first page only: >> >> \definetext[footerpagenumber][footer][pagenumber] >> >> \setuphead[section][header=empty,footer=footerpagenumber,number=no,align={middle,nothyphenated,verytolerant},style=ssbf] >> >> \starttext >> >>

Re: [NTG-context] footer page number on first page of section: doesn't appear

2013-12-04 Thread Wolfgang Schuster
Am 04.12.2013 um 18:37 schrieb Lars Huttar : > Hi, > Based on our reading of > http://wiki.contextgarden.net/FO_Page_Layout#First_Page > we have the following MWE, which we want to put a page number in the > footer on the first page only: > > \definetext[footerpagenumbe

[NTG-context] footer page number on first page of section: doesn't appear

2013-12-04 Thread Lars Huttar
Hi, Based on our reading of http://wiki.contextgarden.net/FO_Page_Layout#First_Page we have the following MWE, which we want to put a page number in the footer on the first page only: \definetext[footerpagenumber][footer][pagenumber] \setuphead[section][header=empty,footer=footerpagenumber

Re: [NTG-context] Set layout for the first page of Chapters

2013-05-09 Thread Wolfgang Schuster
global layout. > > If I want to achieve the layouts like this book, do I need the two layouts in > my codes? In my view, I need them, but I don't know if there is a better > method. \definetext [chapter]% name, used for \setuphead[...][footer=] [footer] % l

[NTG-context] Draw a line below the header texts

2013-04-27 Thread Tim Li
ow to deal with) \setuplayout [header=\lineheight, headerdistance=\lineheight, footer=\lineheight, footerdistance=\lineheight] \setuppagenumbering [location=, alternative=doublesided] \definepagebreak [chapterpagebreak] [yes,header,footer,right] \definetext [chapterstart] [footer

Re: [NTG-context] How to know I am in frontmatter or bodymatter?

2013-04-26 Thread Hans Hagen
chapter title is located. \definetext [chapterstart] [footer] [{\hfill\bf\pagenumber\hfill}]\setuphead [chapter] [footer=chapterstart] if this book consists of a frontmatter and a backmatter, I have to set the text for the titles in frontmatter and chapters in bodymatter like this, for roman

[NTG-context] How to know I am in frontmatter or bodymatter?

2013-04-26 Thread Tim Li
Sometimes, it is convenient if I know I am in frontmatter or bodymatter. when desinging a book, we make a new chapter open at a right page and design the header to show the chapter title and pagenumber. We have to set the pagenumber at the page where a chapter title is located. \definetext

Re: [NTG-context] Changing page number location for chapters

2012-08-10 Thread john Culleton
On Fri, 10 Aug 2012 20:47:33 +0200 Willi Egger wrote: > Hi John, > > > from the manual "cont-enp.pdf" p 81: > > \definetext[chapter][footer][pagenumber] > with: > \setuphead[chapter][header=high,footer=chapter,page=right] > > Hope this still works! >

Re: [NTG-context] Changing page number location for chapters

2012-08-10 Thread Willi Egger
Hi John, from the manual "cont-enp.pdf" p 81: \definetext[chapter][footer][pagenumber] with: \setuphead[chapter][header=high,footer=chapter,page=right] Hope this still works! Willi On Aug 10, 2012, at 8:34 PM, john Culleton wrote: > I have set up page numbering in th

Re: [NTG-context] \definetext problem?

2012-07-17 Thread Alan Bowen
My apologies. XCode slipped (or left in) some +'s and -'s that I failed to catch. Anyway, it is working now. Many thanks! Alan On Tue, Jul 17, 2012 at 12:59 PM, Wolfgang Schuster < schuster.wolfg...@gmail.com> wrote: > > Am 17.07.2012 um 18:55 schrieb Alan Bowen: > > > Thanks, Wolfgang. I rep

Re: [NTG-context] \definetext problem?

2012-07-17 Thread Wolfgang Schuster
Am 17.07.2012 um 18:55 schrieb Alan Bowen: > Thanks, Wolfgang. I replaced the lines in strc-sec.mkiv with the one that you > supplied and regenerated the formats. Now, I get the error message I guess you did something wrong when you changed the command, the new definition of the command should

Re: [NTG-context] \definetext problem?

2012-07-17 Thread Alan Bowen
Title][title] 2 \setuphead[BookTitle][header=high,footer=BookTitlePage] 3 \definetext[BookTitlePage][footer] 4 [\vbox{\tfx 5 \centerline{Some text}\par 6 } 7 ] 8 9 10 \starttext 11 >> \BookTitle{Title} 12 \input knuth\footnote{\inp

Re: [NTG-context] \definetext problem?

2012-07-17 Thread Wolfgang Schuster
ead[BookTitle][header=high,footer=BookTitlePage] > \definetext[BookTitlePage][footer] > [\vbox{\tfx > \centerline{Some text}\par > } > ] > > > \starttex

Re: [NTG-context] beta

2012-07-09 Thread Hans Hagen
: ··· \setuphead [section] [ page=yes, header=sectiontext, ] \definetext [sectiontext] [header] [foo] [bar] \starttext \startsection[title=Foo] \input dawkins \stopsection \stoptext \endinput ··· But

Re: [NTG-context] beta

2012-07-09 Thread Philipp Gesang
Minimal example: ··· \setuphead [section] [ page=yes, header=sectiontext, ] \definetext [sectiontext] [header] [foo] [bar] \starttext \startsection[title=Foo] \input dawkins \stopsection \stoptext \endinput ··· But I can’t tell if this

Re: [NTG-context] latest beta problem?

2012-07-01 Thread Alan Bowen
Wolfgang, Hans—many thanks. Alan On Sun, Jul 1, 2012 at 9:53 AM, Hans Hagen wrote: > On 1-7-2012 09:47, Wolfgang Schuster wrote: > >> >> Am 30.06.2012 um 22:34 schrieb Alan Bowen: >> >> A file that used to process without complaint now fails because >

Re: [NTG-context] latest beta problem?

2012-07-01 Thread Hans Hagen
On 1-7-2012 09:47, Wolfgang Schuster wrote: Am 30.06.2012 um 22:34 schrieb Alan Bowen: A file that used to process without complaint now fails because \definetext is not recognized . Do I need to revise my macros or is there a problem in the latest beta? It’s a bug regarding commands with

Re: [NTG-context] latest beta problem?

2012-07-01 Thread Wolfgang Schuster
Am 30.06.2012 um 22:34 schrieb Alan Bowen: > A file that used to process without complaint now fails because \definetext > is not recognized . > Do I need to revise my macros or is there a problem in the latest beta? It’s a bug regarding commands with seven arguments. syst

[NTG-context] Custom chapter footer

2012-01-01 Thread Andreas Harder
Hi Hans, the following used to work. Has the syntax changed? \definetext[chapter][footer][pagenumber] \setuphead [chapter][footer=chapter] \starttext \chapter{test} \stoptext ! Undefined control sequence. Regards Andreas

[NTG-context] Header bottomframe on first page of document

2011-12-21 Thread Peter Park Nelson
ader. Some documents will need this, and some will not. So, if the extra banner is needed, I will put it in the first page header, and if not I will leave that header blank. The unique header will be set using: \definetext[firsthead][header][First Page Header Banner Text] % or leave it blank...

[NTG-context] change affecting MPgraphic?

2010-09-24 Thread Marko Schütz Schmuck
[Solutions] [] \stopmode \setupfootertexts [pagenumber] \setupfootertexts [Assigned: \expanded{\date[\Assignassigned]}] [Due: \expanded{\date[\Assigndue]}] \definetext [title] [footer] [pagenumber] \setuphead [title] [header=high,footer=] \setuplabeltext [problem=Problem,solution=Solution

Re: [NTG-context] varying headers, footers, page numbers

2010-08-24 Thread Michael Goerz
es the page number > disappear as well? And, of course, the main question: How do I get the page > number centered in the bottom of that page? Again, I feel if there was some > way > to define different configurations for the header/footer/pagenumbers under > different labels, e.g. a l

[NTG-context] Page headers & drop capitals not working but pagenumbering is

2010-04-20 Thread Tom
pagenumber on bottom of first page of chapter \definetext[chapter][footer][pagenumber] \setuphead[chapter][header=high,footer=chapter,page=mychapterpagebreak] \setuphead[title][header=high,footer=chapter,page=mychapterpagebreak] %turn off putting naked page numbers on pages \setuppagenumbering

[NTG-context] (no subject)

2010-04-18 Thread Tom
=off,align=middle,width=broad] {\switchtobodyfont[15pt] #1\\\blank[small] #2}} %eliminate headers on blank page at end of chapter \definepagebreak[mychapterpagebreak][yes,header,next] %put pagenumber on bottom of first page of chapter \definetext[chapter][footer][pagenumber] \setuphead[chapt

Re: [NTG-context] First page of chapter

2010-02-02 Thread Tom
this: \def\ChapterTop#1#2% bottom-aligned   {\framed[width=broad,offset=overlay]     {\framed[width=2in,height=2in]{GRAPHIC}\hfill      \framed[align=right]{#1\blank[2*big]#2}}} \definetext[ChapterFoot][footer][pagenumber] \setuphead   [chapter]   [command=\ChapterTop,    header=high,    f

Re: [NTG-context] First page of chapter

2010-02-02 Thread Andreas Harder
rlay] {\framed[width=2in,height=2in]{GRAPHIC}\hfill \framed[align=right]{#1\blank[2*big]#2}}} \definetext[ChapterFoot][footer][pagenumber] \setuphead [chapter] [command=\ChapterTop, header=high, footer=ChapterFoot, numberstyle=\ssbid, textstyle=\ssbfd] \starttext \showframe \

Re: [NTG-context] Call for papers (pracjourn & mkiv)

2009-12-15 Thread Aditya Mahajan
,/,dd]} {Article revision\space \expanded{\date[\getvariable{pracjourn}{revision}][year,/,mm,/,dd]}} \endgraf} \stoplocalsetups \startlocalsetups [titlefooter] \framed[frame=off,width=\textwidth,align=flushright,location=low] {\small\setupinterlinespace \getvariable{pracjourn}{copyrig

Re: [NTG-context] How to show footer only with chapter head

2009-11-25 Thread Willi Egger
phead[chapter][header=empty,footer=empty] However if we use it in this way we loose the pagenumber. A more adequate solution is: \definetext[chapter][footer][pagenumber] with: \setuphead[chapter][header=high,footer=chapter,page=right]" Kind regards Willi On Nov 24, 2009, at 9:09 PM, Elli

Re: [NTG-context] chapter page question

2009-02-15 Thread Alan Stone
On Sun, Feb 15, 2009 at 11:04 AM, Wolfgang Schuster < schuster.wolfg...@googlemail.com> wrote: > > You can format the text in \definetext. > > \startsetups header:chapter:middle > \startcolor[red] > \it Chapter page > \stopcolor > \stopsetups > >

Re: [NTG-context] chapter page question

2009-02-15 Thread Wolfgang Schuster
Am 14.02.2009 um 20:26 schrieb Alan Stone: I also would like to be able to choose a different font and/or fontsize (\switchtobodyfont[...]), style and/or color (\color[...]) for chapter pages' header area (margin/edge/text) and non-chapter pages. You can format the text in \defin

Re: [NTG-context] chapter page question

2009-02-14 Thread Alan Stone
; >>> >>> Why and for what do you need this information? >>> >> >> To put different text in the margin/edge top/header/... whether a page is >> a >> chapter page or not. >> > > \setupheadertexts[\doifoddpageelse{right page}{left page}

Re: [NTG-context] chapter page question

2009-02-14 Thread Alan Stone
=footer] \setupheadertexts[\doifoddpageelse{right page}{left page}] \definetext[chapter][header][chapter page] \def\myHeader{\doifmodelse{a}{chapter}{high}} %\def\myHeader{\iftuut chapter\else high\fi} \setuphead [chapter] % [header=chapter] % [header=high] [header=\myHeader] \starttext

Re: [NTG-context] chapter page question

2009-02-14 Thread Alan Stone
So it seems, although there's also \setuptop and \setupbottom, that definetext doesn't accept top and bottom. Any idea why that's so (samewise for setuphead which doesn't accept top and bottom arguments either, according to the manual) ? Alan On Sat, Feb 14, 2009 at 3:47 P

Re: [NTG-context] chapter page question

2009-02-14 Thread Wolfgang Schuster
Am 14.02.2009 um 15:33 schrieb Alan Stone: Ahaaa... thanks for clearing up the mist. So that makes... \definetext[text for header/text/footer area][header/text/footer][edge/margin/text][left][right] What are arguments 6 and 7 for ? To set different texts for left pages. Seldom needed

Re: [NTG-context] chapter page question

2009-02-14 Thread Alan Stone
Ahaaa... thanks for clearing up the mist. So that makes... \definetext[text for header/text/footer area][header/text/footer][edge/margin/text][left][right] What are arguments 6 and 7 for ? Alan On Sat, Feb 14, 2009 at 2:40 PM, Wolfgang Schuster < schuster.wolfg...@googlemail.com>

Re: [NTG-context] chapter page question

2009-02-14 Thread Wolfgang Schuster
Am 14.02.2009 um 14:14 schrieb Alan Stone: \setupheadertexts[\doifoddpageelse{right page}{left page}] \definetext[chapter][header][chapter page] % The \definetext command works like \setup(header/footer/...)texts and % has 3–7 arguments, the first argument is a keyword (you can use

Re: [NTG-context] chapter page question

2009-02-14 Thread Alan Stone
it on&offline. >>>> >>> >>> Why and for what do you need this information? >>> >> >> To put different text in the margin/edge top/header/... whether a page is >> a >> chapter page or not. >> > > \setupheadertexts[\doi

Re: [NTG-context] chapter page question

2009-02-14 Thread Wolfgang Schuster
hapter page or not. \setupheadertexts[\doifoddpageelse{right page}{left page}] \definetext[chapter][header][chapter page] % The \definetext command works like \setup(header/footer/...)texts and % has 3–7 arguments, the first argument is a keyword (you can use whatever % you want, the second is t

Re: [NTG-context] columnset running into footer when using \setupheader[state=high]

2008-11-26 Thread Jelle Huisman
Jelle Huisman wrote: > % columnset running into footer area > \definelayout[1][] > \setupheader[state=high] > \definetext[footerpagenumber][footer][pagenumber] > \setuphead[chapter][page=yes,header=high,footer=footerpagenumber,number=no,align=middle] > \definecolumnset[columnl

[NTG-context] columnset running into footer when using \setupheader[state=high]

2008-11-25 Thread Jelle Huisman
=high] \definetext[footerpagenumber][footer][pagenumber] \setuphead[chapter][page=yes,header=high,footer=footerpagenumber,number=no,align=middle] \definecolumnset[columnl][n=2] \showgrid \showframe \starttext \chapter{One} \startcolumnset[column] \dorecurse{10}{\input knuth} \stopcolumnset \stoptext Looking i

Re: [NTG-context] picture before \chapter breaking \header \footer setup

2008-10-23 Thread Aditya Mahajan
other mechanism (define a command, pass two arguments trough one argument, etc). Aditya > % sample > \definetext[mychapter][footer][pagenumber] > \setuphead[chapter][header=high,footer=mychapter] > \showframe > \starttext > > %\startcombination[1*1]{\externalfigure}{ % uncomment

[NTG-context] picture before \chapter breaking \header \footer setup

2008-10-23 Thread Jelle Huisman
that to happen). See sample code: % sample \definetext[mychapter][footer][pagenumber] \setuphead[chapter][header=high,footer=mychapter] \showframe \starttext %\startcombination[1*1]{\externalfigure}{ % uncomment to see problem \chapter{first} %}\stopcombination % uncomment to see problem

[NTG-context] error message

2008-09-03 Thread Alan Bowen
hat this error message means and where I should look to solve the problem? I do have \definetext[ArticleTitlePage][footer] [\tfx\AuthorName\hfill\currentdate\hfill{\tf 1}] in my environment file, but this seems to be OK. Many thanks in adva

Re: [NTG-context] headers and pagenumbering

2008-05-02 Thread Wolfgang Schuster
page number? (Probably simple?) You could define individual headers for part/chapter/... pages with \definetext, I will show here Hans example from page-txt. The command has nearly the same syntax as \setupheadertexts and \setupfootertexts but the first argument is a identifier you use in \setupheader

Re: [NTG-context] ConTeXt-ifying Kile

2008-01-02 Thread Matija Šuklje
e][settings] \definesection[name] \definesectionblock[name][settings] \definesorting[singular][plural][command] \definestartstop[name][commands] \definesubfield[name][name][names] \definesymbol[name][text] \definesynonyms[singular][plural][command][command] \definetabletemplate[n

Re: [NTG-context] TOC: page headers

2007-11-28 Thread Jeff Smith
ring > [state=start, >location=, % already set with \setupheadertexts >way=bytext, >partnumber=no, >conversion=numbers] % default > > \definetext[chapter][footer][pagenumber] > \setuphead[chapter][header=high,footer=chapter] > > \setuphead > [part] >

Re: [NTG-context] TOC: page headers

2007-11-15 Thread Wolfgang Schuster
tter}] \setupsectionblock [bodypart] [page=no, before=\setups{header:bodymatter}] \setupsectionblock[appendix] [page=no] \setupsectionblock[backpart] [page=no] \setuppagenumbering [state=start, location=, % already set with \setupheadertexts way=bytext, partnumber=no, conversion=numbe

[NTG-context] Problem with setuphead and textstyle or numberstyle

2007-05-27 Thread Tim Stone
[SansText sa 5]}] %% This isn't working - FIX ME \definetext [chapter] [header] [\setups{chapter}] [] \startsetups chapter \setups[chapter:title] \setups[chapter:number] \setups[chapter:finish] \stopsetups \definelayer [

Re: [NTG-context] Header height & multipage Text.

2007-05-25 Thread Hans Hagen
oup \stopsetups \definelayout [1] [header=6.16cm] \definelayout [2] [header=3.6cm] \definetext [1] [header] [\setups{firstpage}][] [][\setups{allpage}] \setupheadertexts [\setups{allpage}][] [][\setups{allpage}] \setupheader[state=1] \showframe \startte

[NTG-context] Underline the headertext with a thinrule

2007-05-13 Thread Bert Trüger
=bold] \definetext[chapter][footer][pagenumber] \setuphead[chapter][header=high,footer=chapter,page=yes] \setuphead[blank][state=empty] This way I get a \thinrule starting in the left margin in textwidth under an odd page. I would like the headertext with chapter and pagenumber underlined with

Re: [NTG-context] Some questions about context

2007-03-05 Thread Xan
>[EMAIL PROTECTED] >[EMAIL PROTECTED] >\doifsomething\ascii > {\doattributes{#1#2}#3#4% > {\placetextlinestrut{#1}% here ! > \doifelsemarking\ascii >{\dolimitatetexts{#1#2#5}{\getmarking[\ascii][\v!first]}} >{\do

Re: [NTG-context] Some questions about context

2007-03-05 Thread Wolfgang Schuster
rguments %D \macros{presettext} %D %D The next example demonstrates how we can use this %D mechanism to provide page (event) dependent text lines. %D %D \starttyping %D \presettext[chapter][footer][middle=pagenumber] %D \setuphead[chapter][header=high,footer=chapter] %D \setheadertexts[middle=

Re: [NTG-context] Suppressing printing of chapter head.

2007-02-14 Thread Wolfgang Schuster
reate special ones for these pages you can use (taken from page-txt). \definetext[chapter][footer][pagenumber] \setuphead[chapter][header=high,footer=chapter] Wolfgang > > -- > John Culleton > Able Indexing and Typesetting > Precision typesetting (tm) at reasonabl

[NTG-context] Page number on 'chapter' pages

2007-02-01 Thread Confused Scientist
Below are the definitions in my environment. Any ideas on how to add page numbers to these pages? Thanks, Dave %%% cut \setuppagenumbering[ alternative=doublesided, style={\sc}, location={footer, marginedge}, partnumber=no, way=bytext] %%% Formal title, Chapter #: Title \definetext[chapt

[NTG-context] Empty last page, broken markings ??

2006-08-23 Thread WN
page headers/footers for the last couple of pages are not working anymore. I use the following setup % reset footer texts \setupfootertexts[] % % First page of chapter has a footer, no header % \definetext[chapterfooter][footer][{{\blue\pagenumber} \hfill Hoofdstuk \getmarking[chapternumber

[NTG-context] Extra pages

2006-08-05 Thread David Arnold
All, Can anyone explain why the output of this source has two blank pages at the end? \setupwhitespace[medium] \setupindenting[medium,yes] \setupcolors[state=start] \setuppagenumbering [state=start, alternative=doublesided, location=, way=bytext] \definetext[chapter][footer

[NTG-context] How to get rid of header

2006-08-05 Thread David Arnold
All, how do I get rid of the header on the second page of output? \setupwhitespace[medium] \setupindenting[medium,yes] \setupcolors[state=start] \setuppagenumbering [state=start, alternative=doublesided, location=, way=bytext] \definetext[chapter][footer][pagenumber] \setuphead

Re: [NTG-context] Conflict with chapter definition and header

2006-08-03 Thread Confused Scientist
=25mm,   % the space for right margin notes   width=fit,  height=fit]\setuplayout  [location=doublesided]  % double-sided pages\setupheader[style={\it}]\setupheadertexts  []    % even left  [section] % even right   [chapter] % odd left  []    % odd right\definetext[chapter][f

[NTG-context] Conflict with chapter definition and header

2006-07-19 Thread Confused Scientist
    rightmargin=25mm,   % the space for right margin notes  width=fit,  height=fit]\setuplayout  [location=doublesided]  % double-sided pages\setupheader[style={\it}] \setupheadertexts  []    % even left  [section] % even right  [chapter] % odd left  []    % odd right\def

[NTG-context] Re: blank chapter last page

2005-12-20 Thread Patrick Gundlach
er's opening page. > > % Define heads for chapter opening pages > \definetext[chapterstart][footer][pagenumber] > \setuphead[chapter][header=empty,footer=chapterstart] > > I would like those inserted extra pages to be completely blank. Any > suggestions how I can disable th

[NTG-context] blank chapter last page

2005-12-20 Thread M.guravage
heads for chapter opening pages \definetext[chapterstart][footer][pagenumber] \setuphead[chapter][header=empty,footer=chapterstart] I would like those inserted extra pages to be completely blank. Any suggestions how I can disable the running headers for those pages? Thanks. Cheers, Michael A

Re: [NTG-context] creating horizontal space

2005-03-07 Thread h h extern
Paul Tremblay wrote: I am trying to create horizontal space in a footer and am having not luck. Here is what I have tried; \definetext[chapStart8Footer][footer][\vbox{ {\hspace{2em} skip} space Interestingly, the \hfill command works here, but \hspace doesn't. \definehspace[mine

Re: [NTG-context] creating horizontal space

2005-03-06 Thread Paul Tremblay
ting horizontal space > > I am trying to create horizontal space in a footer and am having not > luck. Here is what I have tried; > > > \definetext[chapStart8Footer][footer][\vbox{ {\hspace{2em} skip} space > > Interestingly, the \hfill comma

[NTG-context] creating horizontal space

2005-03-06 Thread Paul Tremblay
I am trying to create horizontal space in a footer and am having not luck. Here is what I have tried; \definetext[chapStart8Footer][footer][\vbox{ {\hspace{2em} skip} space Interestingly, the \hfill command works here, but \hspace doesn't. Paul -- *Paul Tre

Re: [NTG-context] \definelayout question

2005-03-03 Thread Hans Hagen
first page would not get formatted. Is the ConTeXt code right below? Also, is there any way to change the layout for the first page? \definelayout[first] [ \definelayout[1][...] \definetext[partStart1][header][\vbox{Chapter 1 \vskip5pt Author}] \setuphead[part][header=partStart1] for consistency

[NTG-context] \definelayout question

2005-03-02 Thread Paul Tremblay
% the height of the body text ] \setuplayout % the header for the first page of part 1 \definetext[partStart1][header][\vbox{Chapter 1 \vskip5pt Author}] \setuphead[part][header=partStart1] -- *Paul Tremblay * [EMAIL PROTECTED

  1   2   >