Just in case someone runs into this thread in google: I managed to handle this by doing something similar to docutils' Contents transform. I couldn't use sphinx' environment.get_toctree because it produces stuff that's somewhat different from what docutils does.
For example, the references docutils creates have refids, while sphinx's have refuris, also, some references didn't seem to point anywhere, or I didn't understand it correctly. The solution in the rst2pdf builder is generic enough that any writer could use it, since it works exactly like docutils'. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
