delorie.com/archives/browse.cgi | search |
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 |
To: | cygwin AT cygwin DOT com |
From: | Francis Litterio <franl AT world DOT std DOT com> |
Subject: | Re: Is there cygwin port of docbook? |
Date: | Tue, 11 Feb 2003 07:57:43 -0500 |
References: | <20030211180619 DOT 21cc31f1 DOT imaq AT 21cn DOT com> |
<00ee01c2d1c4$7ad04560$15fe86d9 AT webdev> | |
In-Reply-To: | <00ee01c2d1c4$7ad04560$15fe86d9@webdev> ("Elfyn McBratney"'s |
message of "Tue, 11 Feb 2003 11:55:27 -0000") | |
Message-ID: | <uu1fbm0jx.fsf@world.std.com> |
Lines: | 38 |
User-Agent: | Gnus/5.090007 (Oort Gnus v0.07) Emacs/21.2 |
(i386-msvc-nt5.0.2195) | |
MIME-Version: | 1.0 |
Elfyn McBratney wrote: >> I'm wondering whether there is cygwin port of docbook. >> I want to use it in my office, but I don't wanna bother to >> install a whole Linux OS just in order to use docbook. > > Someone, Me thinks the DocBook maintainer, posted a message to > cygwin AT cygwin DOT com a little while ago saying that he had a mirror that would > provide this port for a short while. Jump quickly and you might find it ;-) FWIW, here's a shell script that uses xsltproc to render DocBook XML into HTML. You'll need to change the STYLESHEET variable to point at whatever XML stylesheet you're using. Invoke this script like this: bash$ db2html mydoc.xml #!/bin/sh STYLESHEET="$HOME/work2/ldp/xsl/ldp-html.xsl" TMPFILE="/tmp/db2html.html" rm -f "$TMPFILE" xsltproc --output "$TMPFILE" "$STYLESHEET" "$@" if [ "$OSTYPE" = "cygwin" ] then if [ -f "$TMPFILE" ] then cygstart "$TMPFILE" else messagebox db2html "No HTML file produced due to errors!" fi else echo "HTML file is $TMPFILE." fi exit 0 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |