Up to [cvs.NetBSD.org] / pkgsrc / textproc / ruby-asciidoctor
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
textproc/ruby-asciidoctor: update to 2.0.26 More details in each release, please refer <https://github.com/asciidoctor/asciidoctor/releases> in detail. 2.0.24 (2025-10-13) Changelog Compliance * Support link attribute on inline image macro when converting to DocBook (#4385) * Add magic comment backticks_javascript: true to achieve compatibility with Opal 2.0 (#4775) (@janbiedermann) * Extract the require logic of the OpenURI library for Asciidoctor.js compatibility (#4244) (@ggrossetie) Improvements * Suppress warning about loading logger from stdlib when using Ruby 3.4 (#4769) * Log error if unterminated preprocessor conditional directive is detected (#3545) * Coerce names passed to the positional_attrs directive on an extension to strings (#4674) * Ignore SOURCE_DATE_EPOCH environment variable if value is empty instead of exiting with non-zero exit code (#4631) * Change Brazilian Portuguese translation for toc-title (#4653) (@giflw) Bug Fixes * Consider convert_ prefix when looking for missing convert method in converter (#4669) (@eugoka) * Don't push conditional onto stack if conditional preprocessor directive is invalid when skipping lines (#4603) * Only style code tag as block element when inside pre in listing block; not inside verse block (#4610) * Pass kwargs to Logger superclass and only assign defaults when kwarg is not specified (#4773) * Don't add role=include to link macro that replaces include directive when running in compat mode (#4608) Documentation * Rewrite documentation for how to create a custom converter from scratch and make examples more thorough (#4699) Build / Infrastructure * Fix classification of several substitution tests (#4691) (@scouten) 2.0.25 (2025-10-16) Changelog Improvements * Don't freeze processor instance of extension to allow use of instance variables (#4782) Bug Fixes * Fix false positive when looking for custom block macro, leading to superfluous debug message (#4785) * Start sectlink after any supplemental anchors on section title when sectlinks is set (#2934) * Remove trailing space after reftext in inline anchor shorthand (to accomodate trailing ] in reftext) (#4789) 2.0.26 (2025-10-23) Changelog Improvement * Use MathJax config recommended by MathJax itself; see https://docs.mathjax.org/en/latest/output/html.html#html-support (#4424) * Use thin space between dots of an ellipsis (U+2026) in manpage output (#4568) Bug Fixes * Don't use text of span as value of xreflabel when node has ID in DocBook output (#4539) * Resolve attribute references (attributes substitution) in attrlist of toc macro (#4806) * Cite stem macro specifically in warning message when macro has invalid substitutions (#4808)
textproc/ruby-asciidoctor: update to 2.0.23 2.0.23 (2024-05-17) This is a patch release in the 2.0.x release line to fix bugs and deal with compliance issues. The primary bug fix in this release is to not duplicate the block attribute line above a detached block that breaks a dlist, which fixes the duplicate role warning on that detached block. The main compliance improvement is to encode spaces in mailto links using %20, in accordance with RFC 3986, instead of +. This release introduces several fixes and improvements related to parsing a table that has jagged rows. If the colspan of the last cell in a row, including the last row, exceeds the specified number of columns, only that row is dropped. On the other hand, if the last row is missing cells, an error message is logged to notify the author. If a URL is used as the target of an xref shorthand, the processor now treats the URL as a fragment identifier instead of crashing. Finally, repeating spaces in verbatim content in the manpage output are preserved. Changelog Compliance * Encode spaces in mailto links as %20, in accordance with RFC 3986, instead of + (#4576) Improvements * Log error when an incomplete row is detected at the end of a table (#4573) Bug Fixes * Don't leave behind empty line inside skipped preprocessor conditional (#4580) * Don't duplicate block attribute line above detached block that breaks a dlist; fixes duplicate role on detached block (#4565) * Don't crash when parsing xref shorthand if target starts with URL protocol and text is offset by space (#4570) * Only drop current row if colspan of last cell exceeds specified number of columns (#4587) * Drop last row if colspan of last cell in table exceeds specified number of columns (#4587) * Preserve repeating spaces in verbatim content in manpage output (#3583) Credits A very special thanks to all the awesome supporters of the Asciidoctor OpenCollective campaign, who provide critical funding for the ongoing development of this project.
textproc/ruby-asciidoctor: update to 2.0.22 2.0.22 (2024-03-08) This is a patch release in the 2.0.x release line to further compatibility with Ruby 3.3. The most critical fix in this release is to remove use of the base64 library since it will no longer being provided as part of the Ruby language starting with Ruby 3.4. When using Ruby 3.3, users would see a warning if this library is used, which happens when the data-uri attribute is set. The functionality has been replaced with a lower-level method on the String object (String#pack), which the base64 library delegates to anyway. This release also sets the cloaked-context attribute on a source block that is defined using either a styled paragraph or a literal or fenced code structural container. This matches the functionality used for custom block extensions (when the source context does not match the final parsed context). Distribution * RubyGem (asciidoctor) Asciidoctor is also packaged for Fedora, Debian, Ubuntu, Alpine Linux, OpenSUSE, and Homebrew. You can use the system's package manager to install the package named asciidoctor. Changelog Improvements * Set cloaked-context attribute on source block when context is not :listing (#4556) Compliance * Remove use of base64 library to prevent warning in Ruby >= 3.3 (#4561)
textproc/ruby-asciidoctor: update to 2.0.21 2.0.21 (2024-02-20) This is a patch release in the 2.0.x release line, primarily to address compatibility with Ruby 3.3. While development of Asciidoctor 2.1 is beginning to pick up again, we extracted several other important improvements and bug fixes from main to include in this patch release. The most critical fix in this release is to make Asciidoctor's logger compatible with the logger API in Ruby 3.3. The code is now tested against Ruby 3.3 on each change. Nearly as important, this release also turns off Ruby's system-dependent newline conversion when writing files so that Asciidoctor's output is consistent between *nix and Windows. Numerous changes were made to correct AsciiDoc parsing. A nested dlist attached using a list continuation no longer consumes a detached paragraph. And an attached block is correctly attached to a nested dlist when that dlist is offset from its parent by an empty line. The secondary and tertiary terms on the indexterm macro are preserved when the primary term is quoted and contains an equals sign. And a bare URL enclosed in angle brackets acts as unconstrained syntax that stops at the first occurrence of a closing angle bracket. When includes are not enabled, any spaces in the include target are preserved when generating the fallback link. Several changes were made to the DocBook output to address compliance. The abstract is moved inside the <info> tag (applies to both the abstract in the preamble as well an an abstract for a book part). The scaledwidth and scale attributes are now supported on an inline macro, like with a block image macro. A few changes to the manpage output were made. Cells in the head row are styled as bold. Paragraph breaks in a normal table cell are preserved. Finally, a few refinements to the default stylesheet were applied. The extra border below the doctitle when the sidebar toc is collapsed into main content area was removed. And a text decoration was added to the active footnote number link in the footnotes list. Compliance * Turn off system-dependent newline conversion when writing files; don't convert line feeds to system-dependent newline (#4550) * Support logger in Ruby 3.3 by instantiating super class (#4493) (@mtasaka) * Add support for scaledwidth and scale attributes on inline image macro in DocBook output (#4552) * Update latest Ruby to 3.3 in CI workflows Improvements * Change title to doctitle in warning message about use of abstract to make subject more clear * Modify default stylesheet to add text decoration to active footnote number link in footnotes list (#4530) (@Larhzu) Bug Fixes * Nested dlist attached using list continuation should not consume detached paragraph (#3535) * Don't break nested dlist with attached block if offset from parent list by empty line (#3693) * Preserve paragraph breaks in normal table cell in manpage output (#4481) * Style cells in head row as bold in manpage output (#4490) * Escape spaces in include target (using inline passthrough) when generating link from include directive (#4461) * Move abstract inside info tag in DocBook output (#3602) * Honor secondary and tertiary terms on indexterm macro when primary term is quoted and contains an equals sign (#3652) * Remove extra border below doctitle when sidebar toc is collapsed into main content area (#4523) * Treat bare URL enclosed in angle brackets as unconstrained syntax; only match until closing angled bracket (#4468) * Allow URL enclosed in angled brackets syntax to be escaped using backslash (#4468) Credits A very special thanks to all the awesome supporters of the Asciidoctor OpenCollective campaign, who provide critical funding for the ongoing development of this project.
textproc/ruby-asciidoctor: update to 2.0.20 2.0.19 (2023-05-17) Development on Asciidoctor 2.1 has been on pause while we focus on progressing the AsciiDoc Language Specification. In the meantime, we extracted some of the minor improvements and bug fixes from main and put them into this patch release in the 2.0.x release line. The most impactful fix is a switch from recursion to a while loop to prevent a stack limit error when looking for the next line to process. Those using JRuby will appreciate that fact that a uri:classloader: prefix is treated as an absolute path rather than a URL, which will allow those paths to be read correctly and avoid misleading security warnings. A few refinements where made to how the AsciiDoc source is parsed. First, constrained passthroughs inside a monospace span are now always processed as expected. When parsing a dlist, a nested list that starts with at least one block attribute line is now attached correctly. The partintro block is now generated consistently, despite how it's defined in the AsciiDoc source. Numeric character references are passed over when searching for the URL fragment in the xref target. An inline ref is cataloged even if the resolved reftext is empty. An include target may not start or end with a space (to distinguish it from a dlist entry). Finally, square brackets are not swallowed when parsing an escaped URL macro. Several improvements have been made when converting to man pages. When generating DocBook, the root <reftext> tag is correctly enclosed in an <article> tag and reftext substitutions are applied to the value of the mantitle attribute. When converting to the man page format, the alt text of a block image is processed correctly (i.e., "manified"). In the HTML output, a monospace span in a section title is not converted to uppercase. The default stylesheet has been updated so that the margin on the first and last child of a sidebar is collapsed correctly and so the font size of a term in a horizontal list matches the font size of a term in a regular dlist. The code has been updated to be compatible with recent software releases, including Ruby 3.2, Haml 6, and Rouge 4.1. Distribution Changelog Improvements * Return empty string instead of nil if raw or verbatim block has no lines * Don't uppercase monospace span in section title in manpage output (#4402) * Simplify processing of implicit link (i.e., autolink) by separating implicit and explicit match * Generate partintro block consistently (#4450) * Add Kiswahili translation for built-in labels (PR #4454) (@bkmgit) Compliance * Fix call order so use of an include file with invalid encoding continues to raise error when using Ruby >= 3.2.0 * Fix test assertion for fallback Rouge stylesheet to be compatible with Rouge 4.1 (#4406) (@tmzullinger) * Support notitle option on section as alternative to untitled to hide title (#4437) * Add support for Haml 6 to template converter (#4429) Bug Fixes * Process constrained inline passthrough inside monospace span (#4458) * Catalog inline ref defined using anchor macro even when resolved reftext is empty * Use while loop rather than recursion to locate next line to process; prevents stack limit error (#4368) * Avoid matching numeric character references when searching for # in xref target (#4393) * Use correct selector to collapse margin on first and last child of sidebar * Don't allow target of include directive to start with a space (to distinguish it from a dlist item) or to end with a space * Manify alt text of block image in manpage output (#4401) * Adjust font size of term in horizontal dlist to match font size of term in regular dlist * Implicitly attach nested list that starts with block attribute lines to dlist entry (#4268) * Don't swallow square brackets when processing escaped URL macro * Treat uri:classloader: as an absolute path prefix when running on JRuby (#3929) * Apply reftext substitutions to value of mantitle attribute in DocBook output (#4448) * Enclose <reftext> tag in <article> tag in DocBook output for man page (#4452) * Correctly handle compat role on monospace and constrained passthrough when box attrlist or formatted text is escaped 2.0.20 (2023-05-18) After the 2.0.19 release, we discovered that the man page was not being updated during the release. This release has no changes other than t fix the release process. For changes related to 2.0.19, see https://github.com/asciidoctor/asciidoctor/releases/tag/v2.0.19. Distribution Changelog Bug Fixes * Update release-version attribute in READMEs and man page during release * Rebuild man page during release
Pullup ticket #6716 - requested by taca
devel/ruby-manpages: build fix
+ dependent updates
Revisions pulled up:
- devel/ruby-mustache/Makefile 1.5-1.6
- devel/ruby-mustache/PLIST 1.3
- devel/ruby-ronn/Makefile 1.6-1.7
- devel/ruby-ronn/PLIST 1.4
- misc/ruby-lolcat/Makefile 1.4-1.5
- misc/ruby-lolcat/PLIST 1.3
- misc/ruby-manpages/Makefile 1.3-1.4
- misc/ruby-manpages/distinfo 1.2-1.3
- misc/ruby-manpages/patches/patch-lib_manpages_install.rb 1.1
- misc/ruby-manpages/patches/patch-lib_manpages_man__files.rb 1.1
- misc/ruby-manpages/patches/patch-lib_rubygems__plugin.rb 1.2
- sysutils/puppet/Makefile 1.60-1.61
- sysutils/puppet/PLIST 1.37
- textproc/ruby-asciidoctor/Makefile 1.11-1.12
- textproc/ruby-asciidoctor/PLIST 1.6
- textproc/ruby-bluecloth/Makefile 1.14-1.15
- textproc/ruby-bluecloth/PLIST 1.12
- textproc/ruby-kramdown/Makefile 1.31-1.32
- textproc/ruby-kramdown/PLIST 1.23
- textproc/ruby-rdiscount/Makefile 1.5-1.6
- textproc/ruby-rdiscount/PLIST 1.3
- www/ruby-unicorn/Makefile 1.22-1.23
- www/ruby-unicorn/PLIST 1.17
---
Module Name: pkgsrc
Committed By: taca
Date: Thu Dec 29 16:21:36 UTC 2022
Modified Files:
pkgsrc/misc/ruby-manpages: Makefile distinfo
pkgsrc/misc/ruby-manpages/patches: patch-lib_rubygems__plugin.rb
Added Files:
pkgsrc/misc/ruby-manpages/patches: patch-lib_manpages_install.rb
Log Message:
misc/ruby-manpages: support our install-root propery
* Fix symblic link(s) of manual pages.
* No need to set RUBYGEM_MANPAGES here.
Should be fix error message when pkg_alternatives is installed.
(Reported by wiz@ via private e-mail.)
Bump PKGREVISION.
## require pull-up
---
Module Name: pkgsrc
Committed By: taca
Date: Thu Dec 29 16:23:52 UTC 2022
Modified Files:
pkgsrc/devel/ruby-mustache: Makefile
pkgsrc/devel/ruby-ronn: Makefile
pkgsrc/misc/ruby-lolcat: Makefile
pkgsrc/sysutils/puppet: Makefile
pkgsrc/textproc/ruby-asciidoctor: Makefile
pkgsrc/textproc/ruby-bluecloth: Makefile
pkgsrc/textproc/ruby-kramdown: Makefile
pkgsrc/textproc/ruby-rdiscount: Makefile
pkgsrc/www/ruby-unicorn: Makefile
Log Message:
Bump PKGREVISION to reflect fix of ruby-manpages package.
---
Module Name: pkgsrc
Committed By: taca
Date: Sat Dec 31 16:20:40 UTC 2022
Modified Files:
pkgsrc/misc/ruby-manpages: Makefile distinfo
Added Files:
pkgsrc/misc/ruby-manpages/patches: patch-lib_manpages_man__files.rb
Log Message:
misc/ruby-manpages: more better adaptation with pkg_alternatives
* Take maintainer ship.
* More better adaptation with pkg_alternatices; install manual pages
with ${RUBY_VER} as like commands.
Bump PKGREVISION.
---
Module Name: pkgsrc
Committed By: taca
Date: Sat Dec 31 16:21:52 UTC 2022
Modified Files:
pkgsrc/devel/ruby-mustache: Makefile PLIST
pkgsrc/devel/ruby-ronn: Makefile PLIST
pkgsrc/misc/ruby-lolcat: Makefile PLIST
pkgsrc/sysutils/puppet: Makefile PLIST
pkgsrc/textproc/ruby-asciidoctor: Makefile PLIST
pkgsrc/textproc/ruby-bluecloth: Makefile PLIST
pkgsrc/textproc/ruby-kramdown: Makefile PLIST
pkgsrc/textproc/ruby-rdiscount: Makefile PLIST
pkgsrc/www/ruby-unicorn: Makefile PLIST
Log Message:
Update PLIST caused by update of ruby-manpages.
Bump PKGREVISION.
Update PLIST caused by update of ruby-manpages. Bump PKGREVISION.
Bump PKGREVISION to reflect fix of ruby-manpages package.
textproc/ruby-asciidoctor: proper use of RUBYGEM_MANPAGES NFC.
textproc/ruby-asciidoctor: add support to RUBYGEM_MANPAGES Bump PKGREVISION since dependency might change.
textproc/ruby-asciidoctor: update to 2.0.18 2.0.18 (2022-10-15) Improvements * Propagate :to_dir option to document of AsciiDoc table cell (#4297) * Force encoding of attribute data passed via CLI to UTF-8 if transcoding fails (#4351) (@zkaip) * Add include role to link macro that replaces include directive when include is not enabled Bug Fixes * Change internal uriish? helper to only detect a URI pattern at start of a string; avoids misleading messages (#4357) * Prevent highlight.js warning when no language is set on source block; don't call highlightBlock if data-lang attribute is absent (#4263) * Don't raise error if Asciidoctor::Extensions.unregister is called before groups are initialized (#4270) * If path is included both partially and fully, store it with true value (included fully) in includes table of document catalog * Reset registry if activate is called on it again (#4256) * Format source location in exception message when extension code is malformed * Fix lineno on reader when skip-front-matter attribute is set but end of front matter is not found * Fix Asciidoctor::Cli::Invoker constructor when first argument is a hash * Update default stylesheet to honor marker on unordered list when marker is defined on ancestor unordered list (#4361)
textproc/ruby-asciidoctor: update to 2.0.17 == 2.0.17 (2022-01-05) - @mojavelinux Bug Fixes:: * Don't crash if process method for custom block returns an abstract block with context `:compound` that isn't of type `Block` (e.g., a list) * Ignore return value of process method for custom block or block macro if value matches parent argument * Remove unnamespaced selectors in Pygments stylesheet * Normalize output from Pygments to use `linenos` class for inline line numbering and trim space after number; update default stylesheet accordingly * Change `AbstractBlock#sections?` to return false when called on block that isn't a Section or Document (PR #3591) *@mogztter* * Hide built-in marker on HTML summary element in Safari when using default stylesheet (#4162) * Hide outline around HTML summary when activated in Safari (#4162) * Include primary video in value of `playlist` attribute when embeddding YouTube video (#4156) * Honor stripes=none on nested table (#4165) * Update default stylesheet to fix spacing around empty list item (#4184) * Honor `:header_only` option when parsing document with manpage doctype (#4192) * Use numeric character reference for closing square bracket around alt text of icon * Process author or authors document attribute in document header when implicit doctitle is absent (#4206) * Patch open-uri-cached gem to work with Ruby 3.1 (update: drop patch now that open-uri-cached has been fixed) (#4227) Improvements:: * Prevent line numbers on source blocks in HTML output from being selected (applies to pygments and coderay) (#4128) * Allow hash to be specified for Vimeo video either in video ID or using `hash` attribute (#4176) * Remove unnecessary specificity in default stylesheet for styling p element inside list item * Remove obsolete gist embed styles from default stylesheet * Allow `--failure-level` to be set to default value, `FATAL` * Sort levels in help for `--failure-level` option in ascending order * Invert FR translations for caution & warning admonition labels (#4212) (*cyChop*) * Add tests for open-uri-cached integration that is activated by the `cache-uri` attribute * Don't warn if negated tag is not found in include file (#4230) Documentation:: * Document how to extend an existing converter or create a new converter (#4136) * Document the syntax topic of the `--help` CLI option (#4175) * Document how to uninstall the Asciidoctor gem (#4154) * Document how to enable and use the sourcemap (the `:sourcemap` option) * Document how to catalog additional assets (the `:catalog_assets` option)
textproc/ruby-asciidoctor: update to 2.0.16. Summary This is a patch release with a big impact, bringing with it several notable changes. First, two regressions have been fixed when using negated wildcards in include tag filtering, and the meaning of negated wildcards in tag filtering has been clarified in general. Second, the source of the default stylesheet has been imported into this repository (now managed using a PostCSS build with autoprefixer and cssnano). Third, an internal change was made to how lines are iterated by the reader (switching from a stack to a queue), which will substantially improve the performance of Asciidoctor.js when processing large files. Finally, numerous improvements were made to the man page converter. This release also includes a handful of smaller bug fixes, including two scenarios where an undefined method error was creeping in. Several impactful updates were made to the documentation during this release cycle as well, most notably on the topic of generating man pages. An initial set of changes have been applied to the code base in preparation for enabling RuboCop to enforce a code style. The remainder of those changes, as well as the task itself, have already been applied to the default branch. Those updates will also be applied to the branch for this release line following this release. Speaking of release lines, the default branch is now open for 2.1.x development and beyond! Consult the CHANGELOG to find the full list of changes in this release.
textproc/ruby-asciidoctor: update to 2.0.15 2.0.15 (2021-04-27) Bug Fixes * Don't include trailing period, question mark, or exclamation point in target (URL) of autolink (#3860) * Don't assign nil value to named attribute mapped to absent positional attribute when parsing attrlist (#4033) * Remove leading and trailing spaces around role on inline phrase (#4035) * Ignore empty role on inline phrase defined using legacy syntax and followed by comma (#4035) * Use xreftext on document as fallback link text in HTML output for inter-document xref that resolves to current document when no link text is provided (#4032) * Use xreftext on document as fallback link text in HTML output for internal xref with empty fragment when no link text is provided (#4032) * Use document ID as linkend in DocBook output for internal xref with empty fragment; auto-generating one if necessary (#4032) Improvements * Format keyboard references in monospace in manpage output Build / Infrastructure * Get remaining invoker tests working on JRuby 9.1 for Windows
ruby-asciidoctor: update to 2.0.14. 2.0.14 (2021-04-19) Bug Fixes: - Don't allow AsciiDoc table cell to set document attribute that was unset from the API (exceptions include: compat-mode, toc, showtitle, and notitle) (#4017) - Ensure default document attributes unset in parent document remain unset in AsciiDoc table cell (#2586) - Allow the showtitle / notitle attribute to be toggled in an AsciiDoc table cell if set or unset in parent document (#4018) - Ensure mtime of input file honors TZ environment variable on JRuby for Windows (affects value of docdatetime attribute) (#3550) - Honor caption attribute on blocks that support captioned title even if corresponding *-caption document attribute (e.g., example-caption) is not set (#4023) - Suppress missing attribute warning when applying substitutions to implicit document title for assignment to intrinsic doctitle attribute (#4024) - Increment counter (but not the corresponding attribute) if attribute is locked (#4013) Improvements: - Use attribute, if set, as seed value for counter even if not already registered as a counter (#4014) - Allow subs attribute value on Inline node returned by process method for custom inline macro to be a String (#3938) - Allow value of user-home attribute to be overridden by API or CLI (#3732) Build / Infrastructure: - Run tests on JRuby for Windows (#3550) 2.0.13 (2021-04-10) Bug Fixes: - Rollback change for #3470, which added logic to remove leading and trailing empty lines in an AsciiDoc include file; instead skip empty lines before processing document header (#3997) - Don't escape hyphen in manname in man page output - Remove extra .sp line before content of verse block in man page output - Fix layout of footnotes in man page output (#3989) - Fix formatting of footnote text with URL in man page output (#3988) - Remove redundant trailing space on URL followed by non-adjacent text in man page output (#4004) - Use .bp macro at location of page break in man page output (#3992) Improvements: - Extract method to create lexer and formatter in Rouge adapter (#3953) (@Oblomov) - Add support for pygments.rb 2.x (#3969) (@slonopotamus) - Allow NullLogger to be enabled by setting the :logger option to a falsy value (#3982) - Substitute attributes in manpurpose part of NAME section in manpage doctype (#4000) - Output all mannames in name section of HTML output for manpage doctype (#3757) Build / Infrastructure: - Enable running tests as root (PR #3874) (@mikemckiernan) - Run tests against both pygments.rb 1.x and 2.x (#3969) (@slonopotamus) - Speed up CI by using Bundler cache (PR #3901) (@slonopotamus) Documentation: - Import documentation for processor into this repository (#3861) (@graphitefriction) - Add Belarusian translation of built-in attributes (PR #3928) (@morganov)
textproc/ruby-asciidoctor: update to 2.0.12 2.0.12 (2020-11-10) Summary This is a minor patch release that fixes some regressions that were introduced during the long release cycle of 2.0.11. We strongly recommend upgrading to this version instead of using 2.0.11. Notable changes include restoring the type and target on unresolved footnotes (so they display properly), fixing a crash when an extension set a numeric width or height on an SVG image when using opts=inline, resetting the word wrap behavior to normal on tables to avoid aggressive word breaks, reverting the use of a Ruby 2.3 construct that prevented Asciidoctor from working on CentOS, including the role on an inline image in the DocBook output, and passing through the explicit width and height values on an SVG image as is when using opts=inline. Please note that it will not be possible to use Asciidoctor on Ruby < 2.3 after the 2.0.x release line. Those versions are already unsupported. However, since we had not yet made a change that prevented them from working, we'll wait until 2.1.x to do so. During this release, all the CI jobs were migrated from Travis CI to GitHub Actions. We also added a CI job to run the test suite on macOS. As usual, consult the CHANGELOG for all the details. Distributions * RubyGem (asciidoctor) Asciidoctor is also packaged for Fedora, Debian, Ubuntu, Alpine Linux, OpenSUSE, and Homebrew. You can use the system's package manager to install the package named asciidoctor. Release meta Released on: 2020-11-10 Released by: @mojavelinux Release beer: For the Animals: Imperial Breakfast by Alternation Brewing Company Logs: resolved issues | full diff | issues resolved in 2.0.x (cumulative) Changelog Bug Fixes * Set type and target property on unresolved footnote reference and unset id property (fixes regression) (#3825) * Fix crash when inlining an SVG if the explicit width or height value on the image node is not a string (#3829) * Reset word wrap behavior to normal on tables, then reenable again for admonition content, horizontal dlist description, and AsciiDoc table cells (#3833) Improvements * Pass through role to DocBook output for inline image (#3832) Compliance * Defer use of Ruby >= 2.3 constructs to restore compatibility with Ruby 2.0 until at least next minor release (#3827) * Don't append the default px unit identifier to the explicit width or height value when inlining an SVG (#3829) Build / Infrastructure * Migrate Linux CI jobs to GitHub Actions (#3837) * Migrate Windows CI jobs to GitHub Actions (#3839) * Run CI job on macOS (#3842) Credits A very special thanks to all the awesome supporters of the Asciidoctor OpenCollective campaign who provided critical funding for the development of this release as well as ongoing development of the project. We'd also like to thank the maintainers of the Rouge project, who helped us work through the compatibility issue with Rouge and applied a fix to restore it ahead of our own release.
textproc/ruby-asciidoctor: update to 2.0.11 pkgsrc change: * Add pkg_alternatives support. * Add "USE_LANGUAGES= # none". * Sort PLIST. == 2.0.11 (2020-11-02) - @mojavelinux Bug Fixes:: * Fix infinite loop when callout list with obsolete syntax is found inside list item (#3472) * Fix infinite loop when xreftext contains a circular reference path in HTML and manpage converters (#3543) * Apply text formatting to table cells in implicit header row when column has the "a" or "l" style (#3760) * Fix errant reference warning for valid reference when running in compat mode (#3555) * Initialize backend traits for converter (if not previously initialized) using assigned basebackend; mimics Asciidoctor < 2 behavior (#3341) * Set source_location on preamble block when sourcemap option is enabled (#3799) * Link the notitle and showtitle attributes so they act as opposites for the same toggle (#3804) * Pass options to constructor of Rouge lexer instead of #lex method; restores compatibility with Rouge >= 3.4 (#3336) * Don't clobber cgi-style options on language when enabling start_inline option on the Rouge PHP lexer (#3336) * Fix parsing of wrapped link and xref text, including when an attrlist signature is detected (#3331) * Restore deprecated writable number property on AbstractBlock * Always use title as xreftext if target block has an empty caption, regardless of xrefstyle value (#3745) * Allow a bibliography reference to be used inside a footnote (#3325) * Fix bottom margin collapsing on AsciiDoc table cell (#3370) * Remove excess hard line break in multi-line AsciiMath blocks (#3407) * Only strip trailing spaces from lines of AsciiDoc include file (#3436) * Remove errant optional flag in regexp for menu macro that breaks Asciidoctor.js (#3433) * Preserve repeating backslashes when generating manpage output (#3456) * Honor percentage width specified on macro of inline SVG (#3464) * Removing leading and trailing blank lines in AsciiDoc include file to match assumption of parser (#3470) * Activate extensions when :extensions option is set even if Extensions API is not yet loaded (#3570) * Don't activate global extensions if :extensions option is false (#3570) * Escape ellipsis at start of line in manpage output (#3645) (*@jnavila*) * Don't register footnote with ID if a footnote is already registered with that ID (#3690) * Honor start attribute on ordered list in manpage output (#3714) * Warn instead of crashing if SVG to inline is empty (#3638) (*@mogztter*) * Compute highlight line ranges on source block relative to value of start attribute (#3519) (*@mogztter*) * Prevent collapsible block from incrementing example number by assigning an empty caption (#3639) * Use custom init function for highlight.js to select the correct `code` elements (#3761) * Fix resolved value of :to_dir when both :to_file and :to_dir options are set to absolute paths (#3778) * Fix crash if value of `stylesheets` attribute contains a folder and the destination directory for the stylesheet does not exist (even when the `:mkdirs` option is set) (#3808) * Fix crash if value passed by API for `copycss` attribute is not a string (#3592) * Restore label in front of each bibliography entry in DocBook output that was dropped by fix for #3085 (#3782) * Apply max width to each top-level container instead of body in HTML output (#3513) * Don't apply border-collapse: separate to HTML for table blocks; fixes double border at boundary of colspan/rowspan (#3793) (*@ahus1*) * Don't remove right border on last table cell in row (#2563) * Rework table borders to leverage border collapsing (apply frame border to table, grid border to cells, and selectively override border on cells to accommodate frame) (#3387) Compliance:: * Add support for muted option to self-hosted video (#3408) * Move style tag for convert-time syntax highlighters (coderay, rouge, pygments) into head (#3462) * Move style tag for client-side syntax highlighters (highlight.js, prettify) into head (#3503) * Define entry point API methods (load, convert, load_file, convert_file) as class methods instead of module_function to avoid conflict with Kernel.load (#3625) * Retain attribute order on HTML code tag for source block to remain consistent with output from 1.5.x (#3786) * Correct language code for Korean language file from kr to ko (#3807) (*@jnavila*) Improvements:: * Apply word wrap (i.e., `word-wrap: anywhere`) to body in default stylesheet (#3544) * Allow `nobreak` and `nowrap` roles to be used on any inline element (#3544) * Add CSS class to support pre-wrap role to preserve leading, trailing, and repeating spaces in phrase (#3815) * Preserve guard around XML-style callout when icons are not enabled (#3319) * Use `.fam C` command to switch font family for verbatim blocks to monospaced text in manpage output (#3561) * Remove redundant test for halign and valign attributes on table cell in DocBook converter * Allow encoding of include file to be specified using encoding attribute (#3248) * Allow template to be used to override outline by only specifying the outline template (#3491) * Upgrade MathJax from 2.7.5 to 2.7.9 * Upgrade highlight.js from 9.15.10 to 9.18.3 (note that this increases script size from 48.8 KB to 71.5 KB) * Skip unused default attribute assignments for embedded document * Allow a URL macro to have a preceding single or double quote (#3376) * Add support for erubi template engine; use it in place of erubis in test suite; note the use of erubis is deprecated (#3737) * Download and embed remote custom stylesheet if allow-uri-read is set (#3765) * Remove direction property from default stylesheet (#3753) (*@abdnh*) * remove max width setting on content column for print media in default stylesheet (#3802) * Normalize frame value "topbot" to "ends" in HTML output (consistently use frame-ends class) (#3797) * Add role setter method on AbstractNode (#3614) * Map chapter-signifier and part-signifier attributes in locale attribute files to replace chapter-label and part-label (#3817) Build / Infrastructure:: * Run test suite on TruffleRuby nightly (*@mogztter*, *@erebor*) * Upgrade TruffleRuby to 20.0.0 (*@mogztter*) * Trigger upstream builds for AsciidoctorJ on Github Actions (*@robertpanzer*)
ruby-asciidoctor: Add version 2.0.10 Import this package from wip because it is needed by games/warzone2100 for documentation generation in replacement of textproc/asciidoc from 3.4. This package can be safely added since CVE-2018-18385 has been fixed in 1.5.8 (https://github.com/asciidoctor/asciidoctor/issues/2888).