Willi, Pablo, and list,
Willi,
I understand that the overprint of the margin can be managed by changing
the default layout. The left margin box displayed by \showframe using
the default layout clearly shows the margin extending past the edge of
the page.
I would think that the default layout should be usable as is, which for
this purpose means that the defined text areas are contained within the
page boundary. If the default layout is not intended to be usable, it
should be so documented. I will gladly update the wiki if this is the
case, but first I would like authoritative confirmation that this is the
case.
Indeed, the extra line before the text occurs only when inter-paragraph
whitespace is set and start/stop is used. This does indeed appear to be
something that can be repaired.
Pablo,
The \inmargin commands do suffer from the same problem; you need simply
change marg to marg marg marg to see it. The problem is not that text
is set outside the margin. It is all set in the margin. The problem is
that the left margin is laid out over the page edge, and text set in the
part of the margin that is off the page is lost.
--
Rik
On 2017-07-29 13:10, Pablo Rodriguez wrote:
On 07/23/2017 09:48 PM, Rik Kabel wrote:
The following example demonstrates two problems with
alternative=margintext in \setuphead:
1. When used with start/stop sectioning, text following the title may
be set on the wrong line.
Hi Rik,
the issue comes with \startparagraph and sectioning commands (other
margindata are fine):
\setuphead
[chapter]
[alternative=margintext]
\starttext
\chapter{Chapter}
\startparagraph\input jojomayer\stopparagraph
\blank
\inleft{marg}\startparagraph\input jojomayer\stopparagraph
\blank
\inright{marg}\startparagraph\input jojomayer\stopparagraph
\blank
\inouter{marg}\startparagraph\input jojomayer\stopparagraph
\ininner{marg}\startparagraph\input jojomayer\stopparagraph
\blank
\inmargin{marg}\startparagraph\input jojomayer\stopparagraph
\blank
\inother{marg}\startparagraph\input jojomayer\stopparagraph
\stoptext
But \inmargin has no problem with margin
2. Without regard to the type of sectioning, margintext titles may
spill over the left edge of the margin and beyond the page frame.
I cannot align them either. I don’t know what we may be missing here.
Pablo
___________________________________________________________________________________
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://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________