Marco Patzer via ntg-context schrieb am 17.11.2021 um 16:54:
Hi!

I'm in the process of converting some projects to LMTX. Combinations
lacking “”before” and “after” keys (that place content before/after
the *entire* combination, rather than the individual cell pairs), I
came up with the following ugliness – which worked for longer than
it deserved:

[...]

I added vertical spacing and mid-aligned the content without having
to change the sources, that was the idea. However, this fails in
LMTX:

   Undefined control sequence \pack_combinations_start

Does LMTX offer finer control over the combinations or do I have to
rewrite the sources files (to either use floats or surround the
combinations with the required commands)?

1. Your changes don't work anymore because LMTX handles optional arguments in a different way than MkIV. As a result of this change a few commands have disappeared.

2. There are no changes to adjust the vertical before and after a combination environment. Local patches can also be tricky because ConTeXt tries to freeze the definitions of many user level commands which means they can't be redefined when you use a strict overload mode (look at the lowlevel security manual for this feature).

The most reliable way to center you combination blocks is to put them either in a float or put a framedtext environment around it.

Wolfgang

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

Reply via email to