This repository contains source files for one of my assignment projects in the college. It contains the required files for a LaTeX to HTML compiler.
The Compiler made is a limited version of the overall compiler in the market. It converts only limited content and tags of LaTeX into HTML.
The project has used flex utility for lexical analysis and bison utility for making the parser. The supporting files are coded in C++.
ABOUT THE PROJECT
The features(tags) of LaTeX which are considered here are:-
\section
\subsection
\par
\label
\ref
\textbf
\textit
\underline
\enumerate
\item
tabular environment
figure environment
\includegraphics
\caption
Math mode with
\frac{numerator}{denominator}
\sqrt
Execution guide:
In the terminal:
- cd LaTeX_to_HTML
- make clean
- make
- ./compiler sample.tex