Re: XeTeX and Hyperref

2007-12-07 Thread Bennett Helm

On Dec 7, 2007, at 5:44 PM, Maximilian Wollner wrote:

Am 07.12.2007 um 22:05 schrieb Bennett Helm:


On Dec 7, 2007, at 5:38 AM, Helge Hafting wrote:


Maximilian Wollner wrote:


By the way, if all you want is to use Hoefler Text as your  
standard font, you can accomplish this using


\usepackage[osf]{gtamachoefler}

in your preamble (at least with recent versions of texlive.  
Then you can typeset using pdflatex and so use microtype, e.g.


Yes, Hoefler Text is (so far) the only reason for me to use  
XeTeX. I tried to put the command in my preamble but got an error:


LaTeX Error: File `gtamachoefler.sty' not found.

Then I installed the latest MacTeX package, reconfigured LyX but  
I still get the same error message. What can I do?
If you don't have this gtamachoefler.sty, download it from  
somewhere.

Not as a part of the latest MacTex, but as a separate package.


But it *is* a part of the latest MacTeX; it can be found at:

/usr/local/texlive/texmf-local/tex/latex/gtamacfonts/ 
gtamachoefler.sty


Well, that's strange, I've got a /usr/local/texlive/texmf-local/tex/ 
latex folder but apart from another "local"-folder (which is empty)  
inside it, that folder is empty, too. So not "gtamacfonts" folder  
whatsoever. Indeed, Spotlight can't find any folder with that name  
either.
Just a stupid question: it does not have to do anything with me not  
running an admin user, does it? Nor did I use an administrators  
account to install MacTeX...


Doesn't the MacTeX installer require an administrative password to  
work? (Otherwise it wouldn't be able to write files to /usr/local.)  
If you really installed the latest MacTeX -- available here:




-- then gtamacfonts are installed.

(Note that Spotlight doesn't index folders that are normally hidden  
by the Finder, including everything in /usr. So you shouldn't expect  
Spotlight to find it.)


Anyway, I tried to find the package via i-installer (but did not  
find it, probably I lack the proper search term. There is a Font  
Utilities.pkg but when I launch it, it tells me that it's going to  
install MacTeX 2006 (so I aborted it).


Thanks again for your help and your patience :)


Note that i-Installer is now unsupported software, and people are  
instead encouraged to use MacTeX. I haven't used i-Installer for over  
a year now, but it did include gtamacfonts as a part of its standard  
teTeX/gwTeX installation. (Gerben Wierda was behind the development  
of gtamacfonts, and the "g" is for Gerben.)


I wonder if you have multiple TeX installations. You can check by  
going to System Preferences and clicking on the "TeX Distribution"  
icon in the "Other" category. Make sure TeXLive-2007 is selected.


Bennett


Re: XeTeX and Hyperref

2007-12-07 Thread Maximilian Wollner


Am 07.12.2007 um 22:05 schrieb Bennett Helm:


On Dec 7, 2007, at 5:38 AM, Helge Hafting wrote:


Maximilian Wollner wrote:


By the way, if all you want is to use Hoefler Text as your  
standard font, you can accomplish this using


\usepackage[osf]{gtamachoefler}

in your preamble (at least with recent versions of texlive. Then  
you can typeset using pdflatex and so use microtype, e.g.


Yes, Hoefler Text is (so far) the only reason for me to use  
XeTeX. I tried to put the command in my preamble but got an error:


LaTeX Error: File `gtamachoefler.sty' not found.

Then I installed the latest MacTeX package, reconfigured LyX but  
I still get the same error message. What can I do?

If you don't have this gtamachoefler.sty, download it from somewhere.
Not as a part of the latest MacTex, but as a separate package.


But it *is* a part of the latest MacTeX; it can be found at:

/usr/local/texlive/texmf-local/tex/latex/gtamacfonts/gtamachoefler.sty


Well, that's strange, I've got a /usr/local/texlive/texmf-local/tex/ 
latex folder but apart from another "local"-folder (which is empty)  
inside it, that folder is empty, too. So not "gtamacfonts" folder  
whatsoever. Indeed, Spotlight can't find any folder with that name  
either.
Just a stupid question: it does not have to do anything with me not  
running an admin user, does it? Nor did I use an administrators  
account to install MacTeX...




(Are you sure you didn't mistype it into your preamble?)


Absolutely, I checked that several times.



Bennett


Anyway, I tried to find the package via i-installer (but did not find  
it, probably I lack the proper search term. There is a Font  
Utilities.pkg but when I launch it, it tells me that it's going to  
install MacTeX 2006 (so I aborted it).


Thanks again for your help and your patience :)

Max


Re: XeTeX and Hyperref

2007-12-07 Thread Bennett Helm

On Dec 7, 2007, at 5:38 AM, Helge Hafting wrote:


Maximilian Wollner wrote:


By the way, if all you want is to use Hoefler Text as your  
standard font, you can accomplish this using


\usepackage[osf]{gtamachoefler}

in your preamble (at least with recent versions of texlive. Then  
you can typeset using pdflatex and so use microtype, e.g.


Yes, Hoefler Text is (so far) the only reason for me to use XeTeX.  
I tried to put the command in my preamble but got an error:


LaTeX Error: File `gtamachoefler.sty' not found.

Then I installed the latest MacTeX package, reconfigured LyX but I  
still get the same error message. What can I do?

If you don't have this gtamachoefler.sty, download it from somewhere.
Not as a part of the latest MacTex, but as a separate package.


But it *is* a part of the latest MacTeX; it can be found at:

/usr/local/texlive/texmf-local/tex/latex/gtamacfonts/gtamachoefler.sty

(Are you sure you didn't mistype it into your preamble?)

Bennett


Re: XeTeX and Hyperref

2007-12-05 Thread Maximilian Wollner


Am 05.12.2007 um 02:01 schrieb Bennett Helm:


On Dec 4, 2007, at 2:32 AM, Maximilian Wollner wrote:


Hello,


I am using LyX 1.5.2 on a PPC Mac and XeTeX to be able to use a  
system font (Hoefler Text). So far, everything works fine, except  
for Hyperref. Following the orders from the wiki I put this in my  
preamble (and following a suggestion on the XeTeX list, it's my  
last entry in my LyX-Preamble):


\usepackage[dvipdfm]{hyperref} % Sorgt für Verlinkung in PDFs.  
Funktioniert gegenwärtig nicht mit XeTeX.


And it does work to some degree. Eg. it does make links (hovering  
over one with the mouse changes the mouse pointer to a “link  
pointer” and a “content outline” (don't know how you call it  
properly, that thing eg. in Acrobat Reader on the left side where  
you can directly click on chapters, sections etc.) but I can not  
actually click on any of them; if I do nothing happens.


Now, I think I could live without Hyperref but would be happy, if  
it would work. Any suggestions here?


It turns out hyperref has changed how they do things so as to  
accommodate XeTeX. Now instead of calling hyperref with dvipdfm as  
an option, you should call it with xetex as an option:


\usepackage[xetex]{hyperref}

I've updated the wiki page to reflect this change.


I forgot to write that I tried this out as well (as well as all other  
options I could find in the hyperref manual). I have also tried to  
play around with \hypersetup and it still did not work.


Which is not to bad, if this would work:



By the way, if all you want is to use Hoefler Text as your standard  
font, you can accomplish this using


\usepackage[osf]{gtamachoefler}

in your preamble (at least with recent versions of texlive. Then  
you can typeset using pdflatex and so use microtype, e.g.


Yes, Hoefler Text is (so far) the only reason for me to use XeTeX. I  
tried to put the command in my preamble but got an error:


LaTeX Error: File `gtamachoefler.sty' not found.

Then I installed the latest MacTeX package, reconfigured LyX but I  
still get the same error message. What can I do?




Bennett


Thanks for your help,
greetings from Vienna,

Max

Re: XeTeX and Hyperref

2007-12-05 Thread Maximilian Wollner


Am 05.12.2007 um 02:01 schrieb Bennett Helm:


On Dec 4, 2007, at 2:32 AM, Maximilian Wollner wrote:


Hello,


I am using LyX 1.5.2 on a PPC Mac and XeTeX to be able to use a  
system font (Hoefler Text). So far, everything works fine, except  
for Hyperref. Following the orders from the wiki I put this in my  
preamble (and following a suggestion on the XeTeX list, it's my  
last entry in my LyX-Preamble):


\usepackage[dvipdfm]{hyperref} % Sorgt für Verlinkung in PDFs.  
Funktioniert gegenwärtig nicht mit XeTeX.


And it does work to some degree. Eg. it does make links (hovering  
over one with the mouse changes the mouse pointer to a “link  
pointer” and a “content outline” (don't know how you call it  
properly, that thing eg. in Acrobat Reader on the left side where  
you can directly click on chapters, sections etc.) but I can not  
actually click on any of them; if I do nothing happens.


Now, I think I could live without Hyperref but would be happy, if  
it would work. Any suggestions here?


It turns out hyperref has changed how they do things so as to  
accommodate XeTeX. Now instead of calling hyperref with dvipdfm as  
an option, you should call it with xetex as an option:


\usepackage[xetex]{hyperref}

I've updated the wiki page to reflect this change.


I forgot to write that I tried this out as well (as well as all other  
options I could find in the hyperref manual). I have also tried to  
play around with \hypersetup and it still did not work.


Which is not to bad, if this would work:



By the way, if all you want is to use Hoefler Text as your standard  
font, you can accomplish this using


\usepackage[osf]{gtamachoefler}

in your preamble (at least with recent versions of texlive. Then  
you can typeset using pdflatex and so use microtype, e.g.


Yes, Hoefler Text is (so far) the only reason for me to use XeTeX. I  
tried to put the command in my preamble but got an error:


LaTeX Error: File `gtamachoefler.sty' not found.

Then I installed the latest MacTeX package, reconfigured LyX but I  
still get the same error message. What can I do?




Bennett


Thanks for your help,
greetings from Vienna,

Max

Re: XeTeX and Hyperref

2007-12-05 Thread Maximilian Wollner


Am 05.12.2007 um 02:01 schrieb Bennett Helm:


On Dec 4, 2007, at 2:32 AM, Maximilian Wollner wrote:


Hello,


I am using LyX 1.5.2 on a PPC Mac and XeTeX to be able to use a  
system font (Hoefler Text). So far, everything works fine, except  
for Hyperref. Following the orders from the wiki I put this in my  
preamble (and following a suggestion on the XeTeX list, it's my  
last entry in my LyX-Preamble):


\usepackage[dvipdfm]{hyperref} % Sorgt für Verlinkung in PDFs.  
Funktioniert gegenwärtig nicht mit XeTeX.


And it does work to some degree. Eg. it does make links (hovering  
over one with the mouse changes the mouse pointer to a “link  
pointer” and a “content outline” (don't know how you call it  
properly, that thing eg. in Acrobat Reader on the left side where  
you can directly click on chapters, sections etc.) but I can not  
actually click on any of them; if I do nothing happens.


Now, I think I could live without Hyperref but would be happy, if  
it would work. Any suggestions here?


It turns out hyperref has changed how they do things so as to  
accommodate XeTeX. Now instead of calling hyperref with dvipdfm as  
an option, you should call it with xetex as an option:


\usepackage[xetex]{hyperref}

I've updated the wiki page to reflect this change.


I forgot to write that I tried this out as well (as well as all other  
options I could find in the hyperref manual). I have also tried to  
play around with \hypersetup and it still did not work.


Which is not to bad, if this would work:



By the way, if all you want is to use Hoefler Text as your standard  
font, you can accomplish this using


\usepackage[osf]{gtamachoefler}

in your preamble (at least with recent versions of texlive. Then  
you can typeset using pdflatex and so use microtype, e.g.


Yes, Hoefler Text is (so far) the only reason for me to use XeTeX. I  
tried to put the command in my preamble but got an error:


LaTeX Error: File `gtamachoefler.sty' not found.

Then I installed the latest MacTeX package, reconfigured LyX but I  
still get the same error message. What can I do?




Bennett


Thanks for your help,
greetings from Vienna,

Max

Re: XeTeX and Hyperref

2007-12-04 Thread Bennett Helm

On Dec 4, 2007, at 2:32 AM, Maximilian Wollner wrote:


Hello,


I am using LyX 1.5.2 on a PPC Mac and XeTeX to be able to use a  
system font (Hoefler Text). So far, everything works fine, except  
for Hyperref. Following the orders from the wiki I put this in my  
preamble (and following a suggestion on the XeTeX list, it's my  
last entry in my LyX-Preamble):


\usepackage[dvipdfm]{hyperref} % Sorgt für Verlinkung in PDFs.  
Funktioniert gegenwärtig nicht mit XeTeX.


And it does work to some degree. Eg. it does make links (hovering  
over one with the mouse changes the mouse pointer to a “link  
pointer” and a “content outline” (don't know how you call it  
properly, that thing eg. in Acrobat Reader on the left side where  
you can directly click on chapters, sections etc.) but I can not  
actually click on any of them; if I do nothing happens.


Now, I think I could live without Hyperref but would be happy, if  
it would work. Any suggestions here?


It turns out hyperref has changed how they do things so as to  
accommodate XeTeX. Now instead of calling hyperref with dvipdfm as an  
option, you should call it with xetex as an option:


\usepackage[xetex]{hyperref}

I've updated the wiki page to reflect this change.

By the way, if all you want is to use Hoefler Text as your standard  
font, you can accomplish this using


\usepackage[osf]{gtamachoefler}

in your preamble (at least with recent versions of texlive. Then you  
can typeset using pdflatex and so use microtype, e.g.


Bennett

Re: XeTeX and Hyperref

2007-12-04 Thread Bennett Helm

On Dec 4, 2007, at 2:32 AM, Maximilian Wollner wrote:


Hello,


I am using LyX 1.5.2 on a PPC Mac and XeTeX to be able to use a  
system font (Hoefler Text). So far, everything works fine, except  
for Hyperref. Following the orders from the wiki I put this in my  
preamble (and following a suggestion on the XeTeX list, it's my  
last entry in my LyX-Preamble):


\usepackage[dvipdfm]{hyperref} % Sorgt für Verlinkung in PDFs.  
Funktioniert gegenwärtig nicht mit XeTeX.


And it does work to some degree. Eg. it does make links (hovering  
over one with the mouse changes the mouse pointer to a “link  
pointer” and a “content outline” (don't know how you call it  
properly, that thing eg. in Acrobat Reader on the left side where  
you can directly click on chapters, sections etc.) but I can not  
actually click on any of them; if I do nothing happens.


Now, I think I could live without Hyperref but would be happy, if  
it would work. Any suggestions here?


It turns out hyperref has changed how they do things so as to  
accommodate XeTeX. Now instead of calling hyperref with dvipdfm as an  
option, you should call it with xetex as an option:


\usepackage[xetex]{hyperref}

I've updated the wiki page to reflect this change.

By the way, if all you want is to use Hoefler Text as your standard  
font, you can accomplish this using


\usepackage[osf]{gtamachoefler}

in your preamble (at least with recent versions of texlive. Then you  
can typeset using pdflatex and so use microtype, e.g.


Bennett

Re: XeTeX and Hyperref

2007-12-04 Thread Bennett Helm

On Dec 4, 2007, at 2:32 AM, Maximilian Wollner wrote:


Hello,


I am using LyX 1.5.2 on a PPC Mac and XeTeX to be able to use a  
system font (Hoefler Text). So far, everything works fine, except  
for Hyperref. Following the orders from the wiki I put this in my  
preamble (and following a suggestion on the XeTeX list, it's my  
last entry in my LyX-Preamble):


\usepackage[dvipdfm]{hyperref} % Sorgt für Verlinkung in PDFs.  
Funktioniert gegenwärtig nicht mit XeTeX.


And it does work to some degree. Eg. it does make links (hovering  
over one with the mouse changes the mouse pointer to a “link  
pointer” and a “content outline” (don't know how you call it  
properly, that thing eg. in Acrobat Reader on the left side where  
you can directly click on chapters, sections etc.) but I can not  
actually click on any of them; if I do nothing happens.


Now, I think I could live without Hyperref but would be happy, if  
it would work. Any suggestions here?


It turns out hyperref has changed how they do things so as to  
accommodate XeTeX. Now instead of calling hyperref with dvipdfm as an  
option, you should call it with xetex as an option:


\usepackage[xetex]{hyperref}

I've updated the wiki page to reflect this change.

By the way, if all you want is to use Hoefler Text as your standard  
font, you can accomplish this using


\usepackage[osf]{gtamachoefler}

in your preamble (at least with recent versions of texlive. Then you  
can typeset using pdflatex and so use microtype, e.g.


Bennett

XeTeX and Hyperref

2007-12-03 Thread Maximilian Wollner

Hello,


I am using LyX 1.5.2 on a PPC Mac and XeTeX to be able to use a  
system font (Hoefler Text). So far, everything works fine, except for  
Hyperref. Following the orders from the wiki I put this in my  
preamble (and following a suggestion on the XeTeX list, it's my last  
entry in my LyX-Preamble):


\usepackage[dvipdfm]{hyperref} % Sorgt für Verlinkung in PDFs.  
Funktioniert gegenwärtig nicht mit XeTeX.


And it does work to some degree. Eg. it does make links (hovering  
over one with the mouse changes the mouse pointer to a “link pointer”  
and a “content outline” (don't know how you call it properly, that  
thing eg. in Acrobat Reader on the left side where you can directly  
click on chapters, sections etc.) but I can not actually click on any  
of them; if I do nothing happens.


Now, I think I could live without Hyperref but would be happy, if it  
would work. Any suggestions here?


Greetings from Vienna,


Max

XeTeX and Hyperref

2007-12-03 Thread Maximilian Wollner

Hello,


I am using LyX 1.5.2 on a PPC Mac and XeTeX to be able to use a  
system font (Hoefler Text). So far, everything works fine, except for  
Hyperref. Following the orders from the wiki I put this in my  
preamble (and following a suggestion on the XeTeX list, it's my last  
entry in my LyX-Preamble):


\usepackage[dvipdfm]{hyperref} % Sorgt für Verlinkung in PDFs.  
Funktioniert gegenwärtig nicht mit XeTeX.


And it does work to some degree. Eg. it does make links (hovering  
over one with the mouse changes the mouse pointer to a “link pointer”  
and a “content outline” (don't know how you call it properly, that  
thing eg. in Acrobat Reader on the left side where you can directly  
click on chapters, sections etc.) but I can not actually click on any  
of them; if I do nothing happens.


Now, I think I could live without Hyperref but would be happy, if it  
would work. Any suggestions here?


Greetings from Vienna,


Max

XeTeX and Hyperref

2007-12-03 Thread Maximilian Wollner

Hello,


I am using LyX 1.5.2 on a PPC Mac and XeTeX to be able to use a  
system font (Hoefler Text). So far, everything works fine, except for  
Hyperref. Following the orders from the wiki I put this in my  
preamble (and following a suggestion on the XeTeX list, it's my last  
entry in my LyX-Preamble):


\usepackage[dvipdfm]{hyperref} % Sorgt für Verlinkung in PDFs.  
Funktioniert gegenwärtig nicht mit XeTeX.


And it does work to some degree. Eg. it does make links (hovering  
over one with the mouse changes the mouse pointer to a “link pointer”  
and a “content outline” (don't know how you call it properly, that  
thing eg. in Acrobat Reader on the left side where you can directly  
click on chapters, sections etc.) but I can not actually click on any  
of them; if I do nothing happens.


Now, I think I could live without Hyperref but would be happy, if it  
would work. Any suggestions here?


Greetings from Vienna,


Max

hyperref encoding

2007-10-03 Thread Pavel Sanda
hello,

please was anybody on this list able to get working some nonstandard characters
into pdf header via hyperref in preamble ? e.g. to put (nonascii) name into
author field.  

i tried various combinations of hyperref options/lyx encodings, but was not
able to get them show up correctly. however i'm sure that hyperref is able to
do the job correctly, because pdfusetitle option takes the nonstandard chars
from \title section correctly.

thanks,
pavel


Re: hyperref encoding

2007-10-03 Thread Uwe Stöhr

Pavel Sanda schrieb:


please was anybody on this list able to get working some nonstandard characters
into pdf header via hyperref in preamble ? e.g. to put (nonascii) name into
author field.


I'm currently  working on this. I'll report you tomorrow what I could find out.

regards Uwe


hyperref encoding

2007-10-03 Thread Pavel Sanda
hello,

please was anybody on this list able to get working some nonstandard characters
into pdf header via hyperref in preamble ? e.g. to put (nonascii) name into
author field.  

i tried various combinations of hyperref options/lyx encodings, but was not
able to get them show up correctly. however i'm sure that hyperref is able to
do the job correctly, because pdfusetitle option takes the nonstandard chars
from \title section correctly.

thanks,
pavel


Re: hyperref encoding

2007-10-03 Thread Uwe Stöhr

Pavel Sanda schrieb:


please was anybody on this list able to get working some nonstandard characters
into pdf header via hyperref in preamble ? e.g. to put (nonascii) name into
author field.


I'm currently  working on this. I'll report you tomorrow what I could find out.

regards Uwe


hyperref encoding

2007-10-03 Thread Pavel Sanda
hello,

please was anybody on this list able to get working some nonstandard characters
into pdf header via hyperref in preamble ? e.g. to put (nonascii) name into
author field.  

i tried various combinations of hyperref options/lyx encodings, but was not
able to get them show up correctly. however i'm sure that hyperref is able to
do the job correctly, because pdfusetitle option takes the nonstandard chars
from \title section correctly.

thanks,
pavel


Re: hyperref encoding

2007-10-03 Thread Uwe Stöhr

Pavel Sanda schrieb:


please was anybody on this list able to get working some nonstandard characters
into pdf header via hyperref in preamble ? e.g. to put (nonascii) name into
author field.


I'm currently  working on this. I'll report you tomorrow what I could find out.

regards Uwe


Re: Problem with hyperref.

2007-09-06 Thread Uwe Stöhr

Martin A. Hansen schrieb:

 \usepackage{hypcol}

You don't need this package for general hyperlinks. For an example hyperref setup, have a look at 
the preamble of the EmbeddedObjects manual.



If an URL contains an anchor # then something inside LyX breaks when using
hyperref!


The upcoming new UserGuide (for LyX 1.5.2) contains this information in the URL 
section.

regards Uwe


Re: Problem with hyperref.

2007-09-06 Thread Uwe Stöhr

Martin A. Hansen schrieb:

 \usepackage{hypcol}

You don't need this package for general hyperlinks. For an example hyperref setup, have a look at 
the preamble of the EmbeddedObjects manual.



If an URL contains an anchor # then something inside LyX breaks when using
hyperref!


The upcoming new UserGuide (for LyX 1.5.2) contains this information in the URL 
section.

regards Uwe


Re: Problem with hyperref.

2007-09-06 Thread Uwe Stöhr

Martin A. Hansen schrieb:

> \usepackage{hypcol}

You don't need this package for general hyperlinks. For an example hyperref setup, have a look at 
the preamble of the EmbeddedObjects manual.



If an URL contains an anchor # then something inside LyX breaks when using
hyperref!


The upcoming new UserGuide (for LyX 1.5.2) contains this information in the URL 
section.

regards Uwe


Problem with hyperref.

2007-09-05 Thread Martin A. Hansen
G'day all


I want all my crossrefs to be turned into hyperrefs - and in LyX 1.4 I
believe I just put:

\usepackage{hyperref}
\usepackage{hypcol}

in preamble.

But now I am trapped on a Mac (LyX 1.5.1) and here I get err:

Illegal parameter number in definition of [EMAIL PROTECTED]

 }
   ) format is a tabular format for data pertaining to one of the
Eukary...
You meant to type ## instead of #, right?
Or maybe a } was forgotten somewhere earlier, and things
are all screwed up? I'm going to assume that you meant ##.





I would have expected an err about hyperref package could not load or
something ...



?



Martin


Re: Problem with hyperref.

2007-09-05 Thread Martin A. Hansen
OK,  bug found

If an URL contains an anchor # then something inside LyX breaks when using
hyperref!



Martin



On 9/6/07, Martin A. Hansen [EMAIL PROTECTED] wrote:

 Ok, hyperref works fine since the lyx docs have working links after
 exporting PDF.

 Then there must be something specific in my doc that causes this err. I
 suspect a clash with footnote URL's as hyperrefs or something?



 Martin


 On 9/6/07, Martin A. Hansen [EMAIL PROTECTED] wrote:
 
  G'day all
 
 
  I want all my crossrefs to be turned into hyperrefs - and in LyX 1.4 I
  believe I just put:
 
  \usepackage{hyperref}
  \usepackage{hypcol}
 
  in preamble.
 
  But now I am trapped on a Mac (LyX 1.5.1) and here I get err:
 
  Illegal parameter number in definition of [EMAIL PROTECTED]
 
   }
 ) format is a tabular format for data pertaining to one of the
  Eukary...
  You meant to type ## instead of #, right?
  Or maybe a } was forgotten somewhere earlier, and things
  are all screwed up? I'm going to assume that you meant ##.
 
 
 
 
 
  I would have expected an err about hyperref package could not load or
  something ...
 
 
 
  ?
 
 
 
  Martin
 




Problem with hyperref.

2007-09-05 Thread Martin A. Hansen
G'day all


I want all my crossrefs to be turned into hyperrefs - and in LyX 1.4 I
believe I just put:

\usepackage{hyperref}
\usepackage{hypcol}

in preamble.

But now I am trapped on a Mac (LyX 1.5.1) and here I get err:

Illegal parameter number in definition of [EMAIL PROTECTED]

 }
   ) format is a tabular format for data pertaining to one of the
Eukary...
You meant to type ## instead of #, right?
Or maybe a } was forgotten somewhere earlier, and things
are all screwed up? I'm going to assume that you meant ##.





I would have expected an err about hyperref package could not load or
something ...



?



Martin


Re: Problem with hyperref.

2007-09-05 Thread Martin A. Hansen
OK,  bug found

If an URL contains an anchor # then something inside LyX breaks when using
hyperref!



Martin



On 9/6/07, Martin A. Hansen [EMAIL PROTECTED] wrote:

 Ok, hyperref works fine since the lyx docs have working links after
 exporting PDF.

 Then there must be something specific in my doc that causes this err. I
 suspect a clash with footnote URL's as hyperrefs or something?



 Martin


 On 9/6/07, Martin A. Hansen [EMAIL PROTECTED] wrote:
 
  G'day all
 
 
  I want all my crossrefs to be turned into hyperrefs - and in LyX 1.4 I
  believe I just put:
 
  \usepackage{hyperref}
  \usepackage{hypcol}
 
  in preamble.
 
  But now I am trapped on a Mac (LyX 1.5.1) and here I get err:
 
  Illegal parameter number in definition of [EMAIL PROTECTED]
 
   }
 ) format is a tabular format for data pertaining to one of the
  Eukary...
  You meant to type ## instead of #, right?
  Or maybe a } was forgotten somewhere earlier, and things
  are all screwed up? I'm going to assume that you meant ##.
 
 
 
 
 
  I would have expected an err about hyperref package could not load or
  something ...
 
 
 
  ?
 
 
 
  Martin
 




Problem with hyperref.

2007-09-05 Thread Martin A. Hansen
G'day all


I want all my crossrefs to be turned into hyperrefs - and in LyX 1.4 I
believe I just put:

\usepackage{hyperref}
\usepackage{hypcol}

in preamble.

But now I am trapped on a Mac (LyX 1.5.1) and here I get err:

Illegal parameter number in definition of [EMAIL PROTECTED]

 }
   ) format is a tabular format for data pertaining to one of the
