diff --git a/Documentation/Latex/style_for_html.cfg b/Documentation/Latex/style_for_html.cfg new file mode 100644 index 0000000000000000000000000000000000000000..549bc81508e35e4eb035a8f59ca9034ee612b513 --- /dev/null +++ b/Documentation/Latex/style_for_html.cfg @@ -0,0 +1,4 @@ +\Preamble{html} +\Css{body{margin: 0 auto; max-width: 900px;}} +\begin{document} +\EndPreamble diff --git a/Documentation/SoftwareGuide/Latex/CMakeLists.txt b/Documentation/SoftwareGuide/Latex/CMakeLists.txt index 5b04644722c4da5fa9b35047d32813fecc19db2d..099e91e0b24d7c7f57b5c4cd5b9c8f26d6b107a7 100644 --- a/Documentation/SoftwareGuide/Latex/CMakeLists.txt +++ b/Documentation/SoftwareGuide/Latex/CMakeLists.txt @@ -89,7 +89,7 @@ SET(DVIPS_CONVERTER_OPTIONS -D600) # Option for html generation -SET(TEX4HT_OPTIONS "html,2,sections+ \"\" \"\" -shell-escape") +SET(TEX4HT_OPTIONS "style_for_html,2,sections+ \"\" \"\" -shell-escape") SET (HTML_OUTPUT "SoftwareGuide-${OTB_VERSION_MAJOR}.${OTB_VERSION_MINOR}") # Copy RELEASE_NOTES.txt from OTB source tree to Software Guide build directory