On 24-02-2015 09:37, Eduardo M KALINOWSKI wrote:
On Ter, 24 Fev 2015, Markos wrote:
Hi,
Over the past eight years I have been using Docbook in Debian 5.0 and
6.0 with the script "jw".
I received an information that the script "jw" uses DSSSL stylesheets
and that it is obsolete and limited.
Would be better to migrate to XSL-based system and use XSL stylesheets.
But I'm just a user of Docbook with jw script (a handy tool) and
don't know the structure of the DocBook files and programs.
Does anyone could suggest a step by step for me to do this migration?
Should I have to migrate to newer versions of Debian or just install
some packages in my Debian Squeeze?
What output format do you want? For HTML, simply running a XSLT
processor (such as the one in package xsltproc) against the stylesheet
(contained in package docbook-xsl for Docbook 5 or docbook-xsl-ns for
Docbook 5) is enough. See the documentation for the packages for a
list of available stylesheets.
For other formats I cannot help you much, but I believe the first step
is similar: use a stylesheet to convert the docboock source to an
intermediate format, which is then processed by specific tools to
generate the final output.
Hi Eduardo,
I saw that there is a lot of information in the tutorial:
http://www.sagehill.net/docbookxsl/index.html
I already have many documents sources with which I've been using the
script "jw" to output in html.
Could you possibly give me some tips on how to use the xlstproc in
Debian Squeeze?
For example, I saw that there is a package:
xsltproc - XSLT 1.0 command line processor
I think that I should install this package: apt-get install xsltproc
What else?
And what changes I should do in the header of my source documents?
At the moment they are:
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
"/usr/share/sgml/docbook/xml-dtd-4.1.2/docbookx.dtd">
And what command I should run to generate the html files?
Thanks,
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/54ede44b.9020...@c2o.pro.br