Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,18 @@ docker build -t latex .
docker run --rm -i -v "$PWD":/data latex pdflatex sourabh_bajaj_resume.tex
```

#### Compiling the template locally for all CPU architectures

```sh
docker run --rm -i -v "$PWD":/data mingc/latex pdflatex *.tex
```
If you want to build the pdf as you change the text file use watchman from Facebook
```sh
brew update && brew install watchman

watchman-make -p *.tex --run "docker run --rm -i -v `pwd`:/data mingc/latex pdflatex *.tex"
```

### Preview

![Resume Screenshot](/resume_preview.png)
Expand Down
5 changes: 5 additions & 0 deletions script.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash

docker run --rm -i -v ${PWD}:/data mingc/latex pdflatex *.tex


3 changes: 3 additions & 0 deletions watch.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash

watchman-make -p *.tex --run ./script.sh