From 5909cbca3fe375aeac1e2247b3f8edbaba32e56e Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Tue, 25 May 2010 12:37:20 +0000 Subject: Modified version of Ingo Schwarze's patch for hyphen-breaking. Breakable hyphens are cued in the back-ends (with ASCII_HYPH) and acted upon in term.c or ignored in html.c. Also cleaned up XML decl printing (no need for extra vars). --- mandoc.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'mandoc.h') diff --git a/mandoc.h b/mandoc.h index e8c4dd60..f6203c5b 100644 --- a/mandoc.h +++ b/mandoc.h @@ -1,4 +1,4 @@ -/* $Id: mandoc.h,v 1.6 2010/05/24 01:41:31 schwarze Exp $ */ +/* $Id: mandoc.h,v 1.7 2010/05/25 12:37:20 kristaps Exp $ */ /* * Copyright (c) 2010 Kristaps Dzonsons * @@ -17,6 +17,10 @@ #ifndef MANDOC_H #define MANDOC_H +#define ASCII_NBRSP 31 /* non-breaking space */ +#define ASCII_HYPH 30 /* breakable hyphen */ + + __BEGIN_DECLS enum mandocerr { -- cgit v1.2.3-56-ge451