The software package bangtex
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import re | |
import argparse | |
def read_index_file(file_path: str) -> list[str]: | |
"""Read the .ind file and return a list of index items.""" | |
with open(file_path, 'r', encoding='utf-8') as infile: | |
lines = infile.read() |