Polling for pygments style for our future doc

70 views
Skip to first unread message

Kwankyu Lee

unread,
Aug 4, 2022, 4:51:25 AM8/4/22
to sage-devel
Hi,

As you seem want more fun in selecting our future doc style, 
I prepared three candidates for the pygments styles to along with the upcoming Furo theme.

(1) tango
tango.png
(2) default
default.png
(3) sphinx
sphinx.png
Please vote!

G. M.-S.

unread,
Aug 4, 2022, 5:58:54 AM8/4/22
to sage-...@googlegroups.com

I prefer sphinx.

Guillermo

sver...@gmail.com

unread,
Aug 4, 2022, 6:16:42 AM8/4/22
to sage-devel
> Please vote!
(1) tango.


best regards
Sverre Lunøe-Nielsen

On Thursday, August 4, 2022 at 10:51:25 AM UTC+2 Kwankyu Lee wrote:
Hi,

As you seem want more fun in selecting our future doc style, 
I prepared three candidates for the pygments styles to along with the upcoming Furo theme.

(1) tango
(2) default
(3) sphinx
Please vote!

John Cremona

unread,
Aug 4, 2022, 6:44:15 AM8/4/22
to SAGE devel
Thanks for setting up the vote.

I vote for sphinx (with default as 2nd choice).

John

--
You received this message because you are subscribed to the Google Groups "sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/b0684613-73f5-4db6-a5c6-1ad67c383c6dn%40googlegroups.com.

Kwankyu Lee

unread,
Aug 4, 2022, 9:02:31 AM8/4/22
to sage-devel

Dima Pasechnik

unread,
Aug 4, 2022, 10:14:54 AM8/4/22
to sage-devel
sphinx

--
You received this message because you are subscribed to the Google Groups "sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+...@googlegroups.com.

davida...@gmail.com

unread,
Aug 4, 2022, 12:31:26 PM8/4/22
to sage-devel
+1 for sphinx

Eric Gourgoulhon

unread,
Aug 4, 2022, 12:33:27 PM8/4/22
to sage-devel
Thanks for preparing this poll. I vote for

(1) tango

Eric.

David Coudert

unread,
Aug 4, 2022, 12:40:38 PM8/4/22
to sage-devel
+1 for sphinx

I don't like the italic in tango.

David.

Matthias Koeppe

unread,
Aug 4, 2022, 12:48:19 PM8/4/22
to sage-devel
default > sphinx > tango

Nathan Dunfield

unread,
Aug 4, 2022, 12:50:26 PM8/4/22
to sage-devel
I prefer sphinx with default as my second choice.

I like the colors in tango, but making all the output in italic is really ugly, especially with the larger matrices in

https://2505ea042169d8a179d4b1f28a0c0baeabdd421a--sagemath-tobias.netlify.app/tutorial/tour_linalg.html

Best,

Nathan

Eric Gourgoulhon

unread,
Aug 4, 2022, 1:00:38 PM8/4/22
to sage-devel
Le jeudi 4 août 2022 à 18:33:27 UTC+2, Eric Gourgoulhon a écrit :
Thanks for preparing this poll. I vote for

(1) tango

Sorry, I missed the point about the italic. Please change my vote to

(2) default

Eric.

David Roe

unread,
Aug 4, 2022, 1:13:17 PM8/4/22
to sage-devel
default > sphinx > tango.  I agree that the italics are the main issue with tango; I like the color scheme more than the other two.
David

--
You received this message because you are subscribed to the Google Groups "sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+...@googlegroups.com.

dmo...@deductivepress.ca

unread,
Aug 4, 2022, 1:35:27 PM8/4/22
to sage-devel
sphinx > default  >>  tango

I agree with the previous criticisms of tango: low contrast (makes it hard to read), italic output, and blue numbers that are too intense.

TB

unread,
Aug 4, 2022, 2:35:03 PM8/4/22
to sage-...@googlegroups.com
sphinx > default  > tango

1. For the color choice alone, I prefer the colors of tango over the colors of default, with exception for C and Cython code. For comparison:

2. Even better colors (more contrast, better background and easier to read) are in the dark theme. I think it is the monokai theme.

Regards,
TB

William Stein

unread,
Aug 4, 2022, 3:04:24 PM8/4/22
to sage-...@googlegroups.com
I vote for sphinx

--
-- William Stein

Kwankyu Lee

unread,
Aug 4, 2022, 7:21:03 PM8/4/22
to sage-devel
Up to now, the voting counts

(1) tango: 1
(2) default: 2
(3) sphinx: 10

and sphinx is the clear winner. So I close the voting. Thank you who participated.

Accordingly, I will update #33833 "Make furo sage standard doc theme" to use the sphinx pygments style.

As I noted elsewhere, we don't need to stick to a builtin style. I hope that someone with designer sense would make a custom style that best suits sage example code blocks. It is a breeze to replace pygments style in Furo theme.

Thank you all!
Reply all
Reply to author
Forward
0 new messages