It should be easy enough to do. We populate an .xml file and then if we could just invoke Arbortext from the command line, we could set it up to compose and print or whatever else we need. Searched the help without success.
To the web. Arbortext has an active community but they tend to focus on slightly more advanced topics. No real sources of real beginner stuff.
Eventually I found the solution by accident. The biggest problem was the names that I use. Command line arguments? Command line options? Were not right - or ate least not used by the Arbortext community. So Startup Commands and Options is the term. Now that I found it it is very easy to do what I need to.
I guess that this will get easier as I get more involved.
Anyway, this has given me some idea where some good Arbortext web resources are.
- Single Sourcing Solutions wiki (Subscription required)
- The Adapters Information Archive
- The Structured Authoring Blog, and
- PTC Community
Are some of my favorite.
By the way: that command that you can call from the command line to compose in batch mode:
The key tricks are the use of single quotes and double quotes and using the execute call for the function."C:\Program Files (x86)\PTC\Arbortext Editor\bin\editor" -styler -C2 "$myparams['stylesheet']='stylesheetname.style'; $myparams['outputFile']='outfilename.pdf'; execute compose::compose_for_pdf(current_doc(),$myparams); exit" "filename.xml"