File README.md changed (mode: 100644) (index 303a1ee..cc2a3e2) |
... |
... |
title: Readme for Lecture Notes for CSCI 3410 -- Database Systems |
3 |
3 |
--- |
--- |
4 |
4 |
|
|
5 |
5 |
Here are the lecture notes, code, exercises and problems for a lecture on database taught at [Augusta University](https://www.augusta.edu/) by C. Aubert. |
Here are the lecture notes, code, exercises and problems for a lecture on database taught at [Augusta University](https://www.augusta.edu/) by C. Aubert. |
|
6 |
|
The webpage for this project is at <http://spots.augusta.edu/caubert/db/ln/>, and it contains a compiled version of the notes. |
6 |
7 |
|
|
7 |
8 |
## Getting Started |
## Getting Started |
8 |
9 |
|
|
|
... |
... |
Before compiling this document, you will need to install |
29 |
30 |
- pandoc-numbering (cf. <https://github.com/chdemko/pandoc-numbering#installation>) |
- pandoc-numbering (cf. <https://github.com/chdemko/pandoc-numbering#installation>) |
30 |
31 |
- latexmk (cf. <https://ctan.org/pkg/latexmk/>, but it is possible that it is already part of your LaTeX installation.) |
- latexmk (cf. <https://ctan.org/pkg/latexmk/>, but it is possible that it is already part of your LaTeX installation.) |
31 |
32 |
- pdf2svg (cf. <https://github.com/dawbarton/pdf2svg>) |
- pdf2svg (cf. <https://github.com/dawbarton/pdf2svg>) |
32 |
|
- To clone the source, |
|
33 |
33 |
|
|
34 |
|
~~~{.bash} |
|
35 |
|
git clone https://rocketgit.com/user/caubert/CSCI_3410 |
|
36 |
|
~~~ |
|
|
34 |
|
To clone the source, use |
|
35 |
|
|
|
36 |
|
~~~{.bash} |
|
37 |
|
git clone https://rocketgit.com/user/caubert/CSCI_3410 |
|
38 |
|
~~~ |
37 |
39 |
|
|
38 |
40 |
To compile this document, simply change directory to `notes` and run `make`. |
To compile this document, simply change directory to `notes` and run `make`. |
39 |
41 |
|
|
File notes/Makefile changed (mode: 100644) (index 5bc384e..a28e5c0) |
... |
... |
MAKEFLAGS := -j |
8 |
8 |
# Maximize parallel execution whenever possible |
# Maximize parallel execution whenever possible |
9 |
9 |
OPTIONSPANDOC := --pdf-engine=xelatex --pdf-engine-opt=-shell-escape --toc --filter pandoc-numbering --filter pandoc-citeproc --top-level-division=chapter -V links-as-notes -M date="$$(LANG=en_us_88591 date '+%B %e, %Y (%r)')" |
OPTIONSPANDOC := --pdf-engine=xelatex --pdf-engine-opt=-shell-escape --toc --filter pandoc-numbering --filter pandoc-citeproc --top-level-division=chapter -V links-as-notes -M date="$$(LANG=en_us_88591 date '+%B %e, %Y (%r)')" |
10 |
10 |
# Options common to all invokations of pandoc |
# Options common to all invokations of pandoc |
11 |
|
.DEFAULT_GOAL := pdf |
|
|
11 |
|
.DEFAULT_GOAL := all |
12 |
12 |
|
|
13 |
13 |
|
|
14 |
14 |
# "Phony" rule to compile the pdf figures using latexmk |
# "Phony" rule to compile the pdf figures using latexmk |
|
... |
... |
html: lectures_notes.md | $(VEC_SVG) |
51 |
51 |
|
|
52 |
52 |
# Rule to compile a temporary file, for testing purposes |
# Rule to compile a temporary file, for testing purposes |
53 |
53 |
|
|
54 |
|
temp: | $(VEC) |
|
|
54 |
|
temp: |
55 |
55 |
pandoc temp.md $(OPTIONSPANDOC) --default-image-extension=pdf -o temp.pdf |
pandoc temp.md $(OPTIONSPANDOC) --default-image-extension=pdf -o temp.pdf |
56 |
56 |
|
|
|
57 |
|
readme: |
|
58 |
|
pandoc ../README.md -s -o ../README.html |
57 |
59 |
|
|
58 |
60 |
# "Phony" rule to compile all three versions (html, odt, pdf) of the document |
# "Phony" rule to compile all three versions (html, odt, pdf) of the document |
59 |
61 |
|
|
60 |
62 |
.PHONY : all |
.PHONY : all |
61 |
|
all : pdf odt html push |
|
62 |
|
push: pdf odt html |
|
63 |
|
# This last rule to force compilation of pdf, html and odt to be completed before executing push |
|
|
63 |
|
all : pdf odt html |
64 |
64 |
|
|
65 |
65 |
|
|
66 |
66 |
# "Phony" rule to compile the README to html, and to publish the compiled lecture notes and the README to the website. |
# "Phony" rule to compile the README to html, and to publish the compiled lecture notes and the README to the website. |
67 |
67 |
|
|
68 |
68 |
.PHONY : push |
.PHONY : push |
69 |
|
push: |
|
70 |
|
pandoc ../README.md -s -o ../README.html |
|
71 |
|
cp lectures_notes.pdf ../../../website/CSCI_3410_2019_F_lecture_notes.pdf |
|
72 |
|
cp lectures_notes.html ../../../website/CSCI_3410_2019_F_lecture_notes.html |
|
73 |
|
cp lectures_notes.odt ../../../website/CSCI_3410_2019_F_lecture_notes.odt |
|
74 |
|
cp ../README.html ../../../website/CSCI_3410_2019_F_README.html |
|
|
69 |
|
push: pdf odt html |
|
70 |
|
cp lectures_notes.pdf ~/travail/upload/site/spots/db/ln/CSCI_3410_lecture_notes.pdf |
|
71 |
|
cp lectures_notes.html ~/travail/upload/site/spots/db/ln/CSCI_3410_lecture_notes.html |
|
72 |
|
cp lectures_notes.odt ~/travail/upload/site/spots/db/ln/CSCI_3410_lecture_notes.odt |
|
73 |
|
cp ../README.html ~/travail/upload/site/spots/db/ln/README.html |