RE: dblatex Randomly Produces Bold Pages

From
Tim Arnold <>
Date
2010-06-11T15:35:45+00:00
ID
Thread
RE: dblatex Randomly Produces Bold Pages
Hi Russell,

If you're including PNG
images in the doc and they have an alpha or transparency channel, you get a bolded
look on the page where the image appears.

This thread has a lot of
details on the problem, but the fix is to remove the alpha channel from the
graphic.

http://newsgroups.derkeiler.com/Archive/Comp/comp.text.tex/2009-05/msg01345.html

 

--Tim

 

From: Russell Harvey
[mailto:] 

Sent: Friday, June 11, 2010 11:23 AM

To: 

Subject: [docbook-apps] dblatex Randomly Produces Bold Pages

 

I'm using dblatex via Python to produce a PDF file on a
Windows machine.  Here is my command line.

 

C:\xml> python C:\Python26\scripts\dblatex -P
latex.hyperparam=colorlinks,linkcolor=blue my_file.xml

 

For some reason, on two of the pages, all text is bold,
including the header and footer.

 

The XML has been validated using Jing against the RelaxNG
schema.

 

Here are samples of the XML used to produce each of the
pages.  Each is in an appropriate context.  Ellipses represent plain
text.

 

Sample 1:

 

                                               
<procedure>

                                                               
<step performance="required">

                                                                               
<para>

                                                                                               
...

                                                                               
</para>

                                                               
</step>

                                                               
<step performance="required">

                                                                               
<para>

                                                                                               
...

                                                                               
</para>

                                                                               
<variablelist>

                                                                                               
<varlistentry>

                                                                                                               
<term>

                                                                                                                               
...

                                                                                                               
</term>

                                                                                                               
<listitem>

                                                                                                                               
<para>...</para>

                                                                                                               
</listitem>

                                                                                               
</varlistentry>

                                                                                               
<varlistentry>

                                                                                                               
<term>

                                                                                                                               
...

                                                                                                               
</term>

                                                                                                               
<listitem>

                                                                                                                               
<para>...</para>

                                                                                                               
</listitem>

                                                                                               
</varlistentry>

                                                                                               
<varlistentry>

                                                                                                               
<term>

                                                                                                                               
...

                                                                                                               
</term>

                                                                                                               
<listitem>

                                                                                                                               
<itemizedlist>

                                                                                                                                               
<listitem>

                                                                                                                                                               
<para>...</para>

                                                                                                                                               
</listitem>

                                                                                                                                               
<listitem>

                                                                                                                                                               
<para>...</para>

                                                                                                                                               
</listitem>

                                                                                                                                               
<listitem>

                                                                                                                                                               
<para>...</para>

                                                                                                                                               
</listitem>

                                                                                                                                               
<listitem>

                                                                                                                                                               
<para>...</para>

                                                                                                                                               
</listitem>

                                                                                                                               
</itemizedlist>

                                                                                                               
</listitem>

                                                                                               
</varlistentry>

                                                                                               
<varlistentry>

                                                                                                               
<term>

                                                                                                                               
...

                                                                                                               
</term>

                                                                                                               
<listitem>

                                                                                                                               
<para>...</para>

                                                                                                               
</listitem>

                                                                                               
</varlistentry>

                                                                                               
<varlistentry>

                                                                                                               
<term>

                                                                                                                               
...

                                                                                                               
</term>

                                                                                                               
<listitem>

                                                                                                                               
<para>...</para>

                                                                                                               
</listitem>

                                                                                               
</varlistentry>

                                                                               
</variablelist>

                                                                               
<screenshot>

                                                                                               
<mediaobject>

                                                                                                               
<imageobject>

                                                                                                                               
<imagedata fileref="images/screen_2.png" align="center"
format="PNG" />

                                                                                                               
</imageobject>

                                                                                                               
<caption>

                                                                                                                               
<para>

                                                                                                                                               
...

                                                                                                                               
</para>

                                                                                                               
</caption>

                                                                                               
</mediaobject>

                                                                               
</screenshot>

                                                               
</step>

                                                               
<step performance="required">

                                                                               
<para>...</para>

                                                               
</step>

                                               
</procedure>

 

Sample 2:

 

                                                                               
<step performance="optional">

                                                                                               
<para>...</para>

                                                                                               
<screenshot>

                                                                                                               
<mediaobject>

                                                                                                                               
<imageobject>

                                                                                                                                               
<imagedata fileref="images/screen_2.png" align="center"
format="PNG" />

                                                                                                                               
</imageobject>

                                                                                                                               
<caption>

                                                                                                                                               
<para>...</para>

                                                                                                                               
</caption>

                                                                                                               
</mediaobject>

                                                                                               
</screenshot>

                                                                                               
<para>...</para>

                                                                                               
<substeps>

                                                                                                               
<step performance="required">

                                                                                                                               
<para>...</para>

                                                                                                                               
<screenshot>

                                                                                                                                               
<mediaobject>

                                                                                                                                                               
<imageobject>

                                                                                                                                                                               
<imagedata fileref="images/screen_search_field.png"
align="center" format="PNG" />

                                                                                                                                                               
</imageobject>

                                                                                                                                               
</mediaobject>

                                                                                                                               
</screenshot>

                                                                                                               
</step>

                                                                                                               
<step performance="required">

                                                                                                                               
<para>...</para>

                                                                                                               
</step>

                                                                                                               
<step performance="required">

                                                                                                                               
<para>...</para>

                                                                                                                               
<screenshot>

                                                                                                                                               
<mediaobject>

                                                                                                                                                               
<imageobject>

                                                                                                                                                                               
<imagedata fileref="images/screen_results.png"
align="center" format="PNG" />

                                                                                                                                                               
</imageobject>

                                                                                                                                                               
<caption>

                                                                                                                                                                               
<para>...</para>

                                                                                                                                                               
</caption>

                                                                                                                                               
</mediaobject>

                                                                                                                               
</screenshot>

                                                                                                               
</step>

                                                                                                               
<step performance="required">

                                                                                                                               
<para>...</para>

                                                                                                                               
<screenshot>

                                                                                                                                               
<mediaobject>

                                                                                                                                                               
<imageobject>

                                                                                                                                                                               
<imagedata fileref="images/screen_3.png" align="center"
format="PNG" />

                                                                                                                                                               
</imageobject>

                                                                                                                                               
</mediaobject>

                                                                                                                               
</screenshot>

                                                                                                               
</step>

                                                                                               
</substeps>

                                                                               
</step>

 

Thank you in advance.