mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-06-01 00:22:38 +02:00
2017-11-05 Fred Gleason <fredg@paravelsystems.com>
* Added DocBook stylesheets for books in 'docs/stylesheets/'.
This commit is contained in:
parent
07a187e07f
commit
f1b16e0837
1
.gitignore
vendored
1
.gitignore
vendored
@ -34,6 +34,7 @@ docs/apis/*.pdf
|
|||||||
docs/opsguide/*.html
|
docs/opsguide/*.html
|
||||||
docs/opsguide/*.pdf
|
docs/opsguide/*.pdf
|
||||||
docs/opsguide/frontspiece.xml
|
docs/opsguide/frontspiece.xml
|
||||||
|
docs/stylesheets/*.xml
|
||||||
helpers/cwrap
|
helpers/cwrap
|
||||||
helpers/jsmin
|
helpers/jsmin
|
||||||
importers/nexgen_filter
|
importers/nexgen_filter
|
||||||
|
@ -16252,3 +16252,5 @@
|
|||||||
per-chapter files.
|
per-chapter files.
|
||||||
2017-11-03 Fred Gleason <fredg@paravelsystems.com>
|
2017-11-03 Fred Gleason <fredg@paravelsystems.com>
|
||||||
* Fixed a typo in 'docs/opsguide/filepath_wildcards.xml'.
|
* Fixed a typo in 'docs/opsguide/filepath_wildcards.xml'.
|
||||||
|
2017-11-05 Fred Gleason <fredg@paravelsystems.com>
|
||||||
|
* Added DocBook stylesheets for books in 'docs/stylesheets/'.
|
||||||
|
@ -236,12 +236,13 @@ if test -z $MP4V2_DISABLED ; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
#
|
#
|
||||||
# Build DocBook Items?
|
# DocBook
|
||||||
#
|
#
|
||||||
if test -z $DOCBOOK_DISABLED ; then
|
if test -z $DOCBOOK_DISABLED ; then
|
||||||
USING_DOCBOOK=yes
|
USING_DOCBOOK=yes
|
||||||
fi
|
fi
|
||||||
AM_CONDITIONAL([DOCBOOK_AM], [test "$USING_DOCBOOK" = yes])
|
AM_CONDITIONAL([DOCBOOK_AM], [test "$USING_DOCBOOK" = yes])
|
||||||
|
AC_SUBST(DOCBOOK_STYLESHEETS,$DOCBOOK_STYLESHEETS)
|
||||||
|
|
||||||
#
|
#
|
||||||
# RDXport Debug
|
# RDXport Debug
|
||||||
@ -506,6 +507,10 @@ AC_CONFIG_FILES([rivendell.spec \
|
|||||||
docs/manpages/Makefile \
|
docs/manpages/Makefile \
|
||||||
docs/opsguide/frontspiece.xml \
|
docs/opsguide/frontspiece.xml \
|
||||||
docs/opsguide/Makefile \
|
docs/opsguide/Makefile \
|
||||||
|
docs/stylesheets/book-common.xml \
|
||||||
|
docs/stylesheets/book-fo.xml \
|
||||||
|
docs/stylesheets/book-xhtml.xml \
|
||||||
|
docs/stylesheets/Makefile \
|
||||||
docs/tables/Makefile \
|
docs/tables/Makefile \
|
||||||
debian/Makefile \
|
debian/Makefile \
|
||||||
debian/patches/Makefile \
|
debian/patches/Makefile \
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
## Use automake to process this into a Makefile.in
|
## Use automake to process this into a Makefile.in
|
||||||
|
|
||||||
if DOCBOOK_AM
|
if DOCBOOK_AM
|
||||||
DOCBOOK_AM_OPT = apis manpages opsguide
|
DOCBOOK_AM_OPT = apis manpages opsguide stylesheets
|
||||||
endif
|
endif
|
||||||
|
|
||||||
SUBDIRS = $(DOCBOOK_AM_OPT) examples\
|
SUBDIRS = $(DOCBOOK_AM_OPT) examples\
|
||||||
|
@ -104,10 +104,10 @@ OPSGUIDE_DEPS = filepath_wildcards.xml\
|
|||||||
voicetracking.xml
|
voicetracking.xml
|
||||||
|
|
||||||
opsguide.html: $(OPSGUIDE_DEPS) frontspiece.xml
|
opsguide.html: $(OPSGUIDE_DEPS) frontspiece.xml
|
||||||
xsltproc -o opsguide.html $(DOCBOOK_STYLESHEETS)/xhtml/docbook.xsl opsguide.xml
|
xsltproc ../stylesheets/book-xhtml.xml opsguide.xml
|
||||||
|
|
||||||
opsguide.pdf: $(OPSGUIDE_DEPS) frontspiece.xml
|
opsguide.pdf: $(OPSGUIDE_DEPS) frontspiece.xml
|
||||||
xsltproc $(DOCBOOK_STYLESHEETS)/fo/docbook.xsl opsguide.xml | fop - -pdf opsguide.pdf
|
xsltproc ../stylesheets/book-fo.xml opsguide.xml | fop - -pdf opsguide.pdf
|
||||||
|
|
||||||
all-local: opsguide.html\
|
all-local: opsguide.html\
|
||||||
opsguide.pdf
|
opsguide.pdf
|
||||||
|
31
docs/stylesheets/Makefile.am
Normal file
31
docs/stylesheets/Makefile.am
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
## Makefile.am
|
||||||
|
##
|
||||||
|
## docs/stylesheets/Makefile.am for Rivendell
|
||||||
|
##
|
||||||
|
## (C) Copyright 2017 Fred Gleason <fredg@paravelsystems.com>
|
||||||
|
##
|
||||||
|
## This program is free software; you can redistribute it and/or modify
|
||||||
|
## it under the terms of the GNU General Public License version 2 as
|
||||||
|
## published by the Free Software Foundation.
|
||||||
|
##
|
||||||
|
## This program is distributed in the hope that it will be useful,
|
||||||
|
## but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
## GNU General Public License for more details.
|
||||||
|
##
|
||||||
|
## You should have received a copy of the GNU General Public
|
||||||
|
## License along with this program; if not, write to the Free Software
|
||||||
|
## Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||||
|
##
|
||||||
|
## Use automake to process this into a Makefile.in
|
||||||
|
|
||||||
|
EXTRA_DIST = book-common.xml.in\
|
||||||
|
book-fo.xml.in\
|
||||||
|
book-xhtml.xml.in
|
||||||
|
|
||||||
|
CLEANFILES = *~
|
||||||
|
DISTCLEANFILES = *.xml
|
||||||
|
MAINTAINERCLEANFILES = *~\
|
||||||
|
aclocal.m4\
|
||||||
|
configure\
|
||||||
|
Makefile.in
|
30
docs/stylesheets/book-common.xml.in
Normal file
30
docs/stylesheets/book-common.xml.in
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
<?xml version='1.0'?>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
common-xhtml.xml
|
||||||
|
|
||||||
|
Generic stylesheet customizations for Rivendell books
|
||||||
|
|
||||||
|
(C) Copyright 2017 Fred Gleason <fredg@paravelsystems.com>
|
||||||
|
|
||||||
|
This program is free software; you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU General Public License version 2 as
|
||||||
|
published by the Free Software Foundation.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public
|
||||||
|
License along with this program; if not, write to the Free Software
|
||||||
|
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||||
|
-->
|
||||||
|
|
||||||
|
<xsl:stylesheet
|
||||||
|
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
|
||||||
|
|
||||||
|
<xsl:param name="section.autolabel">1</xsl:param>
|
||||||
|
<xsl:param name="section.label.includes.component.label">1</xsl:param>
|
||||||
|
|
||||||
|
</xsl:stylesheet>
|
35
docs/stylesheets/book-fo.xml.in
Normal file
35
docs/stylesheets/book-fo.xml.in
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
<?xml version='1.0'?>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
book-fo.xml
|
||||||
|
|
||||||
|
FO stylesheet customizations for Rivendell books
|
||||||
|
|
||||||
|
(C) Copyright 2017 Fred Gleason <fredg@paravelsystems.com>
|
||||||
|
|
||||||
|
This program is free software; you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU General Public License version 2 as
|
||||||
|
published by the Free Software Foundation.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public
|
||||||
|
License along with this program; if not, write to the Free Software
|
||||||
|
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||||
|
-->
|
||||||
|
|
||||||
|
<xsl:stylesheet
|
||||||
|
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
|
||||||
|
|
||||||
|
<xsl:import href="/usr/share/sgml/docbook/xsl-ns-stylesheets-1.78.1/fo/docbook.xsl" />
|
||||||
|
<xsl:include href="book-common.xml" />
|
||||||
|
|
||||||
|
<!--
|
||||||
|
<xsl:param name="use.id.as.filename">1</xsl:param>
|
||||||
|
-->
|
||||||
|
|
||||||
|
</xsl:stylesheet>
|
||||||
|
|
33
docs/stylesheets/book-xhtml.xml.in
Normal file
33
docs/stylesheets/book-xhtml.xml.in
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
<?xml version='1.0'?>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
book-xhtml.xml
|
||||||
|
|
||||||
|
XHTML stylesheet customizations for Rivendell books
|
||||||
|
|
||||||
|
(C) Copyright 2017 Fred Gleason <fredg@paravelsystems.com>
|
||||||
|
|
||||||
|
This program is free software; you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU General Public License version 2 as
|
||||||
|
published by the Free Software Foundation.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public
|
||||||
|
License along with this program; if not, write to the Free Software
|
||||||
|
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||||
|
-->
|
||||||
|
|
||||||
|
<xsl:stylesheet
|
||||||
|
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
|
||||||
|
|
||||||
|
<xsl:import href="@DOCBOOK_STYLESHEETS@/xhtml/chunk.xsl" />
|
||||||
|
<xsl:include href="book-common.xml" />
|
||||||
|
|
||||||
|
<xsl:param name="use.id.as.filename">1</xsl:param>
|
||||||
|
|
||||||
|
</xsl:stylesheet>
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user