On 25-02-2015 12:59, Eduardo M KALINOWSKI wrote:
On Qua, 25 Fev 2015, Markos wrote:
Could you possibly give me some tips on how to use the xlstproc in Debian Squeeze?

The man page has all the details, but it is pretty simple anyway.

I think that I should install this package: apt-get install xsltproc

Yes. And also the package with the XSL stylesheets, which, for Docbook 4, is docbook-xsl.

And what changes I should do in the header of my source documents?

None. Unless you would want to update to a newer version, but that is not necessary. And it would need more changes than simply the header.

And what command I should run to generate the html files?

Again, man xsltproc has the details, but basically something like

xsltproc /usr/share/xml/docbook/stylesheet/docbook-xsl/xhtml/chunk.xsl file.xml

There are other stylesheets, such as for HTML 4, XHTML 1.1, and also stylesheets that output everything in a single html file. See the documentation under /usr/share/doc/docbook-xsl for more details.

Hi Eduardo,

I intend to read carefully the tutorials (Ex: www.sagehill.net/docbookxsl)
to better understand DocBook XSL but at the moment I'm needing to generate html documents quickly.

And your tips worked.

Thank you very much.

Markos


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/54ee4019.8090...@c2o.pro.br

Reply via email to