From 1ee6e0e0878bcd655f31deb0caf6a4766e500cc6 Mon Sep 17 00:00:00 2001
From: John MacFarlane <jgm@berkeley.edu>
Date: Wed, 14 Aug 2019 22:11:05 -0700
Subject: Use new doctemplates, doclayout.

+ Remove Text.Pandoc.Pretty; use doclayout instead. [API change]
+ Text.Pandoc.Writers.Shared: remove metaToJSON, metaToJSON'
  [API change].
+ Text.Pandoc.Writers.Shared: modify `addVariablesToContext`,
  `defField`, `setField`, `getField`, `resetField` to work with
  Context rather than JSON values. [API change]
+ Text.Pandoc.Writers.Shared: export new function `endsWithPlain` [API
  change].
+ Use new templates and doclayout in writers.
+ Use Doc-based templates in all writers.
+ Adjust three tests for minor template rendering differences.
+ Added indentation to body in docbook4, docbook5 templates.

The main impact of this change is better reflowing of content
interpolated into templates.  Previously, interpolated variables
were rendered independently and intepolated as strings, which could lead
to overly long lines.  Now the templates interpolated as Doc values
which may include breaking spaces, and reflowing occurs
after template interpolation rather than before.
---
 test/writer.textile | 1 +
 1 file changed, 1 insertion(+)

(limited to 'test/writer.textile')

diff --git a/test/writer.textile b/test/writer.textile
index b184506b6..40a47b8f0 100644
--- a/test/writer.textile
+++ b/test/writer.textile
@@ -717,3 +717,4 @@ fn4. In quote.
 
 
 fn5. In list.
+
-- 
cgit v1.2.3

