Made this change in forthcoming W2X v1.2.3:
---
Added parameter convert.resource-prefix which is useful when used in
conjunction with convert.resource-directory and when several files
generated by w2x share the same resource directory.
---
in addition to this related bug fix:
---
Specifying parameter convert.resource-directory as "." in order to
create all image files in the same directory as the other automatically
generated files did not work.
---
(of course, among other useful enhancements and bug fixes.)
On 06/09/2017 04:46 PM, Fabián M. wrote:
We cannot use the bla_files/ folder, on our system all files are stored
"at the same place" (for example: content/, content/en, content/fr,
content/es, and so on).
Would it be too hard to add an image.name.prefix parameter to the
conversion process? That parameter would works as follows:
specifying:
-p image.name.prefix toto
would output:
<output_file_basename>_files/toto-image1.png,
<output_file_basename>_files/toto-image2.png, ...,
<output_file_basename>_files/toto-imageN.png
That would solve our issue without major changes or processing.
Of course I can also process the image files and their references on our
servlet customization, but having the parameter above would save us
potentially lots of processing "just to change the filename" of the
output images.
--
XMLmind Word To XML Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/w2x-support