Commit graph

15 commits

Author SHA1 Message Date
wiz
71c5cd8794 Remove unnecessary FILES_SUBST, already in there. Noted by taca. 2015-12-11 21:29:27 +00:00
wiz
3130f3bcc3 Fix ALTERNATIVES file. Bump PKGREVISION. 2015-12-11 11:46:31 +00:00
agc
2eddae48e5 Add SHA512 digests for distfiles for textproc category
Problems found locating distfiles:
	Package cabocha: missing distfile cabocha-0.68.tar.bz2
	Package convertlit: missing distfile clit18src.zip
	Package php-enchant: missing distfile php-enchant/enchant-1.1.0.tgz

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
2015-11-04 01:59:17 +00:00
taca
2b0932baa4 Update ruby-kramdown to 1.9.0.
kramdown 1.9.0 released

This release contains some minor updates and bug fixes.

Changes

  * 3 minor changes:

    - The Rouge syntax highlighter can now be enabled/disabled for spans
      and/or blocks and options can now be set for both spans and blocks as
      well as only for spans or only for blocks (fixes #286, requested by
      Raphael R.)
    - Setting the ‘footnote_backlink’ option to an empty string now
      completely suppresses footnotes (fixes #270, requested by Kyle Barbour)
    - New converter HashAST for creating a hash from the internal tree
      structure (fixes #275, pull request by Hector Correa)

  * 1 bug fix:

    - When using the ‘hard_wrap’ option for the GFM parser, line numbers
      were lost (fixes #274, pull request by Marek Tuchowski) Published on
      Saturday, 04 July 2015
2015-10-04 13:32:49 +00:00
taca
31a78fdb5b Update ruby-kramdown to 1.8.0.
kramdown 1.8.0 released

This release contains only some minor updates and bug fixes.

Changes

* 4 minor changes:

  - The LaTeX converter now uses \texttt instead of \tt for code spans (fixes
    #257, reported by richard101696)

  - New option footnote_backlink for changing the backlink of footnotes in the
    HTML converter (fixes #247, requested by Benjamin Esham)

  - A quote directly followed by an ellipsis is now converted into an opening
    quotation mark (fixes #253, requested by Michael Franzl)

  - Removed warning for self-closing HTML elements that are not self-closed
    (fixes #262, requested by Gregory Pakosz)

* 3 bug fixes:

- Fixed #251: The special character sequence \` now works correctly when used
  in footnotes or headers that appear in the table of contents (reported by
  Peter Kehl)

- Fixed #254: kramdown crashed on encountering a table with multiple
  consecutive separator lines (reported by Christian Kruse)

- Fixed #256: Certain footnote definitions and codeblocks lead to crashes or
  unneeded backtracking in the regular expression engine - fixed by using
  atomic grouping (reported by Ali Ok)
2015-09-13 15:21:30 +00:00
taca
7f46daca89 Update ruby-kramdown to 1.7.0.
kramdown 1.7.0 released			Published on Monday, 27 April 2015

This release brings among other things support for the ‘minted’ syntax
highlighter for LaTeX and a new math engine based on MathJax-Node that outputs
to MathML.

Changes

* 4 minor changes:

  - The syntax highlighter ‘minted’ for the LaTeX converter is now available
    (fixes issue #93, initial patch #242 by l3kn)
  - A new math engine based on MathJax-Node that outputs to MathML is now
    available (patch #240 by Tom Thorogood)
  - Fixed #244, #246: Fenced code blocks now allow a dash in the code language
    name (requested and patched by Dennis Günnewig)
  - The option list in the man page as well in the output of kramdown --help
    is now sorted.

* 2 bug fixes:

  - Fixed #230: Warning message for method in
    lib/kramdown/utils/configurable.rb will not show anymore (reported by
    Robert A. Heiler)
  - Fixed #239: Handling of single/double quotes in reference style links now
    follows the same rules as with inline links (reported by Josh Davis)


kramdown 1.6.0 released			Published on Saturday, 28 February 2015

This release contains many fixes and minor enhancements as well as one major
goodie that comes with a small caveat: block IALs can now be applied to link
and abbreviation definitions!

It may not sound like much but allowing block IALs to be applied to link
definitions alleviates the problem that additional attributes could only be
specified via span IALs. Now such attributes can be stored together with the
URL and title at the link definition, for example:

	This is a ![resized image].

	[resized image]: some_image.jpg "with a title"
	{: height="36px" width="36px" style="border: 1px solid green"}

There is one small caveat, though. Regard the following construct:

	[linkdef]: http://example.com
	{:.block-ial}
	block element, e.g. a paragraph

The block IAL would have been applied to the paragraph in previous versions
but now it is applied to the link definition. However, such a construct is not
very likely encountered in the real world.

Changes

* 7 minor changes:

  - Block IALs can now be applied to link and abbreviation definitions
    (inspired by issue #194 from cabo)
  - The syntax highlighting engine for Rouge now allows custom formatter
    classes to be used (issue #214, requested by BackOrder)
  - The MathJax math engine now allows adding previews (issue #225, requested
    by jethrogb)
  - The “toc_levels” option can now also take a Range object (pull request
    #210 by Jens Krämer)
  - The generated table of contents of the HTML converter now contains ID
    attributes on the links so that back-references can be used (issue #195,
    requested by Ciro Santilli)
  - A warning is now generated when duplicate HTML attributes are detected
    (issue #201, requested by winniehell)
  - Updated used version of prawn to 2.0.0

8 bug fixes:

  - Fixed #192: Emphasis by using underscore sometimes wrongly worked within a
    word (reported by Michael Franzl)
  - Fixed #198: Empty alt attributes on <img> tags are now correctly handled
    by the kramdown converter (reported by winniehell)
  - Fixed #200: Trailing whitespace is now really removed in paragraphs
    (reported by winniehell)
  - Fixed #220: HTML blocks with attributes weren’t correctly detected when
    directly after another block (reported by Bill Tozier)
  - Fixed #199: Empty title attributes are now ignored for images when using
    the kramdown converter (reported by and pull request #206 from winniehell)
  - Leading and trailing white space from math statements is now stripped as
    the whitespace sometimes lead to LaTeX conversion errors
  - Fixed #226: Class names may now start with a dash in IALs/ALDs (reported
    by Adam Hardwick)
  - Multiple consecutive block IALs before an element are now correctly
    processed
2015-06-11 16:23:35 +00:00
taca
cf667f81a0 Update ruby-kramdown to 1.5.0.
* pkgsrc change: add pkg_alternatives support.

Changes are too many to write here, please refer
http://kramdown.gettalong.org/news.html.
2015-03-13 16:13:29 +00:00
taca
ba72b6bbaf Update ruby-kramdown to 0.14.2.
Changes

* 1 minor change
	New option link_defs for pre-defining link definitions

* 1 bug fix
	Fixed raised errors on atx headers without text
2013-02-11 09:08:16 +00:00
taca
d498ded376 Update ruby-kramdown to 0.14.1.
Fixed GH#30: Specifying empty definitions for a definition list now works

    Better fix for the output of closed/open elements

    Using the already defined tags for HTML elements without a body
    and better output for unknown elements.

    Fixed: Using a block IAL before a definition list now works

    Fixed problem with the output of empty i/b HTML tags

    Document fix of doc/quickref.page
2012-12-17 14:29:27 +00:00
taca
29e8913828 Update ruby-kramdown to 0.14.0.
kramdown 0.14.0 released
				Published on Sunday, 16 September 2012

First of all please note that this release contains a backwards-incompatible
change: The syntax for specifying a code language for a code block or code
span has changed. Instead of using lang='CODELANG' one has to use
.language-CODELANG now.

This change has been introduced to avoid problems because the lang="..."
attribute is used by HTML for other purposes than setting the code
language. Furthermore using .language-CODELANG is also proposed by HTML5 and
it seems to be a good way to achieve the needed functionality.

Other changes in this release include the possibility of setting the code
language on the starting line of a fenced code block and a way of excluding
certain headers from the table of contents by assigning the .no_toc class to
them.  Changes

* 2 major changes

  o Code language is now specified via .language-CODELANG instead of
    lang='CODELANG'
  o Implemented support for setting language on fenced code block starting
    line (initial patch by Bran)

* 1 minor change

  o Headers with an ID can be prevented from showing in the TOC by assigning
    the .no_toc class to them (patch by Tim Bates)

* 1 bug fix

  o Numeric instead of symbolic HTML entities are now the default fallback
    (patch by Gioele Barabucci)

kramdown 0.13.8 released
				Published on Friday, 31 August 2012

This release brings two new options (one for adjusting header levels and the
other for enabling/disabling coderay). And the usual bug fixes.  Changes

* 2 minor changes

  o New option header_offset for offsetting all header levels (initial patch
    by Michal Till)
  o New option enable_coderay for enabling/disabling coderay (initial patch by
    Bran)

* 5 bug fixes

  o Reserved HTML characters in abbreviation titles are now correctly output
    (patch by Alex Tomlins)
  o Similar abbreviations (like CSS and CSS3) are now correctly parsed
  o Fixed bug RF#29626: Text of mailto-link was sometimes wrongly obfuscated
    (reported by B Wright)
  o Fixed known Ruby 1.9.3 problem with RakeTest task (patch by Gioele
    Barabucci)
  o Fixed double output of ¡Æmarkdown¡Ç attribute on HTML elements in kramdown
    converter

* 1 documentation change

  o README file is now called README.md and uses kramdown syntax (patch by
    Bran)
2012-09-16 11:28:15 +00:00
taca
41d025c904 Update ruby-kramdown to 0.13.7.
kramdown 0.13.7 released

This release, aside from fixing bugs and some other minor changes, adds a new
converter for removing HTML tags from an element tree. This means that one can
now do

	kramdown -i html -o remove_html_tags,kramdown my_document.html

and get a nice kramdown document from a full HTML document!

Changes

1 major change

  * Implemented RemoveHtmlTags converter for removing HTML tags from an
    element tree (fixes bug RF#29282 requested by Bernard Potocki)

3 minor changes

  * Updated kramdown binary to support multiple, chained output formats

  * Added a new option for setting a default coderay highlighting language
    (requested by Lou Quillio)

  * Feature request RF#29575: Added support for &shy; soft-hyphen entity
    (requested by Alexander Gro©Î)

5 bug fixes

  * Fixed bug RF#29576: Footnotes in headers resulted in duplicated id attr in
    TOC (reported by korthaerd)
  * Multi-line titles in links are now correctly parsed
  * DOCTYPE declaration is now correctly parsed independent of case
  * Setting of nil options works now by using the String ¡Ænil¡Ç
  * Fixed table-of-content test cases (test went green although the meaning of
    the test was not satisfied due to copy-paste - d¡Çoh!)

1 documentation fix

  * Fixed bug RF#29577: sidebar link to news page was broken for HTML pages in
    sub directories (reported by korthaerd)
2012-06-13 14:41:03 +00:00
taca
541123b4bb Update ruby-kramdown to 0.13.6.
commit 40e6cde2d3e1a4f9f6bc14a243b22b4ae3311ca2
Author: Thomas Leitner <t_leitner@gmx.at>
Date:   Wed May 9 19:53:47 2012 +0200

    Updated release notes and version number

doc/news/release_0_13_6.page
doc/sidebar.template
lib/kramdown/version.rb
man/man1/kramdown.1.erb

commit 7f66dca331f78d84ef22c489c755360b304cb41f
Author: Thomas Leitner <t_leitner@gmx.at>
Date:   Tue May 8 21:20:46 2012 +0200

    Fixed bug RF#29557: Parsing fails with lists with empty list item

    If a list item is completely empty, it needs to be handled specially,
    which is done now.

lib/kramdown/converter/kramdown.rb
lib/kramdown/parser/kramdown/list.rb
test/testcases/block/08_list/special_cases.html
test/testcases/block/08_list/special_cases.text

commit ac00ea8ea590ece6c7a6c53b30920114f349b79b
Author: Thomas Leitner <t_leitner@gmx.at>
Date:   Tue May 8 20:02:43 2012 +0200

    Fixed problem with CDATA section in non-XHTML pages

    The HTML parser does not parse CDATA in script tags and
    therefore the CDATA tags were displayed in MathJax output.
    By commenting out the CDATA tags (with LaTeX comment syntax)
    we avoid this problem.

lib/kramdown/converter/html.rb
lib/kramdown/parser/html.rb
test/testcases/block/15_math/normal.html
2012-06-02 01:11:44 +00:00
taca
6e1f12440e Update ruby-kramdown to 0.13.5.
Changes are too many to write here, please refer ChangeLog.
2012-03-18 02:45:58 +00:00
taca
8b147201a2 Update textproc/ruby-kramdown to 0.13.4.
Changes

* 1 minor change:

	- Added a converter that extracts the TOC of a document (requested by
          Brendan Hay). Note that this is only useful if you use kramdown as a
          library!

* 7 bug fixes

	- Fixed a typo: It should be --output and not --ouput (patch by
          postmodern)
	- Fixed HTML converter to correctly output empty span tags (patch by
          John Croisant)
	- Fixed bug RF#29350: Parsing of HTML tags with mismatched case now
          works
	- Fixed bug RF#29426: Content of style tags is treated as raw text now
	- HTML converter now uses rel instead of rev to be HTML5 compatible
          (patch by Joe Fiorini)
	- Fixed Ruby 1.9.3 related warnings
	- Fixed HTML parser to work around an implementation change of
          Array#delete_if in Ruby 1.9.3
2011-12-17 06:25:16 +00:00
minskim
d739151867 Import ruby19-kramdown-0.13.3 as textproc/ruby-kramdown.
kramdown is a free GPL-licensed Ruby library for parsing and
converting a superset of Markdown.  It is completely written in Ruby,
supports standard Markdown (with some minor modifications) and various
extensions that have been made popular by the PHP Markdown Extra
package and Maruku.
2011-08-21 04:59:47 +00:00