,
rightstyle=bolditalic,
leftcolor=darkgreen,
rightcolor=darkred]
\setupheadertexts
[middle]
\setupheadertexts
[left]
[right]
test
\stoptext
Thanks a lot
-a-
--
Andrea Valle
Hans,
I have the following sample:
\setuppagenumbering[A6]
\setupheadertexts[{\getmarking[chapter]}]
\definesectionblock
[whatcomeslast]
[lastmatter]
[number=no]
\setupsectionblock
[lastmatter]
[page=no,
after=\page
ment[default][em=italic]
\definefontfamily[mainface] [serif] [GFS Didot]
\setupbodyfont[mainface]
\setupindenting[1.5em]
\setupindenting[yes]
\setupwhitespace[medium]
\setupinterlinespace[line=3.2ex]
\setuphead[title][header=empty]
\setupheader[style={\sc}]
\setupfooter[style={\itxx}]
\se
espace[medium]
\setupinterlinespace[line=3.2ex]
\setuphead[title][header=empty]
\setupheader[style={\sc}]
\setupfooter[style={\itxx}]
\setupheadertexts[Cours de Philosophie][][][{\getmarking[section]}]
\setupfootertexts[][][][© Jean-Pierre Delange, 2016 — La reproduction de
ce texte est soumise à
]
\setupindenting[yes]
\setupwhitespace[medium]
\setupinterlinespace[line=3.2ex]
\setupitemize[each][margin=yes]
\setuphead[title][header=empty]
\setupheader[style={\sc}]
\setupfooter[style={\itxx}]
\setupheadertexts[Cours de Philosophie][][][{\getmarking[section]}]
\setupfootertexts
On 8/7/2016 11:15 AM, Thomas A. Schmitz wrote:
\starttext
\setupTABLE [split=repeat]
\definemarking [Test]
\setupheadertexts [{\getmarking[Test][top]--\getmarking[Test][bottom]}]
\startluacode
samples = {
{ "A", "aesop-de.tex" },
{ "B", "bryson.tex
context(true) -- Trial 1 but doesn't give the same as ""
context("EF")
context.crlf() -- Trial 2 but doesn't give the same as ""
context("GH")
context.stopframed()
conte
\\"
context("EF")
context.crlf() -- Trial 2 but doesn't give the same as ""
context("GH")
context.stopframed()
context.stopsetups()
\stopluacode
\setupheadertexts[][\directsetup{headertext}]
Foo
\stoptext
Best
Hello,
the following code:
\setupheadertexts[Le][Ri]
\setupbackgrounds[header][text][bottomframe=on]
\starttext
\startTEXpage
\externalfigure[dummy]
\stopTEXpage
\page[yes,header,footer,odd] % Empty page to come here
Blabla
\stoptext
should generate an empty page
found any good solution for it...
Thanks
Thomas
Example:
\starttext
\setupTABLE [split=repeat]
\definemarking [Test]
\setupheadertexts [{\getmarking[Test][top]--\getmarking[Test][bottom]}]
\startluacode
samples = {
{ "A", "aesop-de.tex" },
{ "B", "
]
\setupwhitespace[medium]
\setupinterlinespace[line=3.2ex]
\setupitemize[each][margin=yes]
\setuphead[title][header=empty]
\setupheader[style={\sc}]
\setupfooter[style={\itxx}]
\setupheadertexts[Cours de Philosophie][][][{\getmarking[section]}]
\setupfootertexts[][][][© J.-P. Delange, 2010-2016 — La
{%
\edef\dt{\date[y={#1},m={#2},d={#3}][year,-,mm,-,dd]}
\setupheadertexts[{\dt}][pagenumber]
\section{\dt}
% \externalfigure[#1#2#3.pdf]
}
\starttext
\chapter{Daily files}
\generatesection{2016}{06}{25}
\generatesection{2016}{06}{26}
\stoptext
first of all, did you try
lacebookmarks
> [chapter,section,subsection]
> [chapter,section]
> \setupinteractionscreen
> [option=bookmark]
>
> \def\generatesection#1#2#3{%
> \edef\dt{\date[y={#1},m={#2},d={#3}][year,-,mm,-,dd]}
> \setupheadertexts[{\dt}][pagenumber]
> \sect
,-,mm,-,dd]}
\setupheadertexts[{\dt}][pagenumber]
\section{\dt}
% \externalfigure[#1#2#3.pdf]
}
\starttext
\chapter{Daily files}
\generatesection{2016}{06}{25}
\generatesection{2016}{06}{26}
\stoptext
Thank you,
Mojca
o case I get
>> the header with text.
> You set different texts for left/right pages with no text for even numbered
> pages which you now get in your example.
>
> \setupheadertexts[Why not visible?][][][]
>
> Wolfgang
>
xample.
\setupheadertexts[Why not visible?][][][]
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/mailman/listinfo/ntg-context
webpage
gt;> \setuphead[chapter].
>>
>> MWE:
>> \setuppagenumbering[location=]
>> \setuplayout
>> [header=40pt,
>> headerdistance=10pt]
>> \setupheader
>> [state=normal]
>> \setupheadertexts
>> [Why not
]
\setupheadertexts
[Why not visible?][][][]
\setuphead
[chapter]
[header=empty]
\setupbackgrounds
[header]
[frame=on]
\starttext
\input ward
\page
\startchapter[title=test]
\input knuth
\page
it displays the header space
(header=empty} or removes the header space (header=high) in \setuphead[chapter].
MWE:
\setuppagenumbering[location=]
\setuplayout
[header=40pt,
headerdistance=10pt]
\setupheader
[state=normal]
\setupheadertexts
[Why not visible
Ibn Saeed <mailto:ibnsa...@gmail.com>
19. Januar 2016 um 04:54
Mohammad Hossein Bateni<bateni gmail.com> writes:
One hacky way to fix it is the following:
\setupheadertexts[{\getmarking[chapter]}]
[{\lefttoright\pagenumber}][{\lefttoright\pagenumber}]
[
Ibn Saeed <mailto:ibnsa...@gmail.com>
19. Januar 2016 um 10:55
Here is my code for the header:
\setupheadertexts
[{\righttoleft\getmarking[chapter]}] [{\romannumerals}]
[{\pagenumber}] [{\righttoleft\getmarking[chapter]}]
Use
\setupheadertexts[pagenumber]
or
\setupheade
Here is my code for the header:
\setupheadertexts
[{\righttoleft\getmarking[chapter]}][{\romannumerals}]
[{\pagenumber}][{\righttoleft\getmarking[chapter]}]
\setuppagenumbering[
alternative=doublesided,
location
incorrect typesetting.
On Tue, Jan 19, 2016 at 5:20 AM, Wolfgang Schuster <
schuster.wolfg...@gmail.com> wrote:
> Ibn Saeed <ibnsa...@gmail.com>
> 19. Januar 2016 um 04:54
>
> Mohammad Hossein Bateni gmail.com> writes:
>
>
> One hacky way to fix it is
is for sometime in the summer.) Use the
CONTEXT standalone and you should be good to go.
On Tue, Jan 19, 2016 at 5:23 AM, Wolfgang Schuster <
schuster.wolfg...@gmail.com> wrote:
> Ibn Saeed <ibnsa...@gmail.com>
> 19. Januar 2016 um 10:55
>
> Here is my code for the heade
ou should be good to go.
>
> On Tue, Jan 19, 2016 at 5:23 AM, Wolfgang Schuster
> <schuster.wolfg...@gmail.com <mailto:schuster.wolfg...@gmail.com>> wrote:
>> Ibn Saeed <mailto:ibnsa...@gmail.com> 19. Januar 2016 um 10:55
>>
>> Here is my c
te from the
last line (context --version):
mtx-context | ConTeXt Process Management 0.63
mtx-context |
mtx-context | main context file: context.mkiv
mtx-context | current version: 2016.01.18 22:21
\setupheadertexts
[{\righttoleft\getmarking[chapter]}][{\ara
to MkIV
sometime in the fall.
On Tue, Jan 19, 2016 at 8:43 AM, Ibn Saeed <ibnsa...@gmail.com> wrote:
> Wolfgang Schuster gmail.com> writes:
>
> > Use
> > \setupheadertexts[pagenumber]
> > or
> > \setupheadertexts[\userpagenumber]
> > Wolfgang
> >
Wolfgang Schuster gmail.com> writes:
> Use
> \setupheadertexts[pagenumber]
> or
> \setupheadertexts[\userpagenumber]
> Wolfgang
>
Hello Wolfgang,
Thanks for helping out again.
i tried your code :
\setupheadertexts[pagenumber]
[{\righttole
It was added to MkIV sometime
in the fall.
I updated ConTeXt as per your advice to the latest version.
I tried the following code on ConTeXt 0.63 running in AucTeX Spacemacs Editor.
\setupheadertexts
[{\righttoleft\getmarking[chapter]}][{\arabicdecimals\pagenumber}]
]
\setupbackgrounds[text][text][frame=off, topframe=on]
\setupheader[style=\righttoleft, state=normal]
\setupheadertexts
[{\getmarking[chapter]}][{\pagenumber}]
[{\pagenumber}][{\getmarking[chapter]}]
\starttext
\chapter{شرح الآجرومية}
الحمد لله رب العالمين، وصلى الله وسلم
One hacky way to fix it is the following:
\setupheadertexts
[{\getmarking[chapter]}][{\lefttoright\pagenumber}]
[{\lefttoright\pagenumber}][{\getmarking[chapter]}]
Ideally \setupdirections[bidi] or something like that should be used, as I
mentioned in the other thread
Mohammad Hossein Bateni gmail.com> writes:
>
>
> One hacky way to fix it is the following:
>
> \setupheadertexts [{\getmarking[chapter]}]
[{\lefttoright\pagenumber}] [{\lefttoright\pagenumber}]
[{\getmarking[chapter]}]
>
>
> Id
=middle,grid=both]
\setuphead[section][style=\bfc,before=\blank,after=,grid=both]
\setupbackgrounds[header][text][frame=off, bottomframe=on]
\setupheadertexts
[{\getmarking[chapter]}][{صفحة }]
[{صفحة }][{\getmarking[chapter]}]
\setupinmargin[stack=yes]
\starttext
=\blank,after=,grid=both]
\setupbackgrounds[header][text][frame=off, bottomframe=on]
\setupheadertexts
[{\getmarking[chapter]}][{صفحة }]
[{صفحة }][{\getmarking[chapter]}]
\setupinmargin[stack=yes]
\starttext
\chapter{الآجرومية}
\margintext{الآجرومية}
الحمد لله رب
Ursula Hermann <mailto:ursula.herm...@univie.ac.at>
7. Januar 2016 um 15:23
Hello Wolfgang!
Here is my example. I found the right command: it was \setupheadertexts
\setuppapersize[A4]
\setuppagenumbering[location={footer, right},style=bold]
\setuphead[chapter][header
erm...@univie.ac.at> Ursula Hermann
7. Januar 2016 um 15:23
Hello Wolfgang!
Here is my example. I found the right command: it was \setupheadertexts
\setuppapersize[A4]
\setuppagenumbering[location={footer, right},style=bold]
\setuphead[chapter][header=empty]
\setupheadertexts[1.1 second]
\sta
numbering ('1.0',
'2.0', etc) in \setupheadertexts
[\somenamedheadnumber{section}{current}][...etc].
Sytse Knypstra
On 15-12-15 09:45, Jan Willem Flamma <jwfregis...@icloud.com> wrote:
I ran into the following issue related to figure/float numbering.
I use numbered chapters, sections, subse
=bychapter, prefix=chapter') and the section numbering ('1.0',
'2.0', etc) in \setupheadertexts
[\somenamedheadnumber{section}{current}][...etc].
fwiw: you can control numbering and prefixes at any level and for all
constructs .. there are examples in the test suite
Hans
with specifying 'number=no' in \setuphead
(for any level).
This seems not only to affect the numbering of figures and tables, but
also the numbering of enumerations (it ignores the options
'way=bychapter, prefix=chapter') and the section numbering ('1.0',
'2.0', etc) in \setupheadertexts
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
Thanks a lot, Wolfgang
just now I was posting a solution of mine,
but yours is more elegant and concise.
Best regards,
Massi
PS: here's my solution (but I'll use yours):
\definemarking[headertitle]
\setupheadertexts[]
\setupheadertexts[\setups{oddpages}][][][\setups{evenpages}]
\startsetups
]}}
{\expanded{\getmarking[test][bottom]}}
{\getmarking[test][top]}
{\getmarking[test][top] and \getmarking[test][bottom]}
\stopsetups
\setupheadertexts [\setups{test header}]
\starttext
\marking[test] {One}
\input knuth
\marking [test] {Two}
\page
\marking [test] {Three}
\input tufte
[test]
\startsetups [test header]
\doifelse {\expanded{\getmarking[test][top]}}
{\expanded{\getmarking[test][bottom]}}
{\getmarking[test][top]}
{\getmarking[test][top] and \getmarking[test][bottom]}
\stopsetups
\setupheadertexts [\setups{test header}]
\starttext
\marking[test] {One}
\input
numbering[alternative=doublesided]
\setuphead[chapter][page={yes, header, footer, right}]
\setupheadertexts[Header]
\setupfootertexts[Footer]
\starttext
\dorecurse{3}{\chapter{Chapter}\noheaderandfooterlines}
\stoptext
For some strange reason (at least, unknown to me), header and
hapter][page={yes, header, footer, right}]
\setupheadertexts[Header]
\setupfootertexts[Footer]
\starttext
\dorecurse{3}{\chapter{Chapter}\noheaderandfooterlines}
\stoptext
For some strange reason (at least, unknown to me), header and footer
must be placed before right (if specified at al
[bodypart:pagenumber][][bodypart-n]
\defineconversionset[backpart:pagenumber][][backpart-n]
\setupheadertexts[{\convertedcounter[userpage][numberconversionset=number]}]
\starttext
\startbodymatter
\chapter[sec:knuth]{Knuth}
\at{page}[sec:knuth]\par
\at{page}[sec:zapf]
\stopbodymatter
\startbackmatter
][][backpart-n]
\setupheadertexts[{\convertedcounter[userpage][numberconversionset=number]}]
\starttext
\startbodymatter
\chapter[sec:knuth]{Knuth}
\at{page}[sec:knuth]\par
\at{page}[sec:zapf]
\stopbodymatter
\startbackmatter
\chapter[sec:zapf]{Zapf}
\at{page}[sec:knuth]\par
\at{page
on the location for index register entries,
but not for references.)
\defineprocessor [bodypart] [style=bold]
\defineprocessor [backpart] [style=italic]
\defineconversionset[bodypart:pagenumber][][bodypart-n]
\defineconversionset[backpart:pagenumber][][backpart-n]
\setupheadertexts
][][backpart-n]
\setupheadertexts[{\convertedcounter[userpage][numberconversionset=number]}]
\starttext
\startbodymatter
\chapter[sec:knuth]{Knuth}
\at{page}[sec:knuth]\par
\at{page}[sec:zapf]
\stopbodymatter
\startbackmatter
\chapter[sec:zapf]{Zapf}
\at{page}[sec:knuth]\par
\at{page
:
—
{\doifoddpageelse
{\getmarking[section]}
{\getmarking[subject]}
{\getmarking[chapter]}
—
…but that caused the subject and the chapter to both be printed in the
header.
Many thanks for any help.
\setupheadertexts[{\getmarking[section]}]
\definehead
the subject and the chapter to both be printed in the header.
Many thanks for any help.
\setupheadertexts[{\getmarking[section]}]
\definehead[suction][section][number=no]
\starttext
\placelist[section] \page
\section{foo} \page
\suction{bar} \page
\stoptext
On 8/3/2015 10:47 AM, Fabrice Couvreur wrote:
Hi,
I wish the numérotion pages is reversed at each new page: right left
right
pass two extra arguments
\setuppagenumbering[alternative=doublesided]
\setupheadertexts[a][b][c][d]
I wish the bottom of the title page of each section
Hi,
I wish the numérotion pages is reversed at each new page: right left right
...
I wish the bottom of the title page of each section of the current page.
Thanks for your help,
Fabrice
\setuppagenumbering
[location=]
\setupheadertexts
[margin]
[][\hfill\pagenumber\hfill
On 7/19/2015 7:56 PM, Pablo Rodriguez wrote:
Dear list,
I have the following sample:
\definepagebreak
[right:pagebreak]
[yes, blank, right]
%~ [yes, header, footer, right]
\setuppagenumbering
[location=inmargin]
\setupheadertexts
Dear list,
I have the following sample:
\definepagebreak
[right:pagebreak]
[yes, blank, right]
%~ [yes, header, footer, right]
\setuppagenumbering
[location=inmargin]
\setupheadertexts
[Header text]
\setuphead
[chapter
are not marked
as an artifact. Consider this example:
---
\setuptagging[state=start]
\setuppagenumbering
[location=,
alternative=doublesided]
\setupheadertexts
[{Chapter~\getmarking[chapternumber]\hskip1em\getmarking[chapter]}]
[{Header Right}]
[{Header Left}]
[{Chapter
. The main issues are:
1.) Elements that are not contained in the structure tree are not marked
as an artifact. Consider this example:
---
\setuptagging[state=start]
\setuppagenumbering
[location=,
alternative=doublesided]
\setupheadertexts
[{Chapter~\getmarking
On Mon, 20 Apr 2015 21:27:35 +0200
Pablo Rodriguez oi...@gmx.es wrote:
On 04/20/2015 09:03 PM, John Culleton wrote:
When I set up running heads in frontmattter
like this:
\definestructureconversionset[frontpart:pagenumber][][romannumerals]
\setupheadertexts
[{\getmarking[title
When I set up running heads in frontmattter like
this:
\definestructureconversionset[frontpart:pagenumber][][romannumerals]
\setupheadertexts
[{\getmarking[title]}]
[{\pagenumber}]
[{\pagenumber}]
[{\Titlea}]
(where \Titlea is a string containing the book
title
On 04/20/2015 09:03 PM, John Culleton wrote:
When I set up running heads in frontmattter like
this:
\definestructureconversionset[frontpart:pagenumber][][romannumerals]
\setupheadertexts
[{\getmarking[title]}]
[{\pagenumber}]
[{\pagenumber}]
[{\Titlea
... And wikified: http://wiki.contextgarden.net/Command/setupheadertexts
Lukas
--
Ing. Lukáš Procházka | mailto:l...@pontex.cz
Pontex s. r. o. | mailto:pon...@pontex.cz | http://www.pontex.cz
Bezová 1658
147 14 Praha 4
Tel: +420 241 096 751
Fax: +420 244 461 038
:
\setupheadertexts[{abc\par def\\ ghi\crlf jkl}]
\startsetups[headertext]
\startframed[frame=off,align=flushleft,width=fit]
abc\\
def\\
ghi\\
jkl
\stopframed
\stopsetups
\setupheadertexts[\directsetup{headertext}]
\starttext
Hello,
how to create multiline header?
This code ignores all attempts to force a new line:
\setupheadertexts[{abc\par def\\ ghi\crlf jkl}]
\starttext
aaa
\stoptext
Thank you in advance.
Best regards,
Lukas
--
Ing. Lukáš Procházka | mailto:l...@pontex.cz
Pontex s. r. o
On Mon, Mar 16, 2015 at 1:54 PM, Procházka Lukáš Ing. - Pontex s. r. o.
l...@pontex.cz wrote:
Hello,
how to create multiline header?
This code ignores all attempts to force a new line:
\setupheadertexts[{abc\par def\\ ghi\crlf jkl}]
\starttext
aaa
\stoptext
this works
:
\setupheadertexts[{abc\par def\\ ghi\crlf jkl}]
\starttext
aaa
\stoptext
this works, but probably there are better options
\setupheadertexts[\ruledvbox{abc\par def\par ghi\par jkl}]
\setupheadertexts[\vbox{abc\par def\par ghi\par jkl}]
works, too, but a nicer solution would be appreciated
Am 16.03.2015 um 13:54 schrieb Procházka Lukáš Ing. - Pontex s. r. o.
l...@pontex.cz:
Hello,
how to create multiline header?
This code ignores all attempts to force a new line:
\setupheadertexts[{abc\par def\\ ghi\crlf jkl}]
\startsetups[headertext]
\startframed
I observe a slight fluctuation of the baseline of text in the page header
when going from one page to the next.
a minimal example follows:
\setupheader [style=\smallbodyfont\ss\it]
\setupheadertexts [section]
\setuppagenumbering[location={header,margin}, style=\bfc]
\starttext
\section
:
\setuppapersize[A8]
\setupheader [style=\itx\ss]
\setupheadertexts [section]
\setuppagenumbering[location={header,margin}, style=\bfd]
\starttext
\dorecurse{80}{\section{Introduction}
bla\page[yes]}
\stoptext
When the glyph 7 is involved in page number, baseline is a bit lower
?
Hi Jörg,
this sample shows the issue without zooming:
thanks for confirming this. @devs: can this be considered misbehaviour
(not to call it a bug ;-)) or is it somehow unavoidable?
\setuppapersize[A8]
\setupheader [style=\itx\ss]
\setupheadertexts [section
[style=\itx\ss]
\setupheadertexts [section]
\setuppagenumbering[location={header,margin}, style=\bfd]
\starttext
\dorecurse{80}{\section{Introduction}
bla\page[yes]}
\stoptext
When the glyph 7 is involved in page number, baseline is a bit lower. As
you wrote, I guess
. it might be
correct for pablo's
example, but for my original example, which is equivalent to:
\showframe\showglyphs
\setupheader [style=\smallbodyfont\ss\it]
\setupheadertexts [section]
\setuppagenumbering[location={header,margin}, style=\bfc]
\starttext
\dorecurse{10}{\section{Introduction
=\smallbodyfont\ss\it]
\setupheadertexts [section]
\setuppagenumbering[location={header,margin}, style=\bfc]
\starttext
\dorecurse{97}{\section{Introduction}
bla
\page[yes]}
\stoptext
now, it also is obious that the baseline jumps occur in the page numbers
themselves (caused mainly by the
large extension
I observe a slight fluctuation of the baseline of text in the page header
when going from one page to the next.
a minimal example follows:
\setupheader [style=\smallbodyfont\ss\it]
\setupheadertexts [section]
\setuppagenumbering[location={header,margin}, style=\bfc]
\starttext
\section
page?
I have this now:
\setupheadertexts
[Introduzione a SuperCollider][]
[][{\getmarking[chapter]}]
Thanks
Best
-a-
--
Andrea Valle
--
CIRMA - StudiUm
Università degli
One main thing left: how do I remove running titles from the first chapter
page?
I have this now:
\setupheadertexts
[Introduzione a SuperCollider][]
[][{\getmarking[chapter]}]
\setuphead[chapter][header=empty]
Wolfgang
\setupheadertexts[\headerframe][]
This is the body text.
\stoptext
On Wed, Dec 3, 2014 at 10:06 AM, Hans Hagen pra...@wxs.nl wrote:
On 12/1/2014 9:57 PM, Neal Lester wrote:
What is the best way to obtain precise control over the space between
lines in a multi-line running header. I need to be able to set
][headstyle=normal, location=top, stopper={.},
width=\makeupwidth, style={\switchtobodyfont[11pt]}]
\setuphead[section][style=\bfb]
\setuphead[subsection][style=\bfa]
\setupheads[indentnext=yes]
\setupfloats[indentnext=yes]
\setupheadertexts[][{\sl\getmarking[section]}][{\sl \getmarking[chapter
):
\setuppapersize[A4]
2 \setuplayout[style=\ss]
3 %\setupfooter[style=]
4 \setuplanguage[nl][date={dd, -, mm, -, year}]
5
6 \setupheadertexts[CV Guus Bonnema]
7 \setupfootertexts[\currentdate][pagenumber]
8
9 %\definebodyfont[10pt][ss][tfe=lbr at 105pt]
10
Line 4 is the relevant
vi (line 4 is the relevant line):
\setuppapersize[A4]
2 \setuplayout[style=\ss]
3 %\setupfooter[style=]
4 \setuplanguage[nl][date={dd, -, mm, -, year}]
\mainlanguage[nl]
Herbert
5
6 \setupheadertexts[CV Guus Bonnema]
7 \setupfootertexts[\currentdate][pagenumber]
8
9
[PrintHeaderColor]{\PrintHeaderFont
{\getmarking[chapter]}}
\stopallmodes
\stopsetups
\setupheadertexts []
\setupheadertexts [\setups{Header}][][][\setups{Header}]
Again, I prefer a method that can be implemented in the preamble. (MKIV
only
]}}
\stopallmodes
\startallmodes[print,*appendix]
\color[PrintHeaderColor]{\PrintHeaderFont
{\getmarking[chapter]}}
\stopallmodes
\stopsetups
\setupheadertexts []
\setupheadertexts [\setups{Header}][][][\setups{Header}]
Again, I prefer a method that can be implemented
\startallmodes[print,*appendix]
\color[PrintHeaderColor]{\PrintHeaderFont
{\getmarking[chapter]}}
\stopallmodes
\stopsetups
\setupheadertexts []
\setupheadertexts [\setups{Header}][][][\setups{Header}]
Again, I prefer a method that can be implemented in the preamble
I copied \setupheadertexts etc. straight from the
wiki with one change. For the fourth parameter
instead of chapter I substituted \Titlea, which
contains the title of the book. That part works,
But the word chapter as a parameter doesn't.
Here is my pertinent code:
\def\Titlea{Scribus Index
Try this:
\setupheadertexts[{\convertnumber{Romannumerals}{\namedheadnumber{chapter}}\quad\getmarking[chapter]}]
Thanks Wolfgang!
___
If your question is of interest to others as well, please add an entry
=myconversion]
\setupheadertexts[{\getmarking[chapternumber]\quad\getmarking[chapter]}]
\starttext
\startchapter[title=My chapter]
\stopchapter
\startchapter[title=My chapter]
\stopchapter
\stoptext
Best regards
=small]
\setupheadertexts
[{\getmarking[sectionnumber]~\getmarking[section]}]
[pagenumber]
[pagenumber]
[{\getmarking[chapternumber]~\getmarking[chapter]}]
\setuphead[chapter][page={yes,right},header=empty,textstyle=\tfc]
\definehead [intro] [chapter]
\setuphead [intro] [number
]
\setuphead
[section]
[placehead=empty,
page=yes,
after={\blank[none]\blank[nowhite, disable]}]
\setuphead
[subsection]
[placehead=yes,
before={\blank[line]},
after={\blank[line]}]
\setupheadertexts[section]
\showframe
\starttext
\completecontent
\dorecurse{2}
{\section{My
\stopxrow
\stopembeddedxtable
\stopsetups
\setupheadertexts[\texsetup{header:table}]
\starttext
\dorecurse{30}{\input knuth\par}
\stoptext
___
If your question is of interest to others as well, please add an entry
]
[placehead=empty,
page=yes,
after={\vskip 0em\blank[disable]}]
\setuphead
[subsection]
[placehead=yes,
before={\blank[line]},
after={\blank[line]}]
\setupheadertexts[section]
\showframe
\starttext
\completecontent
\dorecurse{2}
{\section{My section}
\dorecurse
A more explicit minimal example of the problem:
\setupheadertexts[section]
\setuphead[section][%
placehead=empty,
before=,
after=]
\setuphead[subsection][%
placehead=yes,
before={\blank[line]},
after={\blank[line]}]
\starttext
\showframe
\section{My section}
\subsection
Am 03.05.2014 um 16:32 schrieb Maggyero maggy...@gmail.com:
A more explicit minimal example of the problem:
\setupheadertexts[section]
\setuphead[section][%
placehead=empty,
before=,
after=]
\setuphead[subsection][%
placehead=yes,
before={\blank[line
'before=\page' or 'after=\page'
without more success. Here is a minimal example showing the absence of page
breaks though I specified 'page=yes' (the section numbers are also
mismatched but if one puts manual page breaks they match again, so it's not
really a problem for me):
\setupheadertexts
\setuphead[section][%
placehead=empty,
before=,
after=]
\setuphead[subsection][%
placehead=yes,
before=\empty,
after={\blank[line]}]
\setupheadertexts[section]
\starttext
\showframe
\section{My section}
\subsection{My subsection (whitespace before)} % Here is my problem
Hello,
Here after is my problem:
\setuphead[section][%
placehead=empty,
before=,
after=]
\setuphead[subsection][%
placehead=yes,
before={\blank[line]},
after={\blank[line]}]
\setupheadertexts[section]
\starttext
\showframe
\section{My section}
\subsection{My subsection
On 4/23/2014 5:50 PM, Maggyero wrote:
Is there a solution?
\definemarking[M]
\marking[M]{Cool}
\setupheadertexts[{Marking: \getmarking[M]}][{Marking: \getmarking[M]}]
\starttext
\startbodymatter
Hello world!
\stopbodymatter
\stoptext
\startbodymatter
\marking[M]{Cool}
Hello world
Is there a solution?
\definemarking[M]
\marking[M]{Cool}
\setupheadertexts[{Marking: \getmarking[M]}][{Marking: \getmarking[M]}]
\starttext
\startbodymatter
Hello world!
\stopbodymatter
\stoptext
___
If your
Hello,
The following lines do display the markings:
\definemarking[M]
\marking[M]{Cool}
\setupheadertexts[{Marking: \getmarking[M]}][{Marking: \getmarking[M]}]
\starttext
Hello world!
\stoptext
but if I use a section block environment they do not:
\definemarking[M]
\marking[M]{Cool
On 08.04.2014 16:20, Pablo Rodriguez wrote:
Dear list,
I have a sample that shows an issue with PDF bookmarks:
\setupinteraction[state=start]
\placebookmarks[chapter]
\setupheadertexts[chapter]
\starttext
\completecontent
\chapter{Footnote\footnote{Only
Dear list,
I have a sample that shows an issue with PDF bookmarks:
\setupinteraction[state=start]
\placebookmarks[chapter]
\setupheadertexts[chapter]
\starttext
\completecontent
\chapter{Footnote\footnote{Only in bookmarks}}
\stoptext
Sorry, but I don’t know why
[bodypart][page=no]
\setupheadertexts[chapter]
\setupinteraction[state=start]
\placebookmarks[chapter]
\starttext
\chapter{\TeX}
\input knuth\par
\startfrontmatter
\dorecurse{5}{\chapter{Front matter}
\input zapf\par}
\stopfrontmatter
301 - 400 of 1017 matches
Mail list logo