The following MWE gives "false false" instead of "false true". I'm sure this
used to work (18 months or more ago!) as I found it when re-processing an old
document.
---start---
\setdataset [DS] [a=]
\setdataset [DS] [a=]
\starttext
:\datasetvariable{DS}{1}{a}: \crlf
:\datasetvariable{DS}{2
On 02/20/2014 11:32 PM, Thangalin wrote:
> Have you looked at:
>
> http://wiki.contextgarden.net/Headers_and_Footers#Marginal_headings_and_centered_headings
>
> ?
Many thanks for your reply, Thagalin.
I even compiled the sample code, but I hadn’t understood how the
\setupheadertexts worked with
On 02/20/2014 11:23 PM, Wolfgang Schuster wrote:
> Am 20.02.2014 um 23:09 schrieb Pablo Rodriguez :
>> [...]
>> Only a minor detail: is there a more proper way to center both headings?
>
> You can use the simple version of \setupheadertexts and use \doifoddpageelse
> to check whether you’re on a l
Have you looked at:
http://wiki.contextgarden.net/Headers_and_Footers#Marginal_headings_and_centered_headings
?
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-
Am 20.02.2014 um 23:09 schrieb Pablo Rodriguez :
> On 02/20/2014 09:39 PM, Wolfgang Schuster wrote:
>> Am 20.02.2014 um 21:12 schrieb Pablo Rodriguez:
>>> [...]
>>> How can I make the first conditional work?
>>
>> You can’t, markings are only reliable when you use them in the
>> header of footer
On 02/20/2014 09:39 PM, Wolfgang Schuster wrote:
> Am 20.02.2014 um 21:12 schrieb Pablo Rodriguez:
>> [...]
>> How can I make the first conditional work?
>
> You can’t, markings are only reliable when you use them in the
> header of footer of the page.
>
> To access the values of a heading you ca
Am 20.02.2014 um 21:12 schrieb Pablo Rodriguez :
> Dear list,
>
> I have the following sample:
>
> \starttext
>
> \chapter{Chapter}
>
> .\doifemptyelse{\getmarking[section][current]}
>{\getmarking[chapter][current]}
>{\getmarking[section][current]}.
>
> \section{Section}
>
> .\doife
Dear list,
I have the following sample:
\starttext
\chapter{Chapter}
.\doifemptyelse{\getmarking[section][current]}
{\getmarking[chapter][current]}
{\getmarking[section][current]}.
\section{Section}
.\doifemptyelse{\getmarking[section][current]}
{\getmarking[chapter][current]}