Skip to main content
10-Marble
March 19, 2025
Solved

Error in adjusting SVG Image Size in Arbortext Stylesheet

  • March 19, 2025
  • 2 replies
  • 1177 views

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!

Best answer by TimPhelps

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.

2 replies

18-Opal
March 19, 2025

We resize our images before inserting them into Editor. In editor you can scale the images but you cannot specify a size.

 

Bryon

10-Marble
March 21, 2025

thank you

TimPhelps12-AmethystAnswer
12-Amethyst
March 20, 2025

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.

10-Marble
March 21, 2025

Thank you!