ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* line notes compress
@ 2013-12-02 14:31 Hans Hagen
  2013-12-02 20:04 ` Pablo Rodriguez
  0 siblings, 1 reply; 3+ messages in thread
From: Hans Hagen @ 2013-12-02 14:31 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi,

The linenote compression options (and control) has been upgraded:

\definepapersize
   [mine]
   [width=8cm,
    height=6cm]

\setuplayout
   [location=middle,
    width=middle,
    height=middle,
    headerdistance=5mm]

\setuppapersize
   [mine]
   [oversized]

\definelinenote
   [MyNote]

\setupnote
   [MyNote]
   [paragraph=yes]

\setupnotation
   [MyNote]
   [alternative=serried,
    distance=.5em,
    width=broad]

\setupalign
   [verytolerant]

\showframe

\startbuffer
     \setupfootertexts[\ttxx 
compress=\namednoteparameter{MyNote}{compress}\quad 
compressmethod=\namednoteparameter{MyNote}{compressmethod}]
     \startlinenumbering
         This\MyNote{That} context\MyNote{document} is\MyNote{was} a
         sample\MyNote{an example} that I\MyNote{she} want\MyNote{didn’t
         want} to show\MyNote{publish}
     \stoplinenumbering
     \page
\stopbuffer

\starttext
     \setupnote[MyNote][compress=yes,compressmethod=stopper]   \getbuffer
     \setupnote[MyNote][compress=yes,compressmethod=separator] \getbuffer
     \setupnote[MyNote][compress=yes,compressmethod=space]     \getbuffer
     \setupnote[MyNote][compress=yes,compressmethod=]          \getbuffer
     \setupnote[MyNote][compress=no,compressmethod=stopper]    \getbuffer
     \setupnote[MyNote][compress=no,compressmethod=separator]  \getbuffer
     \setupnote[MyNote][compress=no,compressmethod=space]      \getbuffer
     \setupnote[MyNote][compress=no,compressmethod=]           \getbuffer
\stoptext

Keep in mind that paragraph notes are somewhat special so some tolerance 
in alignment helps.

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | 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] 3+ messages in thread

* Re: line notes compress
  2013-12-02 14:31 line notes compress Hans Hagen
@ 2013-12-02 20:04 ` Pablo Rodriguez
  2013-12-03  8:54   ` Hans Hagen
  0 siblings, 1 reply; 3+ messages in thread
From: Pablo Rodriguez @ 2013-12-02 20:04 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 12/02/2013 03:31 PM, Hans Hagen wrote:
> Hi,
> 
> The linenote compression options (and control) has been upgraded:

Hi Hans,

many thanks for the new compression options.

> Keep in mind that paragraph notes are somewhat special so some tolerance 
> in alignment helps.

This is not directly related to linenotes, but to paragraph notes. There
are some cases a note starts in the next page to body text it refers to.

With the following scenario (I have seen this): poetry with verses
numbered to the page, two apparatus (critical and similar) and the first
linenote on at least one apparatus comes from the previous page (so
numbers in this apparatus go from 30 to 2).

Is \setupnote[linenote][split=verystrict,scope=page] a reliable method
to avoid this?

I mean, if you have to typeset a critical edition of the Illiad or the
Odyssey, you cannot check every single page looking for displaced linenotes.

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] 3+ messages in thread

* Re: line notes compress
  2013-12-02 20:04 ` Pablo Rodriguez
@ 2013-12-03  8:54   ` Hans Hagen
  0 siblings, 0 replies; 3+ messages in thread
From: Hans Hagen @ 2013-12-03  8:54 UTC (permalink / raw)
  To: ntg-context

On 12/2/2013 9:04 PM, Pablo Rodriguez wrote:
> On 12/02/2013 03:31 PM, Hans Hagen wrote:
>> Hi,
>>
>> The linenote compression options (and control) has been upgraded:
>
> Hi Hans,
>
> many thanks for the new compression options.
>
>> Keep in mind that paragraph notes are somewhat special so some tolerance
>> in alignment helps.
>
> This is not directly related to linenotes, but to paragraph notes. There
> are some cases a note starts in the next page to body text it refers to.
>
> With the following scenario (I have seen this): poetry with verses
> numbered to the page, two apparatus (critical and similar) and the first
> linenote on at least one apparatus comes from the previous page (so
> numbers in this apparatus go from 30 to 2).
>
> Is \setupnote[linenote][split=verystrict,scope=page] a reliable method
> to avoid this?

Hard to predict as many factors determine this. Best is to be somewhat 
tolerant and have enough space available before the footnote(rule) but 
even then there can be casas where no other solution is left than to 
split the note over a page. A magic interplay of penalties.

> I mean, if you have to typeset a critical edition of the Illiad or the
> Odyssey, you cannot check every single page looking for displaced linenotes.
>
> Many thanks for your help,
>
>
> Pablo
>


-- 

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | 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] 3+ messages in thread

end of thread, other threads:[~2013-12-03  8:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-12-02 14:31 line notes compress Hans Hagen
2013-12-02 20:04 ` Pablo Rodriguez
2013-12-03  8:54   ` Hans Hagen

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).