summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--src/roff/troff/input.cpp1
-rw-r--r--tmac/unicode.tmac1
3 files changed, 9 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 0e2d73bb..742517f6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2007-09-14 Werner LEMBERG <wl@gnu.org>
+
+ * tmac/unicode.tmac: Make `-' a pure input character by mapping it
+ to `hy'.
+
+ * src/roff/troff/input.cpp (init_charset_table): Handle `hy'.
+
2007-09-11 Werner LEMBERG <wl@gnu.org>
* src/libs/libgroff/string.cpp (string::remove_spaces): Fix memory
diff --git a/src/roff/troff/input.cpp b/src/roff/troff/input.cpp
index 68db160c..397f2ba4 100644
--- a/src/roff/troff/input.cpp
+++ b/src/roff/troff/input.cpp
@@ -6450,6 +6450,7 @@ static void init_charset_table()
get_charinfo(symbol("dg"))->set_flags(charinfo::TRANSPARENT);
get_charinfo(symbol("rq"))->set_flags(charinfo::TRANSPARENT);
get_charinfo(symbol("em"))->set_flags(charinfo::BREAK_AFTER);
+ get_charinfo(symbol("hy"))->set_flags(charinfo::BREAK_AFTER);
get_charinfo(symbol("ul"))->set_flags(charinfo::OVERLAPS_HORIZONTALLY);
get_charinfo(symbol("rn"))->set_flags(charinfo::OVERLAPS_HORIZONTALLY);
get_charinfo(symbol("radicalex"))->set_flags(charinfo::OVERLAPS_HORIZONTALLY);
diff --git a/tmac/unicode.tmac b/tmac/unicode.tmac
index 6c015b2a..e295cc52 100644
--- a/tmac/unicode.tmac
+++ b/tmac/unicode.tmac
@@ -1,3 +1,4 @@
.\" unicode.tmac
.\"
+.char - \[hy]
.\" EOF