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