ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* [NTG-context] Problem using Neo Euler in slides
@ 2025-01-19 17:00 a.kumar
  2025-01-19 17:30 ` [NTG-context] " Shiv Shankar Dayal
  2025-01-19 17:31 ` Wolfgang Schuster
  0 siblings, 2 replies; 7+ messages in thread
From: a.kumar @ 2025-01-19 17:00 UTC (permalink / raw)
  To: ntg-context

Dear List,

I am using the Debian ConTeXt with the following version:
context 2024.04.01.20240428+dfsg-2

I am having some issues, particularly with the \sqrt symbol when using
a presentation mode in ConTeXt. The following gist has the files in
question:

https://gist.github.com/kumanna/eb81deae66e34809b9074be1f3f6e9d0

I have the Fontin, Neo Euler and Delicious OTFs loaded properly with mtxrun. In my
slide, if the \sqrt is present, I get the following error:

lua error:

        registered function call [254]: /usr/share/texmf/tex/context/base/mkxl/lpdf-lmt.lmt:1681: attempt to perform bitwise operation on a nil value (local 'options')
stack traceback:
        /usr/share/texmf/tex/context/base/mkxl/lpdf-lmt.lmt:1681: in upvalue 'flushrule'
        /usr/share/texmf/tex/context/base/mkxl/driv-shp.lmt:1659: in upvalue 'vlist_out'
        /usr/share/texmf/tex/context/base/mkxl/driv-shp.lmt:1196: in upvalue 'hlist_out'
        /usr/share/texmf/tex/context/base/mkxl/driv-shp.lmt:1198: in upvalue 'hlist_out'
        /usr/share/texmf/tex/context/base/mkxl/driv-shp.lmt:1625: in upvalue 'vlist_out'
        /usr/share/texmf/tex/context/base/mkxl/driv-shp.lmt:1196: in upvalue 'hlist_out'
        /usr/share/texmf/tex/context/base/mkxl/driv-shp.lmt:1625: in upvalue 'vlist_out'
        /usr/share/texmf/tex/context/base/mkxl/driv-shp.lmt:1196: in upvalue 'hlist_out'
        /usr/share/texmf/tex/context/base/mkxl/driv-shp.lmt:1198: in upvalue 'hlist_out'
        /usr/share/texmf/tex/context/base/mkxl/driv-shp.lmt:1198: in upvalue 'hlist_out'
        ...     (skipping 6 levels)
        /usr/share/texmf/tex/context/base/mkxl/driv-shp.lmt:1198: in upvalue 'hlist_out'
        /usr/share/texmf/tex/context/base/mkxl/driv-shp.lmt:1198: in upvalue 'hlist_out'
        /usr/share/texmf/tex/context/base/mkxl/driv-shp.lmt:1625: in upvalue 'vlist_out'
        /usr/share/texmf/tex/context/base/mkxl/driv-shp.lmt:1623: in upvalue 'vlist_out'
        /usr/share/texmf/tex/context/base/mkxl/driv-shp.lmt:1196: in upvalue 'hlist_out'
        /usr/share/texmf/tex/context/base/mkxl/driv-shp.lmt:1198: in upvalue 'hlist_out'
        /usr/share/texmf/tex/context/base/mkxl/driv-shp.lmt:1198: in upvalue 'hlist_out'
        /usr/share/texmf/tex/context/base/mkxl/driv-shp.lmt:1625: in upvalue 'vlist_out'
        /usr/share/texmf/tex/context/base/mkxl/driv-shp.lmt:1799: in upvalue 'converter'
        /usr/share/texmf/tex/context/base/mkxl/lpdf-lmt.lmt:3719: in upvalue 'convert'
        /usr/share/texmf/tex/context/base/mkxl/driv-ini.lmt:211: in function </usr/share/texmf/tex/context/base/mkxl/driv-ini.lmt:207>
        (...tail calls...)

<empty file>
mtx-context     | fatal error: return code: 1

Please let me know if there is something I need to fix.

Thanks.

Kumar
___________________________________________________________________________________
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] 7+ messages in thread

