Package: cjk / 4.8.4+git20170127-2

08_add_newpage_to_examples.diff Patch series | download
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
# 08_add_newpage_to_examples.diff by <danai@debian.org>
##
## Fix examples/*.tex: add \newpage in a CJK environment.  I add
## this because larger documents with \tableofcontents will
## sometimes fail when writing out the .toc file, even though
## this behaviour is well documented.  This will surely prevent
## many future errors with users.

---
 examples/Big5.tex      |    5 +++++
 examples/Big5vert.tex  |    5 +++++
 examples/CEF_test.tex  |    5 +++++
 examples/CJKfntef.tex  |    5 +++++
 examples/CJKmixed.tex  |    5 +++++
 examples/CJKspace.tex  |    5 +++++
 examples/CJKutf8.tex   |    5 +++++
 examples/GB.tex        |    5 +++++
 examples/JIS.tex       |    5 +++++
 examples/KS-hlatex.tex |    5 +++++
 examples/KS.tex        |    5 +++++
 examples/SJIS.tex      |    5 +++++
 examples/UTF8.tex      |    5 +++++
 13 files changed, 65 insertions(+)

--- cjk-4.8.4+git20150701.orig/examples/Big5.tex
+++ cjk-4.8.4+git20150701/examples/Big5.tex
@@ -41,6 +41,11 @@
 \textbf{�����s���c���Ӹ`�A�i�Ѧҡu�p��\Ū���ݵ����ΤF�Ѩ�s�Ƶ��c�v��
 �����������C}
 
+% We need to end the CJK environment with a \newpage; otherwise the
+% .aux and .toc files sometimes get messed up.  See `CJK.txt' in
+% /usr/share/doc/latex-cjk-common/ for more information, under
+% `Possible errors'.
+\newpage
 \end{CJK*}
 
 \end{document}
--- cjk-4.8.4+git20150701.orig/examples/Big5vert.tex
+++ cjk-4.8.4+git20150701/examples/Big5vert.tex
@@ -23,6 +23,11 @@
 \textbf{�����s���c���Ӹ`�A�i�Ѧҡu�p��\Ū���ݵ����ΤF�Ѩ�s�Ƶ��c�v��
 �����������C}
 
+% We need to end the CJK environment with a \newpage; otherwise the
+% .aux and .toc files sometimes get messed up.  See `CJK.txt' in
+% /usr/share/doc/latex-cjk-common/ for more information, under
+% `Possible errors'.
+\newpage
 \end{CJK*}
 
 \end{document}
--- cjk-4.8.4+git20150701.orig/examples/CEF_test.tex
+++ cjk-4.8.4+git20150701/examples/CEF_test.tex
@@ -40,6 +40,11 @@
 \verb|\CJKchar[CNS7]{"5A}{"5A}| \CJKchar[CNS7]{"5A}{"5A}
 \quad \verb|&C7-|\verb|5A5A;| &C7-5A5A;
 
+% We need to end the CJK environment with a \newpage; otherwise the
+% .aux and .toc files sometimes get messed up.  See `CJK.txt' in
+% /usr/share/doc/latex-cjk-common/ for more information, under
+% `Possible errors'.
+\newpage
 \end{CJK}
 
 \end{document}
--- cjk-4.8.4+git20150701.orig/examples/CJKfntef.tex
+++ cjk-4.8.4+git20150701/examples/CJKfntef.tex
@@ -79,6 +79,11 @@
 \verb|\CJKunderanysymbol{...}{...}{...}|:\\
 \CJKunderanysymbol{0.5em}{-}{���ּӵ㣬 ��ͬʱ���»��߼��»�����, �Զ�����,}
 
+% We need to end the CJK environment with a \newpage; otherwise the
+% .aux and .toc files sometimes get messed up.  See `CJK.txt' in
+% /usr/share/doc/latex-cjk-common/ for more information, under
+% `Possible errors'.
+\newpage
 \end{CJK*}
 
 \end{document}
--- cjk-4.8.4+git20150701.orig/examples/CJKmixed.tex
+++ cjk-4.8.4+git20150701/examples/CJKmixed.tex
@@ -73,6 +73,11 @@
     該項中的說明。}
 \end{TChinese}
 
+% We need to end the CJK environment with a \newpage; otherwise the
+% .aux and .toc files sometimes get messed up.  See `CJK.txt' in
+% /usr/share/doc/latex-cjk-common/ for more information, under
+% `Possible errors'.
+\newpage
 \end{CJK}
 
 \end{document}
--- cjk-4.8.4+git20150701.orig/examples/CJKspace.tex
+++ cjk-4.8.4+git20150701/examples/CJKspace.tex
@@ -29,6 +29,11 @@
   混排 \verb+anything+ 保持 \texttt{spaces} 空格 \LaTeX\ 间隔
   \mbox{boxes} 盒子 \hbox{hbox} 中文 123456 数字.
 
