This is, because almost all manuals are now having pdf2 as default.
set(_format ${CMAKE_MATCH_1})
if(_format STREQUAL "default")
set(out_formats "xhtml" ${DVI_FORMATS} ${PDF_FORMATS})
set(_format ${CMAKE_MATCH_1})
if(_format STREQUAL "default")
set(out_formats "xhtml" ${DVI_FORMATS} ${PDF_FORMATS})
+ elseif(_format STREQUAL "pdf2" AND "${filepath}" MATCHES "/doc/")
+ set(out_formats "xhtml" ${DVI_FORMATS} ${PDF_FORMATS})
elseif(_format MATCHES "pdf$")
set(out_formats "xhtml" ${PDF_FORMATS})
elseif(_format MATCHES "dvi$")
elseif(_format MATCHES "pdf$")
set(out_formats "xhtml" ${PDF_FORMATS})
elseif(_format MATCHES "dvi$")