← Prev in month ← Prev in thread

Re: [docbook] new lines in <pre> blocks in xml/xhtml output

From
Bob Stayton <>
Date
2007-09-10T18:54:04+00:00
ID
0ca901c7f3db$e4630330$6400a8c0@totoro
Thread
Re: [docbook] new lines in <pre> blocks in xml/xhtml output
blocks in xml/xhtml output -->
 -->










Re: [docbook] new lines in <pre> blocks in xml/xhtml output




OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.
  This list only
 All OASIS lists
Help: OASIS Mailing Lists Help | MarkMail Helpdocbook-apps message






[Date Prev]
 | [Thread Prev]
 | [Thread Next]
 | [Date Next]

--

[Date Index]
 | [Thread Index]
 | [List Home]








Subject: Re: [docbook] new lines in <pre> blocks in xml/xhtml output




From: "Bob Stayton" <>
To: "DocBook Apps" <>,       "Marie Sauvage - EBM WebSourcing" <>
Date: Mon, 10 Sep 2007 11:53:35 -0700







[moving this over to the docbook-apps mailing list where such topics are 
usually covered]

I'm not able to duplicate this problem with the stock html and xhtml 
stylesheets.  Can you test with the stock stylesheets to see if your 
customization might be introducing the changes?  That will help us know 
where to look.

Bob Stayton
Sagehill Enterprises
DocBook Consulting



  ----- Original Message ----- 
  From: Marie Sauvage - EBM WebSourcing
  To: 
  Sent: Monday, September 10, 2007 2:47 AM
  Subject: [docbook] new lines in <pre> blocks in xml/xhtml output


  Hi !

  I have a problem with output in xml/xhtml mode : the generated source go 
to new line too often.
  Better than explanation here are the codes :
  My docbook source :
                <screen>
                a simple <emphasis role="bold">test</emphasis> screen
                a simple test screen<co id="simple-test-1" />
                a simple test screen
                </screen>

  The html output in mode="html" :

<pre class="screen">
              a simple <span class="bold"><strong>test</strong></span> 
screen
              a simple test screen<a name="simple-test-1"></a><img 
border="0" alt="1" src="../../resources/images/callouts/1.png">
              a simple test screen
              </pre>
  The html output in mode="xml" (or mode="xhtml") :

              <pre class="screen">
              a simple <span class="bold">
<strong>test</strong>
</span> screen
              a simple test screen<a name="simple-test-1"/>
<img border="0" alt="1" src="../../resources/images/callouts/1.png"/>
              a simple test screen
              </pre>
  Resulting problem is that when viewing the page with browser, there is 
many line breaking and code isn't understandable.
  I'm trying to compare html and xhtml stylesheets from docbook but don't 
find where the problem can come from and how to solve it. Does anyone have 
an idea ?

  Thanks in advance,
  Marie.
  --------------------------------------------------------------------- To 
unsubscribe, e-mail:  For 
additional commands, e-mail: 
← Prev in month ← Prev in thread