Re: [NTG-context] CLD setupheadertexts

2022-08-25 Thread Willi Egger via ntg-context
Hello! based on the answer Hans posted on my question how to correctly setup header texts in a ConTeXt Lua Document I added a section on the Wiki: https://wiki.contextgarden.net/CLD#Setting_up_Header_Texts Kind regards Willi > On 25 Aug 2022, at 19:45, Hans Hagen wrote: > > On 8/25/2022

Re: [NTG-context] CLD setupheadertexts

2022-08-25 Thread Willi Egger via ntg-context
Hans! Thank you so much for your help and quick answer. Indeed now all header texts appear as expected :-) I will wikify this of course! Kind regards Willi > On 25 Aug 2022, at 19:45, Hans Hagen wrote: > > On 8/25/2022 7:32 PM, Willi Egger via ntg-context wrote: >> Hello! >> I have a

Re: [NTG-context] CLD setupheadertexts

2022-08-25 Thread Hans Hagen via ntg-context
On 8/25/2022 7:32 PM, Willi Egger via ntg-context wrote: Hello! I have a ConTeXt Lua Document where I need to have headertexts. When running the enclosed file I get 6 pages where only page 1 and 2 have header texts and the others none. — Why is that? Thanks for hints! you use a function but

[NTG-context] CLD setupheadertexts

2022-08-25 Thread Willi Egger via ntg-context
Hello! I have a ConTeXt Lua Document where I need to have headertexts. When running the enclosed file I get 6 pages where only page 1 and 2 have header texts and the others none. — Why is that? Thanks for hints! Kind regards Willi Test-headertexts.pdf Description: Adobe PDF document

Re: [NTG-context] \setupheadertexts for chapters with different authors

2022-03-19 Thread jbf via ntg-context
to call on, e.g \startchapter[title={My title}][author={A. uthor}]. But in the example you then gave, you made no use of either of these. My current setting is: \setupheadertexts   [{\hfill\getmarking[chapter]\hfill}][] [{\hfill\documentvariable{metadata:title}\hfill}][] which gives me the book

Re: [NTG-context] \setupheadertexts for chapters with different authors

2022-03-19 Thread Hans Hagen via ntg-context
On 3/19/2022 10:18 AM, Henning Hraban Ramm via ntg-context wrote: BTW, I can’t remember when you need \structurevariable vs. \namedstructurevariable... the first is the current, the second a specific one ... so current can be subsubsubsubsubsection but with named you can still get the current

Re: [NTG-context] \setupheadertexts for chapters with different authors

2022-03-19 Thread Henning Hraban Ramm via ntg-context
is: \setupheadertexts   [{\hfill\getmarking[chapter]\hfill}][] [{\hfill\documentvariable{metadata:title}\hfill}][] which gives me the book title centred on verso pages, and the chapter title centred on recto pages. All I want to do is to have the chapter contributors' name for each chapter instead of the chapter

Re: [NTG-context] \setupheadertexts for chapters with different authors

2022-03-18 Thread jbf via ntg-context
Sorry, of course I meant swap 'chapter' with \setups{contributor} J On 19/3/22 13:16, jbf wrote: Then just swap 'chapter' in \setupheadertexts, with 'contributor'? ___ If your question is of interest to others

Re: [NTG-context] \setupheadertexts for chapters with different authors

2022-03-18 Thread jbf via ntg-context
setting is: \setupheadertexts   [{\hfill\getmarking[chapter]\hfill}][]   [{\hfill\documentvariable{metadata:title}\hfill}][] which gives me the book title centred on verso pages, and the chapter title centred on recto pages. All I want to do is to have the chapter contributors' name for each

Re: [NTG-context] \setupheadertexts for chapters with different authors

2022-03-18 Thread Henning Hraban Ramm via ntg-context
Am 18.03.22 um 10:13 schrieb jbf via ntg-context: Off list for the moment. Late at night where I am. I will take a look at this more closely on the morrow. Thanks. You’re welcome. BTW I answered with some German last time since I mixed up jbf and juh – the latter I know to be German.

