[sphinx-dev] Re: literalinclude vs. include

2009-12-10 Thread Guenter Milde
On 2009-12-10, Jason S wrote:

 On Dec 9, 4:20 pm, Guenter Milde mi...@users.berlios.de wrote:
  Argh! include :literal: is perfect, except that for some
  reason it's mucking with my quotes to make them angled. :-(

 Could you be more specific here? '' - '' or what?


 single quote ' straight-up-and-down is being converted to single quote
 angled left or right (oddly most of the time it's one way but
 occasionally the other)

Then it is the smartypants beautification I mentioned in the last post.
File a bug report to Sphinx.

--

You received this message because you are subscribed to the Google Groups 
sphinx-dev group.
To post to this group, send email to sphinx-...@googlegroups.com.
To unsubscribe from this group, send email to 
sphinx-dev+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sphinx-dev?hl=en.




[sphinx-dev] Re: literalinclude vs. include

2009-12-09 Thread Guenter Milde
On 2009-12-09, Jason S wrote:
 On Dec 9, 11:14 am, Jason S jmsa...@gmail.com wrote:
 Never mind, I figured something out.

 In my source .rst file, I changed

 .. literalinclude:: tennis.espdf

 to

 .. include:: tennis.espdf
    :literal:
    :tab-width: 3


 Argh! include :literal: is perfect, except that for some
 reason it's mucking with my quotes to make them angled. :-(

Could you be more specific here? '' - '' or what?

 How come literalinclude leaves the quotes alone, but include :literal:
 messes with quotes?

Just guessing: A sphinx bug: overactive smartypants beautifying not
recognizing the :literal: option of the include directive.

You might consider turning off the automatic quote replacement completely
(eventually after changing the quotes in the source).

Günter

--

You received this message because you are subscribed to the Google Groups 
sphinx-dev group.
To post to this group, send email to sphinx-...@googlegroups.com.
To unsubscribe from this group, send email to 
sphinx-dev+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sphinx-dev?hl=en.