1 Mar 2007 02:12
Re: Invisible document node for include?
Mark Nodine <marknodine <at> austin.rr.com>
2007-03-01 01:12:25 GMT
2007-03-01 01:12:25 GMT
Stefan Rank wrote:
> Hi docutilsers,
>
> I just tried to write a replacement for the Include directive that works
> in a web application - and it does.
>
> I wanted to go further and (optionally) show in the output which parts
> were ``.. include``d:
> This is easy for :literal: includes. I just add a class.
> This is impossible for normal includes, (AFAICT ?)
> because there is no document node that corresponds to the inclusion.
Can't you do something like
.. compound::
:class: included
.. include:: myfile
--Mark
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>
> At least it's good enough to eat this, which uses almost every rst feature:
>
>
RSS Feed