Graphics, Figures & TablesBook Cover

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
rox
Posts: 4
Joined: Thu Sep 30, 2010 5:22 pm

Book Cover

Post by rox »

I am rather new to the whole LaTeX scene and I am having a very hard time. A lot of this is new to me so please be very specific and provide examples. I have gone to the irc for latex and the person who started to help me, I suppose, got side-tracked and then there was no one. I also searched your forum for "book cover" but the results were not useful.

I have a really cool picture which I made using gimp and I would like make that the cover in my pdf. I have the image in .png eps. ps. pdf. but I am having problems with all:

-png still has margins.
-ps ! LaTeX Error: Unknown graphics extension: .ps.
-eps ! LaTeX Error: Unknown graphics extension: .eps.

I am using this \includegraphics{output/cover.xx}. I have downloaded a few PDFs but they soon start speaking Greek (you know what I mean). As an example here is what I want

http://sparks.eserver.org/books/iliad.pdf

Notice it has the cover with graphics and text then the content. Please be gentle in both your use of technical jargon and code, I am new after all.
Last edited by rox on Fri Oct 01, 2010 1:27 pm, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Book Cover

Post by localghost »

The problems you mentioned indicate that you compile your document with PDFLaTeX. Since your cover picture is present in PDF format, you can use the pdfpages package to include it as very first page (provided that the image has the right size for your page geometry).


Best regards and welcome to the board
Thorsten
rox
Posts: 4
Joined: Thu Sep 30, 2010 5:22 pm

Re: Book Cover

Post by rox »

I was trying out these instructions http://tug.ctan.org/tex-archive/macros/ ... ges/README and I ran into a snag. Where is my Tex-tree?

I have:
/usr/share/texmf
/usr/share/tex-common
/usr/share/texlive-base
/usr/share/texlive-bin
/usr/share/texmf-texlive
johnjamessmith0
Posts: 37
Joined: Sun Mar 29, 2009 1:41 am

Book Cover

Post by johnjamessmith0 »

It looks like you're asking a general question about installing new packages. You should make your own local TeX tree that mimics your distribution's structure if you're installing packages by yourself, if you haven't all ready. I don't use TeX Live, but I think https://help.ubuntu.com/community/LaTeX ... 20packages should help.
rox
Posts: 4
Joined: Thu Sep 30, 2010 5:22 pm

Re: Book Cover

Post by rox »

This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/Debian)
restricted \write18 enabled.
entering extended mode
(./list.tex
LaTeX2e <2009/09/24>
Babel <v3.8l> and hyphenation patterns for english, usenglishmax, dumylang, noh
yphenation, loaded.
(/usr/share/texmf-texlive/tex/latex/base/report.cls
Document Class: report 2007/10/19 v1.4h Standard LaTeX document class
(/usr/share/texmf-texlive/tex/latex/base/size10.clo))
(/usr/share/texmf-texlive/tex/latex/tools/verbatim.sty)

! LaTeX Error: File `pdfpages.sty' not found.

Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: sty)

Enter file name:
----------------------------------------------------
I did my best to follow the instructions. I made a folder in my home directory I made one in /usr/share/texmf-texlive/tex/latex and tried inserting the .sty into the tools directory of that same folder and still no success. What now?
rox
Posts: 4
Joined: Thu Sep 30, 2010 5:22 pm

Re: Book Cover

Post by rox »

It was brought to my attention on the irc that this was included as a binary in a latex package available through the repository of ubuntu. Thank you for your help here because this is now solved. I compiled the pdf and it looks great.

For those having this same question running ubuntu it is available under the name texlive-latex-recommended.
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Book Cover

Post by localghost »

Now that the problem is solved, please be so kind and mark the topic (and not the last post) accordingly as clearly written in Section 3 of the Board Rules. Please keep that in mind for the future so that further reminders will not be necessary.
Post Reply