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

2011-12-21 Thread Peter Park Nelson
on the first page of my document but no line under it (the first page header will be unique). I want to keep the vertical space for the header, so \setupheader[text][state=high] is not what I need. The reason for this is to have the option of placing a banner over the document title using the header. Some

Re: [NTG-context] Header and footer style and arranging

2011-12-20 Thread Hans Hagen
On 20-12-2011 01:14, Aditya Mahajan wrote: Header and footer styles do not work with arranging and double sided layout. Minimal example: \setuppapersize[A5][A4,letter] \setuparranging[2SIDE] \setuppagenumbering[alternative=doublesided] \setupheader[style=smallcaps, color=blue

[NTG-context] Header and footer style and arranging

2011-12-19 Thread Aditya Mahajan
Header and footer styles do not work with arranging and double sided layout. Minimal example: \setuppapersize[A5][A4,letter] \setuparranging[2SIDE] \setuppagenumbering[alternative=doublesided] \setupheader[style=smallcaps, color=blue] \setupheadertexts[] \setupheadertexts[Hello][][][World

[NTG-context] setupheader is ignored

2011-12-16 Thread Steffen Fritzsche
Thanks Hans for fixing the other issue! I've just discovered another problem. So far I switched the font in for my headers with the following command \setupheader [style={\ss\switchtobodyfont[10pt]}] this does not work anymore. Is this on purpose or also a bug? Steffen

[NTG-context] KOMA-srcartcl Type Area: How to count header and footer to text area?

2011-12-13 Thread Paul Menzel
] \starttext \framed[width=\textwidth,height=\textheight]{} \stoptext I only want to add a page number to the footer [3] and I do not want to use any header [2, and ConTeXt manual]. Therefore I set \setupheader[][state=none] \setuppagenumbering

Re: [NTG-context] KOMA-srcartcl Type Area: How to count header and footer to text area?

2011-12-13 Thread Aditya Mahajan
manual]. Therefore I set \setupheader[][state=none] \setuppagenumbering[alternative=doublesided, location={footer}] \enablemode[BCOR] According to the KOMA-Script manual [4] having just a page number in the footer it should be counted as belonging to the margin. The only

Re: [NTG-context] KOMA-srcartcl Type Area: How to count header and footer to text area?

2011-12-13 Thread Paul Menzel
any header [2, and ConTeXt manual]. Therefore I set \setupheader[][state=none] \setuppagenumbering[alternative=doublesided, location={footer}] \enablemode[BCOR] According to the KOMA-Script manual [4] having just a page number in the footer it should be counted

Re: [NTG-context] Columnset error with \setupheader[state=high]

2011-12-09 Thread Hans Hagen
On 7-12-2011 06:31, Peter Park Nelson wrote: Hello, I hope someone has solved this problem already but I haven't been able to find a solution. When using \setupheader[state=high], my columnset behaves correctly on the first page but runs over the footer area on all subsequent pages. fixed

[NTG-context] Columnset error with \setupheader[state=high]

2011-12-07 Thread Peter Park Nelson
Update: I don't have a solution yet, but here is my attempt to figure out where this problem comes from. I may be (probably am) wrong; I am new to ConTeXt and not an expert on its internals. But I'll toss this out to see if anyone is interested. When \startcolumnset is called, it seems to take a

Re: [NTG-context] Columnset error with \setupheader[state=high]

2011-12-07 Thread Peter Park Nelson
Those \unexpanded 's are not necessary, sorry. On Wed, Dec 7, 2011 at 4:42 PM, Peter Park Nelson peter.park.nel...@gmail.com wrote: Update: I don't have a solution yet, but here is my attempt to figure out where this problem comes from. I may be (probably am) wrong; I am new to ConTeXt and

[NTG-context] Columnset error with \setupheader[state=high]

2011-12-06 Thread Peter Park Nelson
Hello, I hope someone has solved this problem already but I haven't been able to find a solution. When using \setupheader[state=high], my columnset behaves correctly on the first page but runs over the footer area on all subsequent pages. If I do not use state=high (i.e. normal header on first

Re: [NTG-context] math signs in itemize

