Temporary fix for section hyperlinking issue (until sPxTeX)
parent
5df58dad94
commit
1813315ee9
13
lvspec.cls
13
lvspec.cls
|
@ -305,11 +305,16 @@
|
|||
% override chapter/section macros (it is important not to do this until we are
|
||||
% sure that nothing with use \chapter, as that formally does not accept an
|
||||
% argument...we treat it as though it does in order to make life easier)
|
||||
\def\@hgcommon{%
|
||||
\pnumrest
|
||||
\phantomsection
|
||||
\sinit
|
||||
}
|
||||
\def\@hgrab{
|
||||
\gdef\chapter##1{\pnumoff\@chapterorig{##1}\pnumrest\sinit}
|
||||
\gdef\section##1{\pnumoff\@sectionorig{##1}\pnumrest\sinit\smarkright{##1}}
|
||||
\gdef\subsection##1{\pnumoff\@subsectionorig{##1}\pnumrest\sinit\smarkright{##1}}
|
||||
\gdef\subsubsection##1{\pnumoff\@subsubsectionorig{##1}\pnumrest\sinit}
|
||||
\gdef\chapter##1{\pnumoff\@chapterorig{##1}\@hgcommon}
|
||||
\gdef\section##1{\pnumoff\@sectionorig{##1}\@hgcommon\smarkright{##1}}
|
||||
\gdef\subsection##1{\pnumoff\@subsectionorig{##1}\@hgcommon\smarkright{##1}}
|
||||
\gdef\subsubsection##1{\pnumoff\@subsubsectionorig{##1}\@hgcommon}
|
||||
\gdef\footnote##1{\pnumoff\@footnoteorig{##1}\pnumrest}
|
||||
\gdef\footnotetext##1{\pnumoff\@footnotetextorig{##1}\pnumrest}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue