removed suffix in MANREFPRINTF (XML is only IDs based). this could break on non-XML outputs (we don't care).
added a para close tag when using refsect2 git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13011 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -19,7 +19,7 @@ static char cvsid[] = "$Header: /Users/phelps/cvs/prj/RosettaMan/rman.c,v 1.154
|
|||||||
|
|
||||||
#define VOLLIST "1:2:3:4:5:6:7:8:9:o:l:n:p"
|
#define VOLLIST "1:2:3:4:5:6:7:8:9:o:l:n:p"
|
||||||
#define MANTITLEPRINTF "%s(%s) manual page"
|
#define MANTITLEPRINTF "%s(%s) manual page"
|
||||||
#define MANREFPRINTF "%s.%s.html"
|
#define MANREFPRINTF "%s.%s"
|
||||||
#define POLYGLOTMANVERSION "3.2"
|
#define POLYGLOTMANVERSION "3.2"
|
||||||
|
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
@@ -1680,7 +1680,8 @@ XML(enum command cmd) {
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case BEGINSUBSECTION: printf("\n<refsect2>"); break;
|
case BEGINSUBSECTION: printf("\n<refsect2>"); break;
|
||||||
case ENDSUBSECTION: printf("\n</refsect2>"); break;
|
case ENDSUBSECTION: if (fPara) { printf("\n</para>"); fPara=0; }
|
||||||
|
printf("\n</refsect2>"); break;
|
||||||
|
|
||||||
/* need to update this for enumerated and plain lists */
|
/* need to update this for enumerated and plain lists */
|
||||||
case BEGINBULPAIR: printf("<variablelist>\n"); break;
|
case BEGINBULPAIR: printf("<variablelist>\n"); break;
|
||||||
|
|||||||
Reference in New Issue
Block a user