Reputation
Top tag
Next privilege 250 Rep.
View close votes
Badges
8
Newest
 Curious
Impact
~911 people reached

  • 0 posts edited
  • 0 helpful flags
  • 8 votes cast
May
28
comment Special \cref display for \externaldocument
I wasn't sure the best protocol for an extension, so I posted my quetsion about subsections separately in: tex.stackexchange.com/questions/247356/… If you think that is repetitive, I can remove it - but the test case is clean.
May
28
asked Special cref display for sections and subsections in external documents
May
15
comment Special \cref display for \externaldocument
thank you. I tried that, moved it to a completely separate package, and loaded it as late as I could. Seemed to work. But I found one issue with the implementation: It works with \section{} but not with \subsection{}, etc. Is there a fix that would get this to work with subsection and subsubsection? Thanks for all your time on this.
May
15
revised Special \cref display for \externaldocument
Added subsection to test.
May
15
comment Special \cref display for \externaldocument
Sorry, one last thing: I think it is all working within my doucment. HOWEVER: when I add all of the non file-specific text between the makeatletter and makeatother the it to .sty package directly, or by putting in a new \def with it, then it compiles, but none of formatting works. Is there some sort of latex scoping I am missing?
May
15
comment Special \cref display for \externaldocument
I played around with this a bit, and it looks like I need to replace one of your lines above with \edef\tmp{\noexpand\newlabel{\XR@prefix#1@cref}{\xr@cr@add#3}{}{}}% ... but I could have made a mistake. Seems to compile.
May
12
awarded  Curious
May
11
comment Special \cref display for \externaldocument
thank you so much. I made the addendum to extentions to the question with the baseline packages that would be needed.
May
11
revised Special \cref display for \externaldocument
Adding in an extension with hyperref
May
11
accepted Correct ordering of xr-hyper, hyperref, and cleveref
May
11
comment Correct ordering of xr-hyper, hyperref, and cleveref
Perfect. Thank you.
May
11
comment Special \cref display for \externaldocument
Carlise I realized that this technique works great with just created, but fails with xr-hyperref and hyperref. Is the site style to post a completely new question, or to make an addendum to this one. The question is otherwise identical.
May
11
asked Correct ordering of xr-hyper, hyperref, and cleveref
May
9
accepted Special \cref display for \externaldocument
May
9
comment Special \cref display for \externaldocument
Hmm... I overthought it. I think this finished this, thank you!
May
9
awarded  Commentator
May
9
revised Special \cref display for \externaldocument
added 123 characters in body
May
9
comment Special \cref display for \externaldocument
I tried to adapt your code to the \creflabelformat{equation}{\textup{(#2#1#3)}}% but I fear it is outside of my competence...
May
9
revised Special \cref display for \externaldocument
deleted 3 characters in body
May
9
comment Special \cref display for \externaldocument
Thank you, and sorry to break style. I edited the question to extend my use case for equations a little bit. I will try out your technique in the comment.l Thank you so much.