Mus is coming
This commit is contained in:
parent
413cf02099
commit
35860a18e8
8
.aliases
8
.aliases
@ -1,5 +1,7 @@
|
||||
alias o="xdg-open"
|
||||
|
||||
alias pdf="latexmk -pdf -gg"
|
||||
|
||||
alias pro="cd ~/Documents/Projects"
|
||||
alias doc="cd ~/Documents"
|
||||
alias blog="cd ~/Documents/Projects/myself/log/"
|
||||
@ -17,9 +19,9 @@ csv_fields() {
|
||||
alias edit="$VISUAL"
|
||||
|
||||
export templates_dir="~/Documents/Projects/templates"
|
||||
alias new.td='copier "$templates_dir/latex/td.template"'
|
||||
alias new.cm='copier "$templates_dir/latex/cm.template"'
|
||||
alias new.letter='copier "$templates_dir/latex/letter.template"'
|
||||
alias new.td='copier copy --trust "$templates_dir/latex/td.template"'
|
||||
alias new.cm='copier copy --trust "$templates_dir/latex/cm.template"'
|
||||
alias new.letter='copier copy --trust "$templates_dir/latex/letter.template"'
|
||||
|
||||
pdfcompress () {
|
||||
gs -q -dNOPAUSE -dBATCH -dSAFER -sDEVICE=pdfwrite -dCompatibilityLevel=1.3 -dPDFSETTINGS=/screen -dEmbedAllFonts=true -dSubsetFonts=true -dColorImageDownsampleType=/Bicubic -dColorImageResolution=144 -dGrayImageDownsampleType=/Bicubic -dGrayImageResolution=144 -dMonoImageDownsampleType=/Bicubic -dMonoImageResolution=144 -sOutputFile="$2" "$1";
|
||||
|
41
.latexmkrc
41
.latexmkrc
@ -1,12 +1,11 @@
|
||||
$hash_calc_ignore_pattern{aux} =
|
||||
'^\\\\gdef\\\\minted@oldcachelist\{,'
|
||||
'^\\\\gdef\\\\minted@oldcachelist\{,'
|
||||
. '|^\s*default\.pygstyle,'
|
||||
. '|^\s*[[:xdigit:]]+\.pygtex';
|
||||
|
||||
$pdflatex =
|
||||
'lualatex -shell-escape -file-line-error -interaction=nonstopmode -synctex=1 -output-directory=build %O '
|
||||
. '\'\PassOptionsToPackage{outputdir=build}{minted}\input{%S}\''
|
||||
. '| texlogsieve';
|
||||
. '\'\PassOptionsToPackage{outputdir=build}{minted}\input{%S}\'';
|
||||
$aux_dir = 'build';
|
||||
$bibtex_use = 2;
|
||||
|
||||
@ -34,39 +33,3 @@ sub biber {
|
||||
return system "biber", @args;
|
||||
}
|
||||
|
||||
$silent = 1; # This adds "-interaction batchmode"
|
||||
$silence_logfile_warnings = 1;
|
||||
|
||||
END {
|
||||
local $?; # do not override previous exit status
|
||||
if ( -s "$root_filename.blg" and open my $bibfile,
|
||||
'<', "$root_filename.blg" )
|
||||
{
|
||||
print("**********************\n");
|
||||
print("bibtex/biber messages:\n");
|
||||
while ( my $line = <$bibfile> ) {
|
||||
if ( $line =~ /You.ve used/ ) {
|
||||
last;
|
||||
}
|
||||
else {
|
||||
print($line);
|
||||
}
|
||||
}
|
||||
close($bibfile);
|
||||
}
|
||||
if ( -s "$root_filename.ilg" and open my $indfile,
|
||||
'<', "$root_filename.ilg" )
|
||||
{
|
||||
print("*************************\n");
|
||||
print("makeindex/xindy messages:\n");
|
||||
while ( my $line = <$indfile> ) {
|
||||
print($line);
|
||||
}
|
||||
close($indfile);
|
||||
}
|
||||
if ( -s "$root_filename.log" ) {
|
||||
print("***************\n");
|
||||
print("LaTeX messages:\n");
|
||||
Run_subst("texlogsieve %R.log");
|
||||
}
|
||||
}
|
||||
|
10
.loadenv.sh
10
.loadenv.sh
@ -39,3 +39,13 @@ if [ -f "/home/sortion/.local/share/miniforge3/etc/profile.d/mamba.sh" ]; then
|
||||
fi
|
||||
# <<< conda initialize <<<
|
||||
|
||||
if type opam > /dev/null; then
|
||||
eval $(opam env)
|
||||
fi
|
||||
|
||||
PATH="/home/$USER/perl5/bin${PATH:+:${PATH}}"; export PATH;
|
||||
PERL5LIB="/home/$USER/perl5/lib/perl5${PERL5LIB:+:${PERL5LIB}}"; export PERL5LIB;
|
||||
PERL_LOCAL_LIB_ROOT="/home/$USER/perl5${PERL_LOCAL_LIB_ROOT:+:${PERL_LOCAL_LIB_ROOT}}"; export PERL_LOCAL_LIB_ROOT;
|
||||
PERL_MB_OPT="--install_base \"/home/$USER/perl5\""; export PERL_MB_OPT;
|
||||
PERL_MM_OPT="INSTALL_BASE=/home/$USER/perl5"; export PERL_MM_OPT;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user