+% We need to end the CJK environment with a \newpage; otherwise the
+% .aux and .toc files sometimes get messed up.  See `CJK.txt' in
+% /usr/share/doc/latex-cjk-common/ for more information, under
+% `Possible errors'.
+\newpage
 \end{CJK*}
 
 \end{document}
--- cjk-4.8.4+git20150701.orig/examples/CJKutf8.tex
+++ cjk-4.8.4+git20150701/examples/CJKutf8.tex
@@ -143,6 +143,11 @@
     διαβάσετε αυτή την ΣΤΕ και πώς είναι οργανωμένη>>.}
 \end{otherlanguage}
 
+% We need to end the CJK environment with a \newpage; otherwise the
+% .aux and .toc files sometimes get messed up.  See `CJK.txt' in
+% /usr/share/doc/latex-cjk-common/ for more information, under
+% `Possible errors'.
+\newpage
 \end{CJK}
 
 \end{document}
--- cjk-4.8.4+git20150701.orig/examples/GB.tex
+++ cjk-4.8.4+git20150701/examples/GB.tex
@@ -20,6 +20,11 @@
 \textbf{�й��½ṹ��ϸ�ڣ��ɲο�������Ķ����ʴ𼯼��˽�����Žṹ����
 ���е�˵����}
 
+% We need to end the CJK environment with a \newpage; otherwise the
+% .aux and .toc files sometimes get messed up.  See `CJK.txt' in
+% /usr/share/doc/latex-cjk-common/ for more information, under
+% `Possible errors'.
+\newpage
 \end{CJK*}
 
 \end{document}
--- cjk-4.8.4+git20150701.orig/examples/JIS.tex
+++ cjk-4.8.4+git20150701/examples/JIS.tex
@@ -40,6 +40,11 @@
 \CJKfamily{maru}
 \testpar
 
+% We need to end the CJK environment with a \newpage; otherwise the
+% .aux and .toc files sometimes get messed up.  See `CJK.txt' in
+% /usr/share/doc/latex-cjk-common/ for more information, under
+% `Possible errors'.
+\newpage
 \end{CJK*}
 
 \end{document}
--- cjk-4.8.4+git20150701.orig/examples/KS-hlatex.tex
+++ cjk-4.8.4+git20150701/examples/KS-hlatex.tex
@@ -176,6 +176,11 @@
 \testpar
 
 
+% We need to end the CJK environment with a \newpage; otherwise the
+% .aux and .toc files sometimes get messed up.  See `CJK.txt' in
+% /usr/share/doc/latex-cjk-common/ for more information, under
+% `Possible errors'.
+\newpage
 \end{CJK}
 
 \end{document}
--- cjk-4.8.4+git20150701.orig/examples/KS.tex
+++ cjk-4.8.4+git20150701/examples/KS.tex
@@ -20,6 +20,11 @@
 ȹ�������� ����Ǿ����ϴ�.  \textbf{���� ���� ``�� FAQ �� ���
 ���� ���ΰ�'' ��� ����� �����Ͻñ� �ٶ��ϴ�.}
 
+% We need to end the CJK environment with a \newpage; otherwise the
+% .aux and .toc files sometimes get messed up.  See `CJK.txt' in
+% /usr/share/doc/latex-cjk-common/ for more information, under
+% `Possible errors'.
+\newpage
 \end{CJK}
 
 \end{document}
--- cjk-4.8.4+git20150701.orig/examples/SJIS.tex
+++ cjk-4.8.4+git20150701/examples/SJIS.tex
@@ -27,6 +27,11 @@
 �̓ǂݕ��Ƃ��̍\���v�̍��ڂ�\ruby{�Q}{����}\ruby{��}{���傤}���ĉ���
 ���B}
 
+% We need to end the CJK environment with a \newpage; otherwise the
+% .aux and .toc files sometimes get messed up.  See `CJK.txt' in
+% /usr/share/doc/latex-cjk-common/ for more information, under
+% `Possible errors'.
+\newpage
 \end{CJK*}
 
 \end{document}
--- cjk-4.8.4+git20150701.orig/examples/UTF8.tex
+++ cjk-4.8.4+git20150701/examples/UTF8.tex
@@ -37,6 +37,11 @@
 \CJKnospace
 \noindent こんにちは 世界
 
+% We need to end the CJK environment with a \newpage; otherwise the
+% .aux and .toc files sometimes get messed up.  See `CJK.txt' in
+% /usr/share/doc/latex-cjk-common/ for more information, under
+% `Possible errors'.
+\newpage
 \end{CJK}
 
 \end{document}