Bug#293562: [Pkg-octave-devel] Bug#293562: octave2.1-doc: Provide a pdf version

Rafael Laboissiere Rafael Laboissiere <rafael@debian.org>, 293562@bugs.debian.org
Mon, 21 Feb 2005 16:02:27 +0100


* Dirk Eddelbuettel <edd@debian.org> [2005-02-21 07:34]:

> I think if you properly create the pdf from the dvi, you do in fact get
> better searching, indexing, thumb-size page images etc pp.

I think you mean pdf from texi.  I tried the following:

    (cd doc ; TEXINPUTS=".:./..::" texi2pdf octave.texi)
    
and the generated octave.pdf is perfect.  If nobody objects, I am going to
replace the PS files by the PDF files in the octave2.1-doc package.

A suggestion for the upstream authors: you might include a rule for building
octave.pdf in doc/Makefile.in, something like this:

octave.pdf: $(MAIN_TEXINFO) $(SUB_TEXINFO) ../conf.texi
        -TEXINPUTS="$(srcdir):$(srcdir)/..:$(TEXINPUTS):"; \
          export TEXINPUTS; \
          texi2pdf $<

-- 
Rafael