pub fn parse_file(
    tex_file_handle: BufReader<File>,
    csv_file: File,
    environment: &str
) -> Result<(), Box<dyn Error>>
Expand description

This function shall parse a LaTex Table into a csv file. This simplest case of such a table might look like this:

\begin{tabular}{|c|c|c|}
  \hline
  Name & Age & City \\
  \hline
  John & 25 & New York \\
  Jane & 30 & San Francisco \\
  \hline
\end{tabular}

The tabular environment can be something else, e.g. longtable.

§Arguments

* `file_handle` - A handle to a `BufReader`, i.e. the .tex file.
* `environment` - A string slice specifing the name of the environment wrapping the table