lowdown: update to 0.11.0. Version 0.11.0, 2022-02-21 Add class and identifier extended attributes to headers. These are stipulated in PHP Markdown Extra. Documentation in lowdown(5). When using header identifiers (the default) and the names collide, use pandoc's method of creating unique header names. Also handle the case of markup in headers and the identifier created from those to also be like pandoc. This isn't a fix, but rather make output consistent with other tools. Fix output of how links are handled in -Tms when part of headers. The same applies to other block-level macros with link children such as in definition lists. This also cleans up how headers are shown in the PDF TOC. While here, make header identifiers the same as in -Thtml so that intra-document links are consistent, and enable linking within a document using the PDF markers. Fix footnotes to be actual footnotes in -Tlatex and -Tms instead of endnotes. The other formats (-Tman, etc.) all continue to use endnotes. The note system has internally been cleaned up and now allows for more flexible note placement, e.g., side-notes. Allow footnotes to properly exist in -Tlatex tables. Also allow for table alignment. Bump the minor number as the ABI has been tidied up with respect to footnotes: they're now all in their LOWDOWN_FOOTNOTE blocks instead of split into definitions and references. The LOWDOWN_DOC_FOOTER element, which was not used, has also been removed. The system in general has spent many, many computer-hours being fuzzed with AFL thanks to hardware donated by Michael Dexter. Thank you! Finally, make -T be a synonym for the new -t, which is used by pandoc.diff -r1.25 -r1.26 pkgsrc/textproc/lowdown/Makefile
(fcambus)
@@ -1,16 +1,16 @@ | @@ -1,16 +1,16 @@ | |||
1 | # $NetBSD: Makefile,v 1.25 2021/11/05 11:06:24 fcambus Exp $ | 1 | # $NetBSD: Makefile,v 1.26 2022/02/23 08:20:29 fcambus Exp $ | |
2 | 2 | |||
3 | DISTNAME= lowdown-0.10.0 | 3 | DISTNAME= lowdown-0.11.0 | |
4 | CATEGORIES= textproc | 4 | CATEGORIES= textproc | |
5 | MASTER_SITES= https://kristaps.bsd.lv/lowdown/snapshots/ | 5 | MASTER_SITES= https://kristaps.bsd.lv/lowdown/snapshots/ | |
6 | 6 | |||
7 | MAINTAINER= fcambus@NetBSD.org | 7 | MAINTAINER= fcambus@NetBSD.org | |
8 | HOMEPAGE= https://kristaps.bsd.lv/lowdown/ | 8 | HOMEPAGE= https://kristaps.bsd.lv/lowdown/ | |
9 | COMMENT= Simple Markdown translator | 9 | COMMENT= Simple Markdown translator | |
10 | LICENSE= isc | 10 | LICENSE= isc | |
11 | 11 | |||
12 | HAS_CONFIGURE= yes | 12 | HAS_CONFIGURE= yes | |
13 | 13 | |||
14 | SUBST_CLASSES+= install | 14 | SUBST_CLASSES+= install | |
15 | SUBST_SED.install+= -e 's,/usr/local,${PREFIX},' \ | 15 | SUBST_SED.install+= -e 's,/usr/local,${PREFIX},' \ | |
16 | -e 's,^MANDIR=.*,MANDIR=${PREFIX}/${PKGMANDIR},' \ | 16 | -e 's,^MANDIR=.*,MANDIR=${PREFIX}/${PKGMANDIR},' \ |
@@ -1,18 +1,19 @@ | @@ -1,18 +1,19 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.10 2021/11/05 11:06:24 fcambus Exp $ | 1 | @comment $NetBSD: PLIST,v 1.11 2022/02/23 08:20:29 fcambus Exp $ | |
2 | bin/lowdown | 2 | bin/lowdown | |
3 | bin/lowdown-diff | 3 | bin/lowdown-diff | |
4 | include/lowdown.h | 4 | include/lowdown.h | |
5 | lib/liblowdown.a | 5 | lib/liblowdown.a | |
6 | lib/liblowdown.so.1 | |||
6 | lib/pkgconfig/lowdown.pc | 7 | lib/pkgconfig/lowdown.pc | |
7 | man/man1/lowdown-diff.1 | 8 | man/man1/lowdown-diff.1 | |
8 | man/man1/lowdown.1 | 9 | man/man1/lowdown.1 | |
9 | man/man3/lowdown.3 | 10 | man/man3/lowdown.3 | |
10 | man/man3/lowdown_buf.3 | 11 | man/man3/lowdown_buf.3 | |
11 | man/man3/lowdown_buf_diff.3 | 12 | man/man3/lowdown_buf_diff.3 | |
12 | man/man3/lowdown_buf_free.3 | 13 | man/man3/lowdown_buf_free.3 | |
13 | man/man3/lowdown_buf_new.3 | 14 | man/man3/lowdown_buf_new.3 | |
14 | man/man3/lowdown_diff.3 | 15 | man/man3/lowdown_diff.3 | |
15 | man/man3/lowdown_doc_free.3 | 16 | man/man3/lowdown_doc_free.3 | |
16 | man/man3/lowdown_doc_new.3 | 17 | man/man3/lowdown_doc_new.3 | |
17 | man/man3/lowdown_doc_parse.3 | 18 | man/man3/lowdown_doc_parse.3 | |
18 | man/man3/lowdown_file.3 | 19 | man/man3/lowdown_file.3 | |
@@ -29,13 +30,14 @@ man/man3/lowdown_latex_rndr.3 | @@ -29,13 +30,14 @@ man/man3/lowdown_latex_rndr.3 | |||
29 | man/man3/lowdown_metaq_free.3 | 30 | man/man3/lowdown_metaq_free.3 | |
30 | man/man3/lowdown_node_free.3 | 31 | man/man3/lowdown_node_free.3 | |
31 | man/man3/lowdown_nroff_free.3 | 32 | man/man3/lowdown_nroff_free.3 | |
32 | man/man3/lowdown_nroff_new.3 | 33 | man/man3/lowdown_nroff_new.3 | |
33 | man/man3/lowdown_nroff_rndr.3 | 34 | man/man3/lowdown_nroff_rndr.3 | |
34 | man/man3/lowdown_odt_free.3 | 35 | man/man3/lowdown_odt_free.3 | |
35 | man/man3/lowdown_odt_new.3 | 36 | man/man3/lowdown_odt_new.3 | |
36 | man/man3/lowdown_odt_rndr.3 | 37 | man/man3/lowdown_odt_rndr.3 | |
37 | man/man3/lowdown_term_free.3 | 38 | man/man3/lowdown_term_free.3 | |
38 | man/man3/lowdown_term_new.3 | 39 | man/man3/lowdown_term_new.3 | |
39 | man/man3/lowdown_term_rndr.3 | 40 | man/man3/lowdown_term_rndr.3 | |
40 | man/man3/lowdown_tree_rndr.3 | 41 | man/man3/lowdown_tree_rndr.3 | |
41 | man/man5/lowdown.5 | 42 | man/man5/lowdown.5 | |
43 | share/lowdown/odt/styles.xml |
# $NetBSD: buildlink3.mk,v 1.1 2022/02/23 08:20:29 fcambus Exp $
BUILDLINK_TREE+= lowdown
.if !defined(LOWDOWN_BUILDLINK3_MK)
LOWDOWN_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.lowdown+= lowdown>=0.11.0
BUILDLINK_PKGSRCDIR.lowdown?= ../../textproc/lowdown
.endif # LOWDOWN_BUILDLINK3_MK
BUILDLINK_TREE+= -lowdown
@@ -1,5 +1,5 @@ | @@ -1,5 +1,5 @@ | |||
1 | $NetBSD: distinfo,v 1.26 2021/11/05 11:06:24 fcambus Exp $ | 1 | $NetBSD: distinfo,v 1.27 2022/02/23 08:20:29 fcambus Exp $ | |
2 | 2 | |||
3 | BLAKE2s (lowdown-0.10.0.tar.gz) = 2242830632a7445c59efb568f64ec3a8c4e2367b8f22086f94cba72567ec49d3 | 3 | BLAKE2s (lowdown-0.11.0.tar.gz) = 6aa479d3e91b4703f6d092229486f86e1d6c54a5266c6578cb12e558913401e9 | |
4 | SHA512 (lowdown-0.10.0.tar.gz) = 52ba939eff32dfe2c0b4fa530e058cc3faee3b21babe312bc35a60e2c66d2ba4f577c23a46e1711231e1054afd4ee27df5c30d368839fb1d2d28fedc9d2b83df | 4 | SHA512 (lowdown-0.11.0.tar.gz) = 0a3270a934de583011351bea53f74c9ea9620c7a38171d9b42e66e6987640af1db8f3ef9b3baf7fa0bafa8d5a873e433da51252b1887adaca850d283f75d3764 | |
5 | Size (lowdown-0.10.0.tar.gz) = 229928 bytes | 5 | Size (lowdown-0.11.0.tar.gz) = 237405 bytes |