Closed IanMayo closed 1 year ago
dita -i FieldMan.ditamap -f html5 -o output_dir -v -Dargs.copycss=yes -Dargs.css=oxygen.css -Dargs.cssroot=/Fi3ldMan/dita/resource/ -Dargs.csspath=css/
Ok, this is the command that worked for me:
dita -i target/dita/index.ditamap -f html5 -o target/html -Dargs.copycss=yes -Dargs.css=oxygen.css -Dargs.cssroot=/Users/me/git/LegacyMan/template/F13ldMan
Note that the cssroot
expects an absolute path. So, I think we have to modify that path in python - so we can't put it into a properties file (which we're trying in #98).
Aah, here is is with a command to include the PWD:
dita -i target/dita/index.ditamap -f html5 -o target/html -Dargs.copycss=yes -Dargs.css=oxygen.css -Dargs.cssroot=$(pwd)/template/F13ldMan
Fixed in #98
We have CSS styling in our Oxygen export template.
But, it would also be useful to see this styling in our
html5
publishing step.This appears to be the procedure: https://www.dita-ot.org/dev/topics/html-customization-css
The output from this task will be the command-line instruction necessary to:
template/f13ldman/oxygen.css
to the html5 export in theLegacyMan
reporttarget/html
outputNote: this is our current DITA publish command:
dita -i target/dita/index.ditamap -f html5 -o target/html