summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/uptex/uptex-base/samples/jbib3-utf8.tex
blob: f8adf32f92ba9149e27b6a15179b4fa3d4735eab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
\documentclass{ujarticle}
%\usepackage{lmodern}% Latin Modern
\usepackage[T2A,T1]{fontenc}
\usepackage[russian,japanese]{babel}
\kcatcode`П=15% U+041F:П (Cyrillic)

%%%%%%%%
% set3 関連の制御をコマンドラインから行う
% ①,② のどれかを実行すればよい。
%   ① without set3
%   $ uplatex "\def\withsetthree{no}\input" jbib3-utf8.tex
%   ② with set3
%   $ uplatex jbib3-utf8.tex
%%%%%%
\def\withsetthreetmp{no}

\oddsidemargin0mm
\evensidemargin0mm
\topmargin-15mm
\textwidth162mm
\textheight245mm

\begin{document}
\fontencoding{T1}\selectfont
\section{upTeX用テストデータ}
upbibtexのテスト\cite{森鷗外:百物語}。
upbibtexのテスト\cite{里見弴:極楽とんぼ}。
upbibtexのテスト\cite{国書:丿乀集}。
upbibtexのテスト\cite{グラハム:Unicode™標準入門}。
upbibtexのテスト\cite{test:misc0}。
upbibtexのテスト\cite{test:misc1}。
upbibtexのテスト\cite{test:misc2}。
% set3対応フォント+dviwareなら、「𠮷」もUTF-8で直接書ける。
\ifx\withsetthree\withsetthreetmp\else
upbibtexのテスト\cite{髙島𠮷野}。
\fi

\section{欧文8bit多バイト}
upbibtexのテスト\cite{\detokenize{Lautréamont}}。
upbibtexのテスト\cite{\detokenize{BrüderGrimm}}。
\fontencoding{T2A}\selectfont
upbibtexのテスト\cite{\detokenize{Булгаков}}。
\fontencoding{T1}\selectfont

%\bibliographystyle{jplain}
\bibliographystyle{jalpha}
%\bibliographystyle{jabbrv}
%\bibliographystyle{junsrt}
%\bibliographystyle{jname}

%\bibliographystyle{tipsj}%% 情報処理学会論文誌
%\bibliographystyle{jipsj}%% 情報処理学会欧文論文誌
%\bibliographystyle{tieice}%% 電子情報通信学会論文誌
%\bibliographystyle{jorsj}%% 日本オペレーションズリサーチ学会論文誌

%\fontencoding{T1}\selectfont
\fontencoding{T2A}\selectfont
\bibliography{jbtest}

\end{document}