* [NTG-context] Re: Problem using Neo Euler in slides
  2025-01-19 17:00 [NTG-context] Problem using Neo Euler in slides a.kumar
@ 2025-01-19 17:30 ` Shiv Shankar Dayal
  2025-01-19 17:31 ` Wolfgang Schuster
  1 sibling, 0 replies; 7+ messages in thread
From: Shiv Shankar Dayal @ 2025-01-19 17:30 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi,

I tested with the latest ConTeXt and it works fine.

On Sun, Jan 19, 2025 at 10:33 PM <a.kumar@alumni.iitm.ac.in> wrote:
>
> Dear List,
>
> I am using the Debian ConTeXt with the following version:
> context 2024.04.01.20240428+dfsg-2
>
> I am having some issues, particularly with the \sqrt symbol when using
> a presentation mode in ConTeXt. The following gist has the files in
> question:
>
> https://gist.github.com/kumanna/eb81deae66e34809b9074be1f3f6e9d0
>
> I have the Fontin, Neo Euler and Delicious OTFs loaded properly with mtxrun. In my
> slide, if the \sqrt is present, I get the following error:
>
> lua error:
>
>         registered function call [254]: /usr/share/texmf/tex/context/base/mkxl/lpdf-lmt.lmt:1681: attempt to perform bitwise operation on a nil value (local 'options')
> stack traceback:
>         /usr/share/texmf/tex/context/base/mkxl/lpdf-lmt.lmt:1681: in upvalue 'flushrule'
>         /usr/share/texmf/tex/context/base/mkxl/driv-shp.lmt:1659: in upvalue 'vlist_out'
>         /usr/share/texmf/tex/context/base/mkxl/driv-shp.lmt:1196: in upvalue 'hlist_out'
>         /usr/share/texmf/tex/context/base/mkxl/driv-shp.lmt:1198: in upvalue 'hlist_out'
>         /usr/share/texmf/tex/context/base/mkxl/driv-shp.lmt:1625: in upvalue 'vlist_out'
>         /usr/share/texmf/tex/context/base/mkxl/driv-shp.lmt:1196: in upvalue 'hlist_out'
>         /usr/share/texmf/tex/context/base/mkxl/driv-shp.lmt:1625: in upvalue 'vlist_out'
>         /usr/share/texmf/tex/context/base/mkxl/driv-shp.lmt:1196: in upvalue 'hlist_out'
>         /usr/share/texmf/tex/context/base/mkxl/driv-shp.lmt:1198: in upvalue 'hlist_out'
>         /usr/share/texmf/tex/context/base/mkxl/driv-shp.lmt:1198: in upvalue 'hlist_out'
>         ...     (skipping 6 levels)
>         /usr/share/texmf/tex/context/base/mkxl/driv-shp.lmt:1198: in upvalue 'hlist_out'
>         /usr/share/texmf/tex/context/base/mkxl/driv-shp.lmt:1198: in upvalue 'hlist_out'
>         /usr/share/texmf/tex/context/base/mkxl/driv-shp.lmt:1625: in upvalue 'vlist_out'
>         /usr/share/texmf/tex/context/base/mkxl/driv-shp.lmt:1623: in upvalue 'vlist_out'
>         /usr/share/texmf/tex/context/base/mkxl/driv-shp.lmt:1196: in upvalue 'hlist_out'
>         /usr/share/texmf/tex/context/base/mkxl/driv-shp.lmt:1198: in upvalue 'hlist_out'
>         /usr/share/texmf/tex/context/base/mkxl/driv-shp.lmt:1198: in upvalue 'hlist_out'
>         /usr/share/texmf/tex/context/base/mkxl/driv-shp.lmt:1625: in upvalue 'vlist_out'
>         /usr/share/texmf/tex/context/base/mkxl/driv-shp.lmt:1799: in upvalue 'converter'
>         /usr/share/texmf/tex/context/base/mkxl/lpdf-lmt.lmt:3719: in upvalue 'convert'
>         /usr/share/texmf/tex/context/base/mkxl/driv-ini.lmt:211: in function </usr/share/texmf/tex/context/base/mkxl/driv-ini.lmt:207>
>         (...tail calls...)
>
> <empty file>
> mtx-context     | fatal error: return code: 1
>
> Please let me know if there is something I need to fix.
>
> Thanks.
>
> Kumar
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________



