暫無描述

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

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/

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.