From d314ff3f89a95ea238e50cfcbb6a6fc3848c56d2 Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Wed, 15 Sep 2010 14:36:16 +0000 Subject: Allow string lengths to account for escapes. Now all calls to calculate column width in -Tascii, -Tpdf, and -Tps will account for "more real" string lengths. Example: .Bl -tag -width \s[+123424]foo .It bar baz .El The size escape will be correctly tossed. .Bl -tag -width \(aqbar .It \(aqbar baz .El The \(aq will be correctly handled. --- TODO | 5 ----- 1 file changed, 5 deletions(-) (limited to 'TODO') diff --git a/TODO b/TODO index 3fa7a76d..f417bb29 100644 --- a/TODO +++ b/TODO @@ -172,11 +172,6 @@ Several areas can be cleaned up to make mandoc even faster. These are * structural issues ************************************************************************ -- rendering frontend code can calculate widths only for plain strings, - not for strings containing escape sequences. For example, this - hinders calculation of the indent required for .Nm \&[ in text(1). - comments from kristaps@ Wed, 21 Jul 2010 23:26:08 +0200 - - another example of the same problem: .Bl -tag -width "\eD{format}XX" -compact in OpenBSD ksh(1) gives the wrong width -- cgit