Updated PATH and added .latexmkrc

This commit is contained in:
Samuel Ortion 2023-05-27 21:49:19 +02:00
parent 8c5cad62be
commit a057882406
3 changed files with 33 additions and 19 deletions

24
.latexmkrc Normal file
View File

@ -0,0 +1,24 @@
# Minted
&set_tex_cmds( '-shell-escape %O '
. '\'\PassOptionsToPackage{outputdir={%Y}}{minted}\input{%S}\''
);
$pdflatex = 'lualatex -shell-escape -file-line-error -interaction=nonstopmode -synctex=1 -output-directory=build %O %S';
$out_dir = 'build';
$bibtex_use = 2;
# Amend cleaned extensions
$clean_ext .= " fdb_latexmk run.xml synctex.gz";
# Make latexmk quiet
$latexmk_silent = 1;
# Makeglossaries
add_cus_dep('acn', 'acr', 0, 'makeglossaries');
add_cus_dep('glo', 'gls', 0, 'makeglossaries');
$clean_ext .= " acr acn alg glo gls glg";
sub makeglossaries {
my ($base_name, $path) = fileparse( $_[0] );
my @args = ( "-q", "-d", $path, $base_name );
if ($silent) { unshift @args, "-q"; }
return system "makeglossaries", "-d", $path, $base_name;
}

View File

@ -1,20 +1,9 @@
# generated by Comonicon export LUA_PATH='/usr/share/lua/5.4/?.lua;/usr/share/lua/5.4/?/init.lua;/usr/lib64/lua/5.4/?.lua;/usr/lib64/lua/5.4/?/init.lua;./?.lua;./?/init.lua;/home/sortion/.luarocks/share/lua/5.4/?.lua;/home/sortion/.luarocks/share/lua/5.4/?/init.lua'
# Julia bin PATH export LUA_CPATH='/usr/lib64/lua/5.4/?.so;/usr/lib64/lua/5.4/loadall.so;./?.so;/home/sortion/.luarocks/lib/lua/5.4/?.so;/usr/lib/lua/5.4/?.so'
export PATH="/home/$USER/.julia/bin:$PATH" export PATH='/home/sortion/.luarocks/bin:/home/sortion/.julia/bin:/home/sortion/.nvm/versions/node/v17.9.1/bin:/home/sortion/.cargo/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/opt/quarto/quarto-1.2.335/bin:/home/sortion/.local/bin:/home/sortion/bin:/home/sortion/.antigen/bundles/robbyrussell/oh-my-zsh/lib:/home/sortion/.antigen/bundles/zsh-users/zsh-syntax-highlighting:/home/sortion/.antigen/bundles/robbyrussell/oh-my-zsh/plugins/git:/home/sortion/Documents/cours/tools/bin/'
# generated by Comonicon if [[ -d ~/.texmf ]];
# Julia autocompletion PATH then
export FPATH="/home/$USER/.julia/completions:$FPATH" export TEXMFHOME=~/.texmf
autoload -Uz compinit && compinit fi
# Nodejs env
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
# Quarto install
PATH="$PATH:/opt/quarto/quarto-1.2.335/bin"
PATH="$PATH:$HOME/.local/bin:$HOME/bin"
export PATH

View File

@ -11,6 +11,7 @@ source:
cp ~/.dotfiles/.loadenv.sh ~/.loadenv.sh cp ~/.dotfiles/.loadenv.sh ~/.loadenv.sh
cp ~/.dotfiles/.vimrc ~/.vimrc cp ~/.dotfiles/.vimrc ~/.vimrc
cp ~/.dotfiles/.gitconfig ~/.gitconfig cp ~/.dotfiles/.gitconfig ~/.gitconfig
cp ~/.dotfiles/.latexmkrc ~/.latexmkrc
antigen: antigen:
git clone https://github.com/zsh-users/antigen.git git clone https://github.com/zsh-users/antigen.git