Adding Logo in Webhelp
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 2
- Joined: Wed Sep 04, 2013 12:26 pm
Adding Logo in Webhelp
Post by amdescombes »
Hello,
I am trying to add a logo to my header frame in webhelp. I modified the createMainFiles.xsl file so it adds an img tag to my header frame. The problem I have is the image is not getting copied to the out directory since it is not referenced in a topic.
I tried using the <copy> ant command but it didn't work.
I even tried forcing absolute paths in the copy command but nothing works
<copy file="/Users/amd/Desktop/logo.png" tofile="/Users/amd/Desktop/films/logo.png" overwrite="true"></copy>
Is there any way of forcing an image in my project folder to be copied to the out/webhelp folder ?
Any ideas anyone ?
Cheers
Andre
I am trying to add a logo to my header frame in webhelp. I modified the createMainFiles.xsl file so it adds an img tag to my header frame. The problem I have is the image is not getting copied to the out directory since it is not referenced in a topic.
I tried using the <copy> ant command but it didn't work.
I even tried forcing absolute paths in the copy command but nothing works
<copy file="/Users/amd/Desktop/logo.png" tofile="/Users/amd/Desktop/films/logo.png" overwrite="true"></copy>
Is there any way of forcing an image in my project folder to be copied to the out/webhelp folder ?
Any ideas anyone ?
Cheers
Andre
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: Adding Logo in Webhelp
Post by sorin_ristache »
Hi,
You can also add the logo with a CSS file as it was discussed in this topic.
Regards,
Sorin
Did you add this <copy> element in the ANT file for the DITA Webhelp transformation? You can add it for example in the task called "copy-webhelp-resources" in the file:amdescombes wrote:I even tried forcing absolute paths in the copy command but nothing works
<copy file="/Users/amd/Desktop/logo.png" tofile="/Users/amd/Desktop/films/logo.png" overwrite="true"></copy>
Is there any way of forcing an image in my project folder to be copied to the out/webhelp folder ?
Code: Select all
[Oxygen-install-dir]\frameworks\dita\DITA-OT\plugins\com.oxygenxml.webhelp\build_common.xml
Regards,
Sorin
-
- Posts: 2
- Joined: Wed Sep 04, 2013 12:26 pm
Re: Adding Logo in Webhelp
Post by amdescombes »
Hello Sorin,
That did it, I added the copy to that task. Thank you very much!
Cheers
André
That did it, I added the copy to that task. Thank you very much!
Cheers
André
Return to “DITA (Editing and Publishing DITA Content)”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service