From owner-freebsd-questions@FreeBSD.ORG Tue Jun 6 02:11:46 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 37EA416B250 for ; Tue, 6 Jun 2006 01:40:23 +0000 (UTC) (envelope-from coolzone@io.dk) Received: from dansknet.dk (smtp1.dansknet.dk [85.233.229.242]) by mx1.FreeBSD.org (Postfix) with SMTP id 314AB43D5A for ; Tue, 6 Jun 2006 01:40:21 +0000 (GMT) (envelope-from coolzone@io.dk) Received: (qmail 1360 invoked from network); 6 Jun 2006 02:26:04 -0000 Received: from 85233229154.switch.dansknet.dk (HELO ?85.233.229.154?) (85.233.229.154) by dansknet.dk with SMTP; 6 Jun 2006 02:26:04 -0000 Message-ID: <4484DD5E.3020302@io.dk> Date: Tue, 06 Jun 2006 03:41:50 +0200 From: Rico User-Agent: Thunderbird 1.5.0.2 (X11/20060601) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Converting DocBook into PDF X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jun 2006 02:11:47 -0000 Hi, I am working on a documentation project and needs to convert some DocBook files into several formats. I have installed "xmlto" amongst others and I can convert the DocBook into XHTML, TXT but not into PDF or PS. Trying to do so I get the error: $xmlto --skip-validation pdf My_DocBook.xml Making portrait pages on USletter paper (8.5inx11in) XPath error : Undefined variable $ulink.footnotes != 0 ^ error: file file:///usr/local/share/xsl/docbook/fo/footnote.xsl line 94 element number Failed to compile predicate /usr/local/bin/xmlto: line 379: 17329 Segmentation fault: 11 (core dumped) xsltproc $XSLTOPTS -o "$XSLT_PROCESSED" "$STYLESHEET" "$INPUT_FILE" /usr/local/share/xmlto/format/docbook/../fo/pdf: Can't open /usr/local/share/xmlto/format/docbook/../fo/pdf: No such file or directory How can I make xmlto work? I used this on a GNU/Linux system with great succes and would like to use the same tool since it is very easy and it renderes greatly. If not possible how can it be done otherwise. Best and kind regards, Rico