<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Mar 8, 2014 at 5:19 AM, Pascal <span dir="ltr"><<a href="mailto:pascal.bernhard@belug.de" target="_blank">pascal.bernhard@belug.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Hi all,<br>
<br>
I would like to link to certain chapter, sections of my document for<br>
which I used the commands \autoref and \nameref in conjunction with<br>
labels.<br>
<br>
But do neither want the exact chapter title as the link text, nor the<br>
chapter version, but a customized text. And I have failed to find a<br>
solution for that problem so far.<br>
<br>
For example:<br>
<br>
As will be discussed in the section about FOO<br>
(\reference-command{sec:FOO}{Here comes the custom text I want to have<br>
linked not the chapter number nor the exact chapter title} ......<br>
<br>
<br>
\section{The properties of FOO}\label{sec:FOO}<br></blockquote><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

<br>
<br>
I was not able to find a solution in the documentation for the hyperref<br>
package<br>
(<a href="http://www.ctan.org/tex-archive/macros/latex/contrib/hyperref/" target="_blank">http://www.ctan.org/tex-archive/macros/latex/contrib/hyperref/</a>), but<br>
that is probably my own fault.<br>
<br>
I have the feeling that using \nameref and \autoref is the completely<br>
wrong approach, so please bear with me.<br>
<br>
Pascal</blockquote><div><br></div><div><br></div><div>Using documentclass  memoir one can specify</div><div><br></div><div>\chapter[name1][name2]{name3}</div><div>\label{mychapter}</div><div><br></div><div>where name1 goes to \toc, bookmark and \nameref{mychapter}, name2 to pageheader and name3 is an "actual" chapter name</div>
<div><br></div><div>If you want something else you can always \hyperlink{mychapter}{name4} which, however, is not automatic. Basically \hyperlink works also with \hypertarget{}{} copmmand</div><div><br></div><div><br></div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<br>
_______________________________________________<br>
TeX FAQ: <a href="http://www.tex.ac.uk/faq" target="_blank">http://www.tex.ac.uk/faq</a><br>
Mailing list archives: <a href="http://tug.org/pipermail/texhax/" target="_blank">http://tug.org/pipermail/texhax/</a><br>
More links: <a href="http://tug.org/begin.html" target="_blank">http://tug.org/begin.html</a><br>
<br>
Automated subscription management: <a href="http://tug.org/mailman/listinfo/texhax" target="_blank">http://tug.org/mailman/listinfo/texhax</a><br>
Human mailing list managers: <a href="mailto:postmaster@tug.org">postmaster@tug.org</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><br>Victor Ivrii</div>
</div></div>