chdemko / pandoc-latex-environment

Pandoc filter for adding LaTeX environement on specific div
https://pandoc-latex-environment.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
33 stars 9 forks source link

Change the way "Is the classes correct?" is checked #2

Closed ickc closed 8 years ago

ickc commented 8 years ago

Related to what I described in ickc/pandoc-amsthm#2

Hope that I didn't misunderstand what you want to do.

coveralls commented 8 years ago

Coverage Status

Coverage increased (+0.2%) to 93.103% when pulling cd36915ef87e0a758d44749ff879d4fc17590778 on ickc:master into d521150526edded0d3d790921d8443c9153c241c on chdemko:master.

chdemko commented 8 years ago

In my code, the lists have been converted to set using the built-in python set function. I expect that the current set is a super set of the defined set. Your code check only if a class is present to add the LaTeX code.

ickc commented 8 years ago

I see. I understood what it is doing, but just don't know it is intentional. Perhaps some more elaborated examples on the use case?

Thanks and I'm closing it.