项目作者: DeMOFromMars

项目描述 :
Python Script to create a pre-filled latex file.
高级语言: Python
项目地址: git://github.com/DeMOFromMars/LaTex-File-Maker.git
创建时间: 2020-01-30T22:43:20Z
项目社区:https://github.com/DeMOFromMars/LaTex-File-Maker

开源协议:The Unlicense

下载


LaTeX File Maker

A python program/library to create and edit individual tex files.

Requirements

  • Python 3.X

Installation

This program has yet to have an automated installation process,
however it can be added to a bash session by using an alias:

  1. $ alias lfm="python3 ~/Path/To/File/LatexTemplate.py

This can be added to your .bashrc or .bash_aliases for pesistent use.

How to use?

Launch the program

Main menu screen

Create

  1. Press N then enter.
  2. Enter a filename without an extension.
  3. Enter a title.
  4. Enter author name.
  5. Enter s or p for sections or paragraphs respectively.
  6. Enter number of sections.

New file prompts

Load

Note: The program makes a backup file.

  1. Press L then enter.
  2. Enter file name without an extension.

Load path, enter file name

Add Section

  1. Select an element where you want insert a
    section at by entering its corresponding number
  2. Press a, then enter.
  3. Enter a name for the section.

Add example image showing prompts

Result image of adding a new section

Delete Section

  1. Select an element that you want to delete by entering its corresponding number.

Prompt image

  1. Press d then enter.

Deletion result

Output exmaple

This is from after a section was inserted via the program.

Program result

Planned Features

  • Add editing existing sections
  • Single line operation python3 LatexTemplate.py -a DeMO -s {p,p,p, s "Some Section"}
  • Implement parsing (some data classes exist)