2011-09-25 Thread R. Ermers
. Regards, Robert +++ \enableregime[utf] \setuppapersize[A4][A4] \startsectionblockenvironment[bodypart] \setupheader[text][location=text,state=high,strut=yes,after=\vskip-0.8em\thinrule] \setupfootertexts[{\tfx \copyright R. Ermers}][][][{\tfx \copyright R. Ermers}] \setuppagenumber[number=1

Re: [NTG-context] solved-how to make \getmarking[title] show using default font size?

2011-07-26 Thread Wolfgang Schuster
=no, frame=off, align={middle,middle}] {#2}} \setuphead [title] [command=\Mytitle, style=\ssbfb] % \ss\bfb \setupheader[style=\ssb] % \ss\tfb \starttext \title{Title} \stoptext Wolfgang ___ If your question

[NTG-context] Use of \hairline in the header

2011-07-19 Thread Cecil Westerhof
I have the following document: \setupheader[ after={\startalignment[center]\hairline\stopalignment}, style={\switchtobodyfont[9pt]}, ] \setuplayout[ footer=0mm, header=10mm, ] \setupheadertexts[] \setupheadertexts[Documentation for product XYZ –concept–] [version: 2001

Re: [NTG-context] Use of \hairline in the header

2011-07-19 Thread Christian
Cecil Westerhof Gesendet: Dienstag, 19. Juli 2011 12:21 An: mailing list for ConTeXt users Betreff: [NTG-context] Use of \hairline in the header I have the following document: \setupheader[ after={\startalignment[center]\hairline\stopalignment}, style={\switchtobodyfont[9pt

Re: [NTG-context] Use of \hairline in the header

2011-07-19 Thread Wolfgang Schuster
Am 19.07.2011 um 12:21 schrieb Cecil Westerhof: I have the following document: \setupheader[ after={\startalignment[center]\hairline\stopalignment}, style={\switchtobodyfont[9pt]}, ] \setupheader[text][after=\hairline,...] Wolfgang

Re: [NTG-context] Use of \hairline in the header

2011-07-19 Thread Cecil Westerhof
2011/7/19 Wolfgang Schuster schuster.wolfg...@googlemail.com I have the following document: \setupheader[ after={\startalignment[center]\hairline\stopalignment}, style={\switchtobodyfont[9pt]}, ] \setupheader[text][after=\hairline,...] Works. Thanks. -- Cecil Westerhof

Re: [NTG-context] Use of \hairline in the header

2011-07-19 Thread Christian
\setupheader[text][after=\hairline,...] Works. Thanks. Works, but does penetrate the text area. See the attached image (I have \showframe on, so don’t be confused by that many lines. The hairline is the one partially highlighted, running just above the lowercase letters). How can

Re: [NTG-context] Use of \hairline in the header

2011-07-19 Thread Wolfgang Schuster
Am 19.07.2011 um 18:27 schrieb Christian: \setupheader[text][after=\hairline,...] Works. Thanks. Works, but does penetrate the text area. See the attached image (I have \showframe on, so don’t be confused by that many lines. The hairline is the one partially highlighted

Re: [NTG-context] Use of \hairline in the header

2011-07-19 Thread Christian
\setupheader[text][after=\hairline,...] Works. Thanks. Works, but does penetrate the text area. See the attached image (I have \showframe on, so don’t be confused by that many lines. The hairline is the one partially highlighted, running just above the lowercase letters). How

Re: [NTG-context] Different fontsize in header and footer

2011-03-19 Thread Wolfgang Schuster
}] But then I have to do this everywhere I change the text for header/footer. Is there a way to set the fontsize (and font) globally? \setupheader[style=...] \setupfooter[style=...] Wolfgang ___ If your question

Re: [NTG-context] Different fontsize in header and footer

2011-03-19 Thread Cecil Westerhof
\lastpage}] But then I have to do this everywhere I change the text for header/footer. Is there a way to set the fontsize (and font) globally? \setupheader[style=...] \setupfooter[style=...] Thanks, that was. It rang a bell and sure enough I already used in one of my documents, but I forgot

Re: [NTG-context] header entries semi-wrong

2011-03-10 Thread Willi Egger
,topspace=17mm, header=12pt,headerdistance=6pt, footer=36pt,footerdistance=0pt, location=middle,marking=off] \setupwhitespace[halfline] \setuppagenumbering [alternative=doublesided,location=] \setupheader[align=middle] \mainlanguage[de] \def\HeadL{Part {\convertnumber{Numbers

Re: [NTG-context] header entries semi-wrong

2011-03-10 Thread Steffen Wolfrum
,footerdistance=0pt, location=middle,marking=off] \setupwhitespace[halfline] \setuppagenumbering [alternative=doublesided,location=] \setupheader[align=middle] \mainlanguage[de] \def\HeadL{Part {\convertnumber{Numbers}{\namedheadnumber{chapter}}}\enskip\getmarking[EbeneEins]} \def\HeadR

Re: [NTG-context] header entries semi-wrong

2011-03-10 Thread luigi scarso
,headerdistance=6pt, footer=36pt,footerdistance=0pt, location=middle,marking=off] \setupwhitespace[halfline] \setuppagenumbering [alternative=doublesided,location=] \setupheader[align=middle] %\def\HeadL{Part {\convertnumber{Numbers}{\namedheadnumber{chapter}}}\enskip\getmarking

Re: [NTG-context] Style of header text

2011-03-09 Thread Wolfgang Schuster
like this: \definepagebreak [mychapterpagebreak] [yes,header] and set in MyChapter's header the attribute page=mychapterpagebreak. The system shows the name of the chapter, but I want to setup its style (color, fontstyle, size, etc)...is it possible?. \setupheader[style=...,color

Re: [NTG-context] Style of header text

2011-03-09 Thread Milton Galo Patricio Inostroza Aguilera
2011/3/9 Wolfgang Schuster schuster.wolfg...@googlemail.com: \setupheader[style=...,color=...] it works like a charm =D Wolfgang -- Milton ___ If your question is of interest to others as well, please add

[NTG-context] header entries semi-wrong

2011-03-06 Thread Steffen Wolfrum
] \setuppagenumbering [alternative=doublesided,location=] \setupheader[align=middle] \def\HeadL{Part {\convertnumber{Numbers}{\namedheadnumber{chapter}}}\enskip\getmarking[EbeneEins]} \def\HeadR{\headnumber[section]\enskip\getmarking[section]} \setupheadertexts [\vtop{\startalignment

Re: [NTG-context] Hairline in header

2011-03-03 Thread Wolfgang Schuster
% \blackrule[width=\hsize,color=yellow,height=3pt] % \blackrule[width=\hsize,color=orange,height=3pt] %\stopsetups % %\setupheader[text][after=\setups{headerrules}] % solution 2: \startuseMPgraphic{headerrules} draw origin--(OverlayWidth,0) withcolor red withpen pencircle scaled 4 ; draw origin

Re: [NTG-context] Hairline in header

2011-03-03 Thread Willi Egger
% \blackrule[width=\hsize,color=yellow,height=3pt] % \blackrule[width=\hsize,color=orange,height=3pt] %\stopsetups % %\setupheader[text][after=\setups{headerrules}] % solution 2: \startuseMPgraphic{headerrules} draw origin--(OverlayWidth,0) withcolor red withpen pencircle scaled 4

Re: [NTG-context] running headers on postponed makeup

2011-02-15 Thread Steffen Wolfrum
=17mm, header=12pt,headerdistance=6pt, footer=36pt,footerdistance=0pt, location=middle,marking=off] \setupwhitespace[halfline] \setuppagenumbering [alternative=doublesided,location=] \setupheader[align=middle] \setupheadertexts [\vtop{\startalignment[center]\KolumneR

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

2011-02-14 Thread Tom
,location=] \setupheadertexts [chapter][pagenumber][pagenumber][My Book Title] \setupheader[style={\switchtobodyfont[pagenumber,20pt]\sl}] %turn on indentation \setupindenting[yes,medium,next] \starttext \dedication{} \startdedication \startalignment[middle] To someone who inspired or supported me

[NTG-context] Getting paragraphs to indent

2011-02-13 Thread Tom
Title] \setupheader[style={\switchtobodyfont[pagenumber,20pt]\sl},color=gray] %turn on indentation \setupindenting[medium] \indenting[next] \starttext \dedication{} \startdedication To someone who inspired or supported me. Let's see how this works for dedications that span multiple lines

[NTG-context] Header problem

2011-01-30 Thread Keith McKay
have been on the wiki looking at the command reference syntax for \setupheader and \setuphead and \setupheadertexts to try and solve this problem but I'm a bit stuck understanding the syntax. Reducing the amount of text in the chapter name isn't an option. Any other suggestions Keith McKay

Re: [NTG-context] Hairline in header

2011-01-11 Thread Florian Wobbe
how can I move the thinrule further up in this example? I'd like to use \thinrule but still want the position like this: \setupheader[text][after=\hrule] Hi Florian, Maybe this can help you. \setuplayout[header=1cm,headerdistance=1cm] \setupheader[text][after=\vskip-0.8em

Re: [NTG-context] Hairline in header

2011-01-11 Thread 李延瑞
2011/1/11 Florian Wobbe florian.wo...@awi.de: how can I move the thinrule further up in this example? I'd like to use \thinrule but still want the position like this: \setupheader[text][after=\hrule] Hi Florian, Maybe this can help you. \setuplayout[header=1cm,headerdistance=1cm

Re: [NTG-context] Hairline in header

2011-01-11 Thread Florian Wobbe
Thanks, that works. I wonder if you can configure this with \setupthinrules. \setupthinrules[before=\vskip-0.8em] does no work. Hm, if you use: \setupthinrules[n=1, before=\vskip-0.8em] \setupheader[text][after=\thinrules] it can work. However ConTeXt advises to use \blank instead

Re: [NTG-context] Hairline in header

2011-01-10 Thread 李延瑞
2011/1/11 Florian Wobbe florian.wo...@awi.de: \setupheader[text][after=\thinrule] \setuplayout[header=1cm,headerdistance=1cm] \starttext \dorecurse{12}{\input knuth\par} \stoptext Hi, how can I move the thinrule further up in this example? I'd like to use \thinrule but still want

Re: [NTG-context] Fwd: Re: xml-processing: missing or ungrouped '='

2011-01-08 Thread Achim Jander
\setupheader[chapter][ownnumber=yes] \starttext \xmlprocessbuffer{main}{test}{} \stoptext The relevant part is the line I've commented out because of the error. In the setup xml:title I start the chapter. If the title comes with an number-element I want to set ownnumber=..., but if they have

[NTG-context] xml-processing: missing or ungrouped '='

2011-01-07 Thread Achim Jander
\startxmlsetups xml:title \startchapter[ \xmlcommand{#1}{.}{xml:splitHeader} %number=\xmldoifelse{#1}{/num}{yes}{no}, %works %ownnumber=\xmldoifelse{#1}{/num}{\xmlcommand{#1}{/num}{xml:ueberForceFlush}}{},%works %title={\xmlflush{#1}},%works ] \xmlflush{#1} \stopchapter \stopxmlsetups \setupheader

[NTG-context] Bug: delay in \getmarking

2010-12-17 Thread Steffen Wolfrum
=doublesided,location=] \setupheader[align=middle] \def\KolumneL{{\convertnumber{Numbers}{\namedheadnumber{chapter}}.\,Teil:}\enskip\getmarking[chapter]} \def\KolumneR{\headnumber[section]\enskip\getmarking[section]} \setupheadertexts [\vtop{\startalignment[center]\KolumneR\stopalignment

[NTG-context] Bug against minimals

2010-12-16 Thread Xan
/\lastpage}] \setupfooter[text][before=\hrule] \setupheader[text][after=\hrule] \setupheadertexts[{\tfx IES Binissalem. Dpt. Orientació}][{\tfx 3r DIV}] % hyphenating \hyphenation{do-cu-ment} \hyphenation{subs-ti-tueix} \hyphenation{pro-ble-ma} \hyphenation{Ma-the-ma-tics} \hyphenation{Ma-the-ma-ti-cal

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

2010-12-12 Thread Emanuele Sacco
={\defineoverlay[whatever][]}] \setuphead[chapter][before={\pagetype[chapter]}] with \setupheader[text][after=\hrule] % \thinrule Now you can suppress the line on an empty page before the chapter start with \setuphead  [chapter]  [page={yes,header,right}] Wolfgang

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

2010-12-11 Thread Wolfgang Schuster
]}] with \setupheader[text][after=\hrule] % \thinrule Now you can suppress the line on an empty page before the chapter start with \setuphead [chapter] [page={yes,header,right}] Wolfgang ___ If your question is of interest

Re: [NTG-context] Suppress header and footer inside frontmatter

2010-12-02 Thread Wolfgang Schuster
[frontpart] \setupheader[state=stop] \setupfooter[state=stop] \stopsectionblockenvironment Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context

Re: [NTG-context] Suppress header and footer inside frontmatter

2010-12-02 Thread Khaled Hosny
that I'd use in my environment file). \startsectionblockenvironment[frontpart] \setupheader[state=stop] \setupfooter[state=stop] \stopsectionblockenvironment Thanks Wolfgang! Regards, Khaled -- Khaled Hosny Arabic localiser and member of Arabeyes.org team Free font developer

[NTG-context] Hairline in header

2010-11-04 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, how to add the hairline (or a kind of the horizontal rule) under the header area? I'd like to achieve something like in the 1.pdf (attached; created by LaTeX). My code till now: --- \setuppagenumbering[location=footer,middle] \setupheader[][style=small] \setupheadertexts[LLL][RRR

Re: [NTG-context] Hairline in header

2010-11-04 Thread Wolfgang Schuster
knuth\par} \stoptext or \setupheader[text][after=\thinrule] \setuplayout[header=1cm,headerdistance=1cm] \starttext \dorecurse{12}{\input knuth\par} \stoptext Wolfgang ___ If your question is of interest to others

