From 70b71d1de24478a8fcc7413f1cb42c83db416bc3 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Mon, 6 Apr 2020 10:16:17 +0000 Subject: Support manual tagging of .Pp, .Bd, .D1, .Dl, .Bl, and .It. In HTML output, improve the logic for writing inside permalinks: skip them when there is no child content or when there is a risk that the children might contain flow content. --- roff.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'roff.h') diff --git a/roff.h b/roff.h index d1e05db5..e2ccc373 100644 --- a/roff.h +++ b/roff.h @@ -1,7 +1,7 @@ -/* $Id: roff.h,v 1.72 2020/02/27 21:43:45 schwarze Exp $ */ +/* $Id: roff.h,v 1.73 2020/04/06 10:16:18 schwarze Exp $ */ /* - * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons * Copyright (c) 2013-2015, 2017-2020 Ingo Schwarze + * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -557,3 +557,4 @@ struct roff_node *roff_node_child(struct roff_node *); struct roff_node *roff_node_next(struct roff_node *); struct roff_node *roff_node_prev(struct roff_node *); int roff_node_transparent(struct roff_node *); +int roff_tok_transparent(enum roff_tok); -- cgit v1.2.3