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
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
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
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
]
\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
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
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
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
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
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
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
.
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
=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
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
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
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
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
\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
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
\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
}]
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
\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
,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
,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
,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
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
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
]
\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
% \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
% \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
=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
,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
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
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
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
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
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
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
\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
\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
=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
/\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
={\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
]}]
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
[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
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
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
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
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
\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
= 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
)
\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
]
\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
«:
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
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
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
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
]
[chapter][pagenumber][pagenumber][chapter Example]
\setupheadertexts[title]
[title][pagenumber][pagenumber][title]
\setuppagenumbering[alternative=doublesided]
%\setupheader[state=stop]
\stopsectionblockenvironment
\startsectionblockenvironment[bodypart]
\setuppagenumbering[alternative=doublesided
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
{\hfstyle}{\switchtobodyfont[15pt]}
\setupheader[style=\hfstyle]
because I'll get an error from:
\setupheader[style=\switchtobodyfont[15pt]]
\setupheader[style={\switchtobodyfont[15pt]}]
-
Hans
}]
\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
,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
=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
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
]
\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
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
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
--- 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
\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
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
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
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
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
\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
=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
]
% 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
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
]
%\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
\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
][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
]
%\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
][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
[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
\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
]
\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
\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
-
\setupheader[text][after=\hairline]
\setupfooter[text][before=\hairline]
\setupheadertexts[chapter][\Doctitle]
\setupfootertexts[text][\midaligned{\Footertext}][pagenumber]
%--- Attributes for framed texts -
\setupframedtexts[width=fit
on the
% current page
style=\subsubsectionFont,
color=black]
%--- Headers and footers -
\setupheader[text][after=\hairline]
\setupfooter[text][before=\hairline]
\setupheadertexts[chapter][\Doctitle
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
[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
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
][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
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
\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
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
=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
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
=on]
{some text}
\stoptext
\setuppagenumbering[location=footer]
\setupheader
[before=\vss,
after=\vss]
\setupheadertexts
[text]
[\myText]
[\myText]
\setupheadertexts
[margin]
[\myMarginText]
[\myMarginText]
\starttext
test
\stoptext
Wolfgang
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
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
201 - 300 of 399 matches
Mail list logo