summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/uptexdir/tests
diff options
context:
space:
mode:
authorTakuji Tanaka <ttk@t-lab.opal.ne.jp>2020-10-25 14:04:57 +0000
committerTakuji Tanaka <ttk@t-lab.opal.ne.jp>2020-10-25 14:04:57 +0000
commite1486c671ddecbfa1ee3191ab2d0e9a7a08a666a (patch)
treeb47b26f370936f8b816c8b6a6d677300e75bbb94 /Build/source/texk/web2c/uptexdir/tests
parentd8e1864eb74401b9db542dd6fa247d4d144cd15f (diff)
upTeX 1.27, update is.kanji.str$ in upBiBTeX
git-svn-id: svn://tug.org/texlive/trunk@56756 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/uptexdir/tests')
-rw-r--r--Build/source/texk/web2c/uptexdir/tests/unibib.aux4
-rw-r--r--Build/source/texk/web2c/uptexdir/tests/unibib.bbl50
-rw-r--r--Build/source/texk/web2c/uptexdir/tests/unibib.bib81
-rw-r--r--Build/source/texk/web2c/uptexdir/tests/unibib.tex98
4 files changed, 233 insertions, 0 deletions
diff --git a/Build/source/texk/web2c/uptexdir/tests/unibib.aux b/Build/source/texk/web2c/uptexdir/tests/unibib.aux
new file mode 100644
index 00000000000..c8ad2dc61ca
--- /dev/null
+++ b/Build/source/texk/web2c/uptexdir/tests/unibib.aux
@@ -0,0 +1,4 @@
+\relax
+\citation{*}
+\bibstyle{jplain}
+\bibdata{unibib}
diff --git a/Build/source/texk/web2c/uptexdir/tests/unibib.bbl b/Build/source/texk/web2c/uptexdir/tests/unibib.bbl
new file mode 100644
index 00000000000..718ab2c44bc
--- /dev/null
+++ b/Build/source/texk/web2c/uptexdir/tests/unibib.bbl
@@ -0,0 +1,50 @@
+\begin{thebibliography}{1}
+
+\bibitem{björk2020}
+Tomas Björk.
+\newblock {\em Arbitrage Theory in Continuous Time}.
+\newblock Oxford University Press, 2020.
+
+\bibitem{boswell}
+Dustin Boswell and Trevor Foucher.
+\newblock リーダブルコード
+ ―より良いコードを書くためのシンプルで実践的
+ なテクニック (Theory in practice).
+\newblock オライリージャパン, 2012.
+
+\bibitem{dostoevskii}
+Фёдор~Миха́йлович Достое́вский.
+\newblock {\em Братья Карамазовы}.
+\newblock Гослитиздат, 1958.
+
+\bibitem{gim}
+김만중.
+\newblock 구운몽.
+\newblock 高麗書林, 1975.
+
+\bibitem{nikos}
+Νίκος Καζαντζάκης.
+\newblock {\em Συμπόσιον}.
+\newblock 京緑社, 2020.
+
+\bibitem{knuth86}
+Donald~E. Knuth.
+\newblock {\em The \TeX book}.
+\newblock Addison-Wesley, 1986.
+
+\bibitem{ken-na}
+中野賢.
+\newblock 日本語{\LaTeXe}ブック.
+\newblock アスキー, 1996.
+
+\bibitem{kigou}
+Foo Hoge.
+\newblock {\em $£(!?)☃♪、。§○●}.
+\newblock Snowman commedian Press, 2020.
+
+\bibitem{fullwidth}
+Bar Fuga.
+\newblock 1.
+\newblock TeXnician Co., Ltd., 2020.
+
+\end{thebibliography}
diff --git a/Build/source/texk/web2c/uptexdir/tests/unibib.bib b/Build/source/texk/web2c/uptexdir/tests/unibib.bib
new file mode 100644
index 00000000000..11e6baa22a8
--- /dev/null
+++ b/Build/source/texk/web2c/uptexdir/tests/unibib.bib
@@ -0,0 +1,81 @@
+%% ASCII only
+@book{knuth86,
+ author = "Donald E. Knuth",
+ title = "The \TeX book",
+ publisher = "Addison-Wesley",
+ year = 1986,
+}
+
+%% Latin-1
+@book{björk2020,
+ author = "Tomas Björk",
+ title = "Arbitrage Theory in Continuous Time",
+ publisher = "Oxford University Press",
+ year = 2020,
+}
+
+%% 日本人姓名;読み仮名つき
+@book{ken-na,
+ author = "中野 賢",
+ yomi = "Ken Nakano",
+ title = "日本語{\LaTeXe}ブック",
+ publisher = "アスキー",
+ year = 1996,
+}
+
+%% ギリシャ文字;ニコス・カザンザキス「饗宴」
+@book{nikos,
+ author = "Νίκος Καζαντζάκης",
+ yomi = "Nikos Kazantzakis",
+ title = "Συμπόσιον",
+ publisher = "京緑社",
+ year = 2020,
+}
+
+%% キリル文字;ドストエフスキー「カラマーゾフの兄弟」
+@book{dostoevskii,
+ title = "Братья Карамазовы",
+ author = "Достое́вский, Фёдор Миха́йлович",
+ yomi = "Dostoevskii, F.M.",
+ publisher = "Гослитиздат",
+ year = "1958",
+}
+
+%% ハングル:金萬重「九雲夢」
+@book{gim,
+ author = "김 만중",
+ yomi = "Manjung Gim",
+ title = "구운몽",
+ publisher = "高麗書林",
+ year = 1975,
+}
+
+%% 日本語文献;著者は非・日本人
+@book{boswell,
+ author = {Boswell, Dustin and Foucher, Trevor},
+ title = {リーダブルコード ―より良いコードを書くためのシンプルで実践的
+ なテクニック (Theory in practice) },
+ year = 2012,
+ publisher = {オライリージャパン},
+ translator = {角 征典},
+ language = {ja},
+ yomi = {boswell}
+}
+
+%% 全角数字(17)は和文扱いとする
+@book{fullwidth,
+ author = "Bar Fuga",
+ yomi = "ぜんかく",
+ title = "1",
+ publisher = "TeXnician Co., Ltd.",
+ year = 2020,
+}
+
+%% 記号類(18)は欧文扱いとする
+@book{kigou,
+ author = "Foo Hoge",
+ yomi = "きごうたち",
+ title = "$£(!?)☃♪、。§○●",
+ publisher = "Snowman commedian Press",
+ year = 2020,
+}
diff --git a/Build/source/texk/web2c/uptexdir/tests/unibib.tex b/Build/source/texk/web2c/uptexdir/tests/unibib.tex
new file mode 100644
index 00000000000..918d11f37b2
--- /dev/null
+++ b/Build/source/texk/web2c/uptexdir/tests/unibib.tex
@@ -0,0 +1,98 @@
+% https://github.com/texjporg/tex-jp-build/issues/109
+
+\begin{filecontents}[overwrite]{\jobname.bib}
+%% ASCII only
+@book{knuth86,
+ author = "Donald E. Knuth",
+ title = "The \TeX book",
+ publisher = "Addison-Wesley",
+ year = 1986,
+}
+
+%% Latin-1
+@book{björk2020,
+ author = "Tomas Björk",
+ title = "Arbitrage Theory in Continuous Time",
+ publisher = "Oxford University Press",
+ year = 2020,
+}
+
+%% 日本人姓名;読み仮名つき
+@book{ken-na,
+ author = "中野 賢",
+ yomi = "Ken Nakano",
+ title = "日本語{\LaTeXe}ブック",
+ publisher = "アスキー",
+ year = 1996,
+}
+
+%% ギリシャ文字;ニコス・カザンザキス「饗宴」
+@book{nikos,
+ author = "Νίκος Καζαντζάκης",
+ yomi = "Nikos Kazantzakis",
+ title = "Συμπόσιον",
+ publisher = "京緑社",
+ year = 2020,
+}
+
+%% キリル文字;ドストエフスキー「カラマーゾフの兄弟」
+@book{dostoevskii,
+ title = "Братья Карамазовы",
+ author = "Достое́вский, Фёдор Миха́йлович",
+ yomi = "Dostoevskii, F.M.",
+ publisher = "Гослитиздат",
+ year = "1958",
+}
+
+%% ハングル:金萬重「九雲夢」
+@book{gim,
+ author = "김 만중",
+ yomi = "Manjung Gim",
+ title = "구운몽",
+ publisher = "高麗書林",
+ year = 1975,
+}
+
+%% 日本語文献;著者は非・日本人
+@book{boswell,
+ author = {Boswell, Dustin and Foucher, Trevor},
+ title = {リーダブルコード ―より良いコードを書くためのシンプルで実践的
+ なテクニック (Theory in practice) },
+ year = 2012,
+ publisher = {オライリージャパン},
+ translator = {角 征典},
+ language = {ja},
+ yomi = {boswell}
+}
+
+%% 全角数字(17)は和文扱いとする
+@book{fullwidth,
+ author = "Bar Fuga",
+ yomi = "ぜんかく",
+ title = "1",
+ publisher = "TeXnician Co., Ltd.",
+ year = 2020,
+}
+
+%% 記号類(18)は欧文扱いとする
+@book{kigou,
+ author = "Foo Hoge",
+ yomi = "きごうたち",
+ title = "$£(!?)☃♪、。§○●",
+ publisher = "Snowman commedian Press",
+ year = 2020,
+}
+\end{filecontents}
+
+\documentclass{ltjsarticle}
+% ギリシャ文字・キリル文字を欧文扱い
+\ltjsetparameter{jacharrange={-2}}
+\usepackage{luatexja-fontspec}
+\usepackage[sourcehan]{luatexja-preset}
+\setmainfont{XITS}% ギリシャ文字・キリル文字を含む
+\begin{document}
+test
+\nocite{*}
+\bibliographystyle{jplain}
+\bibliography{\jobname}
+\end{document}