Thanks for help!

Indeed, ``x = 4 + (3 * 5`` works and ``x = 4 + (3 * 5) `` doesn't, so it's 
a space issue. 

I can swear I tried it both ways yesterday. Somebody must have tweaked my 
Sphinx/docutils installation while I was sleeping ...

Aivar


On Saturday, August 18, 2012 10:50:48 PM UTC+3, Guenter Milde wrote:
>
> On 2012-08-18, Aivar Annamaa wrote: 
>
> > [-- Type: text/plain, Encoding:  --] 
>
> > Hi! 
>
> > I'm trying to write an inline code sample with a syntax error in it: ``x 
> = 
> > 3 + (4 * 5 ``, but I get error "Inline literal start-string without 
> > end-string". If I close the parens, then the error goes away. 
>
> This is not about the parenthesis but the space before the end-string. 
>
> Is there a space before the end-string in your sample, too? 
>
> Does it work with ``x = 4 + (3 * 5``? 
>
> For reference: Does it work with ``x = 4 + (3 * 5) ``? 
>
> In order to minimize false positives, there are quite elaborated rules for 
> recognition of rST role start- and end-strings. See 
>
> http://docutils.sourceforge.net/docs/ref/rst/restructuredtext.html#inline-markup-recognition-rules
>  
>
> Günter 
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"sphinx-dev" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/sphinx-dev/-/sRYLRTS6GmMJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sphinx-dev?hl=en.

Reply via email to