Re: \frontmatter and \mainmatter does not work with pdflatex.

2005-01-06 Thread Juergen Spitzmueller
R S Ananda Murthy wrote:
 Dear Jurgen,

 Thanks for help. The problem is because of hyperref. If I disable  
 hyperref it works. But how to make it work with hyperref because I want  
 to have hyperlinks if possible.

What version of hyperref do you have? Perhaps an update helps.

Jürgen

 Thanks again,

 Regards,

 Anand


Re: \frontmatter and \mainmatter does not work with pdflatex.

2005-01-06 Thread Juergen Spitzmueller
R S Ananda Murthy wrote:
 Dear Jurgen,

 Thanks for help. The problem is because of hyperref. If I disable  
 hyperref it works. But how to make it work with hyperref because I want  
 to have hyperlinks if possible.

What version of hyperref do you have? Perhaps an update helps.

Jürgen

 Thanks again,

 Regards,

 Anand


Re: \frontmatter and \mainmatter does not work with pdflatex.

2005-01-06 Thread Juergen Spitzmueller
R S Ananda Murthy wrote:
> Dear Jurgen,
>
> Thanks for help. The problem is because of hyperref. If I disable  
> hyperref it works. But how to make it work with hyperref because I want  
> to have hyperlinks if possible.

What version of hyperref do you have? Perhaps an update helps.

Jürgen

> Thanks again,
>
> Regards,
>
> Anand


\frontmatter and \mainmatter does not work with pdflatex.

2005-01-05 Thread R S Ananda Murthy
Hello,
I am typesetting a book using Koma-Script Class in LyX. In this if I  
use \frontmatter and \mainmatter macros and then run pdflatex, then, I  
get error messages. But if I run ps2pdf it works.

In order to make it work with pdflatex I included
\renewcommand\pagemark{\arabic{page}}
in an ERT just before the starting of front matter and
\renewcommand\pagemark{\arabic{page}}
in ERT just before the starting of main matter. Then pdflatex does not  
cause any error messages. But I want the page number to be set to 1 at  
the beginning of main matter. To get this I modified the above  
mentioned command just before the starting of main matter to

\setcounter{page}{0}\renewcommand\pagemark{\arabic{page}}
But now pdflatex causes error messages where as ps2pdf does not. Can  
anybody help me in solving this problem. Preferably I want to use  
pdflatex to get pdf output.

Thanks for your help,
Anand


Re: \frontmatter and \mainmatter does not work with pdflatex.

2005-01-05 Thread Juergen Spitzmueller
R S Ananda Murthy wrote:
 I am typesetting a book using Koma-Script Class in LyX. In this if I  
 use \frontmatter and \mainmatter macros and then run pdflatex, then, I  
 get error messages. But if I run ps2pdf it works.

Can you send a small example file showing the error? (I suspect hyperref is 
involved).

Jürgen


Re: \frontmatter and \mainmatter does not work with pdflatex.

2005-01-05 Thread Herbert Voss
R S Ananda Murthy wrote:
I am typesetting a book using Koma-Script Class in LyX. In this if I  
use \frontmatter and \mainmatter macros and then run pdflatex, then, I  
get error messages. But if I run ps2pdf it works.

In order to make it work with pdflatex I included
\renewcommand\pagemark{\arabic{page}}
\renewcommand\thepage{\arabic{page}}
but \frontmatter / ... should work with hyperref.
Give an example file where it doesn't work.
Herbert
--
http://TeXnik.de/
http://PSTricks.de/
ftp://ftp.dante.de/tex-archive/info/math/voss/Voss-Mathmode.pdf
http://www.dante.de/faq/de-tex-faq/
http://www.tex.ac.uk/cgi-bin/texfaq2html?introduction=yes


Re: \frontmatter and \mainmatter does not work with pdflatex.

2005-01-05 Thread R S Ananda Murthy
Dear Jurgen,
Thanks for help. The problem is because of hyperref. If I disable  
hyperref it works. But how to make it work with hyperref because I want  
to have hyperlinks if possible.

Thanks again,
Regards,
Anand
On 01/06/2005 12:05:12 AM, Juergen Spitzmueller wrote:
R S Ananda Murthy wrote:
 I am typesetting a book using Koma-Script Class in LyX. In this if  
I
 
 use \frontmatter and \mainmatter macros and then run pdflatex,  
then,
I  
 get error messages. But if I run ps2pdf it works.

Can you send a small example file showing the error? (I suspect
hyperref is
involved).
Jürgen




\frontmatter and \mainmatter does not work with pdflatex.

2005-01-05 Thread R S Ananda Murthy
Hello,
I am typesetting a book using Koma-Script Class in LyX. In this if I  
use \frontmatter and \mainmatter macros and then run pdflatex, then, I  
get error messages. But if I run ps2pdf it works.

In order to make it work with pdflatex I included
\renewcommand\pagemark{\arabic{page}}
in an ERT just before the starting of front matter and
\renewcommand\pagemark{\arabic{page}}
in ERT just before the starting of main matter. Then pdflatex does not  
cause any error messages. But I want the page number to be set to 1 at  
the beginning of main matter. To get this I modified the above  
mentioned command just before the starting of main matter to

\setcounter{page}{0}\renewcommand\pagemark{\arabic{page}}
But now pdflatex causes error messages where as ps2pdf does not. Can  
anybody help me in solving this problem. Preferably I want to use  
pdflatex to get pdf output.

Thanks for your help,
Anand


Re: \frontmatter and \mainmatter does not work with pdflatex.

2005-01-05 Thread Juergen Spitzmueller
R S Ananda Murthy wrote:
 I am typesetting a book using Koma-Script Class in LyX. In this if I  
 use \frontmatter and \mainmatter macros and then run pdflatex, then, I  
 get error messages. But if I run ps2pdf it works.

Can you send a small example file showing the error? (I suspect hyperref is 
involved).

Jürgen


Re: \frontmatter and \mainmatter does not work with pdflatex.

2005-01-05 Thread Herbert Voss
R S Ananda Murthy wrote:
I am typesetting a book using Koma-Script Class in LyX. In this if I  
use \frontmatter and \mainmatter macros and then run pdflatex, then, I  
get error messages. But if I run ps2pdf it works.

In order to make it work with pdflatex I included
\renewcommand\pagemark{\arabic{page}}
\renewcommand\thepage{\arabic{page}}
but \frontmatter / ... should work with hyperref.
Give an example file where it doesn't work.
Herbert
--
http://TeXnik.de/
http://PSTricks.de/
ftp://ftp.dante.de/tex-archive/info/math/voss/Voss-Mathmode.pdf
http://www.dante.de/faq/de-tex-faq/
http://www.tex.ac.uk/cgi-bin/texfaq2html?introduction=yes


Re: \frontmatter and \mainmatter does not work with pdflatex.

2005-01-05 Thread R S Ananda Murthy
Dear Jurgen,
Thanks for help. The problem is because of hyperref. If I disable  
hyperref it works. But how to make it work with hyperref because I want  
to have hyperlinks if possible.

Thanks again,
Regards,
Anand
On 01/06/2005 12:05:12 AM, Juergen Spitzmueller wrote:
R S Ananda Murthy wrote:
 I am typesetting a book using Koma-Script Class in LyX. In this if  
I
 
 use \frontmatter and \mainmatter macros and then run pdflatex,  
then,
I  
 get error messages. But if I run ps2pdf it works.

Can you send a small example file showing the error? (I suspect
hyperref is
involved).
Jürgen




\frontmatter and \mainmatter does not work with pdflatex.

2005-01-05 Thread R S Ananda Murthy
Hello,
I am typesetting a book using Koma-Script Class in LyX. In this if I  
use \frontmatter and \mainmatter macros and then run pdflatex, then, I  
get error messages. But if I run ps2pdf it works.

In order to make it work with pdflatex I included
\renewcommand\pagemark{\arabic{page}}
in an ERT just before the starting of front matter and
\renewcommand\pagemark{\arabic{page}}
in ERT just before the starting of main matter. Then pdflatex does not  
cause any error messages. But I want the page number to be set to 1 at  
the beginning of main matter. To get this I modified the above  
mentioned command just before the starting of main matter to

\setcounter{page}{0}\renewcommand\pagemark{\arabic{page}}
But now pdflatex causes error messages where as ps2pdf does not. Can  
anybody help me in solving this problem. Preferably I want to use  
pdflatex to get pdf output.

Thanks for your help,
Anand


Re: \frontmatter and \mainmatter does not work with pdflatex.

2005-01-05 Thread Juergen Spitzmueller
R S Ananda Murthy wrote:
> I am typesetting a book using Koma-Script Class in LyX. In this if I  
> use \frontmatter and \mainmatter macros and then run pdflatex, then, I  
> get error messages. But if I run ps2pdf it works.

Can you send a small example file showing the error? (I suspect hyperref is 
involved).

Jürgen


Re: \frontmatter and \mainmatter does not work with pdflatex.

2005-01-05 Thread Herbert Voss
R S Ananda Murthy wrote:
I am typesetting a book using Koma-Script Class in LyX. In this if I  
use \frontmatter and \mainmatter macros and then run pdflatex, then, I  
get error messages. But if I run ps2pdf it works.

In order to make it work with pdflatex I included
\renewcommand\pagemark{\arabic{page}}
\renewcommand\thepage{\arabic{page}}
but \frontmatter / ... should work with hyperref.
Give an example file where it doesn't work.
Herbert
--
http://TeXnik.de/
http://PSTricks.de/
ftp://ftp.dante.de/tex-archive/info/math/voss/Voss-Mathmode.pdf
http://www.dante.de/faq/de-tex-faq/
http://www.tex.ac.uk/cgi-bin/texfaq2html?introduction=yes


Re: \frontmatter and \mainmatter does not work with pdflatex.

2005-01-05 Thread R S Ananda Murthy
Dear Jurgen,
Thanks for help. The problem is because of hyperref. If I disable  
hyperref it works. But how to make it work with hyperref because I want  
to have hyperlinks if possible.

Thanks again,
Regards,
Anand
On 01/06/2005 12:05:12 AM, Juergen Spitzmueller wrote:
R S Ananda Murthy wrote:
> I am typesetting a book using Koma-Script Class in LyX. In this if  
I
 
> use \frontmatter and \mainmatter macros and then run pdflatex,  
then,
I  
> get error messages. But if I run ps2pdf it works.

Can you send a small example file showing the error? (I suspect
hyperref is
involved).
Jürgen