svn commit: r47333 - head/ko_KR.UTF-8/share/xml
Warren Block
wblock at FreeBSD.org
Tue Sep 1 13:49:42 UTC 2015
Author: wblock
Date: Tue Sep 1 13:49:40 2015
New Revision: 47333
URL: https://svnweb.freebsd.org/changeset/doc/47333
Log:
Add Korean language support to the doc build system. Modified version
of that supplied in the PR.
PR: 202699
Submitted by: Hoyoung Kim <trig4800 at gmail.com>
Approved by: doceng (implicit)
Differential Revision: https://reviews.freebsd.org/D3520
Added:
head/ko_KR.UTF-8/share/xml/freebsd-dblatex.xsl (contents, props changed)
head/ko_KR.UTF-8/share/xml/freebsd-fo.xsl (contents, props changed)
head/ko_KR.UTF-8/share/xml/freebsd-xhtml.xsl (contents, props changed)
Modified:
head/ko_KR.UTF-8/share/xml/catalog.xml
head/ko_KR.UTF-8/share/xml/l10n.ent (contents, props changed)
Modified: head/ko_KR.UTF-8/share/xml/catalog.xml
==============================================================================
--- head/ko_KR.UTF-8/share/xml/catalog.xml Tue Sep 1 13:13:06 2015 (r47332)
+++ head/ko_KR.UTF-8/share/xml/catalog.xml Tue Sep 1 13:49:40 2015 (r47333)
@@ -6,7 +6,8 @@
The FreeBSD Korean Documentation Project
$FreeBSD$
- Original revision: r43181
+ Original revision: r47317
+ from The FreeBSD Japanese Documentation Project
-->
<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog">
@@ -21,20 +22,19 @@
<system
systemId="http://www.FreeBSD.org/XML/lang/share/xml/freebsd-epub.xsl"
uri="http://www.FreeBSD.org/XML/share/xml/empty.xsl" />
- <system
- systemId="http://www.FreeBSD.org/XML/lang/share/xml/freebsd-fo.xsl"
- uri="http://www.FreeBSD.org/XML/share/xml/empty.xsl" />
- <system
- systemId="http://www.FreeBSD.org/XML/lang/share/xml/freebsd-dblatex.xsl"
- uri="http://www.FreeBSD.org/XML/share/xml/empty.xsl" />
- <system
- systemId="http://www.FreeBSD.org/XML/lang/share/xml/freebsd-xhtml.xsl"
- uri="http://www.FreeBSD.org/XML/share/xml/empty.xsl" />
- <public
- publicId="-//FreeBSD//ENTITIES FreeBSD Language Specific Entities//EN"
+ <public publicId="-//FreeBSD//ENTITIES FreeBSD Language Specific Entities//EN"
uri="l10n.ent" />
<public
publicId="-//FreeBSD//ENTITIES DocBook FreeBSD Entity Set//EN"
uri="entities.ent" />
+ <public
+ publicId="-//FreeBSD//ENTITIES FreeBSD Release L10N Entities//EN"
+ uri="release.l10n.ent" />
+ <public
+ publicId="-//FreeBSD//ENTITIES HTML FreeBSD Navigation Bar L10N Entities//EN"
+ uri="navibar.l10n.ent" />
+ <public
+ publicId="-//FreeBSD//ENTITIES HTML FreeBSD Header L10N Entities//EN"
+ uri="header.l10n.ent" />
</catalog>
Added: head/ko_KR.UTF-8/share/xml/freebsd-dblatex.xsl
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/ko_KR.UTF-8/share/xml/freebsd-dblatex.xsl Tue Sep 1 13:49:40 2015 (r47333)
@@ -0,0 +1,22 @@
+<?xml version='1.0'?>
+
+<!--
+ The FreeBSD Korean Documentation Project
+
+ $FreeBSD$
+ Original revision: r47317
+-->
+
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ version='1.0'>
+
+ <xsl:param name="xetex.font">
+ <xsl:text>\setmainfont{NanumMyeongjo}
+ </xsl:text>
+ <xsl:text>\setsansfont{NanumGothic}
+ </xsl:text>
+ <xsl:text>\setmonofont{DejaVu Sans Mono}
+ </xsl:text>
+ </xsl:param>
+
+</xsl:stylesheet>
Added: head/ko_KR.UTF-8/share/xml/freebsd-fo.xsl
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/ko_KR.UTF-8/share/xml/freebsd-fo.xsl Tue Sep 1 13:49:40 2015 (r47333)
@@ -0,0 +1,46 @@
+<?xml version='1.0'?>
+
+<!--
+ The FreeBSD Korean Documentation Project
+
+ $FreeBSD$
+ Original revision: r47317
+-->
+
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ version='1.0'
+ xmlns="http://www.w3.org/TR/xhtml1/transitional"
+ exclude-result-prefixes="#default">
+
+ <!-- Pull in the CJK-specific stylesheet -->
+ <xsl:import href="http://www.FreeBSD.org/XML/share/xml/freebsd-fo-cjk.xsl"/>
+
+ <!--
+ Korean-SPECIFIC PARAMETERS
+ -->
+
+ <!-- Base fonts -->
+ <xsl:param name="body.font.family">NanumMyeongjo, Gentium Plus</xsl:param>
+ <xsl:param name="sans.font.family">NanumGothic, Droid Sans</xsl:param>
+ <xsl:param name="title.font.family">NanumGothic, Droid Sans</xsl:param>
+
+ <!-- Slightly reduce header font-size to make headers fit -->
+ <xsl:attribute-set name="header.content.properties">
+ <xsl:attribute name="font-size">8pt</xsl:attribute>
+ <xsl:attribute name="font-family">
+ <xsl:value-of select="$body.fontset"></xsl:value-of>
+ </xsl:attribute>
+ <xsl:attribute name="margin-left">
+ <xsl:value-of select="$title.margin.left"></xsl:value-of>
+ </xsl:attribute>
+ </xsl:attribute-set>
+
+ <!-- Increase inline monospace fonts to better fit the Korean font-size -->
+ <xsl:attribute-set name="monospace.properties">
+ <xsl:attribute name="font-family">
+ <xsl:value-of select="$monospace.font.family"></xsl:value-of>
+ </xsl:attribute>
+ <xsl:attribute name="font-size">10pt</xsl:attribute>
+ </xsl:attribute-set>
+
+</xsl:stylesheet>
Added: head/ko_KR.UTF-8/share/xml/freebsd-xhtml.xsl
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/ko_KR.UTF-8/share/xml/freebsd-xhtml.xsl Tue Sep 1 13:49:40 2015 (r47333)
@@ -0,0 +1,24 @@
+<?xml version='1.0' encoding='utf-8'?>
+
+<!--
+ The FreeBSD Korean Documentation Project
+
+ $FreeBSD$
+ Original revision: r47317
+-->
+
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ version='1.0'
+ xmlns="http://www.w3.org/TR/xhtml1/transitional"
+ exclude-result-prefixes="#default">
+
+ <xsl:template name="user.footer.navigation">
+ <p align="center"><small>모든 FreeBSD 문서는
+ <a href="ftp://ftp.FreeBSD.org/pub/FreeBSD/doc/">ftp://ftp.FreeBSD.org/pub/FreeBSD/doc/</a>
+ 에서 다운로드받으실 수 있습니다.</small></p>
+ <p align="center"><small><a href="http://ftp.freebsd.org/pub/FreeBSD/doc/ko_KR.UTF-8/">문서</a>를 읽고 궁금한
+ 사항이 있으면 <<a href="mailto:questions at FreeBSD.org">questions at FreeBSD.org</a>>로
+ 질문을 보내 주세요.<br/>이 문서에 대한 질문은 <<a
+ href="mailto:doc at FreeBSD.org">doc at FreeBSD.org</a>>로 보내 주세요.</small></p>
+ </xsl:template>
+</xsl:stylesheet>
Modified: head/ko_KR.UTF-8/share/xml/l10n.ent
==============================================================================
Binary file (source and/or target). No diff available.
More information about the svn-doc-all
mailing list