Re: \usepackage{hyperref}

2006-10-20 Thread Paul A. Rubin

Wolfgang Engelmann wrote:

Am Donnerstag, 19. Oktober 2006 18:06 schrieb Paul A. Rubin:

I include a small lyx file which shows the problem discribed before:

The reason is, that long section /subsection titles are not broken anymore if 
\usepackage{hyperref}
is active. Same, if  \usepackage{hyperref} is in the first line of the 
preamble. 


This is probably not a lyx problem. But what can I do?



Sorry, I can't find an attachment.

/Paul




Re: \usepackage{hyperref}

2006-10-20 Thread Wolfgang Engelmann
Am Donnerstag, 19. Oktober 2006 18:06 schrieb Paul A. Rubin:

I include a small lyx file which shows the problem discribed before:

The reason is, that long section /subsection titles are not broken anymore if 
\usepackage{hyperref}
is active. Same, if  \usepackage{hyperref} is in the first line of the 
preamble. 

This is probably not a lyx problem. But what can I do?

Wolfgang


Re: \usepackage{hyperref}

2006-10-20 Thread Wolfgang Engelmann
Am Donnerstag, 19. Oktober 2006 15:11 schrieb Vaclav Smidl:
> On Wednesday 18 October 2006 4:53 pm, Wolfgang Engelmann wrote:
> > If I use
> > \usepackage{hyperref}
> > in the preamble I get errors:
> >
> > Paragraph ended before [EMAIL PROTECTED] was complete.
> > I suspect you've forgotten a `}', causing me to apply this
> > control sequence to too much text. How can we recover?
> > My plan is to forget the whole thing and hope for the best.
> >
> > What might be wrong?
>
> Do you use any ERT in the main document 
no
> or any special commands in the 
> preamble?
that is my preamble:

\usepackage[round,comma]{natbib}
%\usepackage{kluwer}
\renewcommand{\cite}{\citealt}
\date{}
%\addcontentsline{toc}{*section}{BIBLIOGRAPHY}
%\def\refname{newname}
\AtBeginDocument{\renewcommand{\refname}{REFERENCES}}
%\usepackage{harvard}
%\nocite{*}
\usepackage{geometry}
%\usepackage{hyperref}

>
> If yes, please check if there is not any forgotten '}', otherwise, post a
> minimal example of this behaviour to the list.
>
> Vasek

Thanks, Vasek

Wolfgang


Re: \usepackage{hyperref}

2006-10-20 Thread Wolfgang Engelmann
Am Donnerstag, 19. Oktober 2006 18:06 schrieb Paul A. Rubin:
> Wolfgang Engelmann wrote:
> > If I use
> > \usepackage{hyperref}
> > in the preamble I get errors:
> >
> > Paragraph ended before [EMAIL PROTECTED] was complete.
> > I suspect you've forgotten a `}', causing me to apply this
> > control sequence to too much text. How can we recover?
> > My plan is to forget the whole thing and hope for the best.
> >
> > What might be wrong?
> >
> > Wolfgang
>
> Possibly a conflict between hyperref and another package?  Quoting JMarc
> in another thread, "there can be many cases of incompatibility between
> hyperref and other packages, where everything breaks down when someone
> uses the packages in the wrong order."  Can you post an minimal example
> that breaks?
>
> /Paul

Strange:

I have copied a part of my document and tried the \usepackage{hyperref}
in the preamble and it worked alright. Afterward I used the whole copied 
document. \usepackage{hyperref} worked now too, 
however the table of contents 
in the dvi output prints over the right column (note that I use twocolumn 
pages). Same with the pdf output file. 

 A diff a.lyx copied-a.lyx shows no difference!

 ??
I am confused.
Wolfgang


Re: \usepackage{hyperref}

2006-10-20 Thread Wolfgang Engelmann
Am Donnerstag, 19. Oktober 2006 18:06 schrieb Paul A. Rubin:
> Wolfgang Engelmann wrote:
> > If I use
> > \usepackage{hyperref}
> > in the preamble I get errors:
> >
> > Paragraph ended before [EMAIL PROTECTED] was complete.
> > I suspect you've forgotten a `}', causing me to apply this
> > control sequence to too much text. How can we recover?
> > My plan is to forget the whole thing and hope for the best.
> >
> > What might be wrong?
> >
> > Wolfgang
>
> Possibly a conflict between hyperref and another package?  Quoting JMarc
> in another thread, "there can be many cases of incompatibility between
> hyperref and other packages, where everything breaks down when someone
> uses the packages in the wrong order."  Can you post an minimal example
> that breaks?
>
> /Paul

Paul,
I tried in my original document to change the order of the 
 \usepackage{hyperref}
by putting it in the first line of my preamble. Same error.

Than I made a minimal example and do not get the error.
Now I have to find the cause of my problem. What is the best way?
Split the document in two parts and check each and so on?

Wolfgang


Re: \usepackage{hyperref}

2006-10-19 Thread Paul A. Rubin

Wolfgang Engelmann wrote:

If I use
\usepackage{hyperref}
in the preamble I get errors:

Paragraph ended before [EMAIL PROTECTED] was complete.  
I suspect you've forgotten a `}', causing me to apply this

control sequence to too much text. How can we recover?
My plan is to forget the whole thing and hope for the best.

What might be wrong?

Wolfgang



Possibly a conflict between hyperref and another package?  Quoting JMarc 
in another thread, "there can be many cases of incompatibility between 
hyperref and other packages, where everything breaks down when someone 
uses the packages in the wrong order."  Can you post an minimal example 
that breaks?


/Paul




Re: \usepackage{hyperref}

2006-10-19 Thread Vaclav Smidl
On Wednesday 18 October 2006 4:53 pm, Wolfgang Engelmann wrote:
> If I use
> \usepackage{hyperref}
> in the preamble I get errors:
>
> Paragraph ended before [EMAIL PROTECTED] was complete.
> I suspect you've forgotten a `}', causing me to apply this
> control sequence to too much text. How can we recover?
> My plan is to forget the whole thing and hope for the best.
>
> What might be wrong?

Do you use any ERT in the main document or any special commands in the 
preamble?

If yes, please check if there is not any forgotten '}', otherwise, post a 
minimal example of this behaviour to the list.

Vasek


\usepackage{hyperref}

2006-10-18 Thread Wolfgang Engelmann
If I use
\usepackage{hyperref}
in the preamble I get errors:

Paragraph ended before [EMAIL PROTECTED] was complete.  
I suspect you've forgotten a `}', causing me to apply this
control sequence to too much text. How can we recover?
My plan is to forget the whole thing and hope for the best.

What might be wrong?

Wolfgang