Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

cvs: phpdoc /xsl common.xsl
techtonik		Sun Oct 31 18:53:53 2004 EDT

Modified files:
/phpdoc/xsl	common.xsl
Log:
do not repeat default DocBook XSL settings (year and label)
turn off separators on reference and refentry pages

http://cvs.php.net/diff.php/phpdoc/...10&r2=1.11&ty=u
Index: phpdoc/xsl/common.xsl
diff -u phpdoc/xsl/common.xsl:1.10 phpdoc/xsl/common.xsl:1.11
--- phpdoc/xsl/common.xsl:1.10	Sun Feb 22 06:02:02 2004
+++ phpdoc/xsl/common.xsl	Sun Oct 31 18:53:48 2004
@@ -3,6 +3,8 @@

common.xsl: Common customizations for all formats

+  $Id: common.xsl,v 1.11 2004/10/31 23:53:48 techtonik Exp $
+
-->
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
@@ -11,27 +13,29 @@
<!-- Set the LANGUAGE for autom. generated text -->
<xsl:param name="l10n.gentext.language" select="/book/@lang"/>

-<!-- temporary till also this is in std.-distrib. -->
-<xsl:template match="titleabbrev"></xsl:template>
-
-<!-- Start NUMBERING (e.g. chapters) in every part -->
-<xsl:param name="label.from.part" select="'0'"/>
-
-<!-- Colorize background for programlisting and screens -->
+<!-- Colorize background for programlisting and screens
+     will go into CSS probably in next DocBook version -->
<xsl:param name="shade.verbatim" select="1"/>

-<!-- REFENTRIES: make functionnames the title -->
+
+<!-- *************** TUNE FUNCTION REFERENCE PAGES **************** -->
+<!-- Generate title from function name instead of word "NAME" in title -->
<xsl:param name="refentry.generate.name" select="'0'"/>
-<xsl:param name="refentry.generate.title" select="1"/>
+<xsl:param name="refentry.generate.title" select="'1'"/>
+
+<!-- Turn off separators on reference and refentry pages -->
+<xsl:param name="refentry.separator" select="'0'"/>
+<xsl:template name="reference.titlepage.separator"/>
+<!-- FIX: temporary till also this is in std.-distrib. -->
+<xsl:template match="reference/titleabbrev"/>
+

<!-- Load VERSION INFORMATION into variable -->
<xsl:param name="version" select="document('version.xml')/versions"/>

-<!-- Make copyright year ranges (like 1999-2004) -->
-<xsl:param name="make.year.ranges" select="1"/>

-<!-- PROTOTYPES: PHP-Version without semicolon, etc.
-     note: methodparams are separated in html-common and fo -->
+<!-- We do not want semicolon at the end of prototype and our own style
+     of square brackets for optional parameters -->
<xsl:template match="methodsynopsis">
<xsl:apply-templates />
</xsl:template>

Report this thread to moderator Post Follow-up to this message
Old Post
Anatoly Techtonik
11-01-04 01:55 AM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

PHP Documentation archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 05:38 AM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.