[Build] More prep, moving to separate branch until done
This commit is contained in:
@@ -5,11 +5,9 @@
|
|||||||
|
|
||||||
This repository contains a collection of LaTeX files, helping you get started with LaTeX quickly.
|
This repository contains a collection of LaTeX files, helping you get started with LaTeX quickly.
|
||||||
|
|
||||||
# Note on future import updates
|
# New import scheme
|
||||||
A future version (TBD) will also include combined files (i.e. quite large files in the `dist` directory, current `dist` directory will be renamed)
|
I have done some tweaks to support a new import scheme, making imports much more flexible
|
||||||
such that TeXlab will provide completion for the commands provided here.
|
|
||||||
|
|
||||||
The current import method will continue to be supported, but new projects should switch to the new import style
|
|
||||||
|
|
||||||
|
|
||||||
# Getting started
|
# Getting started
|
||||||
|
|||||||
52
build.sh
52
build.sh
@@ -14,37 +14,45 @@ echo "
|
|||||||
"
|
"
|
||||||
|
|
||||||
mkdir dist/
|
mkdir dist/
|
||||||
echo "\\input{\\dir/config/config.tex}" > ./dist/minimal.tex
|
cat ./scopes/header.tex >>./dist/minimal.sty
|
||||||
|
|
||||||
# Build minimal scope
|
# Build minimal scope
|
||||||
cat ./main/core.tex >> ./dist/minimal.tex
|
cat ./main/core.tex >>./dist/minimal.sty
|
||||||
cat ./main/style/style.tex >> ./dist/minimal.tex
|
echo "\n" >>./dist/minimal.sty
|
||||||
cat ./main/style/common.tex >> ./dist/minimal.tex
|
cat ./main/style/style.tex >>./dist/minimal.sty
|
||||||
|
echo "\n" >>./dist/minimal.sty
|
||||||
|
cat ./main/style/common.tex >>./dist/minimal.sty
|
||||||
|
|
||||||
# Build most
|
# Build most
|
||||||
cat ./dist/minimal.tex > ./dist/most.tex
|
cat ./dist/minimal.sty >./dist/most.sty
|
||||||
cat ./main/math.tex >> ./dist/most.tex
|
echo "\n" >>./dist/most.sty
|
||||||
cat ./main/cs.tex >> ./dist/most.tex
|
cat ./main/math.tex >>./dist/most.sty
|
||||||
cat ./main/index.tex >> ./dist/most.tex
|
echo "\n" >>./dist/most.sty
|
||||||
cat ./main/style/counters.tex >> ./dist/most.tex
|
cat ./main/cs.tex >>./dist/most.sty
|
||||||
cat ./main/style/cs.tex >> ./dist/most.tex
|
echo "\n" >>./dist/most.sty
|
||||||
cat ./main/style/math.tex >> ./dist/most.tex
|
cat ./main/index.tex >>./dist/most.sty
|
||||||
cat ./main/style/language.tex >> ./dist/most.tex
|
echo "\n" >>./dist/most.sty
|
||||||
|
cat ./main/style/counters.tex >>./dist/most.sty
|
||||||
|
echo "\n" >>./dist/most.sty
|
||||||
|
cat ./main/style/cs.tex >>./dist/most.sty
|
||||||
|
echo "\n" >>./dist/most.sty
|
||||||
|
cat ./main/style/math.tex >>./dist/most.sty
|
||||||
|
echo "\n" >>./dist/most.sty
|
||||||
|
cat ./main/style/language.tex >>./dist/most.sty
|
||||||
|
|
||||||
# Build recommended
|
# Build recommended
|
||||||
cat ./dist/most.tex > ./dist/recommended.tex
|
cat ./dist/most.sty >./dist/recommended.sty
|
||||||
cat ./extra/bib.tex >> ./dist/recommended.tex
|
echo "\n" >>./dist/recommended.sty
|
||||||
cat ./extra/glossary.tex >> ./dist/recommended.tex
|
cat ./extra/bib.tex >>./dist/recommended.sty
|
||||||
|
echo "\n" >>./dist/recommended.sty
|
||||||
|
cat ./extra/glossary.tex >>./dist/recommended.sty
|
||||||
|
|
||||||
# Build full
|
# Build full
|
||||||
cat ./dist/recommended.tex > ./dist/full.tex
|
cat ./dist/recommended.sty >./dist/full.sty
|
||||||
cat ./extra/minted.tex >> ./dist/full.tex
|
echo "\n" >>./dist/full.sty
|
||||||
|
cat ./extra/minted.tex >>./dist/full.sty
|
||||||
|
|
||||||
# Copy letter
|
# Copy letter
|
||||||
cp ./scopes/letter.tex ./dist/letter.tex
|
cp ./scopes/letter.tex ./dist/letter.sty
|
||||||
|
|
||||||
echo "==> Done"
|
echo "==> Done"
|
||||||
|
|||||||
5
scopes/header.tex
Normal file
5
scopes/header.tex
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
\NeedsTeXFormat{LaTeX2e}
|
||||||
|
\ProvidesPackage{janishutz-helpers}
|
||||||
|
|
||||||
|
\usepackage{import}
|
||||||
|
\import{../}{config/config.tex}
|
||||||
Reference in New Issue
Block a user