summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/expl3/l3quark.sty
blob: a4bb2fbf98534b59c76e90d65e112fa0757a17b5 (plain)
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
%%
%% This is file `l3quark.sty',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% l3quark.dtx  (with options: `package,trace')
%% 
%% 
%% 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: l3quark.dtx Copyright (C) 1990-1998 LaTeX3 project
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{l3quark}
          [1998/05/20 v1.0e L3 Experimental Quark Commands]
\RequirePackage{l3expan}\par
\def_new:Npn \quark_new:N #1{\tlp_new:Nn #1{#1}}
\quark_new:N \q_stop
\quark_new:N \q_no_value
\quark_new:N \q_nil
\quark_new:N\q_error
\quark_new:N\q_mark
\def_new:Npn \quark_if_no_value:NTF #1{
     \if_meaning:NN\q_no_value#1
          \exp_after:NN\use_choice_i:nn
     \else: \exp_after:NN\use_choice_ii:nn \fi:}
\def_new:Npn \quark_if_no_value:NF #1{\quark_if_no_value:NTF {#1}\use_noop:}
\def_new:Npn \quark_if_no_value:nTF #1{\tlp_gset:Nn \g_testa_tlp {#1}
    \quark_if_no_value:NTF\g_testa_tlp}
\def_new:Npn \quark_if_no_value:nF #1{\quark_if_no_value:nTF {#1}\use_noop:}
\def_new:Npn \quark_if_no_value:nT #1#2{\quark_if_no_value:nTF {#1}
        {#2}\use_noop:}
\def_new:Npn\quark_if_nil:NTF#1{
  \if_meaning:NN#1\q_nil
    \exp_after:NN\use_choice_i:nn
  \else:
    \exp_after:NN\use_choice_ii:nn\fi:}
%% 
%%
%% End of file `l3quark.sty'.