-- 
Respect,
Shiv Shankar Dayal
___________________________________________________________________________________
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] 7+ messages in thread

* [NTG-context] Re: Problem using Neo Euler in slides
  2025-01-19 17:00 [NTG-context] Problem using Neo Euler in slides a.kumar
  2025-01-19 17:30 ` [NTG-context] " Shiv Shankar Dayal
@ 2025-01-19 17:31 ` Wolfgang Schuster
  2025-01-19 17:45   ` a.kumar
  1 sibling, 1 reply; 7+ messages in thread
From: Wolfgang Schuster @ 2025-01-19 17:31 UTC (permalink / raw)
  To: ntg-context

Am 19.01.2025 um 18:00 schrieb a.kumar@alumni.iitm.ac.in:
> Dear List,
> 
> I am using the Debian ConTeXt with the following version:
> context 2024.04.01.20240428+dfsg-2
> 
> I am having some issues, particularly with the \sqrt symbol when using
> a presentation mode in ConTeXt. The following gist has the files in
> question:
> 
> https://gist.github.com/kumanna/eb81deae66e34809b9074be1f3f6e9d0
> 
> I have the Fontin, Neo Euler and Delicious OTFs loaded properly with mtxrun. In my
> slide, if the \sqrt is present, I get the following error:

1. Add \starttext and \stoptext to your document.

2. Use \setupalign[nothyphenated] to prohibit hyphenation.

3. Load the euler typescript for the math font.

\definefontfamily [myfamily]      [serif] [Fontin] 
[rscale=1.66]
\definefontfamily [myfamily]      [sans]  [Delicious] 
[rscale=1.66]
\definefontfamily [myfamily]      [mono]  [DejaVu Sans Mono] 
[rscale=1]
\definetypeface   [myfamily] [mm] [math]  [eulernova]        [default] 
[rscale=1.66]

\setupbodyfont[myfamily]

\starttext
\dm{\sqrt{x + y}}
\stoptext

Wolfgang

___________________________________________________________________________________
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] 7+ messages in thread

* [NTG-context] Re: Problem using Neo Euler in slides
  2025-01-19 17:31 ` Wolfgang Schuster
@ 2025-01-19 17:45   ` a.kumar
  2025-01-19 18:02     ` Wolfgang Schuster
  0 siblings, 1 reply; 7+ messages in thread
From: a.kumar @ 2025-01-19 17:45 UTC (permalink / raw)
  To: ntg-context

Thank you for this. Sadly, I still get this:

