summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/l3kernel/l3unicode-data.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/l3kernel/l3unicode-data.dtx')
-rw-r--r--Master/texmf-dist/source/latex/l3kernel/l3unicode-data.dtx26
1 files changed, 15 insertions, 11 deletions
diff --git a/Master/texmf-dist/source/latex/l3kernel/l3unicode-data.dtx b/Master/texmf-dist/source/latex/l3kernel/l3unicode-data.dtx
index 79fbc2783e6..657e868ae21 100644
--- a/Master/texmf-dist/source/latex/l3kernel/l3unicode-data.dtx
+++ b/Master/texmf-dist/source/latex/l3kernel/l3unicode-data.dtx
@@ -38,7 +38,7 @@
% plain \TeX{}, set up in generic mode.
%<*driver|script>
\input expl3-generic\relax
-\GetIdInfo$Id: l3unicode-data.dtx 5897 2015-08-28 09:06:29Z joseph $
+\GetIdInfo$Id: l3unicode-data.dtx 5983 2015-09-10 18:57:56Z joseph $
{L3 Case data script}
%</driver|script>
%
@@ -137,7 +137,7 @@
% \end{macrocode}
%
% \subsection{Setup}
-%
+%
% \begin{variable}{\l__unicode_tmp_tl}
% Scratch space.
% \begin{macrocode}
@@ -281,7 +281,7 @@
\use:x
{
\cs_new_protected:Npn
- \exp_not:N \__unicode_parse_line:w ##1 - ##2 \tl_to_str:n { .txt }
+ \exp_not:N \__unicode_parse_line:w ##1 - ##2 \tl_to_str:n { .txt }
}
#3 \scan_stop: #4
{
@@ -340,7 +340,7 @@
%%
\__unicode_verb_end:
% \end{macrocode}
-%
+%
% \begin{macro}[EXP]{\__unicode_zero_fill:N}
% A short piece of reusable code for the header.
% \begin{macrocode}
@@ -380,8 +380,8 @@
{ l3unicode-data.def } ~
{
\int_use:N \tex_year:D /
- \__unicode_zero_fill:N \tex_month:D /
- \__unicode_zero_fill:N \tex_day:D
+ \__unicode_zero_fill:N \tex_month:D /
+ \__unicode_zero_fill:N \tex_day:D
} ~
{ -1 } ~
{ L3~Unicode~data }
@@ -407,7 +407,11 @@
% range), no-op data is included (as the \emph{output} would be out-of-range).
% \begin{macrocode}
\__unicode_verb:
-\pdftex_if_engine:T
+\bool_if:nF
+ {
+ \sys_if_engine_luatex_p: ||
+ \sys_if_engine_xetex_p:
+ }
{
\group_begin:
\cs_set_protected:Npn \__unicode_tmp:NN #1#2
@@ -687,7 +691,7 @@
% \end{macrocode}
%
% Saving the data uses a single file, with the two arrays followed by the
-% exceptions.
+% exceptions.
% \begin{macrocode}
\tl_map_inline:nn { 0123456789 }
{
@@ -715,7 +719,7 @@
}
}
\clist_map_inline:nn
- { upper , lower , title }
+ { upper , lower , title }
{
\iow_now:Nx \g__unicode_result_iow
{
@@ -724,7 +728,7 @@
{
c__unicode_
\str_if_eq:nnTF {#1} { title } { mixed } {#1}
- _exceptions_tl
+ _exceptions_tl
}
{ \exp_not:v { l__unicode_ #1 _ exceptions_tl } }
}
@@ -917,4 +921,4 @@
%
% \end{implementation}
%
-% \PrintIndex \ No newline at end of file
+% \PrintIndex