LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 04-30-2004, 05:31 AM   #1
ObedientMonk
LQ Newbie
 
Registered: Apr 2004
Posts: 3

Rep: Reputation: 0
Images in latex front page


Hi all,
I'm writing a thesis with latex2e, and I need to put my university's logo image in the front page, up the thesis' title. I used the book class, for various reason, and pdflatex with the hyperref package. I needed a preface, so I used the \frontmatter, \mainmatter and \backmatter commands, which let it appear in the table of contents and bookmarks, without being numbered as for the other chapters. To make it work with hyperref I used this options: [plainpages=false,pdfpagelabels]{hyperref}.
Now, when trying to include the logo image, i get errors like this:

-----------------ERROR-----------------

loading : Context Support Macros / PDF
) <logo.jpg, id=203, 105.39375pt x 104.39pt> <use logo.jpg> [1{/usr/share/texmf
/dvips/config/pdftex.map} <./logo.jpg>] [2]
! pdfTeX warning (ext4): destination with the same identifier (name{page.i}) ha
s been already used, duplicate ignored
<to be read again>
\penalty

----------------ERROR---------------



So it seems the problem's in page numbering.
The sensitive parts of the document are like these:

-----------------------------------------------
\documentclass[a4paper,10pt]{book}
\usepackage{tocbibind}
[...]
\usepackage[backref=page,plainpages=false,pdfpagelabels]{hyperref}
\usepackage[pdftex]{color,graphicx}
\begin{document}

\frontmatter
\includegraphics{logo.jpg}
\maketitle
\tableofcontents
\chapter{Preface}
[...]
\mainmatter
[...]
\backmatters
\appendix
\end{document}

------------------------------------------------------------------------

If I remove the \includegraphics command the error disappears (but I have no logo), as it disappears if I remove the maketitle command (I have the logo but not the title). In this latter case, I thought I could write the title on my own, but I got a page number up in the front page, which is not nice. So I added a \thispagestyle{empty} for the front page, and now I get what I wanted, but still not so nice.

I just would like to know if someone knows a solution wgich is not a work-around (i.e. which let me use the \maketitle command).
thx in advance

Giovanni
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
On the front page. MikeZila LQ Suggestions & Feedback 2 11-11-2004 08:35 AM
Front page as is crashing Mozilla 1.6 MattShepherd LQ Suggestions & Feedback 5 09-09-2004 07:22 PM
front page jag2000 Linux - Software 3 05-23-2004 06:10 PM
Images in latex front page ObedientMonk Linux - Software 2 05-02-2004 09:24 AM
front page replacement? abiagi Linux - Software 54 12-10-2003 02:11 AM


All times are GMT -5. The time now is 05:10 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration