On Tuesday 08 December 2009 20:32:54 Guenter Milde wrote:
> In Docutils you can do this general for source and included files with
> the tab-width config setting
> http://docutils.sourceforge.net/docs/user/config.html#tab-width
>
> and (since version 0.6) per-file with the tab-width option of the include
> directive
> http://docutils.sf.net/docs/ref/rst/directives.html#including-an-external-d
> ocument-fragment
>
> but not for a specific extension.
>
> I don't know whether Sphinx is up-to-date regarding the tab-width
> directive option.
At least it's not there for sphinx's literalinclude directive.
In fact, that directive doesn't seem to do tab expansion at all?
I had a bug report about "black boxes" in rst2pdf because the raw tabs were
getting to it.
I expanded the tabs in rst2pdf, but it would probably be nicer if it behaved
like the docutils include directive and did a configurable tab expansion at
the directive level instead.
--
("\''/").__..-''"`-. . Roberto Alsina
`9_ 9 ) `-. ( ).`-._.`) KDE Developer (MFCH)
(_Y_.)' ._ ) `._`. " -.-' http://lateral.netmanagers.com.ar
_..`-'_..-_/ /-'_.' The 6,855th most popular site of Slovenia
(l)-'' ((i).' ((!.' according to alexa.com (27/5/2007)
--
You received this message because you are subscribed to the Google Groups
"sphinx-dev" group.
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.