ben wrote:
>
> "Stephan E. Schlierf" a écrit :
>
> > Hi,
> >
> > I'm just fizzling through the problem to create a hyperlink in a LyX
> > dcoument. What I was doing is the following:
> > LyX 1.1.6fix1 on a SuSE 7.0
> > document class: SGML (LinuxDoc article)
> > LaTeX preamble: \usepackage{hyperref}
> > Defined the link target by: \hypertarget{internal name}{displayed name}
> > (in LaTeX mode)
> > Defined the link by: \hyperlink{internal name}{displayed name} (in LaTeX
> > mode)
> > Then I exported the text by File -> Export -> HTML but the link doesn't
> > appear.
> > What's going wrong ?
> >
> > Sorry for wasting bandwidth if this question is kind of a faq :-)
> >
> > Any hints are welcome!
>
> Using latex commands in a SGML document has no sense: the preamble must be
> written is SGML that is the actual output format. Besides, to make links
> you only need to insert a lyx label and a lyx reference (see the attached
> file).
Hello Ben,
thank you very much for your help - it worked!
Remove the \usepacke{...hyperref}-line from the LaTeX preamble and just
put a "Name" in the Insert -> References dialog and everything works
pretty will.
Thanks a lot to all who answered my question.
Happy LyXing!
Stephan