Re: [NTG-context] Strange error updatng LMTX

2019-07-11 Thread Hans Hagen

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
___


Re: [NTG-context] Strange error updatng LMTX

2019-07-10 Thread Henri Menke
\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
> 
>  \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 
> ...
>  \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
___


[NTG-context] Strange error updatng LMTX

2019-07-10 Thread Andres Conrado
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

 \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 ...
 \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
___