[BACK]Return to README CVS log [TXT][DIR] Up to [cvsweb.bsd.lv] / docbook2mdoc

Diff for /docbook2mdoc/README between version 1.2 and 1.3

version 1.2, 2019/03/08 10:13:12 version 1.3, 2019/03/22 15:38:09
Line 14  For these, you will have to look at 4.5 documentation 
Line 14  For these, you will have to look at 4.5 documentation 
   
 Add the alpha-ordered node (NODE_FOO) to extern.h.  Add the alpha-ordered node (NODE_FOO) to extern.h.
   
 Next, add rules.c isparent() rule.  This is the hard part.  First,  
 create a top-level switch statement for NODE_FOO.  Create a white-list  
 of switch cases beneath that corresponding to each "These elements  
 contain foo":  
   
  switch (parent) {  
  case (NODE_BAR):  
  case (NODE_BAZ):  
   return(1);  
  default:  
   break;  
  }  
  return(0);  
   
 Next, go through the "The following elements occur in foo" and add a  
 "case (NODE_FOO)" to each of those elements' switches.  
   
 Now the hard work is finished!  
   
 Next, add the name and whether it admits text to docbook2mdoc.c's  Next, add the name and whether it admits text to docbook2mdoc.c's
 "nodes" structure array.  "nodes" structure array.
   

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

CVSweb