rst2pdf Changelog

What's new in rst2pdf 0.93

Jan 4, 2013
  • Fixed Issue 447: Double-sided always starts on the right (By Rob Ludwick)
  • Removed --first-page-even as it was not used anywhere.
  • Added --first-page-on-right
  • Fixed Issue 464: support alignment via :class: in image directives.
  • Fixed Issue 482: Line blocks with indented parts get extraneous spacing
  • Fixed Issue 470: Support for :target: in figures.
  • New style "image" to be applied to image directives.
  • Fixed Issue 485: Better styling support for figures/images (spaceBefore/After)
  • Support rst2pdf [inf [outf]] syntax to be more compatible with rst2*
  • Implemented Issue 389: New --strip-element-with-class option
  • Fixed Issue 474: CellStyle1 is not there in reportlab 2.6
  • Removed default padding from DelayedTable, which looked bad on headers/footers.
  • Improvements to the math directive (font color and size)
  • Better support for styling literals.
  • Fixed Issue 454 (Splitting failure)
  • Regressed Issue 374 (some literal blocks get oversplit)
  • Switched from svglib to svg2rlg
  • Removed uniconvertor support
  • Fixed Issue 477: Sink footnote separator (patch by asermax)
  • Fixed Issue 473: Support "code" directive like an alias of code-block.
  • Fixed Issue 472: Implemented MyImage._unRestrictSize
  • Fixed Issue 471: Respect class in lineblocks.
  • Fixed Issue 455: New pisa/xhtml2pdf has very different imports
  • Marked Issue 358 as fixed.
  • Fixed Issue 410: always include full lines in code-blocks (mmueller patch)

New in rst2pdf 0.92 (Aug 14, 2012)

  • Fixed Issue 394; missing _restrictSize method with RL 2.5
  • Fixed Issue 452: applying missing classes to lists crashed rst2pdf
  • Fixed Issue 427: multiple spaces collapsed on inline literals.
  • Fixed Issue 451: roman.py was moved in docutils 0.9
  • Fixed Issue 446: made it work again with python 2.4

New in rst2pdf 0.16 (Dec 15, 2010)

  • Fixed Issue 343: Plugged memory leak in the RSON parser.
  • Fix for Issue 287: there is still a corner case if you have two sections with the same title, at the same level, in the same page, in different files where the links will break.
  • Fixed Issue 367: german-localized dates are MM. DD. YYYY so when used in sphinx's template cover they appeared weird, like a list item. Fixed with a minor workaround in the template.
  • Fixed Issue 366: links to "#" make no sense on a PDF file
  • Made definitions from definition lists more stylable.
  • Moved definition lists to SplitTables, so you can have very long definitions.
  • Fixed Issue 318: Implemented Domain specific indexes for Sphinx 1.0.x
  • Fixed Index links when using Sphinx/pdfbuilder.
  • Fixed Issue 360: Set literal.wordWrap to None by default so it doesn't inherit wordWrap CJK when you use the otherwise correct japanese settings. In any case, literal blocks are not supposed to wrap at all.
  • Switched pdfbuilder to use SplitTables by default (it made no sense not to do it)
  • Fixed Issue 365: some TTF fonts don't validate but they work anyway.
  • Set a valid default baseurl for Sphinx (makes it much faster!)
  • New feature: --use-numbered-links to show section numbers in links to sections, like "See section 2.3 Termination"
  • Added stylesheets for landscape paper sizes (i.e: a4-landscape.style)
  • Fixed Issue 364: Some options not respected when passed in per-doc options in sphinx.
  • Fixed Issue 361: multiple linebreaks in line blocks were collapsed.
  • Fixed Issue 363: strange characters in some cases in math directive.
  • Fixed Issue 362: Smarter auto-enclosing of equations in $...$
  • Fixed Issue 358: --real--footnotes defaults to False, but help text indicates default is True
  • Fixed Issue 359: Wrong --fit-background-mode help string
  • Fixed Issue 356: missing cells if a cell spawns rows and columns.
  • Fixed Issue 349: Work correctly with languages that are available in form aa_bb and not aa (example: zh_cn)
  • Fixed Issue 345: give file/line info when there is an error in a raw PDF directive.
  • Fixed Issue 336: JPEG images should work even without PIL (but give a warning because sizes will probably be wrong)
  • Fixed Issue 351: footnote/citation references were generated incorrectly, which caused problems if there was a citation with the same text as a heading.
  • Fixed Issue 353: better handling of graphviz, so that it works without vectorpdf but gives a warning about it.
  • Fixed Issue 354: make todo_node from sphinx customizable.
  • Fixed bug where nested lists broke page layout if the page was small.
  • Smarter --inline-links option
  • New extension: fancytitles, see http://lateral.netmanagers.com.ar/weblog/posts/BB906.html
  • New feature: tab-width option in code-block directive (defaults to 8).
  • Fixed Issue 340: endnotes/footnotes were not styled.
  • Fixed Issue 339: class names using _ were not usable.
  • Fixed Issue 335: ugly crash when using images in some
  • specific places (looks like a reportlab bug)
  • Fixed Issue 329: make the figure alignment/class attributes
  • work more like LaTeX than HTML.
  • Fixed Issue 328: list item styles were being ignored.
  • Fixed Issue 186: new --use-floating-images makes images with:align: set work like in HTML, with the next flowable flowing beside it.
  • Fixed Issue 307: header/footer from stylesheet now supports inline rest markup and substitutions defined in the main document.
  • New pdf_toc_depth option for Sphinx/pdfbuilder
  • New pdf_use_toc option for Sphinx/pdfbuilder
  • Fixed Issue 308: compatibility with reportlab from SVN
  • Fixed Issue 323: errors in the config.sample made it work weird.
  • Fixed Issue 322: Image substitutions didn't work in document title.
  • Implemented Issue 321: underline and strikethrough available in stylesheet.
  • Fixed Issue 317: Ugly error message when file does not exist

