Commit decf1f41 authored by Alija Sabic's avatar Alija Sabic
Browse files

Update .gitignore, README

parent 262417e3
# Ignore
*/**/build
build/
!build/*.pdf
\ No newline at end of file
build/*
# Allow
!build/*.pdf
......@@ -39,9 +39,9 @@ build, view, preview, log, clean, distclean, help
Three environment variables are used to configure the behavior of those targets:
* `*pass:q[<font color="#118F7D">$TARGET</font>]*` is used to specify the tex file to compile (default: `pass:q[<font color="#118F7D">$BASENAME</font>]`).
* `*pass:q[<font color="#118F7D">$VARIANTS</font>]*` is used to specify none, one, or multiple variants (default: `pass:q[<font color="#118F7D">$BASEVARIANTS</font>]`).
* `*pass:q[<font color="#118F7D">$OPTS</font>]*` is used to pass additional options to latexmk.
* `*$TARGET*` is used to specify the tex file to compile (default: `$BASENAME`).
* `*$VARIANTS*` is used to specify none, one, or multiple variants (default: `$BASEVARIANTS`).
* `*$OPTS*` is used to pass additional options to latexmk.
---
......@@ -52,10 +52,10 @@ Three environment variables are used to configure the behavior of those targets:
[subs=+macros]
----
pass:q[
$ make <font color="#118F7D">*OPTS*</font>=-gg
$ make <font color="#118F7D">*TARGET*</font>=resources/tex/figures/logo *view*
$ make <font color="#118F7D">*VARIANTS*</font>=handout,presentation *build*
$ make <font color="#118F7D">*VARIANTS*</font>=, *view*
$ make *OPTS*=-gg
$ make *TARGET*=resources/tex/figures/logo *view*
$ make *VARIANTS*=handout,presentation *build*
$ make *VARIANTS*=, *view*
]
----
====
......@@ -67,8 +67,8 @@ $ make <font color="#118F7D">*VARIANTS*</font>=, *view*
[subs=+macros]
----
pass:q[
$ <font color="#118F7D">*TARGET*</font>=resources/tex/intro.tex
$ <font color="#118F7D">*VARIANTS*</font>=notes
$ *TARGET*=resources/tex/intro.tex
$ *VARIANTS*=notes
$ make
$ make *preview*
$ make *clean*
......
File added
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment