From 304c65f73f3b6461a402dfafb11c789398ed8e99 Mon Sep 17 00:00:00 2001 From: Alex Vong Date: Sat, 19 Sep 2015 18:53:33 +0800 Subject: [PATCH 1/2] Add new template variables $adjusting$ and $hyphenate$ for `default.man`. $adjusting$ takes the values "l", "r", "c" or "b", which adjusts text to left, right, center or both margins respectively. $hyphenate$ is set to "true" by default, setting it to "false" will turn off hyphenation. * default.man: Add new variables $adjusting$ and $hyphenate$. --- default.man | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/default.man b/default.man index 69cb1d8a7603..e2d24413d507 100644 --- a/default.man +++ b/default.man @@ -1,6 +1,14 @@ $if(has-tables)$ .\"t $endif$ +$if(adjusting)$ +.ad $adjusting$ +$endif$ +$if(hyphenate)$ +.hy +$else$ +.nh +$endif$ .TH "$title$" "$section$" "$date$" "$footer$" "$header$" $for(header-includes)$ $header-includes$ From 8a4bf5f7642ea6f7c913e0ec7d576bbc4fd931e9 Mon Sep 17 00:00:00 2001 From: Alex Vong Date: Fri, 25 Sep 2015 04:10:50 +0800 Subject: [PATCH 2/2] Add a comment stating the man page is `Automatically generated by Pandoc $pandoc-version$`. * default.man: Add comment. --- default.man | 2 ++ 1 file changed, 2 insertions(+) diff --git a/default.man b/default.man index e2d24413d507..bce3f2444370 100644 --- a/default.man +++ b/default.man @@ -1,6 +1,8 @@ $if(has-tables)$ .\"t $endif$ +.\" Automatically generated by Pandoc $pandoc-version$ +.\" $if(adjusting)$ .ad $adjusting$ $endif$