ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* [NTG-context] outlinetext broken?
@ 2024-05-04 19:23 Jairo A. del Rio
  2024-05-11 18:33 ` [NTG-context] " Jairo A. del Rio
  0 siblings, 1 reply; 5+ messages in thread
From: Jairo A. del Rio @ 2024-05-04 19:23 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 688 bytes --]

Hi, list

\startMPpage
draw outlinetext.d("\mathematics{\sqrt{2}-1}")(withcolor black withpen
  currentpen) scaled 1;
\stopMPpage

fails (radicals are not drawn at all). As for context --version,

mtx-context     | ConTeXt Process Management 1.06
mtx-context     |
mtx-context     | main context file:
/usr/local/context/tex/texmf-context/tex/context/base/mkiv/context.mkiv
mtx-context     | current version: 2024.04.01 08:59
mtx-context     | main context file:
/usr/local/context/tex/texmf-context/tex/context/base/mkxl/context.mkxl
mtx-context     | current version: 2024.04.01 08:59

Maybe it's only me, but I tried with several fonts and the outcome is
similar.

Best regards,
Jairo

[-- Attachment #1.2: Type: text/html, Size: 871 bytes --]

[-- Attachment #2: ema.pdf --]
[-- Type: application/pdf, Size: 3598 bytes --]

[-- Attachment #3: Type: text/plain, Size: 511 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [NTG-context] Re: outlinetext broken?
  2024-05-04 19:23 [NTG-context] outlinetext broken? Jairo A. del Rio
@ 2024-05-11 18:33 ` Jairo A. del Rio
  2024-05-11 22:04   ` Hans Hagen
  0 siblings, 1 reply; 5+ messages in thread
From: Jairo A. del Rio @ 2024-05-11 18:33 UTC (permalink / raw)
  To: mailing list for ConTeXt users, Hans Hagen


[-- Attachment #1.1: Type: text/plain, Size: 1001 bytes --]

As for the current ConTeXt, the example above still produces the wrong
output. Can anyone reproduce this case? Thank you in advance.

Jairo

El sáb, 4 may 2024 a la(s) 7:23 p.m., Jairo A. del Rio (
jairoadelrio6@gmail.com) escribió:

> Hi, list
>
> \startMPpage
> draw outlinetext.d("\mathematics{\sqrt{2}-1}")(withcolor black withpen
>   currentpen) scaled 1;
> \stopMPpage
>
> fails (radicals are not drawn at all). As for context --version,
>
> mtx-context     | ConTeXt Process Management 1.06
> mtx-context     |
> mtx-context     | main context file:
> /usr/local/context/tex/texmf-context/tex/context/base/mkiv/context.mkiv
> mtx-context     | current version: 2024.04.01 08:59
> mtx-context     | main context file:
> /usr/local/context/tex/texmf-context/tex/context/base/mkxl/context.mkxl
> mtx-context     | current version: 2024.04.01 08:59
>
> Maybe it's only me, but I tried with several fonts and the outcome is
> similar.
>
> Best regards,
> Jairo
>

[-- Attachment #1.2: Type: text/html, Size: 1413 bytes --]

[-- Attachment #2: ema.pdf --]
[-- Type: application/pdf, Size: 3638 bytes --]

[-- Attachment #3: Type: text/plain, Size: 511 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [NTG-context] Re: outlinetext broken?
  2024-05-11 18:33 ` [NTG-context] " Jairo A. del Rio
@ 2024-05-11 22:04   ` Hans Hagen
       [not found]     ` <CAKyqqabC8ATREsMpMdo_1sdC+0-vP9XhLO74QYS1dWPTBTfsEQ@mail.gmail.com>
  0 siblings, 1 reply; 5+ messages in thread
From: Hans Hagen @ 2024-05-11 22:04 UTC (permalink / raw)
  To: Jairo A. del Rio, mailing list for ConTeXt users

