
Add a `link-render-style` syntax property to control the rendering of section links --- so that HTML output can say "section <number>", and so that Latex/PDF output can have just the section number hperlinked (as in acmart). It seems unfortunate that the link rendering is so hardwired into each rendering back-end, but maybe this can be made even more configurable in the future. Meanwhile, Latex macros already provide an additional layer of rendering control (but not enough, it turns out, to easily perform the same adjustments as the 'number mode that matches acmart). For `scriblib/figure` make `figure-ref` and `Figure-ref` similarly sensitive to the link-rendering style. For `scriblib/autobib`, change the hyperlinking of references so that the color can be overridden, and make `scribble/acmart` override it.
29 lines
808 B
TeX
29 lines
808 B
TeX
|
|
% Support for styles in scribble/acmart
|
|
|
|
% These are replaced by scribble/acmart/style.tex,
|
|
% which is used in combination with acmart.cls
|
|
|
|
\newcommand{\SAuthorinfo}[4]{#1}
|
|
\newcommand{\SAuthorPlace}[1]{#1}
|
|
\newcommand{\SAuthorEmail}[1]{#1}
|
|
\newcommand{\SAuthorOrcid}[1]{#1}
|
|
|
|
\newcommand{\SConferenceInfo}[2]{}
|
|
\newcommand{\SCopyrightYear}[1]{}
|
|
\newcommand{\SCopyrightData}[1]{}
|
|
\newcommand{\Sdoi}[1]{}
|
|
\newcommand{\SPexclusivelicense}[0]{}
|
|
|
|
\newcommand{\SCategory}[3]{}
|
|
\newcommand{\SCategoryPlus}[4]{}
|
|
\newcommand{\STerms}[1]{}
|
|
\newcommand{\SKeywords}[1]{}
|
|
|
|
% Normally gets re-written by the title macro:
|
|
\newcommand{\SSubtitle}[1]{{\bf #1}}
|
|
|
|
% Use ACM color; it would be better to use `citecolor` here somehow,
|
|
% but I can't figure out how to do that
|
|
\newcommand{\AutobibLink}[1]{\color{ACMPurple}{#1}}
|