[dev-context] strc-itm.mklx: Interface check

Wolfgang Schuster wolfgang.schuster.lists at gmail.com
Mon Jun 22 22:28:30 CEST 2020


Hi,

the check for the current interface on line 1596 doesn't work because it 
uses the undefined \v!english variable which should be \s!english.

To ensure commands like \sym work after the fix a few synonyms have to 
be added to \itemgroupcommands.

Line 1579 ff:

\appendtoks
     \let\item            \strc_itemgroups_start_do_item
+   \let\sub             \strc_itemgroups_start_subitem
+   \let\sym             \strc_itemgroups_start_symbol
+   \let\ran             \strc_itemgroups_start_edge
+   \let\its             \strc_itemgroups_start_items
+   \let\mar             \strc_itemgroups_start_margin
     \let\noitem          \strc_itemgroups_start_no_item
     \let\itm             \strc_itemgroups_start_do_item
     \let\but             \strc_itemgroups_start_button
     \let\nop             \strc_itemgroups_start_dummy
     \let\txt             \strc_itemgroups_start_text
     \let\head            \strc_itemgroups_head
     \let\headsym         \strc_itemgroups_start_head_sym
     \let\startitem       \startitemgroupitem
     \let\stopitem        \stopitemgroupitem
     \let\starthead       \startitemgrouphead
     \let\stophead        \stopitemgroupitemhead
     \let\startspecialitem\startspecialitemgroupitem
     \let\stopspecialitem \stopspecialitemgroupitem
\to \itemgroupcommands

-\ifx\currentinterface \v!english \else
+\ifx\currentinterface\s!english \else

Wolfgang



More information about the dev-context mailing list