Changeset 259
- Timestamp:
- 05/22/06 09:35:46 (3 years ago)
- Files:
-
- traduc/tags/tv813 (copied) (copied from traduc/trunk)
- traduc/tags/tv813/sgml (copied) (copied from traduc/trunk/sgml)
- traduc/tags/tv813/sgml/Makefile (modified) (3 diffs)
- traduc/tags/tv813/sgml/stylesheets/pg-chunked.xsl (modified) (2 diffs)
- traduc/tags/tv813/sgml/stylesheets/pg-chunked2.xsl (modified) (1 diff)
- traduc/tags/tv813/sgml/stylesheets/pg-nochunks.xsl (modified) (1 diff)
- traduc/tags/tv813/sgml/stylesheets/pg-pdf.xsl (modified) (2 diffs)
- traduc/tags/tv813/sgml/stylesheets/pg-profile.xsl (modified) (1 diff)
- traduc/trunk/sgml/Makefile (modified) (3 diffs)
- traduc/trunk/sgml/stylesheets/pg-chunked.xsl (modified) (2 diffs)
- traduc/trunk/sgml/stylesheets/pg-chunked2.xsl (modified) (1 diff)
- traduc/trunk/sgml/stylesheets/pg-nochunks.xsl (modified) (1 diff)
- traduc/trunk/sgml/stylesheets/pg-pdf.xsl (modified) (2 diffs)
- traduc/trunk/sgml/stylesheets/pg-profile.xsl (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
traduc/tags/tv813/sgml/Makefile
r253 r259 7 7 ZIP_OUTPUT := pg$(VER).zip 8 8 PDF_OUTPUT := pg$(VER).pdf 9 QUICKPDF_OUTPUT := quickpg$(VER).pdf 9 10 MAN_OUTPUT := pg$(VER).man.tar.gz 10 11 CHM_OUTPUT := pg$(VER).chm.tar.gz … … 12 13 13 14 CHUNK_QUIET=0 14 XSLROOTDIR=/ usr/share/xml/docbook/stylesheet/nwalsh15 XSLROOTDIR=/opt/docbook-xsl-1.69.1 15 16 VPATH = $(BASEDIR):$(BASEDIR)/ref 16 17 src = *.xml ref/*.xml … … 56 57 fop.sh $(BASEDIR)/pg-pdf.fo $(BASEDIR)/$(HTM_OUTPUT)/$(PDF_OUTPUT) 57 58 rm $(BASEDIR)/pg-pdf.xml $(BASEDIR)/pg-pdf.fo 59 60 quickpdf: $(QUICKPDF_OUTPUT) 61 $(QUICKPDF_OUTPUT): $(src) 62 [ -d $(BASEDIR)/$(HTM_OUTPUT) ] || mkdir -p $(BASEDIR)/$(HTM_OUTPUT) 63 xsltproc --xinclude --nonet --stringparam profile.condition pdf \ 64 -stringparam profile.attribute "standalone" -stringparam profile.value "no" \ 65 --output $(BASEDIR)/pg-pdf.xml stylesheets/pg-profile.xsl gettingstarted.xml 66 xsltproc --nonet --output $(BASEDIR)/pg-pdf.fo stylesheets/quickpg-pdf.xsl \ 67 $(BASEDIR)/pg-pdf.xml 68 sed -i -e "s/inherit/all/" $(BASEDIR)/pg-pdf.fo 69 fop.sh $(BASEDIR)/pg-pdf.fo $(BASEDIR)/$(HTM_OUTPUT)/$(PDF_OUTPUT) 70 #rm $(BASEDIR)/pg-pdf.xml $(BASEDIR)/pg-pdf.fo 58 71 59 72 nochunks: $(NOCHUNKS_OUTPUT) traduc/tags/tv813/sgml/stylesheets/pg-chunked.xsl
r232 r259 6 6 7 7 <xsl:import href="pg-chunked2.xsl"/> 8 <xsl:import href="/ usr/share/sgml/docbook/stylesheet/xsl/nwalsh/xhtml/chunk-common.xsl"/>9 <xsl:import href="/ usr/share/sgml/docbook/stylesheet/xsl/nwalsh/xhtml/manifest.xsl"/>8 <xsl:import href="/opt/docbook-xsl-1.69.1/xhtml/chunk-common.xsl"/> 9 <xsl:import href="/opt/docbook-xsl-1.69.1/xhtml/manifest.xsl"/> 10 10 11 11 … … 26 26 Voila! (Man I hope we can do this better in XSLT 2.0) --> 27 27 28 <xsl:import href="/ usr/share/sgml/docbook/stylesheet/xsl/nwalsh/xhtml/profile-chunk-code.xsl"/>28 <xsl:import href="/opt/docbook-xsl-1.69.1/xhtml/profile-chunk-code.xsl"/> 29 29 30 30 <!-- Including our others customized chunks templates --> traduc/tags/tv813/sgml/stylesheets/pg-chunked2.xsl
r232 r259 6 6 7 7 <!-- We use XHTML --> 8 <xsl:import href="/ usr/share/sgml/docbook/stylesheet/xsl/nwalsh/xhtml/docbook.xsl"/>8 <xsl:import href="/opt/docbook-xsl-1.69.1/xhtml/docbook.xsl"/> 9 9 <xsl:param name="chunker.output.encoding" select="'ISO-8859-15'"/> 10 10 traduc/tags/tv813/sgml/stylesheets/pg-nochunks.xsl
r242 r259 6 6 7 7 <!-- We use XHTML --> 8 <xsl:import href="/ usr/share/sgml/docbook/stylesheet/xsl/nwalsh/xhtml/profile-docbook.xsl"/>8 <xsl:import href="/opt/docbook-xsl-1.69.1/xhtml/profile-docbook.xsl"/> 9 9 10 10 <!-- Fix encoding issues with default UTF-8 output of the xhtml stylesheet --> traduc/tags/tv813/sgml/stylesheets/pg-pdf.xsl
r233 r259 5 5 version="1.0"> 6 6 <!-- We use FO and FOP as the processor --> 7 <xsl:import href="/ usr/share/sgml/docbook/stylesheet/xsl/nwalsh/fo/docbook.xsl"/>7 <xsl:import href="/opt/docbook-xsl-1.69.1/fo/docbook.xsl"/> 8 8 <xsl:param name="fop.extensions" select="1"/> 9 9 <xsl:param name="draft.mode" select="'no'"/> … … 22 22 <!-- Including callout images --> 23 23 <xsl:param name="callout.graphics.path" 24 select="'/ usr/share/xml/docbook/stylesheet/nwalsh/images/callouts/'"/>24 select="'/opt/docbook-xsl-1.69.1/images/callouts/'"/> 25 25 26 26 <!-- Wrapping --> traduc/tags/tv813/sgml/stylesheets/pg-profile.xsl
r232 r259 5 5 6 6 <!-- Include common profiling stylesheet --> 7 <xsl:import href="/ usr/share/sgml/docbook/stylesheet/xsl/nwalsh/profiling/profile-mode.xsl"/>7 <xsl:import href="/opt/docbook-xsl-1.69.1/profiling/profile-mode.xsl"/> 8 8 9 9 <!-- Generate DocBook instance with correct DOCTYPE --> traduc/trunk/sgml/Makefile
r253 r259 7 7 ZIP_OUTPUT := pg$(VER).zip 8 8 PDF_OUTPUT := pg$(VER).pdf 9 QUICKPDF_OUTPUT := quickpg$(VER).pdf 9 10 MAN_OUTPUT := pg$(VER).man.tar.gz 10 11 CHM_OUTPUT := pg$(VER).chm.tar.gz … … 12 13 13 14 CHUNK_QUIET=0 14 XSLROOTDIR=/ usr/share/xml/docbook/stylesheet/nwalsh15 XSLROOTDIR=/opt/docbook-xsl-1.69.1 15 16 VPATH = $(BASEDIR):$(BASEDIR)/ref 16 17 src = *.xml ref/*.xml … … 56 57 fop.sh $(BASEDIR)/pg-pdf.fo $(BASEDIR)/$(HTM_OUTPUT)/$(PDF_OUTPUT) 57 58 rm $(BASEDIR)/pg-pdf.xml $(BASEDIR)/pg-pdf.fo 59 60 quickpdf: $(QUICKPDF_OUTPUT) 61 $(QUICKPDF_OUTPUT): $(src) 62 [ -d $(BASEDIR)/$(HTM_OUTPUT) ] || mkdir -p $(BASEDIR)/$(HTM_OUTPUT) 63 xsltproc --xinclude --nonet --stringparam profile.condition pdf \ 64 -stringparam profile.attribute "standalone" -stringparam profile.value "no" \ 65 --output $(BASEDIR)/pg-pdf.xml stylesheets/pg-profile.xsl gettingstarted.xml 66 xsltproc --nonet --output $(BASEDIR)/pg-pdf.fo stylesheets/quickpg-pdf.xsl \ 67 $(BASEDIR)/pg-pdf.xml 68 sed -i -e "s/inherit/all/" $(BASEDIR)/pg-pdf.fo 69 fop.sh $(BASEDIR)/pg-pdf.fo $(BASEDIR)/$(HTM_OUTPUT)/$(PDF_OUTPUT) 70 #rm $(BASEDIR)/pg-pdf.xml $(BASEDIR)/pg-pdf.fo 58 71 59 72 nochunks: $(NOCHUNKS_OUTPUT) traduc/trunk/sgml/stylesheets/pg-chunked.xsl
r232 r259 6 6 7 7 <xsl:import href="pg-chunked2.xsl"/> 8 <xsl:import href="/ usr/share/sgml/docbook/stylesheet/xsl/nwalsh/xhtml/chunk-common.xsl"/>9 <xsl:import href="/ usr/share/sgml/docbook/stylesheet/xsl/nwalsh/xhtml/manifest.xsl"/>8 <xsl:import href="/opt/docbook-xsl-1.69.1/xhtml/chunk-common.xsl"/> 9 <xsl:import href="/opt/docbook-xsl-1.69.1/xhtml/manifest.xsl"/> 10 10 11 11 … … 26 26 Voila! (Man I hope we can do this better in XSLT 2.0) --> 27 27 28 <xsl:import href="/ usr/share/sgml/docbook/stylesheet/xsl/nwalsh/xhtml/profile-chunk-code.xsl"/>28 <xsl:import href="/opt/docbook-xsl-1.69.1/xhtml/profile-chunk-code.xsl"/> 29 29 30 30 <!-- Including our others customized chunks templates --> traduc/trunk/sgml/stylesheets/pg-chunked2.xsl
r232 r259 6 6 7 7 <!-- We use XHTML --> 8 <xsl:import href="/ usr/share/sgml/docbook/stylesheet/xsl/nwalsh/xhtml/docbook.xsl"/>8 <xsl:import href="/opt/docbook-xsl-1.69.1/xhtml/docbook.xsl"/> 9 9 <xsl:param name="chunker.output.encoding" select="'ISO-8859-15'"/> 10 10 traduc/trunk/sgml/stylesheets/pg-nochunks.xsl
r242 r259 6 6 7 7 <!-- We use XHTML --> 8 <xsl:import href="/ usr/share/sgml/docbook/stylesheet/xsl/nwalsh/xhtml/profile-docbook.xsl"/>8 <xsl:import href="/opt/docbook-xsl-1.69.1/xhtml/profile-docbook.xsl"/> 9 9 10 10 <!-- Fix encoding issues with default UTF-8 output of the xhtml stylesheet --> traduc/trunk/sgml/stylesheets/pg-pdf.xsl
r233 r259 5 5 version="1.0"> 6 6 <!-- We use FO and FOP as the processor --> 7 <xsl:import href="/ usr/share/sgml/docbook/stylesheet/xsl/nwalsh/fo/docbook.xsl"/>7 <xsl:import href="/opt/docbook-xsl-1.69.1/fo/docbook.xsl"/> 8 8 <xsl:param name="fop.extensions" select="1"/> 9 9 <xsl:param name="draft.mode" select="'no'"/> … … 22 22 <!-- Including callout images --> 23 23 <xsl:param name="callout.graphics.path" 24 select="'/ usr/share/xml/docbook/stylesheet/nwalsh/images/callouts/'"/>24 select="'/opt/docbook-xsl-1.69.1/images/callouts/'"/> 25 25 26 26 <!-- Wrapping --> traduc/trunk/sgml/stylesheets/pg-profile.xsl
r232 r259 5 5 6 6 <!-- Include common profiling stylesheet --> 7 <xsl:import href="/ usr/share/sgml/docbook/stylesheet/xsl/nwalsh/profiling/profile-mode.xsl"/>7 <xsl:import href="/opt/docbook-xsl-1.69.1/profiling/profile-mode.xsl"/> 8 8 9 9 <!-- Generate DocBook instance with correct DOCTYPE -->

