Sin descripción

Hongrui Fang db16bcdea6 ignore nix build outputs hace 2 años
.docker 2d0ae70ec9 remove entrypoint from dockerfile hace 3 años
.github 6ce82db10a update main.yml to use our own action hace 3 años
actions dcdff60bcd Use correct resume docker image in action.yml hace 3 años
markdown e1445a7b75 Created markdown directory and moved resume.md to it hace 7 años
styles f702018c47 Updated ConTeXt template for newer Pandoc versions hace 3 años
.dockerignore 693a40ca9e feat(docker): provide docker integration hace 7 años
.gitignore db16bcdea6 ignore nix build outputs hace 2 años
ISSUE_TEMPLATE.md 0d806527bf Proposed ISSUE_TEMPLATE.md hace 7 años
LICENSE 68dd74a699 Initial commit hace 10 años
Makefile c1fe603f34 amended makefile to include metadata element of pagetitle on resume object hace 6 años
README.md 815b7981d0 add nix instructions to README hace 2 años
docker-compose.yml edd8efab0a Update docker-compose.yml hace 3 años
flake.lock 56447a785a build resume with nix flake hace 2 años
flake.nix 56447a785a build resume with nix flake hace 2 años
pdc-links-target-blank.lua 302905702a Added lua script from pandoc discussion to convert links to new tab in html hace 7 años
shell.nix 56447a785a build resume with nix flake hace 2 años

README.md

The Markdown Resume

Instructions

git clone https://github.com/mszep/pandoc_resume
cd pandoc_resume
vim markdown/resume.md   # insert your own resume info

Local

Make everything

make

Make specifics

make pdf
make html

Dockerized

Make everything

docker-compose up -d

Requirements

If not using docker then you will need the following dependencies.

  • ConTeXt 0.6x
  • pandoc 2.x
    • 1.x is deprecated

Last tested on the above versions and that's not to say the later versions won't work. Please try to use the latest versions when possible.

Debian / Ubuntu

sudo apt install pandoc context

Fedora

sudo dnf install pandoc texlive-collection-context

Arch

sudo pacman -S pandoc texlive-core

OSX

brew install pandoc
brew install --cask mactex

Make sure to add the directory /Library/TeX/texbin/ to your path or context and mtxrun will not be found.

export PATH=$PATH:/Library/TeX/texbin/

Nix

Make sure to enable flakes, see this.

nix build

The built resume will end up in ./result.

Troubleshooting

Get versions

Check if the dependencies are up to date.

context --version
pandoc --version

Cannot process lua

Currently pandoc 1.x may be within your distro's repos and the latest version should be used. See the pandoc releases for your distro.

e.g. for Debian / Ubuntu

wget https://github.com/jgm/pandoc/releases/download/2.2.1/pandoc-2.2.1-1-amd64.deb
sudo dpkg -i pandoc-2.2.1-1-amd64.deb

Context executable cannot be found

Some users have reported problems where their system does not properly find the ConTeXt executable, leading to errors like Cannot find context.lua or similar. It has been found that running mtxrun --generate, (suggested on texlive-2011-context-problem), can fix the issue.