Re: [docbook] docbook + prettyprint = bug?

From
Dominic Marcotte <>
Date
2009-05-25T12:59:15+00:00
ID
Thread
Re: [docbook] docbook + prettyprint = bug?
Hi Giuseppe,

> I understood well? All these are important in your "rendering
error"?

No, it's my error. Sorry.

---

This docbook fragment...

<para>

      <emphasis>A</emphasis><emphasis
role="strong">B</emphasis><superscript>C</superscript><phrase
role="red">E</phrase>    

</para>

...gives that : ABCE

If we do a prettyprint...

<para>

      <emphasis>A</emphasis>

      <emphasis
role="strong">B</emphasis>

      <superscript>C</superscript>

      <phrase role="red">E</phrase>    

</para>

...the output is now : A B C E

This is a stupid example, but I have real big docbook
with this problem
and it's unreadable to don't use prettyprint.

Have an idea?

Giuseppe Briotti wrote:
 
  

  
Hi Dominic... just a simple question: in your first example you
have 

  
 

  
<emphasis role="strong">B</emphasis>

  
 

  
and all the tag are on the same line, in the second one you have

  

  
  
<phrase role="italic">B</phrase>

  

  
and there is a carriage return or line feed after each tag... 

  
 

  
I understood well? All these are important in your "rendering
error"?

  
 

  
G.

-- 

  

Giuseppe Briotti

  

  

"Alme Sol, curru nitido diem qui

promis et celas aliusque et idem

nasceris, possis nihil urbe Roma

visere maius."

(Orazio)