diff --git a/ko_KR.UTF-8/share/xml/catalog.xml b/ko_KR.UTF-8/share/xml/catalog.xml index 5eded8ba14..0f338e15a5 100644 --- a/ko_KR.UTF-8/share/xml/catalog.xml +++ b/ko_KR.UTF-8/share/xml/catalog.xml @@ -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> diff --git a/ko_KR.UTF-8/share/xml/freebsd-dblatex.xsl b/ko_KR.UTF-8/share/xml/freebsd-dblatex.xsl new file mode 100644 index 0000000000..c453a9424d --- /dev/null +++ b/ko_KR.UTF-8/share/xml/freebsd-dblatex.xsl @@ -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> diff --git a/ko_KR.UTF-8/share/xml/freebsd-fo.xsl b/ko_KR.UTF-8/share/xml/freebsd-fo.xsl new file mode 100644 index 0000000000..9ae46f5396 --- /dev/null +++ b/ko_KR.UTF-8/share/xml/freebsd-fo.xsl @@ -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> diff --git a/ko_KR.UTF-8/share/xml/freebsd-xhtml.xsl b/ko_KR.UTF-8/share/xml/freebsd-xhtml.xsl new file mode 100644 index 0000000000..65c6938ea1 --- /dev/null +++ b/ko_KR.UTF-8/share/xml/freebsd-xhtml.xsl @@ -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@FreeBSD.org">questions@FreeBSD.org</a>>로 + 질문을 보내 주세요.<br/>이 문서에 대한 질문은 <<a + href="mailto:doc@FreeBSD.org">doc@FreeBSD.org</a>>로 보내 주세요.</small></p> + </xsl:template> +</xsl:stylesheet> diff --git a/ko_KR.UTF-8/share/xml/l10n.ent b/ko_KR.UTF-8/share/xml/l10n.ent index 4c9fb65b73..c27306e672 100644 --- a/ko_KR.UTF-8/share/xml/l10n.ent +++ b/ko_KR.UTF-8/share/xml/l10n.ent @@ -15,7 +15,7 @@ <!ENTITY doc.html.charset "utf-8"> <!ENTITY doc.langcode.en "ko_KR.UTF-8"> -<!ENTITY doc.langcode "&doc.langcode.en;"> +<!ENTITY doc.langcode "&doc.langcode.ko;"> <!-- PUBLIC "-//FreeBSD//ENTITIES FreeBSD L10N Entities//EN" -->