Skip to content

Commit

Permalink
Polycv Version 1.0rc2 (release candidate 2) (#2)
Browse files Browse the repository at this point in the history
* Added license file
* Spell check of documentation
* Meta: Added build scripts
* Extended progress and level bar
  - Progress and level bar can now deal with the same input number range
  - Fixed small misalignment in section definition
  - added examples, recompiled all
  • Loading branch information
polyluxus authored Jun 30, 2020
1 parent 92993e9 commit f9dafcf
Show file tree
Hide file tree
Showing 19 changed files with 750 additions and 84 deletions.
416 changes: 416 additions & 0 deletions LICENSE.txt

Large diffs are not rendered by default.

Binary file modified doc/latex/polycv.pdf
Binary file not shown.
Binary file modified examples/letter-mwe/main.pdf
Binary file not shown.
Binary file modified examples/letter-one-page-appendix/main.pdf
Binary file not shown.
Binary file modified examples/letter-one-page/main.pdf
Binary file not shown.
Binary file modified examples/one-page-color/main.pdf
Binary file not shown.
Binary file modified examples/one-page-letter/main.pdf
Binary file not shown.
Binary file modified examples/one-page/main.pdf
Binary file not shown.
Binary file added examples/skill-redefinition/main.pdf
Binary file not shown.
71 changes: 71 additions & 0 deletions examples/skill-redefinition/main.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
\documentclass[%draft,
signcv, sidebarwidth=5.5cm, 11pt, a4paper]{polycv}

\usepackage{mwe} % Only for this example
\errorcontextlines=20

% Fonts declaration
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{libertine}

% Language settings
\usepackage[english]{babel}
\usepackage{csquotes}

% Custom setup for the CV

\definecolor{mycol}{HTML}{387147}
\setcolprimary{mycol}

% Redifine language command to use squares, not the progress bar
% Needs change in the command
\renewcommand\cvlanguage[2]{%
\cvline{\levelbarsquares[0.7\linewidth]{#2}}{#1}}

\renewcommand\cvskill[2]{%
\cvline{\levelbarcircles[0.8\linewidth]{#2}}{#1}}

% Fill some contents variables
\title{Curriculum Vitae}
\author{Example Author}
\position{Title / Position}
\street{Street 123}
\location{Town, Country}
\email{me@mail.com}
\phone{+1 234 56 78 900}
\mobile{+1 234 56 78 999}
\orcid{0000-0001-0002-0003}
\github{ex-ample}
\signaturefile{example-image-16x9}

\begin{document}
\begin{polycvfirstpage}
\begin{polycvsidebar}%
\includegraphics[width=1.0\linewidth]{example-image-1x1}\\[2ex]

\section{Personal Details}
% Universally usable line:
\cvitemline{\faStar}{01. 01. 1984,\newline Birthplace, Country}
\cvlineaddress
\cvlineemail
\cvlinephone
\cvlinemobile
\cvlineorcid
\cvlinegithub
\cvitemline{\faTerminal}{bash, zsh, fish}
\null
\end{polycvsidebar}%
\section{Languages}
\cvlanguage{English (native)}{5}
\cvlanguage{Leetspeak (B2)}{3}

\section{Skills}
\cvskill{\LaTeX}{0.8}
\cvskill{Reading}{0.9}
\cvskill{Writing}{0.7}
\cvskill{Calculating}{0.3}
\cvskill{Gaming}{0.95}
\end{polycvfirstpage}
\end{document}

Binary file modified examples/two-page-letter/main.page-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified examples/two-page-letter/main.page-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified examples/two-page-letter/main.page-3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified examples/two-page-letter/main.pdf
Binary file not shown.
5 changes: 5 additions & 0 deletions meta/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,8 @@
pdftoppm input.pdf outputname -png
```

## Auxiliary scripts

* Compiling all examples from the example directory: `compile_examples.bash`.
* Building the package from sources: `build_package.bash`.

28 changes: 28 additions & 0 deletions meta/build_package.bash
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
#!/bin/bash

if [[ ${PWD##*/} != "latex" ]] ; then
echo "$PWD is probably not the directory with the source file."
exit 2
fi

src_dtx="polycv.dtx"
src_ins="polycv.ins"
if [[ ! -r "$src_dtx" ]] ; then
echo "Source file '$src_dtx' missing or not readable."
exit 1
fi
if [[ ! -r "$src_ins" ]] ; then
echo "Source file '$src_ins' missing or not readable."
exit 1
fi

echo "Building package."
pdflatex "$src_ins"
echo "Building Documentation"
pdflatex "$src_dtx"
makeindex -s gind.ist -o "${src_dtx%.*}.ind" "${src_dtx%.*}.idx"
makeindex -s gglo.ist -o "${src_dtx%.*}.gls" "${src_dtx%.*}.glo"
pdflatex "$src_dtx"
pdflatex "$src_dtx"
pdflatex "$src_dtx"

18 changes: 18 additions & 0 deletions meta/compile_examples.bash
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#!/bin/bash

if [[ ${PWD##*/} != "examples" ]] ; then
echo "$PWD is probably not the right examples directory."
exit 2
fi

for example in * ; do
[[ -d "$example" ]] || continue
pushd "$example" || exit 1
if [[ -r 'main.tex' ]] ; then
pdflatex main
biber main
pdflatex main
pdflatex main
popd || exit 1
fi
done
Loading

0 comments on commit f9dafcf

Please sign in to comment.