Re: [NTG-context] \setupheader: leftstyle rightstyle

2007-07-24 Thread Giuseppe Bilotta
Sunday, July 22, 2007 Mojca Miklavec wrote: However, there seems to be a little bug. This works perfectly well for section (\getmarking[section]), but for chapter the chapter labels seem to be erased after the first appearance. Do you have a \page[even] in between? I've found that the

Re: [NTG-context] \setupheader: leftstyle rightstyle

2007-07-23 Thread Mojca Miklavec
On 7/23/07, Matt Gushee wrote: Mojca Miklavec wrote: \setupheadertexts [\sc Book Title][] [][{\it (\getmarking[chapter][current])}] Okay, that seems to work, too. But why use the [current] argument? Are there conditions where \getmarking[chapter] doesn't return the

[NTG-context] \setupheader: leftstyle rightstyle

2007-07-22 Thread Matt Gushee
Hi, all-- I would like to use different styles for left and right headers in a book: I would like to set the left side (which shows the book title) in small caps, and the right side (chapter title) in italics. \setupheader[style=\sc] works fine. So does \setupheader[style=\it] But

Re: [NTG-context] \setupheader: leftstyle rightstyle

2007-07-22 Thread Patrick Gundlach
Hello Matt, \setupheader[leftstyle=\sc,rightstyle=\it] I think the reference is wrong here, I couldn't find 'leftstyle' and 'rightstyle' in the source. And \setupheader is AFAIU for the section title. You can use \setupheadertexts. See the example:

Re: [NTG-context] \setupheader: leftstyle rightstyle

2007-07-22 Thread Mojca Miklavec
On 7/22/07, Matt Gushee wrote: Hi, all-- I would like to use different styles for left and right headers in a book: I would like to set the left side (which shows the book title) in small caps, and the right side (chapter title) in italics. \setupheader[style=\sc] works fine. So does

Re: [NTG-context] \setupheader: leftstyle rightstyle

2007-07-22 Thread Alex K
Message From: Mojca Miklavec [EMAIL PROTECTED] To: mailing list for ConTeXt users ntg-context@ntg.nl Sent: Sunday, July 22, 2007 7:56:12 AM Subject: Re: [NTG-context] \setupheader: leftstyle rightstyle On 7/22/07, Matt Gushee wrote: Hi, all-- I would like to use different styles for left

Re: [NTG-context] \setupheader: leftstyle rightstyle

2007-07-22 Thread Matt Gushee
Patrick Gundlach wrote: 'rightstyle' in the source. And \setupheader is AFAIU for the section title. AFAIU? Sorry, I'm not familiar with that acronym. \setupheadertexts[{\sc This is my book!}][{\it \getmarking[section]}] Ah, yes, that does the trick! Thank you. Mojca Miklavec wrote:

[NTG-context] \setupheader: leftstyle rightstyle not working

2007-07-21 Thread Matt Gushee
[sorry if this appears twice--I accidentally sent it from the wrong e-mail account] Hi, all-- I would like to use different styles for left and right headers in a book: I would like to set the left side (which shows the book title) in small caps, and the right side (chapter title) in