[latex3-commits] [git/LaTeX3-latex3-latex3] master: Drop stray copy of lines (72c8f57)

Joseph Wright joseph.wright at morningstar2.co.uk
Thu Jul 26 18:58:54 CEST 2018


Repository : https://github.com/latex3/latex3
On branch  : master
Link       : https://github.com/latex3/latex3/commit/72c8f57d0662e71d490a5ba6b6b6c1a2d0e7adc3

>---------------------------------------------------------------

commit 72c8f57d0662e71d490a5ba6b6b6c1a2d0e7adc3
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Thu Jul 26 17:58:54 2018 +0100

    Drop stray copy of lines


>---------------------------------------------------------------

72c8f57d0662e71d490a5ba6b6b6c1a2d0e7adc3
 l3kernel/l3candidates.dtx |   55 ---------------------------------------------
 1 file changed, 55 deletions(-)

diff --git a/l3kernel/l3candidates.dtx b/l3kernel/l3candidates.dtx
index 6c7f6c8..fb352cb 100644
--- a/l3kernel/l3candidates.dtx
+++ b/l3kernel/l3candidates.dtx
@@ -3018,61 +3018,6 @@
 %    \end{macrocode}
 % \end{macro}
 %
-% \begin{variable}{\c_sys_platform_str}
-% \begin{macro}[pTF]{\sys_if_platform_unix:}
-% \begin{macro}[pTF]{\sys_if_platform_windows:}
-%   Detecting the platform on \LuaTeX{} is easy: for other engines, we use
-%   the fact that the two common cases have special null files. It is possible
-%   to probe further (see package \pkg{platform}), but that requires shell
-%   escape and seems unlikely to be useful.
-%    \begin{macrocode}
-\sys_if_engine_luatex:TF
-  {
-    \str_const:Nx \c_sys_platform_str
-      { \lua_now:n { tex.print(os.type) } }
-  }
-  {
-    \file_if_exist:nTF { nul: }
-      {
-        \file_if_exist:nF { /dev/null }
-          { \str_const:Nn \c_sys_platform_str { windows } }
-      }
-      {
-        \file_if_exist:nT { /dev/null }
-          { \str_const:Nn \c_sys_platform_str { unix } }
-      }
-  }
-\cs_if_exist:NF \c_sys_platform_str
-  { \str_const:Nn \c_sys_platform_str { unknown }  }
-\cs_new_eq:NN \sys_if_platform_unix:T \use_none:n
-\cs_new_eq:NN \sys_if_platform_unix:F \use:n
-\cs_new_eq:NN \sys_if_platform_unix:TF \use_ii:nn
-\cs_new_eq:NN \sys_if_platform_unix_p: \c_false_bool
-\cs_new_eq:NN \sys_if_platform_windows:T \use_none:n
-\cs_new_eq:NN \sys_if_platform_windows:F \use:n
-\cs_new_eq:NN \sys_if_platform_windows:TF \use_ii:nn
-\cs_new_eq:NN \sys_if_platform_windows_p: \c_false_bool
-\str_if_eq:VnTF \c_sys_platform_str { unix }
-  {
-    \cs_set_eq:NN \sys_if_platform_unix:T \use:n
-    \cs_set_eq:NN \sys_if_platform_unix:F \use_none:n
-    \cs_set_eq:NN \sys_if_platform_unix:TF \use_i:nn
-    \cs_set_eq:NN \sys_if_platform_unix_p: \c_true_bool
-  }
-  {
-    \str_if_eq:VnT \c_sys_platform_str { windows }
-      {
-        \cs_set_eq:NN \sys_if_platform_windows:T \use:n
-        \cs_set_eq:NN \sys_if_platform_windows:F \use_none:n
-        \cs_set_eq:NN \sys_if_platform_windows:TF \use_i:nn
-        \cs_set_eq:NN \sys_if_platform_windows_p: \c_true_bool
-      }
-  }
-%    \end{macrocode}
-% \end{macro}
-% \end{macro}
-% \end{variable}
-%
 % \subsection{Additions to \pkg{l3tl}}
 %
 %    \begin{macrocode}





More information about the latex3-commits mailing list