Page 1 of 1

Ignoring a copy-to file Error

Posted: Fri Jul 21, 2017 7:17 pm
by rdelong
I'm trying to get @copy-to to work. I've read the spec and the Oxygen Help topics, so I think I'm setting up the files correctly, but I still can't get this work (OT 1.8.5).

Code: Select all

 <map> ...
<topicgroup>
<topicmeta>
<navtitle>Setup</navtitle>
</topicmeta>
<topicref href="conTypesOfSoftwareUpdates.dita"
copy-to="conTypesOfSoftwareUpdates-2.dita">
<topicmeta>
<linktext>Unique Software Title</linktext>
</topicmeta>
</topicref>
<topicref href="taskUploadSoftwareFirmwarePackage.dita"/>
<topicref href="refSoftwareAndFirmwareOverviewPage.dita"/>
</topicgroup>
... </map>
I'm trying to set it up so an xref from taskUploadSoftwareFirmwarePackage.dita points to conTypesOfSoftwareUpdates-2.dita.

With this setup, I get the following message in the output log:

Code: Select all

...
[filter] Processing C:\_working\input\projects\fscli_reference\conTypesOfSoftwareUpdates-2.dita
[filter] Ignoring a copy-to file fscli_reference/conTypesOfSoftwareUpdates-2.dita

Re: Ignoring a copy-to file Error

Posted: Mon Jul 24, 2017 10:08 am
by Radu
Hi,

And does the output work? Is a new HTML file created for the copy-to location?
If you can come up with a sample DITA project, please zip it and send it to "support@oxygenxml.com" along with more details.

Regards,
Radu

Re: Ignoring a copy-to file Error

Posted: Thu Jul 27, 2017 6:00 pm
by rdelong
As I was putting the sample files together and testing them, I got this feature to work! Go figure!

What I was doing wrong was xref'ing to the results file (conTypesOfSoftwareUpdates-2.html) instead of the new (copy-to) file (conTypesOfSoftwareUpdates-2.dita).

Thanks