Compare commits
No commits in common. "master" and "5.5.0" have entirely different histories.
11
CHANGELOG.md
11
CHANGELOG.md
@ -1,15 +1,4 @@
|
||||
|
||||
<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)
|
||||
|
||||
|
12
README.md
12
README.md
@ -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.2
|
||||
* run: `cookiecutter https://git.wmi.amu.edu.pl/filipg/paper-cutter.git --checkout 5.5.2`
|
||||
* 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`
|
||||
|
||||
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.2 --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.0 --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.2
|
||||
* find a paper-cutter tag applicable, say 5.5.0
|
||||
* (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.2 --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.0 --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.2 --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.0 --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
|
||||
|
@ -66,9 +66,10 @@ elif [ "{{ cookiecutter.latex_template }}" = "pw-thesis" ]; then
|
||||
|
||||
cp -r _optional_files/_pw-thesis/* .
|
||||
elif [ "{{ cookiecutter.latex_template }}" = "coling" ]; then
|
||||
get_files "https://coling2025.org/downloads/coling-2025.zip" \
|
||||
coling_natbib.bst \
|
||||
coling.sty
|
||||
get_files "https://lrec-coling-2024.org/wp-content/uploads/2023/10/lrec-latex.zip" \
|
||||
lrec-coling2024-natbib.bst \
|
||||
lrec-coling2024.sty \
|
||||
languageresource.bib
|
||||
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
|
||||
|
5
test/configs/ieee-conf.yml
Normal file
5
test/configs/ieee-conf.yml
Normal file
@ -0,0 +1,5 @@
|
||||
|
||||
|
||||
default_context:
|
||||
latex_template: 'ieee-conf'
|
||||
with_arxiv_package: 'yes'
|
3
test/configs/llncs.yml
Normal file
3
test/configs/llncs.yml
Normal file
@ -0,0 +1,3 @@
|
||||
|
||||
default_context:
|
||||
latex_template: 'llncs'
|
3
test/configs/pw-thesis.yml
Normal file
3
test/configs/pw-thesis.yml
Normal file
@ -0,0 +1,3 @@
|
||||
|
||||
default_context:
|
||||
latex_template: 'pw-thesis'
|
3
test/configs/sigconf.yml
Normal file
3
test/configs/sigconf.yml
Normal file
@ -0,0 +1,3 @@
|
||||
|
||||
default_context:
|
||||
latex_template: 'sigconf'
|
@ -6,5 +6,5 @@ variables:
|
||||
# THIS IS AN UGLY WORK-AROUND
|
||||
include:
|
||||
- project: 'research/paper-cutter'
|
||||
ref: '5.5.2'
|
||||
ref: '5.5.0'
|
||||
file: 'main.yml'
|
||||
|
@ -1,6 +1,6 @@
|
||||
\title{ {{ cookiecutter.paper_title }} }
|
||||
\title{Insert your title}
|
||||
|
||||
\author{ {{cookiecutter.main_contributor_name}} \\
|
||||
\author{First Author \\
|
||||
Affiliation / Address line 1 \\
|
||||
Affiliation / Address line 2 \\
|
||||
Affiliation / Address line 3 \\
|
||||
|
@ -46,16 +46,11 @@
|
||||
\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}
|
||||
|
@ -1,12 +1,9 @@
|
||||
\title{ {{ cookiecutter.paper_title }} }
|
||||
|
||||
\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} \\}
|
||||
\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 %}
|
||||
|
@ -1,33 +1,39 @@
|
||||
{% raw %}
|
||||
% COLING 2025 Example;
|
||||
% LREC-COLING 2024 Example;
|
||||
% LREC Is now using templates similar to the ACL ones.
|
||||
\documentclass[10pt, a4paper]{article}
|
||||
|
||||
\documentclass[11pt]{article}
|
||||
|
||||
\usepackage[review]{coling}
|
||||
\usepackage[review]{lrec-coling2024} % this is the new style
|
||||
|
||||
\input{config}
|
||||
\input{extras}
|
||||
\input{preamble}
|
||||
\input{metadata}
|
||||
|
||||
\usepackage{times}
|
||||
\usepackage{inconsolata}
|
||||
\newcommand\bycite[1]{in~\citet{#1}}
|
||||
|
||||
\newcommand\bycite[1]{by~\citet{#1}}
|
||||
\abstract{
|
||||
\input{abstract}
|
||||
\\ \newline \Keywords{keyword1, keyword2, keyword3} }
|
||||
|
||||
\begin{document}
|
||||
|
||||
\maketitle
|
||||
\begin{abstract}
|
||||
\input{abstract}
|
||||
\end{abstract}
|
||||
\maketitleabstract
|
||||
|
||||
\input{main}
|
||||
|
||||
\section*{References}\label{sec:reference}
|
||||
\nocite{*}
|
||||
\section{Bibliographical 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
|
||||
|
@ -10,11 +10,7 @@ for my $filepath (@ARGV) {
|
||||
|
||||
while (my $line=<$ih>) {
|
||||
while ($line =~ m<\\gonito(?:barescore|score|entry)\{([^\}]+)\}>g) {
|
||||
my $k = $1;
|
||||
|
||||
if ($k ne '#1') {
|
||||
$found{$k} = 1;
|
||||
}
|
||||
$found{$1} = 1;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -12,7 +12,6 @@
|
||||
\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
|
||||
|
@ -100,8 +100,9 @@ then
|
||||
:
|
||||
elif [[ "$latex_template" == "coling" ]]
|
||||
then
|
||||
copy_to_project coling_natbib.bst \
|
||||
coling.sty
|
||||
copy_to_project lrec-coling2024-natbib.bst \
|
||||
lrec-coling2024.sty \
|
||||
languageresource.bib
|
||||
elif [[ "$latex_template" == "llncs" ]]
|
||||
then
|
||||
copy_to_project llncs.cls splncs04.bst
|
||||
|
@ -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@git.overleaf.com/123456789ec0830001af836f),"
|
||||
echo "(something like https://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.5.2 --output-dir .. --config-file .cookiecutter.yml --no-input --overwrite-if-exists
|
||||
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
|
||||
|
||||
git add --all
|
||||
git commit -m 'Bring back all the files'
|
||||
|
@ -11,6 +11,17 @@ 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}
|
||||
|
Loading…
Reference in New Issue
Block a user