|
View:
New views
12 Messages
—
Rating Filter:
Alert me
|
|
|
XML Processing on a MacI want to set up my
Mac to process DocBook using XSLT and not the Jade stuff. Can somebody offer a
few pointers?
|
|
|
Re: XML Processing on a MacHave you seen this link on Dave Pawson's FAQ?
http://www.dpawson.co.uk/docbook/reference.html#d17e1609 I have a Mac, but have not used it for DocBook... Best regards, --Scott Johnson, Eric wrote: > I want to set up my Mac to process DocBook using XSLT and not the Jade > stuff. Can somebody offer a few pointers? [scott.hudson.vcf] begin:vcard fn:Scott Hudson n:Hudson;Scott org:Flatirons Solutions adr:Suite 200;;4747 Table Mesa Drive ;Boulder;CO;80305;USA email;internet:scott.hudson@... title:Consultant tel;work:303-542-2146 tel;fax:303-544-0522 tel;cell:303-332-1883 url:http://www.flatironssolutions.com version:2.1 end:vcard --------------------------------------------------------------------- To unsubscribe, e-mail: docbook-apps-unsubscribe@... For additional commands, e-mail: docbook-apps-help@... |
|
|
Re: XML Processing on a MacHere's a better link:
http://projectomega.org/subcat.php?lg=en&php=products_docbook --Scott Scott Hudson wrote: > Have you seen this link on Dave Pawson's FAQ? > http://www.dpawson.co.uk/docbook/reference.html#d17e1609 > > I have a Mac, but have not used it for DocBook... > > Best regards, > > --Scott > > Johnson, Eric wrote: >> I want to set up my Mac to process DocBook using XSLT and not the Jade >> stuff. Can somebody offer a few pointers? > > --------------------------------------------------------------------- > To unsubscribe, e-mail: docbook-apps-unsubscribe@... > For additional commands, e-mail: docbook-apps-help@... [scott.hudson.vcf] begin:vcard fn:Scott Hudson n:Hudson;Scott org:Flatirons Solutions adr:Suite 200;;4747 Table Mesa Drive ;Boulder;CO;80305;USA email;internet:scott.hudson@... title:Consultant tel;work:303-542-2146 tel;fax:303-544-0522 tel;cell:303-332-1883 url:http://www.flatironssolutions.com version:2.1 end:vcard --------------------------------------------------------------------- To unsubscribe, e-mail: docbook-apps-unsubscribe@... For additional commands, e-mail: docbook-apps-help@... |
|
|
Re: XML Processing on a MacLe 11 janv. 2007 à 23:40, Johnson, Eric a écrit : You may install via fink: docbook-dtd, docbook-xsl If you want to produce pdf, install also fop and fop-offo. Eventually saxon and xerces. Choose the 10.3 or 10.3 unstable tree, depending on your system. They both have the latest releases for the docbook 4.xx family. Cheers, Michèle |
|
|
Re: XML Processing on a MacI want to set up my Mac to process DocBook using XSLT and not the Jade stuff. Can somebody offer a few pointers? It's all packaged very neatly in Oxygen - I've been using it on
Mac for at least three years.
http://www.oxygenxml.com/
-- Ron Catterall, Phd, DSc
---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscribe@...
For additional commands, e-mail: docbook-apps-help@...
Prolongacion de Hidalgo 140 San Felipe del Agua Oaxaca 68020 |
|
|
Re: XML Processing on a Mac
Project Omega has been dormant for years, and I wouldn't recommend it.
(I was the last one to submit improvements on it and I gave up years
ago.)
I've since rolled my own Apache Maven 1.x plugin, called maven-dbsuite-plugin which I've published in fairly rough form as Open Source on Java.net. Regards, Sean Scott Hudson wrote: Here's a better link: |
|
|
Re: XML Processing on a Mac
Just went through this over the last week. Ended up with the following which is working quite well for me on a MacbookPro. I've a docbook file from which I create chunked HTML for a doc hosts and a PDF for peer review. * xsltproc, from Fink * docbook-5.0CR1, from docbook.org * docbook5ns-xsl-1.71.0, from docbook.org (note it's docbook5...) * fop-0.93, from xmlgraphics.apache.org Here's my build.sh script exhibiting parameters and the like: ---- start ---- #!/usr/bin/env bash DOC=$1 XSLT=xsltproc XSLDIR=docbook5ns-xsl-1.71.0 FO_XSL=$XSLDIR/fo/docbook.xsl CHUNK_XSL=$XSLDIR/xhtml/chunk.xsl FOP=./fop-0.93/fop FOPEXT="--stringparam fop1.extensions 1" rm -rf build mkdir -p build/{html,fo,pdf} echo transforming docbook to chunked html $XSLT --stringparam base.dir build/html/ $CHUNK_XSL $DOC.docbook cp -r images build/html/ echo transforming docbook to fo $XSLT --output build/fo/$DOC.fo $FOPEXT $FO_XSL $DOC.docbook echo transforming fo to pdf $FOP -fo build/fo/$DOC.fo -pdf build/pdf/$DOC.pdf ---- end ---- The end result is a PDF replete with bookmarks (note it's fop1.extensions, not fop.extensions as was the case with fop 0.20). FWIW, I ended up using Emacs with nxml-mode as my docbook editor. Although I've been using Eclipse for the last few years, I had trouble getting it setup, especially with the RelaxNG schema that Docbook5 pushes. I'd been an emacs user prior so old habits came back. The mode has good tag completion and helpful hints when the doc is malformed. Haven't got it working with split docs, however. |
|
|
Re: XML Processing on a MacOne suggestion:
For the stylesheets, the latest docbook5ns version is now in the DocBook snapshot area: http://docbook.sourceforge.net/snapshots/docbook5ns-xsl-snapshot.zip There isn't an official release of that set of stylesheets yet. Bob Stayton Sagehill Enterprises DocBook Consulting bobs@... ----- Original Message ----- From: "Cheetos" <ccheetham@...> To: <docbook-apps@...> Sent: Friday, January 12, 2007 12:43 PM Subject: Re: [docbook-apps] XML Processing on a Mac > > > Johnson, Eric wrote: >> >> I want to set up my Mac to process DocBook using XSLT and not the Jade >> stuff. Can somebody offer a few pointers? >> >> > > > Just went through this over the last week. Ended up with the following > which is working quite well for me on a MacbookPro. I've a docbook file > from which I create chunked HTML for a doc hosts and a PDF for peer > review. > > * xsltproc, from Fink > * docbook-5.0CR1, from docbook.org > * docbook5ns-xsl-1.71.0, from docbook.org (note it's docbook5...) > * fop-0.93, from xmlgraphics.apache.org > > Here's my build.sh script exhibiting parameters and the like: > > ---- start ---- > #!/usr/bin/env bash > > DOC=$1 > XSLT=xsltproc > XSLDIR=docbook5ns-xsl-1.71.0 > FO_XSL=$XSLDIR/fo/docbook.xsl > CHUNK_XSL=$XSLDIR/xhtml/chunk.xsl > FOP=./fop-0.93/fop > FOPEXT="--stringparam fop1.extensions 1" > > rm -rf build > mkdir -p build/{html,fo,pdf} > > echo transforming docbook to chunked html > $XSLT --stringparam base.dir build/html/ $CHUNK_XSL $DOC.docbook > cp -r images build/html/ > > echo transforming docbook to fo > $XSLT --output build/fo/$DOC.fo $FOPEXT $FO_XSL $DOC.docbook > > echo transforming fo to pdf > $FOP -fo build/fo/$DOC.fo -pdf build/pdf/$DOC.pdf > ---- end ---- > > The end result is a PDF replete with bookmarks (note it's > fop1.extensions, > not fop.extensions as was the case with fop 0.20). > > FWIW, I ended up using Emacs with nxml-mode as my docbook editor. > Although > I've been using Eclipse for the last few years, I had trouble getting it > setup, especially with the RelaxNG schema that Docbook5 pushes. I'd been > an > emacs user prior so old habits came back. The mode has good tag > completion > and helpful hints when the doc is malformed. Haven't got it working with > split docs, however. > > > > -- > View this message in context: > http://www.nabble.com/XML-Processing-on-a-Mac-tf2962313.html#a8305850 > Sent from the docbook apps mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: docbook-apps-unsubscribe@... > For additional commands, e-mail: docbook-apps-help@... > > > --------------------------------------------------------------------- To unsubscribe, e-mail: docbook-apps-unsubscribe@... For additional commands, e-mail: docbook-apps-help@... |
|
|
Re: XML Processing on a MacThanks, I've updated with no issues.
Update to my own post ... Tried TextMate and was impressed enough to buy a license. 2 post-install tasks I made you may consider: 1. Install the TeXMLMate plugin. Can validate using RNG. 2. Change the XML tidy utility. By default it uses xmllint, the output of which I didn't care for. I switched to using tidy (from fink). Use the Bundle Editor to change the Tidy command for the XML bundle to: tidy -xml -indent -wrap 78 -quiet |
|
|
Re: XML Processing on a MacOn 18 janv. 07, at 02:08, Cheetos wrote: > Update to my own post ... Tried TextMate and was impressed enough > to buy a > license. 2 post-install tasks I made you may consider: > > 1. Install the TeXMLMate plugin. Can validate using RNG. > 2. Change the XML tidy utility. By default it uses xmllint, the > output of > which I didn't care for. I switched to using tidy (from fink). > Use the > Bundle Editor to change the Tidy command for the XML bundle to: > > tidy -xml -indent -wrap 78 -quiet In what ways do you consider it is better than emacs+nxml ? JC Helary --------------------------------------------------------------------- To unsubscribe, e-mail: docbook-apps-unsubscribe@... For additional commands, e-mail: docbook-apps-help@... |
|
|
Re: XML Processing on a MacWouldn't say it was better per se. The original post looked for advice setting up a docbook toolchain on Mac OS X. TextMate, because it's a native OS X app, integrates nicely into that environment ("When in Rome, ..."). There are Emacs/nxml-mode features that I already miss in TextMate, notably the continual doc validation, either because the feature does not exist or I've yet to find it. For myself, I may switch back to Emacs after a few weeks, or I may implement the missing features, or I may decide the look-n-feel is more important then the feature. Dunno yet. I do like TextMate's approach to the plugins -- it simply execs a script (bash, python, ruby) -- as opposed to having to write lisp. I know Python so that's how I've modified what TextMate calls "Bundles". I modify my emacs usually via Google :) For the Mac OS X readers on the thread, particularly those who are not familiar/intimate with Emacs, it's an alternative worth evaluating. It's commercial software, but has a 30-day-or-something eval period. |
|
|
Re: XML Processing on a MacOn 18 janv. 07, at 22:50, Cheetos wrote: > Jean-Christophe Helary wrote: >> >>> Update to my own post ... Tried TextMate and was impressed enough >> >> In what ways do you consider it is better than emacs+nxml ? > > Wouldn't say it was better per se. The original post looked for > advice > setting up a docbook toolchain on Mac OS X. TextMate, because it's > a native > OS X app, integrates nicely into that environment ("When in > Rome, ..."). Sorry, I did mean that with OSX in mind. I've been looking for a relatively intuitive DocBook/XML editor for OSX and I've found that emacs-carbon+nxml was pretty much everything I needed. In fact it was the first time I could find a realy use for emacs on my machine. Otherwise I use more straightforward editors à la TextWrangler etc. I found Qemacs which has a nice way to display the DocBook while editing, but it was not as practical as a "real" emacs. JC Helary --------------------------------------------------------------------- To unsubscribe, e-mail: docbook-apps-unsubscribe@... For additional commands, e-mail: docbook-apps-help@... |
| Free embeddable forum powered by Nabble | Forum Help |