From: Hans Hagen <j.hagen@xs4all.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>,
Otared Kavian <otared@gmail.com>
Subject: Re: Strange pagebreaks in LMTX
Date: Wed, 4 Sep 2019 17:58:44 +0200 [thread overview]
Message-ID: <3421b402-95ee-f711-8cfb-1796be4ceb72@xs4all.nl> (raw)
In-Reply-To: <E2D1A0DE-CCC7-4475-A922-43199DA6870D@gmail.com>
On 9/4/2019 2:24 PM, Otared Kavian wrote:
> Hi all,
>
> I have a document which typesets correctly in mkiv giving a PDF file with 7 pages, but the same document typeset with lmtx gives two pages with a strange pagebreak on the second page. Up to now, unfortunately, I could not create a minimal example to show this behaviour, so I put the files in the folder here:
>
> https://www.dropbox.com/sh/7rolmpe47njvy0l/AADmcILO0XgY3Sb6FC2dwMw-a?dl=0
>
> and the PDF file obtained with mkiv is here
>
> https://www.dropbox.com/s/udbz0lulat9vum7/bug-pagebreaks-mkiv.pdf?dl=0
>
> while the one obtained with lmtx is here
>
> https://www.dropbox.com/s/t6kge5lq8otju4y/bug-pagebreaks-lmtx.pdf?dl=0
>
> Also, the TeX file typesets correctly with lmtx, if I don't use textrules, so I wonder whether there has been some changes in the way such textrules have to be used.
> As far as I can remember, two months ago the same file was typeset with lmtx without any problem.
>
> Thanks in advance for any help,
> Best regards: OK
you have some interaction between textrules and backgrounds (and that
can be a matter of very small differences in dimensions and rounding and
such .. i just don't see a quick way out) ... esp these backgrounds are
an old mechanism (maybe i should alias it to textbackgrounds in lmtx)
much better is to use this:
\definetextbackground
[xx]
[location=paragraph]
\starttextbackground[xx]
\stoptextbackground
can you try to use that instead? less page overflow too
(actually i should iontegrate some title line in that)
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://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2019-09-04 15:58 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 [this message]
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
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=3421b402-95ee-f711-8cfb-1796be4ceb72@xs4all.nl \
--to=j.hagen@xs4all.nl \
--cc=ntg-context@ntg.nl \
--cc=otared@gmail.com \
/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).