summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/stex/source/stex/stex-others.dtx
blob: e22aa885905433e4857cec7afbd072086ee93a1d (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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
% \iffalse meta-comment
% An Infrastructure for Semantic Macros and Module Scoping
% Copyright (c) 2019 Michael Kohlhase, all rights reserved
%                this file is released under the
%                LaTeX Project Public License (LPPL)
% 
% The original of this file is in the public repository at 
% http://github.com/sLaTeX/sTeX/
%
% TODO update copyright  
%
%<*driver>
\def\bibfolder#1{../../lib/bib/#1}
\input{../../doc/stex-docheader}

\begin{document}
  \DocInput{\jobname.dtx}
\end{document}
%</driver>
% \fi
%
% \title{ \sTeX-Others
% 	\thanks{Version {\fileversion} (last revised {\filedate})} 
% }
%
% \author{Michael Kohlhase, Dennis Müller\\
% 	FAU Erlangen-Nürnberg\\
% 	\url{http://kwarc.info/}
% }
%
% \maketitle
%
% \begin{documentation}\label{pkg:finally:doc}
%
% \end{documentation}
%
% \begin{implementation}\label{pkg:finally:impl}
%
% Some auxiliary code, and clean up to be executed at the
% end of the package.
%
% \section{\sTeX-Others Implementation}
%
%    \begin{macrocode}
%<*package>

%%%%%%%%%%%%%   others.dtx   %%%%%%%%%%%%%

%<@@=stex_others>
%    \end{macrocode}
%
% Warnings and error messages
%
%    \begin{macrocode}
  % None
%    \end{macrocode}
%
% \begin{macro}{\MSC}
%
% Math subject classifier
%
%    \begin{macrocode}
\NewDocumentCommand \MSC {m} {
  % TODO
}
%    \end{macrocode}
% \end{macro}
%
%
% Patching \pkg{tikzinput}, if loaded
%
%    \begin{macrocode}
\@ifpackageloaded{tikzinput}{
  \RequirePackage{stex-tikzinput}
}{}

\bool_if:NT \c_stex_persist_mode_bool {
  \let\__stex_notation_restore_notation_old:nnnnn
    \__stex_notation_restore_notation:nnnnn
  \def\__stex_notation_restore_notation_new:nnnnn#1#2#3#4#5{
    \__stex_notation_restore_notation_old:nnnnn{#1}{#2}{#3}{#4}{#5}
    \ExplSyntaxOn
  }
  \def\__stex_notation_restore_notation:nnnnn{
    \ExplSyntaxOff
    \catcode`~10
    \__stex_notation_restore_notation_new:nnnnn
  }
  \input{\jobname.sms}
  \let\__stex_notation_restore_notation:nnnnn
    \__stex_notation_restore_notation_old:nnnnn
  \prop_if_exist:NT\c_stex_mathhub_main_manifest_prop{
    \prop_get:NnN \c_stex_mathhub_main_manifest_prop {id} 
      \l_tmpa_str
    \prop_set_eq:cN { c_stex_mathhub_\l_tmpa_str _manifest_prop }
      \c_stex_mathhub_main_manifest_prop
    \exp_args:Nx \stex_set_current_repository:n { \l_tmpa_str }
  }
}
%    \end{macrocode}
%
%
%
%    \begin{macrocode}
%</package>
%    \end{macrocode}
%
% \end{implementation}
% \ifinfulldoc\else\printbibliography\fi
%
% \PrintIndex