## DEV Community is a community of 699,510 amazing developers

We're a place where coders share, stay up-to-date and grow their careers.

I really like automating things. Involved in a bunch of Google programs. http://clashkahznlvpwfg.onion

You know, that one thing you made for just your own use but is pretty cool.

I'll start: I was pretty annoyed at having to manually update my résumé every month or so. With things like download numbers, it gets outdated pretty fast.

Enter DynamicLaTeX. Auto-updates stuff every day and deployed to Heroku. Pretty nifty, imo.

# DynamicLaTeX 🔮

Your LaTeX document always has the latest numbers when clicked. Originally created for updating LaTeX resumes.

Highly extensible.

## 📜 Usage

• Define this new command in your LaTeX document:
\newcommand{\py}[1]{\textit{\%#1\%}}
• Wherever you want to format the dynamic variable, use the command as:
\py{<variable_name>}
• Add your LaTeX code in resume.tex.

• In main.py, add the same variable names and updation function to template_values. That's it!

Serve your pdf by running main.py. I've used my name in the endpoints so do change that with your own :)

There are a few updation helper functions provided in updater.py already as well.

## ❔ Why?

I use it to get the latest downloads count for SwagLyrics and SwSpotify then write that so the resume is always up to date Previously, I had to update the download count manually. Now, it's accurate…

What's something you made to automate the boring stuff?

## Discussion (5)

Carl Mungazi

I'm currently re-building various parts of the frontend stack from scratch. So far I've started on a UI framework and also built a testing library and a module bundler. You can check it out here

zurez-sgig

Hi when is Part 5 coming out
Really loved the series. An eye opener it is.

Carl Mungazi

Hey - glad you like it. It’s ready, I just need to edit it. Hopefully in the next fortnight.