summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/lisp-on-tex/lisp-latexutil.sty
blob: 633e5cd13d55d44c5e3fb8f4efb554bd17b5d9ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
%% READ_LaTeX_Counter : string -> int
%% (\readLaTeXCounter str) -> i
%% where i = \the\c@str
\addassoc\@globalenv\readLaTeXCounter{\@tlabel@func{\@tex@read@latex@counter}}
\def\@tex@read@latex@counter#1#2#3{%
  \expandafter\expandafter\expandafter\gdef
  \expandafter\expandafter\expandafter#1%
  \expandafter\expandafter\expandafter{%
  \expandafter\expandafter\expandafter\@tlabel@int
  \expandafter\expandafter\expandafter{%
   \expandafter\the\csname c@#3\endcsname}}}

\addassoc\@globalenv\message{\@tlabel@func{\@tex@lisp@message}}
\def\@tex@lisp@message#1\@tlabel@string#2{%
	\gdef#1{\@tlabel@nil{}}\message{^^J#2^^J}}