ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <j.hagen@xs4all.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>,
	SAO Ocean <shenao6626@gmail.com>
Subject: Re: Negative width vrule ignored in LuaMETATeX
Date: Fri, 24 Apr 2020 17:37:56 +0200	[thread overview]
Message-ID: <82b49f88-0a7c-cb18-c2dd-017e59a7da45@xs4all.nl> (raw)
In-Reply-To: <CAOyvy4=2h-S-sL4mOM0Tdm_k07C30P96U3pGMzesiO6AZ4HrLw@mail.gmail.com>

On 4/24/2020 4:42 PM, SAO Ocean wrote:
> Hi,
> 
> As I'm beginning to use ConTeXt LMTX, I experimented with it a little and
> noticed some of my old documents different. After some examination I found the
> following example:
> 
> \starttext
> a\vrule width -5pt height 0pt depth 0pt b
> \stoptext
> 
> In LMTX, the result looks as if there is no `\vrule' between `a' and `b'. And if
> I run with `context --engine=luatex', the expected result is back. I have
> checked the luametatex manual but it doesn't seem to mention the difference. My
> luametatex version is
> 
> mkiv lua stats  > used engine: luametatex version: 2.0502,
> functionality level: 20200413, format id: 493, compiler: clang.
> 
> Is the behaviour expected? Or shall I use other method to get non-discardable
> negative space?

no, but i must admit that it's kind of a border case ... i'll fix it but 
also wonder if *no* visual rule showing up is intended (i would then 
also expect an engine to show a rule .. could be an interesting new 
(luametatex) option as it saves kerns in some cases)

see Wolfgangs mail for a better solution using kerns

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
___________________________________________________________________________________

  parent reply	other threads:[~2020-04-24 15:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-24 14:42 SAO Ocean
2020-04-24 14:48 ` Wolfgang Schuster
2020-04-24 15:37 ` Hans Hagen [this message]
     [not found]   ` <CAOyvy4=YxV-1Nh4Ot78Kym8EY8dQYio71qRu2h3=Xyj3jTMcBg@mail.gmail.com>
2020-04-24 18:11     ` Hans Hagen

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=82b49f88-0a7c-cb18-c2dd-017e59a7da45@xs4all.nl \
    --to=j.hagen@xs4all.nl \
    --cc=ntg-context@ntg.nl \
    --cc=shenao6626@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).