help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "Da Coda Al Fine" source?


From: Rafael Laboissiere
Subject: Re: "Da Coda Al Fine" source?
Date: Wed, 20 Nov 2002 13:41:16 -0600
User-agent: Mutt/1.4i

* Paul Kienzle <address@hidden> [2002-11-20 10:39]:

> I tried to build from the sgml but failed (missing some make files), but at
> least it is there so when someone volunteers to document the many changes
> that octave has undergone lately, at least they don't have to start from
> scratch.

make complains about lacking Makefiles in the directories appendices, oct, and
standalone, but those errors are harmless.  At any rate, I could compile the
PDF file from the DocBook source with:

    make pdf

and the following patch:

--- Makefile.orig       2002-11-20 16:34:54.000000000 +0100
+++ Makefile    2002-11-20 20:34:39.000000000 +0100
@@ -50,7 +50,7 @@
 .phony: subdirs
 subdirs:
        for dir in $(srcdirs); do \
-           make --directory=$$dir; \
+           -make --directory=$$dir; \
        done
 
 $(outputdir)/coda-sgml.tar.gz: $(src) Makefile
@@ -81,10 +81,8 @@
 
 $(outputdir)/coda.ps.gz: $(outputdir)/coda.ps
 
-$(outputdir)/coda.pdf: $(outputdir)/coda.ps
-       cd $(outputdir) && \
-           gs -q -r600 -dNOPAUSE -dBATCH -sDEVICE=pdfwrite \
-                -sOutputFile=coda.pdf coda.ps
+$(outputdir)/coda.pdf: coda.sgml
+       db2pdf -o $(outputdir) coda.sgml
 
 %.gz: %
        gzip --best --stdout $< > $@


The compilation triggered a lot of warnings and there are no page numbers in
the table of contents.  Otherwise, the document looks fine.     

I am using version 0.6.11 of package docbook-utils in a Debian system.

-- 
Rafael



-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

[Prev in Thread] Current Thread [Next in Thread]