New in rst2pdf 0.15 (May 6, 2010)

  • Fixes 8 bugs, adds custom cover pages, counters and real footnotes

New in rst2pdf 0.14.2 (Mar 26, 2010)

  • Fixed Issue 301 : Respect paddings in SplitTables (list items)
  • Fixed Issue 302 : Regained compatibility with ReportLab 2.3

New in rst2pdf 0.14.1 (Mar 25, 2010)

  • Make it compatible with Sphinx 0.6.3 again
  • Fixed Issue 300: image-missing.jpg was not installed

New in rst2pdf 0.14 (Mar 24, 2010)

  • Fixed Issue 197 : Table borders were confusing.
  • Fixed Issue 297 : styles from default.json leaked onto other syntax highlighting stylesheets.
  • Fixed Issue 295 : keyword replacement in headers/footers didn't work if ###Page### and others was inside a table.
  • New feature: oddeven directive to display alternative content on odd/even pages (good for headers/footers!)
  • Switched all stylesheets to more readable RSON format.
  • Fixed Issue 294 : Images were deformed when only height was specified.
  • Fixed Issue 293 : Accept left/center/right as alignments in stylesheets.
  • Fixed Issue 292 : separate style for line numbers in codeblocks
  • Fixed Issue 291 : support class directive for codeblocks
  • Fixed Issue 104 : total number of pages in header/footer works in all cases now.
  • Fixed Issue 168 : linenos and linenothreshold options in Sphinx now work correctly.
  • Fixed regression in 0.12 (interaction between rst2pdf and sphinx math)
  • Documented extensions in the manual
  • Better styling of bullets/items ( Issue 289 )
  • Fixed Issue 290 : don't fail on broken images
  • Better font finding in windows (patch by techtonik, Issue 282 ).
  • Fixed Issue 166 : Implemented Sphinx's hlist (horizontal lists)
  • Fixed Issue 284 : Implemented production lists for sphinx
  • Fixed Issue 165 : Definition lists not properly indented inside admonitions or tables.
  • SVG Images work inline when using the inkscape extension.
  • Fixed Issue 268 : TOCs shifted to the left on RL 2.4
  • Fixed Issue 281 : sphinx test automation was broken
  • Fixed Issue 280 : wrong page templates used in sphinx

New in rst2pdf 0.13.1 (Mar 16, 2010)

  • New TOC code (supports dots between title and page number)
  • New extension framework
  • New preprocessor extension
  • New vectorpdf extension
  • Support for nested stylesheets
  • New headerSeparator/footerSeparator stylesheet options
  • Foreground image support (useful for watermarks)
  • Support transparency (alpha channel) when specifying colors
  • Inkscape extension for much better SVG support
  • Ability to show total page count in header/footer
  • New RSON format for stylesheets (JSON superset)
  • Fixed Issue 267 : Support :align: in figures
  • Fixed Issue 174 regression (Indented lines in line blocks)
  • Fixed Issue 276 : Load stylesheets from strings
  • Fixed Issue 275 : Extra space before lineblocks
  • Fixed Issue 262 : Full support for Reportlab 2.4
  • Fixed Issue 264 : Splitting error in some documents
  • Fixed Issue 261 : Assert error with wordaxe
  • Fixed Issue 251 : added support for rst2pdf extensions when using sphinx
  • Fixed Issue 256 : ugly crash when using SVG images without SVG support
  • Fixed Issue 257 : support aafigure when using sphinx/pdfbuilder
  • Initial support for graphviz extension in pdfbuilder
  • Fixed Issue 249 : Images distorted when specifiying width and height
  • Fixed Issue 252: math directive conflicted with sphinx
  • Fixed Issue 224 : Tables can be left/center/right aligned in the page.
  • Fixed Issue 243 : Wrong spacing for second paragraphs in bullet lists.
  • Big refactoring of the code.
  • Support for Python 2.4
  • Fully reworked test suite, continuous integration site.
  • Optionally use SWFtools for PDF images
  • Fixed Issue 231 (Smarter TTF autoembed)
  • Fixed Issue 232 (HTML tags in title metadata)
  • Fixed Issue 247 (printing stylesheet)

New in rst2pdf 0.12.3 (Dec 8, 2009)

  • Fix Issue 230 (untranslated admonition titles)
  • Fix Issue 225 (bad spacing in lineblocks)
  • Fix Issue 223 (non-monospaced styles used in code)

New in rst2pdf 0.12.2 (Oct 19, 2009)

  • Fix Issue 219 (incompatibility with reportlab 2.1)
  • Added pdf_default_dpi option for pdfbuilder
  • More style docs in the manual
  • Better styling of lists
  • Fix bug reported in comments in my blog where a stylesheet with showHeader=True and no explicit header caused an exception.
  • Fixed Issue 215 : crashes in bookrest's background renderer.

New in rst2pdf 0.9 (Feb 25, 2009)

  • Math support via matplotlib (no TeX required)
  • Huge bugs fixed
  • Support lists that don' t start at 1
  • Nicer definition lists