Questions tagged [refcount]

refcount package helps to extract numerical data from references. Then it can be used, for example, for calculations.

Filter by
Sorted by
Tagged with
0
votes
0answers
28 views

Latex get counter value at beginning of section [duplicate]

I am trying to access the final value of a counter in each section at the beginning of the section. The reason for knowing the value ahead of time is to use it in a bar plot that summarizes ...
4
votes
2answers
82 views

babel conflicts with, I think, refcount

The following code is continued from this post and this one. The following code compiles ok without babel but not with it. See the console output below. Is there a way resolve this issue? \...
3
votes
1answer
63 views

Use Numberstring in cref call

Trying to conform to what my GF wants in her thesis: she would like chapter references as "Chapter One", "Chapter Two", etc. I found this answer, which looks to work, but I was hoping to use these ...
2
votes
2answers
71 views

How to use `refcount` for chapter-wise counters?

I'm using the refcount package to set some counters to the same values as counters from another .tex file. The labels from the other .tex file are imported with the zref-xr package. This method fails ...
2
votes
1answer
74 views

Carrying counters over to another file using zref

During my last experiences with cross-referencing on total counts between different files, a problem of carrying counters over to another file appears. Somehow there is an error when I use for these ...
1
vote
1answer
117 views

How to get a total number of literature references and save it to a user defined counter?

During my last experience with Cross-referencing on total counts between different files, which can be read here, a problem of saving the total number of literature references in a user defined ...
2
votes
1answer
58 views

How to make refcount work with roman page numbers?

Is there a way to make the following MWE work with roman page numbers? \documentclass{article} \usepackage{refcount} \newcounter{mycount} \begin{document} %\pagenumbering{roman} \stepcounter{mycount} ...
1
vote
1answer
135 views

Cross reference chapter number as string

I'm trying to print the chapter number of a cross referenced labelled chapter, not as an Arabic or Roman numeral, but written out as a word. I have managed to find some information here, which ...
2
votes
0answers
19 views

Referencing custom counter [duplicate]

I want to define a new counter for numbering some headlines. I also would like to reference them. So, if I label the headline 3, then \ref should just return the number 3. Unfortunately, all other ...
2
votes
1answer
85 views

Maintain hyperref using refcount and fmtcount

I am using a combination of refcount and fmtcount to allow chapter references to produce a string (based on the solution to Macro to generate ordinal words from numbers?). However, I have found that ...