Skip to main content

Questions tagged [crossreftools]

{crossreftools} ex­tracts in­for­ma­tion from cross-ref­er­enc­ing la­bels, es­pe­cially those from clev­eref, in an ex­pand­able man­ner. https://ctan.org/pkg/crossreftools

Filter by
Sorted by
Tagged with
0 votes
1 answer
72 views

zref substitutes for some crossreftools commands?

I'd like to switch from cleveref and crossreftools to zref-based cross-referencing — including with zref-clever and zref-vario — (with hyperref, too), . [The reason is: (i) to allow compatibility with ...
murray's user avatar
  • 8,692
0 votes
1 answer
51 views

How cross-reference optional argument contents in enumerate list item?

In the following, is it possible to create a cross-reference that prints the contents of the "note-like" field of a \ditem optional argument? That is, I would like to be able to print "...
murray's user avatar
  • 8,692
0 votes
1 answer
82 views

How avoid crossreftools package to handle theorem notes?

Using crossreftools along with hyperref and cleveref, I can obtain cross-references, as shown in the output below, that include the names of "named theorems" or the note fields of ordinary ...
murray's user avatar
  • 8,692
1 vote
1 answer
266 views

Hyperlink prints OK but jumps to wrong target

When I use pdflatex to process a book-length document, in chapter 6 a couple of isolated links to theorem-like environments in that same chapter appear printed correctly in the pdf output, but ...
murray's user avatar
  • 8,692
2 votes
1 answer
210 views

Why does this custom "mytarget/mylink" definition pair NOT work properly?

The goal is to get a pair of commands, \mytarget(*) and \mylink/\Mylink. Specifically, I am interested why "my" solution does NOT work, and how to fix it (if possible). Syntax \mytarget{&...
Linear Christmas's user avatar
2 votes
1 answer
99 views

Why does \crtcref produce this bizarre error?

This question is not about solving a problem per se, as I already have a workaround, as deomstrated by point 1 below. It's more about trying to understand why a certain error is occuring. Consider the ...
Tom Sharpe's user avatar
2 votes
0 answers
584 views

nameref sectioning: Parameters must be numbered consecurivel

After the latest updates to TeXLive 2020, a book-length document using the memoir document class now fails to compile with either pdflatex or xelatex, despite my having made no changes whatsoever in ...
murray's user avatar
  • 8,692
1 vote
1 answer
170 views

crossreftools + docliccense gives error with restatement of restatable theorem

As the MWE below stands, after loading both crossreftools and doclicense, I get the following error on the second pdflatex pass when a restatable theorem is restated. ./restate-thm.tex:43: Undefined ...
murray's user avatar
  • 8,692
0 votes
1 answer
235 views

XSIM and crossrefs

I looked at the template xsim_crossref.tex (in the XSIM documentation) to create hyperlinks between statements and solutions. It works fine but now I would like to hide the empty references (exercises ...
jowe_19's user avatar
  • 971
1 vote
2 answers
165 views

Another babel-french incompatibility with crossreftools

With the indicated line commented-out, the following course using both babel-french and crossreftools gives the expected output from the two crossreftools commands near its end: \documentclass{...
murray's user avatar
  • 8,692
2 votes
1 answer
88 views

Make most letters of named theorem name lowecase when referenced

In the source below I have a namedtheorem environment which, when used, displays, instead of the usual "Theorem", the value of the key name in its optional argument. That name has initial letters ...
murray's user avatar
  • 8,692
1 vote
3 answers
224 views

babel and crossreftools incompatibility?

The following MWE is giving error: ./test.tex:10: Missing \endcsname inserted. <to be read again> : l.10 \section{A section}\label{sec:one`} The source: \documentclass{...
murray's user avatar
  • 8,692
0 votes
0 answers
1k views

! Argument of \@firstoftwo has an extra }

I am attempting to write macro that extracts and formats information from a label. I get the messages ! Argument of \@firstoftwo has an extra }. <inserted text> \par l.84 ......
shmuel's user avatar
  • 1,459