← Prev in month ← Prev in thread

DOCBOOK-APPS: <cmdsynopsis> output problem

From
Tom Olsen <>
Date
2002-09-03T22:35:02+00:00
ID
Thread
DOCBOOK-APPS: <cmdsynopsis> output problem
Using DocBook SGML 4.1, the modular stylesheets, and docbook-to-man, I'm
having a problem producing the correct <cmdsynopsis> output in PDF and HTML.
What I need to produce is this:
 
{file ... | dir ...}

To make it appear OK in HTML and PDF, I have to use the following
"incorrect" markup:

<cmdsynopsis>
  <command>fakecommand</command>
    <arg choice="req" rep="repeat">
      <group choice="plain">
        <arg choice="plain"><replaceable>file</replaceable>
          <arg choice="plain" rep="repeat"></arg>
        </arg>
        <arg choice="plain"><replaceable>dir</replaceable></arg>
      </group>
    </arg>
</cmdsynopsis>

In short, I have to force the signifier for "repeatable" after file by
adding an element and attributes tag that shouldn't be there.

When using more "correct" markup (which happens to produce the desired
output in *roff), such as the following:

<cmdsynopsis>
  <command>fakecommand</command>
    <group choice="req">
      <arg choice="plain" rep="repeat">
        <replaceable>file</replaceable>
      </arg>
      <arg choice="plain" rep="repeat"> 
        <replaceable>dir</replaceable>
      </arg>
    </group>
</cmdsynopsis>

I get the following output in PDF and HTML:

{file | dir}

Does anyone have any idea what could be causing this?

Any help is appreciated. Thank you in advance.

Tom Olsen
LSI Logic Storage Systems, Inc.


begin 666 winmail.dat
M>)\^(@\5`0:0" `$```````!``$``0>0!@`(````Y 0```````#H``$(@ <`
M& ```$E032Y-:6-R;W-O9G0@36%I;"Y.;W1E`#$(`0V ! `"`````@`"``$&
M@ ,`#@```-('"0`#``X`, ````(`)0$!`Y &`)0'```B````"P`"``$````+
M`",```````,`)@``````"P`I```````#`#8``````!X`< `!````'0```#QC
M;61S>6YO<'-I<SX@;W5T<'5T('!R;V)L96T``````@%Q``$````6`````<)3
MDYMT7LP`__RI1]F[F7!VT7WI.0```@$=# $````4````4TU44#I/3%-%3D!,
M4TE,+D-/30`+``$.`````$ `!@X`Z%*2DU/"`0(!"@X!````& `````````L
MOH'727M40+PB`P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/8=\<<&+_/C^?92]F/T#/
M0M]#Z2!G$1#_)RT<GQVC5\L@W"()(QP4H/L'D0!P>0(@%> F<W@Q'/!_`0`9
ML%,`'C$%H$UQ3D)CUF%/]!^R/R,Z07D!%=!^;#(0'X$DH1MA!S 8\&2U'?!4
M$-!N%0!X4'4<\GU*H'8`<!]03MLC\!D@3TYL$0`+D" 33%,>8$S<;V<-X 8`
M&!!R3, 5X-\&L!: &B 7(42 8T[5$<$"`(,0````"P``@ @@!@``````P ``
M`````$8``````X4````````#``* "" &``````# ````````1@`````0A0``
M``````,`!X (( 8``````, ```````!&`````%*%```_<0$`'@`)@ @@!@``
M````P ```````$8`````5(4```$````$````.2XP``L`#8 (( 8``````, `
M``````!&`````(*%```!````"P`1@ @@!@``````P ```````$8`````!H4`
M```````#`!* "" &``````# ````````1@`````!A0````````L`&X (( 8`
M`````, ```````!&``````Z%`````````P`<@ @@!@``````P ```````$8`
M````$84````````#`!Z "" &``````# ````````1@`````8A0````````(!
M^ \!````$ ```"R^@==)>U1 O"(#!(LUGYH"`?H/`0```! ````LOH'727M4
M0+PB`P2+-9^:`@'[#P$```"7`````````#BANQ %Y1 :H;L(`"LJ5L(``%!3
M5%!26"Y$3$P``````````$Y)5$'YO[@!`*H`-]EN````0SI<1&]C=6UE;G1S
M(&%N9"!3971T:6YG<UQO;'-E;EQ,;V-A;"!3971T:6YG<UQ!<'!L:6-A=&EO
M;B!$871A7$UI8W)O<V]F=%Q/=71L;V]K7&UA:6QB;W@N<'-T```#`/X/!0``
M``,`#33]-P```@%_``$````N````/$9%14%,34-#0U!,2T%+3T-.1T]"345.
M1D-!04$N;VQS96Y ;'-I;"YC;VT^`````P`&$+^1_W4#``<0$ 0```,`$! `
M`````P`1$ $````>``@0`0```&4```!54TE.1T1/0T)/3TM31TU,-#$L5$A%
M34]$54Q!4E-464Q%4TA%1513+$%.1$1/0T)/3TLM5$\M34%.+$E-2$%624Y'
G05!23T),14U04D]$54-)3D=42$5#3U)214-4/$--1%-9``````KF
`
end
← Prev in month ← Prev in thread