[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: Tools to make DocBook easier
Warren Block <wblock@wonkity.com> writes: > What tools are there to make working with DocBook easier? I'm just in the process of finishing up a first release of a tool to make DocBook publishing easier with gradle. Given doc.xml, written in DocBook, this build.gradle file will download all of the necessary dependencies and run the transformations. buildscript { repositories { mavenCentral() maven { url "http://maven.restlet.org" } } dependencies { classpath group: 'org.docbook', name: 'docbook-xslt2', version: '2.0.14' classpath group: 'com.xmlcalabash', name: 'xmlcalabash1-print', version: '1.1.4' } } repositories { mavenLocal() mavenCentral() } apply plugin: 'org.docbook.task' import org.docbook.DocBookTask task publishhtml5(type: DocBookTask) { format "html" input "doc.xml" output "index.html" } task publishxhtml(type: DocBookTask) { format "xhtml" input "doc.xml" output "index.html" } task publishpdf(type: DocBookTask) { format "foprint" input "doc.xml" pdf "doc.pdf" } Needs documentation and such, but it does at least run now. :-) Be seeing you, norm -- Norman Walsh <ndw@nwalsh.com> | There might very well be nothing; http://www.oasis-open.org/docbook/ | nor anyone. No one to notice that Chair, DocBook Technical Committee | there is nothing, and to consider | that natural. But that there is | something, and, whatever it may | be, the strange thing! I shall | never cease being amazed at | this.--André Gide
Attachment:
signature.asc
Description: PGP signature
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]