Hi:
For some reason, PTC Arbortext 6.1 M060 does not construct relative paths properly in DITA. We've set the file locations in Arbortext for the root of the DITA project. If we do not set the root, we get absolute file references. Setting the root gives us links of the form:
<xref format="dita" href="SubDirectoryUnderRoot/someFile.dita" scope="local" type="concept"></xref> This will not resolve in the build given a source file in an adjacent subdirectory.
The links, in this particular case, should be:
<xref format="dita" href="../../SubDirectoryUnderRoot/someFile.dita" scope="local" type="concept"></xref> This will resolve properly in the build for a given file in an adjacent subdirectory.
If we set the file locations for each and every subdirectory, we still get incomplete URLs without relative paths.
Information Developers are adding the relative path ../../ info manually until we figure out a fix, which is tedious and error-prone.
It's as if Arbortext does not know the current context of the open file and thus cannot construct a relative path to that file. From the documentation, I thought Arbortext first looks to the immediate context of the open file for constructing relative paths.
Any tips appreciated.
Troy Klukewich
Oracle