#!/bin/sh echo " ▄▄▄ ▄▄▄▄▄▄ ▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄ ▄▄ ▄▄ ▄▄ ▄▄ ▄▄▄▄▄▄▄ ▄▄▄ ▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄ ▄▄▄▄▄▄ ▄▄▄▄▄▄▄ █ █ █ █ █ █ █▄█ █ █ █ █ █ █ █ █ █ █ ▄ █ █ █ █ █ █ ▄ █▄ ▄█ ▄▄▄█ █ █ █▄█ █ ▄▄▄█ █ █ ▄ █ ▄▄▄█ █ █ █ █ ▄▄▄▄▄█ █ █ █ █▄█ █ █ █ █ █▄▄▄█ █ █ █ █▄▄▄█ █ █ █▄█ █ █▄▄▄█ █▄▄█▄█ █▄▄▄▄▄ █ █▄▄▄█ █ █ █ █ ▄▄▄██ █ █ ▄ █ ▄▄▄█ █▄▄▄█ ▄▄▄█ ▄▄▄█ ▄▄ █▄▄▄▄▄ █ █ █ ▄ █ █ █ █ █▄▄▄█ ▄ █ █ █ █ █ █▄▄▄█ █ █ █ █▄▄▄█ █ █ █▄▄▄▄▄█ █ █▄▄▄▄▄▄▄█▄█ █▄▄█ █▄▄▄█ █▄▄▄▄▄▄▄█▄▄█ █▄▄█ █▄▄█ █▄▄█▄▄▄▄▄▄▄█▄▄▄▄▄▄▄█▄▄▄█ █▄▄▄▄▄▄▄█▄▄▄█ █▄█▄▄▄▄▄▄▄█ ==> Building <== " mkdir dist/ echo "\\input{\\dir/config/config.tex}" > ./dist/minimal.tex # Build minimal scope cat ./main/core.tex >> ./dist/minimal.tex cat ./main/style/style.tex >> ./dist/minimal.tex cat ./main/style/common.tex >> ./dist/minimal.tex # Build most cat ./dist/minimal.tex > ./dist/most.tex cat ./main/math.tex >> ./dist/most.tex cat ./main/cs.tex >> ./dist/most.tex cat ./main/index.tex >> ./dist/most.tex cat ./main/style/counters.tex >> ./dist/most.tex cat ./main/style/cs.tex >> ./dist/most.tex cat ./main/style/math.tex >> ./dist/most.tex cat ./main/style/language.tex >> ./dist/most.tex # Build recommended cat ./dist/most.tex > ./dist/recommended.tex cat ./extra/bib.tex >> ./dist/recommended.tex cat ./extra/glossary.tex >> ./dist/recommended.tex # Build full cat ./dist/recommended.tex > ./dist/full.tex cat ./extra/minted.tex >> ./dist/full.tex # Copy letter cp ./scopes/letter.tex ./dist/letter.tex echo "==> Done"