OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: dblatex include graphics file not found


Hi,

I have been able to update \cfoot[]{} in
/usr/share/texmf/tex/latex/dblatex/dbk_headfoot.sty on Fedora 12 that
dblatex uses to generate a footer message.

I have a simple foo.xml file for which I run dblatex (0.2.10). I am
trying to include a logo.eps image to rhead[]{} in dbk_headfoot.sty
using:

  \rhead[]{\includegraphics{logo}}

The logo.eps file is in the same location as the foo.xml file. When I
run dblatex foo.xml, I get the following error:

=== OUTPUT ===

$ dblatex foo.xml
/usr/lib/python2.6/site-packages/dbtexmf/dblatex/grubber/util.py:8: Depreca
tionWarning: the md5 module is deprecated; use hashlib instead
  import md5
Build the listings...
XSLT stylesheets DocBook - LaTeX 2e (0.2.10)
===================================================
Stripping NS from DocBook 5/NG document.
Processing stripped document.
epstopdf --outfile=fig0.pdf "/tmp/logo.eps"
Build foo.pdf
This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6)
 %&-line parsing enabled.
entering extended mode
pdflatex failed
foo_tmp.tex:52: File `logo' not found.
foo_tmp.tex:52: leading text: \maketitle
foo_tmp.tex:53: File `logo' not found.
foo_tmp.tex:53: leading text: \tableofcontents
foo_tmp.tex:54: File `logo' not found.
foo_tmp.tex:54: leading text: \mainmatter
foo_tmp.tex:63: File `logo' not found.
foo_tmp.tex:63: leading text: \end{document}
Error: pdflatex compilation failed

=== END ===

I also tried dblatex -I. foo.xml, but, got the same error. Some PATH
is not set? I found this discussion, but, not sure if it is related:
http://www.mail-archive.com/docbook@lists.oasis-open.org/msg05307.html

I tried -p relativeuri.xsi as mentioned, but, I still got the file not
found error. If I use inlinemediaobject within the foo.xml, the image
does load in the .pdf.

What could be missing? I want to add a logo to the header on each
page. Appreciate any help in this regard,

Thanks!

SK

-- 
Shakthi Kannan
http://www.shakthimaan.com


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]