[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
quot; 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 A

[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
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? >> >> \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
an 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-25 Thread Gerben Wierda via ntg-context
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
With \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
. 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] Chapter in header, but not on title page

2020-02-16 Thread Henning Hraban Ramm
age. >> 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
t; Henning Hraban Ramm 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]

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 <schuster.wolfg...@gmail.com>: > \definetext[hennin

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 <pra...@wxs.nl> wrote: \startsetups chapter:footer {\goto{\CONTEXT\ garden}[url(http://http://wiki.contextgarden.net)]} \stopsetups \definetext [chapterfooter] [footer] [\

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 <pra...@wxs.nl> wrote: > \startsetups chapter:footer > {\goto{\CONTEXT\ > garden}[url(http://http://wiki.contextgarden.net)]} \stopsetups > > \definetext >[chapterfooter] >[footer] >[\setups{chapte

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 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] only page number in the header of the chapter title page

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

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

2014-06-29 Thread john Culleton
] \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: Create

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

2013-12-05 Thread Lars Huttar
some unknown magic that enables page numbers in footers. Then we add page=no to the \setuphead[section] command, to override the inherited page=yes. Apparently, it works: \definetext[footerpagenumber][footer][pagenumber] \definehead[section][chapter] \setuphead[section][page=no,header

[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] 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 lars_hut...@sil.org: 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

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

2013-12-04 Thread Lars Huttar
On Dec 4, 2013 12:16:12 pm Wolfgang Schuster wrote: On 12/4/2013 12:37 PM, Lars Huttar wrote: 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

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] Set layout for the first page of Chapters

2013-05-09 Thread Wolfgang Schuster
. 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=name] [footer] % location of the text, can be “header” or “footer

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

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

[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] How to know I am in frontmatter or bodymatter?

2013-04-26 Thread Hans Hagen
a 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

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 the header thus

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 cont...@boede.nl 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! Willi Yes!! Thanks! I used header

Re: [NTG-context] \definetext problem?

2012-07-17 Thread Wolfgang Schuster
,footer=BookTitlePage] \definetext[BookTitlePage][footer] [\vbox{\tfx \centerline{Some text}\par } ] \starttext \BookTitle{Title} \input knuth\footnote{\input ward

Re: [NTG-context] \definetext problem?

2012-07-17 Thread Alan Bowen
=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{\input ward} 13 \stoptext 14 15 \strc_sectioning_handle ...ioning_after_yes \else

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

Re: [NTG-context] beta

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

Re: [NTG-context] beta

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

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-aux.mkiv: % missing

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

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 pra...@wxs.nl 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 \definetext is not recognized . Do I

[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
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... \setuphead[title

[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
then make sense to do something like 'footer=chapterfooter', instead of 'footer=none'. But I guess that's not the way it works -- so how *does* it work? Digging deeper in the reference manual, it seems that \definetext[chapter][footer][pagenumber] together with \setuphead[chapter

[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
=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[chapter][header

Re: [NTG-context] First page of chapter

2010-02-02 Thread Andreas Harder
}}} \definetext[ChapterFoot][footer][pagenumber] \setuphead [chapter] [command=\ChapterTop, header=high, footer=ChapterFoot, numberstyle=\ssbid, textstyle=\ssbfd] \starttext \showframe \dorecurse{3}{\chapter{First Chapter}\dorecurse{5}{\input tufte}} \stoptext Greetings

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,    footer

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

2009-12-15 Thread Aditya Mahajan
\definetext [titleheader] [header] [\setups{titleheader}][] \definetext [titlefooter] [footer] [\setups{titlefooter}] \setuphead [title] [header=titleheader,footer=titlefooter] %D For rest of the pages, page number is printed on the middle of the footer. \setuppagenumbering [location

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

2009-11-25 Thread Willi Egger
][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, Elliot Clifton

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

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 \definetext[chapter][header][\setups{chapter:header:middle

Re: [NTG-context] chapter page question

2009-02-14 Thread Wolfgang Schuster
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 the location

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
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 wrote: Am

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 PM, Wolfgang Schuster

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
top/header/... whether a page is a chapter 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

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][n=2] \showgrid

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

2008-11-25 Thread Jelle Huisman
] \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

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

2008-10-23 Thread Jelle Huisman
for 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

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

2008-10-23 Thread Aditya Mahajan
arguments trough one argument, etc). Aditya % 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

[NTG-context] error message

2008-09-03 Thread Alan Bowen
success. Can anyone tell me what 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 advance

Re: [NTG-context] headers and pagenumbering

2008-05-02 Thread Wolfgang Schuster
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 for the header or footer key and the second argument is for the position of the text. \starttyping

Re: [NTG-context] ConTeXt-ifying Kile

2008-01-02 Thread Matija Šuklje
][command] \definestartstop[name][commands] \definesubfield[name][name][names] \definesymbol[name][text] \definesynonyms[singular][plural][command][command] \definetabletemplate[name][text][text][text] \definetabulate[name][name][text] \definetext[name][position][text][text][text] # \definetextbackground

Re: [NTG-context] TOC: page headers

2007-11-28 Thread Jeff Smith
}] \setupsectionblock[appendix] [page=no] \setupsectionblock[backpart] [page=no] \setuppagenumbering [state=start, location=, % already set with \setupheadertexts way=bytext, partnumber=no, conversion=numbers] % default \definetext[chapter][footer][pagenumber] \setuphead

Re: [NTG-context] TOC: page headers

2007-11-15 Thread Wolfgang Schuster
] [page=no] \setupsectionblock[backpart] [page=no] \setuppagenumbering [state=start, location=, % already set with \setupheadertexts way=bytext, partnumber=no, conversion=numbers] % default \definetext[chapter][footer][pagenumber] \setuphead[chapter][header=high,footer=chapter

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

2007-05-27 Thread Tim Stone
\definetext [chapter] [header] [\setups{chapter}] [] \startsetups chapter \setups[chapter:title] \setups[chapter:number] \setups[chapter:finish] \stopsetups \definelayer [chapter] [width=\dimexpr(\makeupwidth+\cutspace), height

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

2007-05-25 Thread Hans Hagen
] [header=3.6cm] \definetext [1] [header] [\setups{firstpage}][] [][\setups{allpage}] \setupheadertexts [\setups{allpage}][] [][\setups{allpage}] \setupheader[state=1] \showframe \starttext \dorecurse{20}{\input tufte \relax} \stoptext

[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

Re: [NTG-context] Some questions about context

2007-03-05 Thread Wolfgang Schuster
}{\input tufte \relax} %D \chapter{tweede} \dorecurse{20}{\input tufte \relax} %D \stoptyping %\def\definetext % {\doseventupleempty\dodefinetext} \def\presettext {\doquintupleempty\dopresettext} %\def\dodefinetext[#1][#2][#3][#4][#5][#6][#7]% % {\ifseventhargument % \setvalue{\??tk#2#3#1

Re: [NTG-context] Some questions about context

2007-03-05 Thread Xan
{eerste} \dorecurse{20}{\input tufte \relax} %D \chapter{tweede} \dorecurse{20}{\input tufte \relax} %D \stoptyping %\def\definetext % {\doseventupleempty\dodefinetext} \def\presettext {\doquintupleempty\dopresettext} %\def\dodefinetext[#1][#2][#3][#4][#5][#6][#7]% % {\ifseventhargument

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

2007-02-01 Thread Confused Scientist
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[chapter][footer

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

2006-08-23 Thread WN
in the 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-06 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
\setupheader[style={\it}]\setupheadertexts [] % even left [section] % even right [chapter] % odd left [] % odd right\definetext[chapter][footer][pagenumber]\setupheadtext [chapter=Chapter]\setuphead [chapter] [command=\MyChapterText, style={\sc\tfc}, placehead=yes, color=black, number=yes, continue

[NTG-context] Conflict with chapter definition and header

2006-07-19 Thread Confused Scientist
[chapter] % odd left [] % odd right\definetext[chapter][footer][pagenumber]\setupheadtext [chapter=Chapter] \setuphead [chapter] [command=\MyChapterText, style={\sc\tfc}, placehead=yes, color=black, number=yes, continue=no, page=, header=high, footer=chapter, distance=0pt, before=\setups

[NTG-context] blank chapter last page

2005-12-20 Thread M.guravage
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. Guravage

[NTG-context] Re: blank chapter last page

2005-12-20 Thread Patrick Gundlach
. % 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 the running headers for those pages? Thanks. Perhaps

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

Re: [NTG-context] creating horizontal space

2005-03-06 Thread Paul Tremblay
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 command works here, but \hspace doesn't. Paul

Re: [NTG-context] \definelayout question

2005-03-03 Thread Hans Hagen
, or the 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

Re: [NTG-context] customizing headers/footers first page

2005-02-25 Thread Hans Hagen
Paul Tremblay wrote: On Thu, Feb 24, 2005 at 11:48:32AM -0500, Steve Grathwohl wrote: How about \definetext[chapterstart][header][First Header] \setuphead[chapter][header=chapterstart] for starters? Steve Thanks. Are there any other location keywords besides chapterstart? %??? \definetext

Re: [NTG-context] customizing headers/footers first page

2005-02-24 Thread Steve Grathwohl
How about \definetext[chapterstart][header][First Header] \setuphead[chapter][header=chapterstart] for starters? Steve On Thu, 24 Feb 2005 11:33:11 -0500, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I poured over the documentation last night, and I want to make sure I reached the right

Re: [NTG-context] customizing headers/footers first page

2005-02-24 Thread Paul Tremblay
On Thu, Feb 24, 2005 at 11:48:32AM -0500, Steve Grathwohl wrote: How about \definetext[chapterstart][header][First Header] \setuphead[chapter][header=chapterstart] for starters? Steve Thanks. Are there any other location keywords besides chapterstart? %??? \definetext

[NTG-context] simple question: newline in chapter header?

2004-11-05 Thread Miek Gieben
Hello, I'm trying to switch from latex to context and I'm trying to port the book class from latex to a context document. Right now I'm working on the chapter def and I have: \definetext[chapter][footer][pagenumber] \setuphead[chapter][ header=empty, footer=chapter, textstyle=bold, numberstyle

Re: [NTG-context] simple question: newline in chapter header?

2004-11-05 Thread Hans Hagen
Miek Gieben wrote: Hello, I'm trying to switch from latex to context and I'm trying to port the book class from latex to a context document. Right now I'm working on the chapter def and I have: \definetext[chapter][footer][pagenumber] \setuphead[chapter][ header=empty, footer=chapter, textstyle

Re: [NTG-context] Disappearing headers

2004-07-28 Thread Hans Hagen
toward the outside edge of the page). But, as I said, the book title stops appearing as soon as a blank page is inserted to move the chapter start to the right. those things are related to when marks are set/reset; tricky sync stuff how about playing a bit with \definetext \starttext \setuphead

  1   2   >