diff options
| author | Gabor Kovesdan <gabor@FreeBSD.org> | 2013-05-29 19:21:25 +0000 |
|---|---|---|
| committer | Gabor Kovesdan <gabor@FreeBSD.org> | 2013-05-29 19:21:25 +0000 |
| commit | c94df498edf3ce9d4cd0d83db7d187fe18649340 (patch) | |
| tree | 23a24a2ce4f9696c24c621484d38e705bccf292a /ru_RU.KOI8-R/share | |
| parent | 54acab8406fb30a96bd25c4d4baf06876de674e4 (diff) | |
- Drop SGML catalogs
- Drop DSSSL stylesheets
- Drop some DSSSL-related comments and Makefile code
Notes
svn path=/projects/db5/; revision=41774
Diffstat (limited to 'ru_RU.KOI8-R/share')
| -rw-r--r-- | ru_RU.KOI8-R/share/xml/catalog | 2 | ||||
| -rw-r--r-- | ru_RU.KOI8-R/share/xml/freebsd.dsl | 82 |
2 files changed, 0 insertions, 84 deletions
diff --git a/ru_RU.KOI8-R/share/xml/catalog b/ru_RU.KOI8-R/share/xml/catalog deleted file mode 100644 index 2422c1740c..0000000000 --- a/ru_RU.KOI8-R/share/xml/catalog +++ /dev/null @@ -1,2 +0,0 @@ -PUBLIC "-//FreeBSD//DOCUMENT DocBook Stylesheet//EN" - "freebsd.dsl" diff --git a/ru_RU.KOI8-R/share/xml/freebsd.dsl b/ru_RU.KOI8-R/share/xml/freebsd.dsl deleted file mode 100644 index 4ae7a0880a..0000000000 --- a/ru_RU.KOI8-R/share/xml/freebsd.dsl +++ /dev/null @@ -1,82 +0,0 @@ -<!-- - The FreeBSD Russian Documentation Project - - $FreeBSD$ - $FreeBSDru: frdp/doc/ru_RU.KOI8-R/share/xml/freebsd.dsl,v 1.18 2006/08/08 07:49:39 marck Exp $ - - Original revision: r26925 ---> - -<!DOCTYPE style-sheet PUBLIC "-//James Clark//DTD DSSSL Style Sheet//EN" [ -<!ENTITY freebsd.dsl PUBLIC "-//FreeBSD//DOCUMENT DocBook Language Neutral Stylesheet//EN" CDATA DSSSL> -]> - -<style-sheet> - <style-specification use="docbook"> - <style-specification-body> - - <!-- Convert " ... " to '' ... '' in the HTML output. --> - (element quote - (make sequence - (literal "''") - (process-children) - (literal "''"))) - - <!-- Fix a problem with the Russian localization (dbl1ru.dsl). --> - (define (local-ru-label-title-sep) - (list - (list (normalize "warning") ": ") - (list (normalize "caution") ": ") - )) - -;; Fix punctuation for authors list in russian localization (original -;; version is in share/xml/docbook/dsssl/modular/common/dbcommon.dsl). - -(define (author-list-string #!optional (author (current-node))) - - (let* ((author-node-list (select-elements - (descendants - (ancestor (normalize "authorgroup") author)) - (normalize "author"))) - (corpauthor-node-list (select-elements - (descendants - (ancestor (normalize "authorgroup") author)) - (normalize "corpauthor"))) - (othercredit-node-list (select-elements - (descendants - (ancestor (normalize "authorgroup") author)) - (normalize "othercredit"))) - (editor-node-list (select-elements - (descendants - (ancestor (normalize "authorgroup"))) - (normalize "editor"))) - (author-count (if (have-ancestor? (normalize "authorgroup") author) - (+ (node-list-length author-node-list) - (node-list-length corpauthor-node-list) - (node-list-length othercredit-node-list) - (node-list-length editor-node-list)) - 1)) - (this-count (if (have-ancestor? (normalize "authorgroup") author) - (+ (node-list-length (preced author)) 1) - 1))) - (string-append - - (author-string author) - - (if (> author-count 1) - (if (> (- author-count this-count) 1) - (gentext-listcomma) - (if (= (- author-count this-count) 1) - (gentext-lastlistcomma) - "")) - "") - (if (and (> author-count 1) - (not (last-sibling? author))) - " " - "")))) - - </style-specification-body> - </style-specification> - - <external-specification id="docbook" document="freebsd.dsl"> -</style-sheet> |
