- Timestamp:
- Mar 24, 2023 12:27:52 AM (21 months ago)
- Location:
- trunk/doc/manual
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/doc/manual/Makefile.kmk
r99158 r99160 733 733 "/i:$$(VBOX_PATH_MANUAL_OUTBASE)/$(1)/dita/UserManual.ditamap" \ 734 734 "/transtype:pdf" \ 735 "/filter:$$(VBOX_PATH_MANUAL_SRC)/$(1)/dita/ htmlhelp.ditaval" \735 "/filter:$$(VBOX_PATH_MANUAL_SRC)/$(1)/dita/ohc.ditaval" \ 736 736 "/outdir:$$(VBOX_PATH_MANUAL_OUTBASE)/$(1)" \ 737 737 "/tempdir:$$(VBOX_PATH_MANUAL_OUTBASE)/$(1)/dita/temp_pdf", \ -
trunk/doc/manual/docbook-refentry-to-manual-dita.xsl
r99159 r99160 250 250 <xsl:apply-templates /> 251 251 </xsl:element> 252 253 <!-- HACK ALERT! Add an empty paragraph to keep syntax diagrams apart in the 254 PDF output, otherwise the commands becomes hard to tell apart. --> 255 <xsl:if test="position() < last()"> 256 <xsl:element name="p"> 257 <xsl:attribute name="platform">ohc</xsl:attribute> <!-- 'och', so it gets filtered out from the html(help) docs. --> 258 <xsl:attribute name="rev">pdf space hack</xsl:attribute> 259 <xsl:text> </xsl:text> 260 </xsl:element> 261 </xsl:if> 252 262 </xsl:template> 253 263 … … 260 270 <xsl:for-each select="sbr"> 261 271 <xsl:variable name="idxSbr" select="position()"/> 262 <xsl:element name="groupcomp"> 263 <xsl:attribute name="rev">sbr/<xsl:value-of select="position()"/></xsl:attribute> 272 <!-- TODO: sbr cannot be translated, it seems. Whether we wrap things in 273 synblk, groupcomp or groupseq elements, the result is always the same: 274 - HTML: ignored. 275 - PDF: condensed arguments w/o spaces between --> 276 <!-- <xsl:element name="synblk"> 277 <xsl:attribute name="rev">sbr/<xsl:value-of select="position()"/></xsl:attribute> --> 264 278 265 279 <xsl:if test="$idxSbr = 1"> … … 270 284 = count(../sbr[$idxSbr - 1]/following-sibling::node())]"/> 271 285 </xsl:if> 286 <!-- </xsl:element> --> 287 <!-- Ensure some space between these.--> 288 <xsl:text> 289 </xsl:text> 272 290 <xsl:if test="$idxSbr = last()"> 273 <xsl:apply-templates select="following-sibling::node()"/> 291 <!-- <xsl:element name="synblk"> 292 <xsl:attribute name="rev">sbr/<xsl:value-of select="position()"/></xsl:attribute> --> 293 <xsl:apply-templates select="following-sibling::node()"/> 294 <!-- </xsl:element> --> 274 295 </xsl:if> 275 </xsl:element>276 296 </xsl:for-each> 277 297 </xsl:element> 298 299 <!-- HACK ALERT! Add an empty paragraph to keep syntax diagrams apart in the 300 PDF output, otherwise the commands becomes hard to tell apart. --> 301 <xsl:if test="position() < last()"> 302 <xsl:element name="p"> 303 <xsl:attribute name="platform">ohc</xsl:attribute> <!-- 'och', so it gets filtered out from the html(help) docs. --> 304 <xsl:attribute name="rev">pdf space hack</xsl:attribute> 305 <xsl:text> </xsl:text> 306 </xsl:element> 307 </xsl:if> 278 308 </xsl:template> 279 309
Note:
See TracChangeset
for help on using the changeset viewer.