From: Duncan Hothersall <dh@capdm.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Strange pagebreaks in LMTX
Date: Thu, 5 Sep 2019 07:52:02 +0100 [thread overview]
Message-ID: <CAN8fp9WM7mEpMQ1mVGn_6uHnGF8X-CnKR09oMDvaNGumd6OMiQ@mail.gmail.com> (raw)
In-Reply-To: <137B1AA8-6139-4D78-B0DC-5BEA01E07E57@gmail.com>
[-- Attachment #1.1: Type: text/plain, Size: 3478 bytes --]
I have found in similar situations sometimes the easiest fix is to set the
backgroundcolor of footnotes to white (or your page colour if different).
Bests,
DH
On Thu, 5 Sep 2019 at 07:00, Otared Kavian <otared@gmail.com> wrote:
> Hi Aditya,
>
> Thank you for your reply and for the link to your article: your
> explanations are cristal clear and the solution for me is to use what you
> explain.
>
> There is only one issue remaining, when using your code, that is:
>
> \definetextbackground
> [leftbartext]
> [
> location=paragraph,
> mp=mpos:region:leftbar,
> width=broad,
> frame=off,
> framecolor=darkred,
> rulethickness=.5pt,
> leftoffset=2ex,
> % rightoffset=2.25ex,
> % topoffset=2.25ex,
> % bottomoffset=2.25ex,
> background=color,
> backgroundcolor=white,
> ]
>
> \startuseMPgraphic{mpos:region:leftbar}
> draw_multi_pars;
> draw_multi_side;
> \stopuseMPgraphic
>
> then when there is a footnote the leftbartext runs into the footnote,
> between the number and the footnote itself, and the result is not nice. I
> did not find a way to push the footnote and its number a little to the
> right, or the leftbartext to the left.
>
> Best regards: OK
>
> > On 5 Sep 2019, at 06:45, Aditya Mahajan <adityam@umich.edu> wrote:
> >
> > On Thu, 5 Sep 2019, Otared Kavian wrote:
> >
> >> Hi Wolfgang,
> >>
> >> Thanks for your answer. I tried Hans' suggestion to use \textbackground
> instead of background: indeed it solves the problem of incorrect page
> breaks, but it seems that \setuptextbackground « leftframe=on » is not
> honoured, that is one cannot say for instance:
> >>
> >> \setuptextbackground[frame=off,leftframe=on]
> >>
> >> while using \background this would be possible.
> >
> > See
> >
> >
> https://adityam.github.io/context-blog/post/frame-with-solid-left-line-redux/
> >
> >
> Aditya___________________________________________________________________________________
> > 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
> >
> ___________________________________________________________________________________
>
>
> ___________________________________________________________________________________
> 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
>
> ___________________________________________________________________________________
>
--
Duncan Hothersall, Operations Director
CAPDM Limited - Online Program Enablers
0131 477 8620 www.capdm.com
Registered in Scotland: SC168970 VAT: 682 846 983
Registered address: 20 Forth Street Edinburgh EH1 3LH UK
<https://maps.google.com/?q=22+Forth+Street,+Edinburgh,+EH1+3LH,+UK&entry=gmail&source=g>
Capture, author, publish, deliver and manage your learning materials.
*Sign up to the CAPDM newsletter here <http://eepurl.com/bqzBQn>*
[-- Attachment #1.2: Type: text/html, Size: 5863 bytes --]
[-- Attachment #2: Type: text/plain, Size: 493 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
next prev parent reply other threads:[~2019-09-05 6:52 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-09-04 12:24 Otared Kavian
2019-09-04 15:58 ` Hans Hagen
2019-09-04 16:32 ` Wolfgang Schuster
2019-09-05 4:27 ` Otared Kavian
2019-09-05 4:45 ` Aditya Mahajan
2019-09-05 5:59 ` Otared Kavian
2019-09-05 6:52 ` Duncan Hothersall [this message]
2019-09-05 7:32 ` Aditya Mahajan
2019-09-05 8:06 ` Otared Kavian
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAN8fp9WM7mEpMQ1mVGn_6uHnGF8X-CnKR09oMDvaNGumd6OMiQ@mail.gmail.com \
--to=dh@capdm.com \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).