Hey!
I'm about to write a design document for a computer game. And I like LaTeX, so I would like to use it. The problem is that I would like the whole design document to be split up into several documents with links between them, kind of like HTML pages. The reason for this is that I don't want to be scrolling through a 200-page document to find what I need when I'm using it as a reference. Is there any kind of tool or package for LaTeX that can do this kind of thing? If you don't know anything for latex, maybe you know of another tool that can produce HTML pages? I mean, it's a bit more time consuming to write HTML than LaTeX.
By the way, I wasn't sure about in which subforum this should go. So excuse me if this was the wrong one.
General ⇒ LaTeX and Hypertext
NEW: TikZ book now 40% off at Amazon.com for a short time.

LaTeX and Hypertext
The hyperref package is able to produce links to external documents, using the \hyperdef and \hyperref commands. Splitting up large documents is quite uncommon, because PDFs are page oriented and intended for printing. When you use hyperref, all references are already clickable hyperlinks, so the advantage of splitting is not that great.
LaTeX and Hypertext
Yeah, that works pretty good. Thank you!
But there is one thing I'm dissatisfied with. In the "bookmarks" thing in Adobe Reader, there are hyperrefs to all sections and subsections. However, there is no hyperref back to "Contents". In order to be able to jump between sections, being able to jump back to contents would be valuable. So, how can I make contents show up in the bookmarks thing?
To clarify:

But there is one thing I'm dissatisfied with. In the "bookmarks" thing in Adobe Reader, there are hyperrefs to all sections and subsections. However, there is no hyperref back to "Contents". In order to be able to jump between sections, being able to jump back to contents would be valuable. So, how can I make contents show up in the bookmarks thing?
To clarify:
LaTeX and Hypertext
Try this:Using \pdfbookmark, you can add arbitrary things to the PDF bookmark tree. The optional argument denotes the level in the same way as \tocdepth—0 is chapter, 1 is section etc. So if you have chapters in your document and want the Contents entry to appear on the chapter level, leave out the optional argument—0 is the default. The first required argument is an arbitrary identifier, the second one is the text that gets displayed in the bookmarks list.
Code: Select all
\begin{document}
\pdfbookmark[1]{TOC}{Contents}
\tableofcontents
Re: LaTeX and Hypertext
Ah, yes, thank you again!