summaryrefslogtreecommitdiff
path: root/bash
diff options
context:
space:
mode:
Diffstat (limited to 'bash')
-rw-r--r--bash/.bash_aliases5
-rw-r--r--bash/.bash_profile3
2 files changed, 8 insertions, 0 deletions
diff --git a/bash/.bash_aliases b/bash/.bash_aliases
index cd52b03..ea32b39 100644
--- a/bash/.bash_aliases
+++ b/bash/.bash_aliases
@@ -29,3 +29,8 @@ alias ctree='tree -I target'
# Clean whiteboards!
# found at: https://gist.github.com/lelandbatey/8677901
alias whiteboard="convert $1 -morphology Convolve DoG:15,100,0 -negate -normalize -blur 0x1 -channel RBG -level 60%,91%,0.1 $2"
+
+# Pandoc for ElenQ
+alias pandoc-xelatex="pandoc $@ --latex-engine=xelatex --to latex -N"
+alias elenqdoc-article="pandoc-xelatex $@ --template elenq-article --metadata=documentclass:article"
+alias elenqdoc-book="pandoc-xelatex $@ --template elenq-book --metadata=documentclass:book"
diff --git a/bash/.bash_profile b/bash/.bash_profile
index 4d21956..96e00e0 100644
--- a/bash/.bash_profile
+++ b/bash/.bash_profile
@@ -22,3 +22,6 @@ export XDG_CONFIG_HOME=${XDG_CONFIG_HOME:=$HOME/.config}
export XDG_DATA_HOME=${XDG_DATA_HOME:=$HOME/.config}
export PATH="$HOME/.cargo/bin:$PATH"
+
+# Pandoc bash completion
+eval "$(pandoc --bash-completion)"