Skip to content

Report detexed word count in CI and generate badge #5

@nikosavola

Description

@nikosavola

Report detexed word count in CI and generate badge that may be added to the README.
May be done roughly as follows with the texlive image:

    - apt-get update && apt-get install -y python3-pip
    - pip install anybadge
    - words=$(detex main.tex | wc -w)
    - echo "Word count is $words"
    - anybadge --label "Word count" --value $words -f wordCount.svg -c lightslategray

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions