Skip to content

Commit

Permalink
updates main readme #35 and scripts to add pngs in the main readme #14
Browse files Browse the repository at this point in the history
  • Loading branch information
mxochicale committed Feb 11, 2024
1 parent 84db377 commit 3c81693
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
**/*.run.xml
**/tex/main.pdf
**/tex/cv-two-pages.pdf
**input.pdf

##/png images
**/output-*.png
**/output-*.png
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
# :scroll: My Curriculum Vitae
## Last update of my CV was 11 February 2024
# :scroll: My Curriculum Vitae (11 February 2024)

[![GitHub Actions Status](https://github.com/mxochicale/cv/workflows/CICV2P/badge.svg)](https://github.com/mxochicale/cv/actions) [![CV](https://img.shields.io/badge/read_my-CV-blue.svg)](https://github.com/mxochicale/cv/blob/generated-pdfs/cv-two-pages.pdf)

My Curriculum Vitae (CV) is written in LaTeX and it is built locally in Ubuntu 22.04x64 OS with [texlive](https://github.com/mxochicale/latex/tree/master/installation) and remotely with [github action CI](https://github.com/free-cortex/framework/tree/main/workflow).
Refer to [README](tex/README.md) for detailed instructions on local and remote latex built.

[<img src="docs/page-0.png" width="150">](https://github.com/mxochicale/cv/blob/generated-pdfs/cv-two-pages.pdf)
[<img src="docs/page-1.png" width="150">](https://github.com/mxochicale/cv/blob/generated-pdfs/cv-two-pages.pdf)


## Clone repository
After generating your SSH keys as suggested [here](https://docs.github.com/en/github/authenticating-to-github/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent) or [here](https://github.com/mxochicale/tools/blob/main/github/SSH.md).
You can then clone the repository by typing (or copying) the following line in a terminal at your selected path in your machine:
Expand Down
Binary file added docs/page-0.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 added docs/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.
6 changes: 5 additions & 1 deletion docs/pdf2png.bash
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,12 @@


wget https://github.com/mxochicale/cv/raw/generated-pdfs/cv-two-pages.pdf
#cp ../tex/cv-two-pages.pdf .

mv cv-two-pages.pdf input.pdf
convert -background white -alpha remove -alpha off -density 500 input.pdf -quality 300 output.png
DENSITY=100 #500
QUALITY=500 #300
convert -background white -alpha remove -alpha off -density ${DENSITY} input.pdf -quality ${QUALITY} page.png
rm *.pdf
#ALTERNATIVES
#convert cv-two-pages.pdf cv-two-pages.png
Expand Down

0 comments on commit 3c81693

Please sign in to comment.