pkubowicz / opendetex

Improved version of Detex - tool for extracting plain text from TeX and LaTeX sources
Other
236 stars 35 forks source link

Latex allows to force placements via !. #62

Closed schrc3b6 closed 4 years ago

schrc3b6 commented 4 years ago

Added new terminal for ! and the nonterminal P for placements. Added P to figures and tables.

pkubowicz commented 4 years ago

Thank you for the PR.

Could you add a test demonstrating the new functionality?

Usually this means appending some LaTeX code to test/in.tex and expected output to test/correct.txt. For example, see 646143802eb7b.

schrc3b6 commented 4 years ago

I added ! to both table and figure placement in in.tex. I reused the figure and table already in the tex file.