.. index:: entry doesn't work with styles

20 views
Skip to first unread message

Ricardo Pérez López

unread,
Feb 27, 2019, 5:46:50 AM2/27/19
to sphinx-users
Hi:

I'm trying to use the following:

.. index:: ``cos()``

or even better:

.. index:: :php:func:`cos()`

Because I want to get the index entry in monospace font in the index.

However, it doesn't work, because the index entry shows literally as ``cos()`` or :php:func:`cos()`.

Is there a way to do this?

Thanks!

Komiya Takeshi

unread,
Mar 21, 2019, 5:38:25 AM3/21/19
to sphinx...@googlegroups.com
Hi Ricardo,

Unfortunately, there are no way to change the style of indices. Could
you file a proposal to our issue list?
Then I'll consider the option.

Thanks,
Takeshi KOMIYA

2019年2月27日(水) 19:46 Ricardo Pérez López <ric...@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 post to this group, send email to sphinx...@googlegroups.com.
> Visit this group at https://groups.google.com/group/sphinx-users.
> For more options, visit https://groups.google.com/d/optout.

Ricardo Pérez López

unread,
Mar 28, 2019, 4:52:08 AM3/28/19
to sphinx-users
Hi, Takeshi! Thanks for the reply.

I just filed the proposal in the issue list right now:


Greetings,

Ricardo.


El jueves, 21 de marzo de 2019, 10:38:25 (UTC+1), Komiya Takeshi escribió:
Hi Ricardo,

Unfortunately, there are no way to change the style of indices. Could
you file a proposal to our issue list?
Then I'll consider the option.

Thanks,
Takeshi KOMIYA

2019年2月27日(水) 19:46 Ricardo Pérez López <ric...@gmail.com>:
>
> Hi:
>
> I'm trying to use the following:
>
> .. index:: ``cos()``
>
> or even better:
>
> .. index:: :php:func:`cos()`
>
> Because I want to get the index entry in monospace font in the index.
>
> However, it doesn't work, because the index entry shows literally as ``cos()`` or :php:func:`cos()`.
>
> Is there a way to do this?
>
> 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