I guess this quesiton is pretty basic but it is keeping me busy. I want to compose a pdf from the system command line in batch mode.
I can call Arbortex Editor from a batch file, loading the correct document and stylesheet. Then all I want is to compose to pdf (with document's name, using stylesheet I have loaded).
In the manual they talk of using -c "print" startup command option. I could do this and direct it to a pdf printer but that seems to be a bit of a workaround.
I have also seen compose::compose_pdf_macro(), this is not really ideal as there are a lot of files that we need to update, I would rather that it happen wihtout user input. Also, where do I find documentaition on these commands?
A while ago, on the Adepters mailing list (where lots of savvy Arbortext XML users, adminstrators, and developers hang out and help each other with problems like this), someone asked:
Is there a way to "Compose to Web" an XML file, stylesheet (.style), output directory, ect with E3 using a batch. Is there a place where I can find all the commands when running a batch script to "Compose to Web"? Thanks.
I'd look at Editor help on startup command syntax and the PE programming guide, pe_prog_guide.pdf (from a 5.3 installation, name may vary with other versions). You may need to figure out all the environment things you'd need to set, put them into an ACL, and call that ACL via the startup command syntax.
More info on Arbortext resources, including details on how to find / subscribe to Adepters here: