summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/fonts
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/fonts')
-rw-r--r--Master/texmf-dist/doc/fonts/japanese-otf-uptex/00otf-uptex.txt10
-rw-r--r--Master/texmf-dist/doc/fonts/japanese-otf-uptex/README6
-rw-r--r--Master/texmf-dist/doc/fonts/japanese-otf-uptex/test/uplatex/uotf-sp-utf8.tex86
3 files changed, 94 insertions, 8 deletions
diff --git a/Master/texmf-dist/doc/fonts/japanese-otf-uptex/00otf-uptex.txt b/Master/texmf-dist/doc/fonts/japanese-otf-uptex/00otf-uptex.txt
index 874ba3afb45..a37437e8d19 100644
--- a/Master/texmf-dist/doc/fonts/japanese-otf-uptex/00otf-uptex.txt
+++ b/Master/texmf-dist/doc/fonts/japanese-otf-uptex/00otf-uptex.txt
@@ -1,5 +1,5 @@
[ Title ]
-otfbeta-uptex (japanese-otf-uptex) Ver.0.10 2012/04/21
+otfbeta-uptex (japanese-otf-uptex) Ver.0.11 2012/07/09
[ Abstract ]
@@ -171,4 +171,12 @@ Combination of jis2004 and ucs option is not supported yet
Revise.
patch/*.patch::
Revise.
+2012.07.09 Ver0.11
+ ## Thank ZR san for great contribution.
+ sty/otf.sty, sty/mlutf.sty ::
+ Apply new code to support surrogate pairs
+ when macros \UTF{}, \UTFT{}, \UTFC{} and/or \UTFM{} are used with hyperref package.
+ The new code is written by ZR san.
+ test/uplatex/uotftest-utf8.tex ::
+ Revise.
diff --git a/Master/texmf-dist/doc/fonts/japanese-otf-uptex/README b/Master/texmf-dist/doc/fonts/japanese-otf-uptex/README
index 42ee4f0d414..52c63f16fe5 100644
--- a/Master/texmf-dist/doc/fonts/japanese-otf-uptex/README
+++ b/Master/texmf-dist/doc/fonts/japanese-otf-uptex/README
@@ -3,7 +3,7 @@ README
From 00otf-uptex.txt:
[ Title ]
-otfbeta-uptex (japanese-otf-uptex) Ver.0.10 2012/04/21
+otfbeta-uptex (japanese-otf-uptex) Ver.0.11 2012/07/09
[ Abstract ]
@@ -21,11 +21,11 @@ For copyright and licensing, please see COPYRIGHT
The original source has been downloaded from
http://homepage3.nifty.com/ttk/comp/tex/uptex.html
as
- http://homepage3.nifty.com/ttk/comp/tex/otfbeta-uptex-0.10.tar.xz
+ http://homepage3.nifty.com/ttk/comp/tex/otfbeta-uptex-0.11.tar.xz
After that the scripts run and the generated tfm and vf files included.
The scripts were run with the env variable OVP2OVF=wovp2ovf
Norbert Preining <preining@logic.at>
-2012-04-23
+2012-07-10
diff --git a/Master/texmf-dist/doc/fonts/japanese-otf-uptex/test/uplatex/uotf-sp-utf8.tex b/Master/texmf-dist/doc/fonts/japanese-otf-uptex/test/uplatex/uotf-sp-utf8.tex
index 8ec29382514..89b4ef4784c 100644
--- a/Master/texmf-dist/doc/fonts/japanese-otf-uptex/test/uplatex/uotf-sp-utf8.tex
+++ b/Master/texmf-dist/doc/fonts/japanese-otf-uptex/test/uplatex/uotf-sp-utf8.tex
@@ -1,6 +1,29 @@
% -*- coding: utf-8 -*-
+%%%%%%%%
+% To control hyperref on command line,
+% you can select one of (1),(2a),(2b),(3).
+% (1) do not treat hyperref
+% $ uplatex uotf-sp-utf8.tex
+% (2a) hyperref + dvipdfmx (with CMap conversion)
+% $ uplatex "\def\withhyperref{dvipdfmx}\input" uotf-sp-utf8.tex
+% (2b) hyperref + dvipdfmx + out2uni (without CMap conversion)
+% $ uplatex "\def\withhyperref{dvipdfmx}\nocmap{true}\input" uotf-sp-utf8.tex
+% (3) hyperref + dvips + convbkmk.rb + distiller/ps2pdf
+% $ uplatex "\def\withhyperref{dvips}\input" uotf-sp-utf8.tex
+%%%%%%
+
\newif\ifuptexmode\uptexmodefalse
-\ifnum\jis"2121="3000 \uptexmodetrue\fi
+\ifnum\jis"2121="3000
+ \uptexmodetrue
+ \def\tounicode{pdf:tounicode UTF8-UTF16}
+\else
+ \ifnum\jis"2121="A1A1
+ \def\tounicode{pdf:tounicode EUC-UCS2}
+ \fi
+ \ifnum\jis"2121="8140
+ \def\tounicode{pdf:tounicode 90ms-RKSJ-UCS2}
+ \fi
+\fi
\makeatletter
@@ -51,17 +74,48 @@
\edef\@opt@{uplatex,\@opt@}
\fi
\ifx\class\@jarticle
- \documentclass[a4paper,titlepage,draft]{\class}
+ \documentclass[a4paper,titlepage]{\class}
\else
\ifx\class\@ujarticle
- \documentclass[a4paper,titlepage,draft]{\class}
+ \documentclass[a4paper,titlepage]{\class}
\else
- \documentclass[a4paper,titlepage,draft,landscape]{\class}
+ \documentclass[a4paper,titlepage,landscape]{\class}
\fi
\fi
\usepackage[\@opt@]{otf}
+\def\@dvipdfmx{dvipdfmx}
+\def\@dvips{dvips}
+
+\ifx\withhyperref\@undefined
+ \def\withhyperref{undefined}
+ \edef\texorpdfstring#1#2{#1}
+\else
+ \ifx\withhyperref\@dvipdfmx
+ \def\@hyperrefkeyval{dvipdfm}
+ \usepackage{atbegshi}
+ \ifx\nocmap\@undefined
+ \AtBeginShipoutFirst{\special{\tounicode}}
+ \fi
+ \fi
+ \ifx\withhyperref\@dvips
+ \def\@hyperrefkeyval{dvips}
+ \fi
+
+\usepackage[\@hyperrefkeyval,%
+bookmarks=true,%
+bookmarksnumbered=true,%
+bookmarkstype=toc,%
+%pdfstartview={FitBH -32768},%
+pdftitle={japanese-otfのテスト},%
+pdfsubject={Unicode supplementary plane編},%
+pdfauthor={upTeXプロジェクト},%
+pdfkeywords={TeX; dvips; dvipdfmx; bookmark; hyperref; しおり; pdf}%
+]{hyperref}
+
+\fi
+
\makeatother
\usepackage{redeffont}
@@ -148,6 +202,30 @@ mg/m & {\mgfamily ひらかな} & {\mgfamily 漢字} & {\mgfamily\UTF{20B9F}\UTF
銀\ajVar{座}アスター。
銀座アスター。
+\makeatletter
+\ifx\withhyperref\@undefined
+\else
+
+\section{見出しに\texorpdfstring{\bs}{\134}UTF, \texorpdfstring{\bs}{\134}UTFC, \texorpdfstring{\bs}{\134}UTFMなど}
+\subsection{日本:\UTF{9aa8}\UTF{6D77} 簡体字:\UTFC{9aa8}\UTFC{6D77} 繁體字:\UTFT{9AA8}\UTFT{6d77} 朝鮮:\UTFK{9AA8}\UTFK{6d77}}
+日本:\UTF{9aa8}\UTF{6D77} 簡体字:\UTFC{9aa8}\UTFC{6D77} 繁體字:\UTFT{9AA8}\UTFT{6d77} 朝鮮:\UTFK{9AA8}\UTFK{6d77}
+
+\subsection{ハングル:\UTFK{c548}\UTFK{b155}\UTFK{d558}\UTFK{C138}\UTFK{C694}}
+ハングル:\UTFK{c548}\UTFK{b155}\UTFK{d558}\UTFK{C138}\UTFK{C694}
+
+\subsection{日本:\UTF{20509}\UTF{241FE} 簡体字:\UTFC{20509}\UTFC{241FE} 多言語:\UTFM{20509}\UTFM{241FE}}
+日本:\UTF{20509}\UTF{241FE} 簡体字:\UTFC{20509}\UTFC{241FE} 多言語:\UTFM{20509}\UTFM{241FE}
+
+\subsection{日本:\UTF{20509}\UTF{241FE} 簡体字:\UTFC{20509}\UTFC{241FE} 多言語:\UTFM{20509}\UTFM{241FE}}
+日本:\UTF{20509}\UTF{241FE} 簡体字:\UTFC{20509}\UTFC{241FE} 多言語:\UTFM{20509}\UTFM{241FE}
+
+\subsection{日本:\UTF{20b9f}\UTF{26402} 繁體字:\UTFT{20b9f}\UTFT{26402} 多言語:\UTFM{20b9f}\UTFM{26402}}
+日本:\UTF{20b9f}\UTF{26402} 繁體字:\UTFT{20b9f}\UTFT{26402} 多言語:\UTFM{20b9f}\UTFM{26402}
+
+\subsection{簡体字:\UTFC{20087}\UTFC{200cc} 繁體字:\UTFT{20087}\UTFT{200cc} 多言語:\UTFM{20087}\UTFM{200cc}}
+簡体字:\UTFC{20087}\UTFC{200cc} 繁體字:\UTFT{20087}\UTFT{200cc} 多言語:\UTFM{20087}\UTFM{200cc}
+\fi
+\makeatother
\clearpage
[mc/m]