Skip to content

Releases: cxw42/pfft

Improved rendering; comments in Markdown

07 Dec 03:05
22c8fed
Compare
Choose a tag to compare
  • You can now use HTML comments in your Markdown files --- md4c-reader
    and pango-markup cooperate to remove those comments from the output (#28)
  • pango-markup: Code blocks within bulleted or numbered lists are indented
  • pango-markup: Consecutive headers have whitespace between them (#29)

Additionally:

  • Added a changelog!
  • Special blocks are now supported in core (#7)
  • md4c-reader: special blocks can themselves include Markdown (#23)

Various improvements

21 Nov 16:55
b46c326
Compare
Choose a tag to compare

Changes to the output

  • 12-point fonts are actually 12 points now (they were larger before) (8cbb1be)
  • Any image in a paragraph by itself, with a caption, will be rendered as a centered figure with that caption (#22)
  • Code blocks now have light-gray backgrounds so they stand out more (#3)
  • Accept GitHub-flavored Markdown and underlines. Now *italics* and _underline_, instead of _italics_.

Development changes

  • Can now generate Debian packages (#12)
  • Minimum valac now 0.48

Font name; justification; space between paragraphs

31 Oct 19:54
0dedbcb
Compare
Choose a tag to compare
  • You can now specify a font name
  • You can now specify left/center/right justification. (It currently applies to everything, which makes lists look a bit strange!)
  • Paragraphs of body text now have whitespace between them.

Font size; dimensions in templates

27 Sep 01:59
Compare
Choose a tag to compare

User-facing changes

  • You can now set the font size
  • You can use dimensions in templates, e.g., 210mm instead of 8.2677 (inches).

Internal changes

  • Much-improved test coverage
  • Lightly-improved CONTRIBUTING.md

Add templates

08 Sep 01:16
87e053e
Compare
Choose a tag to compare

User-facing changes

  • Add --template to load a .pfft file specifying page size, margins, and header/footer text (#9)
  • Add --quiet
  • Convert logging to GStreamer. Now you can say GST_DEBUG='pfft:N' to set the debug level to N (0=none, 9=way too much)

Infrastructure changes

  • Add lots more tests
  • Check code coverage
  • On successful Travis builds, report coverage to codecov.io

Initial release

30 Aug 00:54
def0870
Compare
Choose a tag to compare
  • Read Markdown files containing headers, code blocks, images, lists
  • Render PDFs

Source ("dist") tarball is attached --- if you don't want to clone the repo, you can download and untar, then install with ./configure && make && sudo make install. After installing, run pfft -h for help.

Enjoy!