This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Getting images into PDF


Hmmm

Well, I have no problems getting a PDF into my DocBook stuff. Of course, 
I think I had to modify the DTD to allow format="PDF" ...

Dave Brooks, BCS Systems wrote:

> Still trying...
> 
> I've been editing the TEX file produced by OpenJade and trying various 
> combinations of \ScaleType, \DeclareGraphicsRule, \NotationSystemId, 
> etc, etc.
> 
> I can't find where in the style sheets that these are generated by 
> OpenJade.
> 
> The only format that pdfjadetex will recognise is EPS, for which it 
> leaves a blank space where the image should be.
> 
> jadetex works, producing a DVI file which dvips will print, WITH the image.
> 
> 
> Thanks,
> 
> 
> Dave
> 
> At 09:47 26/07/01 +1200, Dave Brooks, BCS Systems wrote:
> 
>> At 17:00 25/07/01 -0400, Kevin Dunn wrote:
>>
>>> ---------- Original Message ----------------------------------
>>> From: "Dave Brooks, BCS Systems" <dave@bcs.co.nz>
>>> Date: Thu, 26 Jul 2001 00:16:03 +1200
>>>
>>> >Hi,
>>> >
>>> >I've been trying to get graphics into PDF from Docbook.
>>> >
>>> Look in the *.log file. TeX will give you an error message when it 
>>> fails to load graphics. Pay particular attention to what directory it 
>>> is looking in to find the files.
>>>
>>> -- 
>>
>>
>> Thanks Kevin.
>>
>> For a JPEG I get the Latex error message "! LaTeX Error: Cannot 
>> determine size of graphic in test.jpg (no BoundingBox)."
>>
>> The EPS shows in the log as <test.eps>
>>
>> For testing, I am using the following XML, which is processed with:
>>         openjade -t tex -d /usr/local/docbook/print/docbook.dsl 
>> /usr/local/docbook/dtds/decls/xml.dcl test.xml
>>         pdfjadetex test.tex
>>
>> The resulting PDF has a blank space where the EPS should go (taken 
>> from it's bounding box); the width/depth of the JPEG is ignored.
>>
>>
>>
>> Dave
>>
>> ========================================
>>
>> <?xml version="1.0"?>
>>   <!DOCTYPE book SYSTEM "../docbook/dtd/dbx412/docbookx.dtd">
>> <book>
>>   <chapter>
>>    <title>INTRODUCTION</title>
>>     <para>
>>       Some text
>>       <screen>
>>         <inlinemediaobject>
>>           <imageobject>
>>             <imagedata fileref="test.eps" format="EPS"/>
>>           </imageobject>
>>         </inlinemediaobject>
>>       </screen>
>>       Above was EPS - next is JPEG
>>       <screen>
>>         <inlinemediaobject>
>>           <imageobject>
>>             <imagedata fileref="test.jpg" format="JPG" width="160mm" 
>> depth="120mm"/>
>>           </imageobject>
>>         </inlinemediaobject>
>>       </screen>
>>       Above was JPEG
>>     </para>
>>     <para>
>>       Another paragraph
>>     </para>
>>   </chapter>
>>
>>
>>
>>
>>
>>
>> ------------------------------------------------------------------
>> To unsubscribe from this elist send a message with the single word
>> "unsubscribe" in the body to: docbook-apps-request@lists.oasis-open.org
> 
> 
> 
> ------------------------------------------------------------------
> To unsubscribe from this elist send a message with the single word
> "unsubscribe" in the body to: docbook-apps-request@lists.oasis-open.org
> 


-- 
Richard Sharpe, rsharpe@ns.aus.com, LPIC1
www.samba.org, www.ethereal.com, SAMS Teach Yourself Samba
in 24 Hours, Special Edition, Using Samba


------------------------------------------------------------------
To unsubscribe from this elist send a message with the single word
"unsubscribe" in the body to: docbook-apps-request@lists.oasis-open.org


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]