delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/04/12/10:36:23

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:content-type
:content-transfer-encoding:date:from:to:subject:in-reply-to
:references:message-id; q=dns; s=default; b=uILCMWv4ZXwedcJf2AiQ
gu4foabzyMOloUurMRtrtj8SsYb28BqWwvPgSzLSUpM4FiGS6tCEhksGLEfMd2mQ
4NtNI4D3GdXr1cITqi0aevlpIgzH2ZHVY853xQkjcs6z2a+PrEvV6Tq2COzlDlse
r/kmHVKr97MIXLg2gWDC4vs=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:content-type
:content-transfer-encoding:date:from:to:subject:in-reply-to
:references:message-id; s=default; bh=HosWDj40CO97ifoLgGBW42BcMO
o=; b=CBIoT4WwE1Yv5SNPDxg9G2WGHoxjTq0wJtyczuEnn1pefbWTbM62CywGkr
MoBOai4f8HI3F8ZrNH2mT/lFlgo/fOwnUZa6BbB2h0ESNuMdRUS5M9jSWl/Djgs0
28EZ6Ouyk67jr07Jv4NHDyesSkJRmgBREPTfa5ng4eTesU70Y=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Spam-SWARE-Status: No, score=-2.9 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS autolearn=ham version=3.3.1
MIME-Version: 1.0
Date: Fri, 12 Apr 2013 16:35:13 +0200
From: Markus Hoenicka <markus DOT hoenicka AT mhoenicka DOT de>
To: <cygwin AT cygwin DOT com>
Subject: Re: docbook2pdf errors
In-Reply-To: <CAKf2h5RRAdfwgMT_EfLNs_BkQjRTXSQM5S1M95RMkvt9b9FaiQ@mail.gmail.com>
References: <CAKf2h5SqejiDkdNzAAKAwD5EoU3ErjhrG7-WP-=DkY2oDz5PSQ AT mail DOT gmail DOT com> <d445994239f54e5edf5e3f3f50e72c18 AT mhoenicka DOT de> <CAKf2h5RRAdfwgMT_EfLNs_BkQjRTXSQM5S1M95RMkvt9b9FaiQ AT mail DOT gmail DOT com>
Message-ID: <c41deaae1823783e25f6070090ba8fd4@mhoenicka.de>
X-Sender: markus DOT hoenicka AT mhoenicka DOT de
User-Agent: Roundcube Webmail/0.8.1
X-Df-Sender: bWFya3VzLmhvZW5pY2thQG1ob2VuaWNrYS5kZQ==
X-IsSubscribed: yes

Frank Fesevur was heard to say:
> 2013/4/12 Markus Hoenicka:
>> I have never used the docbook2pdf tool, but these messages indicate 
>> that it
>> attempts to transform an XML document using Jade and the DocBook 
>> DSSSL
>> stylesheets. While you may be able to get this to work with a little 
>> effort,
>> I'd recommend to use an XSLT-based toolchain (e.g. xslt and fop) and 
>> the
>> DocBook XSL stylesheets for XML documents.
> 
> I am a docbook newbie so I just wanted to try docbook2pdf to see what
> the generated pdf looks like.
> 

You should understand that the entity stuff that you bumped into was a 
necessity of SGML documents in the days of yore as there was no such 
thing as UTF-8. XML documents can use the non-ASCII characters directly 
instead of using character entities if they use UTF-8. This is usually 
declared in the header like this:

<?xml version="1.0" encoding="utf-8"?>

In order to set up your XML toolchain, please peruse the excellent 
instructions here:

http://www.sagehill.net/docbookxsl/

regards,
Markus

-- 
Markus Hoenicka
http://www.mhoenicka.de
AQ score 38

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019