Re: [sphinx-users] esaping { and } in :samp: role

2020-11-14 Thread منصةشليله blog
منصة-شليله Thank you so much . Please help. I do not speak English and have not been able to translate often في السبت، ١٤ نوفمبر ٢٠٢٠ ١٤:٥٣ Komiya Takeshi كتب: > Hi, > > Please use double backslashes to escape curly braces :samp:`\\{ {x} , {y} > \\}`. > > Thanks, > Takeshi KOMIYA > >

Re: [sphinx-users] esaping { and } in :samp: role

2020-11-14 Thread Komiya Takeshi
Hi, Please use double backslashes to escape curly braces :samp:`\\{ {x} , {y} \\}`. Thanks, Takeshi KOMIYA 2020年11月14日(土) 20:35 bradley...@gmail.com : > > In the following documentation > https://www.sphinx-doc.org/en/master/usage/restructuredtext/roles.html#role-samp > > It says: > Changed in

[sphinx-users] Re: esaping { and } in :samp: role

2020-11-14 Thread bradley...@gmail.com
Sorry for the mistake in the example code, the input should end in a backquote; i.e., :samp:`\{ {x} , {y} \}` On Saturday, November 14, 2020 at 4:35:53 AM UTC-7 bradley...@gmail.com wrote: > In the following documentation > >

[sphinx-users] esaping { and } in :samp: role

2020-11-14 Thread bradley...@gmail.com
In the following documentation https://www.sphinx-doc.org/en/master/usage/restructuredtext/roles.html#role-samp It says: Changed in version 1.8: Allowed to escape curly braces with backslash I therefore expect the input :samp:`\{ {x}, {y} \}' to have the first { in normal font, but in my