Skip to content
/ cv Public

This repository is meant to storage my cv and related info (with github actions)

Notifications You must be signed in to change notification settings

jjmonsalveg/cv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CV

To see the pdf click here

Run as a github action

A GitHub action was created to generate and commit the pdf.

Prerequisites(to run locally)

  1. Install a LaTeX Distribution

    • Ubuntu/Debian (Linux)
    sudo apt update
    sudo apt install texlive-full latexmk
    • macOS

    Install MacTeX which is too heavy or use the lightweight version BasicTex.

    • Windows

    Install MiKTeX.

  2. Save Your CV as a .tex File

    1. Create a New File:

      • Open your terminal and navigate to your desired directory.
      • Create a new file named cv.tex:
       touch cv.tex
    2. Paste Your LaTeX Code:

      • Open cv.tex in Neovim:
      nvim cv.tex
      • Paste your CV LaTeX code into this file.
      • Save the file by pressing :w in Neovim.
    3. Set Up Neovim with vim-plug and CoC

      a. Install vim-plug

      If you haven’t installed vim-plug yet:

      curl -fLo ~/.local/share/nvim/site/autoload/plug.vim --create-dirs \
        https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim

      b. Configure init.vim

      1. Open Neovim Configuration:

        nvim ~/.config/nvim/init.vim
      2. Set Up vim-plug in init.vim:

        call plug#begin('~/.local/share/nvim/plugged')
        
        Plug 'neoclide/coc.nvim', {'branch': 'release'}
        Plug 'lervag/vimtex'
        
        call plug#end()

      And then execute :PlugInstall in nvim.

    4. Configure vimtex Plugin

      Add the following configurations to your init.vim:

      " VimTeX configuration
      let g:tex_flavor = 'latex'
      let g:vimtex_view_method = 'zathura' " Use 'zathura', 'evince', 'okular'
      let g:vimtex_compiler_method = 'latexmk'
      " Disable compilation
      let g:vimtex_map_compile = 0
      
      " Map to compile
      nmap <leader>la <Plug>(vimtex-compile)
    5. Install coc-texlab: In Neovim, run:

      :CocInstall coc-texlab

Compilation

Verify if you have latexmk

which latexmk

in case that is not present then install it

sudo tlmgr update --self --all
sudo tlmgr install latexmk enumitem needspace fontawesome5

Compile from terminal

latexmk -C cv.tex
latexmk -pdf cv.tex

or use our make commands

make fresh
make view

Compile from nvim

<localleader>la will compile the tex file (according to our config)
<localleader>lc clear aux files
<localleader>lC full clear
<localleader>lv view the generated file

Note

In my case localleader is \

About

This repository is meant to storage my cv and related info (with github actions)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published