summaryrefslogtreecommitdiff
path: root/.local/bin/texinit
diff options
context:
space:
mode:
authorBenjamin Chausse <benjamin@chausse.xyz>2021-05-01 11:12:23 -0400
committerBenjamin Chausse <benjamin@chausse.xyz>2021-05-01 11:12:23 -0400
commit16436494f6b7fff2eae8418746af01ee52f7565d (patch)
tree665608c8d4e858d757502e3795db3ef7821c4869 /.local/bin/texinit
parent9ed9de5006d437e126c5871dc0cf38a02825aabb (diff)
parenta8604b71a10edda8c08b909ce1fb63aca653d77e (diff)
Merge branch 'master' of git://git.chausse.xyz/dotfiles
Diffstat (limited to '.local/bin/texinit')
-rwxr-xr-x.local/bin/texinit9
1 files changed, 7 insertions, 2 deletions
diff --git a/.local/bin/texinit b/.local/bin/texinit
index 5568c99..8d5adf2 100755
--- a/.local/bin/texinit
+++ b/.local/bin/texinit
@@ -1,6 +1,11 @@
#!/bin/sh
-cp $HOME/Dropbox/A/Scholar/All/Templates/Text/LaTeX/001personal/cegep-lanaudiere/article/* ./
-ln $BIB/citations.bib ./citations.bib
+case form in "$1";
+ rnw)
+ cp $HOME/Dropbox/A/Scholar/All/Templates/LaTeX/cegep/main.rnw ;;
+ *)
+ cp $HOME/Dropbox/A/Scholar/All/Templates/LaTeX/cegep/main.tex ;;
+esac
+
mkdir archives