Activity for fouinix

  • fouinix fouinix posted a comment on ticket #468

    Indeed, I forgot to handle the case when we have an "old" paperconf ^^

  • fouinix fouinix posted a comment on ticket #468

    I replaced setup_paper in docutils/writers/odf_odt/__init__.py by: def setup_paper(self, root_el): try: dimensions = subprocess.check_output(('paper','--unit pt'), stderr=subprocess.STDOUT) """ Example output of paper --unit pt: A4: 595.276x841.89 pt Letter: 612x792 pt """ x = re.split("\w.*: (\d*(\.\d*)*)x(\d*(\.\d*)*) .*", txt) w = float(x[1]) h = float(x[3]) except (subprocess.CalledProcessError, FileNotFoundError, ValueError): self.document.reporter.info( 'Cannot use `paper`, defaulting to Letter.')...

  • fouinix fouinix posted a comment on ticket #468

    The author reported we can use this command instead: $ paper --unit pt A4: 595.276x841.89 pt

  • fouinix fouinix posted a comment on ticket #468

    https://github.com/rrthomas/libpaper/issues/42

  • fouinix fouinix created ticket #468

    New release of libpaper (paperconf) breark rst2odt

1
MongoDB Logo MongoDB