Skip to content

Commit

Permalink
feat: allow changing style file name
Browse files Browse the repository at this point in the history
  • Loading branch information
sanjayankur31 committed May 2, 2022
1 parent d924bc1 commit 48a0ddb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion calliope.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ entry_to_compile="meh"
entry_to_edit="meh"
entry_to_view="meh"
style_file="research_diary.sty"
package_name=$(basename $style_file ".sty")
other_files_path="other_files/"
images_files_path="images/"
search_command="rg"
Expand Down Expand Up @@ -287,7 +288,7 @@ create_anthology ()
echo "\newcommand{\workingDate}{\textsc{$year_to_compile}}" >> $FileName
echo "\newcommand{\userName}{$author}" >> $FileName
echo "\newcommand{\projectName}{$ProjectName}" >> $FileName
echo "\usepackage{research_diary}" >> $FileName
echo "\usepackage{$package_name}" >> $FileName
echo " " >> $FileName
echo "\title{$ProjectName diary - $year_to_compile}" >> $FileName
echo "\author{$author}" >> $FileName
Expand Down

0 comments on commit 48a0ddb

Please sign in to comment.