resolvers       | formats | executing runner 'run luametatex format': /usr/bin/luametatex --jobname="./slide.tex" --socket --shell-escape --fmt=/home/kumar/.texlive2024/texmf-var/luametatex-cache/context/f919750633122078d706dd10f1cfd39b/formats/luametatex/cont-en.fmt --lua=/home/kumar/.texlive2024/texmf-var/luametatex-cache/context/f919750633122078d706dd10f1cfd39b/formats/luametatex/cont-en.lui  --c:currentrun=1 --c:fulljobname="./slide.tex" --c:input="./slide.tex" --c:kindofrun=1 --c:maxnofruns=9 --c:texmfbinpath="/usr/bin"
system          > 
system          > ConTeXt  ver: 2024.02.27 09:18 LMTX  fmt: 2025.1.15  int: english/english
system          > 
system          > 'cont-new.mkxl' loaded
open source     > level 1, order 1, name '/usr/share/texmf/tex/context/base/mkxl/cont-new.mkxl'
system          > beware: some patches loaded from cont-new.mkiv
close source    > level 1, order 1, name '/usr/share/texmf/tex/context/base/mkxl/cont-new.mkxl'
system          > 'cont-sys.mkxl' loaded
open source     > level 1, order 2, name '/usr/share/texlive/texmf-dist/tex/context/texlive/cont-sys.mkxl'
close source    > level 1, order 2, name '/usr/share/texlive/texmf-dist/tex/context/texlive/cont-sys.mkxl'
system          > files > jobname './slide', input './slide.tex', result './slide'
fonts           > latin modern fonts are not preloaded
languages       > language 'en' is active
open source     > level 1, order 3, name './slide.tex'
open source     > level 2, order 4, name 'env-slides.tex'
open source     > level 3, order 5, name '/usr/share/texmf/tex/context/fonts/mkxl/type-imp-euler.mkxl'
open source     > level 4, order 6, name '/usr/share/texmf/tex/context/fonts/mkiv/type-imp-texgyre.mkiv'
close source    > level 4, order 6, name '/usr/share/texmf/tex/context/fonts/mkiv/type-imp-texgyre.mkiv'
open source     > level 4, order 7, name '/usr/share/texmf/tex/context/fonts/mkiv/type-imp-dejavu.mkiv'
close source    > level 4, order 7, name '/usr/share/texmf/tex/context/fonts/mkiv/type-imp-dejavu.mkiv'
close source    > level 3, order 7, name '/usr/share/texmf/tex/context/fonts/mkxl/type-imp-euler.mkxl'
mathematics     > tweak > 'Euler-Math', size 11.62003, math size 3, version 'Version 0.61' found, version 'Version 000.002 ' expected
colors          > 'rgb' color space is supported
colors          > 'cmyk' color space is supported
modules         > 'units' is loaded
open source     > level 3, order 8, name '/usr/share/texmf/tex/context/modules/mkiv/m-units.mkiv'
close source    > level 3, order 8, name '/usr/share/texmf/tex/context/modules/mkiv/m-units.mkiv'
close source    > level 2, order 8, name 'env-slides.tex'
structures      > bookmark: Hi
structure       > sectioning > title @ level 2 : 0.0 -> Hi
metapost        > initializing instance 'metafun:1' using format 'metafun' and method 'double'
metapost        > loading 'metafun' as '/usr/share/texmf/metapost/context/base/mpxl/metafun.mpxl' using method 'double'
metapost        > initializing number mode 'double'
metapost        > trace > This is MPLIB for LuaMetaTeX, version 3.14, running in double mode.
metapost        > trace > 
metapost        > trace > loading metafun for lmtx, including the plain 1.004 base definitions
metapost        > trace > 
tex error       > tex error on line 1 in file ./slide.tex: 

lua error:

        registered function call [254]: /usr/share/texmf/tex/context/base/mkxl/lpdf-lmt.lmt:1681: attempt to perform bitwise operation on a nil value (local 'options')
stack traceback:
        /usr/share/texmf/tex/context/base/mkxl/lpdf-lmt.lmt:1681: in upvalue 'flushrule'
        /usr/share/texmf/tex/context/base/mkxl/driv-shp.lmt:1659: in upvalue 'vlist_out'
        /usr/share/texmf/tex/context/base/mkxl/driv-shp.lmt:1196: in upvalue 'hlist_out'
        /usr/share/texmf/tex/context/base/mkxl/driv-shp.lmt:1198: in upvalue 'hlist_out'
        /usr/share/texmf/tex/context/base/mkxl/driv-shp.lmt:1625: in upvalue 'vlist_out'
        /usr/share/texmf/tex/context/base/mkxl/driv-shp.lmt:1196: in upvalue 'hlist_out'
        /usr/share/texmf/tex/context/base/mkxl/driv-shp.lmt:1625: in upvalue 'vlist_out'
        /usr/share/texmf/tex/context/base/mkxl/driv-shp.lmt:1196: in upvalue 'hlist_out'
        /usr/share/texmf/tex/context/base/mkxl/driv-shp.lmt:1198: in upvalue 'hlist_out'
        /usr/share/texmf/tex/context/base/mkxl/driv-shp.lmt:1198: in upvalue 'hlist_out'
        ...     (skipping 6 levels)
        /usr/share/texmf/tex/context/base/mkxl/driv-shp.lmt:1198: in upvalue 'hlist_out'
        /usr/share/texmf/tex/context/base/mkxl/driv-shp.lmt:1198: in upvalue 'hlist_out'
        /usr/share/texmf/tex/context/base/mkxl/driv-shp.lmt:1625: in upvalue 'vlist_out'
        /usr/share/texmf/tex/context/base/mkxl/driv-shp.lmt:1623: in upvalue 'vlist_out'
        /usr/share/texmf/tex/context/base/mkxl/driv-shp.lmt:1196: in upvalue 'hlist_out'
        /usr/share/texmf/tex/context/base/mkxl/driv-shp.lmt:1198: in upvalue 'hlist_out'
        /usr/share/texmf/tex/context/base/mkxl/driv-shp.lmt:1198: in upvalue 'hlist_out'
        /usr/share/texmf/tex/context/base/mkxl/driv-shp.lmt:1625: in upvalue 'vlist_out'
        /usr/share/texmf/tex/context/base/mkxl/driv-shp.lmt:1799: in upvalue 'converter'
        /usr/share/texmf/tex/context/base/mkxl/lpdf-lmt.lmt:3719: in upvalue 'convert'
        /usr/share/texmf/tex/context/base/mkxl/driv-ini.lmt:211: in function </usr/share/texmf/tex/context/base/mkxl/driv-ini.lmt:207>
        (...tail calls...)

 1 >>  \environment env-slides
 2     \starttext
 3     \setupbodyfont[myfamily]
 4     \title{Hi}
 5     \startitemize
 6     \item $x$
 7     \item \dm{\sqrt{x + y}}
 8     \stopitemize
 9     \stoptext
