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

2022-03-19 Thread jbf via ntg-context
Thanks for the bits and pieces to the puzzle. I'll do my best to make sense of them and solve the problem. Julian On 19/3/22 20:18, Henning Hraban Ramm via ntg-context wrote: Hi Julian, you’re right, the example didn’t do what you wanted, and it didn’t intend to. Using \getmarking you can

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
Hi Julian, you’re right, the example didn’t do what you wanted, and it didn’t intend to. Using \getmarking you can get a section title (or another “mark”), you can’t combine it with the variable commands, and you don’t need it for your case.

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 as

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

2022-03-18 Thread jbf via ntg-context
I might need a little more help just to understand how best to adapt this to my situation: One thing is clear: I was attempting to use a 'list' variable, and I can see why that was an error, since it is headertexts, not TOC that I want to influence. But let me simplify my situation: You

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

[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}][]

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
On 8/2/2019 11:36 PM, Wolfgang Schuster wrote: Hans Hagen schrieb am 02.08.2019 um 23:10: 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 ...

Re: [NTG-context] \setupheadertexts \setupfootertexts

2019-08-02 Thread Hans Hagen
On 8/2/2019 11:59 PM, Alan Braslau wrote: On Fri, 2 Aug 2019 23:36:47 +0200 Wolfgang Schuster wrote: we have a lot or areas ... and if you really want you can do this ... \setuplayouttext Has been there for ages ... (but I never use that method). I has the same question a few years ago

Re: [NTG-context] \setupheadertexts \setupfootertexts

2019-08-02 Thread Hans Hagen
On 8/2/2019 11:59 PM, Alan Braslau wrote: On Fri, 2 Aug 2019 23:36:47 +0200 Wolfgang Schuster wrote: we have a lot or areas ... and if you really want you can do this ... \setuplayouttext Has been there for ages ... (but I never use that method). I has the same question a few years ago

Re: [NTG-context] \setupheadertexts \setupfootertexts

2019-08-02 Thread Alan Braslau
On Fri, 2 Aug 2019 23:36:47 +0200 Wolfgang Schuster wrote: > > we have a lot or areas ... and if you really want you can do this ... > > > > \setuplayouttext > > > > 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 >

Re: [NTG-context] \setupheadertexts \setupfootertexts

2019-08-02 Thread Wolfgang Schuster
Hans Hagen schrieb am 02.08.2019 um 23:10: 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,   

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
On Fri, 2 Aug 2019 21:08:00 +0200 Wolfgang Schuster wrote: Thank you > When you use three arguments the first is used for the position of text, > i.e. above the text, margin or edge areas. I know this, and I find the syntax unfortunate, to say the least. > Only six or seven arguments work

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 and

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

2019-04-10 Thread Huseyin Özoguz
\doifelsemarking or \doifelsetext Thanks, that worked. My final solution (just for the archive, it seems to be more suitable than the solution in the wiki): \define\CustomHeader{%    \cap{     \doifelsetext{\getmarking[chapter]}%         {Kapitel \getmarking[chapternumber]:

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 at

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

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

[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
Hi Alan, I think the reason is that ConTeXt expects any text to be part of a certain structure as in Chapter Section Subsection and therefore what you add after your chapter, that is \page [yes] Some trailing remarks… should be part of a new chapter (or maybe an unnumbered

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

2013-03-26 Thread Alan BRASLAU
On Tue, 26 Mar 2013 12:00:49 +0100 Otared Kavian ota...@gmail.com wrote: I think the reason is that ConTeXt expects any text to be part of a certain structure as in Chapter Section Subsection and therefore what you add after your chapter, that is \page [yes] Some trailing remarks…

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

2006-01-23 Thread Hans Hagen
Tobias Burnus wrote: Hello, Sebastian Rooks schrieb: Did you try with a \fetchmark[chapter][first] as explained on the wiki ? http://wiki.contextgarden.net/Headers_and_Footers , section 2 Using capitals That indeed worked. (I looked at ConTeXtgarden, but I seemingly missed the right

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

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

2006-01-21 Thread Tobias Burnus
Hello, Sebastian Rooks schrieb: Did you try with a \fetchmark[chapter][first] as explained on the wiki ? http://wiki.contextgarden.net/Headers_and_Footers , section 2 Using capitals That indeed worked. (I looked at ConTeXtgarden, but I seemingly missed the right keyword in my search :-( shame

[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
Hi, On Mon, Dec 01, 2003 at 08:13:37PM +0100, Severin Obertuefer wrote: in my header I want to have the follwoing output: Exercise 5 - TRANSLATOR_APPLICATION You miss the command \getmarking. Try the following: - \definehead[class][subject]

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,