LyXhide/show links in TOC

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
Post Reply
plmday
Posts: 2
Joined: Thu Oct 29, 2009 3:18 pm

hide/show links in TOC

Post by plmday »

Hi, All. I am new here, actually also new to LyX (1.6.4.1). I've read the tutorial and produced some pretty documents. But recently I started working on a new article, but when I insert TOC and later view the dvi/pdf file, no links appeared. I mean items listed in the TOC doesn't contain any link on which if I click can bring me to the (sub)section. Only the (sub)section name and page number are listed. But in a previous article I wrote, with the same operation, the TOC of the output dvi/pdf file does show links. What's wrong? I did not even change any settings to LyX.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

php1ic
Posts: 192
Joined: Wed Jan 28, 2009 8:17 pm

Re: hide/show links in TOC

Post by php1ic »

I don't use LyX. but have you include the hyperref package in the preamble before your \begin{document}?
plmday
Posts: 2
Joined: Thu Oct 29, 2009 3:18 pm

Re: hide/show links in TOC

Post by plmday »

Thanks, php1ic. After I exported the lyx file to a tex file, I saw there's no `hyperref' package included. After adding it by hand, everything works now, :)
Post Reply