ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Strange error updatng LMTX
@ 2019-07-11  2:45 Andres Conrado
  2019-07-11  2:53 ` Henri Menke
  0 siblings, 1 reply; 3+ messages in thread
From: Andres Conrado @ 2019-07-11  2:45 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

When updating my LMTX installation today, I got this:

tex error       > tex error on line 179 in file
/home/conrado/Apps/lmtx/tex/texmf-context/tex/context/base/mkiv/strc-flt.mkvi:
! Undefined control sequence

<argument> \c!compressdistance
                    =\emwidth
\mult_interfaces_get_parameters_item ...2->\if ,#1
                                                  ,\expandafter \mult_interf...
\mult_interfaces_get_parameters_indeed ...tem #1,]
                                                  ,
\setup_float ...es_get_parameters {\??float :}[#1]
                                                  \the \everysetupfloat \fi ...
<to be read again> \syst_helpers_double_empty_two_nop
                                    \par
l.179


169        \c!bottomoffset=\zeropoint,
170        \c!freeregion=\v!yes,
171       %\c!local=,
172       %\c!bottombefore=, % e.g. \vfill
173       %\c!bottomafter=,
174       %\c!default=, % default location
175        \c!sidethreshold=.5\strutdp, % set to "old" to check with old method
176        \c!numbering=\v!yes,
177        \c!compress=\v!yes, % when possible pack floats when flushing
178        \c!compressdistance=\emwidth]
179 >>
180     \setupfloatframed
181       [\c!frame=\v!off,
182        \c!offset=\v!overlay,
183        \c!strut=\v!no]
184
185     \appendtoks
186         \doifelse{\floatparameter\c!compress}\v!yes\settrue\setfalse\c_page_floats_pack_flushed
187         \d_page_floats_compress_distance\floatparameter\c!compressdistance\relax
188     \to \everysetupfloat
189


The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., '\hobx'), type 'I' and the correct
spelling (e.g., 'I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

Seems to affect the floats mechanism.

Andrés Conrado Montoya
http://chiquitico.org

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

[-- Attachment #2: Type: text/plain, Size: 493 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] 3+ messages in thread

* Re: Strange error updatng LMTX
  2019-07-11  2:45 Strange error updatng LMTX Andres Conrado
@ 2019-07-11  2:53 ` Henri Menke
  2019-07-11  7:26   ` Hans Hagen
  0 siblings, 1 reply; 3+ messages in thread
From: Henri Menke @ 2019-07-11  2:53 UTC (permalink / raw)
  To: ntg-context

\c!compressdistance is defined in strc-lnt.mkvi which is loaded *after*
strc-flt.mkvi (where it is used) in context.mkiv.  This has to be fixed
by Hans.

Cheers, Henri

On 11/07/19 2:45 PM, Andres Conrado wrote:
> When updating my LMTX installation today, I got this:
> 
> tex error       > tex error on line 179 in file
> /home/conrado/Apps/lmtx/tex/texmf-context/tex/context/base/mkiv/strc-flt.mkvi:
> ! Undefined control sequence
> 
> <argument> \c!compressdistance
>                     =\emwidth
> \mult_interfaces_get_parameters_item ...2->\if ,#1
>                                                   ,\expandafter \mult_interf...
> \mult_interfaces_get_parameters_indeed ...tem #1,]
>                                                   ,
> \setup_float ...es_get_parameters {\??float :}[#1]
>                                                   \the \everysetupfloat \fi ...
> <to be read again> \syst_helpers_double_empty_two_nop
>                                     \par
> l.179
> 
> 
> 169        \c!bottomoffset=\zeropoint,
> 170        \c!freeregion=\v!yes,
> 171       %\c!local=,
> 172       %\c!bottombefore=, % e.g. \vfill
> 173       %\c!bottomafter=,
> 174       %\c!default=, % default location
> 175        \c!sidethreshold=.5\strutdp, % set to "old" to check with old method
> 176        \c!numbering=\v!yes,
> 177        \c!compress=\v!yes, % when possible pack floats when flushing
> 178        \c!compressdistance=\emwidth]
> 179 >>
> 180     \setupfloatframed
> 181       [\c!frame=\v!off,
> 182        \c!offset=\v!overlay,
> 183        \c!strut=\v!no]
> 184
> 185     \appendtoks
> 186         \doifelse{\floatparameter\c!compress}\v!yes\settrue\setfalse\c_page_floats_pack_flushed
> 187         \d_page_floats_compress_distance\floatparameter\c!compressdistance\relax
> 188     \to \everysetupfloat
> 189
> 
> 
> The control sequence at the end of the top line
> of your error message was never \def'ed. If you have
> misspelled it (e.g., '\hobx'), type 'I' and the correct
> spelling (e.g., 'I\hbox'). Otherwise just continue,
> and I'll forget about whatever was undefined.
> 
> Seems to affect the floats mechanism.
> 
> Andrés Conrado Montoya
> http://chiquitico.org
> 
> 
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________
> 

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

* Re: Strange error updatng LMTX
  2019-07-11  2:53 ` Henri Menke
@ 2019-07-11  7:26   ` Hans Hagen
  0 siblings, 0 replies; 3+ messages in thread
From: Hans Hagen @ 2019-07-11  7:26 UTC (permalink / raw)
  To: mailing list for ConTeXt users, Henri Menke

On 7/11/2019 4:53 AM, Henri Menke wrote:
> \c!compressdistance is defined in strc-lnt.mkvi which is loaded *after*
> strc-flt.mkvi (where it is used) in context.mkiv.  This has to be fixed
> by Hans.

no, the definitions there are just some leftovers from when that module 
was developed, so these 5 can go there; keywords are defined in 
mult-def.lua

maybe just try to update again (maybe one file was not fetched right)
  (i cannot update lmtx now because alan and i need to test some more or 
less fundamental adaptions in the tex/mp engine first)

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

end of thread, other threads:[~2019-07-11  7:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-11  2:45 Strange error updatng LMTX Andres Conrado
2019-07-11  2:53 ` Henri Menke
2019-07-11  7:26   ` 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).