Skip to content

Commit fcca361

Browse files
committed
Use portable setup
1 parent 0a4e727 commit fcca361

20 files changed

Lines changed: 5681 additions & 1455 deletions

.github/workflows/deploy.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,25 @@ on:
1111
jobs:
1212
deploy:
1313
runs-on: ubuntu-latest
14-
container: index.docker.io/anjos/latex
1514
steps:
1615

1716
- name: Checkout
1817
uses: actions/checkout@v2
1918

19+
- name: Setup
20+
uses: prefix-dev/setup-pixi@v0.9.3
21+
with:
22+
cache: true
23+
24+
- name: Quality
25+
shell: bash -l {0}
26+
run: |
27+
pixi run qa
28+
2029
- name: Build
2130
shell: bash -l {0}
2231
run: |
23-
make cv.pdf
32+
pixi run build
2433
mkdir output
2534
cp cv.pdf output/
2635
cp publications.bib output/

.pre-commit-config.yaml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# SPDX-FileCopyrightText: Copyright © 2025 Idiap Research Institute <contact@idiap.ch>
2+
3+
repos:
4+
- repo: https://github.com/jonasbb/pre-commit-latex-hooks
5+
rev: v1.5.0
6+
hooks:
7+
- id: no-space-in-cite
8+
- id: tilde-cite
9+
- id: unique-labels
10+
- repo: local
11+
hooks:
12+
- id: tex-fmt
13+
name: Format LaTeX files with tex-fmt (local)
14+
language: system
15+
entry: tex-fmt
16+
args: [--fail-on-change]
17+
files: \.(tex|bib|cls|sty)$
18+
stages: [pre-commit, pre-merge-commit, pre-push, manual]
19+
- repo: https://gitlab.com/bmares/check-json5
20+
rev: v1.0.1
21+
hooks:
22+
- id: check-json5
23+
- repo: builtin
24+
hooks:
25+
- id: check-added-large-files
26+
- id: check-toml
27+
- id: check-yaml
28+
- id: trailing-whitespace
29+
files: .*\.(?:tex|bib)$
30+
- id: end-of-file-fixer
31+
- id: check-merge-conflict
32+
args: [--assume-in-merge]

Makefile

Lines changed: 0 additions & 19 deletions
This file was deleted.

README.md

Lines changed: 33 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2,34 +2,52 @@
22

33
# Curriculum Vitae of André Anjos
44

5-
This package contains the source and build instructions for my CV. If you just want to
6-
access it, use this link. My CV and publication lists are auto-deployed to github-pages
7-
at https://anjos.ai/cv/
5+
TL; DR:
86

7+
```sh
8+
pixi run build
9+
```
10+
11+
## Setup instructions (only once)
12+
13+
First, [install pixi](https://pixi.sh/latest/), and ensure it is working properly.
14+
15+
Then, run the following sequence of commands after git-cloning this repository and
16+
changing working directories **into** the clonned copy:
17+
18+
```sh
19+
pixi install
20+
pixi run install
21+
```
22+
23+
## Build instructions
924

10-
## How to build from scratch
25+
You can use:
26+
27+
```sh
28+
pixi run build
29+
```
1130

12-
You need a full installation of LaTeX including the binaries `lualatex` and `biber`
13-
(used via bibLaTeX) to compile these documents. On a macOS system, you can have a fully
14-
equipped system by using homebrew and installing the `mactex` distribution:
31+
To generate `cv.pdf`, a test build of this poster. To clean build results and
32+
re-start, use:
1533

1634
```sh
17-
$ brew install --cask mactex
35+
pixi run clean
1836
```
1937

20-
You may then use `TexShop`, the built-in GUI for editing LaTeX files. If you'd
21-
like to use the command-line to compile your sources, ensure to setup your
22-
PATH, e.g.:
38+
To remove any spurious files, including build results, run:
2339

2440
```sh
25-
$ export PATH=/Library/TeX/texbin:$PATH
41+
pixi run deep-clean
2642
```
2743

2844

29-
## Build
45+
## Update instructions
3046

31-
To compile the LaTeX sources, run `make`:
47+
Run the following sequence of commands to update the current installation:
3248

3349
```sh
34-
$ make
50+
pixi update
51+
pixi install
52+
pixi run update
3553
```

archive/biosketch.bib

Lines changed: 257 additions & 60 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)