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

Can Arbortext insert relative paths in hrefs?

SOLVED
Highlighted
Level 1

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

Re: Can Arbortext insert relative paths in hrefs?

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

2 REPLIES 2

Re: Can Arbortext insert relative paths in hrefs?

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

Re: Can Arbortext insert relative paths in hrefs?

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