here is a page of output from a sphinx project:
http://twistedsphinx.funsize.net/projects/web/howto/resource-templates.html

here is the source of that page:
http://twistedsphinx.funsize.net/_sources/projects/web/howto/resource-templates.txt

Near the end is a file included using the literalinclude directive.  As you
can see it is not being highlighted, though I think it should be.
It's just getting stuck in a <pre> tag.

Every other literalinclude-ed file in this project works just fine.

Things I have tried:

* renaming the file from 'webquote.rtl' to webquote.py -- no change
* using the ':language: python' option on the literalinclude directive -- no
change
* messing around with line endings -- no luck
* messing around with html entity escaping -- no luck

I can highlight this code with no problem using pygments' 'pygmentize'
command line tool, so I don't think it's a problem with pygments.

???

Kevin Horn

-- 
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.

Reply via email to