ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* \setupalign (protrusion and expansion) in notes
@ 2016-07-29 20:32 Pablo Rodriguez
  2016-07-29 22:01 ` Hans Hagen
  0 siblings, 1 reply; 4+ messages in thread
From: Pablo Rodriguez @ 2016-07-29 20:32 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: \setupalign (protrusion and expansion) in notes
  2016-07-29 20:32 \setupalign (protrusion and expansion) in notes Pablo Rodriguez
@ 2016-07-29 22:01 ` Hans Hagen
  2016-07-30  6:50   ` Pablo Rodriguez
  0 siblings, 1 reply; 4+ messages in thread
From: Hans Hagen @ 2016-07-29 22:01 UTC (permalink / raw)
  To: ntg-context

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: \setupalign (protrusion and expansion) in notes
  2016-07-29 22:01 ` Hans Hagen
@ 2016-07-30  6:50   ` Pablo Rodriguez
       [not found]     ` <579c600a.915c1c0a.fee4a.34d9@mx.google.com>
  0 siblings, 1 reply; 4+ messages in thread
From: Pablo Rodriguez @ 2016-07-30  6:50 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: \setupalign (protrusion and expansion) in notes
       [not found]     ` <579c600a.915c1c0a.fee4a.34d9@mx.google.com>
@ 2016-07-30 11:07       ` Pablo Rodriguez
  0 siblings, 0 replies; 4+ messages in thread
From: Pablo Rodriguez @ 2016-07-30 11:07 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-07-30 11:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-29 20:32 \setupalign (protrusion and expansion) in notes Pablo Rodriguez
2016-07-29 22:01 ` Hans Hagen
2016-07-30  6:50   ` Pablo Rodriguez
     [not found]     ` <579c600a.915c1c0a.fee4a.34d9@mx.google.com>
2016-07-30 11:07       ` Pablo Rodriguez

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).