36 lines
1.3 KiB
Text
36 lines
1.3 KiB
Text
|
|
# .latexmkrc
|
||
|
|
$pdf_mode = 4; # Generate PDF using lualatex
|
||
|
|
$lualatex = 'lualatex -interaction=nonstopmode -shell-escape';
|
||
|
|
$clean_ext = 'aux fdb_latexmk fls log synctex.gz xdv';
|
||
|
|
|
||
|
|
# Check if isZoey is set
|
||
|
|
$is_zoey = $ENV{isZoey} || '0'; # Default to false
|
||
|
|
|
||
|
|
# Set variables based on isZoey
|
||
|
|
if ($is_zoey eq '1') {
|
||
|
|
$name = 'Zoey Myers';
|
||
|
|
$email = 'hi@zoeys.computer';
|
||
|
|
$website = 'zoeys.computer';
|
||
|
|
$social = '\\emoji{transgender-flag}';
|
||
|
|
$linkedin = ''; # Empty or alternative URL if needed
|
||
|
|
} else {
|
||
|
|
$name = 'Zachary Myers';
|
||
|
|
$email = 'me@zackmyers.io';
|
||
|
|
$website = 'zackmyers.io';
|
||
|
|
$social = 'zackartz';
|
||
|
|
$linkedin = 'https://www.linkedin.com/in/zachary-myers-b9a150186/';
|
||
|
|
}
|
||
|
|
|
||
|
|
$lualatex = "lualatex '\\newcommand{\\myname}{Default}" .
|
||
|
|
"\\newcommand{\\myemail}{Default}" .
|
||
|
|
"\\newcommand{\\mywebsite}{Default}" .
|
||
|
|
"\\newcommand{\\mysocial}{Default}" .
|
||
|
|
"\\newcommand{\\mylinkedin}{Default}" .
|
||
|
|
"\\newcommand{\\gituser}{zackartz}" .
|
||
|
|
"\\renewcommand{\\myname}{$name}" .
|
||
|
|
"\\renewcommand{\\myemail}{$email}" .
|
||
|
|
"\\renewcommand{\\mywebsite}{$website}" .
|
||
|
|
"\\renewcommand{\\mysocial}{$social}" .
|
||
|
|
"\\renewcommand{\\mylinkedin}{$linkedin}" .
|
||
|
|
"\\input{%S}'";
|