Community Tip - You can Bookmark boards, posts or articles that you'd like to access again easily! X
I am preparing a technical procedure document using PTC Arbortext and need to insert three SVG images on single page. However, I don’t see any option to adjust the height and width of the images within the stylesheet.
I have tried using the <graphic> element but couldn't find a way to explicitly set the dimensions. Is there a way to resize SVG images in Arbortext using FOSI or XSL-FO? Any guidance or examples would be appreciated!
Solved! Go to Solution.
If you are using DITA documents, the <image> element has width and height attributes for scaling the image to a given size.
They must be used in conjunction with the scalefit attribute being set to "yes".
The width and height values require dimensions, like pt, in, mm, pi (pixel), etc.
Arbortext will not skew images. They are scaled evenly horizontally and vertically until one of the dimension values have been met.
Note <graphic> elements in other document types will also have scaling attributes available if defined in the dtd or schema, and specified in the Specials section of the document types .dcf file. See Arbortext Help Center for details.
We resize our images before inserting them into Editor. In editor you can scale the images but you cannot specify a size.
Bryon
thank you
If you are using DITA documents, the <image> element has width and height attributes for scaling the image to a given size.
They must be used in conjunction with the scalefit attribute being set to "yes".
The width and height values require dimensions, like pt, in, mm, pi (pixel), etc.
Arbortext will not skew images. They are scaled evenly horizontally and vertically until one of the dimension values have been met.
Note <graphic> elements in other document types will also have scaling attributes available if defined in the dtd or schema, and specified in the Specials section of the document types .dcf file. See Arbortext Help Center for details.
Thank you!