help / color / mirror / Atom feed
Subject: mandoc: Implement the layout specification "a" (left justify with 1em
Date: Sun, 16 May 2021 18:19:05 -0500 (EST)	[thread overview]
Message-ID: <> (raw)

Log Message:
Implement the layout specification "a" (left justify with 1em indentation)
in HTML output mode; before this patch, the indentation was missing.
Terminal output already supported the "a" specifier since 2010.
Issue reported and patch tested by Oliver dot Corff at email dot de.

Modified Files:

Revision Data
Index: tbl_html.c
RCS file: /home/cvs/mandoc/mandoc/tbl_html.c,v
retrieving revision 1.34
retrieving revision 1.35
diff -Ltbl_html.c -Ltbl_html.c -u -p -r1.34 -r1.35
--- tbl_html.c
+++ tbl_html.c
@@ -247,6 +247,8 @@ print_tbl(struct html *h, const struct t
 				html_setfont(h, ESCAPE_FONTBOLD);
 			else if (dp->layout->flags & TBL_CELL_ITALIC)
 				html_setfont(h, ESCAPE_FONTITALIC);
+			if (dp->layout->pos == TBL_CELL_LONG)
+				print_text(h, "\\[u2003]");  /* em space */
 			print_text(h, dp->string);
 			html_setfont(h, save_font);
 To unsubscribe send an email to

                 reply	other threads:[~2021-05-16 23:19 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \
    --subject='Re: mandoc: Implement the layout specification "a" (left justify with 1em' \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).