8000 GitHub - zKurisu/latex-count: Count body words in latex file using perl code
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

zKurisu/latex-count

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

Introduction

Calculate the body word count (general, not very accurate) in latex/typst file (English) using perl code.

Usage

LaTeX Example

For all .tex file under the current directory:

$ tree
.
├── 1_introduction.tex
├── 2_theory.tex
├── 3_body.tex
├── 4_simulation.tex
├── 5_conclustion.tex
├── 6_future_work.tex
└── latex_count.pl
$ perl latex_count.pl
Word count: 9979

For single file or multi specific files:

$ perl latex_count.pl 1_introduction.tex 2_theory.tex
Word count: 2778

Typst Example

The same with latex one.

For all .typ file under the current directory:

$ tree
.
├── body.typ
├── introduction.typ
├── main.typ
└── typst_count.pl
$ perl typst_count.pl
Word count: 2123

For single file or multi specific files:

$ perl typst_count.pl body.typ main.typ
Word count: 2106

About

Count body words in latex file using perl code

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0