diff --git a/Manual_tools/src/latex_converter_config/html/latex.sty b/Manual_tools/src/latex_converter_config/html/latex.sty
index e883d3cab48..55e597540cf 100644
--- a/Manual_tools/src/latex_converter_config/html/latex.sty
+++ b/Manual_tools/src/latex_converter_config/html/latex.sty
@@ -232,7 +232,18 @@
\lciTocFileHeader{Table of Contents}
\lciPopOutput
\lciPushOutput{shorttoc}
+ \gdef\lciFileSpecificCSS{%
+ \lcRawHtml{
+}%
+ }
\lciTocFileHeader{Short Table of Contents}
+ \gdef\lciFileSpecificCSS{}
\lciPopOutput
\lciMirroredTocEntry{\lciTocBegin}
diff --git a/Manual_tools/src/latex_converter_config/html/latex_to_html_style_modern.sty b/Manual_tools/src/latex_converter_config/html/latex_to_html_style_modern.sty
index eff971dd668..2f592e5ddab 100644
--- a/Manual_tools/src/latex_converter_config/html/latex_to_html_style_modern.sty
+++ b/Manual_tools/src/latex_converter_config/html/latex_to_html_style_modern.sty
@@ -38,6 +38,7 @@
% Can be customized to have different body attributes, such as backgrounds
\gdef{\lcBodyAttributes}{\lcRawHtml{bgcolor="white"}}
+\gdef\lciFileSpecificCSS{}
% Args:
\newcommand{\lciHtmlFileHeader}[1]{%
@@ -50,8 +51,9 @@
}#1\lcRawHtml{
-
-
+}
+\lciFileSpecificCSS%
+\lcRawHtml{
}}