Eukary...
You meant to type ## instead of #, right?
Or maybe a } was forgotten somewhere earlier, and things
are all screwed up? I'm going to assume that you meant ##.





I would have expected an err about hyperref package could not load or
something ...



?



Martin


Re: Problem with hyperref.

2007-09-05 Thread Martin A. Hansen
OK,  bug found

If an URL contains an anchor # then something inside LyX breaks when using
hyperref!



Martin



On 9/6/07, Martin A. Hansen <[EMAIL PROTECTED]> wrote:
>
> Ok, hyperref works fine since the lyx docs have working links after
> exporting PDF.
>
> Then there must be something specific in my doc that causes this err. I
> suspect a clash with footnote URL's as hyperrefs or something?
>
>
>
> Martin
>
>
> On 9/6/07, Martin A. Hansen <[EMAIL PROTECTED]> wrote:
> >
> > G'day all
> >
> >
> > I want all my crossrefs to be turned into hyperrefs - and in LyX 1.4 I
> > believe I just put:
> >
> > \usepackage{hyperref}
> > \usepackage{hypcol}
> >
> > in preamble.
> >
> > But now I am trapped on a Mac (LyX 1.5.1) and here I get err:
> >
> > Illegal parameter number in definition of [EMAIL PROTECTED]
> >
> >  }
> >) format is a tabular format for data pertaining to one of the
> > Eukary...
> > You meant to type ## instead of #, right?
> > Or maybe a } was forgotten somewhere earlier, and things
> > are all screwed up? I'm going to assume that you meant ##.
> >
> >
> >
> >
> >
> > I would have expected an err about hyperref package could not load or
> > something ...
> >
> >
> >
> > ?
> >
> >
> >
> > Martin
> >
>
>


Re: Questions regarding hyperref

2007-05-31 Thread Tim Michelsen
I cannot help you here as I don't have the file. I assume the reason is 
one of your strange preamble hacks. To find the reason, copy the file 
and remove everything except of one text line. If you then still have 
problems, remove the preamble stuff step by step until you found the 
problematic code.

For the debugging of your preamble I recommend to put it in a external file.

Put the following in preable part of your document settings:
\input{preamble.tex}

Then create and edit preamble.tex with the editor of your choice.

This is also an advantage becaue you'll be able to reuse the preable, 
have different versions etc.




Re: Questions regarding hyperref

2007-05-31 Thread LB
Hi Uwe

 pdflatex is much faster and the resulting PDFs are not larger for me.
 You caption problem must have another reason.

Do you mind tyring to  the same file with ps2pdf to see if TOC and list of
figures look righ?  I want to figure out if the problem is to do with my
system (maybe old version of one of the style files, or something else).

Thanks
Leo



Re: Questions regarding hyperref

2007-05-31 Thread Uwe Stöhr

LB schrieb:


Do you mind tyring to  the same file with ps2pdf to see if TOC and list of
figures look righ?  I want to figure out if the problem is to do with my
system (maybe old version of one of the style files, or something else).


The file I sent you can also compiled using ps2pdf without problems: The caption text is correctly 
broken at the line end, the bibliography is linked, bookmarks are generated.


regards Uwe


Re: Questions regarding hyperref

2007-05-31 Thread LB

Hi

This means that my setup is wrong. Because this file and EmbeddedObjects.lyx 
file do not compile properly with ps2pdf with the same problem of  long 
section names and figure captions running of the page and not wrapping 
around.


That's really the only problem I have with hyperref.

Is there a way of debuging this?

Thanks
Leo



LB schrieb:

Do you mind tyring to  the same file with ps2pdf to see if TOC and list 
of

figures look righ?  I want to figure out if the problem is to do with my
system (maybe old version of one of the style files, or something else).


The file I sent you can also compiled using ps2pdf without problems: The 
caption text is correctly broken at the line end, the bibliography is 
linked, bookmarks are generated.


regards Uwe








Re: Questions regarding hyperref

2007-05-31 Thread Uwe Stöhr

LB schrieb:


This means that my setup is wrong. ...
Is there a way of debuging this?


Not really. I recommend that you update your hyperref version. Concerning your LaTeX-system, when 
you are using MiKTeX, use its uppdate manager, when you are using TeXLive, update it to TeXLive 
2007, when you are still using teTeX, update it to TeXLive.


regards Uwe


Re: Questions regarding hyperref

2007-05-31 Thread Tim Michelsen
I cannot help you here as I don't have the file. I assume the reason is 
one of your strange preamble hacks. To find the reason, copy the file 
and remove everything except of one text line. If you then still have 
problems, remove the preamble stuff step by step until you found the 
problematic code.

For the debugging of your preamble I recommend to put it in a external file.

Put the following in preable part of your document settings:
\input{preamble.tex}

Then create and edit preamble.tex with the editor of your choice.

This is also an advantage becaue you'll be able to reuse the preable, 
have different versions etc.




Re: Questions regarding hyperref

2007-05-31 Thread LB
Hi Uwe

 pdflatex is much faster and the resulting PDFs are not larger for me.
 You caption problem must have another reason.

Do you mind tyring to  the same file with ps2pdf to see if TOC and list of
figures look righ?  I want to figure out if the problem is to do with my
system (maybe old version of one of the style files, or something else).

Thanks
Leo



Re: Questions regarding hyperref

2007-05-31 Thread Uwe Stöhr

LB schrieb:


Do you mind tyring to  the same file with ps2pdf to see if TOC and list of
figures look righ?  I want to figure out if the problem is to do with my
system (maybe old version of one of the style files, or something else).


The file I sent you can also compiled using ps2pdf without problems: The caption text is correctly 
broken at the line end, the bibliography is linked, bookmarks are generated.


regards Uwe


Re: Questions regarding hyperref

2007-05-31 Thread LB

Hi

This means that my setup is wrong. Because this file and EmbeddedObjects.lyx 
file do not compile properly with ps2pdf with the same problem of  long 
section names and figure captions running of the page and not wrapping 
around.


That's really the only problem I have with hyperref.

Is there a way of debuging this?

Thanks
Leo



LB schrieb:

Do you mind tyring to  the same file with ps2pdf to see if TOC and list 
of

figures look righ?  I want to figure out if the problem is to do with my
system (maybe old version of one of the style files, or something else).


The file I sent you can also compiled using ps2pdf without problems: The 
caption text is correctly broken at the line end, the bibliography is 
linked, bookmarks are generated.


regards Uwe








Re: Questions regarding hyperref

2007-05-31 Thread Uwe Stöhr

LB schrieb:


This means that my setup is wrong. ...
Is there a way of debuging this?


Not really. I recommend that you update your hyperref version. Concerning your LaTeX-system, when 
you are using MiKTeX, use its uppdate manager, when you are using TeXLive, update it to TeXLive 
2007, when you are still using teTeX, update it to TeXLive.


regards Uwe


Re: Questions regarding hyperref

2007-05-31 Thread Tim Michelsen
I cannot help you here as I don't have the file. I assume the reason is 
one of your strange preamble hacks. To find the reason, copy the file 
and remove everything except of one text line. If you then still have 
problems, remove the preamble stuff step by step until you found the 
problematic code.

For the debugging of your preamble I recommend to put it in a external file.

Put the following in preable part of your document settings:
\input{preamble.tex}

Then create and edit preamble.tex with the editor of your choice.

This is also an advantage becaue you'll be able to reuse the preable, 
have different versions etc.




Re: Questions regarding hyperref

2007-05-31 Thread LB
Hi Uwe

> pdflatex is much faster and the resulting PDFs are not larger for me.
> You caption problem must have another reason.

Do you mind tyring to  the same file with ps2pdf to see if TOC and list of
figures look righ?  I want to figure out if the problem is to do with my
system (maybe old version of one of the style files, or something else).

Thanks
Leo



Re: Questions regarding hyperref

2007-05-31 Thread Uwe Stöhr

LB schrieb:


Do you mind tyring to  the same file with ps2pdf to see if TOC and list of
figures look righ?  I want to figure out if the problem is to do with my
system (maybe old version of one of the style files, or something else).


The file I sent you can also compiled using ps2pdf without problems: The caption text is correctly 
broken at the line end, the bibliography is linked, bookmarks are generated.


regards Uwe


Re: Questions regarding hyperref

2007-05-31 Thread LB

Hi

This means that my setup is wrong. Because this file and EmbeddedObjects.lyx 
file do not compile properly with ps2pdf with the same problem of  long 
section names and figure captions running of the page and not wrapping 
around.


That's really the only problem I have with hyperref.

Is there a way of debuging this?

Thanks
Leo



LB schrieb:

Do you mind tyring to  the same file with ps2pdf to see if TOC and list 
of

figures look righ?  I want to figure out if the problem is to do with my
system (maybe old version of one of the style files, or something else).


The file I sent you can also compiled using ps2pdf without problems: The 
caption text is correctly broken at the line end, the bibliography is 
linked, bookmarks are generated.


regards Uwe








Re: Questions regarding hyperref

2007-05-31 Thread Uwe Stöhr

LB schrieb:


This means that my setup is wrong. ...
Is there a way of debuging this?


Not really. I recommend that you update your hyperref version. Concerning your LaTeX-system, when 
you are using MiKTeX, use its uppdate manager, when you are using TeXLive, update it to TeXLive 
2007, when you are still using teTeX, update it to TeXLive.


regards Uwe


Re: Questions regarding hyperref

2007-05-30 Thread Tim Michelsen

Hi!


However there are some problems that I need to fix (I use Book  as document
class, Lyx 1.4.3):

I never used book class...


1. The bookmarks to some sections such as Acknowledgement, Glossary etc
point to wrong pages.

How?
Like one or two section before that?
Put in a page beak before these environments


   I created these with Chapter*.
* means that it won't be in the TOC therefore they won't be indexed and 
no links generated. there's a manual for hyperref which tells you how to 
set additional anchors.



2. How can I added hyperref to bibliographic references?  It would be nice
if when I clicked on [1], the document would jump to Bibliography section
and shown reference [1].




3. The captions in the List of Tables and  List of Figures and sections in
TOC do not wrap when the reach the right side of the page. How can this be
fixed?

Can you supply a minimal example of your text?

Sorry, I have hyperref working correctly but can't tell where your 
errors come from. But the manual is quite good, too.





Re: Questions regarding hyperref

2007-05-30 Thread LB
Hello

Attached is an example of the .lyx file and resultant pdf that show the
problems  with long titles, captions and referencing to wrong pages for
Abstract, Acknowledgements, etc.

Also, I have not figured out how to add hyperref to bibliographic references
yet. Please help.

Thank you
Leo




 Hi!

  However there are some problems that I need to fix (I use Book  as
document
  class, Lyx 1.4.3):
 I never used book class...

  1. The bookmarks to some sections such as Acknowledgement, Glossary etc
  point to wrong pages.
 How?
 Like one or two section before that?
 Put in a page beak before these environments

 I created these with Chapter*.
 * means that it won't be in the TOC therefore they won't be indexed and
 no links generated. there's a manual for hyperref which tells you how to
 set additional anchors.

  2. How can I added hyperref to bibliographic references?  It would be
nice
  if when I clicked on [1], the document would jump to Bibliography
section
  and shown reference [1].


  3. The captions in the List of Tables and  List of Figures and sections
in
  TOC do not wrap when the reach the right side of the page. How can this
be
  fixed?
 Can you supply a minimal example of your text?

 Sorry, I have hyperref working correctly but can't tell where your
 errors come from. But the manual is quite good, too.






test.pdf
Description: Adobe PDF document


test.lyx
Description: application/lyx


Re: Questions regarding hyperref

2007-05-30 Thread Uwe Stöhr

LB schrieb:


I have added the following code (I took it from EmbeddedObjects.lyx) to the
preamble of my document



However there are some problems that I need to fix (I use Book  as document
class, Lyx 1.4.3):
1. The bookmarks to some sections such as Acknowledgement, Glossary etc
point to wrong pages.
   I created these with Chapter*.


I refer to the hyperref manual to find out how to set the hyperlink anchors in 
this case.


2. How can I added hyperref to bibliographic references?  It would be nice
if when I clicked on [1], the document would jump to Bibliography section
and shown reference [1].


