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

2020-11-25 Thread Daniel Scott
On Sat, Nov 14, 2020, 3:35 AM bradley...@gmail.com 
wrote:

> 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 tests it comes out in italic
> font.
>
> How do I escape the { and } characters so that they display instead of
> switching font in the :samp: role ?
>
> --
> 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/ba1df058-193d-489f-b89b-433ab8526f68n%40googlegroups.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/CAELGjd9v2FcCwM6MVzgwcwvhc36rNmbYKU7Gn1qH5hkNNGxPJQ%40mail.gmail.com.


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
>
> 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 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 tests it comes out in
> italic font.
> >
> > How do I escape the { and } characters so that they display instead of
> switching font in the :samp: role ?
> >
> > --
> > 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/ba1df058-193d-489f-b89b-433ab8526f68n%40googlegroups.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/CAFmkQAMQZfRFSynZSrAGYCAAFNDg25MbVNuVsxxar0hnTSFfbg%40mail.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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sphinx-users/CAG0aaBc17jBcjYw5nmYNSaZU-XDgp7STVJBkbpqUn96p5mJ1vQ%40mail.gmail.com.


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 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 tests it comes out in italic 
> font.
>
> How do I escape the { and } characters so that they display instead of 
> switching font in the :samp: role ?
>
> --
> 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/ba1df058-193d-489f-b89b-433ab8526f68n%40googlegroups.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/CAFmkQAMQZfRFSynZSrAGYCAAFNDg25MbVNuVsxxar0hnTSFfbg%40mail.gmail.com.


[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 tests it comes out in italic 
font. 

How do I escape the { and } characters so that they display instead of 
switching font in the :samp: role ?

-- 
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/ba1df058-193d-489f-b89b-433ab8526f68n%40googlegroups.com.