yxakuo / thinkstats

Automatically exported from code.google.com/p/thinkstats
0 stars 0 forks source link

thinkbayes DocBook: cross references are redundant #13

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Get rid of the redundant Chapter Chapter and Section Section

Original issue reported on code.google.com by allendow...@gmail.com on 27 Jun 2013 at 3:42

GoogleCodeExporter commented 9 years ago
Solved by adding

s = re.sub(r'\w*.<xref',  r'<xref', s)

to

plastex/plasTeX/Renderers/DocBook/__init__.py

Seems to be working.

Original comment by allendow...@gmail.com on 27 Jun 2013 at 5:30

GoogleCodeExporter commented 9 years ago

Original comment by allendow...@gmail.com on 27 Jun 2013 at 5:30