Hi,

It seems the `role` directive only takes a lowercased role name. I
succeeded to build the .rst file with `.. role:: latexlogo` in
rst_prolog.
I don't know this is a bug of docutils or not.

Thanks,
Takeshi KOMIYA

2020年12月12日(土) 1:27 Denis Bitouzé <denis.bito...@gmail.com>:
>
> In my Sphinx-doc instance, I have:
>
> - at the end of my `conf.py` file:
>
> --8<---------------cut here---------------start------------->8---
> rst_prolog = """
> .. role:: LaTeXLogo
> """
> --8<---------------cut here---------------end--------------->8---
>
> - in some of my `.rst` files:
>
> --8<---------------cut here---------------start------------->8---
> :LaTeXLogo:`LaTeX`
> --8<---------------cut here---------------end--------------->8---
>
> But this doesn't work since `make html` retrains:
>
>   ┌────
>   │ WARNING: Unknown interpreted text role "LaTeXLogo".
>   └────
>
> Am I missing something?
>
> Thanks!
> --
> Denis
>
> --
> 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+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/sphinx-users/87wnxofgu9.fsf%40example.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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sphinx-users/CAFmkQAOna57F_5C-%2Be19OXSR%3DpZWPQm%3DtbKGjN8-aB3QSvcpqw%40mail.gmail.com.

Reply via email to