Skip to content

Build system update: Biblatex migration #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 13 commits into
base: master
Choose a base branch
from
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
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -216,8 +216,10 @@ TSWLatexianTemp*
*~[0-9]*

# auto folder when using emacs and auctex
./auto/*
auto
*.el

# expex forward references with \gathertags
*-tags.tex

.stack-work
34 changes: 34 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# Use new container infrastructure to enable caching
sudo: false

# Choose a lightweight base image; we provide our own build tools.
language: c

# GHC depends on GMP. You can add other dependencies here as well.
addons:
apt:
packages:
- libgmp-dev

# The different configurations we want to test. You could also do things like
# change flags or use --stack-yaml to point to a different file.
env:
- ARGS=""

before_install:
# Download and unpack the stack executable
- mkdir -p ~/.local/bin
- export PATH=$HOME/.local/bin:$PATH
- travis_retry curl -L https://www.stackage.org/stack/linux-x86_64 | tar xz --wildcards --strip-components=1 -C ~/.local/bin '*/stack'

# This line does all of the work: installs GHC if necessary, build the library,
# executables, and test suites, and runs the test suites. --no-terminal works
# around some quirks in Travis's terminal implementation.
script:
- cd manuscript || exit 1
- stack $ARGS --no-terminal --install-ghc build --haddock

# Caching so the next build will be fast too.
cache:
directories:
- $HOME/.stack
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# cirg-thesis
Template for CIRG Ph.D thesis manuscripts
# Manuscript
Templates for different manuscript targets
3 changes: 0 additions & 3 deletions build

This file was deleted.

24 changes: 24 additions & 0 deletions conf_ieee_template/.latexmkrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
$pdflatex = 'lualatex -interaction=nonstopmode -halt-on-error %O --shell-escape %S';
$pdf_mode = 1;
$out_dir = '../build';
$aux_dir = $out_dir;
$recorder = 1;

@default_files = ('conference_041818.tex');

add_cus_dep('glo', 'gls', 0, 'run_makeglossaries');
add_cus_dep('acn', 'acr', 0, 'run_makeglossaries');

sub run_makeglossaries {
my ($base_name, $path) = fileparse( $_[0] );
pushd $path;
my $return = system "makeglossaries $base_name";
popd;
return $return;
}

push @generated_exts, 'glo', 'gls', 'glg';
push @generated_exts, 'acn', 'acr', 'alg';

$clean_ext .= ' %R.ist %R.xdy';

Loading