summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/expl3/l3file.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/expl3/l3file.sty')
-rw-r--r--Master/texmf-dist/tex/latex/expl3/l3file.sty32
1 files changed, 16 insertions, 16 deletions
diff --git a/Master/texmf-dist/tex/latex/expl3/l3file.sty b/Master/texmf-dist/tex/latex/expl3/l3file.sty
index 4e576422173..5a1df4c8349 100644
--- a/Master/texmf-dist/tex/latex/expl3/l3file.sty
+++ b/Master/texmf-dist/tex/latex/expl3/l3file.sty
@@ -49,7 +49,7 @@
%% -----------------------------------------------------------------------
%%
\RequirePackage{l3names}
-\GetIdInfo$Id: l3file.dtx 1352 2009-05-28 11:50:39Z morten $
+\GetIdInfo$Id: l3file.dtx 1676 2009-11-02 08:18:16Z will $
{L3 Experimental file loading}
\ProvidesExplPackage
{\filename}{\filedate}{\fileversion}{\filedescription}
@@ -69,9 +69,9 @@
\prg_return_true:
}
}
-\cs_new_nopar:Nn \file_if_exist_path:n {
+\cs_new_nopar:Npn \file_if_exist_path:n #1 {
\bool_set_false:N \l_file_tmp_bool
- \cs_set_nopar:Nn \file_if_exist_aux:n {
+ \cs_set_nopar:Npn \file_if_exist_aux:n ##1 {
\ior_open:Nn \l_file_test_read_stream { #1 ##1 }
\ior_if_eof:NF \l_file_test_read_stream {
\bool_set_true:N \l_file_tmp_bool
@@ -89,8 +89,8 @@
\prg_return_false:
}
}
-\cs_new_nopar:Nn \file_if_exist_aux:n { }
-\cs_new_nopar:Nn \file_add_path:nN {
+\cs_new_nopar:Npn \file_if_exist_aux:n #1 { }
+\cs_new_nopar:Npn \file_add_path:nN #1#2 {
\tl_clear:N #2
\ior_open:Nn \l_file_test_read_stream {#1}
\ior_if_eof:NTF \l_file_test_read_stream {
@@ -100,8 +100,8 @@
}
\ior_close:N \l_file_test_read_stream
}
-\cs_new_nopar:Nn \file_add_path_search:nN {
- \cs_set_nopar:Nn \file_add_path_aux:n {
+\cs_new_nopar:Npn \file_add_path_search:nN #1#2 {
+ \cs_set_nopar:Npn \file_add_path_aux:n ##1 {
\ior_open:Nn \l_file_test_read_stream { ##1 #1 }
\ior_if_eof:NF \l_file_test_read_stream {
\tl_set:Nn #2 { ##1 #1 }
@@ -113,43 +113,43 @@
}
\clist_map_function:NN \l_file_search_path_clist \file_add_path_aux:n
}
-\cs_new_nopar:Nn \file_add_path_aux:n { }
-\cs_new:Nn \file_input:n {
+\cs_new_nopar:Npn \file_add_path_aux:n #1 { }
+\cs_new:Npn \file_input:n #1 {
\file_add_path:nN {#1} \l_file_tmp_tl
\tl_if_empty:NF \l_file_tmp_tl {
\file_input_no_check:n \l_file_tmp_tl
}
}
-\cs_new:Nn \file_input_no_record:n {
+\cs_new:Npn \file_input_no_record:n #1 {
\file_add_path:nN {#1} \l_file_tmp_tl
\tl_if_empty:NF \l_file_tmp_tl {
\file_input_no_check_no_record:n \l_file_tmp_tl
}
}
-\cs_new_nopar:Nn \file_input_no_check:n {
+\cs_new_nopar:Npn \file_input_no_check:n #1 {
\clist_gput_right:Nx \g_file_record_clist {#1}
\wlog{ADDING: #1}
\@addtofilelist {#1}
\clist_gput_right:Nx \g_file_record_full_clist {#1}
\tex_input:D #1 ~
}
-\cs_new_nopar:Nn \file_input_no_check_no_record:n {
+\cs_new_nopar:Npn \file_input_no_check_no_record:n #1 {
\clist_gput_right:Nx \g_file_record_full_clist {#1}
\tex_input:D #1 ~
}
-\cs_new_nopar:Nn \file_list: {
+\cs_new_nopar:Npn \file_list: {
\file_list:N \g_file_record_clist
}
-\cs_new_nopar:Nn \file_list_full: {
+\cs_new_nopar:Npn \file_list_full: {
\file_list:N \g_file_record_full_clist
}
-\cs_new_nopar:Nn \file_list:N {
+\cs_new_nopar:Npn \file_list:N #1 {
\clist_remove_duplicates:N #1
\iow_log:x { *~File~List~* }
\clist_map_function:NN #1 \file_list_aux:n
\iow_log:x { ************* }
}
-\cs_new_nopar:Nn \file_list_aux:n {
+\cs_new_nopar:Npn \file_list_aux:n #1 {
\iow_log:x { #1 }
}
\AtBeginDocument{