Well now that my book is done, I am trying to figure out how to make it into an ebook version. My plan is to open a new lyx file insert the jpg of my cover and have it take up the whole page, and then export&save the resulting one page pdf. Then I will go into my mother file for the book and use the pdfpages function to insert the cover pdf at the beginning. How do I make sure the cover pdf is inserted at the very beginning of my document without messing everything else up?
Also, do you think I should add the back cover at the end?
When I go to insert-graphics... and choose my jpg file of the front cover, then set it at 303pt, it fits OK, but there are obviously margins because it is a 6"x9" book and 303pt is much less than 6"
***Here's the part I figured out:
When I make the dimensions of the graphic much larger in lyx then the pdf just shows the image getting cut off at the edge of the page. It won't center the graphic on the page.
It seems lyx is forcing the graphic to adhere to the top and left margin.
Solution: Go into Document settings - Page margins, and uncheck Default Margins then enter a 0 (zero) value for everything.***
Also, can't seem to get rid of the page number! It either puts i or 1 at the bottom of the page.
Oh...one other aggravating thing that lyx does is generate two pages. The first page is blank and the second page has the image. Is that because LYX won't let me make an odd number of pages?
Please help.
LyX ⇒ How to go back and add cover at beginning
-
- Posts: 128
- Joined: Wed Jul 04, 2012 5:34 pm
How to go back and add cover at beginning
FYI:
I'm using windows with LyX 2.0 and MiKTeX 2.9
I'm designing a book using the Koma-script class
I'm using windows with LyX 2.0 and MiKTeX 2.9
I'm designing a book using the Koma-script class
NEW: TikZ book now 40% off at Amazon.com for a short time.

- Stefan Kottwitz
- Site Admin
- Posts: 10348
- Joined: Mon Mar 10, 2008 9:44 pm
How to go back and add cover at beginning
You could use the command
pdfpages package or a corresponding LyX feature, this command works with JPG files too and should help with the overfull boxes problem which
Stefan
\includepdf
of the 
\includegraphics
could have, which could result in moving the image to the next page..Stefan
LaTeX.org admin