[-- Attachment #1: Type: text/plain, Size: 629 bytes --]

On 5/11/2024 8:33 PM, Jairo A. del Rio wrote:
> As for the current ConTeXt, the example above still produces the wrong 
> output. Can anyone reproduce this case? Thank you in advance. 
It's a bit tricky but this is what i can get ... see attached.

(You have to wait till a next upload.)

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
-----------------------------------------------------------------

[-- Attachment #2: outlines-003.pdf --]
[-- Type: application/pdf, Size: 5676 bytes --]

[-- Attachment #3: outlines-003.tex --]
[-- Type: text/plain, Size: 419 bytes --]

\continuewhenlmtxmode

\starttext
    \startMPpage[offset=10pt]
        draw lmt_outline [
            text = "\mathematics{\sqrt{2}-1}"
        ] ;

        draw lmt_outline [
            text = "\mathematics{\sqrt[rule=no]{2}-1}"
        ] shifted (0,-1cm) ;

        draw lmt_outline [
            text = "\mathematics{\sqrt[rule=yes]{2}-1}"
        ] shifted (0,-2cm) ;
    \stopMPpage
\stoptext


[-- Attachment #4: Type: text/plain, Size: 511 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [NTG-context] Fwd: outlinetext broken?
       [not found]     ` <CAKyqqabC8ATREsMpMdo_1sdC+0-vP9XhLO74QYS1dWPTBTfsEQ@mail.gmail.com>
@ 2024-05-13 21:54       ` Jairo A. del Rio
  2024-05-14  6:48         ` [NTG-context] " Hans Hagen via ntg-context
  0 siblings, 1 reply; 5+ messages in thread
From: Jairo A. del Rio @ 2024-05-13 21:54 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1395 bytes --]

---------- Forwarded message ---------
De: Jairo A. del Rio <jairoadelrio6@gmail.com>
Date: lun, 13 may 2024 a la(s) 9:53 p.m.
Subject: Re: outlinetext broken?
To: Hans Hagen <j.hagen@xs4all.nl>


Hi, Hans! Thank you for the update! I'm curious about the following issue:
when I use Latin Modern (by default), a thick, filled line is drawn next to
the radical. However, when I use another font such as TeX Gyre Schola, I
get something similar to outlines-003.pdf, which is, in turn, similar to
the result of applying PDF effects. So, shouldn't this result be the
default? Thanks a lot again.

Best regards,

Jairo

El sáb, 11 may 2024 a la(s) 10:04 p.m., Hans Hagen (j.hagen@xs4all.nl)
escribió:

> On 5/11/2024 8:33 PM, Jairo A. del Rio wrote:
> > As for the current ConTeXt, the example above still produces the wrong
> > output. Can anyone reproduce this case? Thank you in advance.
> It's a bit tricky but this is what i can get ... see attached.
>
> (You have to wait till a next upload.)
>
> 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
> -----------------------------------------------------------------
>

[-- Attachment #1.2: Type: text/html, Size: 2239 bytes --]

[-- Attachment #2: Type: text/plain, Size: 511 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [NTG-context] Re: Fwd: outlinetext broken?
  2024-05-13 21:54       ` [NTG-context] Fwd: " Jairo A. del Rio
@ 2024-05-14  6:48         ` Hans Hagen via ntg-context
  0 siblings, 0 replies; 5+ messages in thread
From: Hans Hagen via ntg-context @ 2024-05-14  6:48 UTC (permalink / raw)
  To: ntg-context; +Cc: Hans Hagen

On 5/13/2024 11:54 PM, Jairo A. del Rio wrote:
> 
> 
> ---------- Forwarded message ---------
> De: *Jairo A. del Rio* <jairoadelrio6@gmail.com 
> <mailto:jairoadelrio6@gmail.com>>
> Date: lun, 13 may 2024 a la(s) 9:53 p.m.
> Subject: Re: outlinetext broken?
> To: Hans Hagen <j.hagen@xs4all.nl <mailto:j.hagen@xs4all.nl>>
> 
> 
> Hi, Hans! Thank you for the update! I'm curious about the following 
> issue: when I use Latin Modern (by default), a thick, filled line is 
> drawn next to the radical. However, when I use another font such as TeX 
> Gyre Schola, I get something similar to outlines-003.pdf, which is, in 
> turn, similar to the result of applying PDF effects. So, shouldn't this 
> result be the default? Thanks a lot again.
it depends on how a radical is composed; we try create an extensible 
using snippets which looks better in the case of fontd where rules (have 
to) have roun dcorners etc

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 / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-05-14  6:49 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-05-04 19:23 [NTG-context] outlinetext broken? Jairo A. del Rio
2024-05-11 18:33 ` [NTG-context] " Jairo A. del Rio
2024-05-11 22:04   ` Hans Hagen
     [not found]     ` <CAKyqqabC8ATREsMpMdo_1sdC+0-vP9XhLO74QYS1dWPTBTfsEQ@mail.gmail.com>
2024-05-13 21:54       ` [NTG-context] Fwd: " Jairo A. del Rio
2024-05-14  6:48         ` [NTG-context] " Hans Hagen via ntg-context

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).