--- /usr/portage/app-office/lyx/lyx-1.4.2.ebuild 2006-10-16 16:35:28.000000000 +1000 +++ lyx-1.4.2-r1.ebuild 2006-11-17 07:20:35.000000000 +1100 @@ -18,7 +18,7 @@ LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" -IUSE="cjk cups debug gtk nls qt3 gnome" +IUSE="cjk cups debug gtk nls qt3 gnome html docbook" RDEPEND="|| ( virtual/x11 @@ -31,11 +31,11 @@ ) virtual/ghostscript virtual/aspell-dict - dev-tex/latex2html + html? ( dev-tex/latex2html ) dev-tex/dvipost media-gfx/imagemagick cups? ( virtual/lpr ) - app-text/sgmltools-lite + docbook? ( app-text/sgmltools-lite ) app-text/noweb dev-tex/chktex" @@ -175,4 +175,20 @@ einfo "on the 2nd head if not using qt (maybe due to a xforms bug). See bug #40392." einfo "" fi + + if ! use html ; then + einfo "" + einfo "You disabled LaTeX to HTML conversion." + einfo "To be able to convert LaTeX documents into HTML documents," + einfo "install dev-tex/latex2html and reconfigure LyX using the" + einfo "Tools->Reconfigure menu, or recompile LyX with USE=html" + einfo "" + fi + + if ! use docbook ; then + einfo "You disabled support for editing Docbook SGML documents." + einfo "To enable support for Docbook SGML documents, install" + einfo "app-text/sgmtools-lite and reconfigure LyX using the" + einfo "Tools->Reconfigure menu, or recompile LyX with USE=docbook" + fi }