Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X

Translate the entire conversation x

File path issue

DS_11008979
2-Explorer

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?

4 REPLIES 4

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?

I am not sure,. you should ask PTC support for some assistance.

 

Bryon

 

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.

Announcements

Top Tags