Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle \left and \right commands #47

Merged
merged 1 commit into from
May 13, 2021
Merged

Handle \left and \right commands #47

merged 1 commit into from
May 13, 2021

Conversation

jkuczm
Copy link
Owner

@jkuczm jkuczm commented May 13, 2021

\left and \right commands used with listings-fancyverb interface, even when properly registered with morefvcmdparams lead to "Missing delimiter" error.

Probably they use their argument in some special way incompatible with how listings is passing arguments to fvcmdparams-registered commands.

We can make them work by wrapping them with "ordinary" document level commands. Since those commands should work as originals, we just redefine originals locally inside formatted cells that use listings.

`\left` and `\right` commands used with `listings`-`fancyverb`
interface, even when properly registered with `morefvcmdparams` lead to
"Missing delimiter" error.

Probably they use their argument in some special way incompatible with
how `listings` is passing arguments to `fvcmdparams`-registered
commands.

We can make them work by wrapping them with "ordinary" document level
commands. Since those commands should work as originals, we just
redefine originals locally inside formatted cells that use `listings`.
@jkuczm jkuczm added the bug label May 13, 2021
@jkuczm jkuczm added this to the 0.3.3 milestone May 13, 2021
@jkuczm jkuczm merged commit 73a0ee7 into master May 13, 2021
@jkuczm jkuczm deleted the fix_left_right branch May 13, 2021 16:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant