docbook-apps

  • 1.  PDF output appearence

    Posted 08-19-2008 17:03
    Hi,

    I was wondering if there is any way to put headings and text on the same
    line. I have sect3 headings followed by text which is on the next line in
    my PDF output. I would like it to be all on the same line. I would also
    like to do this with my variable lists.

    Example:

    *Section 3 Heading
    *Paragraph that follows.

    What I would like:

    *Section 3 Heading.* Paragraph that follows.

    I have been able to do a fair amount of modifications with parameters and my
    customization stylesheet, but I can't seem to figure out this problem. In
    the case of the variable lists, if I set the parameter <xsl:param
    name="variablelist.as.blocks" select="1"></xsl:param> to 0 then I still have
    the same problem because the definition block is separate from the term and
    creates it's own indent.

    Example:

    *Term * The block that contains
    the definition.

    What I would like:

    *Term.* The block that contains
    the definition.

    Two questions in one, but I feel like they have the same answer. Thanks for
    the help!

    Lillian Sullam



  • 2.  Re: [docbook-apps] PDF output appearence

    Posted 08-19-2008 17:18
    Lillian,

    I ran into a similar problem a while back, and with some help from hte
    list, came up with the solution described on this web page:

    http://rlhamilton.net/cookbook/chapter3/inlinetitles.html

    It's probably worth reading the following email message, which describes
    a few caveats with this particular solution:

    http://lists.oasis-open.org/archives/docbook-apps/200512/msg00058.html

    Hope that helps.

    Regards,
    Dick Hamilton

    On Tue, 2008-08-19 at 10:03 -0700, Lillian Sullam wrote:
    > Hi,
    >
    > I was wondering if there is any way to put headings and text on the
    > same line. I have sect3 headings followed by text which is on the
    > next line in my PDF output. I would like it to be all on the same
    > line. I would also like to do this with my variable lists.
    >
    > Example:
    >
    > Section 3 Heading
    > Paragraph that follows.
    >
    > What I would like:
    >
    > Section 3 Heading. Paragraph that follows.
    >
    > I have been able to do a fair amount of modifications with parameters
    > and my customization stylesheet, but I can't seem to figure out this
    > problem. In the case of the variable lists, if I set the parameter
    > <xsl:param name="variablelist.as.blocks" select="1"></xsl:param> to 0
    > then I still have the same problem because the definition block is
    > separate from the term and creates it's own indent.
    >
    > Example:
    >
    > Term The block that contains
    > the definition.
    >
    > What I would like:
    >
    > Term. The block that contains
    > the definition.
    >
    > Two questions in one, but I feel like they have the same answer.
    > Thanks for the help!
    >
    > Lillian Sullam
    >




  • 3.  Re: [docbook-apps] PDF output appearence

    Posted 08-19-2008 19:04
    
    
    If you are down at sect3 level, why not consider using formalpara instead of sect3?  No use of course if you have a sect4 coming up.  formalpara puts the heading on the same line as the text.
    e.g.
    formalpara title /title para /para /formalpara para /para para /para
    formalpara title /title para /para /formalpara para /para para /para
    etc.

    Hi,

    I was wondering if there is any way to put headings and text on the same line.  I have sect3 headings followed by text which is on the next line in my PDF output.  I would like it to be all on the same line.  I would also like to do this with my variable lists.

    Example:

    Section 3 Heading
    Paragraph that follows. 

    What I would like:

    Section 3 Heading.  Paragraph that follows.

    I have been able to do a fair amount of modifications with parameters and my customization stylesheet, but I can't seem to figure out this problem.  In the case of the variable lists, if I set the parameter <xsl:param name="variablelist.as.blocks" select="1"></xsl:param> to 0 then I still have the same problem because the definition block is separate from the term and creates it's own indent.

    Example:

    Term     The block that contains
                 the definition.

    What I would like:

    Term.  The block that contains
    the definition.

    Two questions in one, but I feel like they have the same answer.  Thanks for the help!

    Lillian Sullam


    Ron Catterall, Phd, DSc       email: ron@catterall.net
    Prolongacion de Hidalgo 140http://catterall.net/
    San Felipe del Aguatel: +52 951 520 1821
    Oaxaca      68020Mexicofax: +1 530 348 8309