ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Loading units fails
@ 2018-04-24 17:58 Michael Guravage
  2018-04-24 20:32 ` Hans Hagen
  0 siblings, 1 reply; 2+ messages in thread
From: Michael Guravage @ 2018-04-24 17:58 UTC (permalink / raw)
  To: ntg-context


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

Dear list members,

I do not know when this problem first appeared, I have not used the units
package for a while, but merely invoking the package with the latest beta
provokes an error.

MWE:

\usemodule[units]
  \starttext
    help
  \stoptext

The attached log says there is a problem on line 42 of m-units.mkiv.

Any help would be appreciated.

-- 
With kind regards,

Michael Guravage

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

[-- Attachment #2: testing.log --]
[-- Type: text/x-log, Size: 6506 bytes --]

open source     > level 1, order 1, name '/opt/ConTeXt-alpha/tex/texmf-context/tex/context/base/mkiv/cont-yes.mkiv'
system          > 
system          > ConTeXt  ver: 2018.04.19 15:53 MKIV beta  fmt: 2018.4.24  int: english/english
system          > 
system          > 'cont-new.mkiv' loaded
open source     > level 2, order 2, name '/opt/ConTeXt-alpha/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv'
close source    > level 2, order 2, name '/opt/ConTeXt-alpha/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv'
system          > files > jobname 'testing', input './testing', result 'testing'
fonts           > latin modern fonts are not preloaded
languages       > language 'en' is active
open source     > level 2, order 3, name '/tmp/testing.tex'
modules         > 'units' is loaded
open source     > level 3, order 4, name '/opt/ConTeXt-alpha/tex/texmf-context/tex/context/modules/mkiv/m-units.mkiv'

tex error       > tex error on line 42 in file /opt/ConTeXt-alpha/tex/texmf-context/tex/context/modules/mkiv/m-units.mkiv: ! Undefined control sequence

<argument> title: units
             1: use \string \Degrees \space \string \Celsius \space instead of 
\mult_messages_start_yes ...erfacemessages {#1}{#2
                                                  }\egroup 
l.42 \stopmessages
                

32     %D an upward compatibility issue.
33     
34     \startmessages  dutch  library: units
35       title: eenheden
36           1: gebruik \string\Degrees\space\string\Celsius\space in plaats van \string\Celsius !
37     \stopmessages
38     
39     \startmessages  english  library: units
40       title: units
41           1: use \string\Degrees\space\string\Celsius\space instead of \string\Celsius !
42 >>  \stopmessages
43     
44     \startmessages  german  library: units
45       title: Einheiten
46           1: Verwende \string\Degrees\space\string\Celsius\space statt \string\Celsius !
47     \stopmessages
48     
49     \startmessages  italian  library: units
50       title: unita
51           1: usare \string\Degrees\space\string\Celsius\space invece di \string\Celsius !
52     \stopmessages


? x

system          > start used files

system          > text: testing

system          > stop used files


system          > start used files

system          >    1: filename=char-prv.lua filetype=tex format=tex foundname=/opt/ConTeXt-alpha/tex/texmf-context/tex/context/base/mkiv/char-prv.lua fullname=/opt/ConTeXt-alpha/tex/texmf-context/tex/context/base/mkiv/char-prv.lua usedmethod=database
system          >    2: filename=cont-yes.mkiv filetype=tex foundname=/opt/ConTeXt-alpha/tex/texmf-context/tex/context/base/mkiv/cont-yes.mkiv fullname=/opt/ConTeXt-alpha/tex/texmf-context/tex/context/base/mkiv/cont-yes.mkiv usedmethod=database
system          >    3: filename=publ-imp-default.lua filetype=scripts foundname=/opt/ConTeXt-alpha/tex/texmf-context/tex/context/base/mkiv/publ-imp-default.lua fullname=/opt/ConTeXt-alpha/tex/texmf-context/tex/context/base/mkiv/publ-imp-default.lua usedmethod=database
system          >    4: filename=cont-new.mkiv filetype=tex foundname=/opt/ConTeXt-alpha/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv fullname=/opt/ConTeXt-alpha/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv usedmethod=database
system          >    5: filename=lang-exc.lua filetype=scripts foundname=/opt/ConTeXt-alpha/tex/texmf-context/tex/context/base/mkiv/lang-exc.lua fullname=/opt/ConTeXt-alpha/tex/texmf-context/tex/context/base/mkiv/lang-exc.lua usedmethod=database
system          >    6: filename=lang-us.lua filetype=scripts foundname=/opt/ConTeXt-alpha/tex/texmf-context/tex/context/patterns/mkiv/lang-us.lua fullname=/opt/ConTeXt-alpha/tex/texmf-context/tex/context/patterns/mkiv/lang-us.lua usedmethod=database
system          >    7: filename=/tmp/testing.tex foundname=/tmp/testing.tex fullname=/tmp/testing.tex usedmethod=direct
system          >    8: filename=m-units.mkiv filetype=tex foundname=/opt/ConTeXt-alpha/tex/texmf-context/tex/context/modules/mkiv/m-units.mkiv fullname=/opt/ConTeXt-alpha/tex/texmf-context/tex/context/modules/mkiv/m-units.mkiv usedmethod=database

system          > stop used files


system          > start commandline options

system          > currentrun="1"
system          > fulljobname="./testing.tex"
system          > input="./testing.tex"
system          > kindofrun="1"
system          > maxnofruns="9"
system          > no-parse-first-line="true"

system          > stop commandline options


system          > start commandline files

system          >    1: ./testing.tex

system          > stop commandline files


modules         > start used modules

modules         > loaded : *-units

modules         > stop used modules


mkiv lua stats  > used config file: selfautoparent:/texmf/web2c/texmfcnf.lua
mkiv lua stats  > used cache path: readable+writable: '/home/michael/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e'
mkiv lua stats  > resource resolver: loadtime 0.009 seconds, 0 scans with scantime 0.000 seconds, 0 shared scans, 8 found files, scanned paths: <none>
mkiv lua stats  > stored bytecode data: 424 modules (0.195 sec), 93 tables (0.014 sec), 517 chunks (0.209 sec)
mkiv lua stats  > traced context: maxstack: 1295, freed: 0, unreachable: 1295
mkiv lua stats  > cleaned up reserved nodes: 55 nodes, 9 lists of 453
mkiv lua stats  > node memory usage: 1 dir, 2 kern, 2 attribute, 50 glue_spec, 1 attribute_list, 2 temp, 2 user_defined
mkiv lua stats  > used backend: pdf (backend for directly generating pdf output)
mkiv lua stats  > jobdata time: 0.000 seconds saving, 0.000 seconds loading
mkiv lua stats  > callbacks: internal: 32, file: 165, direct: 2, late: 0, function 57, total: 256
mkiv lua stats  > loaded tex modules: 1 requested, all found (*-units)
mkiv lua stats  > loaded patterns: en::2, load time: 0.000
mkiv lua stats  > result saved in file: testing.pdf, compresslevel 3, objectcompresslevel 3
mkiv lua stats  > font engine: otf 3.103, afm 1.513, tfm 1.000
mkiv lua stats  > used platform: linux-64, type: unix, binary subtree: texmf-linux-64
mkiv lua stats  > used engine: luatex version 1.08 with functionality level 6712, banner: this is luatex, version 1.08.0 (tex live 2018)
mkiv lua stats  > control sequences: 44733 of 65536 + 100000
mkiv lua stats  > lua properties: engine: lua 5.3, used memory: 68 MB (ctx: 68 MB), hash type: lua, hash chars: min(64,40), symbol mask: utf (τεχ)
mkiv lua stats  > runtime: 308.891 seconds


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

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

* Re: Loading units fails
  2018-04-24 17:58 Loading units fails Michael Guravage
@ 2018-04-24 20:32 ` Hans Hagen
  0 siblings, 0 replies; 2+ messages in thread
From: Hans Hagen @ 2018-04-24 20:32 UTC (permalink / raw)
  To: ntg-context

On 4/24/2018 7:58 PM, Michael Guravage wrote:
> Dear list members,
> 
> I do not know when this problem first appeared, I have not used the 
> units package for a while, but merely invoking the package with the 
> latest beta provokes an error.
> 
> MWE:
> 
> \usemodule[units]
>    \starttext
>      help
>    \stoptext
> 
> The attached log says there is a problem on line 42 of m-units.mkiv.
> 
> Any help would be appreciated.
units are built in (dimensions)

anyway, you can fix this in mult-ini.mkiv

\unexpanded\def\startmessages #1 library: #2 %
   {\bgroup
    \ifcsname\m!prefix!#2\endcsname\else\setgvalue{\m!prefix!#2}{#2}\fi
    \catcode\endoflineasciicode\othercatcode
 
\doifelseinset{#1}{\currentresponses,all}\mult_messages_start_yes\mult_messages_start_nop{#2}}




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

end of thread, other threads:[~2018-04-24 20:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-24 17:58 Loading units fails Michael Guravage
2018-04-24 20:32 ` 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).