Re: [NTG-context] Hairline in header

2010-11-04 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Thanks, that's it. Cheers, Lukas On Thu, 04 Nov 2010 10:01:18 +0100, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: \setupheader[text][after=\thinrule] \setuplayout[header=1cm,headerdistance=1cm] \starttext \dorecurse{12}{\input knuth\par} \stoptext

[NTG-context] getmarking does not use mark?

2010-09-27 Thread Steffen Wolfrum
\KolumneR{\headnumber[section]\enskip\getmarking[section]} \setuppagenumbering [alternative=doublesided,location=] \setupheader[align=middle] \setupheadertexts [\vtop{\startalignment[center]\KolumneR\stopalignment}] [pagenumber] [pagenumber] [\vtop{\startalignment[center]\KolumneL

[NTG-context] change affecting MPgraphic?

2010-09-24 Thread Marko Schütz Schmuck
= 1, use point, else use points \bgroup \colortwo (#1 \dopoints{#1}) \egroup \fi} \def\dopoints#1% {\doifelse{#1}{1}{\labeltext{point}}{\labeltext{points}}} \def\stopproblem% {\stopPROBLEM} \setupheader [text] [color=colortwo] \setupfooter [text] [color=colortwo] \setupitemize

[NTG-context] Filling boxes

2010-08-28 Thread Cecil Westerhof
) \usemodule[defaults] \setupoutput[pdf] \setuplayout[header=0cm, footer=0.25cm] \defineframed [action][width=5cm, height=3cm, offset=none] \defineframed [base] [width=3cm, height=2cm, offset=none, topframe=off] \starttext \setupheader[state=high

Re: [NTG-context] Filling boxes

2010-08-28 Thread Wolfgang Schuster
] \starttext \setupheader[state=high] \setupfootertexts[\hfill {\switchtobodyfont[6pt]\copyright Decebal Computing, http://www.decebal.nl} \hfill][] [][] \setupalign[middle]\offinterlineskip {\bold\switchtobodyfont[32pt]De taken kerstboom\switchtobodyfont[16pt]\blank

Re: [NTG-context] How do I stretch text in header?

2010-06-29 Thread Oliver Heins
«: Do you use Mark 2 or Mark 4? Mark 4. I found a reasonable working solution: \definecharacterkerning[extra] \setupcharacterkerning[extra][factor=0.25] \setupheader[] \setupheadertexts[\setups{header}] \startsetups[header] \start \setcharacterkerning[extra] \hfill {\sc

Re: [NTG-context] How do I stretch text in header?

2010-06-29 Thread Wolfgang Schuster
the section title, but instead the phrase »section«: Do you use Mark 2 or Mark 4? Mark 4. I found a reasonable working solution: \definecharacterkerning[extra] \setupcharacterkerning[extra][factor=0.25] \setupheader[] \setupheadertexts[\setups{header}] \startsetups[header

[NTG-context] How do I stretch text in header?

2010-06-27 Thread Oliver Heins
I want to typeset the section title in stretched smallcaps in the header. This is what I came up with, but it won't print the section title, but instead the phrase »section«: \setuppagenumbering[none] \def\stretchedspacefactor{4} \def\stretchedspaceamount{.2em} \setupheader[] \setupheadertexts

[NTG-context] Difference in whitespace around section head from mkII to mkIV

2010-06-01 Thread Adam Fuller
to unravel it. \setupheadertexts[myslide][] \setupheader[state=start] \setuppagenumbering[state=stop] \definehead[myslide][subsubsection] \setuphead[myslide][style=slanted,placehead=no,page=yes] \definestartstop[slide][ before={\page\startalignment[right,nothyphenated,hanging]\tf

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

2010-04-20 Thread Tom
] [chapter][pagenumber][pagenumber][chapter Example] \setupheadertexts[title] [title][pagenumber][pagenumber][title] \setuppagenumbering[alternative=doublesided] %\setupheader[state=stop] \stopsectionblockenvironment \startsectionblockenvironment[bodypart] \setuppagenumbering[alternative=doublesided

Re: [NTG-context] grid in footnotes, was: Re: footnote marks fail

2010-04-14 Thread Michael Saunders
i was not even aware that \newcommand was there ... probably more a catch for bibtex issues I have been using it a lot since, although Context seems to use a lot of brackets, it won't allow nested ones. For example, I have to use: \newcommand{\hfstyle}{\switchtobodyfont[15pt]} \setupheader

Re: [NTG-context] grid in footnotes, was: Re: footnote marks fail

2010-04-14 Thread Hans Hagen
{\hfstyle}{\switchtobodyfont[15pt]} \setupheader[style=\hfstyle] because I'll get an error from: \setupheader[style=\switchtobodyfont[15pt]] \setupheader[style={\switchtobodyfont[15pt]}] - Hans

[NTG-context] stopcolumns causes new page!!!?

2010-04-11 Thread Xan
}] \setupfooter[text][before=\hrule] \setupheader[text][after=\hrule] \setupheadertexts[{\tfx IES Binissalem. Dept. Orientació}][{\tfx 4t C MAT. Tema 4 - Probabilitat. \currentdate}] % hyphenating \hyphenation{do-cu-ment} \hyphenation{subs-ti-tueix} \hyphenation{pro-ble-ma} \hyphenation{Ma-the-ma

[NTG-context] moving section heads

2010-04-10 Thread Steffen Wolfrum
,headerdistance=8pt,grid=yes] \setupheader[align=middle] \setuppagenumbering [alternative=,location=] \setupheadertexts[\setups{text a}] [\setups{text b}] \startsetups[text b]\vtop{\startalignment[center]Chapter\stopalignment}\stopsetups\startsetups[text a]\vtop{\startalignment[center]Chapter\stopalignment

Re: [NTG-context] three problems

2010-03-24 Thread Wolfgang Schuster
=middle] \setupheadertexts [margin] [\leftaligned{very long leftmargin text}] [\rightaligned{very long rightmargin text}] \setupheadertexts[text in the middle] \showframe \starttext \input knuth \stoptext or \setuplayout [backspace=6cm, width=middle] \setupheader [margin

Re: [NTG-context] header in the middle on doublesided layout

2010-03-23 Thread Wolfgang Schuster
Am 23.03.10 07:06, schrieb Wolfgang Schuster: You can replace the nested boxes with framedtext And another one: \showframe \setuppagenumbering[alternative=doublesided,location=footer] \setupheader[text][middletext=\strut\doifoddpageelse{\getmarking[section][first]}{\getmarking[section][last

Re: [NTG-context] header in the middle on doublesided layout

2010-03-23 Thread luigi scarso
] \setupheader[text][middletext=\strut\doifoddpageelse{\getmarking[section][first]}{\getmarking[section][last]}] \starttext \dorecurse{4}  {\chapter{Chapter #1}   \dorecurse{3}{\section{Section #1.##1}}} \stoptext Wolfgang different behavior between mkiv and mkii --- what is right ? -- luigi

Re: [NTG-context] header in the middle on doublesided layout

2010-03-23 Thread luigi scarso
specified otherwise. I don't know. This is right, for both. \showframe \setuppagenumbering[alternative=doublesided,location=footer] \setupheader[text][middletext=\strut\doifoddpageelse{\getmarking[section][first]}{\getmarking[section][last]}] \starttext \dorecurse{4} {\chapter{Chapter #1

Re: [NTG-context] header in the middle on doublesided layout

2010-03-23 Thread Wolfgang Schuster
and not other header/footer texts, is this now also correct? \showframe \setuppagenumbering[alternative=doublesided,location=footer] \setupheader [text] [lefttext=left, middletext=\strut\doifoddpageelse{\getmarking[section][first]}{\getmarking[section][last]}] \starttext \dorecurse{2} {\chapter

Re: [NTG-context] header in the middle on doublesided layout

2010-03-23 Thread luigi scarso
--- this is also ok: the chapter ends just before the next chapter. This affects only marks and not other header/footer texts, is this now also correct? \showframe \setuppagenumbering[alternative=doublesided,location=footer] \setupheader  [text]  [lefttext=left, middletext=\strut\doifoddpageelse

Re: [NTG-context] suggestions for context documentation

2010-03-08 Thread Hans Hagen
\usemodule [abr-01] \setuplayout [width=middle, height=middle, footer=0cm, topspace=1.5cm] \setupbodyfont [palatino] \setupheader [state=high] \setupwhitespace [big] \starttext Hi all, As I was on the Dante 2010 meeting and as I could not access my mail last week, today

Re: [NTG-context] Thoughts on ConTeXt: ditched

2009-12-28 Thread R. Bastian
code (TeX or ConText). The last days I had to edit Python-listings (my scores). \starttyping ... \stoptyping. Fine! but there are no headers. But I need headers. Not easy to understand \setupheads, \setupheaders \setupheader etc. there are no examples given. I re-tried reSt, asciidoc : ugly like

Re: [NTG-context] Drawing rectangles

2009-11-13 Thread Cecil Westerhof
made it now: \usemodule[defaults] \setupoutput[pdf] \setuplayout[header=0cm, footer=0.25cm] \defineframed [action][width=5cm, height=3cm, offset=none] \defineframed [base] [width=3cm, height=2cm, offset=none, topframe=off] \starttext \setupheader[state

[NTG-context] Jumping headers

2009-10-29 Thread Andreas Harder
Hello, I found another funny effect. Please look at the following example: \setuplayout[header=\lineheight,headerdistance=\lineheight] \setupinterlinespace[line=18pt] \setupdelimitedtext[blockquote][style={\tfx\setupinterlinespace [line=2.8ex]}] \setupheader[style=\tfxx] % strut=yes

Re: [NTG-context] Jumping headers

2009-10-29 Thread Hans Hagen
Andreas Harder wrote: Hello, I found another funny effect. Please look at the following example: \setuplayout[header=\lineheight,headerdistance=\lineheight] \setupinterlinespace[line=18pt] \setupdelimitedtext[blockquote][style={\tfx\setupinterlinespace[line=2.8ex]}] \setupheader[style=\tfxx

Re: [NTG-context] Jumping headers

2009-10-29 Thread Andreas Harder
\setupinterlinespace [line=2.8ex]}] \setupheader[style=\tfxx] % strut=yes \setupheadertexts[chapter][section] % try this % \setupheadertexts[\setups{head}] % or this \startsetups[head] \framed [width=broad,strut=yes,height=\lineheight,framecolor=red] {\getmarking[chapter]\hfill\getmarking[section

[NTG-context] Strange Behaviour for toc

2009-10-12 Thread Martin Scholz
=footer] \setupheader[state=none] \setuptolerance[tolerant, stretch] \setupwhitespace[medium] \setupfootnotes[way=bypage, conversion=set 2] \definepagebreak[chapter][yes,footer,right] \setuphead[chapter][textcommand=\MyChapterText,color=BigColorTwo,style= \BigFontTwo] \def\MyChapterText#1{\rlap

Re: [NTG-context] framedtext in naturaltables

2009-10-02 Thread Xan
] % Heads and footers \setupfootertexts[{\tfx \pagenumber/\lastpage}] \setupfooter[text][before=\hrule] \setupheader[text][after=\hrule] \setupheadertexts[{\tfx 4t DIVER CN. Tema 1 - Estructura Externa de la Terra}][{\tfx IES Binissalem. {\bf FULL 1}. \currentdate.}] % hyphenating \hyphenation{do-cu-ment

[NTG-context] Problems with cite (minimal example) (was Re: Buggy source code-- references disappears when I put sections and If I put subjects, \completecontent has void list.)

2009-08-18 Thread Xan
and footers %\setupfootertexts[][{\tfxx \currentdate}] %\setupfootertexts[\pagenumber/\lastpage] %\setupfooter[text][before=\hrule] %\setupheader[text][after=\hrule] %\setupheadertexts[{\tfx Màster de Matemàtiques}][{\tfx \jobname.\ConTeXt{}.\currentdate}] %\setupheadertexts[][{\tfx \currentdate

Re: [NTG-context] I can't put footnote

2009-07-23 Thread Xan
] %\setupitemize[a][right=),stopper=] % Mathematical packets \usemodule[newmat] \usemodule[math-ams] % Heads and footers \setupfootertexts[][{\tfxx \currentdate}] %\setupfootertexts[\pagenumber/\lastpage] %\setupfooter[text][before=\hrule] %\setupheader[text][after=\hrule] %\setupheadertexts[{\tfx Màster de

[NTG-context] I can't change startitemize[n]-- startitemize[1]

2009-07-23 Thread Xan
\setupfootertexts[][{\tfxx \currentdate}] %\setupfootertexts[\pagenumber/\lastpage] %\setupfooter[text][before=\hrule] %\setupheader[text][after=\hrule] %\setupheadertexts[{\tfx Màster de Matemàtiques}][{\tfx \jobname.\ConTeXt{}.\currentdate}] %\setupheadertexts[][{\tfx \currentdate}] % hyphenating

[NTG-context] Strange behaviour of startitemize[1]

2009-07-22 Thread Xan
][headstyle=bold] %\setupitemize[a][right=),stopper=] % Mathematical packets \usemodule[newmat] \usemodule[math-ams] % Heads and footers %\setupfootertexts[][{\tfx \currentdate}] %\setupfootertexts[\pagenumber/\lastpage] %\setupfooter[text][before=\hrule] %\setupheader[text][after=\hrule

[NTG-context] I can't put footnote

2009-07-22 Thread Xan
] %\setupitemize[a][right=),stopper=] % Mathematical packets \usemodule[newmat] \usemodule[math-ams] % Heads and footers %\setupfootertexts[][{\tfx \currentdate}] %\setupfootertexts[\pagenumber/\lastpage] %\setupfooter[text][before=\hrule] %\setupheader[text][after=\hrule] %\setupheadertexts[{\tfx Màster de

Re: [NTG-context] I can't put footnote

2009-07-22 Thread Xan
][headstyle=bold] %\setupitemize[a][right=),stopper=] % Mathematical packets \usemodule[newmat] \usemodule[math-ams] % Heads and footers %\setupfootertexts[][{\tfx \currentdate}] %\setupfootertexts[\pagenumber/\lastpage] %\setupfooter[text][before=\hrule] %\setupheader[text][after=\hrule

Re: [NTG-context] Fwd: \setuppagenumbering[]

2009-07-10 Thread Wolfgang Schuster
[numberconversion=romannumerals] % new mkiv command you should do these setups in s sectionblock/structureblockenvironment \setuppagenumber[number=1] \setupheader [state=stop] \setupfooter [state=stop] BOOK TITLE \vfill Do you look for start/stopstandardmakeup? \page[blank,odd] ANOTHER BOOK TITLE PAGE

[NTG-context] Fwd: Fwd: \setuppagenumbering[]

2009-07-09 Thread Ciro Soto
\startfrontmatter \start \setuppagenumbering [location=footer,conversion=romannumerals,] \setuppagenumber[number=1] \setupheader [state=stop] \setupfooter [state=stop] BOOK TITLE \vfill \page[blank,odd] ANOTHER BOOK TITLE PAGE \page \setupfooter [state=start] COPYRIGHT PAGE \page ANOTHE PAGE \page

Re: [NTG-context] Fwd: \setuppagenumbering[]

2009-07-07 Thread Ciro Soto
] \setuppagenumbering [alternative=doublesided] \starttext \tolerance 1 \startfrontmatter \start \setuppagenumbering [location=footer,conversion=romannumerals,] \setuppagenumber[number=1] \setupheader [state=stop] \setupfooter [state=stop] BOOK TITLE \vfill \page[blank,odd] ANOTHER BOOK TITLE

[NTG-context] Problems with bibtex and @incollection

2009-06-06 Thread Xan
\setupfootertexts[\pagenumber/\lastpage] \setupfooter[text][before=\hrule] \setupheader[text][after=\hrule] \setupheadertexts[{\tfx Màster de Matemàtiques}][{\tfx \jobname.\ConTeXt{}.\currentdate}] % hyphenating \hyphenation{do-cu-ment} \hyphenation{pro-ble-ma} \hyphenation{es-crip-tu-ra

Re: [NTG-context] re-posting example of header at page bottom

2009-05-20 Thread Jos van Gisbergen
- \setupheader[text][after=\hairline] \setupfooter[text][before=\hairline] \setupheadertexts[chapter][\Doctitle] \setupfootertexts[text][\midaligned{\Footertext}][pagenumber] %--- Attributes for framed texts - \setupframedtexts[width=fit

Re: [NTG-context] header at page bottom example

2009-05-19 Thread Jos van Gisbergen
on the % current page style=\subsubsectionFont, color=black] %--- Headers and footers - \setupheader[text][after=\hairline] \setupfooter[text][before=\hairline] \setupheadertexts[chapter][\Doctitle

Re: [NTG-context] \textrules in header

2009-05-18 Thread Robert-André Mauchin
Hans Hagen wrote (2001-10-18 (13:09)): At 09:40 AM 10/18/2001 +, Peter Jander wrote: Hi, I want a line to separate the header from the text body. Now if I say \setupheader[after=\textrule] the line starts in the margin. The length is the width of the text (which

Re: [NTG-context] Capital number when onum=yes?

2009-05-11 Thread Wolfgang Schuster
[HeaderStyle][Serif][features=header] \setupheader[style=HeaderStyle] 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] Capital number when onum=yes?

2009-05-11 Thread Corsair
like (untested): \definefontfeature[header][default][lnum=yes] \definefont[HeaderStyle][Serif][features=header] \setupheader[style=HeaderStyle] This works great! Thanks! -- There is no emotion; there is peace. There is no ignorance; there is knowledge. There is no passion

Re: [NTG-context] bugs in beta

2009-05-07 Thread Henning Hraban Ramm
][chapter][pagenumber] \setupheader[text][state=start] \setupregister[index]% [n=2, balance=no, align=yes, alternative=A, indicator=yes, pagestyle=normal, location=right, style=type] \starttext \dorecurse{20}{% \chapter{My chapter \recurselevel} \index{Index entry \recurselevel} \input zapf

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

2009-05-04 Thread Henning Hraban Ramm
Not only list handling, but also footnotes and headers are broken (at least), while the index seems fixed in the latest beta of MkIV: \setuphead[chapter][page=no] \setupheadertexts[text][chapter][pagenumber] \setupheader[text][state=start] \setupregister[index]% [n=2, balance=no, align=yes

Re: [NTG-context] Switching off Header only on a particular page

2009-03-03 Thread Hans Hagen
\setupheader[state=empty] or anything else that applies - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74

Re: [NTG-context] Switching off Header only on a particular page

2009-03-03 Thread Curious Learn
Hans Hagen pragma at wxs.nl writes: just \setupheader[state=empty] or anything else that applies Thanks very much Hans. That works great. ___ If your question is of interest to others as well, please add

[NTG-context] centering fit question

2009-02-13 Thread Alan Stone
=middle, top=\vss, bottom=\vss, frame=off] {this is some longer margin text}} %\stophiding \setuppagenumbering[location=footer] %\setupheader[% % before=\vss, % after=\vss] \setupheadertexts[text] [\myText] [\myText] \setupheadertexts[margin] [\myMarginText] [\myMarginText

Re: [NTG-context] centering fit question

2009-02-13 Thread Wolfgang Schuster
some text \hfill} \def\myMarginText {\hbox{$\vcenter{\vbox{\raggedcenter this is some margin text}}$}} \def\myMarginText {\framed [location=middle, align=middle, width=\hsize, frame=off] {this is some margin text}} \setuppagenumbering[location=footer] \setupheader

Re: [NTG-context] centering fit question

2009-02-13 Thread Alan Stone
=on] {some text} \stoptext \setuppagenumbering[location=footer] \setupheader [before=\vss, after=\vss] \setupheadertexts [text] [\myText] [\myText] \setupheadertexts [margin] [\myMarginText] [\myMarginText] \starttext test \stoptext Wolfgang

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
certain that \setupheader[state=high] interferes with way columnset counts the number of lines it can fit into each column, resulting in columns that run into the footer area. This code shows the problem: % columnset running into footer area \definelayout[1][] \setupheader[state=high

<    1   2   3   4   >