Skip to content

LaTeX-CV-Gen is a Python project that allows you to generate LaTeX CVs from YAML profile data. It provides a simple command-line interface to parse YAML data, process LaTeX templates, and generate PDF CVs.

Notifications You must be signed in to change notification settings

Akash98Sky/latex-cv-gen

Repository files navigation

LaTeX CV Gen

Install python packages

$ python3 -m pip install -r requirements.txt

Run the cv-gen script

$ python3 cv-gen.py -p profile-data.yaml -i input

[Note: Replace profile-data.yaml with your data file path, and input with your input directory path of the tex files.]

Syntax

Value replacement

Use ${<field path>} to replace the content with the value in that field.

e.g.

Input

\name{${name}}
\tagline{${tagline}}

Output

\name{Akash Mondal}
\tagline{Innovative software developer with a passion for solving complex problems and delivering creative solutions.}

Repetitive content generation

Use ${# for <item name> in <iterator field path> #} ... ${<item name>} ... ${# endfor #} to repeat the content over the iterator.

e.g.

Input

\cvsection[page1sidebar]{Experience}

${# for exp in work #}
\cvevent{${exp.position}$}{${exp.company}$}{${exp.date}$}{${exp.location}}
\begin{itemize}
${# for desc in exp.description #}
  \item ${desc}
${# endfor #}
\end{itemize}
\divider
\medskip
${# endfor #}

Output

\cvsection[page1sidebar]{Experience}

\cvevent{TDP Software Engineer$}{Optum$}{July 2022 - Present$}{Bangalore, India}
\begin{itemize}

\item Placeholder.
\item Placeholder.

\end{itemize}
\divider
\medskip
\cvevent{Software Developer Intern$}{Giva$}{Mar 2022 - June 2022$}{Bangalore, India}
\begin{itemize}

\item Placeholder.
\item Placeholder.

\end{itemize}
\divider
\medskip

About

LaTeX-CV-Gen is a Python project that allows you to generate LaTeX CVs from YAML profile data. It provides a simple command-line interface to parse YAML data, process LaTeX templates, and generate PDF CVs.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published