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

substitution definition of a math formula #203

Closed
shimizukawa opened this issue Jan 2, 2015 · 1 comment
Closed

substitution definition of a math formula #203

shimizukawa opened this issue Jan 2, 2015 · 1 comment
Labels

Comments

@shimizukawa
Copy link
Member

It seems to be impossible to define substitutions for math formulas.

To demonstrate the error, try to compile the following simple code

#!rest

This is a simple math equation |eqn| .

.. |eqn|  math:: e^{i\pi} + 1 = 0

When I try to compile it, am getting the following error:

(WARNING/2) Substitution definition "eqn" empty or invalid.

.. |eqn|  math:: e^{i\pi} + 1 = 0

@shimizukawa
Copy link
Member Author

From Georg Brandl on 2009-07-09 18:29:39+00:00

You'll need to use a slightly different syntax:

{{{
.. |eqn| replace:: :math:formula
}}}

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 9, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant