gprateek93 / LaTeX_to_HTML

This repository contains source files for one of my assignment projects in the college. It contains the required files for a limited LaTeX to HTML compiler.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

LaTeX_to_HTML

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
$\sum... $
$\int... $

Execution guide:
In the terminal:

  1. cd LaTeX_to_HTML
  2. make clean
  3. make
  4. ./compiler sample.tex

About

This repository contains source files for one of my assignment projects in the college. It contains the required files for a limited LaTeX to HTML compiler.


Languages

Language:C++ 36.7%Language:Lex 33.4%Language:Yacc 28.8%Language:Makefile 1.0%