Home Forums DITA and XMetaL Discussion bat_lines on a per-deliverable basis? Reply To: bat_lines on a per-deliverable basis?

Derek Read

Reply to: bat_lines on a per-deliverable basis?

Yes, the section only applies to output formats in general (ie: sort of a “master deliverable”). When you “duplicate” a “Deliverable” using our UI that adds a new entry to the following file and adds settings to it that reference the file that contains the actual batch commands:

We didn't anticipate this need so there is no means to do this using the UI in the Configure Output dialog. You can modify this file directly though, and add new entries:

C:Program FilesXMetaL 6.0AuthorDITAXACssharedrenditionsprint_dita142.xml

That might be good enough.

But if you need to be able to call different “deliverables” (the items in the list in our Generate Output dialog) with different batch commands for each then you need to go into the print_dita142.xml file and manually duplicate an entire section, give the new one a new name (for your own sake) and fix up the @id value, then you need to sync that with your copy of the “print_local.xml” file in your %appdata% folder.

Let me know if you need this as the @id values are probably tricky. One of them matters and the others are probably red-herrings left over from an original design that changed (I think — ie: most of them do nothing but others are significant).

One of the @id values in that file need to sync with a value in this file (essentially this lets our “Duplicate” button in the UI work via some redirection): %appdata%SoftQuadXMetaL6.0print_local.xml

However, in the latter file it may not be obvious how to code the location that points to the @id. Probably fastest if I check with dev to figure this out.