delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/05/12/11:47:48

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
From: "Andreas" <news DOT Andreas AT gmx DOT net>
To: <cygwin AT cygwin DOT com>
Cc: "Patrick Eisenacher" <eisenacher AT fillmore-labs DOT com>
Subject: RE: docbook xml toolchain
Date: Mon, 12 May 2003 12:46:56 -0300
Message-ID: <BDEIKLGLODPANMFFLBDIMEHMCDAA.news.Andreas@gmx.net>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
In-Reply-To: <3EBFAE1A.3@fillmore-labs.com>
Importance: Normal
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600.0000

Hello Patrick,

> Andreas,
>
> the rejects you attached state that the pdfxmltex format didn't make it
> to fmtutil.cnf. This is exactly the error you get trying to create pdf
> output from your xml source.
>
> Ok, patch files are pretty easy to read. Do
>
> man patch
> man diff
>
> to get info about them and the various formats. In short, a patch file
> contains one or more patches. Each patch contains the line number and
> length of the original version (-) and line number and length of the
> patched version (+). This info is given in the line starting with @@.
> The lines that follow are to be removed from the original (-) or added
> to the original (+). Lines without a -/+ identifier are sheer context
> information for readability purposes.
>
> With this information at hand, you should be able to identify the proper
> places in your version of fmtutil.cnf to patch by hand.

Hmmm, sounds good, I guess /bin/fmtutil needs to be patched, right? There
are other files related to fmtutil.cnf:
/usr/share/texmf/web2c/fmtutil.cnf.cygwin-dist
/usr/share/texmf/web2c/fmtutil.cnf.cygwin-orig
/usr/share/texmf/web2c/fmtutil.cnf.orig

Letīs assume that I found the lines that needs a fix and put this in
DocbookCygwinFmtutil.diff, does a simple
patch -N -u /usr/share/texmf/web2c/fmtutil.cnf DocbookCygwinFmtutil.diff
would be sufficient or should I rerun your script (further dependencies in
the process of buliding the passivetex stuff?)?
Would a second, third,... run of your install script potentially break
things that were created at the first run?

> The .fo file you see is the intermediate format for pdf creation. It is
> created by the default stylesheet processor (xsltproc for me). pdfxmltex
>   takes this file as input for creating your pdf via tex.
>
> There are other free fo processors out there that don't use tex for pdf
> generation, eg fop. But all those free processors have limitations and
> shortcomings. A problem they all have in common is the processing of
> tables. And don't expect any fancy layout out of the box.

I just converted the fo file into pdf using fop and it is nicely formatted.

Thanks,
Andreas

> HTH,
> Patrick


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

- Raw text -


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