* Negative width vrule ignored in LuaMETATeX
@ 2020-04-24 14:42 SAO Ocean
2020-04-24 14:48 ` Wolfgang Schuster
2020-04-24 15:37 ` Hans Hagen
0 siblings, 2 replies; 4+ messages in thread
From: SAO Ocean @ 2020-04-24 14:42 UTC (permalink / raw)
To: ntg-context
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?
Ao Shen
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Negative width vrule ignored in LuaMETATeX
2020-04-24 14:42 Negative width vrule ignored in LuaMETATeX SAO Ocean
@ 2020-04-24 14:48 ` Wolfgang Schuster
2020-04-24 15:37 ` Hans Hagen
1 sibling, 0 replies; 4+ messages in thread
From: Wolfgang Schuster @ 2020-04-24 14:48 UTC (permalink / raw)
To: mailing list for ConTeXt users, SAO Ocean
SAO Ocean schrieb am 24.04.2020 um 16:42:
> 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?
\starttext
a\kern-5pt\relax b
\stoptext
or
\starttext
a\nobreak\hskip-5pt\relax b
\stoptext
Wolfgang
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Negative width vrule ignored in LuaMETATeX
2020-04-24 14:42 Negative width vrule ignored in LuaMETATeX SAO Ocean
2020-04-24 14:48 ` Wolfgang Schuster
@ 2020-04-24 15:37 ` Hans Hagen
[not found] ` <CAOyvy4=YxV-1Nh4Ot78Kym8EY8dQYio71qRu2h3=Xyj3jTMcBg@mail.gmail.com>
1 sibling, 1 reply; 4+ messages in thread
From: Hans Hagen @ 2020-04-24 15:37 UTC (permalink / raw)
To: mailing list for ConTeXt users, SAO Ocean
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2020-04-24 18:11 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-24 14:42 Negative width vrule ignored in LuaMETATeX SAO Ocean
2020-04-24 14:48 ` Wolfgang Schuster
2020-04-24 15:37 ` Hans Hagen
[not found] ` <CAOyvy4=YxV-1Nh4Ot78Kym8EY8dQYio71qRu2h3=Xyj3jTMcBg@mail.gmail.com>
2020-04-24 18:11 ` 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).