Automatic clickable links directly to the description labelsHow does one set custom labels for description...
If 1. e4 c6 is considered as a sound defense for black, why is 1. c3 so rare?
Copying spell into spellbook time required, consecutive or disparate?
Binary Numbers Magic Trick
Game of Life meets Chaos Theory
Short story about people living in a different time streams
Visualizing a complicated Region
Copy line and insert it in a new position with sed or awk
How to implement float hashing with approximate equality
Who died in the Game of Thrones episode, "The Long Night"?
Pigeonhole Principle Problem
Hang 20lb projector screen on hardieplank
Why was Germany not as successful as other Europeans in establishing overseas colonies?
Post Endgame, how is the flow of time different?
Why is the SNP putting so much emphasis on currency plans?
Is it the same airport YUL and YMQ in Canada?
How did Captain America use this power?
How can I close a gap between my fence and my neighbor's that's on his side of the property line?
Pressure to defend the relevance of one's area of mathematics
Is it cheaper to drop cargo than to land it?
Stark VS Thanos
How to reply this mail from potential PhD professor?
What happened to Ghost?
Is balancing necessary on a full-wheel change?
Printing a string when grep does not get a match
Automatic clickable links directly to the description labels
How does one set custom labels for description lists?Reference name of description list item in LaTeXSelectively turn off hyperref linksReference an item without displaying the textUsing lstinline inside a itemHow can I label / reference description items that contain macros by name?Automatic alternating labels in the description listHow get hyperref to make entire index entry a link?Could showindex entries in the margin be made clickable?description without automatic indentingHow to link to a Theorem that contains only an enumerated list
For the university I am composing a document of only definitions, containing all the definitions of difficult terms that I encounter while studying. The document actually is a large set of description environments, separated only by the sections that group the entries according to the chapters of the reference book. Moreover I am inserting many clickable links that refer to various items of the text, both because some terms have a very widespread synonym (which therefore I have to insert as a separate item but that actually refers only to the main term) and because, sometimes, in the text of a definition I use a term which is then explained in another entry and which is therefore convenient to link with a clickable link.
Since each term is unique and all are inserted inside the square brackets typical of the description environments, it is possible to create a command that, with a simple syntax like go_to{term_xy}, tells LaTeX to connect to the only point of the source where is the string [term_xy]? Thus the creation of the interlinks would be greatly facilitated, above all because I could avoid replacing the already compiled entries with hypertarget{term_xy}{term_xy}.
Below is an example of how I create links now:
item [hypertarget{peptidoglycan}{Peptidoglycan}] definition...
other items ...
item [Murein] see $rightarrow$ hyperlink{peptidoglycan}{peptidoglycan}
I'm open also for advices that bypass the problem
hyperref description
add a comment |
For the university I am composing a document of only definitions, containing all the definitions of difficult terms that I encounter while studying. The document actually is a large set of description environments, separated only by the sections that group the entries according to the chapters of the reference book. Moreover I am inserting many clickable links that refer to various items of the text, both because some terms have a very widespread synonym (which therefore I have to insert as a separate item but that actually refers only to the main term) and because, sometimes, in the text of a definition I use a term which is then explained in another entry and which is therefore convenient to link with a clickable link.
Since each term is unique and all are inserted inside the square brackets typical of the description environments, it is possible to create a command that, with a simple syntax like go_to{term_xy}, tells LaTeX to connect to the only point of the source where is the string [term_xy]? Thus the creation of the interlinks would be greatly facilitated, above all because I could avoid replacing the already compiled entries with hypertarget{term_xy}{term_xy}.
Below is an example of how I create links now:
item [hypertarget{peptidoglycan}{Peptidoglycan}] definition...
other items ...
item [Murein] see $rightarrow$ hyperlink{peptidoglycan}{peptidoglycan}
I'm open also for advices that bypass the problem
hyperref description
1
The solution presented here: tex.stackexchange.com/a/293/134144 should also work for your case.
– leandriis
2 hours ago
add a comment |
For the university I am composing a document of only definitions, containing all the definitions of difficult terms that I encounter while studying. The document actually is a large set of description environments, separated only by the sections that group the entries according to the chapters of the reference book. Moreover I am inserting many clickable links that refer to various items of the text, both because some terms have a very widespread synonym (which therefore I have to insert as a separate item but that actually refers only to the main term) and because, sometimes, in the text of a definition I use a term which is then explained in another entry and which is therefore convenient to link with a clickable link.
Since each term is unique and all are inserted inside the square brackets typical of the description environments, it is possible to create a command that, with a simple syntax like go_to{term_xy}, tells LaTeX to connect to the only point of the source where is the string [term_xy]? Thus the creation of the interlinks would be greatly facilitated, above all because I could avoid replacing the already compiled entries with hypertarget{term_xy}{term_xy}.
Below is an example of how I create links now:
item [hypertarget{peptidoglycan}{Peptidoglycan}] definition...
other items ...
item [Murein] see $rightarrow$ hyperlink{peptidoglycan}{peptidoglycan}
I'm open also for advices that bypass the problem
hyperref description
For the university I am composing a document of only definitions, containing all the definitions of difficult terms that I encounter while studying. The document actually is a large set of description environments, separated only by the sections that group the entries according to the chapters of the reference book. Moreover I am inserting many clickable links that refer to various items of the text, both because some terms have a very widespread synonym (which therefore I have to insert as a separate item but that actually refers only to the main term) and because, sometimes, in the text of a definition I use a term which is then explained in another entry and which is therefore convenient to link with a clickable link.
Since each term is unique and all are inserted inside the square brackets typical of the description environments, it is possible to create a command that, with a simple syntax like go_to{term_xy}, tells LaTeX to connect to the only point of the source where is the string [term_xy]? Thus the creation of the interlinks would be greatly facilitated, above all because I could avoid replacing the already compiled entries with hypertarget{term_xy}{term_xy}.
Below is an example of how I create links now:
item [hypertarget{peptidoglycan}{Peptidoglycan}] definition...
other items ...
item [Murein] see $rightarrow$ hyperlink{peptidoglycan}{peptidoglycan}
I'm open also for advices that bypass the problem
hyperref description
hyperref description
asked 2 hours ago
andreagoo8andreagoo8
11
11
1
The solution presented here: tex.stackexchange.com/a/293/134144 should also work for your case.
– leandriis
2 hours ago
add a comment |
1
The solution presented here: tex.stackexchange.com/a/293/134144 should also work for your case.
– leandriis
2 hours ago
1
1
The solution presented here: tex.stackexchange.com/a/293/134144 should also work for your case.
– leandriis
2 hours ago
The solution presented here: tex.stackexchange.com/a/293/134144 should also work for your case.
– leandriis
2 hours ago
add a comment |
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f488285%2fautomatic-clickable-links-directly-to-the-description-labels%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
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f488285%2fautomatic-clickable-links-directly-to-the-description-labels%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
1
The solution presented here: tex.stackexchange.com/a/293/134144 should also work for your case.
– leandriis
2 hours ago