Thanks. What I tried to do is to export to latex and edit the stuff by hand. I change the order of the usepackages and the inserted code from that trick. I discovered that I need to load the trick code last. If I put it in stdlayours.inc or scrreport.inc, that code will be loaded before hyperref, which causes the problem.
So what I did: split the trick mentioned, one part goes to scrreprt.inc: Style ShortCaption CopyStyle Caption LatexName setshortcaption LabelString "SCaption:" LabelType Static End And all the actual code goes to latex premeable (menu). After that, the problem is gone. I will try to put hyperref at the end to see if that works too. Zailong -----Original Message----- From: Herbert Voss To: Zailong Bian Cc: '[EMAIL PROTECTED] ' Sent: 10/17/2001 6:02 AM Subject: Re: Conflict between hyperref and shortcaption trick! Zailong Bian wrote: > > I use the trick quiet often until recently I discovered a conflict. If I > put hyperref in the preamble, the short caption will not show up in LOF! The > long caption show up instead. If I remove hyperref, then it all becomes > normal. But I need hyperref! > > Please see the attached example file. > > The short caption trick I mentioned is here (the nicer solution): > > http://www.educat.hu-berlin.de/~voss/lyx/floats/caption.html#short > > I looked at the hyperref package and got only headache. I am not sure what > to change to make it work. Can anyone help? I have no problem to run your example: lyx 1.1.6fix3 but of course I had to omment out %\usepackage{bibunits} because I don't have this package. the hyperref package should always be load at the last package. Herbert -- http://www.educat.hu-berlin.de/~voss/lyx/
