Skip to content

seyhunsaral/matchgreek

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 

Repository files navigation

matchgreek : Simply tells you which greek letters are already used in a LaTeX file.

The idea is based on a tweet by @IvanWerning
WARNING: Very preliminary script. Use with skepticsm.
Please let me know if something goes wrong by opening an issue on Github or by sending me a message on twitter @aliseyhunsaral

Requirements

  • python3 installation
  • pip (if you will install using Option I below)

Installation & Usage

Option I - install with pip

  • Install matchgreek package using pip3 (or pip depending on your system)
pip3 install matchgreek
  • Run matchgreek from the command line
matchgreek path/to/file/

Option II - Download & run the script

  • Clone the repostitory on your local machine
 git clone https://github.com/seyhunsaral/matchgreek.git
  • Change the working directory to the repository dir
cd matchgreek
  • Run the script with python3 (or python depending on your system)
python3 matchgreek.py path/to/file

Sample output

 $ matchgreek my_latex_file.tex   # (or python matchgreek.py my_latex_file.tex 
                                       # if you installed using Option II)

matchgreek v.0.1
=====Used Letters=====
ϕ   \phi
σ   \sigma
μ   \mu
π   \pi
τ   \tau



=====Unused Letters=====
ϝ   \digamma
α   \alpha
Λ   \Lambda
Ω   \Omega
χ   \chi
ε   \varepsilon
ς   \varsigma
γ   \gamma
ω   \omega
ν   \nu
θ   \theta
Π   \Pi
ϰ   \varkappa
s   \Upsilon
ϵ   \epsilon
β   \beta
ϑ   \vartheta
Θ   \Theta
Γ   \Gamma
Δ   \Delta
Ξ   \Xi
ι   \iota
κ   \kappa
λ   \lambda
υ   \upsilon
ζ   \zeta
φ   \varphi
ϱ   \varrho
ρ   \rho
Ψ   \Psi
ξ   \xi
ϖ   \varpi
δ   \delta
ψ   \psi
Φ   \Phi
Σ   \Sigma
η   \eta

ps. it is open-source. feel free to modify, distribute or send a pull request

TODO

TODO Scan included files with \input and \include

About

Tells you which greek letters you already used (and you didn't yet) in your TeX files

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages