Some more attempted fixes
This commit is contained in:
@@ -3,7 +3,7 @@ from typing import List
|
||||
import labels
|
||||
import datetime
|
||||
|
||||
version = "1.0.0"
|
||||
version = "1.0.1"
|
||||
|
||||
print("""
|
||||
▄▄▄ ▄▄▄▄▄▄ ▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄ ▄▄ ▄▄ ▄▄ ▄▄ ▄▄▄▄▄▄▄ ▄▄▄ ▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄ ▄▄▄▄▄▄ ▄▄▄▄▄▄▄
|
||||
@@ -39,6 +39,8 @@ l = labels.generate_labels()
|
||||
output += l[0] + "\n\n"
|
||||
output += l[1]
|
||||
|
||||
output += "\\endinput"
|
||||
|
||||
with open("../janishutz-helpers.tex", "w") as file:
|
||||
file.write(output)
|
||||
|
||||
|
||||
13
install.sh
13
install.sh
@@ -4,10 +4,10 @@ cd build/
|
||||
python build.py
|
||||
cd ..
|
||||
|
||||
loc="s"
|
||||
read -p "Local (l) or system (s) installation? (Defaults to system) " loc
|
||||
loc="l"
|
||||
read -p "Local (l) or system (s) installation? (Defaults to local) " loc
|
||||
|
||||
if [[ "$loc" == "l" ]]; then
|
||||
if [[ "$loc" != "s" ]]; then
|
||||
if [[ -z "${TEXMFHOME+x}" ]]; then
|
||||
export TEXMFHOME=~/texmf/
|
||||
fi
|
||||
@@ -15,11 +15,8 @@ if [[ "$loc" == "l" ]]; then
|
||||
mkdir -p $TEXMFHOME/tex/latex/janishutz-helpers
|
||||
cp ./janishutz-helpers.sty $TEXMFHOME/tex/latex/janishutz-helpers/
|
||||
else
|
||||
# sudo mkdir -p /usr/share/texmf/tex/latex/janishutz-helpers
|
||||
# sudo cp ./janishutz-helpers.sty /usr/share/texmf/tex/latex/janishutz-helpers/
|
||||
sudo mkdir -p /usr/share/texmf-dist/tex/latex/janishutz-helpers/
|
||||
sudo cp ./janishutz-helpers.sty /usr/share/texmf-dist/tex/latex/janishutz-helpers/
|
||||
sudo chmod -R 777 /usr/share/texmf-dist/tex/latex/janishutz-helpers
|
||||
sudo mkdir -p /usr/share/texmf/tex/latex/janishutz-helpers
|
||||
sudo cp ./janishutz-helpers.sty /usr/share/texmf/tex/latex/janishutz-helpers/
|
||||
echo "Updating file database"
|
||||
sudo texhash
|
||||
fi
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
\NeedsTeXFormat{LaTeX2e}
|
||||
|
||||
|
||||
\ProvidesPackage{janishutz-helpers}[2026-02-19 v1.0.0]
|
||||
\ProvidesPackage{janishutz-helpers}[2026-02-19 v1.0.1]
|
||||
|
||||
% Package imports
|
||||
\RequirePackage[table, dvipsnames]{xcolor}
|
||||
@@ -1080,3 +1080,4 @@
|
||||
\setcounter{table}{0}
|
||||
\setcounter{figure}{0}
|
||||
}
|
||||
\endinput
|
||||
@@ -12,7 +12,7 @@
|
||||
\NeedsTeXFormat{LaTeX2e}
|
||||
|
||||
|
||||
\ProvidesPackage{janishutz-helpers}[2026-02-19 v1.0.0]
|
||||
\ProvidesPackage{janishutz-helpers}[2026-02-19 v1.0.1]
|
||||
|
||||
% Package imports
|
||||
\RequirePackage[table, dvipsnames]{xcolor}
|
||||
@@ -1080,3 +1080,4 @@
|
||||
\setcounter{table}{0}
|
||||
\setcounter{figure}{0}
|
||||
}
|
||||
\endinput
|
||||
Reference in New Issue
Block a user