Skip to content

an easy-to-use CLI utility to create Latex templates for university assignments

Notifications You must be signed in to change notification settings

arsenij-solovjev/makeSheet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

makeSheet

an easy-to-use CLI utility to create LaTeX templates for university assignments

Ideal if you work on your assignments as team and use Dropbox to synchronize the assignments.

Usage

Go to your terminal, enter the directory where you want to keep your assignments and type

ms

When run for the first time in a directory makeSheet will create a course configuration. The second time it is run it will prompt you for the details of the assignment. You will need be prompted for the

  • assignment number
  • the due date (in a dd.MM format, eg "31.10")
  • the names of the exercises (comma-separated list, eg "1,2,3" or "exercise 1, exercise 2") The next time you run makeSheet in this directory, you will be provided with default values for each of these.
  • assignment number of the last assignment + 1
  • the due date of the last assignment + 1 week
  • the same exercises as last week

Following exemplary directory structure will be created

  • .config.xml
  • .lastUsage.xml
  • 1/
  • 1/assignment1.tex
  • 1/1.tex
  • 1/2.tex`

assignment.tex will contain the LaTeX template and the lines

  • \input{1}
  • \input{2}

This type of document layout is necessary if you want to edit an assignment which is under Dropbox synchronization in order to avoid conflicts and overwriting!

You can see the contents of the template at https://github.com/arsenij-solovjev/makeSheet/blob/master/src/main/resources/template.tex

Requirements

  • Java 1.7
  • Linux
  • texlive

Installation

TODOS

  • allow to override the default template for a directory
  • installation script (if you know how to do this, please share! because I don't)

About

an easy-to-use CLI utility to create Latex templates for university assignments

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published