Update for new ACL template

This commit is contained in:
Filip Gralinski 2021-10-13 13:49:52 +02:00
parent bc198f5912
commit fdf4ea8458
4 changed files with 12 additions and 14 deletions

View File

@ -37,14 +37,13 @@ elif [ "{{ cookiecutter.latex_template }}" = "tacl" ]; then
cp -r _latex-templates/tacl2018v2-template.tex {{cookiecutter.paper_id}}.tex
cp -r _latex-templates/tacl2018v2-template-meta.tex metadata.tex
elif [ "{{ cookiecutter.latex_template }}" = "acl" ]; then
get_files "http://acl2020.org/downloads/acl2020-templates.zip" \
acl2020.sty \
acl_natbib.bst
fix_noexpand_issue acl2020.sty
cp -r _latex-templates/acl2020-template.tex {{cookiecutter.paper_id}}.tex
cp -r _latex-templates/acl2020-template-meta.tex metadata.tex
wget 'https://github.com/acl-org/ACLPUB/blob/master/templates/latex/acl_natbib.bst'
wget 'https://github.com/acl-org/ACLPUB/blob/master/templates/latex/acl.sty'
# fix_noexpand_issue acl2020.sty
cp -r _latex-templates/acl-template.tex {{cookiecutter.paper_id}}.tex
cp -r _latex-templates/acl-template-meta.tex metadata.tex
if [ "{{ cookiecutter.with_appendix }}" = "yes" ]; then
cp -r _latex-templates/acl2020-template-appendix.tex the-appendix.tex
cp -r _latex-templates/acl-template-appendix.tex the-appendix.tex
fi
elif [ "{{ cookiecutter.latex_template }}" = "nle" ]; then
cp -r _latex-templates/nle-template.tex {{cookiecutter.paper_id}}.tex

View File

@ -22,15 +22,14 @@
%%e.agirre@ehu.es or Sergi.Balari@uab.es
%% and that of ACL 08 by Joakim Nivre and Noah Smith
\documentclass[11pt,a4paper]{article}
{% endraw %}
\usepackage[hyperref]{
{{ cookiecutter.latex_template + '2021' if cookiecutter.latex_template == 'eacl' else cookiecutter.latex_template + '2020' }}
}
{% raw %}
\documentclass[11pt]{article}
\usepackage[review]{acl}
\usepackage{times}
\usepackage{latexsym}
\renewcommand{\UrlFont}{\ttfamily\small}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
% This is not strictly necessary, and may be commented out,
% but it will improve the layout of the manuscript,