source@mandoc.bsd.lv
 help / color / mirror / Atom feed
* pod2mdoc: Tweak for version: time to put this to rest for a bit.
@ 2014-04-03 11:55 kristaps
  0 siblings, 0 replies; only message in thread
From: kristaps @ 2014-04-03 11:55 UTC (permalink / raw)
  To: source

Log Message:
-----------
Tweak for version: time to put this to rest for a bit.

Modified Files:
--------------
    pod2mdoc:
        Makefile
        index.xml
        pod2mdoc.1
        pod2mdoc.c

Revision Data
-------------
Index: pod2mdoc.c
===================================================================
RCS file: /usr/vhosts/mdocml.bsd.lv/cvs/pod2mdoc/pod2mdoc.c,v
retrieving revision 1.20
retrieving revision 1.21
diff -Lpod2mdoc.c -Lpod2mdoc.c -u -p -r1.20 -r1.21
--- pod2mdoc.c
+++ pod2mdoc.c
@@ -179,7 +179,8 @@ formatescape(const char *buf, size_t *st
 static int
 trylink(const char *buf, size_t *start, size_t end, size_t dsz)
 {
-	size_t		 linkstart, realend, linkend, i, j, textsz;
+	size_t		 linkstart, realend, linkend, 
+			 i, j, textsz, stack;
 	const char	*text;
 
 	/* 
@@ -187,6 +188,7 @@ trylink(const char *buf, size_t *start, 
 	 * This function is more or less replicated in the formatcode()
 	 * for null or index formatting codes.
 	 */
+	stack = 0;
 	for (linkstart = realend = *start; realend < end; realend++) {
 		if ('>' != buf[realend])
 			continue;
Index: pod2mdoc.1
===================================================================
RCS file: /usr/vhosts/mdocml.bsd.lv/cvs/pod2mdoc/pod2mdoc.1,v
retrieving revision 1.10
retrieving revision 1.11
diff -Lpod2mdoc.1 -Lpod2mdoc.1 -u -p -r1.10 -r1.11
--- pod2mdoc.1
+++ pod2mdoc.1
@@ -235,7 +235,7 @@ was written by
 By way of being a presentational language, POD is not well-represented
 by
 .Xr mdoc 7 .
-Semantic content will be necessarily lost.
+Semantic content must be inferred and may be wrong.
 .Pp
 .Nm
 only supports the named
@@ -256,3 +256,6 @@ escape is discarded.
 Unless solely a section link, the text and section parts of
 .Li L<text|link/section>
 are discarded.
+Moreover, nested format codes, e.g.
+.Li L<B<foo>|bar> ,
+are not supported.
Index: index.xml
===================================================================
RCS file: /usr/vhosts/mdocml.bsd.lv/cvs/pod2mdoc/index.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -Lindex.xml -Lindex.xml -u -p -r1.2 -r1.3
--- index.xml
+++ index.xml
@@ -49,7 +49,7 @@
 			<blockquote>
 				By way of being a presentational language, POD is not well-represented
 				by mdoc(7).
-				Semantic content will be necessarily lost.
+				Semantic content must be inferred and may be wrong.
 			</blockquote>
 			<p>
 				Contact <a href="http://kristaps.bsd.lv">Kristaps</a> with questions, but please make sure any formatting issue
@@ -59,7 +59,9 @@
 				New in version @VERSION@...
 			</h2>
 			<p>
-				More smarts in converting SYNOPSIS sections into useful mdoc(7).
+				Render the NAME and SYNOPSIS sections intelligently into mdoc(7).
+				Also properly format the <code>L&lt;&gt;</code> escape with the proper macros.
+				All of these are documented in the <a href="pod2mdoc.1.html#x536d61727473">Smarts</a> section of the manual.
 			</p>
 		</article>
 		<footer>
Index: Makefile
===================================================================
RCS file: /usr/vhosts/mdocml.bsd.lv/cvs/pod2mdoc/Makefile,v
retrieving revision 1.7
retrieving revision 1.8
diff -LMakefile -LMakefile -u -p -r1.7 -r1.8
--- Makefile
+++ Makefile
@@ -1,4 +1,4 @@
-VERSION = 0.0.9
+VERSION = 0.0.10
 CFLAGS += -g -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wwrite-strings 
 WWWPREFIX = /usr/vhosts/mdocml.bsd.lv/www/htdocs/pod2mdoc
 
--
 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-04-03 11:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-03 11:55 pod2mdoc: Tweak for version: time to put this to rest for a bit kristaps

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).