diff options
author | Karl Berry <karl@freefriends.org> | 2013-11-09 00:52:44 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2013-11-09 00:52:44 +0000 |
commit | d82f205d424457a0853f7501ab50cf5fb81b9f38 (patch) | |
tree | 171957cba33221dcc47623901f9e85e2107b0a82 /Master/texmf-dist/tex/latex/kotex-utf/tex4ht | |
parent | 521b3aca41e705539f95064ac2b4577a37ee5f3a (diff) |
kotex-utf
git-svn-id: svn://tug.org/texlive/trunk@32103 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/kotex-utf/tex4ht')
3 files changed, 193 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/kotex-utf/tex4ht/dhucs.4ht b/Master/texmf-dist/tex/latex/kotex-utf/tex4ht/dhucs.4ht new file mode 100644 index 00000000000..650184fa844 --- /dev/null +++ b/Master/texmf-dist/tex/latex/kotex-utf/tex4ht/dhucs.4ht @@ -0,0 +1,22 @@ +%% File `dhucs.4ht` +%% +%% Copyright (c) 2007-2013 Kangsoo Kim <karnes at ktug org> +%% +%% This work may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either version 1.3c +%% of this license or (at your option) any later version. +%% The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3c or later is part of all distributions of LaTeX +%% version 2006/05/20 or later. +%% +\protected\def\unihangulchar#1{\futurelet\dhucs@next\unihangulchar@#1\@nil} +\def\unihangulchar@{% + \ifx\dhucs@next"\expandafter\hex@unihangulchar + \else\expandafter\digit@unihangulchar + \fi} +\def\digit@unihangulchar#1\@nil{\HCode{&\##1;}} +\def\hex@unihangulchar"#1\@nil{\HCode{&\#x#1;}} + +\DeclareUnicodeCharacter{00B7}{~\unihangulchar{"00B7}~} + diff --git a/Master/texmf-dist/tex/latex/kotex-utf/tex4ht/dhucs.cfg b/Master/texmf-dist/tex/latex/kotex-utf/tex4ht/dhucs.cfg new file mode 100644 index 00000000000..8c8f57f282a --- /dev/null +++ b/Master/texmf-dist/tex/latex/kotex-utf/tex4ht/dhucs.cfg @@ -0,0 +1,40 @@ +%% File `dhucs.cfg` +%% +%% Copyright (c) 2007-2013 Kangsoo Kim <karnes at ktug org> +%% +%% This work may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either version 1.3c +%% of this license or (at your option) any later version. +%% The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3c or later is part of all distributions of LaTeX +%% version 2006/05/20 or later. +%% +\Preamble{xhtml} +\Configure{charset}{charset=utf-8} +\Configure{@TITLE}{\protected\def\unihangulchar##1{\special{t4ht=&\###1;}}} +\Configure{@BODY}{\NoFonts} +\Configure{@/BODY}{\EndNoFonts} + +\begin{document} +\CssFile + /* css.sty */ +body { + line-height: 150%; +} +.verbatim { + font-family: monospace; + white-space: nowrap; + text-align: left; + line-height: 100%; +} +.quote { + margin-bottom: 0.25em; + margin-top: 0.25em; + margin-left: 3em; + margin-right:3em; + text-align:justify; +} +\EndCssFile +\EndPreamble + diff --git a/Master/texmf-dist/tex/latex/kotex-utf/tex4ht/kosections-utf.4ht b/Master/texmf-dist/tex/latex/kotex-utf/tex4ht/kosections-utf.4ht new file mode 100644 index 00000000000..c26be1caf93 --- /dev/null +++ b/Master/texmf-dist/tex/latex/kotex-utf/tex4ht/kosections-utf.4ht @@ -0,0 +1,131 @@ +%% File `kosections-utf.4ht` +%% +%% Copyright (c) 2007-2013 Kangsoo Kim <karnes at ktug org> +%% +%% This work may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either version 1.3c +%% of this license or (at your option) any later version. +%% The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3c or later is part of all distributions of LaTeX +%% version 2006/05/20 or later. +%% +\def\dhucs@seccntformat#1#2{} + +\@ifclassloaded{book}{ +\Configure{part} + {\HCode{<div class="part">}} + {\HCode{</div>}} + {\HCode{<h1 class="partHead">}% + \pre@partcnt\thepart\post@partcnt\HCode{<br />}% + \HCode{<span class="part_font">}} + {\HCode{</span>}\HCode{</h1>}} +\Configure{chapter} + {\HCode{<div class="chapter">}} + {\HCode{</div>}} + {\HCode{<h2 class="chapterHead">}% + \pre@chaptercnt\thechapter\post@chaptercnt\HCode{<br />}% + \HCode{<span class="chapter_font">}} + {\HCode{</span>}\HCode{</h2>}} +\Configure{section} + {} + {} + {\HCode{<h3 class="sectionHead">}% + \HCode{<span class="titlemark">}% + \pre@sectioncnt\thesection\post@sectioncnt~~% + \HCode{</span>}\HCode{<span class="section_font">}} + {\HCode{</span>}\HCode{</h3>}} +\Configure{subsection} + {} + {} + {\HCode{<h4 class="subsectionHead">}% + \HCode{<span class="titlemark">}% + \thesubsection~~\HCode{</span>}% + \HCode{<span class="subsection_font">}} + {\HCode{</span>}\HCode{</h4>}} +\Configure{subsubsection} + {} + {} + {\HCode{<h5 class="subsubsectionHead">}% + \HCode{<span class="titlemark">}% + \thesubsubsection~~\HCode{</span>}% + \HCode{<span class="subsubsection_font">}} + {\HCode{</span>}\HCode{</h5>}} +} + +\@ifclassloaded{report}{ +\Configure{part} + {\HCode{<div class="part">}} + {\HCode{</div>}} + {\HCode{<h1 class="partHead">}% + \pre@partcnt\thepart\post@partcnt\HCode{<br />}% + \HCode{<span class="part_font">}} + {\HCode{</span>}\HCode{</h1>}} +\Configure{chapter} + {\HCode{<div class="chapter">}} + {\HCode{</div>}} + {\HCode{<h2 class="chapterHead">}% + \pre@chaptercnt\thechapter\post@chaptercnt\HCode{<br />}% + \HCode{<span class="chapter_font">}} + {\HCode{</span>}\HCode{</h2>}} +\Configure{section} + {} + {} + {\HCode{<h3 class="sectionHead">}% + \HCode{<span class="titlemark">}% + \pre@sectioncnt\thesection\post@sectioncnt~~% + \HCode{</span>}\HCode{<span class="section_font">}} + {\HCode{</span>}\HCode{</h3>}} +\Configure{subsection} + {} + {} + {\HCode{<h4 class="subsectionHead">}% + \HCode{<span class="titlemark">}% + \thesubsection~~\HCode{</span>}% + \HCode{<span class="subsection_font">}} + {\HCode{</span>}\HCode{</h4>}} +\Configure{subsubsection} + {} + {} + {\HCode{<h5 class="subsubsectionHead">}% + \HCode{<span class="titlemark">}% + \thesubsubsection~~\HCode{</span>}% + \HCode{<span class="subsubsection_font">}} + {\HCode{</span>}\HCode{</h5>}} +} + +\@ifclassloaded{article}{ +\Configure{part} + {\HCode{<div class="part">}} + {\HCode{</div>}} + {\HCode{<h1 class="partHead">}% + \pre@partcnt\thepart\post@partcnt\HCode{<br />}% + \HCode{<span class="part_font">}} + {\HCode{</span>}\HCode{</h1>}} +\Configure{section} + {} + {} + {\HCode{<h3 class="sectionHead">}% + \HCode{<span class="titlemark">}% + \pre@sectioncnt\thesection\post@sectioncnt~~% + \HCode{</span>}\HCode{<span class="section_font">}} + {\HCode{</span>}\HCode{</h3>}} +\Configure{subsection} + {} + {} + {\HCode{<h4 class="subsectionHead">}% + \HCode{<span class="titlemark">}% + \thesubsection~~\HCode{</span>}% + \HCode{<span class="subsection_font">}} + {\HCode{</span>}\HCode{</h4>}} +\Configure{subsubsection} + {} + {} + {\HCode{<h5 class="subsubsectionHead">}% + \HCode{<span class="titlemark">}% + \thesubsubsection~~\HCode{</span>}% + \HCode{<span class="subsubsection_font">}} + {\HCode{</span>}\HCode{</h5>}} +} + +\endinput |