I am trying to convert an existing book from plain PDF output to ebook format for online publishing (and doing some reformatting in the process, but that's another question).
I have images in the \part
page (thanks to @PeterWilson for that).
Problem is those images do not appear in tex4ebook output, without any error/warning.
Full (current) header of my book follows:
\documentclass[10pt,ebook,italian,onecolumn,oneside,titlepage,extrafontsizes]{memoir}
\usepackage[italian]{babel}
\usepackage{graphicx}
\usepackage[utf8x]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{ucs}
\usepackage{makeidx}
\usepackage{quotmark}
\newcommand{\gqt}[1]{\tqt{\scshape #1}}
\newcommand{\stars}{\begin{center} * * *\\ \end{center}}
%
\makeatletter
\def\@partimage{}
\newcommand{\partimage}[2][]{\gdef\@partimage{\includegraphics[#1]{#2}}}
\renewcommand{\printparttitle}[1]{\parttitlefont #1\vfil\@partimage\vfil\gdef\@partimage{}}
\makeatother
%
\setlength\cftpartnumwidth{2em}
%
\author{Mauro Condarelli}
\title{Cronache della Nuova Terra}
\begin{document}
%
\frontmatter
\maketitle
%
\mainmatter
\chapterstyle{companion}
%\book{Cronache della Nuova Terra}
\tableofcontents
%
\partimage[width=210pt]{old_mage.jpg}
\part{In cerca di un Mondo Nuovo}
%
%
\chapter{La Missione}
%
%scene: 'Prologo I'
La Pianta non era certo imponente, somigliava a una verza troppo cresciuta, alta quasi un metro e mezzo e larga altrettanto, grandi foglie verde pallido sormontavano un tronco corto e tozzo dal quale partiva un robusto peduncolo che portava a una grossa zucca adagiata sulla sabbia pulita.\par
...
%end scene
%
%end chapter
%
\backmatter
\appendix
%
%
\end{document}
Problem, as said, is image (old-mage.jpg, in this case) simply vanishes leaving no visible trace.
I'm using a plain: tex4ebook -c tex4book.cfg Cronache_della_Nuova_Terra.tex
to compile; contents of tex4book.cfg
follows:
\Preamble{xhtml}
\CoverMetadata{thano.jpg}
\Configure{AddCss}{blitz-lite.css}
\DeclareGraphicsExtensions{.svg,.png,.jpg,.pdf}
\begin{document}
\EndPreamble
Any hint welcome
\partimage
are not.