filenames for epub images in images folder
Posted: Wed Jan 04, 2012 1:30 am
Hi,
While I am pretty happy with the output of the epub ant transform, I'm having trouble with the way the transform changes the names of my image files when it copies them into the epub images folder. Some element of the transform is changing my image filenames and I can't figure out where it occurs (I'm new to XSLT & ANT). Right now, I'm only using covers as images, but this may be a problem with other images as well.
This seems to be the part of the output where the trouble occurs:
In particular, it's the
that bothers me, as I don't want to change the filename or I'd like to give it a simpler filename.
I thought I would need to customized the images.xsl file, but that doesn't seem to do it. Not sure if the problem is in the docbook stylesheets or in your particular epub transform. Can you help me with this?
Thank you.
While I am pretty happy with the output of the epub ant transform, I'm having trouble with the way the transform changes the names of my image files when it copies them into the epub images folder. Some element of the transform is changing my image filenames and I can't figure out where it occurs (I'm new to XSLT & ANT). Right now, I'm only using covers as images, but this may be a problem with other images as well.
This seems to be the part of the output where the trouble occurs:
Code: Select all
images:
[xslt] Processing \\lpvault\home\name\docs\book\e_book\transformOutput\cover.html to \\lpvault\home\name\docs\book\e_book\temp\cover.html
[xslt] Loading stylesheet C:\Program Files\Oxygen XML Editor 13\frameworks\docbook\xsl\epub\images.xsl
[xslt] File \\lpvault\home\name\docs\book\e_book\ancillaryFiles\images\epub_cover.jpg was copied to \\lpvault\home\name\docs\book\e_book\transformOutput\images\__lpvault_home_name_docs_book_e_book_ancillaryFiles_images_epub_cover_.jpg
[xslt] Processing \\lpvault\home\name\docs\book\e_book\transformOutput\content.opf to \\lpvault\home\name\docs\book\e_book\temp\content.opf
[xslt] Loading stylesheet C:\Program Files\Oxygen XML Editor 13\frameworks\docbook\xsl\epub\addImagesContentOpf.xsl
[copy] Copying 1 file to \\lpvault\home\name\docs\book\e_book\transformOutput
Code: Select all
[xslt] File \\lpvault\home\name\docs\book\e_book\ancillaryFiles\images\epub_cover.jpg was copied to \\lpvault\home\name\docs\book\e_book\transformOutput\images\__lpvault_home_name_docs_book_e_book_ancillaryFiles_images_epub_cover_.jpg
I thought I would need to customized the images.xsl file, but that doesn't seem to do it. Not sure if the problem is in the docbook stylesheets or in your particular epub transform. Can you help me with this?
Thank you.