docbook-apps

  • 1.  Column problems

    Posted 07-05-2007 21:17
    
    
    1st. problem
    ----------------
    I have an a very simple document (a single article) structured as:
    <article>
       <section>
          <para>
             etc
          </para>
          etc - more paras
       </section>
       <section>
          <para>
             etc
          </para>
          etc - more paras
       </section>
       <section>
          <para>
             etc
          </para>
          etc - more paras
       </section>
       <bibliography id="LL_bib" lang="EN" ><title>Bibliography</title>
           <biblioentry id="QWERTY">
              etc
            </biblioentry>
            etc - more biblioentrys
        </bibliography>
    </article>

    In my customization layer I have:
    <xsl:param name="column.count.titlepage" select="1" />
    <xsl:param name="column.count.lot" select="1" />
    <xsl:param name="column.count.body" select="2" />
    <xsl:param name="column.count.back" select="1" />

    I was hoping to have a title page and a bibliography in 1 column and the sections in 2 columns.  FO output:  XEP 4.9, DTD 4.5, XSL 1.71.1 (change log 2005-09-09), Saxon 6.5.5, Oxygen 8.2, MacOSX 10.3.9

    However the page class "body" includes "article" and everything comes out in 2 columns.

    How can I get a 1 column title page (page class "titlepage") and bibliography (page class "back") together with 2 column sections (page class "body") in what I persist in regarding as the body of the article.

    2nd. problem
    -----------------
    In the section I have structures like:
    <section>
       <para>
            <blockquote>
                  <literallayout><emphasis>
    a short line
    a long line a long line a long line a long line a long line a long line
    a short line
                  </emphasis></literallayout>
            </blockquote>
       </para>
    </section>

    Some of the lines in the literallayout are too long and overlap into the second column.  I realize that literallayout is doing exactly what I asked it to do, but is there any way for literallayout to automatically line-wrap at the column width?

    I'd very much appreciate any help.

    Ron




    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