DITA and XMetaL Discussion
XMetaL Community Forum › DITA and XMetaL Discussion › SVG images don’t print from XMetaL
-
montclair238 February 8, 2011 at 1:10 pm
SVG images don’t print from XMetaL
February 8, 2011 at 1:10 pmParticipants 0Replies 1Last Activity 11 years, 12 months agoI am using XMetaL 5.5 through a SaaS CMS. When I try to print (to a local printer) a topic with a referenced SVG graphic, I get a blank space the size of the image. There are no problems with the PDF output.
Derek Read February 9, 2011 at 2:05 am
Reply to: SVG images don’t print from XMetaL
February 9, 2011 at 2:05 am[So others are clear what is being discussed here: we're talking about printing the XML source document as seen during editing from either Tags On view or Normal view using the File > Print option, vs generating output through the DITA Open Toolkit]
The DITA customization files are not set up to support this but can be modified to do so.
A file needs to be modified for each DTD (as these settings are tied to specific DTDs) and so in the case of DITA that might be possibly 5 different files (more if you are using specialized DITA DTDs as well).
For a standard installation that does not use a CMS system, or that uses the CMS system that does not manage the XMetaL customizations files, the file(s) that need modification have the file extension *.ctm and live in these folders (one for each DITA document type):
C:Program FilesXMetaL 5.5AuthorDITAXACsconcept
C:Program FilesXMetaL 5.5AuthorDITAXACsditabase
C:Program FilesXMetaL 5.5AuthorDITAXACsreference
C:Program FilesXMetaL 5.5AuthorDITAXACstask
C:Program FilesXMetaL 5.5AuthorDITAXACstopicThe section that needs to be extended to include an additional setting is this one:
image
ImageAsSVG
{EAB22AC3-30C1-11CF-A7EB-0000C05BAE0B} Shell.Explorer.1 The setting that needs to be added is the one below in blue:
image
ImageAsSVG
{EAB22AC3-30C1-11CF-A7EB-0000C05BAE0B} Shell.Explorer.1
If the CMS you are using pushes the XMetaL Author Enterprise customization files down to your machine (as is the case with Documentum for example) then you will need to make the changes to the copy of the CTM file that is stored in the CMS system (and then trigger the mechanism in the CMS that gets it to push the customization files down which would usually be the act of checking out a file).
-
AuthorPosts
- You must be logged in to reply to this topic.