Re: [NTG-context] \setupalign (protrusion and expansion) in notes

2016-07-30 Thread Pablo Rodriguez
On 07/30/2016 10:06 AM, Joseph Canedo wrote:
> Had same problem for marginal notes, simply used the align= key to
> specify hanging and hz.
> [...]
> I guess there is similar way to enable protusion and expansion for
> footnotes.

Setups are the way of doing it.

I thought it might be interesting that notes would inherit the setup
from the main text.


Pablo
-- 
http://www.ousia.tk
___
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/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] \setupalign (protrusion and expansion) in notes

2016-07-30 Thread Pablo Rodriguez
On 07/30/2016 12:01 AM, Hans Hagen wrote:
> On 7/29/2016 10:32 PM, Pablo Rodriguez wrote:
>> Hans,
>> [...]
>> Notes don’t inherit by default the \setupalign values.
>>
>> Wouldn’t it make sense that they share the same align values than the
>> main text, unless other values are specified for notes?
> 
> notes really are a separate stream (and also kind of asynchronous ... 
> what if you change the alignment temporary and a page break occurs in 
> between

I understand that they have to be a separate stream.

Of course, I didn’t mean a partial alignment should be inherited in the
notes. I meant the alignment properties for the whole document.

I don’t know whether it would make sense to add a key/value pair to
\setupalign, such as "notes=inherit".

My question is more an open one than a feature request. I don’t know
whether it might be useful (because there is a lot about text streams in
ConTeXt that I simply don’t know).

Many thanks for your help,

Pablo
-- 
http://www.ousia.tk
___
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/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] \setupalign (protrusion and expansion) in notes

2016-07-29 Thread Hans Hagen

On 7/29/2016 10:32 PM, Pablo Rodriguez wrote:

Hans,

I have the following sample:

\definefontfeature
[default]
[default]
[expansion=quality,
 protrusion=quality]

\setupalign
[hanging, hz]

\starttext
\input knuth\footnote{\input knuth}
\stoptext

Notes don’t inherit by default the \setupalign values.

Wouldn’t it make sense that they share the same align values than the
main text, unless other values are specified for notes?


notes really are a separate stream (and also kind of asynchronous ... 
what if you change the alignment temporary and a page break occurs in 
between


the same for headers and footers

Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-
___
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/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

[NTG-context] \setupalign (protrusion and expansion) in notes

2016-07-29 Thread Pablo Rodriguez
Hans,

I have the following sample:

\definefontfeature
[default]
[default]
[expansion=quality,
 protrusion=quality]

\setupalign
[hanging, hz]

\starttext
\input knuth\footnote{\input knuth}
\stoptext

Notes don’t inherit by default the \setupalign values.

Wouldn’t it make sense that they share the same align values than the
main text, unless other values are specified for notes?

Many thanks for your help,


Pablo
-- 
http://www.ousia.tk
___
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/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___