Browse Source

+ Updates for tex4ht

michael 22 years ago
parent
commit
90fc5f1c54
1 changed files with 6 additions and 0 deletions
  1. 6 0
      docs/fpc.sty

+ 6 - 0
docs/fpc.sty

@@ -230,7 +230,13 @@
   \pdfpagewidth=210mm
   \pdfpagewidth=210mm
   \pdfpageheight=297mm
   \pdfpageheight=297mm
 \else
 \else
+\makeatletter
+\@ifpackageloaded{tex4ht}{%
+  \usepackage[tex4ht,bookmarks=true,colorlinks=true,linkcolor=blue]{hyperref}
+}{%
   \usepackage[dvips,bookmarks=true,colorlinks=true,linkcolor=blue]{hyperref}
   \usepackage[dvips,bookmarks=true,colorlinks=true,linkcolor=blue]{hyperref}
+}%
+\makeatother
 \fi
 \fi
 %
 %
 % Fake Latex2Html support, so latex2html is not required
 % Fake Latex2Html support, so latex2html is not required