Reference all pages where specific label occursLatex: Reference label individual images within figureStrange...

Critique of timeline aesthetic

Any examples of headwear for races with animal ears?

What is the incentive for curl to release the library for free?

Which big number is bigger?

What route did the Hindenburg take when traveling from Germany to the U.S.?

Is there any limitation with Arduino Nano serial communication distance?

How do Bards prepare spells?

Do I have an "anti-research" personality?

Is there really no use for MD5 anymore?

What are the potential pitfalls when using metals as a currency?

Was is really necessary for the Lunar module LM to have 2 stages?

Packing rectangles: Does rotation ever help?

Why does processed meat contain preservatives, while canned fish needs not?

Term for maladaptive animal behavior that will lead to their demise?

Rivers without rain

Was there a shared-world project before "Thieves World"?

Please, smoke with good manners

Is the 5 MB static resource size limit 5,242,880 bytes or 5,000,000 bytes?

Shrinkwrap tetris shapes without scaling or diagonal shapes

How can I place the product on a social media post better?

Reducing vertical space in stackrel

What does KSP mean?

Why do Computer Science majors learn Calculus?

How much cash can I safely carry into the USA and avoid civil forfeiture?



Reference all pages where specific label occurs


Latex: Reference label individual images within figureStrange reference number for main figure label containing subfiguresRefer to the item that follows a certain label/referenceAdd customized text to label and referencelabel/reference isn't working properlyHow to change label/reference formatsLabel two equations in one line with two correct reference?Label a specific nodeAppend item label only for a specific questionSpecify the page where a specific endnote is













0















It seems like a simple question, but I cannot find the solution. In the body of the book the same name, say John Smith is mentioned a number of times. I would like to label this name with label{Smith} across entire book, so I can write in the prefatory note to the book something like "In this autobiography, the name of Dr. Smith is mentioned on pages xyz pageref{Smith}" (something similar to what makeindex generates). Obviously, when I try to use same label more than once, I get an error. Is there a specific package to create a list of pages that I am looking for? I would appreciate if someone can stir me in the right direction.



documentclass[a4paper,12pt]{extreport}
usepackage{fontspec}
usepackage{polyglossia}
setdefaultlanguage{english}
setmainfont{CMU Serif}
begin{document}
The word to the reader:
"In this autobiography, the name of Dr. Smith is mentioned on pages xyz `pageref{Smith}`"
newpage
Bla... John Smithlabel{Smith}
newpage
Bla... Johnlabel{Smith}
newpage
Ba...Dr. J. Smithlabel{Smith}
end{document}









share|improve this question

























  • usepackage[pagebackref]{hyperref} might help. And maybe set the label once (the name of Dr. Smithlabel{Smith} is...) and replace yourlabels by refs.

    – bers
    49 secs ago


















0















It seems like a simple question, but I cannot find the solution. In the body of the book the same name, say John Smith is mentioned a number of times. I would like to label this name with label{Smith} across entire book, so I can write in the prefatory note to the book something like "In this autobiography, the name of Dr. Smith is mentioned on pages xyz pageref{Smith}" (something similar to what makeindex generates). Obviously, when I try to use same label more than once, I get an error. Is there a specific package to create a list of pages that I am looking for? I would appreciate if someone can stir me in the right direction.



documentclass[a4paper,12pt]{extreport}
usepackage{fontspec}
usepackage{polyglossia}
setdefaultlanguage{english}
setmainfont{CMU Serif}
begin{document}
The word to the reader:
"In this autobiography, the name of Dr. Smith is mentioned on pages xyz `pageref{Smith}`"
newpage
Bla... John Smithlabel{Smith}
newpage
Bla... Johnlabel{Smith}
newpage
Ba...Dr. J. Smithlabel{Smith}
end{document}









share|improve this question

























  • usepackage[pagebackref]{hyperref} might help. And maybe set the label once (the name of Dr. Smithlabel{Smith} is...) and replace yourlabels by refs.

    – bers
    49 secs ago
















0












0








0








It seems like a simple question, but I cannot find the solution. In the body of the book the same name, say John Smith is mentioned a number of times. I would like to label this name with label{Smith} across entire book, so I can write in the prefatory note to the book something like "In this autobiography, the name of Dr. Smith is mentioned on pages xyz pageref{Smith}" (something similar to what makeindex generates). Obviously, when I try to use same label more than once, I get an error. Is there a specific package to create a list of pages that I am looking for? I would appreciate if someone can stir me in the right direction.



documentclass[a4paper,12pt]{extreport}
usepackage{fontspec}
usepackage{polyglossia}
setdefaultlanguage{english}
setmainfont{CMU Serif}
begin{document}
The word to the reader:
"In this autobiography, the name of Dr. Smith is mentioned on pages xyz `pageref{Smith}`"
newpage
Bla... John Smithlabel{Smith}
newpage
Bla... Johnlabel{Smith}
newpage
Ba...Dr. J. Smithlabel{Smith}
end{document}









share|improve this question
















It seems like a simple question, but I cannot find the solution. In the body of the book the same name, say John Smith is mentioned a number of times. I would like to label this name with label{Smith} across entire book, so I can write in the prefatory note to the book something like "In this autobiography, the name of Dr. Smith is mentioned on pages xyz pageref{Smith}" (something similar to what makeindex generates). Obviously, when I try to use same label more than once, I get an error. Is there a specific package to create a list of pages that I am looking for? I would appreciate if someone can stir me in the right direction.



documentclass[a4paper,12pt]{extreport}
usepackage{fontspec}
usepackage{polyglossia}
setdefaultlanguage{english}
setmainfont{CMU Serif}
begin{document}
The word to the reader:
"In this autobiography, the name of Dr. Smith is mentioned on pages xyz `pageref{Smith}`"
newpage
Bla... John Smithlabel{Smith}
newpage
Bla... Johnlabel{Smith}
newpage
Ba...Dr. J. Smithlabel{Smith}
end{document}






labels pageref






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 19 mins ago







user136555

















asked 25 mins ago









user136555user136555

1126




1126













  • usepackage[pagebackref]{hyperref} might help. And maybe set the label once (the name of Dr. Smithlabel{Smith} is...) and replace yourlabels by refs.

    – bers
    49 secs ago





















  • usepackage[pagebackref]{hyperref} might help. And maybe set the label once (the name of Dr. Smithlabel{Smith} is...) and replace yourlabels by refs.

    – bers
    49 secs ago



















usepackage[pagebackref]{hyperref} might help. And maybe set the label once (the name of Dr. Smithlabel{Smith} is...) and replace yourlabels by refs.

– bers
49 secs ago







usepackage[pagebackref]{hyperref} might help. And maybe set the label once (the name of Dr. Smithlabel{Smith} is...) and replace yourlabels by refs.

– bers
49 secs ago












0






active

oldest

votes












Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "85"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f488030%2freference-all-pages-where-specific-label-occurs%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to TeX - LaTeX Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f488030%2freference-all-pages-where-specific-label-occurs%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

El tren de la libertad Índice Antecedentes "Porque yo decido" Desarrollo de la...

Castillo d'Acher Características Menú de navegación

Connecting two nodes from the same mother node horizontallyTikZ: What EXACTLY does the the |- notation for...