cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X

Can Arbortext insert relative paths in hrefs?

ptc-4781983
1-Newbie

Can Arbortext insert relative paths in hrefs?

Is there a way to configure Arbortext 6.0 M070 to insert relative paths in hrefs? Currently, it inserts full absolute paths with drive letters. This is killing our publications pipeline.

We have a large team of globally dispersed authors using SVN to share and maintain content. Their file structure is consistent within maintained content, but it's impossible for us to know what drive/folder they check out content into.

1 ACCEPTED SOLUTION

Accepted Solutions

Hi Richard--

You may need to configure your ditapath ("DITA reference locations" in the Preferences dialog) to include the locations of your DITA files. From the Arbortext documentation:

"Paths are only converted for file paths if a relative path can be determined from the current base URI, the DITA document directory, and any folders included in the DITA references path and graphics path. Paths are never converted for content management system (CMS) Logical IDs. Paths are also never converted for DITA references where the scope attribute is set to external or peer."

Also, make sure your set preservereferencepaths option is set to "off".

--Clay

View solution in original post

2 REPLIES 2

Hi Richard--

You may need to configure your ditapath ("DITA reference locations" in the Preferences dialog) to include the locations of your DITA files. From the Arbortext documentation:

"Paths are only converted for file paths if a relative path can be determined from the current base URI, the DITA document directory, and any folders included in the DITA references path and graphics path. Paths are never converted for content management system (CMS) Logical IDs. Paths are also never converted for DITA references where the scope attribute is set to external or peer."

Also, make sure your set preservereferencepaths option is set to "off".

--Clay

lfraley
6-Contributor
(To:ptc-4781983)

Hi Richard,

It also helps if you save the file you're inserting paths into first before inserting graphics or other file references. It gives Arbortext Editor a context from which to locate itself (and the files that are relative...)

Cheers,

Liz

Top Tags