DocBook tex/pdf/ps output for different page sizes?

2003-06-05 Thread Farid Hajji
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=   [EMAIL PROTECTED]
  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.

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: DocBook tex/pdf/ps output for different page sizes?

2003-06-05 Thread Hiroki Sato
Farid Hajji [EMAIL PROTECTED] wrote
  in [EMAIL PROTECTED]:

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

 There is no command-line/Makefile knob for papersize, but
 you can add the following line

  (define %paper-type% USletter) 

 into your dsssl stylesheet for letter size output.
 A0 to A10, B0 to B10, C0 to C10, USletter,
 A4landscape, and USlandscape are valid.

-- 
| Hiroki SATO  [EMAIL PROTECTED] / [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]