xml editor

Products

Features

  EPUB
Supported platforms

Supports Windows 7 & Mac OS X Lion

Ready for XML Editor data server software
W3C Member

Insert logo in my first page

Questions about XML that are not covered by the other forums should go here.

Insert logo in my first page

Postby arnaudmrs13 » Fri Nov 09, 2007 4:59 pm

Hello

i would like to insert a logo (.png) under my project's name on the first page for pdf and html
is it possible ?
thx
arnaudmrs13
 
Posts: 19
Joined: Tue Sep 18, 2007 1:45 pm

Postby sorin » Wed Nov 14, 2007 4:37 pm

Hello,

You did not specify the type of your document. Do you want to insert the logo in a Docbook document? In that case you have to customize the Docbook schema and the Docbook stylesheets because they do not allow inserting a logo image on the title page of the transformation result (PDF or HTML).


Regards,
Sorin
sorin
 
Posts: 3228
Joined: Fri Mar 28, 2003 2:12 pm

Postby rashwell » Sat Jan 05, 2008 8:10 am

Sorin is genneraly correct, specifically if you want to get the logo in the header. But in a pinch in Docbook if you just want to see a logo of some sort on the first page of the article or book, you can inline the graphic in for example an author tag. Below is an example where I drop in a logo on the first page that during transforms to PDF uses the SVG version of the logo, and during transforms to HTML uses a PNG version.


Code: Select all
            <author>
                <personname>
                    <inlinemediaobject>
                        <imageobject role="fo">
                            <imagedata width="48px" valign="bottom" align="left" format="svg" fileref="svg/DP_Tree.svg" />
                        </imageobject>
                        <imageobject  role="html">
                            <imagedata width="48px" align="left" format="PNG"  fileref="images/DP_Tree.png"/>
                        </imageobject>
                    </inlinemediaobject>
                </personname>               
            </author>
rashwell
 
Posts: 2
Joined: Sat Jan 05, 2008 8:05 am
Location: Chicago


Return to General XML Questions

Who is online

Users browsing this forum: No registered users and 0 guests

XML Editor | XML Author | WYSIWYG Editors | Schema Editor | XSD Documentation | XSL/XSLT Editor | XQuery | XML Databases | SVN Client
© 2002-2011 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy | This website was created & generated with <oXygen/>® XML Editor