ohcount: counting lines in TeX

Avatar

Maciej A. Kamiński

9 months ago

Hello!

Does it make sense to add this "language"? I am not sure. No, because it is (as LaTeX) mostly used for documentation purposes, not as part of program itself... and yes, because other markup languages, which already are supported, also are.

What do you think about this?

Regards Maciej A. Kaminski


Avatar

Steffen Mueller

9 months ago

Personally, I think it makes sense to count LaTeX, but is it source code or comment? As you say, it's usually used for documentation, but in principle, it's a programming language. (As are plain TeX and postscript.)

Cheers, Steffen


Avatar

Maciej A. Kamiński

9 months ago

I agree. What's more: even if we treat it as documentation only -- I think, that it is generally good for program to be well-documented (and therefore it is good to count also such documentation-related items) :)

Added to trac and promise to code it in my spare time.

UPDATE : sent apropriate patch to labs.


Avatar

AnMaster

5 months ago

I see one issue with this, it would not be documentation for LaTeX packages like http://www.ohloh.net/projects/latex-beamer or http://www.ohloh.net/projects/auctex


Avatar

jolle

5 months ago

I agree with AnMaster. There is a difference between a tex-documentation-file and a tex-source code file. Unfortunately it isn't treated seperately when counted and divided into markup and source. But, of course, I see the problem an automatic choice has, but maybe there can be a manual declaration by the developer.