Coder Social home page Coder Social logo

resumemacs's Introduction

resumemacs

Yet another CV maker.

DRY résumé builder for emacs. Write your résumé in org-mode then create versions in PDF and HTML. Tweak and massage locally, then upload to your webserver to publish!

Built using shkeleton, my shell CLI wireframe: https://github.com/joseph8th/shkeleton

Requirements

  • TexLive FULL, for some more obscure .sty packages. Do sudo apt install texlive-full on Ubuntu-based systems.
  • A recent Emacs (I’m on 26.1).

Install

git clone [email protected]:joseph8th/resumemacs.git

Usage

usage: resumemacs [--help ] [--version ] [--only TYPE] [--publish ] [--config CFGFILE] [--dest DEST] ORGFILE

OPTIONS
       -h --help
              print help message

       -v --version
              print version information

       -o --only TYPE
              only convert ORGFILE to TYPE in [pdf, html, odt]

       -p --publish
              publish to webserver specified in config

       -c --config CFGFILE
              use external CFGFILE instead of config in resumemacs.sh

       -d --dest DEST
              output directory DEST (default: dirname ORGFILE)

Quickstart

The easiest way to use resumemacs is to rely on some defaults: it expects the files in your CV project directory to be named after that directory. So the example directory contains an example.org file and an example.sh file. (You can work around the defaults with command line options.)

  1. After installing, copy the example to resume and rename example.org to resume.org, and example.sh to resume.sh.
  2. Then open resume/resume.org in emacs and write the body of your CV.
  3. Next open resume/resume.sh and edit the personal info, and the remote settings for your webserver.

Then just run the script like this:

# Working locally ...
./resumemacs /path/to/resume.org -d output

# Build and upload ...
./resumemacs /path/to/resume.org -d output -p

# Build only PDF and HTML and upload ...
./resumemacs /path/to/resume.org -d output -o \"pdf html\" -p

Open output/resume.html in your browser to work on the style, and view output/resume.pdf in your PDF viewer.

Advanced Usage

  • CFGFILE: By default resumemacs looks for the config file in dirname/dirname.sh but you can keep those anywhere, and override the default by passing the --config CFGFILE option.
  • PERSONAL_INFO_TEMPLATES: The personal info headers for LaTEX and HTML are generated using the info in your config file, joined by default with the etc/personal_info_templates.sh file. You can change either heading structure by editing this file. You can have multiple heading templates by changing the PERSONAL_INFO_TEMPLATES path in your config file, which will override the default setting.
  • HTML_BASE_TEMPLATE: The base pandoc HTML template is in etc/default.html5. Similarly you can either modify it in place, or specify a different template using the HTML_BASE_TEMPLATE setting in your config file.
  • CSS_LOCAL: Similarly, you can use different stylesheets by specifying a path in the CSS_LOCAL setting in your config file.

Acknowledgments

resumemacs's People

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.