* mdocml: Fix a regression found by Carsten dot Kunze at arcor dot de: Do
@ 2014-12-13 13:14 schwarze
0 siblings, 0 replies; only message in thread
From: schwarze @ 2014-12-13 13:14 UTC (permalink / raw)
To: source
Log Message:
-----------
Fix a regression found by Carsten dot Kunze at arcor dot de:
Do not show bogus quotes when .Bl -column phrases are quoted.
Modified Files:
--------------
mdocml:
TODO
mdoc_macro.c
Revision Data
-------------
Index: mdoc_macro.c
===================================================================
RCS file: /home/cvs/mdocml/mdocml/mdoc_macro.c,v
retrieving revision 1.156
retrieving revision 1.157
diff -Lmdoc_macro.c -Lmdoc_macro.c -u -p -r1.156 -r1.157
--- mdoc_macro.c
+++ mdoc_macro.c
@@ -672,11 +672,9 @@ macro_or_word(MACRO_PROT_ARGS, int parse
p = buf + ppos;
ntok = MDOC_MAX;
- if (mdoc->flags & MDOC_PHRASELIT)
- /* nothing */;
- else if (*p == '"')
+ if (*p == '"')
p++;
- else if (parsed)
+ else if (parsed && ! (mdoc->flags & MDOC_PHRASELIT))
ntok = lookup(mdoc, tok, line, ppos, p);
if (ntok == MDOC_MAX) {
Index: TODO
===================================================================
RCS file: /home/cvs/mdocml/mdocml/TODO,v
retrieving revision 1.194
retrieving revision 1.195
diff -LTODO -LTODO -u -p -r1.194 -r1.195
--- TODO
+++ TODO
@@ -299,8 +299,17 @@ are mere guesses, and some may be wrong.
* formatting issues: ugly output
************************************************************************
-- a column list with blank `Ta' cells triggers a spurrious
+- revisit empty in-line macros
+ look at the difference between "Em x Em ." and "Sq x Em ."
+ Carsten Kunze Fri, 12 Dec 2014 00:15:41 +0100
+ loc *** exist *** algo *** size * imp **
+
+- a column list with blank `Ta' cells triggers a spurious
start-with-whitespace printing of a newline
+
+- In .Bl -column, .It a<tab>"b<tab>c"
+ shows the quotes in groff, but not in mandoc
+ loc * exist *** algo ** size * imp **
- In .Bl -column,
.It Em Authentication<tab>Key Length
--
To unsubscribe send an email to source+unsubscribe@mdocml.bsd.lv
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2014-12-13 13:14 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-12-13 13:14 mdocml: Fix a regression found by Carsten dot Kunze at arcor dot de: Do schwarze
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).