diff options
author | Xin LI <delphij@FreeBSD.org> | 2005-07-09 17:57:39 +0000 |
---|---|---|
committer | Xin LI <delphij@FreeBSD.org> | 2005-07-09 17:57:39 +0000 |
commit | 9258ed4e6231b3fe725be6cfd7d0d3d2315b3a63 (patch) | |
tree | aa96b4c34a8b9f0bd92068c2dcad6730cdaf7459 /zh_CN.GB2312/share/sgml/freebsd.dsl | |
parent | 492ebedeaf30fcd3b20a6713bbe619e1368d8d70 (diff) |
Notes
Diffstat (limited to 'zh_CN.GB2312/share/sgml/freebsd.dsl')
-rw-r--r-- | zh_CN.GB2312/share/sgml/freebsd.dsl | 176 |
1 files changed, 135 insertions, 41 deletions
diff --git a/zh_CN.GB2312/share/sgml/freebsd.dsl b/zh_CN.GB2312/share/sgml/freebsd.dsl index e18debc982..583b2f0f13 100644 --- a/zh_CN.GB2312/share/sgml/freebsd.dsl +++ b/zh_CN.GB2312/share/sgml/freebsd.dsl @@ -3,6 +3,10 @@ <!DOCTYPE style-sheet PUBLIC "-//James Clark//DTD DSSSL Style Sheet//EN" [ <!ENTITY freebsd.dsl PUBLIC "-//FreeBSD//DOCUMENT DocBook Language Neutral Stylesheet//EN" CDATA DSSSL> <!ENTITY % lang.zhcn.dsssl "IGNORE"> +<!ENTITY % zhcn.words + PUBLIC "-//Norman Walsh//ENTITIES DocBook Stylesheet Localization//ZHCN" + "dbl1zhcn.ent"> +%zhcn.words; ]> <style-sheet> @@ -13,11 +17,6 @@ ]]> <!-- Convert " ... " to “ ... ” in the HTML output. --> - (element quote - (make sequence - (literal "“") - (process-children) - (literal "”"))) <!-- Work around the issue that the current DSL doesn't translate --> (define (gentext-en-nav-prev prev) (make sequence (literal "上一页"))) @@ -29,51 +28,146 @@ (make sequence (literal "首页"))) (define (en-xref-strings) (list (list (normalize "appendix") (if %chapter-autolabel% - "附录 %n" - "附录 %t")) + "附录 %n" + "附录 %t")) (list (normalize "article") (string-append %gentext-en-start-quote% - "%t" - %gentext-en-end-quote%)) - (list (normalize "bibliography") "%t") - (list (normalize "book") "%t") + "%t" + %gentext-en-end-quote%)) + (list (normalize "bibliography") "%t") + (list (normalize "book") "%t") (list (normalize "chapter") (if %chapter-autolabel% - "第 %n 章" - "%t 这章")) - (list (normalize "equation") "公式 %n") - (list (normalize "example") "例 %n") - (list (normalize "figure") "图 %n") - (list (normalize "glossary") "%t") - (list (normalize "index") "%t") - (list (normalize "listitem") "%n") - (list (normalize "part") "第 %n 部分") - (list (normalize "preface") "%t") - (list (normalize "procedure") "过程 %n, %t") - (list (normalize "reference") "参考文献 %n, %t") + "第 %n 章" + "%t 这章")) + (list (normalize "equation") "公式 %n") + (list (normalize "example") "例 %n") + (list (normalize "figure") "图 %n") + (list (normalize "glossary") "%t") + (list (normalize "index") "%t") + (list (normalize "listitem") "%n") + (list (normalize "part") "第 %n 部分") + (list (normalize "preface") "%t") + (list (normalize "procedure") "过程 %n, %t") + (list (normalize "reference") "参考文献 %n, %t") (list (normalize "section") (if %section-autolabel% - "第 %n 节" - "%t 小节")) + "第 %n 节" + "%t 小节")) (list (normalize "sect1") (if %section-autolabel% - "第 %n 节" - "%t 小节")) + "第 %n 节" + "%t 小节")) (list (normalize "sect2") (if %section-autolabel% - "第 %n 节" - "%t 小节")) + "第 %n 节" + "%t 小节")) (list (normalize "sect3") (if %section-autolabel% - "第 %n 节" - "%t 小节")) + "第 %n 节" + "%t 小节")) (list (normalize "sect4") (if %section-autolabel% - "第 %n 节" - "%t 小节")) + "第 %n 节" + "%t 小节")) (list (normalize "sect5") (if %section-autolabel% - "第 %n 节" - "%t 小节")) + "第 %n 节" + "%t 小节")) (list (normalize "simplesect") (if %section-autolabel% - "第 %n 节" - "%t 小节")) - (list (normalize "sidebar") "提示 %t") - (list (normalize "step") "第 %n 步") - (list (normalize "table") "表 %n"))) - (define %html-header-tags% '(("META" ("HTTP-EQUIV" "Content-Type") ("CONTENT" "text/html; charset=GB2312")))) + "第 %n 节" + "%t 小节")) + (list (normalize "sidebar") "提示 %t") + (list (normalize "step") "第 %n 步") + (list (normalize "table") "表 %n"))) + (define (en-element-name) + (list (list (normalize "abstract") "&Abstract;") + (list (normalize "answer") "&Answer;") + (list (normalize "appendix") "&Appendix;") + (list (normalize "article") "&Article;") + (list (normalize "bibliography") "&Bibliography;") + (list (normalize "book") "&Book;") + (list (normalize "calloutlist") "") + (list (normalize "caution") "&Caution;") + (list (normalize "chapter") "&numbercn;") + (list (normalize "copyright") "&Copyright;") + (list (normalize "dedication") "&Dedication;") + (list (normalize "edition") "&Edition;") + (list (normalize "equation") "&Equation;") + (list (normalize "example") "&Example;") + (list (normalize "figure") "&Figure;") + (list (normalize "glossary") "&Glossary;") + (list (normalize "glosssee") "&GlossSee;") + (list (normalize "glossseealso") "&GlossSeeAlso;") + (list (normalize "important") "&Important;") + (list (normalize "index") "&Index;") + (list (normalize "colophon") "&Colophon;") + (list (normalize "setindex") "&SetIndex;") + (list (normalize "isbn") "&isbn;") + (list (normalize "legalnotice") "&LegalNotice;") + (list (normalize "msgaud") "&MsgAud;") + (list (normalize "msglevel") "&MsgLevel;") + (list (normalize "msgorig") "&MsgOrig;") + (list (normalize "note") "&Note;") + (list (normalize "part") "&Part;") + (list (normalize "preface") "&Preface;") + (list (normalize "procedure") "&Procedure;") + (list (normalize "pubdate") "&Published;") + (list (normalize "question") "&Question;") + (list (normalize "refentry") "&RefEntry;") + (list (normalize "reference") "&Reference;") + (list (normalize "refname") "&RefName;") + (list (normalize "revhistory") "&RevHistory;") + (list (normalize "refsect1") "&RefSection;") + (list (normalize "refsect2") "&RefSection;") + (list (normalize "refsect3") "&RefSection;") + (list (normalize "refsynopsisdiv") "&RefSynopsisDiv;") + (list (normalize "revision") "&Revision;") + (list (normalize "sect1") "&numbercn;") + (list (normalize "sect2") "&numbercn;") + (list (normalize "sect3") "&numbercn;") + (list (normalize "sect4") "&numbercn;") + (list (normalize "sect5") "&numbercn;") + (list (normalize "section") "&numbercn;") + (list (normalize "simplesect") "&numbercn;") + (list (normalize "seeie") "&See;") + (list (normalize "seealsoie") "&Seealso;") + (list (normalize "set") "&Set;") + (list (normalize "sidebar") "&Sidebar;") + (list (normalize "step") "&step;") + (list (normalize "table") "&Table;") + (list (normalize "tip") "&Tip;") + (list (normalize "toc") "&TableofContents;") + (list (normalize "warning") "&Warning;"))) + (define (en-label-title-sep) + (list (list (normalize "abstract") ": ") + (list (normalize "answer") " ") + (list (normalize "appendix") ". ") + (list (normalize "caution") "") + (list (normalize "chapter") " &Chapter;. ") + (list (normalize "equation") ". ") + (list (normalize "example") ". ") + (list (normalize "figure") ". ") + (list (normalize "footnote") ". ") + (list (normalize "glosssee") ": ") + (list (normalize "glossseealso") ": ") + (list (normalize "important") ": ") + (list (normalize "note") ": ") + (list (normalize "orderedlist") ". ") + (list (normalize "part") ". ") + (list (normalize "procedure") ". ") + (list (normalize "prefix") ". ") + (list (normalize "question") " ") + (list (normalize "refentry") "") + (list (normalize "reference") ". ") + (list (normalize "refsect1") ". ") + (list (normalize "refsect2") ". ") + (list (normalize "refsect3") ". ") + (list (normalize "sect1") " &Section;. ") + (list (normalize "sect2") " &Section;. ") + (list (normalize "sect3") " &Section;. ") + (list (normalize "sect4") " &Section;. ") + (list (normalize "sect5") " &Section;. ") + (list (normalize "section") " &Section;. ") + (list (normalize "simplesect") " &Section;. ") + (list (normalize "seeie") " ") + (list (normalize "seealsoie") " ") + (list (normalize "step") ". ") + (list (normalize "table") ". ") + (list (normalize "tip") ": ") + (list (normalize "warning") ": "))) </style-specification-body> </style-specification> |