This is automatically done by hyperref. It works in the attached example.
You have to load the cite package after hyperref, but check if you really need 
this package.


3. The captions in the List of Tables and  List of Figures and sections in
TOC do not wrap when the reach the right side of the page. How can this be
fixed?


Works in the attached file.

In general:
- You used a lot of strange code in your preamble and document. You should only 
use stuff that you
really need.
- You can save lots of preamble hooks if you use a better book class. I can 
recommend the class
book (koma-script) that is used by the EmbeddedObjects manual. This class 
provides you nearly
every feature needed for a proper book layout. Then you can get e.g. rid of 
your titlepage hack. Its
beautiful documentation explains you more.

regards Uwe



test.lyx
Description: application/lyx


Re: Questions regarding hyperref

2007-05-30 Thread LB
Hi

Well, this example file did not work for me with ps2pdf.  So I decided to
try pdflatex and that worked.

Unfortunately pdflatex does not like my real document. When I try to view
the real document I get a message There was an arror opening this document.
The file is damaged and could not be repaired when acrobat starts.

Is that because I all my figures are *.eps? Is there a way of fixing this?

I don't realy like pdflatex as it generates large pdf files (my file is
already almost 6MB when generated with ps2pdf) but if that's the only way to
get long captions to wrap, I guess I'll use it.  BTW the long captions did
behave properly before I started using the hyperref package.

And to set the hyperlink anchors I'll use \phantomsection.

Thank you
Leo

 LB schrieb:

  I have added the following code (I took it from EmbeddedObjects.lyx) to
the
  preamble of my document

  However there are some problems that I need to fix (I use Book  as
document
  class, Lyx 1.4.3):
  1. The bookmarks to some sections such as Acknowledgement, Glossary etc
  point to wrong pages.
 I created these with Chapter*.

 I refer to the hyperref manual to find out how to set the hyperlink
anchors in this case.

  2. How can I added hyperref to bibliographic references?  It would be
nice
  if when I clicked on [1], the document would jump to Bibliography
section
  and shown reference [1].

 This is automatically done by hyperref. It works in the attached example.
 You have to load the cite package after hyperref, but check if you really
need this package.

  3. The captions in the List of Tables and  List of Figures and sections
in
  TOC do not wrap when the reach the right side of the page. How can this
be
  fixed?

 Works in the attached file.

 In general:
 - You used a lot of strange code in your preamble and document. You should
only use stuff that you
 really need.
 - You can save lots of preamble hooks if you use a better book class. I
can recommend the class
 book (koma-script) that is used by the EmbeddedObjects manual. This
class provides you nearly
 every feature needed for a proper book layout. Then you can get e.g. rid
of your titlepage hack. Its
 beautiful documentation explains you more.

 regards Uwe





Re: Questions regarding hyperref

2007-05-30 Thread Uwe Stöhr

LB schrieb:


Well, this example file did not work for me with ps2pdf.  So I decided to
try pdflatex and that worked.

Unfortunately pdflatex does not like my real document. When I try to view
the real document I get a message There was an arror opening this document.
The file is damaged and could not be repaired when acrobat starts.


I cannot help you here as I don't have the file. I assume the reason is one of your strange preamble 
hacks. To find the reason, copy the file and remove everything except of one text line. If you then 
still have problems, remove the preamble stuff step by step until you found the problematic code.



Is that because I all my figures are *.eps? Is there a way of fixing this?


No, LyX takes care of it.


I don't realy like pdflatex as it generates large pdf files (my file is
already almost 6MB when generated with ps2pdf) but if that's the only way to
get long captions to wrap, I guess I'll use it.


pdflatex is much faster and the resulting PDFs are not larger for me.
You caption problem must have another reason.


 BTW the long captions did
behave properly before I started using the hyperref package.


Try to load the caption package behind hyperref in the preamble.

regarsd Uwe


Re: Questions regarding hyperref

2007-05-30 Thread Tim Michelsen

Hi!


However there are some problems that I need to fix (I use Book  as document
class, Lyx 1.4.3):

I never used book class...


1. The bookmarks to some sections such as Acknowledgement, Glossary etc
point to wrong pages.

How?
Like one or two section before that?
Put in a page beak before these environments


   I created these with Chapter*.
* means that it won't be in the TOC therefore they won't be indexed and 
no links generated. there's a manual for hyperref which tells you how to 
set additional anchors.



2. How can I added hyperref to bibliographic references?  It would be nice
if when I clicked on [1], the document would jump to Bibliography section
and shown reference [1].




3. The captions in the List of Tables and  List of Figures and sections in
TOC do not wrap when the reach the right side of the page. How can this be
fixed?

Can you supply a minimal example of your text?

Sorry, I have hyperref working correctly but can't tell where your 
errors come from. But the manual is quite good, too.





Re: Questions regarding hyperref

2007-05-30 Thread LB
Hello

Attached is an example of the .lyx file and resultant pdf that show the
problems  with long titles, captions and referencing to wrong pages for
Abstract, Acknowledgements, etc.

Also, I have not figured out how to add hyperref to bibliographic references
yet. Please help.

Thank you
Leo




 Hi!

  However there are some problems that I need to fix (I use Book  as
document
  class, Lyx 1.4.3):
 I never used book class...

  1. The bookmarks to some sections such as Acknowledgement, Glossary etc
  point to wrong pages.
 How?
 Like one or two section before that?
 Put in a page beak before these environments

 I created these with Chapter*.
 * means that it won't be in the TOC therefore they won't be indexed and
 no links generated. there's a manual for hyperref which tells you how to
 set additional anchors.

  2. How can I added hyperref to bibliographic references?  It would be
nice
  if when I clicked on [1], the document would jump to Bibliography
section
  and shown reference [1].


  3. The captions in the List of Tables and  List of Figures and sections
in
  TOC do not wrap when the reach the right side of the page. How can this
be
  fixed?
 Can you supply a minimal example of your text?

 Sorry, I have hyperref working correctly but can't tell where your
 errors come from. But the manual is quite good, too.






test.pdf
Description: Adobe PDF document


test.lyx
Description: application/lyx


Re: Questions regarding hyperref

2007-05-30 Thread Uwe Stöhr

LB schrieb:


I have added the following code (I took it from EmbeddedObjects.lyx) to the
preamble of my document



However there are some problems that I need to fix (I use Book  as document
class, Lyx 1.4.3):
1. The bookmarks to some sections such as Acknowledgement, Glossary etc
point to wrong pages.
   I created these with Chapter*.


I refer to the hyperref manual to find out how to set the hyperlink anchors in 
this case.


2. How can I added hyperref to bibliographic references?  It would be nice
if when I clicked on [1], the document would jump to Bibliography section
and shown reference [1].


This is automatically done by hyperref. It works in the attached example.
You have to load the cite package after hyperref, but check if you really need 
this package.


3. The captions in the List of Tables and  List of Figures and sections in
TOC do not wrap when the reach the right side of the page. How can this be
fixed?


Works in the attached file.

In general:
- You used a lot of strange code in your preamble and document. You should only 
use stuff that you
really need.
- You can save lots of preamble hooks if you use a better book class. I can 
recommend the class
book (koma-script) that is used by the EmbeddedObjects manual. This class 
provides you nearly
every feature needed for a proper book layout. Then you can get e.g. rid of 
your titlepage hack. Its
beautiful documentation explains you more.

regards Uwe



test.lyx
Description: application/lyx


Re: Questions regarding hyperref

2007-05-30 Thread LB
Hi

Well, this example file did not work for me with ps2pdf.  So I decided to
try pdflatex and that worked.

Unfortunately pdflatex does not like my real document. When I try to view
the real document I get a message There was an arror opening this document.
The file is damaged and could not be repaired when acrobat starts.

Is that because I all my figures are *.eps? Is there a way of fixing this?

I don't realy like pdflatex as it generates large pdf files (my file is
already almost 6MB when generated with ps2pdf) but if that's the only way to
get long captions to wrap, I guess I'll use it.  BTW the long captions did
behave properly before I started using the hyperref package.

And to set the hyperlink anchors I'll use \phantomsection.

Thank you
Leo

 LB schrieb:

  I have added the following code (I took it from EmbeddedObjects.lyx) to
the
  preamble of my document

  However there are some problems that I need to fix (I use Book  as
document
  class, Lyx 1.4.3):
  1. The bookmarks to some sections such as Acknowledgement, Glossary etc
  point to wrong pages.
 I created these with Chapter*.

 I refer to the hyperref manual to find out how to set the hyperlink
anchors in this case.

  2. How can I added hyperref to bibliographic references?  It would be
nice
  if when I clicked on [1], the document would jump to Bibliography
section
  and shown reference [1].

 This is automatically done by hyperref. It works in the attached example.
 You have to load the cite package after hyperref, but check if you really
need this package.

  3. The captions in the List of Tables and  List of Figures and sections
in
  TOC do not wrap when the reach the right side of the page. How can this
be
  fixed?

 Works in the attached file.

 In general:
 - You used a lot of strange code in your preamble and document. You should
only use stuff that you
 really need.
 - You can save lots of preamble hooks if you use a better book class. I
can recommend the class
 book (koma-script) that is used by the EmbeddedObjects manual. This
class provides you nearly
 every feature needed for a proper book layout. Then you can get e.g. rid
of your titlepage hack. Its
 beautiful documentation explains you more.

 regards Uwe





Re: Questions regarding hyperref

2007-05-30 Thread Uwe Stöhr

LB schrieb:


Well, this example file did not work for me with ps2pdf.  So I decided to
try pdflatex and that worked.

Unfortunately pdflatex does not like my real document. When I try to view
the real document I get a message There was an arror opening this document.
The file is damaged and could not be repaired when acrobat starts.


I cannot help you here as I don't have the file. I assume the reason is one of your strange preamble 
hacks. To find the reason, copy the file and remove everything except of one text line. If you then 
still have problems, remove the preamble stuff step by step until you found the problematic code.



Is that because I all my figures are *.eps? Is there a way of fixing this?


No, LyX takes care of it.


I don't realy like pdflatex as it generates large pdf files (my file is
already almost 6MB when generated with ps2pdf) but if that's the only way to
get long captions to wrap, I guess I'll use it.


pdflatex is much faster and the resulting PDFs are not larger for me.
You caption problem must have another reason.


 BTW the long captions did
behave properly before I started using the hyperref package.


Try to load the caption package behind hyperref in the preamble.

regarsd Uwe


Re: Questions regarding hyperref

2007-05-30 Thread Tim Michelsen

Hi!


However there are some problems that I need to fix (I use Book  as document
class, Lyx 1.4.3):

I never used book class...


1. The bookmarks to some sections such as Acknowledgement, Glossary etc
point to wrong pages.

How?
Like one or two section before that?
Put in a page beak before these environments


   I created these with Chapter*.
* means that it won't be in the TOC therefore they won't be indexed and 
no links generated. there's a manual for hyperref which tells you how to 
set additional anchors.



2. How can I added hyperref to bibliographic references?  It would be nice
if when I clicked on [1], the document would jump to Bibliography section
and shown reference [1].




3. The captions in the List of Tables and  List of Figures and sections in
TOC do not wrap when the reach the right side of the page. How can this be
fixed?

Can you supply a minimal example of your text?

Sorry, I have hyperref working correctly but can't tell where your 
errors come from. But the manual is quite good, too.





Re: Questions regarding hyperref

2007-05-30 Thread LB
Hello

Attached is an example of the .lyx file and resultant pdf that show the
problems  with long titles, captions and referencing to wrong pages for
Abstract, Acknowledgements, etc.

Also, I have not figured out how to add hyperref to bibliographic references
yet. Please help.

Thank you
Leo




> Hi!
>
> > However there are some problems that I need to fix (I use Book  as
document
> > class, Lyx 1.4.3):
> I never used book class...
>
> > 1. The bookmarks to some sections such as Acknowledgement, Glossary etc
> > point to wrong pages.
> How?
> Like one or two section before that?
> Put in a page beak before these environments
>
> >I created these with Chapter*.
> * means that it won't be in the TOC therefore they won't be indexed and
> no links generated. there's a manual for hyperref which tells you how to
> set additional anchors.
>
> > 2. How can I added hyperref to bibliographic references?  It would be
nice
> > if when I clicked on [1], the document would jump to Bibliography
section
> > and shown reference [1].
>
>
> > 3. The captions in the List of Tables and  List of Figures and sections
in
> > TOC do not wrap when the reach the right side of the page. How can this
be
> > fixed?
> Can you supply a minimal example of your text?
>
> Sorry, I have hyperref working correctly but can't tell where your
> errors come from. But the manual is quite good, too.
>
>
>
>


test.pdf
Description: Adobe PDF document


test.lyx
Description: application/lyx


Re: Questions regarding hyperref

2007-05-30 Thread Uwe Stöhr

LB schrieb:


I have added the following code (I took it from EmbeddedObjects.lyx) to the
preamble of my document



However there are some problems that I need to fix (I use Book  as document
class, Lyx 1.4.3):
1. The bookmarks to some sections such as Acknowledgement, Glossary etc
point to wrong pages.
   I created these with Chapter*.


I refer to the hyperref manual to find out how to set the hyperlink anchors in 
this case.


2. How can I added hyperref to bibliographic references?  It would be nice
if when I clicked on [1], the document would jump to Bibliography section
and shown reference [1].