Re: [NTG-context] \setupheadertexts for chapters with different authors

2022-03-18 Thread jbf via ntg-context
Off list for the moment. Late at night where I am. I will take a look at this more closely on the morrow. Thanks. Julian On 18/3/22 18:52, Henning Hraban Ramm via ntg-context wrote: \setupheadertexts[] % empty \setupheadertexts[\setups{text right}][][][\setups{text left}] \startsetups[text

Re: [NTG-context] \setupheadertexts for chapters with different authors

2022-03-18 Thread Henning Hraban Ramm via ntg-context
Am 18.03.22 um 01:48 schrieb jbf via ntg-context: I thought this should work, since \structurelistuservariable{author} works fine to call the author name into the TOC, but the same does not work for header texts it seems: \setupheadertexts [{\hfill\getmarking[\structurelistuservariable

[NTG-context] \setupheadertexts for chapters with different authors

2022-03-17 Thread jbf via ntg-context
I thought this should work, since \structurelistuservariable{author} works fine to call the author name into the TOC, but the same does not work for header texts it seems: \setupheadertexts [{\hfill\getmarking[\structurelistuservariable{author}]\hfill}][] [{\hfill\documentvariable

Re: [NTG-context] \setupheadertexts not working when text contains \subject

2022-01-14 Thread Bruce Horrocks via ntg-context
> On 14 Jan 2022, at 07:48, Hans Hagen wrote: > > Ponder this: > > [{\stylePageHeader{\structureuservariable{author}}}] > > versus this: > > [{\stylePageHeader{\namedstructureuservariable{chapter}{author}}}] > > and you can guess what happens. Thank-you for the quick response. It looks

Re: [NTG-context] \setupheadertexts not working when text contains \subject

2022-01-13 Thread Hans Hagen via ntg-context
On 1/14/2022 12:05 AM, Bruce Horrocks via ntg-context wrote: I've found an unexpected interaction between \setupheadertexts and the \subject command, and I'm hoping that someone can tell me what I'm doing wrong. Version: current version: 2022.01.10 08:36 I'm trying to set a book whereby

[NTG-context] \setupheadertexts not working when text contains \subject

2022-01-13 Thread Bruce Horrocks via ntg-context
I've found an unexpected interaction between \setupheadertexts and the \subject command, and I'm hoping that someone can tell me what I'm doing wrong. Version: current version: 2022.01.10 08:36 I'm trying to set a book whereby - chapter title pages have no headers - left hand (even) pages have

Re: [NTG-context] \setupheadertexts \setupfootertexts

2019-08-02 Thread Hans Hagen
Has been there for ages ... (but I never use that method). I has the same question a few years ago but I never used it because it has a few limitations like missing style/color support. \setuplayouttext[header][text][lefttext=L,middletext=M,righttext=R] %\setupheadertexts[M] %\setupheadertexts

Re: [NTG-context] \setupheadertexts \setupfootertexts

2019-08-02 Thread Hans Hagen
but I never used it because it has a few limitations like missing style/color support. I am looking for a simple and obvious way of setting header and footer texts. The \setupheadertexts has limitations and I view this as historical, for ConTeXt commands have evolved over time usually towards better

Re: [NTG-context] \setupheadertexts \setupfootertexts

2019-08-02 Thread Hans Hagen
but I never used it because it has a few limitations like missing style/color support. I am looking for a simple and obvious way of setting header and footer texts. The \setupheadertexts has limitations and I view this as historical, for ConTeXt commands have evolved over time usually towards better

Re: [NTG-context] \setupheadertexts \setupfootertexts

2019-08-02 Thread Alan Braslau
ion a few years ago but I never used it > because it has a few limitations like missing style/color support. I am looking for a simple and obvious way of setting header and footer texts. The \setupheadertexts has limitations and I view this as historical, for ConTeXt commands have evolved over time usual

Re: [NTG-context] \setupheadertexts \setupfootertexts

2019-08-02 Thread Wolfgang Schuster
that method). I has the same question a few years ago but I never used it because it has a few limitations like missing style/color support. \setuplayouttext[header][text][lefttext=L,middletext=M,righttext=R] %\setupheadertexts[M] %\setupheadertexts[L][R] \setupheader   [color=red,style=bold

Re: [NTG-context] \setupheadertexts \setupfootertexts

2019-08-02 Thread Hans Hagen
On 8/2/2019 10:26 PM, Alan Braslau wrote: \setupheader [lefttext=,leftoddtext=,middletext=,...] This would be logical. we have a lot or areas ... and if you really want you can do this ... \setuplayouttext [header][text] [lefttext=L, middletext=M,

Re: [NTG-context] \setupheadertexts \setupfootertexts

2019-08-02 Thread Alan Braslau
won't work anymore. > > \setupheadertexts[{\date[d=...,m=...,y=...]}] Well, what would make sense? I would have no problem dropping/ignoring this (historic) command. How about: \setupheader [left=,leftodd=,middle=,...] \setupfooter or \setupheader [lefttext=,leftoddtext=,middletext=,...] This

Re: [NTG-context] \setupheadertexts \setupfootertexts

2019-08-02 Thread Wolfgang Schuster
Alan Braslau schrieb am 02.08.2019 um 20:29: Hello, \setupheadertexts [{center}] sets a centered header (and wipes-out any left and right header) \setupheadertexts [{left}] [{right}] sets the left and right headers (and keeps the centered header) \setupheadertexts [{left odd}] [{right odd

[NTG-context] \setupheadertexts \setupfootertexts

2019-08-02 Thread Alan Braslau
Hello, \setupheadertexts [{center}] sets a centered header (and wipes-out any left and right header) \setupheadertexts [{left}] [{right}] sets the left and right headers (and keeps the centered header) \setupheadertexts [{left odd}] [{right odd}] [{left even}] [{right even}] sets the left

Re: [NTG-context] Setupheadertexts with if-condition

2019-04-10 Thread Huseyin Özoguz
[chapter]}%             {\doifelsetext{\getmarking[section]}                 {\getmarking[section]}                 {}             }%         } } \setupheadertexts[][\CustomHeader{}{~\|~}\pagenumber][\pagenumber][] Huseyin Özoguz E-Mail: h.oezo...@mmnetz.de Am 10.04.2019 um 13:26 schrieb Hans Hagen

Re: [NTG-context] Setupheadertexts with if-condition

2019-04-10 Thread Hans Hagen
On 4/10/2019 12:29 PM, Huseyin Özoguz wrote: Hello mailing list, I want to use an simple if-condition for this code: \setupheadertexts [][][][{\tfx\bf\getmarking[chapternumber] – \getmarking[chapter]}] My problem: In my case the document dont begin with a chapter but with a section. So

[NTG-context] Setupheadertexts with if-condition

2019-04-10 Thread Huseyin Özoguz
Hello mailing list, I want to use an simple if-condition for this code: \setupheadertexts [][][][{\tfx\bf\getmarking[chapternumber] – \getmarking[chapter]}] My problem: In my case the document dont begin with a chapter but with a section. So at the first pages there is not chapter

Re: [NTG-context] \setupheadertexts except on pages with title of chapter

2017-09-09 Thread Fabrice Couvreur
Hi Pablo, In fact, I looked up after asking my question and found the answer. I should not have asked my question ! Fabrice 2017-09-07 17:31 GMT+02:00 Pablo Rodriguez : > On 09/07/2017 04:43 PM, Fabrice Couvreur wrote: > > Hi Pablo, > > Thanks but I'm confused because I found the

Re: [NTG-context] \setupheadertexts except on pages with title of chapter

2017-09-07 Thread Pablo Rodriguez
On 09/07/2017 04:43 PM, Fabrice Couvreur wrote: > Hi Pablo, > Thanks but I'm confused because I found the answer on the wiki. Hi Fabrice, and which is the problem? Had you searched the answer before and you didn’t found it that search? No problem. Probably you were spending too much time with

Re: [NTG-context] \setupheadertexts except on pages with title of chapter

2017-09-07 Thread Fabrice Couvreur
HI Pablo, Hi Pablo, Thanks but I'm confused because I found the answer on the wiki. Fabrice 2017-09-07 6:35 GMT+02:00 Pablo Rodriguez : > On 09/06/2017 11:04 PM, Fabrice Couvreur wrote: > > Hello, > > I would like that on the pages with the title of the chapter the header > > is

Re: [NTG-context] \setupheadertexts except on pages with title of chapter

2017-09-06 Thread Pablo Rodriguez
On 09/06/2017 11:04 PM, Fabrice Couvreur wrote: > Hello, > I would like that on the pages with the title of the chapter the header > is empty. Hi Fabrice, this is the command you need: \setuphead[chapter][header=empty] I hope it helps, Pablo -- http://www.ousia.tk

[NTG-context] \setupheadertexts except on pages with title of chapter

2017-09-06 Thread Fabrice Couvreur
Hello, I would like that on the pages with the title of the chapter the header is empty. Fabrice \setupheadertexts[{\getmarking[section]}][pagenumber] [{\getmarking[chapter]}][pagenumber] \setuppagenumbering[alternative=,location=] \starttext \placelist[chapter

Re: [NTG-context] About \setupheadertexts : simplify a code

2017-08-19 Thread Jean-Pierre Delange
r ConTeXt users" <ntg-context@ntg.nl> Envoyé: Samedi 19 Août 2017 12:35:24 Objet: Re: [NTG-context] About \setupheadertexts : simplify a code On Sat, 19 Aug 2017, Fabrice Couvreur wrote: > Hello, > I have tried many approaches, but it still does not work. Everything is >

Re: [NTG-context] About \setupheadertexts : simplify a code

2017-08-19 Thread Jeong Dal
ber}}] 57 58 \setupheadertexts 59 [{\headerframed[align=flushleft, foregroundstyle=\ssx] 60 {Lycée JANSON DE SAILLY \\ \date[d=#day,m=#month,y=#year]}}] 61 [{\headerframed[align=flushright, foregroundstyle=\ssx] 62 {#where \\ {#time}}}] 63

Re: [NTG-context] About \setupheadertexts : simplify a code

2017-08-19 Thread Fabrice Couvreur
Hi Aditya, Thank you very much !! I did not know that it was necessary to use \environment instead of \component, it is probably in the documentation Fabrice 2017-08-19 12:35 GMT+02:00 Aditya Mahajan : > On Sat, 19 Aug 2017, Fabrice Couvreur wrote: > > Hello, >> I have tried

Re: [NTG-context] About \setupheadertexts : simplify a code

2017-08-19 Thread Fabrice Couvreur
this to on height=fit, width=fit, location=bottom, boffset=\lineheight, ] \starttexdefinition MyHeader #where #day #month #year #title #number #time \setupheadertexts [{\headerframed[align=middle, foregroundstyle

Re: [NTG-context] About \setupheadertexts : simplify a code

2017-08-18 Thread Jeong Dal
..@ntg.nl 작성: > > About \setupheadertexts : simplify a code ___ 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/n

Re: [NTG-context] About \setupheadertexts : simplify a code

2017-08-18 Thread Fabrice Couvreur
;>> >>> \setupbackgrounds >>> [header] >>> [text] >>> [ >>> frame=off, >>> bottomframe=on, >>> framecolor=darkgray, >>> rulethickness=2pt, >>> ] >>> >>> \defineframed[headerfr

Re: [NTG-context] About \setupheadertexts : simplify a code

2017-08-18 Thread Rik
le #number #time     \setupheadertexts [{\headerframed[align=middle, foregroundstyle=bold, foregroundcolor=red]     {#title n\high{o}\,#number}}]     \setupheadertexts [{\headerframed[align=flushleft, foregroundstyle=\ssx]   {Lycée JANSON DE S

Re: [NTG-context] About \setupheadertexts : simplify a code

2017-08-18 Thread Fabrice Couvreur
unds >>> [header] >>> [text] >>> [ >>> frame=off, >>> bottomframe=on, >>> framecolor=darkgray, >>> rulethickness=2pt, >>> ] >>> >>> \defineframed[headerframed] >>>

Re: [NTG-context] About \setupheadertexts : simplify a code

2017-08-18 Thread Fabrice Couvreur
set this to on >> height=fit, >>width=fit, >>location=bottom, >>boffset=\lineheight, >> ] >> >> \starttexdefinition MyHeader #where #day #month #year #title #number #time >> >>

Re: [NTG-context] About \setupheadertexts : simplify a code

2017-08-18 Thread Aditya Mahajan
On Fri, 18 Aug 2017, Fabrice Couvreur wrote: Hello, It's ok for me if I compile the Aditya file. I have another problem with a simple structure. I created the file MyLayout.tex containing the macro and I want to call this macro in the dm1.tex file, but it does not work. Thank you Fabrice

Re: [NTG-context] About \setupheadertexts : simplify a code

2017-08-18 Thread Rik Kabel
#where #day #month #year #title #number #time     \setupheadertexts   [{\headerframed[align=middle, foregroundstyle=bold, foregroundcolor=red]     {#title n\high{o}\,#number}}]     \setupheadertexts   [{\headerframed[align=flushleft, foregrou

Re: [NTG-context] About \setupheadertexts : simplify a code

2017-08-18 Thread Fabrice Couvreur
t; [ >frame=off, % For visualization set this to on >height=fit, >width=fit, >location=bottom, >boffset=\lineheight, > ] > > \starttexdefinition MyHeader #where #day #month #y

Re: [NTG-context] About \setupheadertexts : simplify a code

2017-08-18 Thread Rik Kabel
    \setupheadertexts   [{\headerframed[align=middle, foregroundstyle=bold, foregroundcolor=red]     {#title n\high{o}\,#number}}]     \setupheadertexts   [{\headerframed[align=flushleft, foregroundstyle=\ssx]   {Lycée JANSON DE SAILLY \\ \date[d=#day,m=#month,y=#year

Re: [NTG-context] About \setupheadertexts : simplify a code

2017-08-18 Thread Fabrice Couvreur
, % For visualization set this to on height=fit, width=fit, location=bottom, boffset=\lineheight, ] \starttexdefinition MyHeader #where #day #month #year #title #number #time \setupheadertexts [{\headerframed[align=middle

Re: [NTG-context] About \setupheadertexts : simplify a code

2017-08-18 Thread Otared Kavian
Hi Aditya, Thanks for having sent the example file: indeed with your file I can typeset the example and see the expected result. I don’t know what happened when I copied and pasted the example from the e-mail… I think the command % macros = mkvi was not set correctly written at the first

Re: [NTG-context] About \setupheadertexts : simplify a code

2017-08-18 Thread Aditya Mahajan
On Fri, 18 Aug 2017, Otared Kavian wrote: Hi Aditya, I tried to typeset your example, but got an error: whether or not the command % macros=mkvi is present on the fist line, then ConTeXt complains saying that ! Illegal parameter number in definition of \MyHeader and stops

Re: [NTG-context] About \setupheadertexts : simplify a code

2017-08-18 Thread Fabrice Couvreur
uot;mailing list for ConTeXt users" <ntg-context@ntg.nl> > Envoyé: Vendredi 18 Août 2017 11:45:47 > Objet: Re: [NTG-context] About \setupheadertexts : simplify a code > > Hi Aditya, > > I tried to typeset your example, but got an error: whether or not the > command &g

Re: [NTG-context] About \setupheadertexts : simplify a code

2017-08-18 Thread Fabrice Couvreur
" <ntg-context@ntg.nl> > Envoyé: Vendredi 18 Août 2017 11:45:47 > Objet: Re: [NTG-context] About \setupheadertexts : simplify a code > > Hi Aditya, > > I tried to typeset your example, but got an error: whether or not the > command > % macros=mkvi > i

Re: [NTG-context] About \setupheadertexts : simplify a code

2017-08-18 Thread Jean-Pierre Delange
der - Mail original - De: "Otared Kavian" <ota...@gmail.com> À: "mailing list for ConTeXt users" <ntg-context@ntg.nl> Envoyé: Vendredi 18 Août 2017 11:45:47 Objet: Re: [NTG-context] About \setupheadertexts : simplify a code Hi Aditya, I tried to typeset your

Re: [NTG-context] About \setupheadertexts : simplify a code

2017-08-18 Thread Fabrice Couvreur
tomframe=on, > >framecolor=darkgray, > >rulethickness=2pt, > > ] > > > > \defineframed[headerframed] > > [ > > frame=off, % For visualization set this to on > > height=fit, > >

Re: [NTG-context] About \setupheadertexts : simplify a code

2017-08-18 Thread Otared Kavian
kgray, >rulethickness=2pt, > ] > > \defineframed[headerframed] > [ > frame=off, % For visualization set this to on > height=fit, > width=fit, > location=bottom, > boffset=\lineheight, >

Re: [NTG-context] About \setupheadertexts : simplify a code

2017-08-17 Thread Aditya Mahajan
#title #number #time \setupheadertexts [{\headerframed[align=middle, foregroundstyle=bold, foregroundcolor=red] {#title n\high{o}\,#number}}] \setupheadertexts [{\headerframed[align=flushleft, foregroundstyle=\ssx] {Lycée JANSON DE SAILLY \\ \date[d=#day,m

Re: [NTG-context] About \setupheadertexts : simplify a code

2017-08-17 Thread Henri
e #number #time    \setupheadertexts [{\headerframed[align=middle]{\\ \ss\sc\bf\red #title n\high{o}\,#number \\ }}]       \setupheadertexts [{\headerframed[align=right]{\tfx \ss Lycée JANSON DE SAILLY \\ \date[d=#day,m=#month,y=#year]}}] [{\headerframed[align=left]{\tfx\ss #

[NTG-context] About \setupheadertexts : simplify a code

2017-08-17 Thread Fabrice Couvreur
, width=fit,height=\headerheight] \defineframed[headerframedmiddle] [frame=off, align=middle, width=fit,height=\headerheight] \starttexdefinition MyHeader #where #day #month #year #title #number #time \setupheadertexts [\headerframedmiddle{\\ \ss\sc\bf\red

Re: [NTG-context] bug getting part for \setupheadertexts?

2017-04-01 Thread Pablo Rodriguez
On 04/01/2017 10:33 AM, Pablo Rodriguez wrote: > Dear list, > > as Hraban already reported, there might be a bug in: > > \setupheadertexts[section][chapter][part][section] > > \starttext > \dorecurse{10}{\part{Part} > \chapter{Chapter} >

[NTG-context] bug getting part for \setupheadertexts?

2017-04-01 Thread Pablo Rodriguez
Dear list, as Hraban already reported, there might be a bug in: \setupheadertexts[section][chapter][part][section] \starttext \dorecurse{10}{\part{Part} \chapter{Chapter} \dorecurse{5}{\section{Section}\page}} \stoptext Replacing [part] with [\getmarking{part

[NTG-context] Problem with getmarking and setupheadertexts

2013-04-03 Thread H. Özoguz
Hi together, what is wrong with the following shortexample? \setupheadertexts [] [{\cap\getmarking[chapter]}] [][] \starttext \startchapter[ title={Long long long title, it is indeed}, marking = {Shorter Title}, ] \stopchapter \stoptext

Re: [NTG-context] Problem with getmarking and setupheadertexts

2013-04-03 Thread Philipp Gesang
···date: 2013-04-03, Wednesday···from: H. Özoguz··· Hi together, what is wrong with the following shortexample? \setupheadertexts [] [{\cap\getmarking[chapter]}] [][] \starttext \startchapter[ title={Long long long title, it is indeed

[NTG-context] \setupheadertexts [section]

2013-03-26 Thread Alan BRASLAU
Hello, \setupheadertexts [chapter] will center the current chapter title (or abbreviated version using marking=) in the running page headers. However, how can one also put unnumbered chapter-level titles (\starttitle\stoptitle) in the running headers? \setupheadertexts [chapter,title] seems

Re: [NTG-context] \setupheadertexts [section]

2013-03-26 Thread Otared Kavian
chapter). Best regards: OK On 26 mars 2013, at 11:37, Alan BRASLAU alan.bras...@cea.fr wrote: Hello, \setupheadertexts [chapter] will center the current chapter title (or abbreviated version using marking=) in the running page headers. However, how can one also put unnumbered chapter-level

Re: [NTG-context] \setupheadertexts [section]

2013-03-26 Thread Alan BRASLAU
a section. One should just go back up one level, as is the case for the introductory remarks. Also, I tried putting a unnumbered chapter (\starttitle\stoptitle). Indeed, this corresponds to the first part of my question concering \setupheadertexts [chapter,title]. I supposed that one can try

Re: [NTG-context] CLD: setupheadertexts

2011-12-26 Thread Willi Egger
Hello Wolfgang, On 25 Dec 2011, at 10:21, Wolfgang Schuster wrote: Am 24.12.2011 um 18:09 schrieb Willi Egger: Hi Wolfgang, thank you. The reason why I ask this question is, because \setupheadertexts has 4 arguments and I was curious about how this would be solved in context

Re: [NTG-context] CLD: setupheadertexts

2011-12-25 Thread Wolfgang Schuster
Am 24.12.2011 um 18:09 schrieb Willi Egger: Hi Wolfgang, thank you. The reason why I ask this question is, because \setupheadertexts has 4 arguments and I was curious about how this would be solved in context/setupheadertexts. I will look into your solution. I am not sure whether

[NTG-context] CLD: setupheadertexts

2011-12-24 Thread Willi Egger
Hi, there are still questions how to use the context.setupheadertexts. - why is on even pages the header not set when using the example below? - how to make odd and even pages carrying a different header text? \setuplabeltext[en][A=Happy New Year] \startluacode function myheadertext(s)

Re: [NTG-context] CLD: setupheadertexts

2011-12-24 Thread Wolfgang Schuster
Am 24.12.2011 um 11:10 schrieb Willi Egger: Hi, there are still questions how to use the context.setupheadertexts. - why is on even pages the header not set when using the example below? It’s explained on page 26 of the cld manual. You should also create your functions in the userdata

Re: [NTG-context] CLD: setupheadertexts

2011-12-24 Thread Willi Egger
Hi Wolfgang, thank you! For the moment I can do the project. - Still I wonder how to achieve odd/even page headerstexts. Have a nice weekend Willi On 24 Dec 2011, at 12:02, Wolfgang Schuster wrote: Am 24.12.2011 um 11:10 schrieb Willi Egger: Hi, there are still questions how to use

Re: [NTG-context] CLD: setupheadertexts

2011-12-24 Thread Wolfgang Schuster
] \setupheadertexts[\doifoddpageelse{Right page}{Left page}] \starttext \dorecurse{10}{\dontleavehmode\page} \stoptext Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki

Re: [NTG-context] CLD: setupheadertexts

2011-12-24 Thread Willi Egger
Hi Wolfgang, thank you. The reason why I ask this question is, because \setupheadertexts has 4 arguments and I was curious about how this would be solved in context/setupheadertexts. I will look into your solution. I am not sure whether it will fit into the cld-project. Merry Christmas

Re: [NTG-context] setupheadertexts + kap/uppercase

2006-01-23 Thread Hans Hagen
keyword in my search :-( shame on me.) Anyway, \uppercase have some problems. I get with --- \enableregime[utf] \setupheadertexts[][{\expanded{\uppercase{\fetchmark[chapter][first]}}}] \starttext \chapter{Einf�hrung} % EINF�HRUNG \uppercase{���} % should be ��SS

Re: [NTG-context] setupheadertexts + kap/uppercase

2006-01-23 Thread Tobias Burnus
Hello, Hans Hagen schrieb: \WORD Hmm, using \WORD{Hell\odiaeresis\udiaeresis\ssharp} it works, but if I replace the symbolic names by UTF-8 characters: \WORD{Hö} I get: ! Undefined control sequence. \unicodechar ...harnumber #1\futurelet \nextglyph

Re: [NTG-context] setupheadertexts + kap/uppercase

2006-01-23 Thread Hans Hagen
Tobias Burnus wrote: Hello, Hans Hagen schrieb: \WORD Hmm, using \WORD{Hell\odiaeresis\udiaeresis\ssharp} it works, but if I replace the symbolic names by UTF-8 characters: \WORD{Hö} I get: ! Undefined control sequence. \unicodechar ...harnumber #1\futurelet \nextglyph

[NTG-context] setupheadertexts + kap/uppercase

2006-01-21 Thread Tobias Burnus
Hello, I think I have a expand problem. I want to have \setupheadertexts[pagenumber][{\getmarking[chapter][current]}][section][pagenumber] with the chapter in \uppercase/\kaps. The problem is that adding a \uppercase or \kap before the {\getmarking} ends up with nothing and all my attemps

Re: [NTG-context] setupheadertexts + kap/uppercase

2006-01-21 Thread Sebastian Rooks
Hello, Did you try with a \fetchmark[chapter][first] as explained on the wiki ? http://wiki.contextgarden.net/Headers_and_Footers , section 2 Using capitals Yours, SeB Tobias Burnus a écrit : Hello, I think I have a expand problem. I want to have \setupheadertexts[pagenumber

Re: [NTG-context] setupheadertexts + kap/uppercase

2006-01-21 Thread Tobias Burnus
on me.) Anyway, \uppercase have some problems. I get with --- \enableregime[utf] \setupheadertexts[][{\expanded{\uppercase{\fetchmark[chapter][first]}}}] \starttext \chapter{Einführung} % EINFÜHRUNG \uppercase{ÄÖÜäöüß} % should be ÄÖÜÄÖÜSS \stoptext

[NTG-context] setupheadertexts

2003-12-01 Thread Severin Obertuefer
hi I defined e new head like this: \definehead[class][subject] \setuphead[class][placehead=no] in the text I defined a head as \class{TRANSLATOR\_APPLICATION} in my header I want to have the follwoing output: Exercise 5 - TRANSLATOR_APPLICATION i tried \setupheadertexts[Exercise 5 - class

Re: [NTG-context] setupheadertexts

2003-12-01 Thread Tobias Burnus
][placehead=no] \setupheadertexts[{Exercise 5 - \getmarking[class]}] \class{TRANSLATOR\_APPLICATION} \bye - Tobias ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context

Re: [NTG-context] \setupheadertexts

2003-09-05 Thread John Culleton
On Monday 18 August 2003 18:32, Tobias Burnus wrote: Hi, John Culleton wrote: I want to have chapter names in the header text and I want them in boldface. How about: \setupheader[text][style=bold] \setupheadertexts[text][My book][chapter] or alternatively, \setupheadertexts