Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Jun 2003 16:34:29 +0200
From:      Farid Hajji <me@farid-hajji.de>
To:        freebsd-questions@freebsd.org
Cc:        doc@freebsd.org
Subject:   DocBook tex/pdf/ps output for different page sizes?
Message-ID:  <200306041634.29732.me@farid-hajji.de>

next in thread | raw e-mail | index | archive | help
Hi,

[Please Cc me directly, I'm not on the mailing list. Thanks.]

how can I generate a pdf/ps copy of the handbook
or any other DocBook document using
   /usr/doc/share/mk/doc.project.mk
in other pagesizes, like a4, letter, or even
a custom format? Or said another way:
which knob to I need to turn for the pagesize?

I'm using this Makefile:

  # Makefile -- Some DocBook document
  # Copyright (C) 2003 Farid Hajji, http://www.farid-hajji.net/address.html
  # $Id: Makefile,v 1.1.1.1 2003/06/04 10:47:32 farid Exp $

  DOC_PREFIX?=		/usr/doc
  DESTDIR?=		${.CURDIR}/output
  MAINTAINER=		farid.hajji@ob.kamp.net
  DOC?=			book
  FORMATS?=		pdf
  BOOK_OUTPUT?=		yes

  # Always synchronize the SRCS with chapters.ent
  SRCS+=	book.sgml
  SRCS+=	src/chap_01.sgml
  SRCS+=	src/chap_02.sgml
  # etc...
  SRCS+=  chapters.ent

  .include "${DOC_PREFIX}/share/mk/doc.project.mk"

I'm just trying to modify the default page size, that's all.
Everything else works as expected.

Many thanks,

-FH.

-- 
Farid Hajji -- Unix Systems and Network Management.
http://www.farid-hajji.net/address.html
Quoth the Raven, "Nevermore." --Edgar Allan Poe.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200306041634.29732.me>