This is automatically done by hyperref. It works in the attached example.
You have to load the cite package after hyperref, but check if you really need 
this package.


3. The captions in the List of Tables and  List of Figures and sections in
TOC do not wrap when the reach the right side of the page. How can this be
fixed?


Works in the attached file.

In general:
- You used a lot of strange code in your preamble and document. You should only 
use stuff that you
really need.
- You can save lots of preamble hooks if you use a better book class. I can 
recommend the class
"book (koma-script)" that is used by the EmbeddedObjects manual. This class 
provides you nearly
every feature needed for a proper book layout. Then you can get e.g. rid of 
your titlepage hack. Its
beautiful documentation explains you more.

regards Uwe



test.lyx
Description: application/lyx


Re: Questions regarding hyperref

2007-05-30 Thread LB
Hi

Well, this example file did not work for me with ps2pdf.  So I decided to
try pdflatex and that worked.

Unfortunately pdflatex does not like my real document. When I try to view
the real document I get a message "There was an arror opening this document.
The file is damaged and could not be repaired" when acrobat starts.

Is that because I all my figures are *.eps? Is there a way of fixing this?

I don't realy like pdflatex as it generates large pdf files (my file is
already almost 6MB when generated with ps2pdf) but if that's the only way to
get long captions to wrap, I guess I'll use it.  BTW the long captions did
behave properly before I started using the hyperref package.

And to set the hyperlink anchors I'll use \phantomsection.

Thank you
Leo

> LB schrieb:
>
> > I have added the following code (I took it from EmbeddedObjects.lyx) to
the
> > preamble of my document
>
> > However there are some problems that I need to fix (I use Book  as
document
> > class, Lyx 1.4.3):
> > 1. The bookmarks to some sections such as Acknowledgement, Glossary etc
> > point to wrong pages.
> >    I created these with Chapter*.
>
> I refer to the hyperref manual to find out how to set the hyperlink
anchors in this case.
>
> > 2. How can I added hyperref to bibliographic references?  It would be
nice
> > if when I clicked on [1], the document would jump to Bibliography
section
> > and shown reference [1].
>
> This is automatically done by hyperref. It works in the attached example.
> You have to load the cite package after hyperref, but check if you really
need this package.
>
> > 3. The captions in the List of Tables and  List of Figures and sections
in
> > TOC do not wrap when the reach the right side of the page. How can this
be
> > fixed?
>
> Works in the attached file.
>
> In general:
> - You used a lot of strange code in your preamble and document. You should
only use stuff that you
> really need.
> - You can save lots of preamble hooks if you use a better book class. I
can recommend the class
> "book (koma-script)" that is used by the EmbeddedObjects manual. This
class provides you nearly
> every feature needed for a proper book layout. Then you can get e.g. rid
of your titlepage hack. Its
> beautiful documentation explains you more.
>
> regards Uwe
>
>



Re: Questions regarding hyperref

2007-05-30 Thread Uwe Stöhr

LB schrieb:


Well, this example file did not work for me with ps2pdf.  So I decided to
try pdflatex and that worked.

Unfortunately pdflatex does not like my real document. When I try to view
the real document I get a message "There was an arror opening this document.
The file is damaged and could not be repaired" when acrobat starts.


I cannot help you here as I don't have the file. I assume the reason is one of your strange preamble 
hacks. To find the reason, copy the file and remove everything except of one text line. If you then 
still have problems, remove the preamble stuff step by step until you found the problematic code.



Is that because I all my figures are *.eps? Is there a way of fixing this?


No, LyX takes care of it.


I don't realy like pdflatex as it generates large pdf files (my file is
already almost 6MB when generated with ps2pdf) but if that's the only way to
get long captions to wrap, I guess I'll use it.


pdflatex is much faster and the resulting PDFs are not larger for me.
You caption problem must have another reason.


 BTW the long captions did
behave properly before I started using the hyperref package.


Try to load the caption package behind hyperref in the preamble.

regarsd Uwe


Re: TeXperts: using hyperref to refer to label containing # in external document

2007-02-21 Thread Georg Baum
Daniel Lohmann wrote:

 The only form I have so far found to be kind of working is:
 
 \def\@@hyperref#1#2#3{%
[EMAIL PROTECTED]
[EMAIL PROTECTED]@one\\{#1}%
 }
 
 Well, 32 hash symbols... However, it generates *two* hash symbols in the
 output, labels look like Page##8 instead of Page#8. If I use only 16
 hash symbols in the definition, I get (again) an ! Illegal parameter
 number error :-/

That looks strange. I don't know enough TeX to see what is going on here.
Maybe you ask on comp.text.tex?


Georg



Re: TeXperts: using hyperref to refer to label containing # in external document

2007-02-21 Thread Enrico Forestieri
Daniel Lohmann [EMAIL PROTECTED] writes:

 The only form I have so far found to be kind of working is:
 
 \def\@@hyperref#1#2#3{%
[EMAIL PROTECTED]
[EMAIL PROTECTED]@one\\{#1}%
 }
 
 Well, 32 hash symbols... However, it generates *two* hash symbols in the 
 output, labels look like Page##8 instead of Page#8. If I use only 16 
 hash symbols in the definition, I get (again) an ! Illegal parameter 
 number error :-/

Please, try the following:

\usepackage{hyperref}
\catcode`\#=11
\def\hashmark{#}
\catcode`\#=6
\def\@@hyperref#1#2#3{%
   [EMAIL PROTECTED]
   [EMAIL PROTECTED]@one\\{#1}%
}

-- 
Enrico





Re: TeXperts: using hyperref to refer to label containing # in external document

2007-02-21 Thread Daniel Lohmann

Enrico Forestieri schrieb:


Please, try the following:

\usepackage{hyperref}
\catcode`\#=11
\def\hashmark{#}
\catcode`\#=6
\def\@@hyperref#1#2#3{%
   [EMAIL PROTECTED]
   [EMAIL PROTECTED]@one\\{#1}%
}


Thanks a lot Enrico, the \catcode trick did it :-)

Now the href links are created as they should. Even with the right-looking 
link targets, navigation to the particualr page does still not work, 
though. I think I will have to dive even deeper into the PDF format and

ask some PDF-related newsgroups about that.

Thanks again.

Daniel


Re: TeXperts: using hyperref to refer to label containing # in external document

2007-02-21 Thread Georg Baum
Daniel Lohmann wrote:

 The only form I have so far found to be kind of working is:
 
 \def\@@hyperref#1#2#3{%
[EMAIL PROTECTED]
[EMAIL PROTECTED]@one\\{#1}%
 }
 
 Well, 32 hash symbols... However, it generates *two* hash symbols in the
 output, labels look like Page##8 instead of Page#8. If I use only 16
 hash symbols in the definition, I get (again) an ! Illegal parameter
 number error :-/

That looks strange. I don't know enough TeX to see what is going on here.
Maybe you ask on comp.text.tex?


Georg



Re: TeXperts: using hyperref to refer to label containing # in external document

2007-02-21 Thread Enrico Forestieri
Daniel Lohmann [EMAIL PROTECTED] writes:

 The only form I have so far found to be kind of working is:
 
 \def\@@hyperref#1#2#3{%
[EMAIL PROTECTED]
[EMAIL PROTECTED]@one\\{#1}%
 }
 
 Well, 32 hash symbols... However, it generates *two* hash symbols in the 
 output, labels look like Page##8 instead of Page#8. If I use only 16 
 hash symbols in the definition, I get (again) an ! Illegal parameter 
 number error :-/

Please, try the following:

\usepackage{hyperref}
\catcode`\#=11
\def\hashmark{#}
\catcode`\#=6
\def\@@hyperref#1#2#3{%
   [EMAIL PROTECTED]
   [EMAIL PROTECTED]@one\\{#1}%
}

-- 
Enrico





Re: TeXperts: using hyperref to refer to label containing # in external document

2007-02-21 Thread Daniel Lohmann

Enrico Forestieri schrieb:


Please, try the following:

\usepackage{hyperref}
\catcode`\#=11
\def\hashmark{#}
\catcode`\#=6
\def\@@hyperref#1#2#3{%
   [EMAIL PROTECTED]
   [EMAIL PROTECTED]@one\\{#1}%
}


Thanks a lot Enrico, the \catcode trick did it :-)

Now the href links are created as they should. Even with the right-looking 
link targets, navigation to the particualr page does still not work, 
though. I think I will have to dive even deeper into the PDF format and

ask some PDF-related newsgroups about that.

Thanks again.

Daniel


Re: TeXperts: using hyperref to refer to label containing # in external document

2007-02-21 Thread Georg Baum
Daniel Lohmann wrote:

> The only form I have so far found to be kind of working is:
> 
> \def\@@hyperref#1#2#3{%
>[EMAIL PROTECTED]
>[EMAIL PROTECTED]@one\\{#1}%
> }
> 
> Well, 32 hash symbols... However, it generates *two* hash symbols in the
> output, labels look like "Page##8" instead of "Page#8". If I use only 16
> hash symbols in the definition, I get (again) an "! Illegal parameter
> number" error :-/

That looks strange. I don't know enough TeX to see what is going on here.
Maybe you ask on comp.text.tex?


Georg



Re: TeXperts: using hyperref to refer to label containing # in external document

2007-02-21 Thread Enrico Forestieri
Daniel Lohmann <[EMAIL PROTECTED]> writes:

> The only form I have so far found to be kind of working is:
> 
> \def\@@hyperref#1#2#3{%
>[EMAIL PROTECTED]
>[EMAIL PROTECTED]@one\\{#1}%
> }
> 
> Well, 32 hash symbols... However, it generates *two* hash symbols in the 
> output, labels look like "Page##8" instead of "Page#8". If I use only 16 
> hash symbols in the definition, I get (again) an "! Illegal parameter 
> number" error :-/

Please, try the following:

\usepackage{hyperref}
\catcode`\#=11
\def\hashmark{#}
\catcode`\#=6
\def\@@hyperref#1#2#3{%
   [EMAIL PROTECTED]
   [EMAIL PROTECTED]@one\\{#1}%
}

-- 
Enrico





Re: TeXperts: using hyperref to refer to label containing # in external document

2007-02-21 Thread Daniel Lohmann

Enrico Forestieri schrieb:


Please, try the following:

\usepackage{hyperref}
\catcode`\#=11
\def\hashmark{#}
\catcode`\#=6
\def\@@hyperref#1#2#3{%
   [EMAIL PROTECTED]
   [EMAIL PROTECTED]@one\\{#1}%
}


Thanks a lot Enrico, the \catcode trick did it :-)

Now the href links are created as they should. Even with the right-looking 
link targets, navigation to the particualr page does still not work, 
though. I think I will have to dive even deeper into the PDF format and

ask some PDF-related newsgroups about that.

Thanks again.

Daniel


TeXperts: using hyperref to refer to label containing # in external document

2007-02-20 Thread Daniel Lohmann

Hi LyX-Folks,

I am writing a document that refers to specific pages or chapters of other 
 documents. In the resulting PDF, the reader should be able to navigate 
directly to the referred document and page. I am using the hyperref package 
to generate the links.


Problem is that I am not the author of the documents to refer to. I have 
just the PDFs. Moreover, they most probably have not been created with 
LaTeX, but with Word or worse.


I already figured out how Word (respective the Acrobat plugin) generates 
navigation labels for pages. For pages 1,2,3,... there are PDF labels 
Page#1, Page#2, Page#3, and so on available (without the quotes).


If I use the \hyperref command such as:

\hyperref{external.pdf}{Page}{2}

this generates a link to the correct document (external.pdf), however to 
the label Page.2, which does not exist -- it has to be Page#2.


So I tried to redefine the command that is used inside hyperref to generate 
the target label names. This looks like:


\def\@@hyperref#1#2#3{%
  [EMAIL PROTECTED]
  [EMAIL PROTECTED]@one\\{#1}%
}

OK, the second line is responsible for inserting the dot (.) between the 
second and the third parameter. However, while I successfully managed to 
replace it with almost any character, I have not been able to use # for 
this purpose. This is probably because # is a magic character for LaTeX 
that must not be used inside names.


