├── .gitattributes ├── .github └── workflows │ └── ci.yaml ├── .gitignore ├── LICENSE ├── README.md ├── docs ├── manual.pdf └── manual.typ ├── src ├── exports.typ └── lib.typ ├── tests ├── .gitignore ├── GoNotoCurrent.ttf ├── NotoSerifJP.ttf ├── all-tests.typ ├── concat-adjacent-text │ ├── ref │ │ └── 1.png │ └── test.typ ├── custom-counters │ ├── ref │ │ └── 1.png │ └── test.typ ├── exclude │ ├── ref │ │ ├── 1.png │ │ └── 2.png │ └── test.typ ├── figure │ ├── .gitignore │ ├── ref │ │ ├── 1.png │ │ ├── 2.png │ │ ├── 3.png │ │ └── 4.png │ └── test.typ ├── include │ ├── .gitignore │ ├── ref │ │ ├── 1.png │ │ └── 2.png │ └── test.typ ├── issues │ ├── ref │ │ └── 1.png │ └── test.typ ├── sentences-cjk │ ├── ref │ │ └── 1.png │ └── test.typ ├── sentences │ ├── ref │ │ └── 1.png │ └── test.typ ├── template.typ ├── text-extraction │ ├── ref │ │ └── 1.png │ └── test.typ ├── where-selectors │ ├── ref │ │ └── 1.png │ └── test.typ ├── word-count-callback │ ├── ref │ │ └── 1.png │ └── test.typ ├── word-count-cjk │ ├── ref │ │ └── 1.png │ └── test.typ ├── word-count-of │ ├── ref │ │ ├── 1.png │ │ ├── 2.png │ │ └── 3.png │ └── test.typ ├── word-count │ ├── ref │ │ └── 1.png │ └── test.typ └── word-edge-cases │ ├── ref │ └── 1.png │ └── test.typ └── typst.toml /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jollywatt/typst-wordometer/HEAD/.gitattributes -------------------------------------------------------------------------------- /.github/workflows/ci.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jollywatt/typst-wordometer/HEAD/.github/workflows/ci.yaml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jollywatt/typst-wordometer/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jollywatt/typst-wordometer/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jollywatt/typst-wordometer/HEAD/README.md -------------------------------------------------------------------------------- /docs/manual.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jollywatt/typst-wordometer/HEAD/docs/manual.pdf -------------------------------------------------------------------------------- /docs/manual.typ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jollywatt/typst-wordometer/HEAD/docs/manual.typ -------------------------------------------------------------------------------- /src/exports.typ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jollywatt/typst-wordometer/HEAD/src/exports.typ -------------------------------------------------------------------------------- /src/lib.typ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jollywatt/typst-wordometer/HEAD/src/lib.typ -------------------------------------------------------------------------------- /tests/.gitignore: -------------------------------------------------------------------------------- 1 | **/out/* 2 | **/diff/* -------------------------------------------------------------------------------- /tests/GoNotoCurrent.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jollywatt/typst-wordometer/HEAD/tests/GoNotoCurrent.ttf -------------------------------------------------------------------------------- /tests/NotoSerifJP.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jollywatt/typst-wordometer/HEAD/tests/NotoSerifJP.ttf -------------------------------------------------------------------------------- /tests/all-tests.typ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jollywatt/typst-wordometer/HEAD/tests/all-tests.typ -------------------------------------------------------------------------------- /tests/concat-adjacent-text/ref/1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jollywatt/typst-wordometer/HEAD/tests/concat-adjacent-text/ref/1.png -------------------------------------------------------------------------------- /tests/concat-adjacent-text/test.typ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jollywatt/typst-wordometer/HEAD/tests/concat-adjacent-text/test.typ -------------------------------------------------------------------------------- /tests/custom-counters/ref/1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jollywatt/typst-wordometer/HEAD/tests/custom-counters/ref/1.png -------------------------------------------------------------------------------- /tests/custom-counters/test.typ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jollywatt/typst-wordometer/HEAD/tests/custom-counters/test.typ -------------------------------------------------------------------------------- /tests/exclude/ref/1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jollywatt/typst-wordometer/HEAD/tests/exclude/ref/1.png -------------------------------------------------------------------------------- /tests/exclude/ref/2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jollywatt/typst-wordometer/HEAD/tests/exclude/ref/2.png -------------------------------------------------------------------------------- /tests/exclude/test.typ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jollywatt/typst-wordometer/HEAD/tests/exclude/test.typ -------------------------------------------------------------------------------- /tests/figure/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jollywatt/typst-wordometer/HEAD/tests/figure/.gitignore -------------------------------------------------------------------------------- /tests/figure/ref/1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jollywatt/typst-wordometer/HEAD/tests/figure/ref/1.png -------------------------------------------------------------------------------- /tests/figure/ref/2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jollywatt/typst-wordometer/HEAD/tests/figure/ref/2.png -------------------------------------------------------------------------------- /tests/figure/ref/3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jollywatt/typst-wordometer/HEAD/tests/figure/ref/3.png -------------------------------------------------------------------------------- /tests/figure/ref/4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jollywatt/typst-wordometer/HEAD/tests/figure/ref/4.png -------------------------------------------------------------------------------- /tests/figure/test.typ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jollywatt/typst-wordometer/HEAD/tests/figure/test.typ -------------------------------------------------------------------------------- /tests/include/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jollywatt/typst-wordometer/HEAD/tests/include/.gitignore -------------------------------------------------------------------------------- /tests/include/ref/1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jollywatt/typst-wordometer/HEAD/tests/include/ref/1.png -------------------------------------------------------------------------------- /tests/include/ref/2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jollywatt/typst-wordometer/HEAD/tests/include/ref/2.png -------------------------------------------------------------------------------- /tests/include/test.typ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jollywatt/typst-wordometer/HEAD/tests/include/test.typ -------------------------------------------------------------------------------- /tests/issues/ref/1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jollywatt/typst-wordometer/HEAD/tests/issues/ref/1.png -------------------------------------------------------------------------------- /tests/issues/test.typ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jollywatt/typst-wordometer/HEAD/tests/issues/test.typ -------------------------------------------------------------------------------- /tests/sentences-cjk/ref/1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jollywatt/typst-wordometer/HEAD/tests/sentences-cjk/ref/1.png -------------------------------------------------------------------------------- /tests/sentences-cjk/test.typ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jollywatt/typst-wordometer/HEAD/tests/sentences-cjk/test.typ -------------------------------------------------------------------------------- /tests/sentences/ref/1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jollywatt/typst-wordometer/HEAD/tests/sentences/ref/1.png -------------------------------------------------------------------------------- /tests/sentences/test.typ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jollywatt/typst-wordometer/HEAD/tests/sentences/test.typ -------------------------------------------------------------------------------- /tests/template.typ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jollywatt/typst-wordometer/HEAD/tests/template.typ -------------------------------------------------------------------------------- /tests/text-extraction/ref/1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jollywatt/typst-wordometer/HEAD/tests/text-extraction/ref/1.png -------------------------------------------------------------------------------- /tests/text-extraction/test.typ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jollywatt/typst-wordometer/HEAD/tests/text-extraction/test.typ -------------------------------------------------------------------------------- /tests/where-selectors/ref/1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jollywatt/typst-wordometer/HEAD/tests/where-selectors/ref/1.png -------------------------------------------------------------------------------- /tests/where-selectors/test.typ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jollywatt/typst-wordometer/HEAD/tests/where-selectors/test.typ -------------------------------------------------------------------------------- /tests/word-count-callback/ref/1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jollywatt/typst-wordometer/HEAD/tests/word-count-callback/ref/1.png -------------------------------------------------------------------------------- /tests/word-count-callback/test.typ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jollywatt/typst-wordometer/HEAD/tests/word-count-callback/test.typ -------------------------------------------------------------------------------- /tests/word-count-cjk/ref/1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jollywatt/typst-wordometer/HEAD/tests/word-count-cjk/ref/1.png -------------------------------------------------------------------------------- /tests/word-count-cjk/test.typ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jollywatt/typst-wordometer/HEAD/tests/word-count-cjk/test.typ -------------------------------------------------------------------------------- /tests/word-count-of/ref/1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jollywatt/typst-wordometer/HEAD/tests/word-count-of/ref/1.png -------------------------------------------------------------------------------- /tests/word-count-of/ref/2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jollywatt/typst-wordometer/HEAD/tests/word-count-of/ref/2.png -------------------------------------------------------------------------------- /tests/word-count-of/ref/3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jollywatt/typst-wordometer/HEAD/tests/word-count-of/ref/3.png -------------------------------------------------------------------------------- /tests/word-count-of/test.typ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jollywatt/typst-wordometer/HEAD/tests/word-count-of/test.typ -------------------------------------------------------------------------------- /tests/word-count/ref/1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jollywatt/typst-wordometer/HEAD/tests/word-count/ref/1.png -------------------------------------------------------------------------------- /tests/word-count/test.typ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jollywatt/typst-wordometer/HEAD/tests/word-count/test.typ -------------------------------------------------------------------------------- /tests/word-edge-cases/ref/1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jollywatt/typst-wordometer/HEAD/tests/word-edge-cases/ref/1.png -------------------------------------------------------------------------------- /tests/word-edge-cases/test.typ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jollywatt/typst-wordometer/HEAD/tests/word-edge-cases/test.typ -------------------------------------------------------------------------------- /typst.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jollywatt/typst-wordometer/HEAD/typst.toml --------------------------------------------------------------------------------