[NTG-context] two issues with \sciteinlinebuffer

Pablo Rodriguez oinos at gmx.es
Sat Jul 9 10:05:16 CEST 2022


On 7/9/22 08:42, Hans Hagen via ntg-context wrote:
> On 7/8/2022 7:51 PM, Pablo Rodriguez via ntg-context wrote:
>> [...]
>> Excuse my ignorance, but it is \sciteinlinebuffer the misbehaving
>> command in my code.
> \unexpanded\def\module_scite_buffer_inline[#1][#2]%
>    {\dontleavehmode
>     \begingroup
>     \lettypingparameter\c!margin\zeropoint
>     \setcatcodetable\ctxcatcodes % needed in xml
>     \ifsecondargument
>       \clf_scitelexbuffer{#2}{#1}%
>     \else
>       \clf_scitelexbuffer{#1}{tex}%
>     \fi
>     \tt
>     \installscitecommandsinline
>     \module_scite_inherit_typing
>     \dontcomplain
>     \getbuffer[lex]%
>     \removeunwantedspaces
>     \endgroup}

Many thanks for the fix, Hans.

It works perfectly fine now.

Pablo


More information about the ntg-context mailing list