From a77bbf9f62f035cd8df99ebb31fb0ec8b40e82b2 Mon Sep 17 00:00:00 2001 From: Ekaitz Zárraga Date: Mon, 28 Jan 2019 18:36:06 +0100 Subject: Pandoc aliases and completions --- bash/.bash_aliases | 5 +++++ bash/.bash_profile | 3 +++ 2 files changed, 8 insertions(+) (limited to 'bash') 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)" -- cgit v1.2.3