Skip to content
Permalink
Browse files

remove duplicate latex defs

mention dependency on latex preview package
  • Loading branch information
Dan Gildea
Dan Gildea committed Dec 27, 2019
1 parent a1c79be commit ad42fa678af4b0e504c938538ea085657ac07c95
Showing with 4 additions and 4 deletions.
  1. +1 −0 README.md
  2. +0 −3 latex2html.pin
  3. +3 −1 tests/formulas.tex
@@ -80,6 +80,7 @@ translation it is asked to perform as follows:
2. LaTeX commands with equations, figures, tables, etc.
As above plus
* latex (pdflatex is used by default)
* latex preview package
* gs (Ghostscript version 4.03 or later),
* The netpbm library
* If you want to produce SVG images, pdftocairo
@@ -7147,9 +7147,6 @@ sub make_latex{
\long\def\lthtmlinlinemathA#1#2\lthtmlindisplaymathZ{\lthtmlTightVBoxA{#1}{#2}\lthtmlTightVBoxZ}
\def\lthtmlinlineA#1#2\lthtmlinlineZ{\lthtmlTightVBoxA{#1}{#2}\lthtmlTightVBoxZ}
\long\def\lthtmldisplayA#1#2\lthtmldisplayZ{\lthtmlTightVBoxA{#1}{#2}\lthtmlTightVBoxZ}
\long\def\lthtmlinlinemathA#1#2\lthtmlindisplaymathZ{\lthtmlTightVBoxA{#1}{#2}\lthtmlTightVBoxZ}
\def\lthtmlinlineA#1#2\lthtmlinlineZ{\lthtmlTightVBoxA{#1}{#2}\lthtmlTightVBoxZ}
\long\def\lthtmldisplayA#1#2\lthtmldisplayZ{\lthtmlTightVBoxA{#1}{#2}\lthtmlTightVBoxZ}
\long\def\lthtmldisplayB#1#2\lthtmldisplayZ{\\edef\preveqno{(\theequation)}%
\lthtmlTightVBoxA{#1}{\let\@eqnnum\relax#2}\lthtmlTightVBoxZ}
\long\def\lthtmlfigureA#1{\let\@savefreelist\@freelist
@@ -3,8 +3,10 @@

\section{Mathematic formulas}
This is a sample formula:

$$ c = \pm\sqrt{a^2 + b^2} $$
\begin{displaymath}
\int_0^1 f(x)dx = F(x)|_0^1
\end{displaymath}

And this is an inline formula: $\int_0^1 f(x)dx = F(x)|_0^1$ and
so it goes.

0 comments on commit ad42fa6

Please sign in to comment.
You can’t perform that action at this time.