Archived
1
0
Fork 0
This repository has been archived on 2024-10-19. You can view files and clone it, but cannot push or open issues or pull requests.
emacs/code/elpa/auctex-13.2.1/latex/prcounters.def

39 lines
1.3 KiB
Modula-2
Raw Permalink Normal View History

2022-08-25 17:42:37 +00:00
%%
%% This is file `prcounters.def',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% preview.dtx (with options: `counters')
%%
%% IMPORTANT NOTICE:
%%
%% For the copyright see the source file.
%%
%% Any modified versions of this file must be renamed
%% with new filenames distinct from prcounters.def.
%%
%% For distribution of the original source see the terms
%% for copying and modification in the file preview.dtx.
%%
%% This generated file may be distributed as long as the
%% original source files, as listed above, are part of the
%% same distribution. (The sources need not necessarily be
%% in the same archive or directory.)
%% The preview style for extracting previews from LaTeX documents.
%% Developed as part of AUCTeX <URL:https://www.gnu.org/software/auctex/>.
\ifPreview\else\expandafter\endinput\fi
\def\pr@eltprint#1{\expandafter\@gobble\ifnum\value{#1}=0%
\csname pr@c@#1\endcsname\else\relax
\space{#1}{\arabic{#1}}\fi}
\def\pr@eltdef#1{\expandafter\xdef
\csname pr@c@#1\endcsname{\arabic{#1}}}
\def\pr@ckpt#1{{\let\@elt\pr@eltprint\edef\next{\cl@@ckpt}%
\ifx\next\@empty\else\typeout{Preview: Counters\next#1}%
\let\@elt\pr@eltdef\cl@@ckpt\fi}}
\pr@addto@front\pr@ship@start{\pr@ckpt:}
\pr@addto@front\pr@ship@end{\pr@ckpt.}
\endinput
%%
%% End of file `prcounters.def'.