On 8/1/2024 2:50 PM, Taco Hoekwater wrote:
Hi,
Something seems wrong with the align processing inside \setupmargindata,
because using a macro like
\def\Inmargin#1{\inmargin{\blank[-line]\startalignment[inner,nothyphenated]#1\stopalignment}}
works ok (the \blank[-line] is a side-effect of using the environment inside a
margin text).
can you test with
\permanent\protected\tolerant\def\definealign[#1]#*[#2]%
{\pushmacro\raggedcommand
\pushmacro\updateraggedskips
\edef\m_spac_align_named{#1}%
\edef\m_spac_align_asked{#2}%
\spac_align_add_to_cache
\popmacro\updateraggedskips
\popmacro\raggedcommand}
(in cont-new.mkxl after \unprotect)
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 /
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
___________________________________________________________________________________