Leandro Lucarella, el 28 de junio a las 02:18 me escribiste:
> 
> David Goodger, el 27 de junio a las 17:52 me escribiste:
> > On Fri, Jun 26, 2009 at 20:37, Leandro Lucarella<[email protected]> wrote:
> > > Sounds fair, but I need to know what writer will be used when doing the
> > > transformation. Is that possible? How? I can't find any code doing that.
> > 
> > See the Filter transform here:
> > http://docutils.sourceforge.net/docutils/transforms/components.py
> > 
> > Within a transform, self.document.transformer.components['writer']
> > will give you the writer object.
> 
> This is really nice, but... (there's always a but =) Sphinx seems to be
> using a SphinxDummyWriter when transforming, no matter what the real
> output format really is =/
> 
> All seems to be shaping out good using the Transform approach in the
> docutils side, but I'm getting some Sphinx-specific problems. Besides the
> dummy writer, I don't know if I can (and how) access to the builder when
> implementing the Directive and Transform (I need to get some Sphinx
> options from there)
> 
> I think I will need some Sphinx guidance to move on...

I'm hate to be insistent, but I'm really stuck with this. Does anyone know
how can I get what writer will be used (and the Sphinx builder object)
when doing a Docutils Transform?

Thanks.

-- 
Leandro Lucarella (luca) | Blog colectivo: http://www.mazziblog.com.ar/blog/
----------------------------------------------------------------------------
GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145  104C 949E BFB6 5F5A 8D05)
----------------------------------------------------------------------------

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

Reply via email to