ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* (again) bug?: \about disables \setupnote[split=strict]
@ 2014-03-13 17:12 Pablo Rodriguez
  2014-03-16 18:51 ` Hans Hagen
  0 siblings, 1 reply; 2+ messages in thread
From: Pablo Rodriguez @ 2014-03-13 17:12 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Dear list,

I have the following sample:

\setuppapersize[A6]
\setupnote[footnote][split=strict]
\starttext
\section[bspaces]{Blank spaces}
\section[paragraph]{Paragraphs}

\dorecurse{11}{This is a sentence.\par}

This is already explained in sections
\about[bspaces] y \about[paragraph].
%~ \namedstructurevariable{section}{title} and
\namedstructurevariable{section}{title}.
\dorecurse{2}{This is a sentence. }.\footnote{\dorecurse{5}
{this is a footnote sentence. }}

This is another sentence.
\stoptext

If I use the lines with \about, footnote reference in body and footnote
are placed in different pages.

If I use \namedstructurevariable, footnote reference in body and
footnote are placed in the same page.

I have two questions:

Could anyone confirm this is a bug in \about?

Is there any way to use \namedstructurevariable for sections other than
the current? (So I would be able to avoid using \about.)

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

* Re: (again) bug?: \about disables \setupnote[split=strict]
  2014-03-13 17:12 (again) bug?: \about disables \setupnote[split=strict] Pablo Rodriguez
@ 2014-03-16 18:51 ` Hans Hagen
  0 siblings, 0 replies; 2+ messages in thread
From: Hans Hagen @ 2014-03-16 18:51 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 3/13/2014 6:12 PM, Pablo Rodriguez wrote:
> Dear list,
>
> I have the following sample:
>
> \setuppapersize[A6]
> \setupnote[footnote][split=strict]
> \starttext
> \section[bspaces]{Blank spaces}
> \section[paragraph]{Paragraphs}
>
> \dorecurse{11}{This is a sentence.\par}
>
> This is already explained in sections
> \about[bspaces] y \about[paragraph].
> %~ \namedstructurevariable{section}{title} and
> \namedstructurevariable{section}{title}.
> \dorecurse{2}{This is a sentence. }.\footnote{\dorecurse{5}
> {this is a footnote sentence. }}
>
> This is another sentence.
> \stoptext
>
> If I use the lines with \about, footnote reference in body and footnote
> are placed in different pages.
>
> If I use \namedstructurevariable, footnote reference in body and
> footnote are placed in the same page.
>
> I have two questions:
>
> Could anyone confirm this is a bug in \about?
>
> Is there any way to use \namedstructurevariable for sections other than
> the current? (So I would be able to avoid using \about.)
>
> Many thanks for your help,

It relates to postponing notes. If we add \flushnotes here it works ok:

\unexpanded\def\strc_references_about[#label]%
   {\dontleavehmode
    \begingroup
    \let\crlf\space
    \let\\\space
    \postponenotes % might go
    \referencingparameter\c!left
    \doifreferencefoundelse{#label}
 
{\goto{\limitatetext\currentreferencetitle{\referencingparameter\c!width}\unknown}[#label]}% 
not so efficient (dup lookup)
      {}% todo
    \flushnotes % might go
    \referencingparameter\c!right
    \endgroup}

The question is, can we just omit the postponing in mkiv ... probably ...

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

end of thread, other threads:[~2014-03-16 18:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-03-13 17:12 (again) bug?: \about disables \setupnote[split=strict] Pablo Rodriguez
2014-03-16 18:51 ` 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).