Substitution with math

15 views
Skip to first unread message

RdB

unread,
Mar 4, 2020, 9:14:03 AM3/4/20
to sphinx-users
Hello,

I did not find documentation on how to do substitutions with math role. How can I achieve it?

If I do

.. |normal| replace :: :math:`\hat{n}`

It gives me:

<rst_epilog>:2: WARNING: Substitution definition "pde" empty or invalid.

Thanks,

Komiya Takeshi

unread,
Mar 4, 2020, 11:25:45 AM3/4/20
to sphinx...@googlegroups.com
Hi,

It seems an invalid space found before "::". Could you remove it please?

Thanks,
Takeshi KOMIYA

2020年3月4日(水) 23:14 RdB <rubendi...@gmail.com>:
> --
> You received this message because you are subscribed to the Google Groups "sphinx-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to sphinx-users...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/sphinx-users/0db38d3e-db2e-44ec-8206-c8320c083355%40googlegroups.com.

RdB

unread,
Mar 6, 2020, 11:41:49 AM3/6/20
to sphinx-users
That was indeed it.

Thanks for helping!


On Wednesday, March 4, 2020 at 5:25:45 PM UTC+1, Komiya Takeshi wrote:
Hi,

It seems an invalid space found before "::". Could you remove it please?

Thanks,
Takeshi KOMIYA

2020年3月4日(水) 23:14 RdB <rubendi...@gmail.com>:
>
> Hello,
>
> I did not find documentation on how to do substitutions with math role. How can I achieve it?
>
> If I do
>
> .. |normal| replace :: :math:`\hat{n}`
>
> It gives me:
>
> <rst_epilog>:2: WARNING: Substitution definition "pde" empty or invalid.
>
> Thanks,
>
> --
> You received this message because you are subscribed to the Google Groups "sphinx-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to sphinx...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages