[sphinx-users] Re: Sphinx Pygment Style Jellybeans does not show right background

2016-08-24 Thread Komiya Takeshi
Hi, It seems the jellybeans theme sets the background color of tokens to #151515 (nearly black). https://github.com/cstrahan/pygments-styles/blob/master/themes/jellybeans.py But alabaster; the default theme of sphinx uses white as a background color of code-blocks. Maybe, you should change it u

[sphinx-users] Re: Display section number in reference?

2016-08-24 Thread Peter Burdine
https://github.com/sphinx-doc/sphinx/issues/326 On Wednesday, August 24, 2016 at 11:25:17 AM UTC-7, Jason S wrote: > > +1 > > On Wednesday, June 10, 2015 at 4:12:50 AM UTC-7, Andrea Cassioli wrote: >> >> Hi, >> I am struggling to find a simpler workaround that using a custom >> extension for this

[sphinx-users] Sphinx Pygment Style Jellybeans does not show right background

2016-08-24 Thread Christian
I am trying to use pygment style Jellybeans for some of my source code in C. And it does not look right. Here is what I am using in conf.py. pygments_style = 'jellybeans' It seems that white background styles work, but the dark backgrounds do not. Check out the attached file for a screen

[sphinx-users] How to include formatting in a reference

2016-08-24 Thread Jason S
I need to format the text content of a reference. In HTML I would do something like See setting the foo in Bar-o-Maticâ„¢ In Sphinx RST this doesn't work, if i do See :ref:`setting the ``foo`` in Bar-o-Matic\ |trade| ` then the |trade| doesn't get substituted and the ``foo`` breaks the

[sphinx-users] Re: Display section number in reference?

2016-08-24 Thread Jason S
+1 On Wednesday, June 10, 2015 at 4:12:50 AM UTC-7, Andrea Cassioli wrote: > > Hi, > I am struggling to find a simpler workaround that using a custom extension > for this problem: > > I would like to refer to sections and get as link label the section number > instead of the caption, for instanc