I have used cleveref
package for referring to equations, figures, etc in an article. However, I wish to compile my tex file on another system which only has a basic version of tex. I wish to make my tex file sort of stand-alone .
Is there any way I can use a code which will look at my use of formatting references and replace all \cref
commands with \ref
commands but in the appropriate format.
Ex. when I use:
\crefformat{figure}{Fig.~(#2{}#1{}#3)}
\crefformat{section}{Sec.~(#2{}#1{}#3)}
\crefformat{equation}{Eq.~(#2{}#1{}#3)}
It should replace the instances of:
\cref{fig:label-for-fig}
\cref{eq:label-for-eq}
\cref{sec:label-for-sec}
by:
Fig. \ref{fig:label-for-fig}
Eq. \ref{eq:label-for-eq}
Sec. \ref{sec:label-for-sec}
(respectively).
Can anyone suggests a code that already exists ? Any language is ok if I can manage to run it on my system.
.sty
file ofcleveref
to your document's directory.arlatex
script in bounde-doc may still help...