./textproc/lowdown, Simple Markdown translator

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 0.8.4, Package name: lowdown-0.8.4, Maintainer: fcambus

lowdown is just another Markdown translator. It can output traditional
HTML or a document for your troff type-setter of choice, such as
groff(1), Heirloom troff, or even mandoc(1). lowdown doesn't require
XSLT, Python, or even Perl - it's just clean, secure, open source
C code with no dependencies.


Required to build:
[pkgtools/cwrappers]

Master sites:

SHA1: dfd4605c57b6cfa70a72e34b2febf845c8a984ce
RMD160: dbb060087bd2ac65a9a5cc041d6b8fd07a307906
Filesize: 205.156 KB

Version history: (Expand)


CVS history: (Expand)


   2021-04-07 09:24:34 by Frederic Cambus | Files touched by this commit (2) | Package updated
Log message:
lowdown: update to 0.8.4.

Version 0.8.4, 2021-04-03

Fix a crash in -Tgemini with tables. Allow for multi-page tables in -Tms.
Start to expand on regression suite. Clean up documentation, when possible,
and add some minor code polish.
   2021-03-16 17:33:40 by Frederic Cambus | Files touched by this commit (2) | Package updated
Log message:
lowdown: update to 0.8.3.

Version 0.8.3, 2021-03-13

Several fixes to -Tlatex smart typography (single quotes and dashes). The
smart typography now handles single quotes within words. Lastly, fix a bug
where footnotes started at two instead of one.
   2021-02-21 14:29:23 by Frederic Cambus | Files touched by this commit (3) | Package updated
Log message:
lowdown: update to 0.8.2.

Version 0.8.2, 2021-02-19

Fix tables as processed by the difference engine. Tables are now
fully opaque, which means that any changes will result in the
deletion and re-addition of the table. This isn't a good fix, but
it does mean that any tables run through the difference engine will
be sane for output.

Fix metadata to also be properly handled by both the difference
engine and conforming front-ends. This is a bit unusual since
metadata is both processed during parse and also affects document
output, such as in document title. For now use the same rule that
front-ends with metadata differences affecting document layout
(e.g., title) use the new form, if changed.

Lastly, fix footnote reference. When they're emitted in the new
document, the reference definitions are re-ordered in the correct
way to allow -Tms and such to work properly. While here, make sure
that all printed footnote numbers start at one and colours are
properly represented in output.

Split lowdown(1) into lowdown-diff(1) for easier reading.

Properly render tables for -Tgemini as fixed-width displays.

By default, render Gemini link labels using "Excel" format
(hexavigesimal) with the option of using Roman numerals
(--gemini-link-roman) or without labels at all (--gemini-link-noref).
This choice of default may change in later versions, hwoever.
   2021-02-09 19:34:07 by Frederic Cambus | Files touched by this commit (2) | Package updated
Log message:
lowdown: update to 0.8.1.

ChangeLog:

Version 0.8.1, 2021-02-09

Add --term-nolinks to strip URLs out of terminal output (when alternative
text is available). Then add --nroff-nolinks and --nroff-shortlinks, just
like those for -Tterm, for use with -Tman or --nroff-no-groff.

Fix long-standing kinda-bug where www autolinks were being reported as
regular links instead of autolinks.

Introduce -m and -M, which allow metadata to be provided on the command
line. Metadata keys are first looked for in -m, overriden by what's in
the document, and those overridden by what's in -M.

Remove the deprecated -D, -d, -E, and -e, which were long ago replaced by
long options.

Inhibit printing of metadata in -Tgemini unless --gemini-metadata is given.
   2021-02-04 10:09:42 by Frederic Cambus | Files touched by this commit (3) | Package updated
Log message:
lowdown: update to 0.8.0.

ChangeLog:

Version 0.8.0, 2021-01-31

Recognise the volume, source, and section metadata. These are currently
only used by -Tman.