10     
mtx-context     | fatal error: return code: 1

Please let me know if I am making other mistakes.

Thanks.
Kumar
___________________________________________________________________________________
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] 7+ messages in thread

* [NTG-context] Re: Problem using Neo Euler in slides
  2025-01-19 17:45   ` a.kumar
@ 2025-01-19 18:02     ` Wolfgang Schuster
  2025-01-20  4:33       ` a.kumar
  0 siblings, 1 reply; 7+ messages in thread
From: Wolfgang Schuster @ 2025-01-19 18:02 UTC (permalink / raw)
  To: ntg-context

Am 19.01.2025 um 18:45 schrieb a.kumar@alumni.iitm.ac.in:
> Thank you for this. Sadly, I still get this:
> 
> [...]
> system          > ConTeXt  ver: 2024.02.27 09:18 LMTX  fmt: 2025.1.15  int: english/english
> [...]
> 
> Please let me know if I am making other mistakes.

I suggest to update your context installation to use the newest version.

PS: The units module is obsolete and context provides support for units 
out of the box with the \unit command.

Wolfgang

___________________________________________________________________________________
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] 7+ messages in thread

* [NTG-context] Re: Problem using Neo Euler in slides
  2025-01-19 18:02     ` Wolfgang Schuster
@ 2025-01-20  4:33       ` a.kumar
  2025-01-20  6:07         ` a.kumar
  0 siblings, 1 reply; 7+ messages in thread
From: a.kumar @ 2025-01-20  4:33 UTC (permalink / raw)
  To: ntg-context

Thank you. I will get back if an upgrade doesn't sort this out.

Kumar
___________________________________________________________________________________
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] 7+ messages in thread

* [NTG-context] Re: Problem using Neo Euler in slides
  2025-01-20  4:33       ` a.kumar
@ 2025-01-20  6:07         ` a.kumar
  0 siblings, 0 replies; 7+ messages in thread
From: a.kumar @ 2025-01-20  6:07 UTC (permalink / raw)
  To: ntg-context

Confirmed that the latest version works without issue. Thanks.

Kumar
___________________________________________________________________________________
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] 7+ messages in thread

end of thread, other threads:[~2025-01-20  6:08 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-01-19 17:00 [NTG-context] Problem using Neo Euler in slides a.kumar
2025-01-19 17:30 ` [NTG-context] " Shiv Shankar Dayal
2025-01-19 17:31 ` Wolfgang Schuster
2025-01-19 17:45   ` a.kumar
2025-01-19 18:02     ` Wolfgang Schuster
2025-01-20  4:33       ` a.kumar
2025-01-20  6:07         ` a.kumar

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