Skip to content

Python Script to generate LaTeX Documents for USNA IC221 (Systems Programming)

License

Notifications You must be signed in to change notification settings

bbirney/makelatex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 

Repository files navigation

MakeLatex

Usage: "./makelatex (hw number)"

About: Scrapes URL from Aviv's website, parses HTML and generates a decent looking latex document for the HW. Last I checked, Dr. Aviv uses an earlier implementation of this script to create his own templates.
Note: These instructions are designed to be readable by those who know nothing about git or python. If you have any questions, reach me at [email protected] (though hopefully they make enough sense).
Author: Benjamin Birney

Installing Python / Dependent Libraries:

Install Python
- If you don't have python, then run "sudo apt-get update ; sudo apt-get install python"
Installing necessary libraries / other stuff
- Check you pip version (if you have one) by running "pip --version"
- Install pip (if you don't have it) by running "sudo apt-get install python-pip python-dev build-essential"
- Next run "sudo easy_install pip" then "sudo pip install --upgrade virtualenv"
- To install BS4 (a dependency of the script) run "pip install beautifulsoup4"

Disclaimers:

- Download the script & place the actual directory wherever you want to run it (i.e. your bin)
- Make sure to run "sudo chmod +x makelatex" in your favorite directory
- If you have any trouble with stuff, feel free to ask me for help (or to google your problem)
- Also feel free to dig around in the script. The code is commented, so it shouldn't be too hard to figure out what I'm doing
- The script isn't perfect, but it's better than starting from scratch

About

Python Script to generate LaTeX Documents for USNA IC221 (Systems Programming)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages