Kile ⇒ Build .pdf Bookmarks(structure) in Kile...
Build .pdf Bookmarks(structure) in Kile...
Hi, all:
OS: Ubuntu 9.04
Kile: 2.0.81
.pdf: Adobe Reader 9
My question is:
Some .pdf files contain "Bookmarks", so that the structure of these .pdf files can be conveniently browsed at the left side of Adobe Reader.
However, it seems all my .pdf files produced by Kile won't show this kind of structures in Adobe Reader. What's wrong?
Can anybody help?
Urgent.
Best Regards
JIA Pei
OS: Ubuntu 9.04
Kile: 2.0.81
.pdf: Adobe Reader 9
My question is:
Some .pdf files contain "Bookmarks", so that the structure of these .pdf files can be conveniently browsed at the left side of Adobe Reader.
However, it seems all my .pdf files produced by Kile won't show this kind of structures in Adobe Reader. What's wrong?
Can anybody help?
Urgent.
Best Regards
JIA Pei
Re: Build .pdf Bookmarks(structure) in Kile...
These can be inserted if you use the hyperref package:
http://www.tug.org/applications/hyperref/manual.html
This doesn't really have anything to do with Kile in particular.
http://www.tug.org/applications/hyperref/manual.html
This doesn't really have anything to do with Kile in particular.
Build .pdf Bookmarks(structure) in Kile...
Hi, thank you so so so much for you prompt reply.
However, maybe I used a wrong terms.
I don't actually mean a bookmark for reference.
What I mean is a structure like:
So, do you mean that this kind of structure should also be coded in latex by myself? But why in Ubuntu 8.04, I could manage to get such bookmarks(structures) without emphasizing this in the latex files?
Please do help!!
Best Regards
JIA
However, maybe I used a wrong terms.
I don't actually mean a bookmark for reference.
What I mean is a structure like:
Code: Select all
chapter 1: AAA
section 1.1 AAAaaa
section 1.2 AAAbbb
section 1.3 AAAccc
chapter 2: BBB
section 2.1 BBBaaa
subsection 2.1.1 BBBaaa111
section 2.2 BBBbbb
chapter 3: CCC
section 3.1 CCCaaa
chapter 4: Conclusion
So, do you mean that this kind of structure should also be coded in latex by myself? But why in Ubuntu 8.04, I could manage to get such bookmarks(structures) without emphasizing this in the latex files?
Please do help!!
Best Regards
JIA
frabjous wrote:These can be inserted if you use the hyperref package:
http://www.tug.org/applications/hyperref/manual.html
This doesn't really have anything to do with Kile in particular.
Re: Build .pdf Bookmarks(structure) in Kile...
I knew what you meant. Hyperref does both.
If you want to include the chapter/section numbers, be sure to include the bookmarksnumbered=true option, e.g.:
\usepackage[bookmarksnumbered=true,bookmarksopen=true]{hyperref}
If you don't want it to hyperlink the references, etc., but just do the toc bookmarks, just use the appropriate additional options. See the manual I linked to earlier.
If you want to include the chapter/section numbers, be sure to include the bookmarksnumbered=true option, e.g.:
\usepackage[bookmarksnumbered=true,bookmarksopen=true]{hyperref}
If you don't want it to hyperlink the references, etc., but just do the toc bookmarks, just use the appropriate additional options. See the manual I linked to earlier.
Build .pdf Bookmarks(structure) in Kile...
Thank you very very much!!!!!!
It works!
Thanks!!!
Best Regards
JIA Pei
It works!
Thanks!!!
Best Regards
JIA Pei
frabjous wrote:I knew what you meant. Hyperref does both.
If you want to include the chapter/section numbers, be sure to include the bookmarksnumbered=true option, e.g.:
\usepackage[bookmarksnumbered=true,bookmarksopen=true]{hyperref}
If you don't want it to hyperlink the references, etc., but just do the toc bookmarks, just use the appropriate additional options. See the manual I linked to earlier.
Re: Build .pdf Bookmarks(structure) in Kile...
Sorry to bother you once again.
I was using the parameter like:
\usepackage[dvipdfm]{hyperref}
It seems "dvipdfm" disabled the hyper links.
However, if I followed your suggestion and use
\usepackage[bookmarksnumbered=true,bookmarksopen=true]{hyperref}
The hyper links are now working. But unlike what's happening when using
"dvipdfm", the very long links will not automatically break into two/several lines.
For example, how can I manage to put the following link correctly in a .pdf file?
http://visionopen.com/products/JP_Perso ... itting.mpg
And, finally, I tried
\usepackage[bookmarksnumbered=true,bookmarksopen=true,dvipdfm]{hyperref}
as well. In this mode, the hyper link doesn't work as well.
Please can you help?
Best Regards
JIA Pei
I was using the parameter like:
\usepackage[dvipdfm]{hyperref}
It seems "dvipdfm" disabled the hyper links.
However, if I followed your suggestion and use
\usepackage[bookmarksnumbered=true,bookmarksopen=true]{hyperref}
The hyper links are now working. But unlike what's happening when using
"dvipdfm", the very long links will not automatically break into two/several lines.
For example, how can I manage to put the following link correctly in a .pdf file?
http://visionopen.com/products/JP_Perso ... itting.mpg
And, finally, I tried
\usepackage[bookmarksnumbered=true,bookmarksopen=true,dvipdfm]{hyperref}
as well. In this mode, the hyper link doesn't work as well.
Please can you help?
Best Regards
JIA Pei
Build .pdf Bookmarks(structure) in Kile...
How are you compiling your document? Since you're using that option, I assume you're using LaTeX and then dvipdfm to convert to pdf (rather than pdflatex, or latex>dvipdfmx or latex>dvips>ps2pdf?) (Any reason not to just use pdflatex?)
Try adding breaklinks=true to your hyperref options and see if that helps. I'm not sure I can help otherwise without knowing how you're compiling, or seeing a MWE. That particular url did not cause trouble for me, even when using those options to hyperref.
Also, with that particular URL, you might consider using the movie15 package to directly embed the movie.
Try adding breaklinks=true to your hyperref options and see if that helps. I'm not sure I can help otherwise without knowing how you're compiling, or seeing a MWE. That particular url did not cause trouble for me, even when using those options to hyperref.
Also, with that particular URL, you might consider using the movie15 package to directly embed the movie.
Build .pdf Bookmarks(structure) in Kile...
Hi, thanks again, for your prompt reply.
I used "latex" to compile my .tex file, and then convert it to .pdf by "DVItoPS->PStoPDF".
I added breaklinks=true as hyperref options, but it still fails to break the very very long links automatically.
Yes, I can manage to link URL movies in your way, but I still have a lot of other non-movie long links to display in my .pdf file.
So, any suggestions?
Best Regards
JIA Pei
I used "latex" to compile my .tex file, and then convert it to .pdf by "DVItoPS->PStoPDF".
I added breaklinks=true as hyperref options, but it still fails to break the very very long links automatically.
Yes, I can manage to link URL movies in your way, but I still have a lot of other non-movie long links to display in my .pdf file.
So, any suggestions?
Best Regards
JIA Pei
frabjous wrote:How are you compiling your document? Since you're using that option, I assume you're using LaTeX and then dvipdfm to convert to pdf (rather than pdflatex, or latex>dvipdfmx or latex>dvips>ps2pdf?) (Any reason not to just use pdflatex?)
Try adding breaklinks=true to your hyperref options and see if that helps. I'm not sure I can help otherwise without knowing how you're compiling, or seeing a MWE. That particular url did not cause trouble for me, even when using those options to hyperref.
Also, with that particular URL, you might consider using the movie15 package to directly embed the movie.
Build .pdf Bookmarks(structure) in Kile...
Please provide a minimal working example showing this odd behaviour.jiapei100 wrote:...
I added breaklinks=true as hyperref options, but it still fails to break the very very long links automatically...
1,1,2,3,5,8,13,21,34,55,89,144,233,...
Build .pdf Bookmarks(structure) in Kile...
Wow, thanks again! So prompt!!
The minimum code is afforded (It's better I included all my \usepackage settings):
Any suggestions?
Best Regards
JIA Pei
The minimum code is afforded (It's better I included all my \usepackage settings):
Code: Select all
\documentclass[12pt]{report}
\usepackage{multirow}
\usepackage{setspace}
\usepackage{latexsym}
\usepackage{eurosym}
\usepackage{amssymb} %ams symbols
\usepackage{amsmath} %ams math symbols
\usepackage{mathrsfs}
\usepackage{float}
\usepackage{subfigure}
\usepackage{graphicx}
\usepackage[format=hang,labelsep=space]{caption}
\usepackage[hyphens]{url}
\usepackage[dvips]{epsfig}
\usepackage[bookmarksnumbered=true,bookmarksopen=true,breaklinks=true]{hyperref}
\usepackage{algorithm}
\usepackage{algorithmic}
%%===========================================================================%%
\begin{document}
\sloppy % This is for when \url is too long.
%---------------------------------------------------------------------------
% Document Specific Customizations
\url{http://www.visionopen.com/products/JP_PersonSpecific2DAAMICIAFitting_media/JP_PersonSpecific2DAAMICIAFitting.mpg}.
\end{document}
%%===========================================================================%%
Any suggestions?
Best Regards
JIA Pei
gmedina wrote:Please provide a minimal working example showing this odd behaviour.jiapei100 wrote:...
I added breaklinks=true as hyperref options, but it still fails to break the very very long links automatically...