Jelajahi Sumber

+ Updates for tex4ht

michael 22 tahun lalu
induk
melakukan
90fc5f1c54
1 mengubah file dengan 6 tambahan dan 0 penghapusan
  1. 6 0
      docs/fpc.sty

+ 6 - 0
docs/fpc.sty

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