Skip to content

dresl/typofix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Mar 13, 2023
afaeda5 · Mar 13, 2023

History

13 Commits
Nov 3, 2020
Mar 13, 2023
Nov 3, 2020
Nov 3, 2020
Nov 3, 2020

Repository files navigation

TypoFix

Python script to fix typography mistakes in LaTeX (best suit to Czech).

Usage

python typofix.py name_of_the_file.tex

There will be created a file named name_of_the_file_converted.tex.

Very simple help (so far):

python typofix.py -h

Features

It allows to convert this:

V. r. 1994 založil v Andách ve výšce 4000 m n. m. Typos a. s.

to

V.~r. 1994 založil v~Andách ve výšce 4000~m n.~m. Typos a.~s.

Or this:

Česká ( tzv. Čára ) je betálná brněnská ulica ( s. r. o. ). Spravoval jí prof. Jméno Příjmení, Dr.

to

Česká (tzv.~Čára) je betálná brněnská ulica (s.~r.~o.). Spravoval jí prof.~Jméno Příjmení,~Dr.