pkgsrc/textproc/docbook-xsl/Makefile

43 lines
1.2 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.31 2005/12/05 20:51:02 rillig Exp $
#
Update to 1.69.1: Changes to xsl/* | 2005-08-11 Michael Smith <xmldoc@users.sourceforge.net> | | * RELEASE-NOTES.xml: Updated for 1.69.1 release. | | * VERSION: Version 1.69.1 released. | | 2005-07-19 Michael Smith <xmldoc@users.sourceforge.net> | | * Makefile: New file. | Changes to xsl/fo/* | 2005-08-09 Robert Stayton <bobstayton@users.sourceforge.net> | | * autoidx.xsl: Fix bug 1247565: missing attribute set on | symbol entries. | | * block.xsl, ebnf.xsl, table.xsl, titlepage.xsl: fo:table-body | and fo:table-header now set start-indent and end-indent to | zero to reset the table reference areas. | | 2005-08-05 Jirka Kosek <kosek@users.sourceforge.net> | | * autoidx.xsl: Fixed bug #1244478. Indexterms in informal | objects are now getting correct page reference. | | 2005-07-27 Robert Stayton <bobstayton@users.sourceforge.net> | | * pagesetup.xsl: Fixed starting page number for first part | element in single-sided output. | Changes to xsl/html/* | 2005-08-11 Michael Smith <xmldoc@users.sourceforge.net> | | * annotations.xsl: Set default value of annotation.support | param to 0 (off). Also, wrapped contents of the | apply-annotations template in a "if" statement, so that | those contents get evaluated only if annotation.support is | non-zero. The reason for these changes was a report from | Doug du Boulay (on the docbook-apps list) that processing of | the apply-annotations template was consuming 75% of the | total processing time for a 2.5Mb file. Anatoly Techtonik | followed with a comment that with 1.69.0, "Compiling took | about full working day on 12Mb file while earlier it was | about 2-4 hours". | | 2005-08-04 Robert Stayton <bobstayton@users.sourceforge.net> | | * chunk-code.xsl, chunkfast.xsl: Add cf to | exclude-result-prefixes because it is for internal use only. | Changes to xsl/manpages/* | 2005-08-11 Michael Smith <xmldoc@users.sourceforge.net> | | * lists.xsl: Fixed check for first following siblings in | lists. | | 2005-08-09 Michael Smith <xmldoc@users.sourceforge.net> | | * block.xsl, lists.xsl, utility.xsl: Output .sp macro in mixed | blocks where we were outputting completely blank line | before. Thanks (again) to Costin Stroie for pointing out the | problems and providing a test case. Also, corrected the test | for checking first preceding siblings of text nodes in mixed | blocks (the test is used for determining whether or not we | need to insert a line break before those nodes.) | | 2005-08-05 Michael Smith <xmldoc@users.sourceforge.net> | | * utility.xsl: Fixed bug that caused literal .sp to show up in | output. (Thanks to Costin Stroie for reporting). WARNING: | One of the consequences of this change is that the | stylesheet no longer generates spaces at the end of certain | lines. I had it doing that as a sort of hack to prevent | certain kinds of problems in output. It seems like the hack | my no longer be necessary. But if I am wrong, this change | may cause spaces to show up at the beginning of some lines | in "mixed content". If you see those, then this change has | introduced a regression, and I will need to go back and | figure out the right way to fix it (instead of the kludgy | way I was doing it before. Also, instances like the | following were showing up in some cases. .PP .sp That is, a | .PP macro immediately followed by a .sp macro. I can think | of no good read to ever generate that, and I am not sure why | it is getting generated. So I have taked the lazy way out | and caused the stylesheet to now strip out the .sp from all | such instances, leaving just the .PP | | 2005-07-24 Michael Smith <xmldoc@users.sourceforge.net> | | * block.xsl, lists.xsl, utility.xsl: New file. | | * block.xsl, lists.xsl, utility.xsl: Fixed handling of lists | with titles. Also reworked handling of space around lists. | (Closes #1243003 and 1241371). Among other things, this | change "normalizes" line space before and after verbatims. | For most cases, the stylesheet now attempts to ensure each | verbatim is preceded and followed by exactly one line of | space. | Changes to xsl/params/* | 2005-08-11 Michael Smith <xmldoc@users.sourceforge.net> | | * annotation.support.xml: Set default value of | annotation.support param to 0 (off). Also, wrapped contents | of the apply-annotations template in a "if" statement, so | that those contents get evaluated only if annotation.support | is non-zero. The reason for these changes was a report from | Doug du Boulay (on the docbook-apps list) that processing of | the apply-annotations template was consuming 75% of the | total processing time for a 2.5Mb file. Anatoly Techtonik | followed with a comment that with 1.69.0, "Compiling took | about full working day on 12Mb file while earlier it was | about 2-4 hours". | | 2005-08-06 <balls@users.sourceforge.net> | | * pages.template.xml: New file. | | 2005-08-05 Michael Smith <xmldoc@users.sourceforge.net> | | * man.string.subst.map.xml: Kruft removal. | | * man.string.subst.map.xml: Fixed bug that caused literal .sp | to show up in output. (Thanks to Costin Stroie for | reporting). WARNING: One of the consequences of this change | is that the stylesheet no longer generates spaces at the end | of certain lines. I had it doing that as a sort of hack to | prevent certain kinds of problems in output. It seems like | the hack my no longer be necessary. But if I am wrong, this | change may cause spaces to show up at the beginning of some | lines in "mixed content". If you see those, then this change | has introduced a regression, and I will need to go back and | figure out the right way to fix it (instead of the kludgy | way I was doing it before. Also, instances like the | following were showing up in some cases. .PP .sp That is, a | .PP macro immediately followed by a .sp macro. I can think | of no good read to ever generate that, and I am not sure why | it is getting generated. So I have taked the lazy way out | and caused the stylesheet to now strip out the .sp from all | such instances, leaving just the .PP | | 2005-07-28 Robert Stayton <bobstayton@users.sourceforge.net> | | * part.autolabel.xml: Changed default part numbering format | back to 'I'. | | 2005-07-24 Michael Smith <xmldoc@users.sourceforge.net> | | * man.string.subst.map.xml: New file. | | * man.string.subst.map.xml: Fixed handling of lists with | titles. Also reworked handling of space around lists. | (Closes #1243003 and 1241371). Among other things, this | change "normalizes" line space before and after verbatims. | For most cases, the stylesheet now attempts to ensure each | verbatim is preceded and followed by exactly one line of | space. | | 2005-07-20 Michael Smith <xmldoc@users.sourceforge.net> | | * appendix.autolabel.xml: New file. | | 2005-07-20 Norman Walsh <nwalsh@users.sourceforge.net> | | * appendix.autolabel.xml: Make appendixes use upperalpha | numeration | Changes to xsl/wordml/* | 2005-08-06 <balls@users.sourceforge.net> | | * docbook-pages.xsl, pages-normalise.xsl, param.ent, | param.xweb, template-pages.xml: Added support for Apple | Pages application |
2005-08-13 17:21:32 +02:00
DISTNAME= docbook-xsl-1.69.1
PKGREVISION= 1
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=docbook/}
EXTRACT_SUFX= .tar.bz2
2003-07-18 00:50:55 +02:00
MAINTAINER= jmmv@NetBSD.org
HOMEPAGE= http://docbook.sourceforge.net/
COMMENT= Docbook XSL modular stylesheet
DEPENDS+= docbook-xml>=4.2:../../textproc/docbook-xml
2004-02-25 12:48:15 +01:00
USE_LANGUAGES= # empty
NO_BUILD= YES
NO_CONFIGURE= YES
DOCDIR= ${PREFIX}/share/doc/docbook-xsl
EGDIR= ${PREFIX}/share/examples/docbook-xsl
XSLDIR= ${PREFIX}/share/xsl/docbook
XSLMODS= common extensions fo html htmlhelp images javahelp \
Update to 1.67.0 from 1.65.0: Release 1.67.0 * A number of important bug fixes, documented in WhatsNew. * Added Saxon8 extensions * Enabled dbfo table-width on entrytbl in FO output * Added support for role=strong on emphasis in FO output * Added new FO parameter hyphenate.verbatim that can be used to turn on "intelligent" wrapping of verbatim environments. * Replaced all <tt></tt> output with <code></code> * Changed admon.graphic.width template to a mode so that different admonitions can have different graphical widths. * Deprecated the HTML shade.verbatim parameter (use CSS instead) * Wrapped ToC refentrytitle/refname and refpurpose in span with class values. This makes it possible to style them using a CSS stylesheet. * Use strong/em instead of b/i in HTML output * Added support for converting Emphasis to groff italic and Emphasis role= 'bold' to bold. Controlled by emphasis.propagates.style param, but not documented yet using litprog system. Will do that next (planning to add some other parameter-controllable options for hyphenation and handling of line spacing). * callout.graphics.number.limit.xml param: Changed the default from 10 to 15. * verbatim.properties: Added hyphenate=false * Saxon and Xalan Text.java extensions: Added support for URIResolver() on insertfile href's * Added generated RELEASE-NOTES.txt file. * Added INSTALL file (executable file for generating catalog.xml) * Removed obsolete tools directory from package Release 1.66.1 * A number of important bug fixes, documented in WhatsNew. * Now xml:base attributes that are generated by an XInclude processor are resolved for image files. * Rewrote olink templates to support several new features. o Extended full olink support to FO output. o Add support for xrefstyle attribute in olinks. o New parameters to support new olink features: insert.olink.page.number, insert.olink.pdf.frag, olink.debug, olink.lang.fallback.sequence, olink.properties, prefer.internal.olink. See the reference page for each parameter for more information. * Added index.on.type parameter for new type attribute introduced in DocBook 4.3 for indexterms and index. This allows you to create multiple indices containing different categories of entries. For users of 4.2 and earlier, you can use the new parameter index.on.role instead. * Added new section.autolabel.max.depth parameter to turn off section numbering below a certain depth. This permits you to number major section levels and leave minor section levels unnumbered. * Added footnote.sep.leader.properties attribute set to format the line separating footnotes in printed output. * Added parameter img.src.path as a prefix to HTML img src attributes. The prefix is added to whatever path is already generated by the stylesheet for each image file. * Added new attribute-sets informalequation.properties, informalexample.properties, informalfigure.properties, and informaltable.properties, so each such element type can be formatted individually if needed. * Add component.label.includes.part.label parameter to add any part number to chapter, appendix and other component labels when the label.from.part parameter is nonzero. This permits you to distinguish multiple chapters with the same chapter number in cross references and the TOC. * Added chunk.separate.lots parameter for HTML output. This parameter lets you generate separate chunk files for each LOT (list of tables, list of figures, etc.). * Added several table features: o Added table.table.properties attribute set to add properties to the fo:table element. o Added placeholder templates named table.cell.properties and table.cell.block.properties to enable adding properties to any fo:table-cell or the cell's fo:block, respectively. These templates are a start for implementing table styles. * Added new attribute set component.title.properties for easy modifications of component's title formatting in FO output. * Added Saxon support for an encoding attribute on the textdata element. Added new parameter textdata.default.encoding which specifies encoding when encoding attribute on textdata is missing. * Template label.this.section now controls whole section label, not only sub-label which corresponds to particular label. Former behaviour was IMHO bug as it was not usable. * Formatting in titleabbrev for TOC and headers is preserved when there are no hotlink elements in the title. Formerly the title showed only the text of the title, no font changes or other markup. * Added intial.page.number template to set the initial-page-number property for page sequences in print output. Customizing this template lets you change when page numbering restarts. This is similar to the format.page.number template that lets you change how the page number formatting changes in the output. * Added force.page.count template to set the force-page-count property for page sequences in print output. This is similar to the format.page.number template. * Sort language for localized index sorting in autoidx-ng.xsl is now taken from document lang, not from system environment. * Numbering and formatting of normal and ulink footnotes (if turned on) has been unified. Now ulink footnotes are mixed in with any other footnotes. * Added support for renderas attribute in section and sect1 et al. This permits you to render a given section title as if it were a different level. * Added support for label attribute in footnote to manually supply the footnote mark. * Added support for DocBook 4.3 corpcredit element. * Added support for a dbfo keep-together PI for formal objects (table, figure, example, equation, programlisting). That permits a formal object to be kept together if it is not already, or to be broken if it is very long and the default keep-together is not appropriate. * For graphics files, made file extension matching case insensitive, and updated the list of graphics extensions. * Allow calloutlist to have block content before the first callout * Added dbfo-need processing instruction to provide soft page breaks. * Added implementation of existing but unused default.image.width parameter for graphics. * Support DocBook NG tag inline element. * It appears that XEP now supports Unicode characters in bookmarks. There is no further need to strip accents from characters. * Make segmentedlist HTML markup more semantic and available to CSS styles. * Added user.preroot placeholder template to permit xsl-stylesheet and other PIs and comments to be output before the HTML root element. * Non-chunked legalnotice now gets an <a name="id"> element in HTML output so it can be referenced with xref or link. * In chunked HTML output, changed link rel="home" to rel="start", and link rel="previous" to rel="prev", per W3C HTML 4.01 spec. * Added several patches to htmlhelp from W. Borgert * Added Bosnian locale file as common/bs.xml.
2004-11-09 22:20:49 +01:00
lib manpages params profiling xhtml
XML_CATALOGS= ${XSLDIR}/catalog
do-install:
${INSTALL_DATA_DIR} ${EGDIR}
cd ${WRKSRC}/template && ${PAX} -rw -pp -pm . ${EGDIR}
${INSTALL_DATA_DIR} ${XSLDIR}
${INSTALL_DATA} ${WRKSRC}/VERSION ${XSLDIR}
@for d in ${XSLMODS}; do \
${ECHO} "${INSTALL_DATA_DIR} ${XSLDIR}/$$d"; \
${ECHO} "cd ${WRKSRC} && ${PAX} -rw -pp -pm $$d ${XSLDIR}/"; \
cd ${WRKSRC} && ${PAX} -rw -pp -pm $$d ${XSLDIR}/; \
done
${RM} ${XSLDIR}/common/pi.xsl.orig
${INSTALL_DATA} ${FILESDIR}/catalog ${XSLDIR}/catalog
.include "../../textproc/xmlcatmgr/catalogs.mk"
.include "../../mk/bsd.pkg.mk"