Merge branch 'master' of github.com:Jab2870/dotfiles
This commit is contained in:
commit
612107c958
5 changed files with 35 additions and 17 deletions
|
@ -7,13 +7,14 @@ address:
|
|||
# return-address # From Address. You can use \email for auto configured email
|
||||
# cc
|
||||
# ps
|
||||
encl:
|
||||
- cv
|
||||
- another letter
|
||||
opening: Dear Bob,
|
||||
#encl:
|
||||
#- cv
|
||||
#- another letter
|
||||
#opening: Dear Bob,
|
||||
# closing
|
||||
subject: My Subject
|
||||
# colorlinks: true
|
||||
#numbersections: true
|
||||
...
|
||||
|
||||
This is my letter
|
||||
|
|
1
bin/aquarius-go
Symbolic link
1
bin/aquarius-go
Symbolic link
|
@ -0,0 +1 @@
|
|||
/home/jonathan/GitRepos/aquariusGo/aquarius-go
|
18
bin/compiler
18
bin/compiler
|
@ -30,18 +30,12 @@ textype() { \
|
|||
}
|
||||
|
||||
mdtype(){ \
|
||||
type="${2:-default}"
|
||||
|
||||
case "$type" in
|
||||
"letter")
|
||||
pandoc --template template-letter.tex "$file" -o "${base}.pdf"
|
||||
;;
|
||||
"fplreport")
|
||||
pandoc --template fellowship.latex --pdf-engine=xelatex "$file" -o "${base}.pdf"
|
||||
;;
|
||||
*)
|
||||
pandoc "$file" -o "${base}.pdf"
|
||||
;;
|
||||
command=${2:-"default"}
|
||||
echo "$command"
|
||||
case "$command" in
|
||||
"fplreport") pandoc "$file" --template fellowship.latex --pdf-engine=xelatex -o "${base}.pdf" ;;
|
||||
"letter") pandoc "$file" --template template-letter.tex -o "${base}.pdf" ;;
|
||||
*) pandoc "$file" -o "$base".pdf ;;
|
||||
esac
|
||||
}
|
||||
|
||||
|
|
|
@ -269,6 +269,7 @@ bindsym $mod+c exec chromium-snapshot-bin, workspace $workspace1
|
|||
bindsym $mod+Shift+c exec chromium-snapshot-bin --force-device-scale-factor=2, workspace $workspace1
|
||||
bindsym control+mod1+f exec thunar
|
||||
bindsym $mod+z exec zeal
|
||||
bindsym $mod+Shift+q exec qutebrowser
|
||||
|
||||
|
||||
# Pulse Audio controls
|
||||
|
|
|
@ -252,6 +252,27 @@ $if(letterhead)$
|
|||
$endif$
|
||||
\usepackage{blindtext}
|
||||
|
||||
$if(numbersections)$
|
||||
\newcounter{section}
|
||||
\newcounter{subsection}[section]
|
||||
\setcounter{secnumdepth}{3}
|
||||
$endif$
|
||||
\makeatletter
|
||||
\newcommand\section{\@startsection {section}{1}{\z@}%
|
||||
{-3.5ex \@plus -1ex \@minus -.2ex}%
|
||||
{2.3ex \@plus.2ex}%
|
||||
{\normalfont\Large\bfseries}}
|
||||
\newcommand\subsection{\@startsection{subsection}{2}{\z@}%
|
||||
{-3.25ex\@plus -1ex \@minus -.2ex}%
|
||||
{1.5ex \@plus .2ex}%
|
||||
{\normalfont\large\bfseries}}
|
||||
$if(numbersections)$
|
||||
\renewcommand \thesection{\@arabic\c@section}
|
||||
\renewcommand\thesubsection{\thesection.\@arabic\c@subsection}
|
||||
$endif$
|
||||
|
||||
\makeatother
|
||||
|
||||
\begin{document}
|
||||
|
||||
$for(include-before)$
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue