Changeset 0f27fb5 for stylesheets
- Timestamp:
- 08/25/2024 07:23:17 AM (4 weeks ago)
- Branches:
- 12.2, lazarus, trunk
- Children:
- dadb1c9f
- Parents:
- ebf46bd4
- git-author:
- Andrew Kreimer <algonell@…> (08/24/2024 07:26:33 PM)
- git-committer:
- Xi Ruoyao <xry111@…> (08/25/2024 07:23:17 AM)
- Location:
- stylesheets
- Files:
-
- 13 edited
Legend:
- Unmodified
- Added
- Removed
-
stylesheets/lfs-xsl/chunkfast.xsl
rebf46bd4 r0f27fb5 9 9 10 10 <!-- Top-level chunked code for fast processing. 11 Import standar tcustomized chunk code.11 Import standard customized chunk code. 12 12 Replaces {docbook-xsl}/xhtml/chunkfast.xsl 13 13 -
stylesheets/lfs-xsl/common.xsl
rebf46bd4 r0f27fb5 37 37 38 38 <!-- indexterm: 39 Dropping unneeded anchors and fo:wrap er elemments. -->39 Dropping unneeded anchors and fo:wrapper elemments. --> 40 40 <!-- The original templates are in {docbook-xsl}/{xhtml,fo}/index.xsl --> 41 41 <xsl:template match="indexterm"/> … … 112 112 <xsl:when test="$section.autolabel != 0"> 113 113 <xsl:choose> 114 <!-- If the first sect2 isn't numbered, renumber the remaini g sections -->114 <!-- If the first sect2 isn't numbered, renumber the remaining sections --> 115 115 <xsl:when test="string-length(../sect2[1]/title) = 0"> 116 116 <xsl:variable name="totalsect2"> -
stylesheets/lfs-xsl/lfs.css
rebf46bd4 r0f27fb5 168 168 } 169 169 170 /* Except for the f orst page (TOC), where the bottom is the only170 /* Except for the first page (TOC), where the bottom is the only 171 171 place where navigation is displayed. */ 172 172 -
stylesheets/lfs-xsl/nochunks.xsl
rebf46bd4 r0f27fb5 84 84 85 85 <!-- The CSS Stylesheet: 86 Note: there is some dif erences with lfs.css code releated86 Note: there is some differences with lfs.css code related 87 87 to h* values, admonitions and no navigational code. --> 88 88 <!-- The original template is in {docbook-xsl}/xhtml/docbook.xsl --> -
stylesheets/lfs-xsl/pdf.xsl
rebf46bd4 r0f27fb5 28 28 <xsl:include href="pdf/lfs-xref.xsl"/> 29 29 30 <!-- Activating FOP-1 extensions. We use FOP-0.93 as the FO proces or. -->30 <!-- Activating FOP-1 extensions. We use FOP-0.93 as the FO processor. --> 31 31 <xsl:param name="fop1.extensions" select="1"/> 32 32 33 <!-- De sactivate draft mode at all. -->33 <!-- Deactivate draft mode at all. --> 34 34 <xsl:param name="draft.mode" select="'no'"/> 35 35 … … 93 93 FOP-0.93 supports now @keep-*.*, @orphans, and @widows attributes, 94 94 that solves several page break issues. 95 It also supports the soft page break proces ing instruction included95 It also supports the soft page break processing instruction included 96 96 in the DocBook stylesheets. 97 97 But some times we may need hard page breaks for final book versions. --> -
stylesheets/lfs-xsl/pdf/lfs-lists.xsl
rebf46bd4 r0f27fb5 40 40 41 41 <!-- varlistentry mode block: 42 Addibg a bullet, left align ament, and @kepp-*.* attributes43 for packages and pa ches list. -->42 Addibg a bullet, left alignment, and @kepp-*.* attributes 43 for packages and patches list. --> 44 44 <!-- The original template is in {docbook-xsl}/fo/list.xsl --> 45 45 <xsl:template match="varlistentry" mode="vl.as.blocks"> … … 136 136 137 137 <!-- simplelist: 138 Self-made template. Wrap it into a fo:block and process member child s.138 Self-made template. Wrap it into a fo:block and process member child. 139 139 If @type is specified, the original templates will be used. 140 140 NOTE: when using type='horiz' or type='vert', FOP-0.93 will complaints -
stylesheets/lfs-xsl/pdf/lfs-mixed.xsl
rebf46bd4 r0f27fb5 6 6 7 7 <!-- This stylesheet contains misc params, attribute sets and templates 8 for output format ing.8 for output formatting. 9 9 This file is for that templates that don't fit in other files. --> 10 10 … … 103 103 104 104 <!-- literal: 105 Be sure that literal will use al lways normal font weight. -->105 Be sure that literal will use always normal font weight. --> 106 106 <!-- The original template is in {docbook-xsl}/fo/inline.xsl --> 107 107 <xsl:template match="literal"> … … 114 114 Added hyphenate-url support to classname, exceptionname, interfacename, 115 115 methodname, computeroutput, constant, envar, filename, function, code, 116 literal, option, prom t, systemitem, varname, sgmltag, tag, and uri -->116 literal, option, prompt, systemitem, varname, sgmltag, tag, and uri --> 117 117 <!-- The original template is in {docbook-xsl}/fo/inline.xsl --> 118 118 <xsl:template name="inline.monoseq"> -
stylesheets/lfs-xsl/pdf/lfs-pagesetup.xsl
rebf46bd4 r0f27fb5 177 177 178 178 <!-- chapter title: 179 Small font size and left align ament. -->179 Small font size and left alignment. --> 180 180 <!-- The original template is in {docbook-xsl}/fo/titlepage.templates.xsl --> 181 181 <xsl:template match="title" mode="chapter.titlepage.recto.auto.mode"> -
stylesheets/lfs-xsl/xhtml/lfs-mixed.xsl
rebf46bd4 r0f27fb5 5 5 version="1.0"> 6 6 7 <!-- This stylesheet contains misc templates for output format ing.7 <!-- This stylesheet contains misc templates for output formatting. 8 8 This file is for that templates that don't fit in other files 9 and that not afect the chunk algorithm. -->9 and that don't affect the chunk algorithm. --> 10 10 11 11 <!-- Individual elements templates --> … … 188 188 189 189 <!-- para/simplelist: 190 Self-made template. Add a line break and process the child s.190 Self-made template. Add a line break and process the child. 191 191 If @type is specified, the original templates should be used, 192 192 but not tested. --> … … 209 209 210 210 211 <!-- Named format ing templates -->211 <!-- Named formatting templates --> 212 212 213 213 <!-- Body attributes: -
stylesheets/lfs-xsl/xhtml/lfs-sections.xsl
rebf46bd4 r0f27fb5 146 146 147 147 <!-- sect1: 148 When there is a role att ibute, use it as the class value.148 When there is a role attribute, use it as the class value. 149 149 Process the SVN keywords found in sect1info as a footnote. 150 150 Output title before the containing <div> so that the title … … 172 172 173 173 <!-- sect2: 174 When there is a role att ibute, use it as the class value.174 When there is a role attribute, use it as the class value. 175 175 Removed unused code. --> 176 176 <!-- The original template is in {docbook-xsl}/xhtml/sections.xsl --> … … 196 196 197 197 <!-- sect3: treat as sect2 (for Python and Perl modules 198 When there is a role att ibute, use it as the class value.198 When there is a role attribute, use it as the class value. 199 199 Removed unused code. --> 200 200 <!-- The original template is in {docbook-xsl}/xhtml/sections.xsl --> -
stylesheets/lfs-xsl/xhtml/lfs-toc.xsl
rebf46bd4 r0f27fb5 66 66 67 67 <!-- toc.line: 68 Adding the h* tags and dropping unne ded links.68 Adding the h* tags and dropping unneeded links. 69 69 This template is a full re-made version of the original one. --> 70 70 <!-- The original template is in {docbook-xsl}/xhtml/autotoc.xsl --> -
stylesheets/patcheslist.xsl
rebf46bd4 r0f27fb5 57 57 58 58 <xsl:template match="//ulink"> 59 <!-- Match only local patches links and skip duplicated URLs split tedfor PDF output-->59 <!-- Match only local patches links and skip duplicated URLs split for PDF output--> 60 60 <xsl:if test="contains(@url, '.patch') and contains(@url, '&patch-root;') 61 61 and not(ancestor-or-self::*/@condition = 'pdf')"> -
stylesheets/wget-list.xsl
rebf46bd4 r0f27fb5 51 51 <!-- The next strings need be revised periodically to add missing 52 52 files or to skip false positives. Skip also possible 53 duplicated URLs that may be split tedfor PDF output -->53 duplicated URLs that may be split for PDF output --> 54 54 <xsl:if test="(contains(@url, '.gz') or contains(@url, '.bz2') 55 55 or contains(@url, '.tgz') or contains(@url, '.tar') … … 74 74 <!-- The next strings need be revised periodically to add missing 75 75 files or to skip false positives. Skip also possible 76 duplicated URLs that may be split tedfor PDF output -->76 duplicated URLs that may be split for PDF output --> 77 77 <xsl:if test="(contains(@url, '.gz') or contains(@url, '.bz2') 78 78 or contains(@url, '.tgz') or contains(@url, '.tar')
Note:
See TracChangeset
for help on using the changeset viewer.