Using flex create a program to process a LaTeX document, more
specifically graphics made with a subset of the Pgfplot library,
carrying out the necessary operations so that at the end of the processing
Allows you to display the following statistics:
– the title of the graph, if it has one.
– the minimum and maximum coordinates of the x axis.
– the number of graphs/series drawn by each type (2D or 3D).
– longest chart formula, if chart is not specified
by formula, the specification will be taken as a length reference
explicit coordinates.
It can be assumed as a simplification that in the LaTeX document only
There is a single tikzpicture element.
Comments and other LaTeX sections should be ignored, except
verbatim environments, whose content has to be ignored. To simplify
In practice, the start of the environment “\begin{verbatim}” and the
end of the same «\end{verbatim}» are always at the beginning of the line.
Also be careful with comments and character escaping.
REFS:
–
https://es.overleaf.com/learn/latex/Pgfplots_packa…
–
https://www.ctan.org/pkg/pgfplots
Attach the all files with test and my first code, not working.