Skip to content

Commit

Permalink
New version (including automated multi-version production)
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefano Moia committed Jan 19, 2024
1 parent 806fb26 commit 7cedc17
Show file tree
Hide file tree
Showing 7 changed files with 23 additions and 1 deletion.
22 changes: 22 additions & 0 deletions compile.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
#!/usr/bin/env bash

declare -A job
job=( [0]=main [1]=main_trackchanges [2]=main_linenum [3]=main_linenum_trackchanges [4]=main_textonly [5]=main_textonly_trackchanges
)
n_job=${#job[@]}
let n_job--

rm -rf out
mkdir out
mkdir -p ./compiled

for i in $(seq 0 ${n_job})
do
echo $i ${job[$i]}
pdflatex -interaction=nonstopmode -output-directory=./out --jobname=${job[$i]} "\gdef\condition{${i}} \input main.tex"
biber --input-directory=./out --output-directory=./out ${job[$i]}.bcf
pdflatex -interaction=nonstopmode -output-directory=./out --jobname=${job[$i]} "\gdef\condition{${i}} \input main.tex"
mv ./out/${job[$i]}.pdf ./compiled/${job[$i]}.pdf
done

rm out/*
Binary file modified compiled/main.pdf
Binary file not shown.
Binary file modified compiled/main_linenum.pdf
Binary file not shown.
Binary file modified compiled/main_linenum_trackchanges.pdf
Binary file not shown.
Binary file modified compiled/main_textonly.pdf
Binary file not shown.
Binary file modified compiled/main_trackchanges.pdf
Binary file not shown.
2 changes: 1 addition & 1 deletion summaries/flux.tex
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ \subsection{FLUX: A pipeline for MEG analysis and beyond}\label{sec:FLUX}

These goals can be achieved in mid-term objectives, such as making the FLUX pipeline fully BIDS compatible and more automated. Another mid-term goal is to containerize the FLUX pipeline and the associated dependencies making it easier to use. Moreover, expanding the applications of this pipeline to other systems like MEG CTF, Optically Pumped Magnetometer (OPM) and EEG will be another crucial step in making FLUX a more generalized neurophysiological data analysis pipeline.

\added{During the 2022 Brainhack, the team focused on incorporating the BIDS standard into the analysis pipeline using MNE\_BIDS\supercite{Appelhoff2019mne}. Consequently, an updated version of FLUX was released after the Brainhack meeting.}
\added{During the 2022 Brainhack, the team focused on incorporating the BIDS standard into the analysis pipeline using MNE\_BIDS\supercite{appelhoff2019mne}. Consequently, an updated version of FLUX was released after the Brainhack meeting.}

\end{document}

0 comments on commit 7cedc17

Please sign in to comment.