commented out deprecated substitutefont
[goodguy/cin-manual-latex.git] / common / packages.tex
index fcf4bd7cedf8b9deddcfbf595a7c12c359d5bec8..15f93c18f5a6fd6247e15006f6f2a1a90609e7d5 100644 (file)
@@ -6,7 +6,7 @@
                           % in the first 128 positions. This is an
                           % English language document.
 \usepackage[utf8]{inputenc} % file encoding
-\usepackage{substitutefont} % so we can use fonts other than those specified in babel
+\usepackage{substitutefont} % so we can use fonts other than those specified in babel
 \usepackage[english]{babel} % default language for document
 % Cyrillic - if it is used, no Small Caps are available:
 %\usepackage[scaled=0.925]{XCharter} % Подключение русифицированных
@@ -17,7 +17,7 @@
                                            % "Math font
                                            % harmonization"
 
-\usepackage{
+\usepackage{%
     %amsfonts,
     mathtools,
     mathtext,% Cyrillic?
@@ -60,7 +60,7 @@
 \usepackage{listings}               % include code
 %---------------------------------------------------------------------------
 \makeatletter
-\renewcommand{\@biblabel}[1]{#1.}
+\renewcommand{\@biblabel}[1]{#1.} % FIXME? Do not use @ in LaTeX macro names.
 %---------------------------------------------------------------
 %
 \usetikzlibrary{% Libraries for TiKz
@@ -84,7 +84,9 @@
 %\usepackage{ifthen}
 %\usepackage{tocvsec2}
 \usepackage[intoc]{nomencl} % glossary package
-\makenomenclature           % make glossary
+\makenomenclature%            make glossary
+\usepackage{makeidx}
+\makeindex
 
 % eso-pic makes it easy to add some picture commands to every page
 % at absolute positions:
 % Switch to sans serif (usually these do not contain SC):
 % \renewcommand*\familydefault{\sfdefault}
 
+% The necessary package for LaTeX2HTML
+\usepackage{html}
+% html.sty declares its own \hyperref - redefinition hack required
+\renewcommand{\hyperref}[2][]{\hyperrefhyper[#1]{#2}}
 
 %%% Local Variables:
 %%% mode: latex