View Single Post
Old 01-26-2010, 06:10 AM   #15
Sweetpea
Grand Sorcerer
Sweetpea ought to be getting tired of karma fortunes by now.Sweetpea ought to be getting tired of karma fortunes by now.Sweetpea ought to be getting tired of karma fortunes by now.Sweetpea ought to be getting tired of karma fortunes by now.Sweetpea ought to be getting tired of karma fortunes by now.Sweetpea ought to be getting tired of karma fortunes by now.Sweetpea ought to be getting tired of karma fortunes by now.Sweetpea ought to be getting tired of karma fortunes by now.Sweetpea ought to be getting tired of karma fortunes by now.Sweetpea ought to be getting tired of karma fortunes by now.Sweetpea ought to be getting tired of karma fortunes by now.
 
Sweetpea's Avatar
 
Posts: 9,707
Karma: 32763414
Join Date: Dec 2008
Location: Krewerd
Device: Pocketbook Inkpad 4 Color; Samsung Galaxy Tab S6
I made some minor adjustments to my preamble and document structure and now I have something into which I can put my HTML sources.

I added:

\usepackage[bookmarks,bookmarksopen,bookmarksopenlevel=0,color links,linkcolor=black,urlcolor=black,pdfhighlight= {/N},pdfstartview={100},pdfpagelabels=true]{hyperref}

And I think this one caused my TOC to show in my reader menu.

I removed the makechapterstyle{normal} (still can't figure out why it didn't work earlier...)

I added:

\begin{center}
\thispagestyle{empty}
\includegraphics[width=95mm,height=118mm]{images/cover.jpg}
\clearpage
\end{center}


so I now even have a cover page! But, how can I make this cover page ignore the margins, header and footer of my document? The header and footer don't get shown (\thispagestyle{empty}) but the space is still reserved...

and I added:

\tableofcontents

But I don't like the way the chapter names are shown. Also, the header "Content" has the same layout as the other chapters of the book. How can I make it different? (so, no spacing above the Content header, for example, and a smaller font for the chapter names?)

and I did look at the fancyhdr package but couldn't make hear nor tails out of it... And what I did also seem to work

The conversion from the HTML into LaTeX isn't too hard, in my case, as my HTML setup is very simple, only using <p>, <div> and <h2> mostly. I'll figure out the footnotes (<a>), images (<img>) and subchapters (<h3>) at a later date . Things like <i> and <b> and such are easy to replace.
Sweetpea is offline   Reply With Quote