def process_tex(lines):
    """
    Remove unnecessary section titles from the LaTeX file.

    """
    new_lines = []
    for line in lines:
        if (
            line.startswith(r"\section{gyptis.")
            or line.startswith(r"\subsection{gyptis.")
            or line.startswith(r"\subsubsection{gyptis.")
            or line.startswith(r"\paragraph{gyptis.")
            or line.startswith(r"\subparagraph{gyptis.")
        ):
            pass  # skip!
        else:
            new_lines.append(line)
    return new_lines