The 'acmart' class includes a '\bigtimes' command from the 'newtxmath'
package, if available. Scribble includes a '\bigtimes' command from the
'mathabx' package. These cannot co-exist.
If `newtxmath` is available, this PR does not import `mathabx` in acmart
documents.
If `newtxmath` is not available, this PR includes `mathabx` like normal
(same as all previous versions of `scribble/acmart`)
Specials are used to represent entities such as nbsp, so the predicate special? needs to be exported
for users of scribble/text to recognize such elements. It is no longer possible to use the contract - since
the contract has effectively been bypassed.
A case could be made that the "eval" source is bogus, and it was
better to omit it. But the new expander's source reporting is more
consistent, as reflected by the fact that "eval" shows up in a syntax
error with both the old and new expanders.
Add `\phantomsection`s to the "*starx" macros so the generated sections
are valid link targets for hyperref.
Note that `\phantomsection` is provided by the `hyperref` package,
which is currently loaded by the `\packageHyperref` macro at the top
of `scribble-lib/scribble/scribble.tex`.
Also, correct the documentation about the interaction of
`#:sep` and property lists, and make the previous column's
properties used consistently for a separator column.
This was added in a recent version of the acmart style and is
required to set (or remove) the addresses field at the bottom of
the first page in some styles.
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.
The Latex renderer was not linking local references because Latex
output was intended as a printing-to-paper alternative to HTML.
For writing papers with acmart, however, local PDF hyperlinks
are relevant. So, enable them.
If a value is convertible to 'text, then use that conversion.
Otherwise, convert using `write` instead of always using "???".
Also, correct documentation to include convertible values among
the valid forms of content, and document the new conversion rules
there.
The ccsdesc function was defined, but not provided. Also added use of
exact-chars since its argument contains characters such as "~" which
should not be converted to \sim.