Project

fplatex

0.0
No commit activity in last 3 years
No release in over 3 years
Speed up work flow of writing reports
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Runtime

>= 1.7.8, ~> 1.7.8
 Project Readme

Latex Homework Template

Description

This is a project to speed up the work flow of homework. By using this command-line tool it will setup the template of the more important fields. I swear submitting homework formatted by latex helps me get more points when they're graded.

Setup

Recommended Installs:

Install MacTeX (obviously)

Install Texmaker

gem install fplatex

As of right now, known to work with ruby-2.2.4 and ruby-2.3.0

Usage

Usage: fplatex [options]
 If options aren't covered, script will ask for variables.
    -c, --course COURSE              The course this assignment is for
    -a, --author AUTHOR              Your name
    -t, --title TITLE                Homework Assignment Name
    -d, --due-date DUEDATE           Due date of assignment
    -p, --professor PROFESSOR        The professor for the course
    -f, --filename FILENAME          Desired filename of latex file, appends '.tex' to whatever the input is
    -y, --yaml-file YAMLFILE         Input the path to a yaml file. Load a yaml file with all the variables set already.
                                     Must indicate which hash to use. For any missing variables,
                                     this script will ask for them if not specified by other flags.
    -e, --environment PRESET         After choosing a yaml file, you must choose a preset set of variables.
                                     This is so you should only need one yaml file with all your variables and presets.
                                     Variables passed by flags override arguments from yaml file.
    -h, --help                       Display this help and exit