Re: xr-hyper, memoir, and titleref
- From: Tim Arnold <a_jtim@xxxxxxxxxxxxx>
- Date: Wed, 4 Feb 2009 09:49:00 -0800 (PST)
On Feb 4, 6:56 am, Lars Madsen <dal...@xxxxxxxxxxxxxxxxxxxxx> wrote:
Tim Arnold wrote:
On Jan 29, 11:11 am, "Tim Arnold" <tim.arn...@xxxxxxx> wrote:
If I use the xr package titleref works but with xr-hyper titleref displays
the the reference number instead of the title. example:
file1 = target document
-------------------------
\documentclass{memoir}
\usepackage{lipsum}
\usepackage{xr-hyper}
\usepackage{hyperref}
\begin{document}
\chapter{Document One}\label{test1.one}
\lipsum[1]
\end{document}
-------------------------
file2 = referring document
-------------------------
\documentclass{memoir}
\usepackage{lipsum}
\usepackage{xr-hyper}
\usepackage{hyperref}
\externaldocument{test1}
\begin{document}
\chapter{Document Two}\label{two}
\lipsum[1-2]
See Chapter \ref{test1.one}, \titleref{test1.one} for details.
\end{document}
-------------------------
texlive on freebsd :
pdfTeXk, Version 3.1415926-1.40.9 (Web2C 7.5.7) (format=pdflatex 2008.10.30
Document Class: memoir 2008/08/07 v1.6180339a
Package: xr-hyper 2000/03/22 v6.00beta4
Package: hyperref 2008/12/26 v6.78n
(loads memhfixc: Package: memhfixc 2008/08/23 v1.10)
the referencing sentence results (with '1' linked to test1.pdf correctly)
See Chapter 1, 1 for details.
What I want is "See Chapter 1, Document One, for details (with the '1' and
the title linked).
Any way around this?
thanks,
--Tim
replying to my own post, but this seems like a bug somewhere in the
interface between memoir and hyperref/xr-hyper.
If not, can someone point out what I'm doing wrong?
thanks,
--Tim Arnold
have you tried using xr instead, that seems to work, at least it gives
me the title with a link
xr-hyper has not been updated since 2000
--
/daleif (remove RTFSIGNATURE from email address)
LaTeX FAQ: http://www.tex.ac.uk/faq
LaTeX book: http://www.imf.au.dk/system/latex/bog/ ; (in Danish)
Remember to post minimal examples, see URL belowhttp://www.tex.ac.uk/cgi-bin/texfaq2html?label=minxamplhttp://www.minimalbeispiel.de/mini-en.html- Hide quoted text -
- Show quoted text -
Thanks Lars. When I use 'xr' I get the title and a link, but the link
does not work. When I use 'xr-hyper', I get the number (no title) and
a link and the link does work (opens the external pdf from file1,
above)
I just tried with 'xr' again and examined the pdf: both the chapter
number and chapter title link-objects have the same action:
Execute a menu item: Go to a page in this document, destination name:
chapter.1
If the link works for you, I must have something wrong in my
distribution. If it doesn't open up the external document, I guess
something's wrong with xr.
thanks for your help,
--Tim
.
- Follow-Ups:
- Re: xr-hyper, memoir, and titleref
- From: Lars Madsen
- Re: xr-hyper, memoir, and titleref
- References:
- Re: xr-hyper, memoir, and titleref
- From: Tim Arnold
- Re: xr-hyper, memoir, and titleref
- From: Lars Madsen
- Re: xr-hyper, memoir, and titleref
- Prev by Date: Re: Multiline tables
- Next by Date: Re: xr-hyper, memoir, and titleref
- Previous by thread: Re: xr-hyper, memoir, and titleref
- Next by thread: Re: xr-hyper, memoir, and titleref
- Index(es):
Relevant Pages
|