]> granicus.if.org Git - docbook-dsssl/commitdiff
Put the following at the top of generated roff for each page:
authorMichael Smith <xmldoc@users.sourceforge.net>
Mon, 9 Feb 2009 19:56:29 +0000 (19:56 +0000)
committerMichael Smith <xmldoc@users.sourceforge.net>
Mon, 9 Feb 2009 19:56:29 +0000 (19:56 +0000)
  \" t
purpose is to explicitly tell AT&T troff that the page needs to be
pre-processed through tbl(1); groff can figure it out
automatically, but apparently AT&T troff needs to be explicitly told

xsl/manpages/docbook.xsl

index 2fab8a7759f928dc27ea4ab4d76ffe293705b486..802c2ea6d66e930c4c599f06520c911175446101 100644 (file)
     <!-- * Assemble the various parts into a complete page, then store into -->
     <!-- * $manpage.contents so that we can manipluate them further. -->
     <xsl:variable name="manpage.contents">
+      <!-- * preprocessor invocation (need for legacy AT&T troff use) -->
+      <!-- * this tells troff to pre-process the page through tbl(1) -->
+      <!-- * (groff can figure it out automatically, but AT&T troff can't) -->
+      <xsl:text>'\" t&#10;</xsl:text>
       <!-- * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
       <!-- * top.comment = commented-out section at top of roff source -->
       <!-- * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->