Ignoring a copy-to file Error

rdelong
Posts: 63

Ignoring a copy-to file Error

Fri Jul 21, 2017 7:17 pm

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
Radu
Posts: 5689

Re: Ignoring a copy-to file Error

Mon Jul 24, 2017 10:08 am

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
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
rdelong
Posts: 63

Re: Ignoring a copy-to file Error

Thu Jul 27, 2017 6:00 pm

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

Return to “DITA (Editing and Publishing DITA Content)”

Who is online

Users browsing this forum: No registered users and 1 guest