Compare commits
14 Commits
Author | SHA1 | Date | |
---|---|---|---|
e826bcdb00 | |||
7a3c1bb4f0 | |||
e3858113c3 | |||
f7f35ae41a | |||
7da7e0c2cb | |||
aed83dd9c9 | |||
bbaff01d29 | |||
1368a229f5 | |||
cc0c72fdf3 | |||
9e16d034f2 | |||
b303d00684 | |||
ea9d189175 | |||
4bbe26b623 | |||
cf1ab1f1a2 |
18
CHANGELOG.md
18
CHANGELOG.md
@ -1,4 +1,22 @@
|
|||||||
|
|
||||||
|
<a name="5.6.0"></a>
|
||||||
|
## 5.6.0 (2025-01-02)
|
||||||
|
|
||||||
|
Enhancements:
|
||||||
|
|
||||||
|
* Add an optional presentation
|
||||||
|
|
||||||
|
<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>
|
<a name="5.5.0"></a>
|
||||||
## 5.5.0 (2023-10-03)
|
## 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:
|
In order to generate a project from the template:
|
||||||
|
|
||||||
* install cookiecutter
|
* 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
|
* find a paper-cutter tag applicable (usually the latest tag listed at <https://git.wmi.amu.edu.pl/filipg/paper-cutter/releases>), say 5.6.0
|
||||||
* run: `cookiecutter https://git.wmi.amu.edu.pl/filipg/paper-cutter.git --checkout 5.5.0`
|
* run: `cookiecutter https://git.wmi.amu.edu.pl/filipg/paper-cutter.git --checkout 5.6.0`
|
||||||
|
|
||||||
You will be asked to choose a LaTeX template, at the moment the
|
You will be asked to choose a LaTeX template, at the moment the
|
||||||
following templates are handled:
|
following templates are handled:
|
||||||
@ -59,7 +59,7 @@ git remote set-url origin YOUR-GIT-REPO
|
|||||||
password: `git config credential.helper "cache --timeout=10000000"`
|
password: `git config credential.helper "cache --timeout=10000000"`
|
||||||
8. Unfortunately, Overleaf will discard hidden files (`.*`) when a zip
|
8. Unfortunately, Overleaf will discard hidden files (`.*`) when a zip
|
||||||
is uploaded, also file permissions will be somewhat broken
|
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.6.0 --output-dir .. --config-file .cookiecutter.yml --no-input --overwrite-if-exists`)
|
||||||
10. Re-commit the files (including recovered `.*` files).
|
10. Re-commit the files (including recovered `.*` files).
|
||||||
11. Push the repo to Overleaf (fortunately, the `.*` will be treated
|
11. Push the repo to Overleaf (fortunately, the `.*` will be treated
|
||||||
correctly when this is done by git): `git push overleaf master`
|
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.
|
To keep your codebase in sync with template you need to occasionally reapply the template.
|
||||||
Here's how:
|
Here's how:
|
||||||
|
|
||||||
* find a paper-cutter tag applicable, say 5.5.0
|
* find a paper-cutter tag applicable, say 5.6.0
|
||||||
* (do *not* refer to master in your projects!)
|
* (do *not* refer to master in your projects!)
|
||||||
* go to project root
|
* 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.6.0 --output-dir .. --config-file .cookiecutter.yml --no-input --overwrite-if-exists`
|
||||||
* check changes with git
|
* check changes with git
|
||||||
|
|
||||||
Editing the files
|
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.
|
If not, get in touch with Filip Graliński.
|
||||||
2. Commit or stash any uncommitted changes.
|
2. Commit or stash any uncommitted changes.
|
||||||
3. Change the `latex_template` value accordingly in the `.cookiecutter.yml` file. Commit the 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.6.0 --output-dir .. --config-file .cookiecutter.yml --no-input --overwrite-if-exists`).
|
||||||
5. Compare `metadata.tex` against the right metadata template file
|
5. Compare `metadata.tex` against the right metadata template file
|
||||||
(`*/*-template-meta.tex` in `_latex-templates/`) and make any fixes
|
(`*/*-template-meta.tex` in `_latex-templates/`) and make any fixes
|
||||||
needed. This is the only thing that needs to be done manually
|
needed. This is the only thing that needs to be done manually
|
||||||
|
@ -17,5 +17,6 @@
|
|||||||
"supervisor": "none",
|
"supervisor": "none",
|
||||||
"album_no": "none",
|
"album_no": "none",
|
||||||
"beeminder_support": "no",
|
"beeminder_support": "no",
|
||||||
"contribution_declaration": "{{ 'yes' if cookiecutter.latex_template != 'pw-thesis' and cookiecutter.latex_template != 'amu' else 'no' }}"
|
"contribution_declaration": "{{ 'yes' if cookiecutter.latex_template != 'pw-thesis' and cookiecutter.latex_template != 'amu' else 'no' }}",
|
||||||
|
"with_presentation": "no"
|
||||||
}
|
}
|
||||||
|
@ -66,10 +66,9 @@ elif [ "{{ cookiecutter.latex_template }}" = "pw-thesis" ]; then
|
|||||||
|
|
||||||
cp -r _optional_files/_pw-thesis/* .
|
cp -r _optional_files/_pw-thesis/* .
|
||||||
elif [ "{{ cookiecutter.latex_template }}" = "coling" ]; then
|
elif [ "{{ cookiecutter.latex_template }}" = "coling" ]; then
|
||||||
get_files "https://lrec-coling-2024.org/wp-content/uploads/2023/10/lrec-latex.zip" \
|
get_files "https://coling2025.org/downloads/coling-2025.zip" \
|
||||||
lrec-coling2024-natbib.bst \
|
coling_natbib.bst \
|
||||||
lrec-coling2024.sty \
|
coling.sty
|
||||||
languageresource.bib
|
|
||||||
cp -r _latex-templates/coling-template.tex {{cookiecutter.paper_id}}.tex
|
cp -r _latex-templates/coling-template.tex {{cookiecutter.paper_id}}.tex
|
||||||
cp -r _latex-templates/coling-template-meta.tex metadata.tex
|
cp -r _latex-templates/coling-template-meta.tex metadata.tex
|
||||||
elif [ "{{ cookiecutter.latex_template }}" = "llncs" ]; then
|
elif [ "{{ cookiecutter.latex_template }}" = "llncs" ]; then
|
||||||
@ -156,6 +155,10 @@ if [ "{{ cookiecutter.contribution_declaration }}" = "yes" ]; then
|
|||||||
cp -r _optional_files/_contribution_declaration/* .
|
cp -r _optional_files/_contribution_declaration/* .
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ "{{ cookiecutter.with_presentation }}" = "yes" ]; then
|
||||||
|
cp -r _optional_files/_presentation/presentation.tex {{cookiecutter.paper_id}}-presentation.tex
|
||||||
|
fi
|
||||||
|
|
||||||
rm -rf _latex-templates _optional_files
|
rm -rf _latex-templates _optional_files
|
||||||
|
|
||||||
if [ -e .git ]; then
|
if [ -e .git ]; then
|
||||||
|
@ -1,5 +0,0 @@
|
|||||||
|
|
||||||
|
|
||||||
default_context:
|
|
||||||
latex_template: 'ieee-conf'
|
|
||||||
with_arxiv_package: 'yes'
|
|
@ -1,3 +0,0 @@
|
|||||||
|
|
||||||
default_context:
|
|
||||||
latex_template: 'llncs'
|
|
@ -1,3 +0,0 @@
|
|||||||
|
|
||||||
default_context:
|
|
||||||
latex_template: 'pw-thesis'
|
|
@ -1,3 +0,0 @@
|
|||||||
|
|
||||||
default_context:
|
|
||||||
latex_template: 'sigconf'
|
|
@ -18,3 +18,4 @@ default_context:
|
|||||||
album_no: '{{ cookiecutter.album_no }}'
|
album_no: '{{ cookiecutter.album_no }}'
|
||||||
beeminder_support: '{{ cookiecutter.beeminder_support }}'
|
beeminder_support: '{{ cookiecutter.beeminder_support }}'
|
||||||
contribution_declaration: '{{ cookiecutter.contribution_declaration }}'
|
contribution_declaration: '{{ cookiecutter.contribution_declaration }}'
|
||||||
|
contribution_declaration: '{{ cookiecutter.with_presentation }}'
|
||||||
|
1
{{cookiecutter.paper_repo_name}}/.gitignore
vendored
1
{{cookiecutter.paper_repo_name}}/.gitignore
vendored
@ -153,6 +153,7 @@ vcs.xml
|
|||||||
*.run.xml
|
*.run.xml
|
||||||
/auto
|
/auto
|
||||||
{{cookiecutter.paper_id}}.pdf
|
{{cookiecutter.paper_id}}.pdf
|
||||||
|
{{cookiecutter.paper_id}}-presentation.pdf
|
||||||
{{cookiecutter.paper_id}}.zip
|
{{cookiecutter.paper_id}}.zip
|
||||||
autozoil-log.txt
|
autozoil-log.txt
|
||||||
stats.txt
|
stats.txt
|
||||||
|
@ -6,5 +6,5 @@ variables:
|
|||||||
# THIS IS AN UGLY WORK-AROUND
|
# THIS IS AN UGLY WORK-AROUND
|
||||||
include:
|
include:
|
||||||
- project: 'research/paper-cutter'
|
- project: 'research/paper-cutter'
|
||||||
ref: '5.5.0'
|
ref: '5.6.0'
|
||||||
file: 'main.yml'
|
file: 'main.yml'
|
||||||
|
@ -7,7 +7,7 @@ HAS_APPENDIX={{cookiecutter.with_appendix}}
|
|||||||
LATEX_TEMPLATE={{cookiecutter.latex_template}}
|
LATEX_TEMPLATE={{cookiecutter.latex_template}}
|
||||||
WITH_ARXIV_PACKAGE={{cookiecutter.with_arxiv_package}}
|
WITH_ARXIV_PACKAGE={{cookiecutter.with_arxiv_package}}
|
||||||
|
|
||||||
CONTENT_TEX_SOURCES=$(filter-out $(PAPER_ID).tex config.tex extras.tex metadata.tex preamble.tex the-appendix.tex, $(shell find . -name '*.tex'))
|
CONTENT_TEX_SOURCES=$(filter-out $(PAPER_ID).tex $(PAPER_ID)-presentation.tex config.tex extras.tex metadata.tex preamble.tex the-appendix.tex, $(shell find . -name '*.tex'))
|
||||||
|
|
||||||
CURRENT_DIR=$(shell pwd)
|
CURRENT_DIR=$(shell pwd)
|
||||||
AUTOZOIL_DIR?=/opt/autozoil
|
AUTOZOIL_DIR?=/opt/autozoil
|
||||||
@ -70,6 +70,13 @@ $(PAPER_ID).pdf: $(PAPER_ID).tex preamble.tex metadata.tex $(CONTENT_TEX_SOURCES
|
|||||||
pdflatex $<
|
pdflatex $<
|
||||||
pdflatex $<
|
pdflatex $<
|
||||||
|
|
||||||
|
{% if cookiecutter.with_presentation == 'yes' %}
|
||||||
|
$(PAPER_ID)-presentation.pdf: $(PAPER_ID)-presentation.tex
|
||||||
|
pdflatex $<
|
||||||
|
pdflatex $<
|
||||||
|
pdflatex $<
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
# to be copied and pasted as plain text (without LaTeX stuff)
|
# to be copied and pasted as plain text (without LaTeX stuff)
|
||||||
abstract.txt: abstract.tex
|
abstract.txt: abstract.tex
|
||||||
cat $< | perl -pne 's/noqa\{[^}]+\}//g' | detex > $@
|
cat $< | perl -pne 's/noqa\{[^}]+\}//g' | detex > $@
|
||||||
|
@ -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 1 \\
|
||||||
Affiliation / Address line 2 \\
|
Affiliation / Address line 2 \\
|
||||||
Affiliation / Address line 3 \\
|
Affiliation / Address line 3 \\
|
||||||
|
@ -46,11 +46,16 @@
|
|||||||
\newcommand\BibTeX{B\textsc{ib}\TeX}
|
\newcommand\BibTeX{B\textsc{ib}\TeX}
|
||||||
\newcommand\bycite[1]{by~\citet{#1}}
|
\newcommand\bycite[1]{by~\citet{#1}}
|
||||||
|
|
||||||
|
\usepackage{graphicx}
|
||||||
|
|
||||||
\input{config}
|
\input{config}
|
||||||
\input{extras}
|
\input{extras}
|
||||||
\input{preamble}
|
\input{preamble}
|
||||||
\input{metadata}
|
\input{metadata}
|
||||||
|
|
||||||
|
\usepackage{times}
|
||||||
|
\usepackage{inconsolata}
|
||||||
|
|
||||||
\begin{document}
|
\begin{document}
|
||||||
\maketitle
|
\maketitle
|
||||||
\begin{abstract}
|
\begin{abstract}
|
||||||
|
@ -1,9 +1,12 @@
|
|||||||
\title{ {{ cookiecutter.paper_title }} }
|
\title{ {{ cookiecutter.paper_title }} }
|
||||||
|
|
||||||
\name{ {{cookiecutter.main_contributor_name}} }
|
\author{ {{cookiecutter.main_contributor_name}} \\
|
||||||
{% raw %}
|
Affiliation / Address line 1 \\
|
||||||
\address{Affiliation1, Affiliation2, Affiliation3 \\
|
Affiliation / Address line 2 \\
|
||||||
Address1, Address2, Address3 \\
|
Affiliation / Address line 3 \\
|
||||||
author1@xxx.yy, author2@zzz.edu, author3@hhh.com\\
|
\texttt{email@domain} \\\And
|
||||||
\{author1, author5, author9\}@abc.org\\}
|
Second Author \\
|
||||||
{% endraw %}
|
Affiliation / Address line 1 \\
|
||||||
|
Affiliation / Address line 2 \\
|
||||||
|
Affiliation / Address line 3 \\
|
||||||
|
\texttt{email@domain} \\}
|
||||||
|
@ -1,39 +1,33 @@
|
|||||||
{% raw %}
|
{% raw %}
|
||||||
% LREC-COLING 2024 Example;
|
% COLING 2025 Example;
|
||||||
% LREC Is now using templates similar to the ACL ones.
|
|
||||||
\documentclass[10pt, a4paper]{article}
|
|
||||||
|
|
||||||
\usepackage[review]{lrec-coling2024} % this is the new style
|
\documentclass[11pt]{article}
|
||||||
|
|
||||||
|
\usepackage[review]{coling}
|
||||||
|
|
||||||
\input{config}
|
\input{config}
|
||||||
\input{extras}
|
\input{extras}
|
||||||
\input{preamble}
|
\input{preamble}
|
||||||
\input{metadata}
|
\input{metadata}
|
||||||
|
|
||||||
\newcommand\bycite[1]{in~\citet{#1}}
|
\usepackage{times}
|
||||||
|
\usepackage{inconsolata}
|
||||||
|
|
||||||
\abstract{
|
\newcommand\bycite[1]{by~\citet{#1}}
|
||||||
\input{abstract}
|
|
||||||
\\ \newline \Keywords{keyword1, keyword2, keyword3} }
|
|
||||||
|
|
||||||
\begin{document}
|
\begin{document}
|
||||||
|
|
||||||
\maketitleabstract
|
\maketitle
|
||||||
|
\begin{abstract}
|
||||||
|
\input{abstract}
|
||||||
|
\end{abstract}
|
||||||
|
|
||||||
\input{main}
|
\input{main}
|
||||||
|
|
||||||
\nocite{*}
|
\section*{References}\label{sec:reference}
|
||||||
\section{Bibliographical References}\label{sec:reference}
|
|
||||||
|
|
||||||
\bibliographystyle{lrec-coling2024-natbib}
|
|
||||||
\bibliography{bibliography}
|
\bibliography{bibliography}
|
||||||
|
|
||||||
\section{Language Resource References}
|
|
||||||
\label{lr:ref}
|
|
||||||
\bibliographystylelanguageresource{lrec-coling2024-natbib}
|
|
||||||
\bibliographylanguageresource{languageresource}
|
|
||||||
|
|
||||||
|
|
||||||
\end{document}
|
\end{document}
|
||||||
%%% Local Variables:
|
%%% Local Variables:
|
||||||
%%% mode: latex
|
%%% mode: latex
|
||||||
|
@ -0,0 +1,15 @@
|
|||||||
|
\documentclass{beamer}
|
||||||
|
|
||||||
|
\title{ {{cookiecutter.paper_title}} }
|
||||||
|
%\subtitle{Using Beamer}
|
||||||
|
\author{ {{cookiecutter.main_contributor_name}} }
|
||||||
|
\institute{INSERT INSTITUTE}
|
||||||
|
\date{INSERT DATE}
|
||||||
|
|
||||||
|
\begin{document}
|
||||||
|
|
||||||
|
\begin{frame}
|
||||||
|
\titlepage
|
||||||
|
\end{frame}
|
||||||
|
|
||||||
|
\end{document}
|
@ -10,7 +10,11 @@ for my $filepath (@ARGV) {
|
|||||||
|
|
||||||
while (my $line=<$ih>) {
|
while (my $line=<$ih>) {
|
||||||
while ($line =~ m<\\gonito(?:barescore|score|entry)\{([^\}]+)\}>g) {
|
while ($line =~ m<\\gonito(?:barescore|score|entry)\{([^\}]+)\}>g) {
|
||||||
$found{$1} = 1;
|
my $k = $1;
|
||||||
|
|
||||||
|
if ($k ne '#1') {
|
||||||
|
$found{$k} = 1;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -12,6 +12,7 @@
|
|||||||
\usepackage{graphicx}
|
\usepackage{graphicx}
|
||||||
\usepackage{booktabs}
|
\usepackage{booktabs}
|
||||||
\usepackage{latexsym}
|
\usepackage{latexsym}
|
||||||
|
\usepackage{microtype}
|
||||||
|
|
||||||
% so that footnotes in tables would work
|
% so that footnotes in tables would work
|
||||||
% https://tex.stackexchange.com/questions/109467/footnote-in-tabular-environment
|
% https://tex.stackexchange.com/questions/109467/footnote-in-tabular-environment
|
||||||
|
@ -100,9 +100,8 @@ then
|
|||||||
:
|
:
|
||||||
elif [[ "$latex_template" == "coling" ]]
|
elif [[ "$latex_template" == "coling" ]]
|
||||||
then
|
then
|
||||||
copy_to_project lrec-coling2024-natbib.bst \
|
copy_to_project coling_natbib.bst \
|
||||||
lrec-coling2024.sty \
|
coling.sty
|
||||||
languageresource.bib
|
|
||||||
elif [[ "$latex_template" == "llncs" ]]
|
elif [[ "$latex_template" == "llncs" ]]
|
||||||
then
|
then
|
||||||
copy_to_project llncs.cls splncs04.bst
|
copy_to_project llncs.cls splncs04.bst
|
||||||
|
@ -27,7 +27,7 @@ echo "then upload $source_pack from here ($(pwd)/$source_pack)"
|
|||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
echo "When it is uploaded, click Menu / Git, copy the URL"
|
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"
|
echo "paste here and press ENTER"
|
||||||
|
|
||||||
read
|
read
|
||||||
@ -56,7 +56,7 @@ cp ../$backup_dir/.cookiecutter.yml .
|
|||||||
git add .cookiecutter.yml
|
git add .cookiecutter.yml
|
||||||
git commit -m 'Back cookiecutter config'
|
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.6.0 --output-dir .. --config-file .cookiecutter.yml --no-input --overwrite-if-exists
|
||||||
|
|
||||||
git add --all
|
git add --all
|
||||||
git commit -m 'Bring back all the files'
|
git commit -m 'Bring back all the files'
|
||||||
|
@ -11,17 +11,6 @@ See the experiments described \bycite{gonito2016}.
|
|||||||
Please put your content here.
|
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' %}
|
{% if cookiecutter.latex_template != 'pw-thesis' and cookiecutter.latex_template != 'amu' %}
|
||||||
\section{Yet another section}
|
\section{Yet another section}
|
||||||
|
Loading…
Reference in New Issue
Block a user