From owner-freebsd-questions@FreeBSD.ORG Tue Mar 6 05:45:14 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BD34C16A400 for ; Tue, 6 Mar 2007 05:45:14 +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 1D18C13C491 for ; Tue, 6 Mar 2007 05:45:13 +0000 (UTC) (envelope-from coolzone@io.dk) Received: (qmail 12048 invoked from network); 6 Mar 2007 05:50:48 -0000 Received: from 85233228239.switch.dansknet.dk (HELO dansknet.dk) (85.233.228.239) by dansknet.dk with SMTP; 6 Mar 2007 05:50:48 -0000 Date: Tue, 6 Mar 2007 06:49:55 +0100 From: Rico Secada To: freebsd-questions@freebsd.org Message-Id: <20070306064955.27050077.coolzone@io.dk> X-Mailer: Sylpheed 2.3.1 (GTK+ 2.10.9; i386-portbld-freebsd6.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Problems with arabic in Docbook 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 Mar 2007 05:45:14 -0000 Hi I am currently working on a docbook project using FreeBSD and I need to incorporate some arabic words. When I convert using xmlto into a xhtml document the words show up together with the other languages perfectly, but when I convert into PDF using xsltproc, the arabic letters gets converted into hashes ###. To convert the document into PDF I do the following: xsltproc --output foo.fo --stringparam section.autolabel 1 --stringparam section.label.includes.component.label 1 --stringparam generate.toc "book toc" --stringparam fop.extensions 1 /usr/local/share/xsl/docbook/fo/docbook.xsl foo.xml Afterwards I do: fop foo.fo foo.pdf xmlto isn't working with PDF on FreeBSD and I get this error: /usr/local/share/xmlto/format/docbook/../fo/pdf: Can't open /usr/local/share/xmlto/format/docbook/../fo/pdf: No such file or directory Any sugestions? Best regards, Rico