summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/l3experimental/l3str/l3str-url.def
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/l3experimental/l3str/l3str-url.def')
-rw-r--r--Master/texmf-dist/tex/latex/l3experimental/l3str/l3str-url.def103
1 files changed, 0 insertions, 103 deletions
diff --git a/Master/texmf-dist/tex/latex/l3experimental/l3str/l3str-url.def b/Master/texmf-dist/tex/latex/l3experimental/l3str/l3str-url.def
deleted file mode 100644
index 13cbde871fe..00000000000
--- a/Master/texmf-dist/tex/latex/l3experimental/l3str/l3str-url.def
+++ /dev/null
@@ -1,103 +0,0 @@
-%%
-%% This is file `l3str-url.def',
-%% generated with the docstrip utility.
-%%
-%% The original source files were:
-%%
-%% l3str.dtx (with options: `url')
-%%
-%% EXPERIMENTAL CODE
-%%
-%% Do not distribute this file without also distributing the
-%% source files specified above.
-%%
-%% Do not distribute a modified version of this file.
-%%
-%% File: l3str.dtx Copyright (C) 2011 The LaTeX3 Project
-%%
-%% It may be distributed and/or modified under the conditions of the
-%% LaTeX Project Public License (LPPL), either version 1.3c of this
-%% license or (at your option) any later version. The latest version
-%% of this license is in the file
-%%
-%% http://www.latex-project.org/lppl.txt
-%%
-%% This file is part of the "l3experimental bundle" (The Work in LPPL)
-%% and all files in that bundle must be distributed together.
-%%
-%% The released version of this bundle is available from CTAN.
-%%
-%% -----------------------------------------------------------------------
-%%
-%% The development version of the bundle can be found at
-%%
-%% http://www.latex-project.org/svnroot/experimental/trunk/
-%%
-%% for those people who are interested.
-%%
-%%%%%%%%%%%
-%% NOTE: %%
-%%%%%%%%%%%
-%%
-%% Snapshots taken from the repository represent work in progress and may
-%% not work or may contain conflicting material! We therefore ask
-%% people _not_ to put them into distributions, archives, etc. without
-%% prior consultation with the LaTeX3 Project.
-%%
-%% -----------------------------------------------------------------------
-\cs_set_protected:Npn \str_tmp:w #1#2#3
- {
- \cs_new_protected_nopar:Npn #2
- {
- \group_begin:
- \int_set:Nn \tex_escapechar:D { 92 }
- \tl_gset:Nx \g_str_result_tl
- {
- \exp_after:wN #3 \g_str_result_tl
- #1 ? { ? \prg_map_break: }
- \prg_break_point:n { }
- }
- \group_end:
- }
- \cs_new_nopar:Npn #3 ##1#1##2##3
- {
- \str_filter_bytes:n {##1}
- \use_none:n ##3
- \str_output_byte:w "
- \str_aux_hexadecimal_use:NTF ##2
- {
- \str_aux_hexadecimal_use:NTF ##3
- { }
- { * \c_zero + `#1 \use_i:nn }
- }
- { 0 + `#1 \use_i:nn }
- \str_output_end:
- \use_i:nnn #3 ##2##3
- }
- }
-\exp_after:wN \str_tmp:w \c_percent_str
- \str_convert_input_url: \str_convert_input_url_aux:wNN
-\cs_new_protected_nopar:Npn \str_convert_output_url:
- { \str_aux_gmap_result:N \str_convert_output_url_aux:N }
-\cs_new_nopar:Npn \str_convert_output_url_aux:N #1
- {
- \str_convert_output_url_aux:NTF #1 {#1}
- { \c_percent_str \str_output_hexadecimal:n { `#1 } }
- }
-\prg_new_conditional:Npnn \str_convert_output_url_aux:N #1 { TF }
- {
- \if_num:w `#1 < "41 \exp_stop_f:
- \str_if_contains_char:nNTF { "-.<> } #1
- \prg_return_true: \prg_return_false:
- \else:
- \if_num:w `#1 > "7E \exp_stop_f:
- \prg_return_false:
- \else:
- \str_if_contains_char:nNTF { [ ] } #1
- \prg_return_false: \prg_return_true:
- \fi:
- \fi:
- }
-%%
-%%
-%% End of file `l3str-url.def'.