Re: [NTG-context] two suggestions for \setuphead

2017-03-28 Thread Pablo Rodriguez
On 03/27/2017 10:15 PM, Hans Hagen wrote: > On 3/27/2017 9:49 PM, Pablo Rodriguez wrote: >> [...] >> One of the results of no value for width in margin data is a tricky >> approach to its alignment. >> >> But since I seem to be the only one interested in aligning margin data, >> I guess this is per

Re: [NTG-context] two suggestions for \setuphead

2017-03-27 Thread Hans Hagen
On 3/27/2017 9:49 PM, Pablo Rodriguez wrote: On 03/27/2017 09:29 PM, Hans Hagen wrote: On 3/27/2017 8:00 PM, Pablo Rodriguez wrote: Sorry, I was trying to understand why width has no default value in margin data. because there was no need, as it anchors at the side of the text Sorry again,

Re: [NTG-context] two suggestions for \setuphead

2017-03-27 Thread Pablo Rodriguez
On 03/27/2017 09:29 PM, Hans Hagen wrote: > On 3/27/2017 8:00 PM, Pablo Rodriguez wrote: >> Sorry, I was trying to understand why width has no default value in >> margin data. > > because there was no need, as it anchors at the side of the text Sorry again, but I must be missing something extreme

Re: [NTG-context] two suggestions for \setuphead

2017-03-27 Thread Hans Hagen
On 3/27/2017 8:00 PM, Pablo Rodriguez wrote: On 03/27/2017 05:22 PM, Hans Hagen wrote: On 3/27/2017 3:57 PM, Pablo Rodriguez wrote: [...] On a second thought, I wonder why width in \setupmargindata hasn’t its default value to \leftmarginwidth or \rightmarginwidth depending on the chosen locatio

Re: [NTG-context] two suggestions for \setuphead

2017-03-27 Thread Pablo Rodriguez
On 03/27/2017 05:22 PM, Hans Hagen wrote: > On 3/27/2017 3:57 PM, Pablo Rodriguez wrote: >> [...] >> On a second thought, I wonder why width in \setupmargindata hasn’t its >> default value to \leftmarginwidth or \rightmarginwidth depending on the >> chosen location value for the same \setupmarginda

Re: [NTG-context] two suggestions for \setuphead

2017-03-27 Thread Hans Hagen
On 3/27/2017 3:57 PM, Pablo Rodriguez wrote: On 03/26/2017 10:20 PM, Wolfgang Schuster wrote: Pablo Rodriguez schrieb am 26. März 2017 um 22:09: [...] I’m afraid that I found an issue. Alignment in margindata doesn’t work: \showframe \definemargindata[outerhead][outer] \setupmargindata[outerhe

Re: [NTG-context] two suggestions for \setuphead

2017-03-27 Thread Pablo Rodriguez
On 03/26/2017 10:20 PM, Wolfgang Schuster wrote: >> Pablo Rodriguez schrieb am 26. März 2017 um 22:09: >> [...] >> I’m afraid that I found an issue. Alignment in margindata doesn’t work: >> >> \showframe >> >> \definemargindata[outerhead][outer] >> \setupmargindata[outerhead][align=center] > > \se

Re: [NTG-context] two suggestions for \setuphead

2017-03-26 Thread Pablo Rodriguez
On 03/26/2017 10:20 PM, Wolfgang Schuster wrote: >> Pablo Rodriguez schrieb am 26. März 2017 um 22:09: >> [...] >> \definemargindata[outerhead][outer] >> \setupmargindata[outerhead][align=center] > > \setupmargindata[outerhead][align=center,width=\rightmarginwidth] Many thanks for your help, Wolfg

Re: [NTG-context] two suggestions for \setuphead

2017-03-26 Thread Wolfgang Schuster
Pablo Rodriguez 26. März 2017 um 22:09via Postbox Many thanks for the implementation, Hans. I’m afraid that I found an issue. Alignment in margindata doesn’t work: \showframe \define

Re: [NTG-context] two suggestions for \setuphead

2017-03-26 Thread Pablo Rodriguez
On 03/26/2017 04:11 PM, Hans Hagen wrote: > On 3/23/2017 8:45 PM, Pablo Rodriguez wrote: >> [...] >> Would it be possible to implement both proposals in ConTeXt? > > i'll add this (should cover both) Many thanks for the implementation, Hans. I’m afraid that I found an issue. Alignment in margind

Re: [NTG-context] two suggestions for \setuphead

2017-03-26 Thread Hans Hagen
On 3/23/2017 8:45 PM, Pablo Rodriguez wrote: On 03/22/2017 10:13 PM, Hans Hagen wrote: On 3/15/2017 8:59 PM, Pablo Rodriguez wrote: [...] Would it be possible in this case to set both numberalign and textalign? (If no margin or inmargin alternative is selected and both numberalign and textalign

Re: [NTG-context] two suggestions for \setuphead

2017-03-23 Thread Pablo Rodriguez
On 03/22/2017 10:13 PM, Hans Hagen wrote: > On 3/15/2017 8:59 PM, Pablo Rodriguez wrote: >> [...] >> Would it be possible in this case to set both numberalign and textalign? >> (If no margin or inmargin alternative is selected and both numberalign >> and textalign are specified, textalign should ha

Re: [NTG-context] two suggestions for \setuphead

2017-03-22 Thread Hans Hagen
On 3/15/2017 8:59 PM, Pablo Rodriguez wrote: Hans, here is my minimal sample: \showframe \starttext \setuphead[section][alternative=margin] \section{This is a title} \stoptext After having to adapt a special page design for a friend, I realized that reverse would be an even

[NTG-context] two suggestions for \setuphead

2017-03-15 Thread Pablo Rodriguez
Hans, here is my minimal sample: \showframe \starttext \setuphead[section][alternative=margin] \section{This is a title} \stoptext After having to adapt a special page design for a friend, I realized that reverse would be an even greater value for the alternative option in \s