File path issue
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
File path issue
My PTC Arbortext Editor (ver: 8.2.2.0) uses the direct path to entities and stylesheets, see below:
<?xml-stylesheet href="file:///C:/Users/joseph/Desktop/project/XML/DTD/40051C_7_0.fos"?>
<!ENTITY IMG-1 SYSTEM "C:\Users\joseph\Desktop\project\XML\GRAPHICS\IMG-1.svg" NDATA SVG>
I want it to use relative paths (I thinkI worded that correctly) like below:
<!ENTITY IMG-1 SYSTEM ".\GRAPHICS\IMG-1.svg" NDATA SVG>
How do I change that to the default in Arbortext?
- Labels:
-
Arbortext Content Delivery
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
I looked through those topics and here is what I did:
I went into Tools > Preferences > File Locations > and changed "DITA References:" to "%H\XML". That didn't work, so I tried "%D\XML". That didn't work, either. But DITA References: changed back to "C:\Apps\PTC\Arbortext Editor 8.2\ditarefs\XML" each time, I reopened Arbortext. What am I doing wrong?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
I am not sure,. you should ask PTC support for some assistance.
Bryon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
You need to include a semicolon in between separate paths in these preferences. For example, if you want it to check for graphics in a "graphics" subfolder under the folder containing the document, you should set your graphics path under File Locations to include ";.\graphics" at the end. Notice the semicolon there--this tells Arbortext you mean an additional location to check. Once you have that set up, any time you insert a reference to a graphic in the "graphics" subfolder relative to your document, it will use a relative path for it.
For the DITA location preference, you should get better results if you use %D;.\XML.
