Hi Timothy, Timothy writes:
> I've started doing some more cross-referencing in documents exported to > LaTeX, and a hardcoded use of \ref has begun to stand out to me as a > rather annoying thing. Hypperef provides \autoref for adding helpful > prefixes (section, figure, etc.), and there are other packages which one > may want to use to generate 'clever' references (like cleveref with > \cref). > > As such, I think that the hardcoded \ref should actually be turned into > a customisable format string, which is what the attached patch does. I think it's a great idea. There are many options in LaTeX to manage cross references, beyond the standar \ref. I use the varioref package a lot (https://www.ctan.org/pkg/varioref). Best regards, Juan Manuel