Nodes are skipped in long snippets when nested expansion #1324
-
|
I have the following snippet file: return {}, {
s({
trig = 'tshort',
name = 'tikzcd short exact sequence'
}, {
i(1), t(' \\ar[r'), i(2), t({']', '& '}),
i(3), t(' \\ar[r'), i(4), t({']', '& '}),
i(5), t(' \\ar[r'), i(6), t({']', '& '}),
i(7), t(' \\ar[r'), i(8), t({']', '& '}),
i(9)
}),
s({
trig = 'tlong',
name = 'tikzcd term of long exact sequence',
}, {
t({'& '}), i(1), t(' \\ar[r'), i(2), t(']')
}),
s({
trig = 'ie',
name = 'i.e.'
}, {
t('i.\\,e.,')
})
}If I type Is this a bug? Or should I fix something? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
|
Odd! |
Beta Was this translation helpful? Give feedback.
-
|
After some experimentation, this problem doesn't happen if the Maybe this is related: #1288. In this issue, it is explained that nested expansion will consume the character before the child snippet so that the parent snippet is broken. |
Beta Was this translation helpful? Give feedback.
-
|
Answered in issue #1390. |
Beta Was this translation helpful? Give feedback.
Answered in issue #1390.