Convert all internal functions to return an error code on memory allocation
failure. Prior to this, these functions had a chance of exiting and
printing failure to stderr. Now, this is left as the responsibility of
the front-end. There's no significant API change except that all renderers
return a value.

Fix the difference engine in several subtle ways, improving the produced
scripts, and also fix crashes where similar text would match multiple
parts of the parse tree, resulting in assertions.

Re-write the -Tms and -Tman generator to use a completely different
internal algorithm. This algorithm, instead of formatting directly into
output, converts the AST into an array of output blocks marked either as
text, literal, macro, or font/colour change. An assembler for this array
manages newlines and spacing between blocks. This fixes all known instances
of unexpected line breaks and allows for significantly simplified handling
of text interspersed with macros (e.g., links, etc.). An API result of
this is that the tree passed to lowdown_nroff_rndr(3) is now const.

Recognise non-block and block lists for -Tlatex output.

Emit a UTF-8 preconv header to all -Tms and -Tman so that -Kutf8 need not
be passed to the formatter.

Remove the --nroff-hardwrap option, which needlessly complicates code
without benefit.
   2021-01-25 10:48:36 by Frederic Cambus | Files touched by this commit (2) | Package updated
Log message:
lowdown: update to 0.7.9 and take MAINTAINER.

ChangeLog:

Version 0.7.9, 2021-01-11

- Fix a crash introduced with the new UTF-8 handling in -Tterm.
- Allow the "section" metadata key to set the manpage section when used
  with -Tman.
- Significantly clean up lists (definition, ordered, unordered) and how
  indenting and compacting is handled in -Tman and -Tms.
- Use EX and EE for block code when in -Tman. These only apply in
  LOWDOWN_NROFF_GROFF mode. While looking at block codes, fix how much
  trailing space is emitted and make sure that subsequent paragraphs
  are indented.
- Don't have sections in -Tman be followed by superfluous paragraph
  macros (PP, etc.).

Version 0.7.7, 2021-01-06

Have the -Tterm output correctly adjust columns for UTF-8 wide characters.
This makes both ASCII and UTF-8 (e.g, Russian) correctly align on terminal
output.
   2020-12-10 10:19:36 by Frederic Cambus | Files touched by this commit (3) | Package updated
Log message:
lowdown: update to 0.7.5.

Version 0.7.5, 2020-12-09

- Add support for the Gemini protocol I've been hearing so much about.
  This may now be used from lowdown(1) or as a library in lowdown(3).
  This is a very simple output: it basically does no formatting at
  all, but does have some logic to shuffle around links.  Version

Version 0.7.4, 2020-08-29

- Bug-fix: don't emit stray .PP macros when in -Tman or -Tms mode.
This bug was introduced in version 0.7.3.

- The library is now usable from C++ applications as-is, without
  needing extra compilation flags.

- Add missing lowdown_diff(3) and lowdown_metaq_free(3) manpages.

Version 0.7.3, 2020-08-20

- Fix some smart typography bugs, specifically with ending single or
  double quotes. While doing so, create a regression suite for smart
  typography and update the manpage. Bug submitted by Larry Kollar,
  thanks!

- Make base header level metadata key work properly. Another bug
  submitted by Larry Kollar, thanks!

- Fix --nroff-hard-wrap to emit trailing newlines. Yet another bug
  submitted by Larry Kollar, thanks!

Larry further suggested using typographic conventions in both the
-Tlatex and -Tms output to have initial paragraphs not indent, but
subsequent ones should. This is the default mode in LaTeX, which
I was disabling. I've now removed my override to be more like
default LaTeX, and Larry proposed an initial patch for having -Tms
do the same. Thanks yet again!
   2020-07-28 22:57:59 by Frederic Cambus | Files touched by this commit (2) | Package updated
Log message:
lowdown: update to 0.7.2.

Version 0.7.2, 2020-07-23

Invert logic of --parse-codeindent to be correct.