[Pkg-gnupg-commit] [gnupg2] 102/160: yat2m: Fix table formatting.
Daniel Kahn Gillmor
dkg at fifthhorseman.net
Fri Jul 15 09:36:40 UTC 2016
This is an automated email from the git hooks/post-receive script.
dkg pushed a commit to branch upstream
in repository gnupg2.
commit aae3cdb61555db4efb26f522030c8303a731d4a9
Author: Werner Koch <wk at gnupg.org>
Date: Sat Jul 2 16:17:25 2016 +0200
yat2m: Fix table formatting.
* doc/yat2m.c (proc_texi_cmd): Use .TQ for @itemx. Print a .P at the
end of a level 0 table.
Signed-off-by: Werner Koch <wk at gnupg.org>
---
doc/yat2m.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/doc/yat2m.c b/doc/yat2m.c
index 7599081..9b76f19 100644
--- a/doc/yat2m.c
+++ b/doc/yat2m.c
@@ -746,7 +746,7 @@ proc_texi_cmd (FILE *fp, const char *command, const char *rest, size_t len,
{ "subsection", 6, "\n.SS " },
{ "chapheading", 0},
{ "item", 2, ".TP\n.B " },
- { "itemx", 2, ".TP\n.B " },
+ { "itemx", 2, ".TQ\n.B " },
{ "table", 3 },
{ "itemize", 3 },
{ "bullet", 0, "* " },
@@ -793,6 +793,8 @@ proc_texi_cmd (FILE *fp, const char *command, const char *rest, size_t len,
{
if ((*table_level)-- > 1)
fputs (".RE\n", fp);
+ else
+ fputs (".P\n", fp);
}
else if (n >= 7 && !memcmp (s, "example", 7)
&& (!n || s[7] == ' ' || s[7] == '\t' || s[7] == '\n'))
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-gnupg/gnupg2.git
More information about the Pkg-gnupg-commit
mailing list