Commit graph

8 commits

Author SHA1 Message Date
Murray Stokely
6f977075d0 Make HTML and PDF targets .OBJDIR clean. 2005-08-29 03:18:58 +00:00
Murray Stokely
af99d2d8b9 Exclude 'CVS' directories when making OpenOffice .sxi files (.sxi
files are just zip files).
2005-08-29 02:50:45 +00:00
Murray Stokely
2f5f2b672d Remove pointless copy of template directory.
First, zip up the template directory from /usr/doc/share/openoffice,
then use 'zip -g slides.sxi content.xml' to append a single file to
the zip archive after content.xml has been created.

Also make this target .OBJDIR clean.
2005-08-29 02:44:22 +00:00
Murray Stokely
7b589b1fa8 Add 'sxi' as a known format for the DocBook Slides infrastructure in
/usr/doc/${LANG}/slides.
2005-08-29 02:17:37 +00:00
Murray Stokely
e94633c940 Fix HTML output with multiple XML SRCs case. 2004-09-07 12:06:22 +00:00
Murray Stokely
c290cc6eff Add definitions required for using SAXON instead of libxslt when
USE_SAXON is set.  This doesn't quite work yet.

Also fix a bug in the .fo target that was uncovered when slides for a
presentation are split across multiple XML files.
2004-09-07 11:56:03 +00:00
Murray Stokely
30830727e5 Add support for using FOP or XEP as an XSL-FO backend via USE_* make
variables.  PassiveTeX is pretty limited and so the other formatters
give the stylesheets more functionality to create nice slides.
2004-09-04 19:17:35 +00:00
Murray Stokely
54ab45e845 Add support for building documents in our doc/ tree marked up in
Norman Walsh's DocBook Slides DTD.

This DTD offers the vocabulary of simplified DocBook for
presentations.  Initially, the supported output formats are PDF and
HTML.

XSL stylesheets are used so libxslt is required.

PassiveTeX is used for the PDF generation to convert the XSL-FO
directly to PDF.

This commit moves various TeX definitions out of doc.docbook.mk and
into doc.project.mk, since docbook is no longer the only back-end to
utilize TeX.

An example Makefile would look like :

----
DOCFORMAT=	slides
DOC=		slides

SRCS=	slides.xml

DOC_PREFIX?=	${.CURDIR}/../../..
.include "${DOC_PREFIX}/share/mk/doc.project.mk"
---

And an example slides file (slides.xml) looks like :

---
<!DOCTYPE slides PUBLIC "-//Norman Walsh//DTD Slides XML V3.3.1//EN"
  "http://docbook.sourceforge.net/releases/slides/3.3.1/slides.dtd">
<slides>
<slidesinfo>
  <title>What's new in FreeBSD 5.3</title>
  <titleabbrev>FreeBSD 5.3</titleabbrev>
</slidesinfo>

<foil><title>Introduction Slide</title>
  <para>Content</para>
</foil>
</slides>
---

You could then build the HTML and PDF versions of the slides by typing
"make FORMATS='pdf html'".  Enjoy.

Please coordinate with doceng@ before importing any presentations to
doc/.
2004-09-02 17:12:14 +00:00