Math & ScienceUsing last label number in another document

Information and discussion about LaTeX's math and science related features (e.g. formulas, graphs).
Post Reply
rgaelzer
Posts: 2
Joined: Thu Aug 06, 2020 2:52 pm

Using last label number in another document

Post by rgaelzer »

Is there any automatic way to have access to the counter of the last label (perhaps using prettyref) in another document?
It seems that the package xr does not provide this functionality.
That would be interesting, e.g., if I want to continue the equation numbering from one document to another one, even if they are not part of the same parent/children structure.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

rais
Posts: 419
Joined: Sun Nov 16, 2014 8:51 pm

Using last label number in another document

Post by rais »

That should be possible with the totcount package.

KR
Rainer
rgaelzer
Posts: 2
Joined: Thu Aug 06, 2020 2:52 pm

Using last label number in another document

Post by rgaelzer »

rais wrote:That should be possible with the totcount package.

KR
Rainer
Yes, that works. Thanks.
Post Reply