• I’m new to QuickLaTeX and am using it with the Gutenberg block editor, the standard editor in current versions of WordPress.

    While QuickLaTeX seems to be generally functioning in a useful way, I don’t understand what’s going on with commands defined using \newcommand. I’ve been able to use this command within a Shortcode block. Within the scope of that block, commands are recognized.

    But, awareness of the defined command seems to persist only within the current block, and seems to be absent in the very next paragraph and beyond.

    Is there some way around this rather painful apparent limitation?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author advanpix

    (@advanpix)

    You can put \newcommand to the site-wide preamble in QuackLaTeX->Advanced settings

    Thread Starter rhwentworth

    (@rhwentworth)

    That’s helpful. Doing that, I am now able to have commands defined by \newcommand be generally recognized within the page.

    A remaining problem is that references to equation numbers are not recognized elsewhere.

    While I can simply insert equation numbers manually, that’s error prone. So, it would be ideal to find a fix for unrecognized equation references.

    Anyone have an idea about how to address this?

    Plugin Author advanpix

    (@advanpix)

    There is no quick workaround for this, except for manual insertion.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Scope of custom LaTeX macros in pages with Gutenberg editor blocks’ is closed to new replies.