Compare commits

...

11 Commits

Author SHA1 Message Date
f7f35ae41a Update ACL template 2024-09-20 20:29:16 +02:00
7da7e0c2cb Fix ACL template 2024-09-20 20:25:50 +02:00
aed83dd9c9 Fix message 2024-09-20 20:24:21 +02:00
bbaff01d29 Bump up 2024-09-09 19:27:35 +02:00
1368a229f5 remove unwanted tests 2024-09-09 19:22:42 +02:00
cc0c72fdf3 fix coling biblio 2024-09-09 18:31:32 +02:00
9e16d034f2 Switch off gonito reference 2024-09-09 18:22:24 +02:00
b303d00684 Update Coling 2024-09-09 18:19:50 +02:00
ea9d189175 fix gonito extraction 2024-09-07 11:43:19 +02:00
4bbe26b623 Bump version (fix) 2023-10-03 21:21:02 +02:00
cf1ab1f1a2 Bump up version cntd. 2023-10-03 20:54:59 +02:00
17 changed files with 60 additions and 69 deletions

View File

@ -1,4 +1,15 @@
<a name="5.5.2"></a>
## 5.5.2 (2024-09-09)
Updates:
* Update Coling template
Misc:
* Switch off gonito scores in the example
<a name="5.5.0"></a>
## 5.5.0 (2023-10-03)

View File

