Last active
April 29, 2016 02:29
-
-
Save munepi/91703b6f2422862a7e09e56d6d3166d6 to your computer and use it in GitHub Desktop.
A temporary Re:VIEW pLaTeX class with jsbook.cls https://github.com/kmuto/review/pull/342 - でっち上げRe:VIEW用jsbook.cls乗りクラスファイル
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%% from ptex-ipaex.map | |
rml H ipaexm.ttf %!PS IPAexMincho | |
rmlv V ipaexm.ttf %!PS IPAexMincho | |
gbm H ipaexg.ttf %!PS IPAexGothic | |
gbmv V ipaexg.ttf %!PS IPAexGothic | |
%% from uptex-ipaex.map | |
urml UniJIS-UTF16-H ipaexm.ttf %!PS IPAexMincho | |
urmlv UniJIS-UTF16-V ipaexm.ttf %!PS IPAexMincho | |
ugbm UniJIS-UTF16-H ipaexg.ttf %!PS IPAexGothic | |
ugbmv UniJIS-UTF16-V ipaexg.ttf %!PS IPAexGothic | |
uprml-h UniJIS-UTF16-H ipaexm.ttf %!PS IPAexMincho | |
uprml-v UniJIS-UTF16-V ipaexm.ttf %!PS IPAexMincho | |
upgbm-h UniJIS-UTF16-H ipaexg.ttf %!PS IPAexGothic | |
upgbm-v UniJIS-UTF16-V ipaexg.ttf %!PS IPAexGothic | |
uprml-hq UniJIS-UCS2-H ipaexm.ttf %!PS IPAexMincho | |
upgbm-hq UniJIS-UCS2-H ipaexg.ttf %!PS IPAexGothic | |
%% from otf-ipaex.map | |
% TEXT, 90JIS | |
hminl-h H ipaexm.ttf %!PS IPAexMincho | |
hminl-v V ipaexm.ttf %!PS IPAexMincho | |
hminr-h H ipaexm.ttf %!PS IPAexMincho | |
hminr-v V ipaexm.ttf %!PS IPAexMincho | |
hminb-h H ipaexm.ttf %!PS IPAexMincho | |
hminb-v V ipaexm.ttf %!PS IPAexMincho | |
hgothr-h H ipaexg.ttf %!PS IPAexGothic | |
hgothr-v V ipaexg.ttf %!PS IPAexGothic | |
hgothb-h H ipaexg.ttf %!PS IPAexGothic | |
hgothb-v V ipaexg.ttf %!PS IPAexGothic | |
hgotheb-h H ipaexg.ttf %!PS IPAexGothic | |
hgotheb-v V ipaexg.ttf %!PS IPAexGothic | |
hmgothr-h H ipaexg.ttf %!PS IPAexGothic | |
hmgothr-v V ipaexg.ttf %!PS IPAexGothic | |
% TEXT, JIS04 | |
hminln-h H ipaexm.ttf %!PS IPAexMincho | |
hminln-v V ipaexm.ttf %!PS IPAexMincho | |
hminrn-h H ipaexm.ttf %!PS IPAexMincho | |
hminrn-v V ipaexm.ttf %!PS IPAexMincho | |
hminbn-h H ipaexm.ttf %!PS IPAexMincho | |
hminbn-v V ipaexm.ttf %!PS IPAexMincho | |
hgothrn-h H ipaexg.ttf %!PS IPAexGothic | |
hgothrn-v V ipaexg.ttf %!PS IPAexGothic | |
hgothbn-h H ipaexg.ttf %!PS IPAexGothic | |
hgothbn-v V ipaexg.ttf %!PS IPAexGothic | |
hgothebn-h H ipaexg.ttf %!PS IPAexGothic | |
hgothebn-v V ipaexg.ttf %!PS IPAexGothic | |
hmgothrn-h H ipaexg.ttf %!PS IPAexGothic | |
hmgothrn-v V ipaexg.ttf %!PS IPAexGothic | |
% CID | |
otf-cjml-h Identity-H ipaexm.ttf/AJ16 %!PS IPAexMincho | |
otf-cjml-v Identity-V ipaexm.ttf/AJ16 %!PS IPAexMincho | |
otf-cjmr-h Identity-H ipaexm.ttf/AJ16 %!PS IPAexMincho | |
otf-cjmr-v Identity-V ipaexm.ttf/AJ16 %!PS IPAexMincho | |
otf-cjmb-h Identity-H ipaexm.ttf/AJ16 %!PS IPAexMincho | |
otf-cjmb-v Identity-V ipaexm.ttf/AJ16 %!PS IPAexMincho | |
otf-cjgr-h Identity-H ipaexg.ttf/AJ16 %!PS IPAexGothic | |
otf-cjgr-v Identity-V ipaexg.ttf/AJ16 %!PS IPAexGothic | |
otf-cjgb-h Identity-H ipaexg.ttf/AJ16 %!PS IPAexGothic | |
otf-cjgb-v Identity-V ipaexg.ttf/AJ16 %!PS IPAexGothic | |
otf-cjge-h Identity-H ipaexg.ttf/AJ16 %!PS IPAexGothic | |
otf-cjge-v Identity-V ipaexg.ttf/AJ16 %!PS IPAexGothic | |
otf-cjmgr-h Identity-H ipaexg.ttf/AJ16 %!PS IPAexGothic | |
otf-cjmgr-v Identity-V ipaexg.ttf/AJ16 %!PS IPAexGothic | |
% Unicode 90JIS | |
otf-ujml-h UniJIS-UTF16-H ipaexm.ttf %!PS IPAexMincho | |
otf-ujml-v UniJIS-UTF16-V ipaexm.ttf %!PS IPAexMincho | |
otf-ujmr-h UniJIS-UTF16-H ipaexm.ttf %!PS IPAexMincho | |
otf-ujmr-v UniJIS-UTF16-V ipaexm.ttf %!PS IPAexMincho | |
otf-ujmb-h UniJIS-UTF16-H ipaexm.ttf %!PS IPAexMincho | |
otf-ujmb-v UniJIS-UTF16-V ipaexm.ttf %!PS IPAexMincho | |
otf-ujgr-h UniJIS-UTF16-H ipaexg.ttf %!PS IPAexGothic | |
otf-ujgr-v UniJIS-UTF16-V ipaexg.ttf %!PS IPAexGothic | |
otf-ujgb-h UniJIS-UTF16-H ipaexg.ttf %!PS IPAexGothic | |
otf-ujgb-v UniJIS-UTF16-V ipaexg.ttf %!PS IPAexGothic | |
otf-ujge-h UniJIS-UTF16-H ipaexg.ttf %!PS IPAexGothic | |
otf-ujge-v UniJIS-UTF16-V ipaexg.ttf %!PS IPAexGothic | |
otf-ujmgr-h UniJIS-UTF16-H ipaexg.ttf %!PS IPAexGothic | |
otf-ujmgr-v UniJIS-UTF16-V ipaexg.ttf %!PS IPAexGothic | |
% Unicode JIS04 | |
otf-ujmln-h UniJIS2004-UTF16-H ipaexm.ttf %!PS IPAexMincho | |
otf-ujmln-v UniJIS2004-UTF16-V ipaexm.ttf %!PS IPAexMincho | |
otf-ujmrn-h UniJIS2004-UTF16-H ipaexm.ttf %!PS IPAexMincho | |
otf-ujmrn-v UniJIS2004-UTF16-V ipaexm.ttf %!PS IPAexMincho | |
otf-ujmbn-h UniJIS2004-UTF16-H ipaexm.ttf %!PS IPAexMincho | |
otf-ujmbn-v UniJIS2004-UTF16-V ipaexm.ttf %!PS IPAexMincho | |
otf-ujgrn-h UniJIS2004-UTF16-H ipaexg.ttf %!PS IPAexGothic | |
otf-ujgrn-v UniJIS2004-UTF16-V ipaexg.ttf %!PS IPAexGothic | |
otf-ujgbn-h UniJIS2004-UTF16-H ipaexg.ttf %!PS IPAexGothic | |
otf-ujgbn-v UniJIS2004-UTF16-V ipaexg.ttf %!PS IPAexGothic | |
otf-ujgen-h UniJIS2004-UTF16-H ipaexg.ttf %!PS IPAexGothic | |
otf-ujgen-v UniJIS2004-UTF16-V ipaexg.ttf %!PS IPAexGothic | |
otf-ujmgrn-h UniJIS2004-UTF16-H ipaexg.ttf %!PS IPAexGothic | |
otf-ujmgrn-v UniJIS2004-UTF16-V ipaexg.ttf %!PS IPAexGothic | |
%% from otf-up-ipaex.map | |
% TEXT, 90JIS | |
uphminl-h UniJIS-UTF16-H ipaexm.ttf %!PS IPAexMincho | |
uphminl-v UniJIS-UTF16-V ipaexm.ttf %!PS IPAexMincho | |
uphminr-h UniJIS-UTF16-H ipaexm.ttf %!PS IPAexMincho | |
uphminr-v UniJIS-UTF16-V ipaexm.ttf %!PS IPAexMincho | |
uphminb-h UniJIS-UTF16-H ipaexm.ttf %!PS IPAexMincho | |
uphminb-v UniJIS-UTF16-V ipaexm.ttf %!PS IPAexMincho | |
uphgothr-h UniJIS-UTF16-H ipaexg.ttf %!PS IPAexGothic | |
uphgothr-v UniJIS-UTF16-V ipaexg.ttf %!PS IPAexGothic | |
uphgothb-h UniJIS-UTF16-H ipaexg.ttf %!PS IPAexGothic | |
uphgothb-v UniJIS-UTF16-V ipaexg.ttf %!PS IPAexGothic | |
uphgotheb-h UniJIS-UTF16-H ipaexg.ttf %!PS IPAexGothic | |
uphgotheb-v UniJIS-UTF16-V ipaexg.ttf %!PS IPAexGothic | |
uphmgothr-h UniJIS-UTF16-H ipaexg.ttf %!PS IPAexGothic | |
uphmgothr-v UniJIS-UTF16-V ipaexg.ttf %!PS IPAexGothic | |
% TEXT, JIS04 | |
uphminln-h UniJIS2004-UTF16-H ipaexm.ttf %!PS IPAexMincho | |
uphminln-v UniJIS2004-UTF16-V ipaexm.ttf %!PS IPAexMincho | |
uphminrn-h UniJIS2004-UTF16-H ipaexm.ttf %!PS IPAexMincho | |
uphminrn-v UniJIS2004-UTF16-V ipaexm.ttf %!PS IPAexMincho | |
uphminbn-h UniJIS2004-UTF16-H ipaexm.ttf %!PS IPAexMincho | |
uphminbn-v UniJIS2004-UTF16-V ipaexm.ttf %!PS IPAexMincho | |
uphgothrn-h UniJIS2004-UTF16-H ipaexg.ttf %!PS IPAexGothic | |
uphgothrn-v UniJIS2004-UTF16-V ipaexg.ttf %!PS IPAexGothic | |
uphgothbn-h UniJIS2004-UTF16-H ipaexg.ttf %!PS IPAexGothic | |
uphgothbn-v UniJIS2004-UTF16-V ipaexg.ttf %!PS IPAexGothic | |
uphgothebn-h UniJIS2004-UTF16-H ipaexg.ttf %!PS IPAexGothic | |
uphgothebn-v UniJIS2004-UTF16-V ipaexg.ttf %!PS IPAexGothic | |
uphmgothrn-h UniJIS2004-UTF16-H ipaexg.ttf %!PS IPAexGothic | |
uphmgothrn-v UniJIS2004-UTF16-V ipaexg.ttf %!PS IPAexGothic | |
%% end of file |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\NeedsTeXFormat{pLaTeX2e} | |
\ProvidesClass{reviewbook} | |
[2016/04/28 v0.1 temporary Re:VIEW pLaTeX class] | |
%% fixes to LaTeX2e for TL14 or lower version | |
\RequirePackage{fix-cm}[2006/09/13 v1.1m] | |
\RequirePackage{fixltx2e}[2006/09/13 v1.1m] | |
% \RequirePackage{keyval} | |
\newif\if@review@uptex \@review@uptexfalse | |
\ifx\ucs\@undefined\else \ifnum\ucs"3000="3000 | |
\@review@uptextrue | |
\fi\fi | |
%% supported class options of jsbook.cls 2014/02/07 okumura | |
\def\review@clsopts{} | |
\DeclareOption{a3paper}{\g@addto@macro\review@clsopts{a3paper,}} | |
\DeclareOption{a4paper}{\g@addto@macro\review@clsopts{a4paper,}} | |
\DeclareOption{a5paper}{\g@addto@macro\review@clsopts{a5paper,}} | |
\DeclareOption{a6paper}{\g@addto@macro\review@clsopts{a6paper,}} | |
\DeclareOption{b4paper}{\g@addto@macro\review@clsopts{b4paper,}} | |
\DeclareOption{b5paper}{\g@addto@macro\review@clsopts{b5paper,}} | |
\DeclareOption{b6paper}{\g@addto@macro\review@clsopts{b6paper,}} | |
\DeclareOption{a4j}{\g@addto@macro\review@clsopts{a4j,}} | |
\DeclareOption{a5j}{\g@addto@macro\review@clsopts{a5j,}} | |
\DeclareOption{b4j}{\g@addto@macro\review@clsopts{b4j,}} | |
\DeclareOption{b5j}{\g@addto@macro\review@clsopts{b5j,}} | |
\DeclareOption{a4var}{\g@addto@macro\review@clsopts{a4var,}} | |
\DeclareOption{b5var}{\g@addto@macro\review@clsopts{b5var,}} | |
\DeclareOption{letterpaper}{\g@addto@macro\review@clsopts{letterpaper,}} | |
\DeclareOption{legalpaper}{\g@addto@macro\review@clsopts{legalpaper,}} | |
\DeclareOption{executivepaper}{\g@addto@macro\review@clsopts{executivepaper,}} | |
\DeclareOption{landscape}{\g@addto@macro\review@clsopts{landscape,}} | |
\DeclareOption{slide}{\g@addto@macro\review@clsopts{slide,}} | |
\DeclareOption{8pt}{\g@addto@macro\review@clsopts{8pt,}} | |
\DeclareOption{9pt}{\g@addto@macro\review@clsopts{9pt,}} | |
\DeclareOption{10pt}{\g@addto@macro\review@clsopts{10pt,}} | |
\DeclareOption{11pt}{\g@addto@macro\review@clsopts{11pt,}} | |
\DeclareOption{12pt}{\g@addto@macro\review@clsopts{12pt,}} | |
\DeclareOption{14pt}{\g@addto@macro\review@clsopts{14pt,}} | |
\DeclareOption{17pt}{\g@addto@macro\review@clsopts{17pt,}} | |
\DeclareOption{20pt}{\g@addto@macro\review@clsopts{20pt,}} | |
\DeclareOption{21pt}{\g@addto@macro\review@clsopts{21pt,}} | |
\DeclareOption{25pt}{\g@addto@macro\review@clsopts{25pt,}} | |
\DeclareOption{30pt}{\g@addto@macro\review@clsopts{30pt,}} | |
\DeclareOption{36pt}{\g@addto@macro\review@clsopts{36pt,}} | |
\DeclareOption{43pt}{\g@addto@macro\review@clsopts{43pt,}} | |
\DeclareOption{12Q}{\g@addto@macro\review@clsopts{12Q,}} | |
\DeclareOption{14Q}{\g@addto@macro\review@clsopts{14Q,}} | |
\DeclareOption{10ptj}{\g@addto@macro\review@clsopts{10ptj,}} | |
\DeclareOption{10.5ptj}{\g@addto@macro\review@clsopts{10.5ptj,}} | |
\DeclareOption{11ptj}{\g@addto@macro\review@clsopts{11ptj,}} | |
\DeclareOption{12ptj}{\g@addto@macro\review@clsopts{12ptj,}} | |
\DeclareOption{tombow}{\g@addto@macro\review@clsopts{tombow,}} | |
\DeclareOption{tombo}{\g@addto@macro\review@clsopts{tombo,}} | |
\DeclareOption{mentuke}{\g@addto@macro\review@clsopts{mentuke,}} | |
\DeclareOption{oneside}{\g@addto@macro\review@clsopts{oneside,}} | |
\DeclareOption{twoside}{\g@addto@macro\review@clsopts{twoside,}} | |
\DeclareOption{vartwoside}{\g@addto@macro\review@clsopts{vartwoside,}} | |
\DeclareOption{onecolumn}{\g@addto@macro\review@clsopts{onecolumn,}} | |
\DeclareOption{twocolumn}{\g@addto@macro\review@clsopts{twocolumn,}} | |
\DeclareOption{titlepage}{\g@addto@macro\review@clsopts{titlepage,}} | |
\DeclareOption{notitlepage}{\g@addto@macro\review@clsopts{notitlepage,}} | |
\DeclareOption{openright}{\g@addto@macro\review@clsopts{openright,}} | |
\DeclareOption{openany}{\g@addto@macro\review@clsopts{openany,}} | |
\DeclareOption{leqno}{\g@addto@macro\review@clsopts{leqno,}} | |
\DeclareOption{fleqn}{\g@addto@macro\review@clsopts{fleqn,}} | |
\DeclareOption{disablejfam}{\g@addto@macro\review@clsopts{disablejfam,}} | |
\DeclareOption{draft}{\g@addto@macro\review@clsopts{draft,}} | |
\DeclareOption{final}{\g@addto@macro\review@clsopts{final,}} | |
\DeclareOption{mingoth}{\g@addto@macro\review@clsopts{mingoth,}} | |
\DeclareOption{winjis}{\g@addto@macro\review@clsopts{winjis,}} | |
\DeclareOption{jis}{\g@addto@macro\review@clsopts{jis,}} | |
\DeclareOption{uplatex}{\g@addto@macro\review@clsopts{uplatex,}} | |
\DeclareOption{papersize}{\g@addto@macro\review@clsopts{papersize,}} | |
\DeclareOption{english}{\g@addto@macro\review@clsopts{english,}} | |
\DeclareOption{report}{\g@addto@macro\review@clsopts{report,}} | |
%% use otf package | |
\newif\if@review@pkg@otf \@review@pkg@otffalse | |
\@review@pkg@otftrue % \DeclareOption{package:otf}{\@review@pkg@otftrue} | |
%% use custom Kanji map | |
\DeclareOption{pdf:kanjimap=customreview}{% | |
\AtBeginDvi{% | |
\special{pdf:mapfile customreview.map}% | |
}% | |
} | |
\ProcessOptions | |
\if@review@uptex | |
\LoadClass[uplatex,\review@clsopts]{jsbook} | |
\if@review@pkg@otf\RequirePackage[uplatex,deluxe]{otf}\fi | |
\else | |
\LoadClass[\review@clsopts]{jsbook} | |
\if@review@pkg@otf\RequirePackage[deluxe]{otf}\fi | |
\fi | |
\listfiles | |
\endinput |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% #!platex test-reviewbook && dvipdfmx test-reviewbook | |
%#!uplatex test-reviewbook && dvipdfmx test-reviewbook | |
\documentclass[dvipdfmx,% | |
% tombo, | |
a5paper,papersize, | |
% pdf:kanjimap=customreview, | |
]{reviewbook} | |
\begin{document} | |
私の名前は、国語算数(こくご・さんすう)です。 | |
The quick brown fox jumps over the lazy dog. | |
The quick brown fox jumps over the lazy dog. | |
The quick brown fox jumps over the lazy dog. | |
The quick brown fox jumps over the lazy dog. | |
The quick brown fox jumps over the lazy dog. | |
The quick brown fox jumps over the lazy dog. | |
The quick brown fox jumps over the lazy dog. | |
The quick brown fox jumps over the lazy dog. | |
The quick brown fox jumps over the lazy dog. | |
The quick brown fox jumps over the lazy dog. | |
The quick brown fox jumps over the lazy dog. | |
The quick brown fox jumps over the lazy dog. | |
The quick brown fox jumps over the lazy dog. | |
The quick brown fox jumps over the lazy dog. | |
The quick brown fox jumps over the lazy dog. | |
The quick brown fox jumps over the lazy dog. | |
The quick brown fox jumps over the lazy dog. | |
The quick brown fox jumps over the lazy dog. | |
The quick brown fox jumps over the lazy dog. | |
The quick brown fox jumps over the lazy dog. | |
The quick brown fox jumps over the lazy dog. | |
The quick brown fox jumps over the lazy dog. | |
The quick brown fox jumps over the lazy dog. | |
The quick brown fox jumps over the lazy dog. | |
The quick brown fox jumps over the lazy dog. | |
The quick brown fox jumps over the lazy dog. | |
The quick brown fox jumps over the lazy dog. | |
The quick brown fox jumps over the lazy dog. | |
The quick brown fox jumps over the lazy dog. | |
The quick brown fox jumps over the lazy dog. | |
The quick brown fox jumps over the lazy dog. | |
The quick brown fox jumps over the lazy dog. | |
The quick brown fox jumps over the lazy dog. | |
The quick brown fox jumps over the lazy dog. | |
The quick brown fox jumps over the lazy dog. | |
The quick brown fox jumps over the lazy dog. | |
The quick brown fox jumps over the lazy dog. | |
The quick brown fox jumps over the lazy dog. | |
\end{document} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
でっち上げRe:VIEW用jsbook.cls乗りクラスファイル reviewbook.cls を使うと、次のようなことができます。
pdf:mapfile=customreview
クラスオプションを指定したとき、(deluxe
オプション付きで otfパッケージが標準で想定している仮想フォントを用いて、)(kpsewhich により一番目に見つかる)customreview.map に従ってフォントを埋め込みます。続きは、 kmuto/review#342 で。