This is a maintainer update for textproc/lowdown to 1.4.0. The changes
for 1.3.1, 1.3.2, and 1.4.0 are:

Version 1.3.1:

"Add --template functionality to -tlatex.

Add and() and or() as initial values to template expressions. These
allow for ifdef to test for multiple values at once."

Version 1.3.2:

"Add --template functionality to -tman, -tms, and -tgemini.

Add not() to the --template functions and document escapelatex().
Recognise a special modifier -- at the end of control statements (e.g.,
$endfor--$, which consumes up and and including the end-of-line. This is
necessary for integrating templates with roff-based languages that are
line sensitive.

Add escapegemini and escaperoff modifier families.

Clarify that any empty statement, even with only white-space, evaluates
to the $ literal. This simplifies the parser and reduces corner cases.
(Earlier, an empty statement with white-space was ignored, but an empty
statement without white-space was a literal $)"

Version 1.4.0:

"Deprecate the --nroff argument prefix in favour of --roff, so for
example --nroff-traditional becomes --roff-traditional. The old prefix
is retained and will not be removed. Deprecated old forms (e.g.,
--nroff-no-groff) did not get a replacement.

Deprecate --term-nolinks and --term-shortlinks in favour of
--term-no-links and --term-short-links, respectively. The old forms are
retained and will not be removed.

Add --term-hpadding and clarify the roles of --term-cols,
--term-hmargin, and --term-width. Also document auto argument to
-term-hmargin. The default output looks the same as it did before, but
--term-hpadding=0 can now omit any leading characters.

Add --term-no-rellinks to omit only relative links. This is useful
because terminal output doesn't have a concept of a "relative" link.

Add passing literal strings as initial values to --template.

Document --term-hmargin=auto, previously undocumented as centre.

Use UTF-8 sequences for -tterm lines: horizontal lines, tables, block
vertical lines, etc. Simplify the image link output to look a little
more like pandoc.

API change (hence the minor version bump): lowdown_tree_rndr(3) now also
accepts a pointer to the options. This is to enable debugging of the
parse tree of --template. Now, passing -s --template to -ttree will
produce the template's parse tree alongside the parsed content of the
input.

API change (hence the minor version bump): moving terminal-specific
members of lowdown_opts into lowdown_opts_term."


Everything works fine in my testing. There are changes in lowdown.h and
a mentioned API change so I bumped the major for SHARED_LIBS.

Bryan


Index: textproc/lowdown/Makefile
===================================================================
RCS file: /cvs/ports/textproc/lowdown/Makefile,v
diff -u -p -r1.35 Makefile
--- textproc/lowdown/Makefile   5 Dec 2024 02:28:57 -0000       1.35
+++ textproc/lowdown/Makefile   12 Feb 2025 04:34:59 -0000
@@ -1,8 +1,8 @@
 COMMENT =      simple markdown translator
-DISTNAME =     lowdown-1.3.0
+DISTNAME =     lowdown-1.4.0
 CATEGORIES =   textproc
 
-SHARED_LIBS =  lowdown         2.0     # 2
+SHARED_LIBS =  lowdown         3.0     # 3
 
 HOMEPAGE =     https://kristaps.bsd.lv/lowdown/
 MAINTAINER =   Bryan Vyhmeister <br...@bsdjournal.net>
Index: textproc/lowdown/distinfo
===================================================================
RCS file: /cvs/ports/textproc/lowdown/distinfo,v
diff -u -p -r1.30 distinfo
--- textproc/lowdown/distinfo   5 Dec 2024 02:28:57 -0000       1.30
+++ textproc/lowdown/distinfo   12 Feb 2025 04:35:04 -0000
@@ -1,2 +1,2 @@
-SHA256 (lowdown-1.3.0.tar.gz) = 6eFXsaAybyNSiA4vQg8RWdInocVwFa4R/29YLF3lhBg=
-SIZE (lowdown-1.3.0.tar.gz) = 291024
+SHA256 (lowdown-1.4.0.tar.gz) = db+N3Gb2x167ZBMc7R5ymYOjj4Zqk4ePwXU9+TMw4O8=
+SIZE (lowdown-1.4.0.tar.gz) = 297819

Reply via email to