@ -6,8 +6,8 @@ The template itself is in the `{{cookiecutter.paper_id}}-paper`.
In order to generate a project from the template:
* install cookiecutter
* find a paper-cutter tag applicable (usually the latest tag listed at <https://git.wmi.amu.edu.pl/filipg/paper-cutter/releases>), say 5.5.0
* run: `cookiecutter https://git.wmi.amu.edu.pl/filipg/paper-cutter.git --checkout 5.5.0`
* find a paper-cutter tag applicable (usually the latest tag listed at <https://git.wmi.amu.edu.pl/filipg/paper-cutter/releases>), say 5.5.2
* run: `cookiecutter https://git.wmi.amu.edu.pl/filipg/paper-cutter.git --checkout 5.5.2`
You will be asked to choose a LaTeX template, at the moment the
following templates are handled:
@ -59,7 +59,7 @@ git remote set-url origin YOUR-GIT-REPO
password: `git config credential.helper "cache --timeout=10000000"`
8. Unfortunately, Overleaf will discard hidden files (`.*`) when a zip
is uploaded, also file permissions will be somewhat broken
9. … so you need to copy `.cookiecutter.yml` file and re-apply the template (`cookiecutter https://git.wmi.amu.edu.pl/filipg/paper-cutter.git --checkout 5.5.0 --output-dir .. --config-file .cookiecutter.yml --no-input --overwrite-if-exists`)
9. … so you need to copy `.cookiecutter.yml` file and re-apply the template (`cookiecutter https://git.wmi.amu.edu.pl/filipg/paper-cutter.git --checkout 5.5.2 --output-dir .. --config-file .cookiecutter.yml --no-input --overwrite-if-exists`)
10. Re-commit the files (including recovered `.*` files).
11. Push the repo to Overleaf (fortunately, the `.*` will be treated
correctly when this is done by git): `git push overleaf master`
@ -73,10 +73,10 @@ Updating package with updated template
To keep your codebase in sync with template you need to occasionally reapply the template.
Here's how:
* find a paper-cutter tag applicable, say 5.5.0
* find a paper-cutter tag applicable, say 5.5.2
* (do *not* refer to master in your projects!)
* go to project root
* run: `cookiecutter https://git.wmi.amu.edu.pl/filipg/paper-cutter.git --checkout 5.5.0 --output-dir .. --config-file .cookiecutter.yml --no-input --overwrite-if-exists`
* run: `cookiecutter https://git.wmi.amu.edu.pl/filipg/paper-cutter.git --checkout 5.5.2 --output-dir .. --config-file .cookiecutter.yml --no-input --overwrite-if-exists`
* check changes with git
Editing the files
@ -99,7 +99,7 @@ Switching to another conference or journal template is easy.
If not, get in touch with Filip Graliński.
2. Commit or stash any uncommitted changes.
3. Change the `latex_template` value accordingly in the `.cookiecutter.yml` file. Commit the changes.
4. Re-run the template (as if updating, see above: `cookiecutter https://git.wmi.amu.edu.pl/filipg/paper-cutter.git --checkout 5.5.0 --output-dir .. --config-file .cookiecutter.yml --no-input --overwrite-if-exists`).
4. Re-run the template (as if updating, see above: `cookiecutter https://git.wmi.amu.edu.pl/filipg/paper-cutter.git --checkout 5.5.2 --output-dir .. --config-file .cookiecutter.yml --no-input --overwrite-if-exists`).
5. Compare `metadata.tex` against the right metadata template file
(`*/*-template-meta.tex` in `_latex-templates/`) and make any fixes
needed. This is the only thing that needs to be done manually

View File

@ -66,10 +66,9 @@ elif [ "{{ cookiecutter.latex_template }}" = "pw-thesis" ]; then
cp -r _optional_files/_pw-thesis/* .
elif [ "{{ cookiecutter.latex_template }}" = "coling" ]; then
get_files "https://lrec-coling-2024.org/wp-content/uploads/2023/10/lrec-latex.zip" \
lrec-coling2024-natbib.bst \
lrec-coling2024.sty \
languageresource.bib
get_files "https://coling2025.org/downloads/coling-2025.zip" \
coling_natbib.bst \
coling.sty
cp -r _latex-templates/coling-template.tex {{cookiecutter.paper_id}}.tex
cp -r _latex-templates/coling-template-meta.tex metadata.tex
elif [ "{{ cookiecutter.latex_template }}" = "llncs" ]; then

View File

@ -1,5 +0,0 @@
default_context:
latex_template: 'ieee-conf'
with_arxiv_package: 'yes'

View File

@ -1,3 +0,0 @@
default_context:
latex_template: 'llncs'

View File

@ -1,3 +0,0 @@
default_context:
latex_template: 'pw-thesis'

View File

@ -1,3 +0,0 @@
default_context:
latex_template: 'sigconf'

View File

@ -6,5 +6,5 @@ variables:
# THIS IS AN UGLY WORK-AROUND
include:
- project: 'research/paper-cutter'
ref: '5.5.0'
ref: '5.5.2'
file: 'main.yml'

View File

@ -1,6 +1,6 @@
\title{Insert your title}
\title{ {{ cookiecutter.paper_title }} }
\author{First Author \\
\author{ {{cookiecutter.main_contributor_name}} \\
Affiliation / Address line 1 \\
Affiliation / Address line 2 \\
Affiliation / Address line 3 \\

View File

@ -46,11 +46,16 @@
\newcommand\BibTeX{B\textsc{ib}\TeX}
\newcommand\bycite[1]{by~\citet{#1}}
\usepackage{graphicx}
\input{config}
\input{extras}
\input{preamble}
\input{metadata}
\usepackage{times}
\usepackage{inconsolata}
\begin{document}
\maketitle
\begin{abstract}

View File

@ -1,9 +1,12 @@
\title{ {{ cookiecutter.paper_title }} }
\name{ {{cookiecutter.main_contributor_name}} }
{% raw %}
\address{Affiliation1, Affiliation2, Affiliation3 \\
Address1, Address2, Address3 \\
author1@xxx.yy, author2@zzz.edu, author3@hhh.com\\
\{author1, author5, author9\}@abc.org\\}
{% endraw %}
\author{ {{cookiecutter.main_contributor_name}} \\
Affiliation / Address line 1 \\
Affiliation / Address line 2 \\
Affiliation / Address line 3 \\
\texttt{email@domain} \\\And
Second Author \\
Affiliation / Address line 1 \\
Affiliation / Address line 2 \\
Affiliation / Address line 3 \\
\texttt{email@domain} \\}

View File

@ -1,39 +1,33 @@
{% raw %}
% LREC-COLING 2024 Example;
% LREC Is now using templates similar to the ACL ones.
\documentclass[10pt, a4paper]{article}
% COLING 2025 Example;
\usepackage[review]{lrec-coling2024} % this is the new style
\documentclass[11pt]{article}
\usepackage[review]{coling}
\input{config}
\input{extras}
\input{preamble}
\input{metadata}
\newcommand\bycite[1]{in~\citet{#1}}
\usepackage{times}
\usepackage{inconsolata}
\abstract{
\input{abstract}
\\ \newline \Keywords{keyword1, keyword2, keyword3} }
\newcommand\bycite[1]{by~\citet{#1}}
\begin{document}
\maketitleabstract
\maketitle
\begin{abstract}
\input{abstract}
\end{abstract}
\input{main}
\nocite{*}
\section{Bibliographical References}\label{sec:reference}
\section*{References}\label{sec:reference}
\bibliographystyle{lrec-coling2024-natbib}
\bibliography{bibliography}
\section{Language Resource References}
\label{lr:ref}
\bibliographystylelanguageresource{lrec-coling2024-natbib}
\bibliographylanguageresource{languageresource}
\end{document}
%%% Local Variables:
%%% mode: latex

View File

@ -10,7 +10,11 @@ for my $filepath (@ARGV) {
while (my $line=<$ih>) {
while ($line =~ m<\\gonito(?:barescore|score|entry)\{([^\}]+)\}>g) {
$found{$1} = 1;
my $k = $1;
if ($k ne '#1') {
$found{$k} = 1;
}
}
}

View File

@ -12,6 +12,7 @@
\usepackage{graphicx}
\usepackage{booktabs}
\usepackage{latexsym}
\usepackage{microtype}
% so that footnotes in tables would work
% https://tex.stackexchange.com/questions/109467/footnote-in-tabular-environment

View File

@ -100,9 +100,8 @@ then
:
elif [[ "$latex_template" == "coling" ]]
then
copy_to_project lrec-coling2024-natbib.bst \
lrec-coling2024.sty \
languageresource.bib
copy_to_project coling_natbib.bst \
coling.sty
elif [[ "$latex_template" == "llncs" ]]
then
copy_to_project llncs.cls splncs04.bst

View File

@ -27,7 +27,7 @@ echo "then upload $source_pack from here ($(pwd)/$source_pack)"
echo ""
echo "When it is uploaded, click Menu / Git, copy the URL"
echo "(something like https://git.overleaf.com/123456789ec0830001af836f),"
echo "(something like https://git@git.overleaf.com/123456789ec0830001af836f),"
echo "paste here and press ENTER"
read
@ -56,7 +56,7 @@ cp ../$backup_dir/.cookiecutter.yml .
git add .cookiecutter.yml
git commit -m 'Back cookiecutter config'
cookiecutter https://git.wmi.amu.edu.pl/filipg/paper-cutter.git --checkout 5.4.6 --output-dir .. --config-file .cookiecutter.yml --no-input --overwrite-if-exists
cookiecutter https://git.wmi.amu.edu.pl/filipg/paper-cutter.git --checkout 5.5.2 --output-dir .. --config-file .cookiecutter.yml --no-input --overwrite-if-exists
git add --all
git commit -m 'Bring back all the files'

View File

@ -11,17 +11,6 @@ See the experiments described \bycite{gonito2016}.
Please put your content here.
{% if cookiecutter.latex_template != 'pw-thesis' and cookiecutter.latex_template != 'amu' %}
\subsection{Gonito}
{% else %}
\section{Gonito}
{% endif %}
Gonito submission should be referenced like this
\gonitoscore{6ab4979e4629c5559feba452b7ca74c0cac89ebb}%
\footnote{Reference codes to repositories stored at
Gonito.net~\cite{gonito2016} are given in curly brackets. Such a~repository may be also accessed by going
to \url{http://gonito.net/q} and entering the code there.}
{% if cookiecutter.latex_template != 'pw-thesis' and cookiecutter.latex_template != 'amu' %}
\section{Yet another section}