asciidoctor-pdf

Asciidoctor PDF: A native PDF converter for AsciiDoc based on Asciidoctor and Prawn, written entirely in Ruby.

MIT License

Downloads
3.5M
Stars
1.1K
Committers
88

Bot releases are hidden (Show)

asciidoctor-pdf - v1.5.0 Alpha 16

Published by mojavelinux about 7 years ago

This release brings the new custom cross reference text functionality introduced in Asciidoctor 1.5.6 to Asciidoctor PDF. It also upgrades Prawn SVG to the latest version, bringing generic font names, linear gradients, and a fix for dotted borders to SVGs, and upgrades Prawn Templates to 0.1.1. See the changelog for a full set of changes.

IMPORTANT: Make sure to update the prawn-svg gem to 0.27.1 when you update the asciidoctor-pdf gem. Earlier versions of prawn-svg had a sizing regression.

Distribution

Changelog

  • add support for xrefstyle attribute (#464)
  • allow page side to be based on physical page number and/or be inverted (#813) (@fap-)
  • fix layout error caused by nested keep together blocks (#791) (@TobiasHector)
  • upgrade prawn-svg to allow generic font names to be mapped in SVG (#777)
  • upgrade prawn-svg to fix issue with dotted lines (#741)
  • upgrade prawn-svg to enable linear gradients (#228)
  • don't attempt to parse text in literal cell (#816)
  • warn if theme variable cannot be resolved; don't replace (#801)
  • number appendix subsections based on appendix number when doctype is book (#627)
  • don't add break hints to URI when using AFM font (#795)
  • add rescue check for scratch document when state is not initialized
  • allow page margin to be a single number; fixes regression introduced by #749
  • check for margin as array, then as numeric, then as string
  • extend version range for prawn-templates (#803)
  • add missing part-title attribute to theming guide (#827)
  • clarify in theming guide that variables are defined in document order
  • clarify that the fallback font is only used when the primary font is a TrueType font
  • add more information about prawn-gmagick to README
  • fix warnings and incompatibility when using Ruby 1.9.3
  • document in README how to install Asciidoctor PDF on Ruby 2.0.0
  • enable Travis CI; configure CI-based deployment to RubyGems.org

Release meta

Released on: 2017-07-30
Released by: @mojavelinux

Logs: resolved issues | full diff

Credits

Thanks to @fap- for contributing the change to control the folio (recto/verso) placement. Thanks to @mogest for his incredible work on Prawn SVG. Thanks to @TobiasHector for tracking down the root cause of layout problems with nested keep together blocks.

A very special thanks to all the awesome supporters of the Asciidoctor Salt campaign who provided critical funding for the development of this release as well as ongoing development of the project.

asciidoctor-pdf - v1.5.0 Alpha 15

Published by mojavelinux over 7 years ago

This release fixes compatibility with Prawn 2.2.0. It also fixes several font width calculation bugs that were leading to Prawn::CannotFit errors when using custom fonts. The release includes numerous minor but important enhancements as well.

Distribution

Changelog

  • fix compatibility with Prawn 2.2.0 (#775)
  • add workaround for TTFunk bug when font table has empty data (#619, #651)
  • take fallback font into account when calculating width of string (#651)
  • fill and stroke bounds of sidebar across all pages (#259) (@TobiasHector)
  • allow page margin to be set using pdf-page-margin attribute (#749)
  • implement none, no-bullet and unstyled unordered list styles
  • add dots to all levels in TOC if toc_dot_leader_levels is all
  • use bold style for description list term by default (#776)
  • always escape index term text (#761)
  • don't crash if color value on text span is invalid
  • implement start line number for source listing (Rouge) (#752)
  • enable "start inline" option when highlighting PHP (#755)
  • persuade CodeRay to handle html+ source languages
  • introduce stripes attribute to table to control zebra-striping (#724)
  • allow theme to set style of table border and grid (#766)
  • allow theme to set text transform on header cell in table body (#750)
  • set top border width of first body row to match bottom border width of header row
  • don't add TOC if empty (#747)
  • optimize code that generates outline level
  • don't recalculate header_cell_data for each row
  • use slightly more efficient way to find Pygments lexer
  • upgrade rouge to 2.0.7
  • upgrade prawn-templates to 0.0.5
  • revise information in theming guide pertaining to custom fonts
  • document in README how to get full support for CJK languages
  • document in theming guide that Asciidoctor PDF subsets font when embedding
  • document that background images are scaled to fit bounds of page
  • add note in theming guide about using double quoted strings

Release meta

Released on: 2017-03-27
Released by: @mojavelinux

Logs: resolved issues | full diff

Credits

A huge shout out to @TobiasHector for making sense of the code and helping to get #259 resolved. Thanks to @thjanssen for helping me find bugs and areas to improve in Asciidoctor PDF while working on his new Hibernate Tips Book. Also thanks to @akrabat and @lucascosti for helping with the design for the PHP start inline. Thanks to everyone who helped with this release by submitting issues, giving feedback, testing, and coding!

A very special thanks to all the awesome supporters of the Asciidoctor Salt campaign who provided critical funding for the development of this release as well as ongoing development of the project.

asciidoctor-pdf - v1.5.0 Alpha 14

Published by mojavelinux over 7 years ago

This was another minor release turned major, with 68 issues resolved officially as well as many other fixes that got squeezed in (214 commit in all). The big news for this release is that AsciiDoc-style table cells and nested tables are finally supported! You should no longer see unconverted table cell content in the output document. If you use index terms, Asciidoctor PDF now adds a catalog of terms to the index section at the end of the document. Image handling has improved massively, now with better sizing, less errors, and support for endless file formats via integration with prawn-gmagick. Highlighted source code blocks are going to look much better now that the background color from the theme is honored (Rouge and Pygments). If you have LaTeX-based STEM equations in your document, they're now rendered thanks to integration with Asciidoctor Mathematical. When converted to SVG, equations look very sharp thanks to integration with prawn-svg. Expect more accurate rendering of SVGs in general thanks to an upgrade to that library. If you're creating your own theme, you'll be happy to discover that the theming guide now lists all available keys and has better documentation in certain areas.

Distribution

Changelog

  • add support for AsciiDoc table cells (including nested tables) (#6)
  • make header cell in body inherit styles from table head (#239)
  • don't crash if table is empty and cols are explicitly set (#610)
  • fix vertical centering for cells in table head row
  • implement converter for index (#386)
  • record page number for index term when writing anchor (#639)
  • support the underline and line-through roles on phrases (#339)
  • allow printed URI to break at break opportunities (#563)
  • don't drop subsequent images after inline image fails to load
  • don't crash if inline image is an unsupported format; issue warning instead (#587)
  • show alt text when image fails to embed (#693)
  • always show block image caption even if image fails to embed
  • delegate to method to handle missing image
  • permit use of GIF image format if prawn-gmagick is available (#573)
  • add support for image macros that have a data URI target (#318)
  • don't crash if format of image in running content is unrecognized
  • only fit image within bounds of running content if contain option is set
  • document fit attribute for image in running content
  • fix alignment for SVG image in running content
  • keep block image with caption (#690)
  • place destination for block image on same page as image
  • set color space when block image occurs on page by itself (#688)
  • resize SVG to fit page (#691)
  • disable system font scan in Prawn SVG
  • use character spacing to fine-tune width of placeholder for inline image (#686)
  • fix duplicate inline image rendering (@fap-) (#388)
  • constrain inline image to width of bounds
  • add support for pdfwidth to inline images (@fap-) (#620)
  • honor pdfwidth attribute for image in running content (#625)
  • add support for absolute measurement units to scaledwidth attribute (#674)
  • resize inline SVG without an explicit width (#684)
  • resize inline image to fit within content height (#700)
  • calculate height of inline image correctly in table cell (#295)
  • fix bug in calculation when image overflows page (#708)
  • simplify calculation of rendered width and height of images
  • add square brackets around alt text for inline image
  • don't surround alt text of block image with non-breaking spaces
  • specify width & height when embedding (inline) raster image to avoid recalc
  • resize title logo image to keep on page (#714)
  • don't leave blank page when importing PDF page (#614)
  • fix running content dimensions (#616)
  • introduce document attribute to control default text alignment (#396)
  • allow setting a default columns spec for running content on both recto and verso pages; set if not defined
  • show example of center column alignment in default theme
  • map dynamic section-title attribute in running content to current section if page has no section (#709)
  • assign dynamic part-title attribute for use in running content (#596)
  • don't set dynamic chapter-title attribute in running content for preface unless doctype is book
  • assign page number label to each page (#641)
  • don't set dynamic page-number attribute in running content of pagenums is disabled
  • allow toc title properties to be controlled by theme (#701)
  • use correct number of dots when font style is applied to toc level (#621)
  • allow theme to control which toc levels have dot leaders; default to 2-3 (#631)
  • set font color of page number for parts in toc
  • don't crash when toc dot leader is empty string
  • list preface with title in table of contents (#732)
  • allow theme to apply text decoration to link text (#567)
  • allow page layout to be controlled from document (#565)
  • don't crash if image in running content fails to embed (#728)
  • treat abstract section as abstract block (#703)
  • set example block background to white by default
  • add support for background colors when highlighting code with Rouge
  • add support underline style for token in Rouge theme (#665)
  • drop background colors on strings in rouge pastie theme
  • add support for image-based icons (#479) (@JBR69)
  • preliminary support for vertical alignment of admonition icon/label
  • allow side padding on admonition label to be controlled separately from admonition content
  • add more control over vertical rule in admonition block (#601)
  • allow theme to control font properties for admonition content (#592)
  • only add lead role to first paragraph of preamble (#654)
  • display poster image for video with link to video URI (#287)
  • add link to audio file (#475)
  • don't drop anchor within text that overruns page (#638)
  • display title for abstract (#582)
  • display title for open block (#577)
  • display block title on quote and verse blocks (#416)
  • don't draw border for quote/verse block on empty page or if border width is 0
  • allow delimiter between author names on title page to be configured in theme
  • coerce resolved value of content key in theme to String (#653)
  • honor background color from Pygments theme
  • set default inner/outer margins in base theme
  • document missing glyph encoding warning in theming guide; minor rewording
  • document how to configure fonts in SVG images (#739)
  • document how to use Asciidoctor Mathematical to enable STEM support (#45)
  • transform text containing multibyte characters (#363)
  • document in theming guide how to transform unicode letters with Ruby < 2.4
  • show unmodified text if text_transform is none (#584)
  • make performance optimization to formatted text transform
  • use reference_bounds instead of @margin_box to move past bottom
  • handle negative bottom padding properly at page boundary
  • use value of docdatetime & localdatetime attributes in PDF info (#590)
  • use truncate_to_precision instead of round to truncate floats; map to native method in Ruby >= 2.4
  • upgrade prawn-svg dependency to 0.26.x
  • upgrade prawn-icon to 1.3.0
  • document in the README how to use the autofit option on verbatim blocks
  • clarify in README how inline image are sized
  • clarify instructions in README about how to specify a page number range for printing
  • document in theming guide how to define and apply a custom Rouge theme
  • rename pdfmarks to pdfmarks; document pdfmark attribute in theming guide
  • describe the quoted string value type in the theming guide
  • add self-referencing anchor to each key prefix in theming guide
  • document nonfacing option for sections (@jnerlich)
  • fix documentation for toc_dot_leader_font_color in theming guide (@davidgamba)
  • document that dot leader inherits font properties from toc category
  • fill in missing defaults for keys in theming guide
  • rewrite intro to Keys section in theming guide
  • add keys for prose, menu, and conum categories to theming guide
  • document outline_list_marker_font_color key in theming guide
  • refactor measurement value helpers into module (#677)
  • add inline ref and corresponding xref to chronicles example
  • fix Ruby warnings
  • update instructions and Gemfile config to use with Ruby 1.9.3

Release meta

Released on: 2017-02-06
Released by: @mojavelinux

Logs: resolved issues | full diff

Credits

Thanks to @vogella for helping to identify important areas of improvement and to @fap- for contributing design and code changes to improve those areas. Thanks again to @mraible for collecting additional requirements for print publishing. Thanks to @JBR69 for adding image icon support to admonition blocks and pushing the styling of admonitions blocks forward. Thanks to @jnerlich and @DavidGamba for contributing documentation improvements. Finally, thanks to everyone else who submitted invaluable bug reports that led to the improvements in this release.

A very special thanks to all the awesome supporters of the Asciidoctor Salt campaign who provided critical funding for the development of this release as well as ongoing development of the project.

asciidoctor-pdf - v1.5.0 Alpha 13

Published by mojavelinux about 8 years ago

This release marks another important step forward. It adds features for print publishing, theme enhancements, bug fixes, better table compliance, documentation, and component upgrades.

Distribution

Changelog

  • Add support for mirror (recto/verso) margins and facing pages when media=prepress (#383)
  • Add non-breaking hyphen glyph to built-in fonts so its intended behavior is honored (#462)
  • Add page break before a book part (#329)
  • Allow running (header/footer) content to be arranged in columns (#449)
  • Allow font properties to be set per element in running content (#454)
  • Prevent the SVG from modifying the document font (#494)
  • Implement decorative border for multipage quote and verse blocks (#270, #557, #558)
  • Encode anchors in hex that contain characters outside of ASCII range (#481, #301)
  • Size the line number gutter correctly (accounting for width of largest line number) (#402)
  • Allow theme to specify default value for pdfwidth attribute on image and document in README (#455)
  • Fix front matter page numbering by adding page labels for all front matter pages in outline (#458)
  • Allow image type to be specified explicitly using format attribute on image macro (#540)
  • Add support for literal and verse table cell styles
  • Preserve indentation in literal and verse table cells
  • Preserve paragraph breaks in normal table cells
  • Honor value of width attribute even when autowidth option is set on table (#519)
  • Align table title to left edge of table, regardless of table alignment (#469)
  • Add support for reversed option on ordered list (#491)
  • Don't drop whitespace in front of conum on final line of source block (#470)
  • Add more control over position of elements on title page, including support for vw units (#418)
  • Allow table caption position/side to be controlled by theme (#531)
  • Use base_align setting from theme as default alignment for headings
  • Resolve bare image-related attribute values relative to base_dir
  • Only allow Prawn SVG to fetch remote images if the allow-uri-read attribute is set (#548)
  • Introduce page_margin_inner and page_margin_outer keys to theme
  • Start title page, toc, main content, parts, and chapters on recto page when media=prepress and doctype=book
  • Allow default font style for table to be set via theme (table_font_style)
  • Use correct default bullet per nested unordered list level (#529)
  • Call start_new_part at start of each book part
  • Delegate to layout_part_title method to layout part title
  • Don't match a special section as a chapter unless the doctype is book
  • Fix list marker placement when list item touches bottom of page
  • Eliminate excessive spacing between list items that contain nested lists
  • Drop lines in running (header/footer) content with unresolved attributes (#522)
  • Ensure start_new_chapter is always executed at a chapter transition (#524)
  • Add support for root xref (e.g., <<included-doc>>) (#521)
  • Prevent block from spilling to next page if there's no more content (#361)
  • Add support for px units to pdf-page-size attribute
  • Fix parsing error when value of pdf-page-size attribute is unitless
  • Don't crash if table is empty (#480)
  • Don't crash when deleting last remaining page; don't delete last page if empty (#317)
  • Don't orphan space between conums when extracting from verbatim block (#506)
  • Properly scope attr and attr? lookups
  • Rename internal page_start and page_end attributes to pdf-page-start and pdf-page-end, respectively
  • Fix settings for table header cell
  • Fix padding around content of quote block in default theme
  • Read theme file with UTF-8 encoding (#533)
  • Allow temporary image file to be deleted on Windows (#425)
  • Don't crash if theme file is empty (#551)
  • Don't crash if cover image can't be read; warn instead
  • Clarify in theming guide how to write numbers with 3 or more digits (#555)
  • Document how inline images are sized
  • Document how to disable default footer from theme
  • Update explanation of WINANSI encoding behavior in theming guide
  • Restore support for Ruby 1.9.3 (#528)
  • Upgrade prawn-icon to 1.2.0 (which upgrades Font Awesome to 4.6.3)
  • Upgrade prawn-svg to 0.25.2 (by way of more lenient version range)
  • Fix Ruby warnings
  • Document in README how image paths are resolved
  • Configure README for better preview on GitHub
  • Update chronicles example to modern AsciiDoc syntax; update content

Release meta

Released on: 2016-09-19
Released by: @mojavelinux

Logs: resolved issues | full diff

Credits

A big shout out to @meisterluk for doing excellent QA and providing several patches. And another to @Fale for packaging Asciidoctor PDF for Fedora! Also thanks to @vogella for helping to identify important areas of improvement. And thanks to @mraible and InfoQ for collecting requirements for print publishing. Finally, thanks to everyone else who submitted invaluable bug reports that led to the improvements in this release.

A very special thanks to all the awesome supporters of the Asciidoctor Salt campaign who provided critical funding for the development of this release as well as ongoing development of the project.

asciidoctor-pdf - v1.5.0 Alpha 12

Published by mojavelinux about 8 years ago

This was another minor release that focused on bug fixes, substantial improvements to the documentation, and smarter behavior in the theming system.

Distribution

Changelog

  • Fix incompatibility with Rouge 2 source highlighter (#471)
  • Declare rouge gem in Gemfile for use with examples
  • Add option to make URLs visible in printed PDF using show-link-uri or media=print attributes (#435, #463)
  • Document options for scaling an image (#453)
  • Add support for images to span width of page (#424)
  • Fix embedding of remote images; fix case when imagesdir is a URI (#467)
  • Collapse non-significant whitespace (#465)
  • Document how to inherit font size for a given heading level (#460)
  • Decode character references in link URIs (#448)
  • Use arrow as caret for menu path instead of pipe (#441)
  • Document theme-related AsciiDoc attributes in theming guide (#428)
  • Section title alignment should be customizable via theme (#343)
  • Collapse all whitespace when normalizing (#355)
  • Require space on either side of math operator to avoid interpretting dates as math equations (#429)
  • Allow specifying a font style for a title on the title page (#423)
  • Fix Prawn SVG to support arrow heads on lines (#75)
  • Upgrade prawn-svg to 0.25.1
  • Upgrade prawn-icon to 1.1.0
  • Fix rendering of two images in header or footer (#421)
  • Allow table grid color and width to be controlled by theme (@ntfc)
  • Fix undefined local variable or method `dest_y' when adding auto-generated anchor to section (#419)
  • SVG files that include image elements are not rendered correctly improvement (@AlexanderZobkov) (#414)
  • Fix Prawn SVG to support currentColor keyword (#407)
  • Parser should recognize up to 6 digit character references (#404)
  • Properly convert a negative measurement value in theme
  • Coerce percentage value to float instead of integer in theme
  • Set minimum required Ruby version to 1.9.3 instead of 1.9
  • Use title capitalization for section titles in theming guide
  • Update and reorganize keys in theming guide; document numerous keys previous missing
  • Add hints to theming guide about how to apply styles when using Maven or Gradle (@fwilhe)
  • Fix gemspec to collect files when project is not a git repository or git is not available

Release meta

Released on: 2016-08-05
Released by: @mojavelinux

Credits

Congratulations to @AlexanderZobkov, @ntfc, and @fwilhe for being first-time contributors to Asciidoctor PDF. Thanks to everyone else who submitted invaluable bug reports that led to the improvements in this release.

A very special thanks to all the awesome supporters of the Asciidoctor Salt campaign who provided critical funding for the development of this release as well as ongoing development of the project.

asciidoctor-pdf - v1.5.0 Alpha 11

Published by mojavelinux almost 9 years ago

This was another minor release that focused on bug fixes, documentation and small improvements to the theming system.

Distribution

Changelog

  • control font style of first line of abstract from theme (@nawroth) (#378)
  • Add option to control reproducible builds (@bk2204) (#338)
  • set default page size to A4 (@stephenhay) (#319)
  • preprocess all hex color values (#381)
  • add note about preprocessing hex color values to theming guide
  • apply base font style (#373)
  • don't fail to delete tmp file (#369)
  • lazy load icon fonts if detected (#364)
  • reduce heading line height in default theme (#351)
  • set default (fallback) SVG font from theme (#210)
  • expand last column to fit width of table (#372)
  • don't cache resolved imagesdir attribute value
  • use fallback when merging icon data
  • defer to built-in caching in prawn-icon
  • document replacements and numeric character refs in header/footer content
  • document base_font_size_min setting
  • document that page background colors & images do not currently work in AsciidoctorJ PDF
  • use failproof relative require logic in bin script

Release meta

Released on: 2016-01-05
Released by: @mojavelinux

Credits

Congratulations to @nawroth, @stephenhay and @bk2204 for being first-time contributors to Asciidoctor PDF.

A very special thanks to all the awesome supporters of the Asciidoctor Salt campaign who provided critical funding for the development of this release as well as ongoing development of the project.

asciidoctor-pdf - v1.5.0 Alpha 10

Published by mojavelinux almost 9 years ago

This was a fairly minor release. We released it primarily to align with AsciidoctorJ so it can be part of the AsciidoctorJ 1.5.3 release.

Highlights

You can now customize the admonition icons (name, stroke color and size) in your theme file:

admonition:
  icon:
    caution:
      name: fa-fire
      stroke_color: ff0000
      size: 24

Distribution

Changelog

  • admonition icon can be customized by theme (#121) (@jessedoyle)
  • update to prawn-icon 1.0.0 (#335) (@jessedoyle)
  • only generate the pdfmarks file if the pdfmarks attribute is set
  • honor table alignment (via align attribute or role) (#299)
  • use map for ViewerPreferences; set initial magnification (#303)
  • handle case when colpcwidth is unspecified (#314)
  • show title for lists (olist, ulist, dlist) (#316)
  • don't attempt to add running content if document has no content pages
  • correctly calculate toc page range (#322)
  • don't insert blank page after back cover (#328)
  • document key in theme to set sidebar padding (#344)
  • handle case when CodeRay passes nil text to text_token

Credits

Thanks to @jessedoyle for allowing the admonition icons to be customized and for his great work on prawn-icon. Thanks to @mraible and @rlopez133 for providing valuable QA feedback and to @anandchida for contributing to the documentation. Finally, thanks to everyone who reported issues that were fixed in this release.

asciidoctor-pdf - v1.5.0 Alpha 9

Published by mojavelinux about 9 years ago

IMPORTANT: If you've created a custom theme that uses the built-in fonts, you must update your font catalog as follows:

font:
  catalog:
    Noto Serif:
      normal: notoserif-regular-subset.ttf
      bold: notoserif-bold-subset.ttf
      italic: notoserif-italic-subset.ttf
      bold_italic: notoserif-bold_italic-subset.ttf
    M+ 1mn:
      normal: mplus1mn-regular-ascii-conums.ttf
      bold: mplus1mn-bold-ascii.ttf
      italic: mplus1mn-italic-ascii.ttf
      bold_italic: mplus1mn-bold_italic-ascii.ttf
    M+ 1p Fallback:
      normal: mplus1p-regular-fallback.ttf
      bold: mplus1p-regular-fallback.ttf
      italic: mplus1p-regular-fallback.ttf
      bold_italic: mplus1p-regular-fallback.ttf
  fallbacks:
    - M+ 1p Fallback

There have been several other changes to the theme keys, so verify your theme settings.

  • apply point conversion to image widths (#221)
  • restore missing glyphs in Noto Serif font; adds support for Cyrillic languages (#72, #99)
  • add support for the Rouge source highlighter (#247)
  • fix parsing of style attribute in inline markup when it contains spaces; fixes Pygments highlighting
  • expand tabs to spaces in source document (#236)
  • scale down SVG if width is wider than page (#242)
  • load a base theme with defaults for required keys (#132)
  • enable PDF page import using block image macro (#177)
  • restore method in PDF::Core needed to import PDF page (#237)
  • restore text rendering mode after PDF import (#251)
  • support writing to STDOUT and other IO objects (#254)
  • enable pagenums by default; allow noheader & nofooter to control running header/footer (#205)
  • implement explicit table width, including autowidth (#258)
  • handle conversion to windows-1252 more gracefully when using built-in (AFM) fonts (#290)
  • disable warning if using a built-in (AFM) font
  • remove use of "rhythm" theme keys from converter (#289)
  • allow font_style to be set on literal text (#291)
  • parse inline image macro value of page_background_image (#222)
  • allow theme to control header cells in table body (#272)
  • make line height in running header/footer configurable (#274)
  • normalize text content in running header/footer (#266)
  • modify vertical alignment setting for running header/footer (#264)
  • use table background color, even if white; upgrade to Prawn Table 0.2.2 (#214)
  • delete trailing content page if empty (#147)
  • fix dry run calculation of block height...again (#215)
  • move footnotes to inline in a lighter shade
  • fix for JRuby 1.7 running in 2.0 mode
  • upgrade Prawn SVG to 0.21.0; fixes most badge SVGs
  • upgrade thread_safe gem
  • prevent crash if doc has no sections (@abatalev)

Thanks again to @rlopez133 for performing critical QA for this release. Also a big thanks to @graphitefriction for providing project management support for this release. Finally, thanks to everyone who reported issues that were fixed in this release.

asciidoctor-pdf - v1.5.0 Alpha 8

Published by mojavelinux over 9 years ago

  • Support inline images (#9)
  • Support link attribute on inline images (#209)
  • Support inline icon macro (#97)
  • Allow fine-grained control over image width (#76)
    • Size conversion not yet applied to images on title page or in running header/footer
  • Enable checklists (#181)
  • Fix block height calculation when content is indented by propagating bounds to scratch document (#215)
  • Don't insert page break before content whose height exceeds a single page (#183)
  • Dash border of literal/listing block at page boundary when broken across pages (#190)
  • Don't crash if toc entry is too long (#200)
  • Add missing methods on OpenStruct to fix Rubinius compatibility (#81)
  • Autofit font size in listing & literal blocks if autofit option is specified (#185)
  • Support border style (e.g., double, dashed, dotted) (#196)
  • Allow font color of outline list marker to be set by theme (#170)
  • Allow use of hyphen in property names in the theme (#193)
  • Only include table of contents if toc attribute is defined in header (#187)
  • Improve parsing of pdf-page-size attribute
  • Handle case in colist converter when previous block isn't found (#173)
  • Print Asciidoctor PDF version in CLI output
  • Upgrade Prawn (< 3.0.0, >= 1.3.0) (#68)
  • Upgrade Prawn SVG to 0.20.0
  • Document gem installation in README (#112)
  • Perform code cleanups (#195)
  • Silence warning about toc block macro
  • Add -example suffix to example file names
  • Use CodeRay as syntax highlighter in examples (#207)
  • Use proper font names in default them to support custom fonts in SVGs
  • Rework parser to parse void elements
  • Apply first line formatting correctly (no dropped words)
  • Add support for text-center role on paragraphs
  • Update theming guide
  • Fix cross references in README

A big thanks to @rlopez133 for providing critical QA feedback during this development iteration.

asciidoctor-pdf - v1.5.0 Alpha 6

Published by mojavelinux over 9 years ago

  • add pdf-fontsdir attributes to redefine fonts directory (andrey)
  • use require_relative for ../lib/asciidoctor-pdf in bin/asciidoctor-pdf (Ryan Bigg)
  • add example for specifying theme file (Leif Gruenwoldt)
  • add thread_safe gem to remove warning when registering converter
asciidoctor-pdf - v1.5.0 Alpha 7

Published by mojavelinux over 9 years ago

  • add support for font-based icons (Jesse Doyle) (#15)
  • enable font fallback support (Rei)
  • add option to specify the background color for even table rows (Tord Heimdal) (#104)
  • add block title for paragraphs (David Gamba) (#67)
  • allow custom page size setting (Otavio Salvador) (#84)
  • fix xref to sections (#56)
  • fix xrefs to non-section content (#110)
  • allow theme to control layout of title page (#135)
  • allow theme to control style of table of contents (#167)
  • allow running header & footer content to be customized (#89)
  • tighten spacing between list items, make value configurable (#92)
  • support CMYK color values (#155)
  • add support for measurement values in theme (#156)
  • name per-level heading theme keys consistently (e.g., heading_h<n>_font_size) (#157)
  • preprocess theme data to allow # in front of hex colors (#158)
  • support linkable images (#51)
  • render table footer row (#123)
  • don't crash if sectids attribute is disabled (#70)
  • support text transform in theme (uppercase / lowercase) (#138)
  • keep together shouldn't create blank pages (#150)
  • properly resolve image target as system path (#87)
  • show warning when image cannot be read (#148)
  • allow page background image to be specified (#134)
  • support PDF format as cover page (#113)
  • accomodate numbered list with large numbers (#91)
  • position list marker correctly (#140)
  • allow theme to set font size & family of table cells (#139)
  • unencode character entities in document title (#136)
  • process callouts in listing & literal blocks (#31)
  • use :center to vertically align table cell (#118)
  • normalize endlines in table cell text (#116)
  • support setting page size via attribute (#65)
  • remove unused fonts; update version of NotoSerif font license file
  • remove Asciidoctor theme until we're ready to fully implement
  • restore source highlighting when nested inside block
  • allow keys in theme to be nested to an arbitrary depth
  • assign width to border for blockquote if not specified in theme
  • support single value for font_fallbacks key in theme
  • add support for font family and style per heading level
  • implement basic converter for inline_indexterm
  • coerce negative values in theme if they slip through
  • use preserve_indentation in layout_prose
  • support remote images
  • add warning about unsupported gif format
  • abort cli if option parsing returns exit code
  • use SafeYAML to load theme files
  • handle transparent value for table background colors
  • reenable M+ 1p as the fallback font

A special thanks to @tomitribe for sponsoring the development of this release.

asciidoctor-pdf - v1.5.0 Alpha 4

Published by mojavelinux about 10 years ago

  • fix yield statement so Asciidoctor PDF can be used with JRuby
asciidoctor-pdf - v1.5.0 Alpha 3

Published by mojavelinux about 10 years ago

  • remove unnecessary dependencies (tilt, slim, thread_safe)
asciidoctor-pdf - v1.5.0 Alpha 2

Published by mojavelinux about 10 years ago

  • add magic encoding header to source file so Asciidoctor PDF can be used with Ruby 1.9.3.
asciidoctor-pdf - v1.5.0 Alpha 1

Published by mojavelinux about 10 years ago

First pre-release of Asciidoctor PDF.

asciidoctor-pdf - v1.5.0 Alpha 5

Published by mojavelinux about 10 years ago

  • allow chapter label to be controlled using chapter-label attribute
  • prevent toc from overflowing content
  • fix page numbering for various permutations of front matter
  • don't activate implicit header include processor by default
  • draw box around listings and literal blocks than span more than one page