Fix update for MacOS
This commit is contained in:
parent
0a98a5a126
commit
b60dcc36ff
@ -128,6 +128,7 @@ MacOS Requirements
|
||||
------------
|
||||
|
||||
```
|
||||
brew install cookiecutter
|
||||
brew install texlive
|
||||
brew install biber
|
||||
brew install pyyaml
|
||||
|
@ -25,7 +25,7 @@ fix_noexpand_issue()
|
||||
{
|
||||
# see https://tex.stackexchange.com/questions/487428/patch-failed-in-emnlp-style-template
|
||||
file_to_be_patched="$1"
|
||||
sed -i 's|{\\errmessage{\\noexpand patch failed}}|{}|g' "$1"
|
||||
sed -i~ 's|{\\errmessage{\\noexpand patch failed}}|{}|g' "$1"
|
||||
}
|
||||
|
||||
if [ "{{ cookiecutter.latex_template }}" = "vanilla" ]; then
|
||||
@ -114,7 +114,7 @@ elif [ "{{ cookiecutter.latex_template }}" == "ieee-access" ]; then
|
||||
mkdir -p images
|
||||
cp -r _latex-templates/ieee-access-template-photo.png images/sample-photo.png
|
||||
# not compatible with tikz (and todonotes which is based on tikz)
|
||||
sed -i 's/\\usepackage\[textsize=tiny\]{todonotes}/\\usepackage{todo}/' extras.tex
|
||||
sed -i~ 's/\\usepackage\[textsize=tiny\]{todonotes}/\\usepackage{todo}/' extras.tex
|
||||
elif [ "{{ cookiecutter.latex_template }}" == "ieee-conf" ]; then
|
||||
cp -r _latex-templates/ieee-conf-template.tex {{cookiecutter.paper_id}}.tex
|
||||
cp -r _latex-templates/ieee-conf-template-meta.tex metadata.tex
|
||||
|
Loading…
Reference in New Issue
Block a user