I have the slight feeling that I am out of luck here :-(

Any ideas?

Thanks a lot!

Daniel


Re: TeXperts: using hyperref to refer to label containing # in external document

2007-02-20 Thread Georg Baum
Am Dienstag, 20. Februar 2007 16:44 schrieb Daniel Lohmann:

 OK, the second line is responsible for inserting the dot (.) between 
the 
 second and the third parameter. However, while I successfully managed to 
 replace it with almost any character, I have not been able to use # for 
 this purpose. This is probably because # is a magic character for LaTeX 
 that must not be used inside names.
 
 I have the slight feeling that I am out of luck here :-(

I don't think so. The # is a special character in macros. If you replace it 
with ## it should produce a single #. See also 
http://www.tex.ac.uk/cgi-bin/texfaq2html?label=hash.


Georg



Re: TeXperts: using hyperref to refer to label containing # in external document

2007-02-20 Thread Daniel Lohmann



Georg Baum schrieb:

Am Dienstag, 20. Februar 2007 16:44 schrieb Daniel Lohmann:

OK, the second line is responsible for inserting the dot (.) between 
the 
second and the third parameter. However, while I successfully managed to 
replace it with almost any character, I have not been able to use # for 
this purpose. This is probably because # is a magic character for LaTeX 
that must not be used inside names.


I have the slight feeling that I am out of luck here :-(


I don't think so. The # is a special character in macros. If you replace it 
with ## it should produce a single #. See also 
http://www.tex.ac.uk/cgi-bin/texfaq2html?label=hash.


Thanks Georg!

However, even with numerous variants of #, ##,  and so on I am just not 
able to replace the . in line 2 by a single # symbol.


\def\@@hyperref#1#2#3{%
  [EMAIL PROTECTED]
  [EMAIL PROTECTED]@one\\{#1}%
}

I always get:

! Illegal parameter number in definition of \x.
to be read again

The only form I have so far found to be kind of working is:

\def\@@hyperref#1#2#3{%
  [EMAIL PROTECTED]
  [EMAIL PROTECTED]@one\\{#1}%
}

Well, 32 hash symbols... However, it generates *two* hash symbols in the 
output, labels look like Page##8 instead of Page#8. If I use only 16 
hash symbols in the definition, I get (again) an ! Illegal parameter 
number error :-/



Daniel


TeXperts: using hyperref to refer to label containing # in external document

2007-02-20 Thread Daniel Lohmann

Hi LyX-Folks,

I am writing a document that refers to specific pages or chapters of other 
 documents. In the resulting PDF, the reader should be able to navigate 
directly to the referred document and page. I am using the hyperref package 
to generate the links.


Problem is that I am not the author of the documents to refer to. I have 
just the PDFs. Moreover, they most probably have not been created with 
LaTeX, but with Word or worse.


I already figured out how Word (respective the Acrobat plugin) generates 
navigation labels for pages. For pages 1,2,3,... there are PDF labels 
Page#1, Page#2, Page#3, and so on available (without the quotes).


If I use the \hyperref command such as:

\hyperref{external.pdf}{Page}{2}

this generates a link to the correct document (external.pdf), however to 
the label Page.2, which does not exist -- it has to be Page#2.


So I tried to redefine the command that is used inside hyperref to generate 
the target label names. This looks like:


\def\@@hyperref#1#2#3{%
  [EMAIL PROTECTED]
  [EMAIL PROTECTED]@one\\{#1}%
}

OK, the second line is responsible for inserting the dot (.) between the 
second and the third parameter. However, while I successfully managed to 
replace it with almost any character, I have not been able to use # for 
this purpose. This is probably because # is a magic character for LaTeX 
that must not be used inside names.


I have the slight feeling that I am out of luck here :-(

Any ideas?

Thanks a lot!

Daniel


Re: TeXperts: using hyperref to refer to label containing # in external document

2007-02-20 Thread Georg Baum
Am Dienstag, 20. Februar 2007 16:44 schrieb Daniel Lohmann:

 OK, the second line is responsible for inserting the dot (.) between 
the 
 second and the third parameter. However, while I successfully managed to 
 replace it with almost any character, I have not been able to use # for 
 this purpose. This is probably because # is a magic character for LaTeX 
 that must not be used inside names.
 
 I have the slight feeling that I am out of luck here :-(

I don't think so. The # is a special character in macros. If you replace it 
with ## it should produce a single #. See also 
http://www.tex.ac.uk/cgi-bin/texfaq2html?label=hash.


Georg



Re: TeXperts: using hyperref to refer to label containing # in external document

2007-02-20 Thread Daniel Lohmann



Georg Baum schrieb:

Am Dienstag, 20. Februar 2007 16:44 schrieb Daniel Lohmann:

OK, the second line is responsible for inserting the dot (.) between 
the 
second and the third parameter. However, while I successfully managed to 
replace it with almost any character, I have not been able to use # for 
this purpose. This is probably because # is a magic character for LaTeX 
that must not be used inside names.


I have the slight feeling that I am out of luck here :-(


I don't think so. The # is a special character in macros. If you replace it 
with ## it should produce a single #. See also 
http://www.tex.ac.uk/cgi-bin/texfaq2html?label=hash.


Thanks Georg!

However, even with numerous variants of #, ##,  and so on I am just not 
able to replace the . in line 2 by a single # symbol.


\def\@@hyperref#1#2#3{%
  [EMAIL PROTECTED]
  [EMAIL PROTECTED]@one\\{#1}%
}

I always get:

! Illegal parameter number in definition of \x.
to be read again

The only form I have so far found to be kind of working is:

\def\@@hyperref#1#2#3{%
  [EMAIL PROTECTED]
  [EMAIL PROTECTED]@one\\{#1}%
}

Well, 32 hash symbols... However, it generates *two* hash symbols in the 
output, labels look like Page##8 instead of Page#8. If I use only 16 
hash symbols in the definition, I get (again) an ! Illegal parameter 
number error :-/



Daniel


TeXperts: using hyperref to refer to label containing # in external document

2007-02-20 Thread Daniel Lohmann

Hi LyX-Folks,

I am writing a document that refers to specific pages or chapters of other 
 documents. In the resulting PDF, the reader should be able to navigate 
directly to the referred document and page. I am using the hyperref package 
to generate the links.


Problem is that I am not the author of the documents to refer to. I have 
just the PDFs. Moreover, they most probably have not been created with 
LaTeX, but with Word or worse.


I already figured out how Word (respective the Acrobat plugin) generates 
navigation labels for pages. For pages 1,2,3,... there are PDF labels 
"Page#1", "Page#2", "Page#3", and so on available (without the quotes).


If I use the \hyperref command such as:

\hyperref{external.pdf}{Page}{2}

this generates a link to the correct document (external.pdf), however to 
the label "Page.2", which does not exist -- it has to be "Page#2".


So I tried to redefine the command that is used inside hyperref to generate 
the target label names. This looks like:


\def\@@hyperref#1#2#3{%
  [EMAIL PROTECTED]
  [EMAIL PROTECTED]@one\\{#1}%
}

OK, the second line is responsible for inserting the dot (".") between the 
second and the third parameter. However, while I successfully managed to 
replace it with almost any character, I have not been able to use "#" for 
this purpose. This is probably because "#" is a magic character for LaTeX 
that must not be used inside names.


I have the slight feeling that I am out of luck here :-(

Any ideas?

Thanks a lot!

Daniel


Re: TeXperts: using hyperref to refer to label containing # in external document

2007-02-20 Thread Georg Baum
Am Dienstag, 20. Februar 2007 16:44 schrieb Daniel Lohmann:

> OK, the second line is responsible for inserting the dot (".") between 
the 
> second and the third parameter. However, while I successfully managed to 
> replace it with almost any character, I have not been able to use "#" for 
> this purpose. This is probably because "#" is a magic character for LaTeX 
> that must not be used inside names.
> 
> I have the slight feeling that I am out of luck here :-(

I don't think so. The # is a special character in macros. If you replace it 
with ## it should produce a single #. See also 
http://www.tex.ac.uk/cgi-bin/texfaq2html?label=hash.


Georg



Re: TeXperts: using hyperref to refer to label containing # in external document

2007-02-20 Thread Daniel Lohmann



Georg Baum schrieb:

Am Dienstag, 20. Februar 2007 16:44 schrieb Daniel Lohmann:

OK, the second line is responsible for inserting the dot (".") between 
the 
second and the third parameter. However, while I successfully managed to 
replace it with almost any character, I have not been able to use "#" for 
this purpose. This is probably because "#" is a magic character for LaTeX 
that must not be used inside names.


I have the slight feeling that I am out of luck here :-(


I don't think so. The # is a special character in macros. If you replace it 
with ## it should produce a single #. See also 
http://www.tex.ac.uk/cgi-bin/texfaq2html?label=hash.


Thanks Georg!

However, even with numerous variants of #, ##,  and so on I am just not 
able to replace the "." in line 2 by a single "#" symbol.


\def\@@hyperref#1#2#3{%
  [EMAIL PROTECTED]
  [EMAIL PROTECTED]@one\\{#1}%
}

I always get:

! Illegal parameter number in definition of \x.


The only form I have so far found to be kind of working is:

\def\@@hyperref#1#2#3{%
  [EMAIL PROTECTED]
  [EMAIL PROTECTED]@one\\{#1}%
}

Well, 32 hash symbols... However, it generates *two* hash symbols in the 
output, labels look like "Page##8" instead of "Page#8". If I use only 16 
hash symbols in the definition, I get (again) an "! Illegal parameter 
number" error :-/



Daniel


Re: Hyperref in Yap, LyX 1.4.3-5,WindowsXP

2007-02-09 Thread Sandor Szabo

Uwe Stöhr wrote:

Sandor Szabo schrieb:


For internal links (e.g. in Table of Contents, in Index entries)
there are no links at all in Yap, I use Miktex2.5  .
However pdflatex does the right job.


For this you need to load the LaTeX-package hyperref in the document 
preamble. Perhaps this was lost by one of your modifications of the 
document.


regards Uwe


Sorry, but not at all.
I have a small math document(without any modification), and wrote the 
hyperref into the preamble.

Maybe it is a MikTex2.5 problem.
I write the problem to a Miktex forum.

Thanks,   Sandor



Re: Hyperref in Yap, LyX 1.4.3-5,WindowsXP

2007-02-09 Thread Sandor Szabo

Uwe Stöhr wrote:

Sandor Szabo schrieb:


For internal links (e.g. in Table of Contents, in Index entries)
there are no links at all in Yap, I use Miktex2.5  .
However pdflatex does the right job.


For this you need to load the LaTeX-package hyperref in the document 
preamble. Perhaps this was lost by one of your modifications of the 
document.


regards Uwe


Sorry, but not at all.
I have a small math document(without any modification), and wrote the 
hyperref into the preamble.

Maybe it is a MikTex2.5 problem.
I write the problem to a Miktex forum.

Thanks,   Sandor



Re: Hyperref in Yap, LyX 1.4.3-5,WindowsXP

2007-02-09 Thread Sandor Szabo

Uwe Stöhr wrote:

Sandor Szabo schrieb:


For internal links (e.g. in Table of Contents, in Index entries)
there are no links at all in Yap, I use Miktex2.5  .
However pdflatex does the right job.


For this you need to load the LaTeX-package hyperref in the document 
preamble. Perhaps this was lost by one of your modifications of the 
document.


regards Uwe


Sorry, but not at all.
I have a small math document(without any modification), and wrote the 
hyperref into the preamble.

Maybe it is a MikTex2.5 problem.
I write the problem to a Miktex forum.

Thanks,   Sandor



Problem with bibliography and hyperref

2006-12-19 Thread Rainer M Krug

Hi

I have a problem with the hyperref package and a bibtex bibliography 
(elsart-harv.bst) and urls (see attached screenshot). I already set 
breaklinks=true, but the URLs in the bibliography are still longer then 
one line. Any ideas? (below please find my preamble)


Any help appreciated,

Rainer

%% LyX 1.4.3 created this file.  For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[11pt,a4paper,twoside,british,PhD,afrikaans,english,backref=page,colorlinks=true]{usthesis}
\usepackage{times}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage{array}
\usepackage{amsmath}
\usepackage{graphicx}
\usepackage{setspace}
\doublespacing
\usepackage[authoryear]{natbib}

\makeatletter

%% LyX specific LaTeX commands.
\newcommand{\noun}[1]{\textsc{#1}}
%% Because html converters don't know tabularnewline
\providecommand{\tabularnewline}{\\}

%% Textclass specific LaTeX commands.
 \usepackage[afrikaans, UKenglish]{babel}
 \usepackage{color}
\definecolor{USmaroon}{rgb}{0.375,0.1328,0.2305}
\definecolor{USgray}{rgb}{0.5469,0.5895,0.6016}
 \usepackage{graphicx}
 \usepackage[backref=page,breaklinks=true,colorlinks=true]{hyperref}
 \usepackage{thumbpdf}
 \usepackage{textcomp}
 \usepackage{lmodern}
 \usepackage{microtype}
 \newcommand{\address}{\adress} % spelling mistake in USThesis
 \AtBeginDocument{\renewcommand\bibname{References}}

%% User specified LaTeX commands.
\usepackage{thumbpdf}
\usepackage{textcomp}
\usepackage{lmodern}
\usepackage{chapterbib}
--
Rainer M. Krug, Dipl. Phys. (Germany), MSc Conservation
Biology (UCT)

Department of Conservation Ecology and Entomology
University of Stellenbosch
Matieland 7602
South Africa

Tel:+27 - (0)72 808 2975 (w)
Fax:+27 - (0)86 516 2782
Fax:+27 - (0)21 808 3304 (w)
Cell:   +27 - (0)83 9479 042

email:  [EMAIL PROTECTED]
[EMAIL PROTECTED]



Re: Problem with bibliography and hyperref

2006-12-19 Thread Uwe Stöhr

Rainer M Krug schrieb:

I have a problem with the hyperref package and a bibtex bibliography 
(elsart-harv.bst) and urls (see attached screenshot). I already set 
breaklinks=true, but the URLs in the bibliography are still longer then 
one line. Any ideas? (below please find my preamble)


Are you using the command \url or \href for links? hyperref settings only have 
an effect on \href.

regards Uwe


Problem with bibliography and hyperref

2006-12-19 Thread Rainer M Krug

Hi

I have a problem with the hyperref package and a bibtex bibliography 
(elsart-harv.bst) and urls (see attached screenshot). I already set 
breaklinks=true, but the URLs in the bibliography are still longer then 
one line. Any ideas? (below please find my preamble)


Any help appreciated,

Rainer

%% LyX 1.4.3 created this file.  For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[11pt,a4paper,twoside,british,PhD,afrikaans,english,backref=page,colorlinks=true]{usthesis}
\usepackage{times}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage{array}
\usepackage{amsmath}
\usepackage{graphicx}
\usepackage{setspace}
\doublespacing
\usepackage[authoryear]{natbib}

\makeatletter

%% LyX specific LaTeX commands.
\newcommand{\noun}[1]{\textsc{#1}}
%% Because html converters don't know tabularnewline
\providecommand{\tabularnewline}{\\}

%% Textclass specific LaTeX commands.
 \usepackage[afrikaans, UKenglish]{babel}
 \usepackage{color}
\definecolor{USmaroon}{rgb}{0.375,0.1328,0.2305}
\definecolor{USgray}{rgb}{0.5469,0.5895,0.6016}
 \usepackage{graphicx}
 \usepackage[backref=page,breaklinks=true,colorlinks=true]{hyperref}
 \usepackage{thumbpdf}
 \usepackage{textcomp}
 \usepackage{lmodern}
 \usepackage{microtype}
 \newcommand{\address}{\adress} % spelling mistake in USThesis
 \AtBeginDocument{\renewcommand\bibname{References}}

%% User specified LaTeX commands.
\usepackage{thumbpdf}
\usepackage{textcomp}
\usepackage{lmodern}
\usepackage{chapterbib}
--
Rainer M. Krug, Dipl. Phys. (Germany), MSc Conservation
Biology (UCT)

Department of Conservation Ecology and Entomology
University of Stellenbosch
Matieland 7602
South Africa

Tel:+27 - (0)72 808 2975 (w)
Fax:+27 - (0)86 516 2782
Fax:+27 - (0)21 808 3304 (w)
Cell:   +27 - (0)83 9479 042

email:  [EMAIL PROTECTED]
[EMAIL PROTECTED]



Re: Problem with bibliography and hyperref

2006-12-19 Thread Uwe Stöhr

Rainer M Krug schrieb:

I have a problem with the hyperref package and a bibtex bibliography 
(elsart-harv.bst) and urls (see attached screenshot). I already set 
breaklinks=true, but the URLs in the bibliography are still longer then 
one line. Any ideas? (below please find my preamble)


Are you using the command \url or \href for links? hyperref settings only have 
an effect on \href.

regards Uwe


Problem with bibliography and hyperref

2006-12-19 Thread Rainer M Krug

Hi

I have a problem with the hyperref package and a bibtex bibliography 
(elsart-harv.bst) and urls (see attached screenshot). I already set 
breaklinks=true, but the URLs in the bibliography are still longer then 
one line. Any ideas? (below please find my preamble)


Any help appreciated,

Rainer

%% LyX 1.4.3 created this file.  For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[11pt,a4paper,twoside,british,PhD,afrikaans,english,backref=page,colorlinks=true]{usthesis}
\usepackage{times}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage{array}
\usepackage{amsmath}
\usepackage{graphicx}
\usepackage{setspace}
\doublespacing
\usepackage[authoryear]{natbib}

\makeatletter

%% LyX specific LaTeX commands.
\newcommand{\noun}[1]{\textsc{#1}}
%% Because html converters don't know tabularnewline
\providecommand{\tabularnewline}{\\}

%% Textclass specific LaTeX commands.
 \usepackage[afrikaans, UKenglish]{babel}
 \usepackage{color}
\definecolor{USmaroon}{rgb}{0.375,0.1328,0.2305}
\definecolor{USgray}{rgb}{0.5469,0.5895,0.6016}
 \usepackage{graphicx}
 \usepackage[backref=page,breaklinks=true,colorlinks=true]{hyperref}
 \usepackage{thumbpdf}
 \usepackage{textcomp}
 \usepackage{lmodern}
 \usepackage{microtype}
 \newcommand{\address}{\adress} % spelling mistake in USThesis
 \AtBeginDocument{\renewcommand\bibname{References}}

%% User specified LaTeX commands.
\usepackage{thumbpdf}
\usepackage{textcomp}
\usepackage{lmodern}
\usepackage{chapterbib}
--
Rainer M. Krug, Dipl. Phys. (Germany), MSc Conservation
Biology (UCT)

Department of Conservation Ecology and Entomology
University of Stellenbosch
Matieland 7602
South Africa

Tel:+27 - (0)72 808 2975 (w)
Fax:+27 - (0)86 516 2782
Fax:+27 - (0)21 808 3304 (w)
Cell:   +27 - (0)83 9479 042

email:  [EMAIL PROTECTED]
[EMAIL PROTECTED]



Re: Problem with bibliography and hyperref

2006-12-19 Thread Uwe Stöhr

Rainer M Krug schrieb:

I have a problem with the hyperref package and a bibtex bibliography 
(elsart-harv.bst) and urls (see attached screenshot). I already set 
breaklinks=true, but the URLs in the bibliography are still longer then 
one line. Any ideas? (below please find my preamble)


Are you using the command \url or \href for links? hyperref settings only have 
an effect on \href.

regards Uwe


Re: formating of hyperref links

2006-12-06 Thread Daniel Lohmann
Rainer M Krug schrieb:
 I have a second question concerning the hyperref package:
 
 I have in the pdflatex output boxes around the hyperlinks, which does
 not look nice at all (see attached screenshot) and I don't seem to be
 able to make sense out of the hyperref manual.
 
 Can anyone point out which options I have to set to get the urls in
 different test colours and e.g. in font type enhanced?
 

Here is an example of my hyperref options (set in the preamble of the
document). Note the citecolor, linkcolor, etc options.

BTW: hyperref comes with excellent documentation :-]

Daniel

\usepackage{color}
\definecolor{darkgrey}{rgb}{.8, 8, 8}
\usepackage[pdftex]{hyperref}
\hypersetup
{
backref = true,
pagebackref  = true,
colorlinks = true,
linkcolor = darkgrey,
anchorcolor = darkgrey,
citecolor = darkgrey,
filecolor = darkgrey,
urlcolor = darkgrey,
pagecolor= darkgrey,
pdftitle = {A Quantitive Analysis of Aspects in the eCos Kernel},
pdfsubject = {D.4.7 [Operating Systems]: Organization and
Design?Realtime systems and embedded systems; D.3.3 [Programming
Languages]: Language Constructs and Features},
pdfauthor = {Daniel Lohmann, Fabian Scheler, Reinhard Tartler, Olaf
Spinczyk, Wolfgang Schröder-Preikschat},
pdfkeywords = {AOP, Aspect-opriented Programming, AspectC++, Footprint,
eCos},
pdfcreator = LyX :-)
}



Re: formating of hyperref links

2006-12-06 Thread Rainer M Krug

Daniel Lohmann wrote:

Rainer M Krug schrieb:

I have a second question concerning the hyperref package:

I have in the pdflatex output boxes around the hyperlinks, which does
not look nice at all (see attached screenshot) and I don't seem to be
able to make sense out of the hyperref manual.

Can anyone point out which options I have to set to get the urls in
different test colours and e.g. in font type enhanced?



Here is an example of my hyperref options (set in the preamble of the
document). Note the citecolor, linkcolor, etc options.


Thanks a million - it looks much nicer now.



BTW: hyperref comes with excellent documentation :-]


I believe so - I probably have to spend some time reading it in detail 
again.


Rainer



Daniel

\usepackage{color}
\definecolor{darkgrey}{rgb}{.8, 8, 8}
\usepackage[pdftex]{hyperref}
\hypersetup
{
backref = true,
pagebackref  = true,
colorlinks = true,
linkcolor = darkgrey,
anchorcolor = darkgrey,
citecolor = darkgrey,
filecolor = darkgrey,
urlcolor = darkgrey,
pagecolor= darkgrey,
pdftitle = {A Quantitive Analysis of Aspects in the eCos Kernel},
pdfsubject = {D.4.7 [Operating Systems]: Organization and
Design?Realtime systems and embedded systems; D.3.3 [Programming
Languages]: Language Constructs and Features},
pdfauthor = {Daniel Lohmann, Fabian Scheler, Reinhard Tartler, Olaf
Spinczyk, Wolfgang Schröder-Preikschat},
pdfkeywords = {AOP, Aspect-opriented Programming, AspectC++, Footprint,
eCos},
pdfcreator = LyX :-)
}




--
Rainer M. Krug, Dipl. Phys. (Germany), MSc Conservation
Biology (UCT)

Department of Conservation Ecology and Entomology
University of Stellenbosch
Matieland 7602
South Africa

Tel:+27 - (0)72 808 2975 (w)
Fax:+27 - (0)86 516 2782
Fax:+27 - (0)21 808 3304 (w)
Cell:   +27 - (0)83 9479 042

email:  [EMAIL PROTECTED]
[EMAIL PROTECTED]


Re: formating of hyperref links

2006-12-06 Thread Daniel Lohmann
Rainer M Krug schrieb:
 I have a second question concerning the hyperref package:
 
 I have in the pdflatex output boxes around the hyperlinks, which does
 not look nice at all (see attached screenshot) and I don't seem to be
 able to make sense out of the hyperref manual.
 
 Can anyone point out which options I have to set to get the urls in
 different test colours and e.g. in font type enhanced?
 

Here is an example of my hyperref options (set in the preamble of the
document). Note the citecolor, linkcolor, etc options.

BTW: hyperref comes with excellent documentation :-]

Daniel

\usepackage{color}
\definecolor{darkgrey}{rgb}{.8, 8, 8}
\usepackage[pdftex]{hyperref}
\hypersetup
{
backref = true,
pagebackref  = true,
colorlinks = true,
linkcolor = darkgrey,
anchorcolor = darkgrey,
citecolor = darkgrey,
filecolor = darkgrey,
urlcolor = darkgrey,
pagecolor= darkgrey,
pdftitle = {A Quantitive Analysis of Aspects in the eCos Kernel},
pdfsubject = {D.4.7 [Operating Systems]: Organization and
Design?Realtime systems and embedded systems; D.3.3 [Programming
Languages]: Language Constructs and Features},
pdfauthor = {Daniel Lohmann, Fabian Scheler, Reinhard Tartler, Olaf
Spinczyk, Wolfgang Schröder-Preikschat},
pdfkeywords = {AOP, Aspect-opriented Programming, AspectC++, Footprint,
eCos},
pdfcreator = LyX :-)
}



Re: formating of hyperref links

2006-12-06 Thread Rainer M Krug

Daniel Lohmann wrote:

Rainer M Krug schrieb:

I have a second question concerning the hyperref package:

I have in the pdflatex output boxes around the hyperlinks, which does
not look nice at all (see attached screenshot) and I don't seem to be
able to make sense out of the hyperref manual.

Can anyone point out which options I have to set to get the urls in
different test colours and e.g. in font type enhanced?



Here is an example of my hyperref options (set in the preamble of the
document). Note the citecolor, linkcolor, etc options.


Thanks a million - it looks much nicer now.



BTW: hyperref comes with excellent documentation :-]


I believe so - I probably have to spend some time reading it in detail 
again.


Rainer



Daniel

\usepackage{color}
\definecolor{darkgrey}{rgb}{.8, 8, 8}
\usepackage[pdftex]{hyperref}
\hypersetup
{
backref = true,
pagebackref  = true,
colorlinks = true,
linkcolor = darkgrey,
anchorcolor = darkgrey,
citecolor = darkgrey,
filecolor = darkgrey,
urlcolor = darkgrey,
pagecolor= darkgrey,
pdftitle = {A Quantitive Analysis of Aspects in the eCos Kernel},
pdfsubject = {D.4.7 [Operating Systems]: Organization and
Design?Realtime systems and embedded systems; D.3.3 [Programming
Languages]: Language Constructs and Features},
pdfauthor = {Daniel Lohmann, Fabian Scheler, Reinhard Tartler, Olaf
Spinczyk, Wolfgang Schröder-Preikschat},
pdfkeywords = {AOP, Aspect-opriented Programming, AspectC++, Footprint,
eCos},
pdfcreator = LyX :-)
}




--
Rainer M. Krug, Dipl. Phys. (Germany), MSc Conservation
Biology (UCT)

Department of Conservation Ecology and Entomology
University of Stellenbosch
Matieland 7602
South Africa

Tel:+27 - (0)72 808 2975 (w)
Fax:+27 - (0)86 516 2782
Fax:+27 - (0)21 808 3304 (w)
Cell:   +27 - (0)83 9479 042

email:  [EMAIL PROTECTED]
[EMAIL PROTECTED]


Re: formating of hyperref links

2006-12-06 Thread Daniel Lohmann
Rainer M Krug schrieb:
> I have a second question concerning the hyperref package:
> 
> I have in the pdflatex output boxes around the hyperlinks, which does
> not look nice at all (see attached screenshot) and I don't seem to be
> able to make sense out of the hyperref manual.
> 
> Can anyone point out which options I have to set to get the urls in
> different test colours and e.g. in font type enhanced?
> 

Here is an example of my hyperref options (set in the preamble of the
document). Note the citecolor, linkcolor, etc options.

BTW: hyperref comes with excellent documentation :-]

Daniel

\usepackage{color}
\definecolor{darkgrey}{rgb}{.8, 8, 8}
\usepackage[pdftex]{hyperref}
\hypersetup
{
backref = true,
pagebackref  = true,
colorlinks = true,
linkcolor = darkgrey,
anchorcolor = darkgrey,
citecolor = darkgrey,
filecolor = darkgrey,
urlcolor = darkgrey,
pagecolor= darkgrey,
pdftitle = {A Quantitive Analysis of Aspects in the eCos Kernel},
pdfsubject = {D.4.7 [Operating Systems]: Organization and
Design?Realtime systems and embedded systems; D.3.3 [Programming
Languages]: Language Constructs and Features},
pdfauthor = {Daniel Lohmann, Fabian Scheler, Reinhard Tartler, Olaf
Spinczyk, Wolfgang Schröder-Preikschat},
pdfkeywords = {AOP, Aspect-opriented Programming, AspectC++, Footprint,
eCos},
pdfcreator = LyX :-)
}



Re: formating of hyperref links

2006-12-06 Thread Rainer M Krug

Daniel Lohmann wrote:

Rainer M Krug schrieb:

I have a second question concerning the hyperref package:

I have in the pdflatex output boxes around the hyperlinks, which does
not look nice at all (see attached screenshot) and I don't seem to be
able to make sense out of the hyperref manual.

Can anyone point out which options I have to set to get the urls in
different test colours and e.g. in font type enhanced?



Here is an example of my hyperref options (set in the preamble of the
document). Note the citecolor, linkcolor, etc options.


Thanks a million - it looks much nicer now.



BTW: hyperref comes with excellent documentation :-]


I believe so - I probably have to spend some time reading it in detail 
again.


Rainer



Daniel

\usepackage{color}
\definecolor{darkgrey}{rgb}{.8, 8, 8}
\usepackage[pdftex]{hyperref}
\hypersetup
{
backref = true,
pagebackref  = true,
colorlinks = true,
linkcolor = darkgrey,
anchorcolor = darkgrey,
citecolor = darkgrey,
filecolor = darkgrey,
urlcolor = darkgrey,
pagecolor= darkgrey,
pdftitle = {A Quantitive Analysis of Aspects in the eCos Kernel},
pdfsubject = {D.4.7 [Operating Systems]: Organization and
Design?Realtime systems and embedded systems; D.3.3 [Programming
Languages]: Language Constructs and Features},
pdfauthor = {Daniel Lohmann, Fabian Scheler, Reinhard Tartler, Olaf
Spinczyk, Wolfgang Schröder-Preikschat},
pdfkeywords = {AOP, Aspect-opriented Programming, AspectC++, Footprint,
eCos},
pdfcreator = LyX :-)
}




--
Rainer M. Krug, Dipl. Phys. (Germany), MSc Conservation
Biology (UCT)

Department of Conservation Ecology and Entomology
University of Stellenbosch
Matieland 7602
South Africa

Tel:+27 - (0)72 808 2975 (w)
Fax:+27 - (0)86 516 2782
Fax:+27 - (0)21 808 3304 (w)
Cell:   +27 - (0)83 9479 042

email:  [EMAIL PROTECTED]
[EMAIL PROTECTED]


formating of hyperref links

2006-12-05 Thread Rainer M Krug

I have a second question concerning the hyperref package:

I have in the pdflatex output boxes around the hyperlinks, which does 
not look nice at all (see attached screenshot) and I don't seem to be 
able to make sense out of the hyperref manual.


Can anyone point out which options I have to set to get the urls in 
different test colours and e.g. in font type enhanced?


Thanks a lot,

Rainer


--
Rainer M. Krug, Dipl. Phys. (Germany), MSc Conservation
Biology (UCT)

Department of Conservation Ecology and Entomology
University of Stellenbosch
Matieland 7602
South Africa

Tel:+27 - (0)72 808 2975 (w)
Fax:+27 - (0)86 516 2782
Fax:+27 - (0)21 808 3304 (w)
Cell:   +27 - (0)83 9479 042

email:  [EMAIL PROTECTED]
[EMAIL PROTECTED]



formating of hyperref links

2006-12-05 Thread Rainer M Krug

I have a second question concerning the hyperref package:

I have in the pdflatex output boxes around the hyperlinks, which does 
not look nice at all (see attached screenshot) and I don't seem to be 
able to make sense out of the hyperref manual.


Can anyone point out which options I have to set to get the urls in 
different test colours and e.g. in font type enhanced?


Thanks a lot,

Rainer


--
Rainer M. Krug, Dipl. Phys. (Germany), MSc Conservation
Biology (UCT)

Department of Conservation Ecology and Entomology
University of Stellenbosch
Matieland 7602
South Africa

Tel:+27 - (0)72 808 2975 (w)
Fax:+27 - (0)86 516 2782
Fax:+27 - (0)21 808 3304 (w)
Cell:   +27 - (0)83 9479 042

email:  [EMAIL PROTECTED]
[EMAIL PROTECTED]



formating of hyperref links

2006-12-05 Thread Rainer M Krug

I have a second question concerning the hyperref package:

I have in the pdflatex output boxes around the hyperlinks, which does 
not look nice at all (see attached screenshot) and I don't seem to be 
able to make sense out of the hyperref manual.


Can anyone point out which options I have to set to get the urls in 
different test colours and e.g. in font type enhanced?


Thanks a lot,

Rainer


--
Rainer M. Krug, Dipl. Phys. (Germany), MSc Conservation
Biology (UCT)

Department of Conservation Ecology and Entomology
University of Stellenbosch
Matieland 7602
South Africa

Tel:+27 - (0)72 808 2975 (w)
Fax:+27 - (0)86 516 2782
Fax:+27 - (0)21 808 3304 (w)
Cell:   +27 - (0)83 9479 042

email:  [EMAIL PROTECTED]
[EMAIL PROTECTED]



Re: memoir with hyperref

2006-11-15 Thread Paul A. Rubin

Bob Lounsbury wrote:



Could you tell me how to set that option and I'll give it a try? I don't 
have the hyperref documentation at hand and it would take me much longer 
to download it and figure out how to set the breaklinks=true option than 
if you know how to do it.


Not if you take into account the infrequency with which I check mail -- 
unless you have a *really* slow connection.  :-)


Try adding \hypersetup{breaklinks=true} to the preamble.  (My memory is 
a bit fuzzy, but I think that's the route.)


/Paul



Re: memoir with hyperref

2006-11-15 Thread Bob Lounsbury


On Nov 15, 2006, at 12:39 AM, Wolfgang Engelmann wrote:


Am Dienstag, 14. November 2006 17:54 schrieb Bob Lounsbury:

On Nov 14, 2006, at 12:19 AM, Wolfgang Engelmann wrote:

Am Dienstag, 14. November 2006 00:23 schrieb Bob Lounsbury:

Hello,

I'm using the memoir class for my thesis under 1.4.3 and I  
thought it

might be nice to use the hyperref package to create a few links. I
know there are some known issues with memoir and hyperref, but
generally these are discussed in the memoir documentation by Peter
Wilson.

However, when I add the hyperref package, any caption longer  
than one

line extends beyond the page as you can see in the attached pdf. I
don't see any warnings in Peter's documentation.

Does anyone have a suggestion? If not I just won't use the hyperref
package, but it is kind of nice.


if you use `short title´ with a shorter figure legend, would that
help?

Wolfgang


Bob Lounsbury


Yes, I think if I could get a shortened caption in the lof then there
would not be a hyperref problem. However, I'm not sure how to do this
either.


go behind Figure#: [mark] in your float and enter short title  
from Insert
(note that it is greyed out if you are either not in the float  
environment or
if their is already a short title). Enter your short title in the  
red framed

box which turns up. (Lyx 1.4.2)
Wolfgang


This is definitely one solution. It works! Thank you!

Re: memoir with hyperref

2006-11-15 Thread Bob Lounsbury


On Nov 15, 2006, at 10:10 AM, Paul A. Rubin wrote:


Bob Lounsbury wrote:

Could you tell me how to set that option and I'll give it a try? I  
don't have the hyperref documentation at hand and it would take me  
much longer to download it and figure out how to set the  
breaklinks=true option than if you know how to do it.


Not if you take into account the infrequency with which I check  
mail -- unless you have a *really* slow connection.  :-)


Try adding \hypersetup{breaklinks=true} to the preamble.  (My  
memory is a bit fuzzy, but I think that's the route.)


/Paul



Ok, ok (twist my arm) I'll go look at the hyperref documentation. I  
tried your suggestion and it works ... except that it breaks the link  
to the figure which kind of defeats the purpose of using hyperref.  
I'll check the documentation. Thanks for the suggestion.


Also, oddly enough there isn't a problem with hyperref and memoir  
under LyX 1.3.7. Maybe this is a 1.4.3 bug.


Bob


Re: memoir with hyperref

2006-11-15 Thread Paul A. Rubin

Bob Lounsbury wrote:

Try adding \hypersetup{breaklinks=true} to the preamble.  (My memory 
is a bit fuzzy, but I think that's the route.)






Ok, ok (twist my arm) I'll go look at the hyperref documentation. I 
tried your suggestion and it works ... except that it breaks the link to 
the figure which kind of defeats the purpose of using hyperref. I'll 
check the documentation. Thanks for the suggestion.


By breaks the link to the figure do you mean splits the link across 
two lines, keeping it a link (which is what it's supposed to do) or 
renders the link dysfunctional?  My understanding is that it should 
cause overly long links to be broken across multiple lines, with each 
fragment of text separately hyperlinked to the same destination.  The 
manual says a couple of things that I find less than translucent:


Allows link text to break across lines; since this cannot be 
accommodated in PDF, it is only set true by default if the pdftex driver 
is used. This makes links on multiple lines into different PDF links to 
the same target.


and

The correct value is automatically set according to the driver
features. It can be overwritten for drivers that do not support broken 
links. However, at any case, the link area will be wrong and displaced.


The url.sty package has some options to let you control how/where long 
links are broken, but AFAIK hyperref has only the boolean breaklinks option.


Also, oddly enough there isn't a problem with hyperref and memoir under 
LyX 1.3.7. Maybe this is a 1.4.3 bug.


If LyX 1.3.7 generates the right output for your current document 
(using, presumably, your current LaTeX package), then it might be worth 
exporting the document from both 1.3.7 and 1.4.3 to LaTeX (or doing 
View-LaTeX if you've set that up) and comparing both the preambles and 
the actual link.  Hopefully that would pin down what changed.


/Paul



Re: memoir with hyperref

2006-11-15 Thread Paul A. Rubin

Bob Lounsbury wrote:



Could you tell me how to set that option and I'll give it a try? I don't 
have the hyperref documentation at hand and it would take me much longer 
to download it and figure out how to set the breaklinks=true option than 
if you know how to do it.


Not if you take into account the infrequency with which I check mail -- 
unless you have a *really* slow connection.  :-)


Try adding \hypersetup{breaklinks=true} to the preamble.  (My memory is 
a bit fuzzy, but I think that's the route.)


/Paul



Re: memoir with hyperref

2006-11-15 Thread Bob Lounsbury


On Nov 15, 2006, at 12:39 AM, Wolfgang Engelmann wrote:


Am Dienstag, 14. November 2006 17:54 schrieb Bob Lounsbury:

On Nov 14, 2006, at 12:19 AM, Wolfgang Engelmann wrote:

Am Dienstag, 14. November 2006 00:23 schrieb Bob Lounsbury:

Hello,

I'm using the memoir class for my thesis under 1.4.3 and I  
thought it

might be nice to use the hyperref package to create a few links. I
know there are some known issues with memoir and hyperref, but
generally these are discussed in the memoir documentation by Peter
Wilson.

However, when I add the hyperref package, any caption longer  
than one

line extends beyond the page as you can see in the attached pdf. I
don't see any warnings in Peter's documentation.

Does anyone have a suggestion? If not I just won't use the hyperref
package, but it is kind of nice.


if you use `short title´ with a shorter figure legend, would that
help?

Wolfgang


Bob Lounsbury


Yes, I think if I could get a shortened caption in the lof then there
would not be a hyperref problem. However, I'm not sure how to do this
either.


go behind Figure#: [mark] in your float and enter short title  
from Insert
(note that it is greyed out if you are either not in the float  
environment or
if their is already a short title). Enter your short title in the  
red framed

box which turns up. (Lyx 1.4.2)
Wolfgang


This is definitely one solution. It works! Thank you!

Re: memoir with hyperref

2006-11-15 Thread Bob Lounsbury


On Nov 15, 2006, at 10:10 AM, Paul A. Rubin wrote:


Bob Lounsbury wrote:

Could you tell me how to set that option and I'll give it a try? I  
don't have the hyperref documentation at hand and it would take me  
much longer to download it and figure out how to set the  
breaklinks=true option than if you know how to do it.


Not if you take into account the infrequency with which I check  
mail -- unless you have a *really* slow connection.  :-)


Try adding \hypersetup{breaklinks=true} to the preamble.  (My  
memory is a bit fuzzy, but I think that's the route.)


/Paul



Ok, ok (twist my arm) I'll go look at the hyperref documentation. I  
tried your suggestion and it works ... except that it breaks the link  
to the figure which kind of defeats the purpose of using hyperref.  
I'll check the documentation. Thanks for the suggestion.


Also, oddly enough there isn't a problem with hyperref and memoir  
under LyX 1.3.7. Maybe this is a 1.4.3 bug.


Bob


<    1   2   3   4   5   6   7   8   >