Applied Yves Ouvrard's patch received by e-mail (26 May 2012). It enables a relation between collatinus and felix-latin Changed gaffiot.djvu in the source (it become /usr/share/felix/Gaffiot.djvu) --- a/src/main.cpp +++ b/src/main.cpp @@ -856,12 +856,25 @@ void fenestra::change_page_Felix (int p) { + QStringList args; + QString outfile=QDir::homePath ()+"/.felix-out.tif"; + args << "-format=tif" << "-page" + // << QString::number(p) << "-size=980x1551" + << QString::number(p) << "-scale=230" + << "/usr/share/felix/Gaffiot.djvu" << outfile; + int res = QProcess::execute("/usr/bin/ddjvu", args); if (p > 1702) p = 1702; QString pg; - QTextStream (&pg) << ""; - // TODO : changer avec setText (); + if (res > 0) + QTextStream (&pg) << "

Fichier djvu introuvable
\n" + "Sous Debian ou Ubuntu, installer le paquet felix-latin-data.
\n" + "Collatinux X - Licence GNU-GPL

"; + else + QTextStream (&pg) << ""; + << outfile + << "\">"; EditFelix->setText (pg); EditFelix->setTextCursor(QTextCursor(EditFelix->document())); }