Re: memoir with hyperref

2006-11-15 Thread Paul A. Rubin

Bob Lounsbury wrote:

Try adding \hypersetup{breaklinks=true} to the preamble.  (My memory 
is a bit fuzzy, but I think that's the route.)






Ok, ok (twist my arm) I'll go look at the hyperref documentation. I 
tried your suggestion and it works ... except that it breaks the link to 
the figure which kind of defeats the purpose of using hyperref. I'll 
check the documentation. Thanks for the suggestion.


By "breaks the link to the figure" do you mean splits the link across 
two lines, keeping it a link (which is what it's supposed to do) or 
renders the link dysfunctional?  My understanding is that it should 
cause overly long links to be broken across multiple lines, with each 
fragment of text separately hyperlinked to the same destination.  The 
manual says a couple of things that I find less than translucent:


"Allows link text to break across lines; since this cannot be 
accommodated in PDF, it is only set true by default if the pdftex driver 
is used. This makes links on multiple lines into different PDF links to 
the same target."


and

"The correct value is automatically set according to the driver
features. It can be overwritten for drivers that do not support broken 
links. However, at any case, the link area will be wrong and displaced."


The url.sty package has some options to let you control how/where long 
links are broken, but AFAIK hyperref has only the boolean breaklinks option.


Also, oddly enough there isn't a problem with hyperref and memoir under 
LyX 1.3.7. Maybe this is a 1.4.3 bug.


If LyX 1.3.7 generates the right output for your current document 
(using, presumably, your current LaTeX package), then it might be worth 
exporting the document from both 1.3.7 and 1.4.3 to LaTeX (or doing 
View->LaTeX if you've set that up) and comparing both the preambles and 
the actual link.  Hopefully that would pin down what changed.


/Paul



Re: memoir with hyperref

2006-11-15 Thread Bob Lounsbury


On Nov 15, 2006, at 10:10 AM, Paul A. Rubin wrote:


Bob Lounsbury wrote:

Could you tell me how to set that option and I'll give it a try? I  
don't have the hyperref documentation at hand and it would take me  
much longer to download it and figure out how to set the  
breaklinks=true option than if you know how to do it.


Not if you take into account the infrequency with which I check  
mail -- unless you have a *really* slow connection.  :-)


Try adding \hypersetup{breaklinks=true} to the preamble.  (My  
memory is a bit fuzzy, but I think that's the route.)


/Paul



Ok, ok (twist my arm) I'll go look at the hyperref documentation. I  
tried your suggestion and it works ... except that it breaks the link  
to the figure which kind of defeats the purpose of using hyperref.  
I'll check the documentation. Thanks for the suggestion.


Also, oddly enough there isn't a problem with hyperref and memoir  
under LyX 1.3.7. Maybe this is a 1.4.3 bug.


Bob


Re: memoir with hyperref

2006-11-15 Thread Bob Lounsbury


On Nov 15, 2006, at 12:39 AM, Wolfgang Engelmann wrote:


Am Dienstag, 14. November 2006 17:54 schrieb Bob Lounsbury:

On Nov 14, 2006, at 12:19 AM, Wolfgang Engelmann wrote:

Am Dienstag, 14. November 2006 00:23 schrieb Bob Lounsbury:

Hello,

I'm using the memoir class for my thesis under 1.4.3 and I  
thought it

might be nice to use the hyperref package to create a few links. I
know there are some known issues with memoir and hyperref, but
generally these are discussed in the memoir documentation by Peter
Wilson.

However, when I add the hyperref package, any caption longer  
than one

line extends beyond the page as you can see in the attached pdf. I
don't see any warnings in Peter's documentation.

Does anyone have a suggestion? If not I just won't use the hyperref
package, but it is kind of nice.


if you use `short title´ with a shorter figure legend, would that
help?

Wolfgang


Bob Lounsbury


Yes, I think if I could get a shortened caption in the lof then there
would not be a hyperref problem. However, I'm not sure how to do this
either.


go behind Figure#: [mark] in your float and enter "short title"  
from Insert
(note that it is greyed out if you are either not in the float  
environment or
if their is already a short title). Enter your short title in the  
red framed

box which turns up. (Lyx 1.4.2)
Wolfgang


This is definitely one solution. It works! Thank you!

Re: memoir with hyperref

2006-11-15 Thread Paul A. Rubin

Bob Lounsbury wrote:



Could you tell me how to set that option and I'll give it a try? I don't 
have the hyperref documentation at hand and it would take me much longer 
to download it and figure out how to set the breaklinks=true option than 
if you know how to do it.


Not if you take into account the infrequency with which I check mail -- 
unless you have a *really* slow connection.  :-)


Try adding \hypersetup{breaklinks=true} to the preamble.  (My memory is 
a bit fuzzy, but I think that's the route.)


/Paul



Re: memoir with hyperref

2006-11-14 Thread Wolfgang Engelmann
Am Dienstag, 14. November 2006 17:54 schrieb Bob Lounsbury:
> On Nov 14, 2006, at 12:19 AM, Wolfgang Engelmann wrote:
> > Am Dienstag, 14. November 2006 00:23 schrieb Bob Lounsbury:
> >> Hello,
> >>
> >> I'm using the memoir class for my thesis under 1.4.3 and I thought it
> >> might be nice to use the hyperref package to create a few links. I
> >> know there are some known issues with memoir and hyperref, but
> >> generally these are discussed in the memoir documentation by Peter
> >> Wilson.
> >>
> >> However, when I add the hyperref package, any caption longer than one
> >> line extends beyond the page as you can see in the attached pdf. I
> >> don't see any warnings in Peter's documentation.
> >>
> >> Does anyone have a suggestion? If not I just won't use the hyperref
> >> package, but it is kind of nice.
> >
> > if you use `short title´ with a shorter figure legend, would that
> > help?
> >
> > Wolfgang
> >
> >> Bob Lounsbury
>
> Yes, I think if I could get a shortened caption in the lof then there
> would not be a hyperref problem. However, I'm not sure how to do this
> either.

go behind Figure#: [mark] in your float and enter "short title" from Insert 
(note that it is greyed out if you are either not in the float environment or 
if their is already a short title). Enter your short title in the red framed 
box which turns up. (Lyx 1.4.2)
Wolfgang


Re: memoir with hyperref

2006-11-14 Thread Bob Lounsbury


On Nov 14, 2006, at 4:14 PM, Paul A. Rubin wrote:


Bob Lounsbury wrote:

Hello,
I'm using the memoir class for my thesis under 1.4.3 and I thought  
it might be nice to use the hyperref package to create a few  
links. I know there are some known issues with memoir and  
hyperref, but generally these are discussed in the memoir  
documentation by Peter Wilson.
However, when I add the hyperref package, any caption longer than  
one line extends beyond the page as you can see in the attached  
pdf. I don't see any warnings in Peter's documentation.
Does anyone have a suggestion? If not I just won't use the  
hyperref package, but it is kind of nice.

Bob Lounsbury


Does setting the option breaklinks=true in the hyperref package help?

/Paul



Could you tell me how to set that option and I'll give it a try? I  
don't have the hyperref documentation at hand and it would take me  
much longer to download it and figure out how to set the  
breaklinks=true option than if you know how to do it.


Bob


Re: memoir with hyperref

2006-11-14 Thread Paul A. Rubin

Bob Lounsbury wrote:

Hello,

I'm using the memoir class for my thesis under 1.4.3 and I thought it 
might be nice to use the hyperref package to create a few links. I know 
there are some known issues with memoir and hyperref, but generally 
these are discussed in the memoir documentation by Peter Wilson.


However, when I add the hyperref package, any caption longer than one 
line extends beyond the page as you can see in the attached pdf. I don't 
see any warnings in Peter's documentation.


Does anyone have a suggestion? If not I just won't use the hyperref 
package, but it is kind of nice.


Bob Lounsbury


Does setting the option breaklinks=true in the hyperref package help?

/Paul



Re: memoir with hyperref

2006-11-14 Thread Bob Lounsbury


On Nov 14, 2006, at 12:19 AM, Wolfgang Engelmann wrote:


Am Dienstag, 14. November 2006 00:23 schrieb Bob Lounsbury:

Hello,

I'm using the memoir class for my thesis under 1.4.3 and I thought it
might be nice to use the hyperref package to create a few links. I
know there are some known issues with memoir and hyperref, but
generally these are discussed in the memoir documentation by Peter
Wilson.

However, when I add the hyperref package, any caption longer than one
line extends beyond the page as you can see in the attached pdf. I
don't see any warnings in Peter's documentation.

Does anyone have a suggestion? If not I just won't use the hyperref
package, but it is kind of nice.


if you use `short title´ with a shorter figure legend, would that  
help?


Wolfgang


Bob Lounsbury



Yes, I think if I could get a shortened caption in the lof then there  
would not be a hyperref problem. However, I'm not sure how to do this  
either.

Re: memoir with hyperref

2006-11-13 Thread Wolfgang Engelmann
Am Dienstag, 14. November 2006 00:23 schrieb Bob Lounsbury:
> Hello,
>
> I'm using the memoir class for my thesis under 1.4.3 and I thought it
> might be nice to use the hyperref package to create a few links. I
> know there are some known issues with memoir and hyperref, but
> generally these are discussed in the memoir documentation by Peter
> Wilson.
>
> However, when I add the hyperref package, any caption longer than one
> line extends beyond the page as you can see in the attached pdf. I
> don't see any warnings in Peter's documentation.
>
> Does anyone have a suggestion? If not I just won't use the hyperref
> package, but it is kind of nice.

if you use `short title´ with a shorter figure legend, would that help?

Wolfgang
>
> Bob Lounsbury