On Dec 29, 9:32 am, Guenter Milde <[email protected]> wrote: > On 2009-12-27, chrism wrote: > > FYI, I just made a rough cut at changing the latex writer to: > > - Add LaTeX references and labels (\pageref and \label). > > - Generate references after section header instead of before to make > > hyperlink jumping more correct. > > Did you have a look of the current upstream version (Docutils' latex > writer) where this is already fixed? > (cf.http://docutils.sourceforge.net/HISTORY.html)
No. To be honest, I was not really even aware there *was* an upstream. > > - Include pageref (pp. XXX) in internal reference renderings. > > - Include URL in external href renderings (e.g.http://pocoo.org). > > This is mostly for the benefit of output intended for printing. > > I did the work in an bitbucket fork here: > > For the benefit of both Docutils and Sphinx users, I'd prefer more > Docutils/Sphinx unification instead of additional forking. Now that you tell me there is, if I do a diff between sphinx/writers/ latex.py and docutils/writers/newlatex2e/__init__.py, I see that there are piles of differences. Is this module really "the upstream"? -- 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.
