Compare commits
11 Commits
Author | SHA1 | Date | |
---|---|---|---|
897bc30816 | |||
c3749cb955 | |||
5e7845c386 | |||
2fc6b6a33c | |||
b95c2f6511 | |||
4a8456caeb | |||
947716ccb6 | |||
69dacfe0bc | |||
d8028a267e | |||
de07ea93f6 | |||
9ce4630570 |
209
CHANGELOG.md
209
CHANGELOG.md
@ -1,213 +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)
|
|
||||||
|
|
||||||
Updates:
|
|
||||||
|
|
||||||
* Update Coling template
|
|
||||||
|
|
||||||
Fixes:
|
|
||||||
|
|
||||||
* Remove some broken tests
|
|
||||||
|
|
||||||
<a name="5.4.6"></a>
|
|
||||||
## 5.4.6 (2022-12-20)
|
|
||||||
|
|
||||||
Bug fixes:
|
|
||||||
|
|
||||||
* Fix setting up Overleaf
|
|
||||||
|
|
||||||
<a name="5.4.5"></a>
|
|
||||||
## 5.4.5 (2022-12-20)
|
|
||||||
|
|
||||||
Improvements:
|
|
||||||
|
|
||||||
* fill in some fields in LLNCS
|
|
||||||
* add test for amu-en
|
|
||||||
|
|
||||||
<a name="5.4.4"></a>
|
|
||||||
## 5.4.4 (2022-12-19)
|
|
||||||
|
|
||||||
Bug fixes:
|
|
||||||
|
|
||||||
* update LLNCS URL
|
|
||||||
|
|
||||||
<a name="5.4.3"></a>
|
|
||||||
## 5.4.3 (2022-11-09)
|
|
||||||
|
|
||||||
Bug fixes:
|
|
||||||
|
|
||||||
* Fix updating on MacOS
|
|
||||||
|
|
||||||
<a name="5.4.2"></a>
|
|
||||||
## 5.4.2 (2022-11-09)
|
|
||||||
|
|
||||||
Bug fixes:
|
|
||||||
|
|
||||||
* Fix running on MacOS
|
|
||||||
* Download ACM template correctly
|
|
||||||
* Remove deprecated egrep/fgrep
|
|
||||||
|
|
||||||
<a name="5.4.1"></a>
|
|
||||||
## 5.4.1 (2022-10-29)
|
|
||||||
|
|
||||||
Bug fixes:
|
|
||||||
|
|
||||||
* Fix SCITEPRESS template
|
|
||||||
|
|
||||||
<a name="5.4.0"></a>
|
|
||||||
## 5.4.0 (2022-10-29)
|
|
||||||
|
|
||||||
Enhancements:
|
|
||||||
|
|
||||||
* Add SCITEPRESS template
|
|
||||||
|
|
||||||
Bug fixes:
|
|
||||||
|
|
||||||
* Fix downloading LLNCS template
|
|
||||||
|
|
||||||
|
|
||||||
<a name="5.3.1"></a>
|
|
||||||
## 5.3.1 (2022-06-06)
|
|
||||||
|
|
||||||
Enhancements:
|
|
||||||
|
|
||||||
* (Optionall) run an external checker
|
|
||||||
|
|
||||||
Bug fixes:
|
|
||||||
|
|
||||||
* Improve extracting sentences from Polish "amu" works
|
|
||||||
* Fix proselint fail
|
|
||||||
* Do not install pyminder if not needed
|
|
||||||
|
|
||||||
<a name="5.3.0"></a>
|
|
||||||
## 5.3.0 (2022-04-13)
|
|
||||||
|
|
||||||
Enhancements:
|
|
||||||
|
|
||||||
* Add ieee-conf template
|
|
||||||
|
|
||||||
<a name="5.2.3"></a>
|
|
||||||
## 5.2.3 (2022-02-14)
|
|
||||||
|
|
||||||
Bug fixes:
|
|
||||||
|
|
||||||
* Fix Jenkinsfile
|
|
||||||
|
|
||||||
<a name="5.2.2"></a>
|
|
||||||
## 5.2.2 (2022-02-12)
|
|
||||||
|
|
||||||
Bug fixes:
|
|
||||||
|
|
||||||
* Updating with the right version
|
|
||||||
|
|
||||||
<a name="5.2.1"></a>
|
|
||||||
## 5.2.1 (2022-02-12)
|
|
||||||
|
|
||||||
Bug fixes:
|
|
||||||
|
|
||||||
* Issue with contribution declaration
|
|
||||||
|
|
||||||
Improvements:
|
|
||||||
|
|
||||||
* Improve the defaults for thesis templates
|
|
||||||
|
|
||||||
<a name="5.2.0"></a>
|
|
||||||
## 5.2.0 (2022-02-12)
|
|
||||||
|
|
||||||
Enhancements:
|
|
||||||
|
|
||||||
* Contribution declarations are optional now
|
|
||||||
|
|
||||||
<a name="5.1.0"></a>
|
|
||||||
## 5.1.0 (2022-01-22)
|
|
||||||
|
|
||||||
Enhancements:
|
|
||||||
|
|
||||||
* Add Beeminder support (you can add an [Odometer
|
|
||||||
goal](https://help.beeminder.com/article/68-odometer-goals) to track
|
|
||||||
pages)
|
|
||||||
|
|
||||||
Bug fixes:
|
|
||||||
|
|
||||||
* Remove unwanted line in stats output
|
|
||||||
|
|
||||||
<a name="5.0.0"></a>
|
|
||||||
## 5.0.0 (2022-01-17)
|
|
||||||
|
|
||||||
Enhancements:
|
|
||||||
|
|
||||||
* Add ICML template
|
|
||||||
|
|
||||||
Breaking changes:
|
|
||||||
|
|
||||||
* Remove a lot of files from the main directory
|
|
||||||
* In particular, all .sty and .bst are downloaded now
|
|
||||||
* Moved non-essential scripts to helpers/
|
|
||||||
* Move autozoil/other-extras.tex simply into extras.tex
|
|
||||||
|
|
||||||
<a name="4.8.0"></a>
|
|
||||||
## 4.8.0 (2021-10-13)
|
|
||||||
|
|
||||||
Changes:
|
|
||||||
|
|
||||||
* Update ACL (Rolling Review) template
|
|
||||||
* Remove EACL template
|
|
||||||
|
|
||||||
<a name="4.7.0"></a>
|
|
||||||
## 4.7.0 (2021-10-02)
|
|
||||||
|
|
||||||
Enhancements:
|
|
||||||
|
|
||||||
* Add a script for easier setup interoperatibility with Overleaf
|
|
||||||
|
|
||||||
Bug fixes:
|
|
||||||
|
|
||||||
* Fix issues in generating contribution declarations
|
|
||||||
|
|
||||||
<a name="4.6.1"></a>
|
|
||||||
## 4.6.1 (2021-09-22)
|
|
||||||
|
|
||||||
Bug fixes:
|
|
||||||
|
|
||||||
* Fix issues in PolEval template
|
|
||||||
|
|
||||||
<a name="4.6.0"></a>
|
|
||||||
## 4.6.0 (2021-09-21)
|
|
||||||
|
|
||||||
Enhancements:
|
|
||||||
|
|
||||||
* Add generating declarations of contributions
|
|
||||||
|
|
||||||
<a name="4.5.0"></a>
|
|
||||||
## 4.5.0 (2021-09-17)
|
|
||||||
|
|
||||||
Enhancements:
|
|
||||||
|
|
||||||
* Add IEEE Access template
|
|
||||||
|
|
||||||
Bug fixes
|
|
||||||
|
|
||||||
* Fix downloading metrics with a space in their names
|
|
||||||
|
|
||||||
<a name="4.4.3"></a>
|
|
||||||
## 4.4.3 (2021-09-14)
|
|
||||||
|
|
||||||
Improvements:
|
|
||||||
|
|
||||||
* Minor improvements to the Poleval template
|
|
||||||
|
|
||||||
<a name="4.4.2"></a>
|
<a name="4.4.2"></a>
|
||||||
## 4.4.2 (2021-07-14)
|
## 4.4.2 (2021-07-14)
|
||||||
|
|
||||||
|
11
Dockerfile
11
Dockerfile
@ -1,11 +0,0 @@
|
|||||||
FROM loxygen/arch-latex:1.1.0
|
|
||||||
|
|
||||||
MAINTAINER Filip Gralinski <filipg@amu.edu.pl>
|
|
||||||
|
|
||||||
USER root
|
|
||||||
|
|
||||||
RUN patched_glibc=glibc-linux4-2.33-4-x86_64.pkg.tar.zst && curl -LO "https://repo.archlinuxcn.org/x86_64/$patched_glibc" && bsdtar -C / -xvf "$patched_glibc"
|
|
||||||
|
|
||||||
RUN pacman -Syu --noconfirm && pacman --noconfirm -S python-cookiecutter biber git python-pip python-yaml unzip wget && pacman --noconfirm -Scc
|
|
||||||
|
|
||||||
RUN pip install arxiv_latex_cleaner syntok
|
|
30
Jenkinsfile
vendored
30
Jenkinsfile
vendored
@ -1,30 +0,0 @@
|
|||||||
pipeline {
|
|
||||||
agent any
|
|
||||||
|
|
||||||
|
|
||||||
// We'll be running in a custom Docker image, but could be a ready-made
|
|
||||||
// image from DockerHub
|
|
||||||
//
|
|
||||||
// agent {
|
|
||||||
// docker {
|
|
||||||
// image 'loxygen/arch-latex'
|
|
||||||
// }
|
|
||||||
// }
|
|
||||||
|
|
||||||
stages {
|
|
||||||
stage('Test') {
|
|
||||||
steps {
|
|
||||||
script {
|
|
||||||
// Custom Docker image, see Dockerfile
|
|
||||||
def customImage = docker.build("paper-cutter:${env.BUILD_ID}")
|
|
||||||
customImage.inside() {
|
|
||||||
dir('test') {
|
|
||||||
// The user under which the job is run does not have a proper home directory (!)
|
|
||||||
sh 'export PATH="$PATH:/usr/bin/vendor_perl"; export fakehomedir=`pwd`/fakehome; rm -rf $fakehomedir; mkdir $fakehomedir; export HOME=$fakehomedir; git config --global user.email "testing@testing.invalid"; git config --global user.name "testing"; bash run_tests.sh'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
60
README.md
60
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.2
|
* find a paper-cutter tag applicable (usually the latest tag listed at <https://git.wmi.amu.edu.pl/filipg/paper-cutter/releases>), say 4.4.2
|
||||||
* run: `cookiecutter https://git.wmi.amu.edu.pl/filipg/paper-cutter.git --checkout 5.5.2`
|
* run: `cookiecutter https://git.wmi.amu.edu.pl/filipg/paper-cutter.git --checkout 4.4.2`
|
||||||
|
|
||||||
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:
|
||||||
@ -18,29 +18,23 @@ following templates are handled:
|
|||||||
* Natural Language Engineering journal (`nle`),
|
* Natural Language Engineering journal (`nle`),
|
||||||
* ACM SIGCONF template (`sigconf`), e.g. for the SIGIR conference,
|
* ACM SIGCONF template (`sigconf`), e.g. for the SIGIR conference,
|
||||||
* MSc thesis at Warsaw University of Technology (`pw-thesis`)
|
* MSc thesis at Warsaw University of Technology (`pw-thesis`)
|
||||||
* COLING (& LREC, `coling`)
|
* COLING (`coling`)
|
||||||
* LLNCS (`llncs`)
|
* LLNCS (`llncs`)
|
||||||
* EMNLP (`emnlp`)
|
* EMNLP (`emnlp`)
|
||||||
|
* EACL (`eacl`)
|
||||||
* NeurIPS (`neurips`)
|
* NeurIPS (`neurips`)
|
||||||
* ICML (`icml`)
|
|
||||||
* IEEE Access (`ieee-access`)
|
|
||||||
* IEEE Conf, e.g. FedCSIS (`ieee-conf`)
|
|
||||||
* PolEval (`poleval`)
|
* PolEval (`poleval`)
|
||||||
* SCITEPRESS (`scitepress`, e.g. CSEDU conference)
|
|
||||||
* Msc thesis at Adam Mickiewicz University, Faculty of Mathematics and Computer Science (`amu`),
|
* Msc thesis at Adam Mickiewicz University, Faculty of Mathematics and Computer Science (`amu`),
|
||||||
template prepared by Bartłomiej Przybylski (https://github.com/bprzybylski/amuthesis)
|
template prepared by Bartłomiej Przybylski (https://github.com/bprzybylski/amuthesis)
|
||||||
|
|
||||||
If you are to use another template, prepare an MR to this repo first!
|
If you are to use another template, prepare an MR to this repo first!
|
||||||
Do not add directly to your specific paper.
|
Do not add directly to your specific paper.
|
||||||
|
|
||||||
Interoperatibility with Overleaf
|
Interoperation with Overleaf
|
||||||
--------------------------------
|
----------------------------
|
||||||
|
|
||||||
Overleaf handles git but in an imperfect way (to put it mildly).
|
Overleaf handles git but in an imperfect way (to put it mildly). It's better to upload a
|
||||||
It's better to upload a package to Overleaf first.
|
package to Overleaf first:
|
||||||
|
|
||||||
You can do this by running `helpers/set-up-overleaf.sh` after creating a project
|
|
||||||
or carrying out the following steps manually:
|
|
||||||
|
|
||||||
1. Create a project locally.
|
1. Create a project locally.
|
||||||
2. Run `make`
|
2. Run `make`
|
||||||
@ -59,7 +53,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.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 4.4.2 --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 +67,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.2
|
* find a paper-cutter tag applicable, say 4.4.2
|
||||||
* (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.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 4.4.2 --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 +93,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.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 4.4.2 --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
|
||||||
@ -107,34 +101,6 @@ Switching to another conference or journal template is easy.
|
|||||||
6. Run `make` to generate PDF.
|
6. Run `make` to generate PDF.
|
||||||
7. If you have an appendix, make sure it is rendered correctly.
|
7. If you have an appendix, make sure it is rendered correctly.
|
||||||
|
|
||||||
Adding new conference/journal template
|
|
||||||
--------------------------------------
|
|
||||||
|
|
||||||
You should prepare a merge request similar to <https://git.wmi.amu.edu.pl/filipg/paper-cutter/commit/970e10ca52bed1bf293f99809d89aacd5c7ca44a>.
|
|
||||||
|
|
||||||
Some notes:
|
|
||||||
|
|
||||||
* the style files should be just downloaded from an external resources (see e.g. https://git.wmi.amu.edu.pl/filipg/paper-cutter/src/branch/example/hooks/post_gen_project.sh#L87)
|
|
||||||
* you should take an example document (usually provided by the creators of a conference/journal template)
|
|
||||||
and turn it into a template, like e.g. <https://git.wmi.amu.edu.pl/filipg/paper-cutter/src/branch/example/%7b%7bcookiecutter.paper_repo_name%7d%7d/_latex-templates/neurips-template.tex>
|
|
||||||
* metadata header (title, authors, etc.) should be given as a separate template file, see
|
|
||||||
<https://git.wmi.amu.edu.pl/filipg/paper-cutter/src/branch/example/%7b%7bcookiecutter.paper_repo_name%7d%7d/_latex-templates/neurips-template-meta.tex>
|
|
||||||
* remember that [Jinja2](https://jinja.palletsprojects.com/en/3.0.x/) is used as the template engine
|
|
||||||
* sometimes you will need to add Jinja `{% raw %}` and `{% endraw %}` directives to escape LaTeX mark-up
|
|
||||||
conflicting with Jinja directives (usually the whole or parts of `...-template.tex` and `...-template-meta.tex`
|
|
||||||
files.
|
|
||||||
|
|
||||||
MacOS Requirements
|
|
||||||
------------
|
|
||||||
|
|
||||||
```
|
|
||||||
brew install cookiecutter
|
|
||||||
brew install texlive
|
|
||||||
brew install biber
|
|
||||||
brew install pyyaml
|
|
||||||
pip3 install syntok jinja2 arxiv_latex_cleaner
|
|
||||||
```
|
|
||||||
|
|
||||||
Versioning the template
|
Versioning the template
|
||||||
-----------------------
|
-----------------------
|
||||||
|
|
||||||
@ -172,7 +138,7 @@ Variables to be set in GitLab UI
|
|||||||
|
|
||||||
## Authors
|
## Authors
|
||||||
|
|
||||||
Prepared by Filip Graliński (while at Adam Mickiewicz University / Applica.ai).
|
Prepared by Filip Graliński (Applica.ai).
|
||||||
|
|
||||||
### Contributors
|
### Contributors
|
||||||
|
|
||||||
|
@ -10,12 +10,10 @@
|
|||||||
"git_host": "git.wmi.amu.edu.pl",
|
"git_host": "git.wmi.amu.edu.pl",
|
||||||
"locale": "en_US",
|
"locale": "en_US",
|
||||||
"with_appendix": "no",
|
"with_appendix": "no",
|
||||||
"extra_locale": "{{ 'none' if cookiecutter.latex_template != 'pw-thesis' and cookiecutter.latex_template != 'amu' else 'pl_PL' }}",
|
"extra_locale": "{{ 'none' if cookiecutter.latex_template != 'pw-thesis' else 'pl_PL' }}",
|
||||||
"with_arxiv_package": "{{ 'yes' if cookiecutter.latex_template != 'pw-thesis' and cookiecutter.latex_template != 'amu' else 'no' }}",
|
"with_arxiv_package": "{{ 'yes' if cookiecutter.latex_template != 'pw-thesis' else 'no' }}",
|
||||||
"discipline": "none",
|
"discipline": "none",
|
||||||
"specialization": "none",
|
"specialization": "none",
|
||||||
"supervisor": "none",
|
"supervisor": "none",
|
||||||
"album_no": "none",
|
"album_no": "none"
|
||||||
"beeminder_support": "no",
|
|
||||||
"contribution_declaration": "{{ 'yes' if cookiecutter.latex_template != 'pw-thesis' and cookiecutter.latex_template != 'amu' else 'no' }}"
|
|
||||||
}
|
}
|
||||||
|
@ -6,7 +6,7 @@ get_files()
|
|||||||
shift
|
shift
|
||||||
dump_dir=$(mktemp -d)
|
dump_dir=$(mktemp -d)
|
||||||
dumped_file=$dump_dir/file.zip
|
dumped_file=$dump_dir/file.zip
|
||||||
wget -U 'paper-cutter' -O $dumped_file "$url"
|
wget -O $dumped_file "$url"
|
||||||
(cd $dump_dir && unzip -j file.zip)
|
(cd $dump_dir && unzip -j file.zip)
|
||||||
for file in $@
|
for file in $@
|
||||||
do
|
do
|
||||||
@ -25,7 +25,7 @@ fix_noexpand_issue()
|
|||||||
{
|
{
|
||||||
# see https://tex.stackexchange.com/questions/487428/patch-failed-in-emnlp-style-template
|
# see https://tex.stackexchange.com/questions/487428/patch-failed-in-emnlp-style-template
|
||||||
file_to_be_patched="$1"
|
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
|
if [ "{{ cookiecutter.latex_template }}" = "vanilla" ]; then
|
||||||
@ -37,26 +37,19 @@ elif [ "{{ cookiecutter.latex_template }}" = "tacl" ]; then
|
|||||||
cp -r _latex-templates/tacl2018v2-template.tex {{cookiecutter.paper_id}}.tex
|
cp -r _latex-templates/tacl2018v2-template.tex {{cookiecutter.paper_id}}.tex
|
||||||
cp -r _latex-templates/tacl2018v2-template-meta.tex metadata.tex
|
cp -r _latex-templates/tacl2018v2-template-meta.tex metadata.tex
|
||||||
elif [ "{{ cookiecutter.latex_template }}" = "acl" ]; then
|
elif [ "{{ cookiecutter.latex_template }}" = "acl" ]; then
|
||||||
wget 'https://raw.githubusercontent.com/acl-org/acl-style-files/master/latex/acl.sty'
|
get_files "http://acl2020.org/downloads/acl2020-templates.zip" \
|
||||||
wget 'https://raw.githubusercontent.com/acl-org/acl-style-files/master/latex/acl_natbib.bst'
|
acl2020.sty \
|
||||||
# fix_noexpand_issue acl2020.sty
|
acl_natbib.bst
|
||||||
cp -r _latex-templates/acl-template.tex {{cookiecutter.paper_id}}.tex
|
fix_noexpand_issue acl2020.sty
|
||||||
cp -r _latex-templates/acl-template-meta.tex metadata.tex
|
cp -r _latex-templates/acl2020-template.tex {{cookiecutter.paper_id}}.tex
|
||||||
|
cp -r _latex-templates/acl2020-template-meta.tex metadata.tex
|
||||||
if [ "{{ cookiecutter.with_appendix }}" = "yes" ]; then
|
if [ "{{ cookiecutter.with_appendix }}" = "yes" ]; then
|
||||||
cp -r _latex-templates/acl-template-appendix.tex the-appendix.tex
|
cp -r _latex-templates/acl2020-template-appendix.tex the-appendix.tex
|
||||||
fi
|
fi
|
||||||
elif [ "{{ cookiecutter.latex_template }}" = "nle" ]; then
|
elif [ "{{ cookiecutter.latex_template }}" = "nle" ]; then
|
||||||
get_files "https://www.cambridge.org/core/services/aop-file-manager/file/5d2c9092615ba8773a3a582f" \
|
|
||||||
nle.cls \
|
|
||||||
nlelike.bst \
|
|
||||||
cup_logo-eps-converted-to.pdf \
|
|
||||||
cup_logo.eps
|
|
||||||
cp -r _latex-templates/nle-template.tex {{cookiecutter.paper_id}}.tex
|
cp -r _latex-templates/nle-template.tex {{cookiecutter.paper_id}}.tex
|
||||||
cp -r _latex-templates/nle-template-meta.tex metadata.tex
|
cp -r _latex-templates/nle-template-meta.tex metadata.tex
|
||||||
elif [ "{{ cookiecutter.latex_template }}" = "sigconf" ]; then
|
elif [ "{{ cookiecutter.latex_template }}" = "sigconf" ]; then
|
||||||
get_files "https://portalparts.acm.org/hippo/latex_templates/acmart-primary.zip" \
|
|
||||||
acmart.cls \
|
|
||||||
ACM-Reference-Format.bst
|
|
||||||
cp -r _latex-templates/sigconf-template.tex {{cookiecutter.paper_id}}.tex
|
cp -r _latex-templates/sigconf-template.tex {{cookiecutter.paper_id}}.tex
|
||||||
cp -r _latex-templates/sigconf-template-meta.tex metadata.tex
|
cp -r _latex-templates/sigconf-template-meta.tex metadata.tex
|
||||||
elif [ "{{ cookiecutter.latex_template }}" = "pw-thesis" ]; then
|
elif [ "{{ cookiecutter.latex_template }}" = "pw-thesis" ]; then
|
||||||
@ -66,13 +59,10 @@ 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://coling2025.org/downloads/coling-2025.zip" \
|
cp -r _latex-templates/coling2020-template.tex {{cookiecutter.paper_id}}.tex
|
||||||
coling_natbib.bst \
|
cp -r _latex-templates/coling2020-template-meta.tex metadata.tex
|
||||||
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
|
elif [ "{{ cookiecutter.latex_template }}" = "llncs" ]; then
|
||||||
get_files "https://resource-cms.springernature.com/springer-cms/rest/v1/content/19238648/data/v6" \
|
get_files "ftp://ftp.springernature.com/cs-proceeding/llncs/llncs2e.zip" \
|
||||||
llncs.cls \
|
llncs.cls \
|
||||||
splncs04.bst
|
splncs04.bst
|
||||||
cp -r _latex-templates/llncs-template.tex {{cookiecutter.paper_id}}.tex
|
cp -r _latex-templates/llncs-template.tex {{cookiecutter.paper_id}}.tex
|
||||||
@ -84,49 +74,22 @@ elif [ "{{ cookiecutter.latex_template }}" = "emnlp" ]; then
|
|||||||
cp -r _latex-templates/emnlp2020-template.tex {{cookiecutter.paper_id}}.tex
|
cp -r _latex-templates/emnlp2020-template.tex {{cookiecutter.paper_id}}.tex
|
||||||
cp -r _latex-templates/emnlp2020-template-meta.tex metadata.tex
|
cp -r _latex-templates/emnlp2020-template-meta.tex metadata.tex
|
||||||
cp -r _latex-templates/emnlp2020-template-appendix.tex the-appendix.tex
|
cp -r _latex-templates/emnlp2020-template-appendix.tex the-appendix.tex
|
||||||
|
elif [ "{{ cookiecutter.latex_template }}" = "eacl" ]; then
|
||||||
|
get_files "https://2021.eacl.org/downloads/eacl2021-templates.zip" \
|
||||||
|
acl_natbib.bst \
|
||||||
|
eacl2021.sty
|
||||||
|
cp -r _latex-templates/acl2020-template.tex {{cookiecutter.paper_id}}.tex
|
||||||
|
cp -r _latex-templates/acl2020-template-meta.tex metadata.tex
|
||||||
|
|
||||||
|
if [ "{{ cookiecutter.with_appendix }}" = "yes" ]; then
|
||||||
|
cp -r _latex-templates/acl2020-template-appendix.tex the-appendix.tex
|
||||||
|
fi
|
||||||
elif [ "{{ cookiecutter.latex_template }}" == "neurips" ]; then
|
elif [ "{{ cookiecutter.latex_template }}" == "neurips" ]; then
|
||||||
rm -f neurips_2021.sty
|
rm -f neurips_2021.sty
|
||||||
wget https://media.neurips.cc/Conferences/NeurIPS2021/Styles/neurips_2021.sty
|
wget -O neurips_2021.sty https://media.neurips.cc/Conferences/NeurIPS2021/Styles/neurips_2021.sty
|
||||||
cp -r _latex-templates/neurips-template.tex {{cookiecutter.paper_id}}.tex
|
cp -r _latex-templates/neurips-template.tex {{cookiecutter.paper_id}}.tex
|
||||||
cp -r _latex-templates/neurips-template-meta.tex metadata.tex
|
cp -r _latex-templates/neurips-template-meta.tex metadata.tex
|
||||||
cp -r _latex-templates/neurips-checklist.tex checklist.tex
|
cp -r _latex-templates/neurips-checklist.tex checklist.tex
|
||||||
elif [ "{{ cookiecutter.latex_template }}" == "icml" ]; then
|
|
||||||
get_files "https://media.icml.cc/Conferences/ICML2022/Styles/icml2022.zip" \
|
|
||||||
algorithm.sty \
|
|
||||||
algorithmic.sty \
|
|
||||||
fancyhdr.sty \
|
|
||||||
icml2022.bst \
|
|
||||||
icml2022.sty
|
|
||||||
cp -r _latex-templates/icml-template.tex {{cookiecutter.paper_id}}.tex
|
|
||||||
cp -r _latex-templates/icml-template-meta.tex metadata.tex
|
|
||||||
elif [ "{{ cookiecutter.latex_template }}" == "ieee-access" ]; then
|
|
||||||
get_files "https://template-selector.ieee.org/api/ieee-template-selector/template/541/download" \
|
|
||||||
bullet.png \
|
|
||||||
ieeeaccess.cls \
|
|
||||||
IEEEtran.cls \
|
|
||||||
ieeeaccess.cls \
|
|
||||||
spotcolor.sty \
|
|
||||||
logo.png \
|
|
||||||
notaglinelogo.png
|
|
||||||
cp -r _latex-templates/ieee-access-template.tex {{cookiecutter.paper_id}}.tex
|
|
||||||
cp -r _latex-templates/ieee-access-template-meta.tex metadata.tex
|
|
||||||
cp -r _latex-templates/ieee-access-template-biographies.tex biographies.tex
|
|
||||||
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
|
|
||||||
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
|
|
||||||
elif [ "{{ cookiecutter.latex_template }}" == "scitepress" ]; then
|
|
||||||
get_files "https://www.scitepress.org/documents/SCITEPRESS_Conference_Latex.zip" \
|
|
||||||
apalike.bst \
|
|
||||||
apalike.sty \
|
|
||||||
article.cls \
|
|
||||||
orcid.eps \
|
|
||||||
SCITEPRESS.sty
|
|
||||||
cp -r _latex-templates/scitepress-template.tex {{cookiecutter.paper_id}}.tex
|
|
||||||
cp -r _latex-templates/scitepress-template-meta.tex metadata.tex
|
|
||||||
elif [ "{{ cookiecutter.latex_template }}" = "poleval" ]; then
|
elif [ "{{ cookiecutter.latex_template }}" = "poleval" ]; then
|
||||||
cp -r _latex-templates/poleval-template.tex {{cookiecutter.paper_id}}.tex
|
cp -r _latex-templates/poleval-template.tex {{cookiecutter.paper_id}}.tex
|
||||||
cp -r _latex-templates/poleval-template-meta.tex metadata.tex
|
cp -r _latex-templates/poleval-template-meta.tex metadata.tex
|
||||||
@ -147,23 +110,10 @@ if [ "{{ cookiecutter.extra_locale }}" = "pl_PL" -o "{{ cookiecutter.locale }}"
|
|||||||
cp -r _optional_files/_pl_files/* .
|
cp -r _optional_files/_pl_files/* .
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "{{ cookiecutter.beeminder_support }}" = "yes" ]; then
|
|
||||||
cp -r _optional_files/_beeminder_support/* .
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ "{{ cookiecutter.contribution_declaration }}" = "yes" ]; then
|
|
||||||
cp -r _optional_files/_contribution_declaration/* .
|
|
||||||
fi
|
|
||||||
|
|
||||||
rm -rf _latex-templates _optional_files
|
rm -rf _latex-templates _optional_files
|
||||||
|
|
||||||
if [ -e .git ]; then
|
if [ -e .git ]; then
|
||||||
git checkout README.md main.tex abstract.tex preamble.tex metadata.tex bibliography.bib
|
git checkout README.md main.tex abstract.tex preamble.tex metadata.tex bibliography.bib contributions.yaml
|
||||||
|
|
||||||
if [ "{{ cookiecutter.contribution_declaration }}" = "yes" ]; then
|
|
||||||
git checkout contributions.yaml
|
|
||||||
fi
|
|
||||||
|
|
||||||
for f in helpers/vars abstract-pl.tex keywords.tex keywords-pl.tex appendix.tex
|
for f in helpers/vars abstract-pl.tex keywords.tex keywords-pl.tex appendix.tex
|
||||||
do
|
do
|
||||||
git checkout $f || true
|
git checkout $f || true
|
||||||
|
@ -1,12 +0,0 @@
|
|||||||
|
|
||||||
default_context:
|
|
||||||
latex_template: 'amu'
|
|
||||||
locale: 'pl_PL'
|
|
||||||
with_appendix: 'no'
|
|
||||||
extra_locale: 'en_US'
|
|
||||||
with_arxiv_package: 'no'
|
|
||||||
discipline: 'informatyka'
|
|
||||||
specialization: 'sztuczna inteligencja'
|
|
||||||
supervisor: 'prof. dr hab. Jan Nowak'
|
|
||||||
album_no: '123456'
|
|
||||||
contribution_declaration: 'no'
|
|
@ -9,4 +9,3 @@ default_context:
|
|||||||
specialization: 'sztuczna inteligencja'
|
specialization: 'sztuczna inteligencja'
|
||||||
supervisor: 'prof. dr hab. Jan Nowak'
|
supervisor: 'prof. dr hab. Jan Nowak'
|
||||||
album_no: '123456'
|
album_no: '123456'
|
||||||
contribution_declaration: 'no'
|
|
||||||
|
4
test/configs/eacl-appendix.yml
Normal file
4
test/configs/eacl-appendix.yml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
|
||||||
|
default_context:
|
||||||
|
latex_template: 'eacl'
|
||||||
|
with_appendix: 'yes'
|
3
test/configs/eacl.yml
Normal file
3
test/configs/eacl.yml
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
|
||||||
|
default_context:
|
||||||
|
latex_template: 'eacl'
|
@ -1,3 +0,0 @@
|
|||||||
|
|
||||||
default_context:
|
|
||||||
latex_template: 'icml'
|
|
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'
|
@ -16,7 +16,7 @@ check()
|
|||||||
cd "$PAPER_DIR"
|
cd "$PAPER_DIR"
|
||||||
make clean
|
make clean
|
||||||
make
|
make
|
||||||
if [[ "$config_file" != "configs/pw-thesis.yml" && "$config_file" != "configs/amu.yml" && "$config_file" != "configs/ieee-access.yml" && "$config_file" != "configs/amu-en.yml" ]]
|
if [[ "$config_file" != "configs/pw-thesis.yml" && "$config_file" != "configs/amu.yml" ]]
|
||||||
then
|
then
|
||||||
make arxiv-$PAPER_ID.tar.gz
|
make arxiv-$PAPER_ID.tar.gz
|
||||||
fi
|
fi
|
||||||
|
@ -16,5 +16,3 @@ default_context:
|
|||||||
specialization: '{{ cookiecutter.specialization }}'
|
specialization: '{{ cookiecutter.specialization }}'
|
||||||
supervisor: '{{ cookiecutter.supervisor }}'
|
supervisor: '{{ cookiecutter.supervisor }}'
|
||||||
album_no: '{{ cookiecutter.album_no }}'
|
album_no: '{{ cookiecutter.album_no }}'
|
||||||
beeminder_support: '{{ cookiecutter.beeminder_support }}'
|
|
||||||
contribution_declaration: '{{ cookiecutter.contribution_declaration }}'
|
|
||||||
|
4
{{cookiecutter.paper_repo_name}}/.gitignore
vendored
4
{{cookiecutter.paper_repo_name}}/.gitignore
vendored
@ -147,8 +147,6 @@ vcs.xml
|
|||||||
*.ft
|
*.ft
|
||||||
*.tdo
|
*.tdo
|
||||||
*.bcf
|
*.bcf
|
||||||
*.vrb
|
|
||||||
*.snm
|
|
||||||
*.lol
|
*.lol
|
||||||
*.run.xml
|
*.run.xml
|
||||||
/auto
|
/auto
|
||||||
@ -162,5 +160,3 @@ the-appendix.pdf
|
|||||||
sentences.txt
|
sentences.txt
|
||||||
arxiv-{{cookiecutter.paper_id}}.pdf
|
arxiv-{{cookiecutter.paper_id}}.pdf
|
||||||
arxiv-{{cookiecutter.paper_id}}.tar.gz
|
arxiv-{{cookiecutter.paper_id}}.tar.gz
|
||||||
helpers/*-contribution-declaration.tex
|
|
||||||
helpers/*-contribution-declaration.pdf
|
|
||||||
|
@ -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.2'
|
ref: '4.4.2'
|
||||||
file: 'main.yml'
|
file: 'main.yml'
|
||||||
|
2913
{{cookiecutter.paper_repo_name}}/ACM-Reference-Format.bst
Normal file
2913
{{cookiecutter.paper_repo_name}}/ACM-Reference-Format.bst
Normal file
File diff suppressed because it is too large
Load Diff
64
{{cookiecutter.paper_repo_name}}/Jenkinsfile
vendored
64
{{cookiecutter.paper_repo_name}}/Jenkinsfile
vendored
@ -1,30 +1,46 @@
|
|||||||
pipeline {
|
pipeline {
|
||||||
|
|
||||||
agent {
|
agent { label 'tau2013z' }
|
||||||
docker {
|
|
||||||
image 'loxygen/autozoil'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
stages {
|
stages {
|
||||||
|
|
||||||
|
stage ('get-autozoil') {
|
||||||
|
steps {
|
||||||
|
checkout([$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [[$class: 'RelativeTargetDirectory', relativeTargetDir: 'autozoil']], submoduleCfg: [], userRemoteConfigs: [[url: 'https://gitlab.com/filipg/autozoil.git']]])
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
stage ('build-pdf') {
|
stage ('build-pdf') {
|
||||||
steps {
|
steps {
|
||||||
withEnv(["HOME=${env.WORKSPACE}"]) {
|
sh """
|
||||||
sh """
|
|
||||||
{% if cookiecutter.beeminder_support == 'yes' %}
|
|
||||||
pip3 install pyyaml pyminder
|
|
||||||
{% endif %}
|
|
||||||
make clean
|
make clean
|
||||||
make
|
make
|
||||||
"""
|
"""
|
||||||
}}
|
}
|
||||||
|
|
||||||
post {
|
post {
|
||||||
always {
|
always {
|
||||||
archiveArtifacts artifacts: '{{cookiecutter.paper_id}}.pdf', fingerprint: true
|
archiveArtifacts artifacts: '{{cookiecutter.paper_id}}.pdf', fingerprint: true
|
||||||
archiveArtifacts artifacts: 'stats.txt', fingerprint: true
|
archiveArtifacts artifacts: 'stats.txt', fingerprint: true
|
||||||
|
|
||||||
|
plot csvFileName: 'stats.txt',
|
||||||
|
csvSeries: [[
|
||||||
|
file: 'stats.txt',
|
||||||
|
exclusionValues: '',
|
||||||
|
displayTableFlag: false,
|
||||||
|
inclusionFlag: 'OFF',
|
||||||
|
url: '']],
|
||||||
|
group: 'Plot Group',
|
||||||
|
title: 'Plot Title',
|
||||||
|
style: 'line',
|
||||||
|
exclZero: false,
|
||||||
|
keepRecords: false,
|
||||||
|
logarithmic: false,
|
||||||
|
numBuilds: '',
|
||||||
|
useDescr: false,
|
||||||
|
yaxis: '',
|
||||||
|
yaxisMaximum: '',
|
||||||
|
yaxisMinimum: ''
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -32,33 +48,19 @@ make
|
|||||||
|
|
||||||
stage ('autozoil') {
|
stage ('autozoil') {
|
||||||
steps {
|
steps {
|
||||||
withEnv(["HOME=${env.WORKSPACE}"]) {
|
sh """
|
||||||
sh """
|
|
||||||
rm -f autozoil.xml
|
rm -f autozoil.xml
|
||||||
make autozoil
|
AUTOZOIL_DIR=autozoil make autozoil.xml
|
||||||
"""
|
"""
|
||||||
}}
|
}
|
||||||
|
|
||||||
post {
|
post {
|
||||||
always {
|
always {
|
||||||
archiveArtifacts artifacts: 'autozoil*.xml', fingerprint: true
|
archiveArtifacts artifacts: 'autozoil.xml', fingerprint: true
|
||||||
junit testResults: 'autozoil-external-check.xml', skipPublishingChecks: true
|
junit 'autozoil.xml'
|
||||||
// junit testResults: 'autozoil.xml'
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
{% if cookiecutter.beeminder_support == 'yes' %}
|
|
||||||
stage ('beeminder') {
|
|
||||||
steps {
|
|
||||||
withCredentials([string(credentialsId: 'Beeminder', variable: 'BEEMINDER_TOKEN')]) {
|
|
||||||
sh """
|
|
||||||
BEEMINDER_USER=ptlen make logbeeminder
|
|
||||||
"""
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
{% endif %}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
SHELL=/bin/bash
|
SHELL=/bin/bash -O globstar
|
||||||
|
|
||||||
# Do not edit these values, they should be changed by modifying .cookiecutter.yml
|
# Do not edit these values, they should be changed by modifying .cookiecutter.yml
|
||||||
# and re-applying the template
|
# and re-applying the template
|
||||||
@ -7,16 +7,12 @@ 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 config.tex other-extras.tex autozoil-extras.tex extras.tex metadata.tex preamble.tex the-appendix.tex, $(shell ls **/*.tex))
|
||||||
|
|
||||||
CURRENT_DIR=$(shell pwd)
|
CURRENT_DIR=$(shell pwd)
|
||||||
AUTOZOIL_DIR?=/opt/autozoil
|
AUTOZOIL_DIR?=/opt/autozoil
|
||||||
AUTOZOIL_LOCALE={{cookiecutter.locale}}
|
AUTOZOIL_LOCALE={{cookiecutter.locale}}
|
||||||
|
|
||||||
EXTERNAL_PLAIN_TEXT_CHECKER=
|
|
||||||
|
|
||||||
space := $(subst ,, )
|
|
||||||
|
|
||||||
ifneq (,$(wildcard appendix.tex))
|
ifneq (,$(wildcard appendix.tex))
|
||||||
ifeq ($(LATEX_TEMPLATE),acl)
|
ifeq ($(LATEX_TEMPLATE),acl)
|
||||||
IS_APPENDIX_SEPARATE=yes
|
IS_APPENDIX_SEPARATE=yes
|
||||||
@ -37,20 +33,12 @@ endif
|
|||||||
CONTENT_TEX_SOURCES_WITH_DIR := $(addprefix $(CURRENT_DIR)/, $(CONTENT_TEX_SOURCES))
|
CONTENT_TEX_SOURCES_WITH_DIR := $(addprefix $(CURRENT_DIR)/, $(CONTENT_TEX_SOURCES))
|
||||||
SCOREFILES=$(shell perl extract-score-files.pl $(CONTENT_TEX_SOURCES))
|
SCOREFILES=$(shell perl extract-score-files.pl $(CONTENT_TEX_SOURCES))
|
||||||
|
|
||||||
clean_latex_stuff=rm -rf *.aux *.nav *.toc *.log *.out *.blg *.bbl autozoil-log.txt autozoil.xml the-appendix.pdf supplement.zip $(PAPER_ID).pdf $(PAPER_ID).zip arxiv-$(PAPER_ID).pdf arxiv-$(PAPER_ID).tar.gz abstract.txt sentences.txt stats.txt $(EXTRA_PDFS) helpers/$(PAPER_ID)-contribution-declaration.tex helpers/$(PAPER_ID)-contribution-declaration.pdf helpers/*.aux helpers/*.bbl helpers/*.bcf helpers/*.blg helpers/*.log helpers/*.run.xml
|
clean_latex_stuff=rm -rf *.aux *.nav *.toc *.log *.out *.blg *.bbl autozoil-log.txt autozoil.xml the-appendix.pdf supplement.zip $(PAPER_ID).pdf $(PAPER_ID).zip arxiv-$(PAPER_ID).pdf arxiv-$(PAPER_ID).tar.gz abstract.txt sentences.txt stats.txt $(EXTRA_PDFS)
|
||||||
|
|
||||||
ifeq ($(HAS_SUPPLEMENT),yes)
|
ifeq ($(HAS_SUPPLEMENT),yes)
|
||||||
{% if cookiecutter.contribution_declaration == 'yes' %}
|
|
||||||
all: $(PAPER_ID).pdf abstract.txt supplement.zip stats.txt sentences.txt helpers/$(PAPER_ID)-contribution-declaration.pdf
|
|
||||||
{% else %}
|
|
||||||
all: $(PAPER_ID).pdf abstract.txt supplement.zip stats.txt sentences.txt
|
all: $(PAPER_ID).pdf abstract.txt supplement.zip stats.txt sentences.txt
|
||||||
{% endif %}
|
|
||||||
else
|
else
|
||||||
{% if cookiecutter.contribution_declaration == 'yes' %}
|
|
||||||
all: $(PAPER_ID).pdf abstract.txt stats.txt sentences.txt helpers/$(PAPER_ID)-contribution-declaration.pdf
|
|
||||||
{% else %}
|
|
||||||
all: $(PAPER_ID).pdf abstract.txt stats.txt sentences.txt
|
all: $(PAPER_ID).pdf abstract.txt stats.txt sentences.txt
|
||||||
{% endif %}
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
source-pack: $(PAPER_ID).zip
|
source-pack: $(PAPER_ID).zip
|
||||||
@ -59,11 +47,6 @@ stats.txt: $(PAPER_ID).pdf helpers/stats.sh
|
|||||||
bash helpers/stats.sh $< > $@
|
bash helpers/stats.sh $< > $@
|
||||||
cat $@
|
cat $@
|
||||||
|
|
||||||
{% if cookiecutter.beeminder_support == 'yes' %}
|
|
||||||
logbeeminder: helpers/logbeeminder.py stats.txt
|
|
||||||
python3 $<
|
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
$(PAPER_ID).pdf: $(PAPER_ID).tex preamble.tex metadata.tex $(CONTENT_TEX_SOURCES) bibliography.bib $(SCOREFILES) $(EXTRA_PDFS)
|
$(PAPER_ID).pdf: $(PAPER_ID).tex preamble.tex metadata.tex $(CONTENT_TEX_SOURCES) bibliography.bib $(SCOREFILES) $(EXTRA_PDFS)
|
||||||
pdflatex $<
|
pdflatex $<
|
||||||
bibtex $(PAPER_ID)
|
bibtex $(PAPER_ID)
|
||||||
@ -74,46 +57,23 @@ $(PAPER_ID).pdf: $(PAPER_ID).tex preamble.tex metadata.tex $(CONTENT_TEX_SOURCES
|
|||||||
abstract.txt: abstract.tex
|
abstract.txt: abstract.tex
|
||||||
cat $< | perl -pne 's/noqa\{[^}]+\}//g' | detex > $@
|
cat $< | perl -pne 's/noqa\{[^}]+\}//g' | detex > $@
|
||||||
|
|
||||||
SENTENCE_EXTRACTION_METHOD=from-pdf
|
|
||||||
|
|
||||||
ifeq ($(LATEX_TEMPLATE),amu)
|
|
||||||
ifeq ($(AUTOZOIL_LOCALE),pl_PL)
|
|
||||||
SENTENCE_EXTRACTION_METHOD=from-tex
|
|
||||||
endif
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifeq ($(SENTENCE_EXTRACTION_METHOD),from-tex)
|
|
||||||
sentences.txt: $(PAPER_ID).tex helpers/get-sentences.sh helpers/pdf-to-plain-text.sh helpers/strip-references.pl
|
|
||||||
bash helpers/get-sentences.sh $< from-tex > $@
|
|
||||||
else
|
|
||||||
sentences.txt: $(PAPER_ID).pdf helpers/get-sentences.sh helpers/pdf-to-plain-text.sh helpers/strip-references.pl
|
sentences.txt: $(PAPER_ID).pdf helpers/get-sentences.sh helpers/pdf-to-plain-text.sh helpers/strip-references.pl
|
||||||
bash helpers/get-sentences.sh $< > $@
|
bash helpers/get-sentences.sh $< > $@
|
||||||
endif
|
|
||||||
|
|
||||||
scores/%.txt:
|
scores/%.txt:
|
||||||
mkdir -p scores
|
mkdir -p scores
|
||||||
curl "https://gonito.net/api/txt/score/$(subst $(space),%20,$*)" -o "$@"
|
curl "https://gonito.net/api/txt/score/"$* -o $@
|
||||||
|
|
||||||
autozoil-log.txt: $(CONTENT_TEX_SOURCES)
|
autozoil-log.txt: $(CONTENT_TEX_SOURCES)
|
||||||
cd $(AUTOZOIL_DIR) && set -o pipefail && ./autozoil --locale $(AUTOZOIL_LOCALE) $(CONTENT_TEX_SOURCES_WITH_DIR) --alt-log-file $(CURRENT_DIR)/$(PAPER_ID).log | tee $(CURRENT_DIR)/$@
|
cd $(AUTOZOIL_DIR) && set -o pipefail && ./autozoil --locale $(AUTOZOIL_LOCALE) $(CONTENT_TEX_SOURCES_WITH_DIR) --alt-log-file $(CURRENT_DIR)/$(PAPER_ID).log | tee $(CURRENT_DIR)/$@
|
||||||
|
|
||||||
|
|
||||||
ifeq ($(EXTERNAL_PLAIN_TEXT_CHECKER),)
|
|
||||||
autozoil: autozoil.xml
|
|
||||||
else
|
|
||||||
autozoil: autozoil.xml autozoil-external-check.xml
|
|
||||||
|
|
||||||
autozoil-external-check.xml: sentences.txt
|
|
||||||
curl -X POST -H "Content-Type: multipart/form-data" -F "file=@sentences.txt" $(EXTERNAL_PLAIN_TEXT_CHECKER) > $@
|
|
||||||
endif
|
|
||||||
|
|
||||||
autozoil.xml: $(CONTENT_TEX_SOURCES)
|
autozoil.xml: $(CONTENT_TEX_SOURCES)
|
||||||
cd $(AUTOZOIL_DIR) && set -o pipefail && ./autozoil --locale $(AUTOZOIL_LOCALE) $(CONTENT_TEX_SOURCES_WITH_DIR) --format xml --alt-log-file $(CURRENT_DIR)/$(PAPER_ID).log --exit-with-zero > $(CURRENT_DIR)/autozoil.xml
|
cd $(AUTOZOIL_DIR) && set -o pipefail && ./autozoil --locale $(AUTOZOIL_LOCALE) $(CONTENT_TEX_SOURCES_WITH_DIR) --format xml --alt-log-file $(CURRENT_DIR)/$(PAPER_ID).log --exit-with-zero > $(CURRENT_DIR)/autozoil.xml
|
||||||
|
|
||||||
$(PAPER_ID).zip:
|
$(PAPER_ID).zip:
|
||||||
$(clean_latex_stuff)
|
$(clean_latex_stuff)
|
||||||
rm -rf *~
|
rm -rf *~
|
||||||
zip -r $@ . -x '*.git/*' '*.zip'
|
zip -r $@ . -x '*.git*' '*.zip'
|
||||||
|
|
||||||
ifeq ($(HAS_SUPPLEMENT),yes)
|
ifeq ($(HAS_SUPPLEMENT),yes)
|
||||||
supplement.zip: the-appendix.pdf
|
supplement.zip: the-appendix.pdf
|
||||||
@ -142,15 +102,5 @@ titlepage.pdf: titlepage.tex
|
|||||||
xelatex $<
|
xelatex $<
|
||||||
endif
|
endif
|
||||||
|
|
||||||
{% if cookiecutter.contribution_declaration == 'yes' %}
|
|
||||||
helpers/$(PAPER_ID)-contribution-declaration.pdf: helpers/$(PAPER_ID)-contribution-declaration.tex bibliography.bib
|
|
||||||
(cd helpers && pdflatex $(PAPER_ID)-contribution-declaration.tex)
|
|
||||||
(cd helpers && biber $(PAPER_ID)-contribution-declaration)
|
|
||||||
(cd helpers && pdflatex $(PAPER_ID)-contribution-declaration.tex)
|
|
||||||
|
|
||||||
helpers/$(PAPER_ID)-contribution-declaration.tex: contributions.yaml helpers/contribution-declaration.tex.tmpl helpers/generate-contribution-declaration.py
|
|
||||||
(cd helpers && python3 generate-contribution-declaration.py) < $< > $@
|
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
$(clean_latex_stuff)
|
$(clean_latex_stuff)
|
||||||
|
@ -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 1 \\
|
||||||
Affiliation / Address line 2 \\
|
Affiliation / Address line 2 \\
|
||||||
Affiliation / Address line 3 \\
|
Affiliation / Address line 3 \\
|
@ -9,8 +9,7 @@
|
|||||||
%
|
%
|
||||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
%
|
%
|
||||||
%
|
% File acl2020.tex
|
||||||
% Based on https://github.com/acl-org/ACLPUB/blob/master/templates/latex/acl_latex.tex
|
|
||||||
%
|
%
|
||||||
%% Based on the style files for ACL 2020, which were
|
%% Based on the style files for ACL 2020, which were
|
||||||
%% Based on the style files for ACL 2018, NAACL 2018/19, which were
|
%% Based on the style files for ACL 2018, NAACL 2018/19, which were
|
||||||
@ -23,39 +22,38 @@
|
|||||||
%%e.agirre@ehu.es or Sergi.Balari@uab.es
|
%%e.agirre@ehu.es or Sergi.Balari@uab.es
|
||||||
%% and that of ACL 08 by Joakim Nivre and Noah Smith
|
%% and that of ACL 08 by Joakim Nivre and Noah Smith
|
||||||
|
|
||||||
\documentclass[11pt]{article}
|
\documentclass[11pt,a4paper]{article}
|
||||||
\usepackage[review]{acl}
|
{% endraw %}
|
||||||
|
\usepackage[hyperref]{
|
||||||
|
{{ cookiecutter.latex_template + '2021' if cookiecutter.latex_template == 'eacl' else cookiecutter.latex_template + '2020' }}
|
||||||
|
}
|
||||||
|
{% raw %}
|
||||||
\usepackage{times}
|
\usepackage{times}
|
||||||
\usepackage{latexsym}
|
\usepackage{latexsym}
|
||||||
|
\renewcommand{\UrlFont}{\ttfamily\small}
|
||||||
\usepackage[T1]{fontenc}
|
|
||||||
\usepackage[utf8]{inputenc}
|
|
||||||
|
|
||||||
% This is not strictly necessary, and may be commented out,
|
% This is not strictly necessary, and may be commented out,
|
||||||
% but it will improve the layout of the manuscript,
|
% but it will improve the layout of the manuscript,
|
||||||
% and will typically save some space.
|
% and will typically save some space.
|
||||||
\usepackage{microtype}
|
\usepackage{microtype}
|
||||||
|
|
||||||
% If the title and author information does not fit in the area allocated, uncomment the following
|
%\aclfinalcopy % Uncomment this line for the final submission
|
||||||
%
|
%\def\aclpaperid{***} % Enter the acl Paper ID here
|
||||||
%\setlength\titlebox{<dim>}
|
|
||||||
%
|
%\setlength\titlebox{5cm}
|
||||||
% and set <dim> to something 5cm or larger.
|
% You can expand the titlebox if you need extra space
|
||||||
|
% to show all the authors. Please do not make the titlebox
|
||||||
|
% smaller than 5cm (the original size); we will check this
|
||||||
|
% in the camera-ready version and ask you to change it back.
|
||||||
|
|
||||||
\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}
|
||||||
@ -65,6 +63,7 @@
|
|||||||
\input{main}
|
\input{main}
|
||||||
|
|
||||||
\bibliography{bibliography}
|
\bibliography{bibliography}
|
||||||
|
\bibliographystyle{acl_natbib}
|
||||||
|
|
||||||
\end{document}
|
\end{document}
|
||||||
|
|
@ -21,7 +21,7 @@
|
|||||||
|
|
||||||
% --- Tytuł pracy (w języku polskim i angielskim)
|
% --- Tytuł pracy (w języku polskim i angielskim)
|
||||||
\titlePL{ {{ cookiecutter.paper_title }} }
|
\titlePL{ {{ cookiecutter.paper_title }} }
|
||||||
\titleEN{PUT YOUR TITLE IN ENGLISH!!!!!!!!}
|
\titleEN{My thesis}
|
||||||
% --- Typ pracy (inżynierska, licencjacka, magisterska)
|
% --- Typ pracy (inżynierska, licencjacka, magisterska)
|
||||||
\type{magisterska}
|
\type{magisterska}
|
||||||
% --- Wydział (wykaz skrótów):
|
% --- Wydział (wykaz skrótów):
|
||||||
@ -56,10 +56,8 @@
|
|||||||
% --- Promotor (w dopełniaczu)
|
% --- Promotor (w dopełniaczu)
|
||||||
\supervisor{ {{ cookiecutter.supervisor }} }
|
\supervisor{ {{ cookiecutter.supervisor }} }
|
||||||
% --- Data złożenia pracy (Miasto, miesiąc rok)
|
% --- Data złożenia pracy (Miasto, miesiąc rok)
|
||||||
\newcommand{\monthname}{\ifcase \month \or styczeń\or luty\or marzec\or kwiecień\or maj%
|
\date{Poznań, grudzień 2020}
|
||||||
\or czerwiec\or lipiec\or sierpień\or wrzesień\or październik\or listopad\or grudzień\fi}
|
|
||||||
|
|
||||||
\date{Poznań, \monthname{} \the\year}
|
|
||||||
% --- Zgoda na udostępnienie pracy w czytelni (TAK/NIE)
|
% --- Zgoda na udostępnienie pracy w czytelni (TAK/NIE)
|
||||||
\stread{TAK}
|
\stread{TAK}
|
||||||
% --- Zgoda na udostępnienie pracy w zakresie ochrony (TAK/NIE)
|
% --- Zgoda na udostępnienie pracy w zakresie ochrony (TAK/NIE)
|
||||||
|
@ -1,36 +0,0 @@
|
|||||||
{% raw %}
|
|
||||||
% COLING 2025 Example;
|
|
||||||
|
|
||||||
\documentclass[11pt]{article}
|
|
||||||
|
|
||||||
\usepackage[review]{coling}
|
|
||||||
|
|
||||||
\input{config}
|
|
||||||
\input{extras}
|
|
||||||
\input{preamble}
|
|
||||||
\input{metadata}
|
|
||||||
|
|
||||||
\usepackage{times}
|
|
||||||
\usepackage{inconsolata}
|
|
||||||
|
|
||||||
\newcommand\bycite[1]{by~\citet{#1}}
|
|
||||||
|
|
||||||
\begin{document}
|
|
||||||
|
|
||||||
\maketitle
|
|
||||||
\begin{abstract}
|
|
||||||
\input{abstract}
|
|
||||||
\end{abstract}
|
|
||||||
|
|
||||||
\input{main}
|
|
||||||
|
|
||||||
\section*{References}\label{sec:reference}
|
|
||||||
|
|
||||||
\bibliography{bibliography}
|
|
||||||
|
|
||||||
\end{document}
|
|
||||||
%%% Local Variables:
|
|
||||||
%%% mode: latex
|
|
||||||
%%% TeX-master: t
|
|
||||||
%%% End:
|
|
||||||
{% endraw %}
|
|
@ -1,6 +1,7 @@
|
|||||||
\title{ {{ cookiecutter.paper_title }} }
|
{% raw %}
|
||||||
|
\title{Insert your title}
|
||||||
|
|
||||||
\author{ {{cookiecutter.main_contributor_name}} \\
|
\author{First Author \\
|
||||||
Affiliation / Address line 1 \\
|
Affiliation / Address line 1 \\
|
||||||
Affiliation / Address line 2 \\
|
Affiliation / Address line 2 \\
|
||||||
Affiliation / Address line 3 \\
|
Affiliation / Address line 3 \\
|
||||||
@ -10,3 +11,4 @@
|
|||||||
Affiliation / Address line 2 \\
|
Affiliation / Address line 2 \\
|
||||||
Affiliation / Address line 3 \\
|
Affiliation / Address line 3 \\
|
||||||
\texttt{email@domain} \\}
|
\texttt{email@domain} \\}
|
||||||
|
{% endraw %}
|
@ -0,0 +1,73 @@
|
|||||||
|
{% raw %}
|
||||||
|
\pdfoutput=1
|
||||||
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
% [paper-cutter clarifications]
|
||||||
|
%
|
||||||
|
% DO NOT EDIT THIS FILE (unless you know what you are doing).
|
||||||
|
% THIS IS A FILE SUPPLIED BY THE TEMPLATE.
|
||||||
|
% PLEASE EDIT main.tex INSTEAD.
|
||||||
|
%
|
||||||
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
%
|
||||||
|
% File coling2020.tex
|
||||||
|
%
|
||||||
|
% Contact: feiliu@cs.ucf.edu & liang.huang.sh@gmail.com
|
||||||
|
%% Based on the style files for COLING-2018, which were, in turn,
|
||||||
|
%% Based on the style files for COLING-2016, which were, in turn,
|
||||||
|
%% Based on the style files for COLING-2014, which were, in turn,
|
||||||
|
%% Based on the style files for ACL-2014, which were, in turn,
|
||||||
|
%% Based on the style files for ACL-2013, which were, in turn,
|
||||||
|
%% Based on the style files for ACL-2012, which were, in turn,
|
||||||
|
%% based on the style files for ACL-2011, which were, in turn,
|
||||||
|
%% based on the style files for ACL-2010, which were, in turn,
|
||||||
|
%% based on the style files for ACL-IJCNLP-2009, which were, in turn,
|
||||||
|
%% based on the style files for EACL-2009 and IJCNLP-2008...
|
||||||
|
|
||||||
|
%% Based on the style files for EACL 2006 by
|
||||||
|
%%e.agirre@ehu.es or Sergi.Balari@uab.es
|
||||||
|
%% and that of ACL 08 by Joakim Nivre and Noah Smith
|
||||||
|
|
||||||
|
\newcommand\citep[1]{\cite{#1}}
|
||||||
|
\newcommand\citet[1]{\newcite{#1}}
|
||||||
|
\newcommand\bycite[1]{by~\citet{#1}}
|
||||||
|
|
||||||
|
\documentclass[11pt]{article}
|
||||||
|
\usepackage{coling2020}
|
||||||
|
\usepackage{times}
|
||||||
|
\usepackage{url}
|
||||||
|
\usepackage{latexsym}
|
||||||
|
|
||||||
|
%\setlength\titlebox{5cm}
|
||||||
|
|
||||||
|
% You can expand the titlebox if you need extra space
|
||||||
|
% to show all the authors. Please do not make the titlebox
|
||||||
|
% smaller than 5cm (the original size); we will check this
|
||||||
|
% in the camera-ready version and ask you to change it back.
|
||||||
|
|
||||||
|
\input{config}
|
||||||
|
\input{extras}
|
||||||
|
\input{preamble}
|
||||||
|
\input{metadata}
|
||||||
|
|
||||||
|
\begin{document}
|
||||||
|
\maketitle
|
||||||
|
\begin{abstract}
|
||||||
|
\input{abstract}
|
||||||
|
\end{abstract}
|
||||||
|
|
||||||
|
\input{main}
|
||||||
|
|
||||||
|
\bibliography{bibliography}
|
||||||
|
\bibliographystyle{acl}
|
||||||
|
|
||||||
|
\ifwithappendix
|
||||||
|
\typeout{!!! APPENDIX WILL BE SKIPPED FOR THIS TEMPLATE. !!!}
|
||||||
|
\fi
|
||||||
|
|
||||||
|
\end{document}
|
||||||
|
|
||||||
|
%%% Local Variables:
|
||||||
|
%%% mode: latex
|
||||||
|
%%% TeX-master: t
|
||||||
|
%%% End:
|
||||||
|
{% endraw %}
|
@ -1,70 +0,0 @@
|
|||||||
{% raw %}
|
|
||||||
% The \icmltitle you define below is probably too long as a header.
|
|
||||||
% Therefore, a short form for the running title is supplied here:
|
|
||||||
|
|
||||||
{% endraw %}
|
|
||||||
\icmltitlerunning{ {{ cookiecutter.paper_title }} }
|
|
||||||
|
|
||||||
\twocolumn[
|
|
||||||
\icmltitle{ {{ cookiecutter.paper_title }} }
|
|
||||||
{% raw %}
|
|
||||||
|
|
||||||
% It is OKAY to include author information, even for blind
|
|
||||||
% submissions: the style file will automatically remove it for you
|
|
||||||
% unless you've provided the [accepted] option to the icml2022
|
|
||||||
% package.
|
|
||||||
|
|
||||||
% List of affiliations: The first argument should be a (short)
|
|
||||||
% identifier you will use later to specify author affiliations
|
|
||||||
% Academic affiliations should list Department, University, City, Region, Country
|
|
||||||
% Industry affiliations should list Company, City, Region, Country
|
|
||||||
|
|
||||||
% You can specify symbols, otherwise they are numbered in order.
|
|
||||||
% Ideally, you should not use this facility. Affiliations will be numbered
|
|
||||||
% in order of appearance and this is the preferred way.
|
|
||||||
\icmlsetsymbol{equal}{*}
|
|
||||||
|
|
||||||
\begin{icmlauthorlist}
|
|
||||||
|
|
||||||
{% endraw %}
|
|
||||||
\icmlauthor{ {{ cookiecutter.main_contributor_name }} }{equal,yyy}
|
|
||||||
{% raw %}
|
|
||||||
\icmlauthor{Firstname2 Lastname2}{equal,yyy,comp}
|
|
||||||
\icmlauthor{Firstname3 Lastname3}{comp}
|
|
||||||
\icmlauthor{Firstname4 Lastname4}{sch}
|
|
||||||
\icmlauthor{Firstname5 Lastname5}{yyy}
|
|
||||||
\icmlauthor{Firstname6 Lastname6}{sch,yyy,comp}
|
|
||||||
\icmlauthor{Firstname7 Lastname7}{comp}
|
|
||||||
%\icmlauthor{}{sch}
|
|
||||||
\icmlauthor{Firstname8 Lastname8}{sch}
|
|
||||||
\icmlauthor{Firstname8 Lastname8}{yyy,comp}
|
|
||||||
%\icmlauthor{}{sch}
|
|
||||||
%\icmlauthor{}{sch}
|
|
||||||
\end{icmlauthorlist}
|
|
||||||
|
|
||||||
\icmlaffiliation{yyy}{Department of XXX, University of YYY, Location, Country}
|
|
||||||
\icmlaffiliation{comp}{Company Name, Location, Country}
|
|
||||||
\icmlaffiliation{sch}{School of ZZZ, Institute of WWW, Location, Country}
|
|
||||||
|
|
||||||
\icmlcorrespondingauthor{Firstname1 Lastname1}{first1.last1@xxx.edu}
|
|
||||||
\icmlcorrespondingauthor{Firstname2 Lastname2}{first2.last2@www.uk}
|
|
||||||
|
|
||||||
% You may provide any keywords that you
|
|
||||||
% find helpful for describing your paper; these are used to populate
|
|
||||||
% the "keywords" metadata in the PDF but will not be shown in the document
|
|
||||||
\icmlkeywords{Machine Learning, ICML}
|
|
||||||
|
|
||||||
\vskip 0.3in
|
|
||||||
]
|
|
||||||
|
|
||||||
% this must go after the closing bracket ] following \twocolumn[ ...
|
|
||||||
|
|
||||||
% This command actually creates the footnote in the first column
|
|
||||||
% listing the affiliations and the copyright notice.
|
|
||||||
% The command takes one argument, which is text to display at the start of the footnote.
|
|
||||||
% The \icmlEqualContribution command is standard text for equal contribution.
|
|
||||||
% Remove it (just {}) if you do not need this facility.
|
|
||||||
|
|
||||||
%\printAffiliationsAndNotice{} % leave blank if no need to mention equal contribution
|
|
||||||
\printAffiliationsAndNotice{\icmlEqualContribution} % otherwise use the standard text.
|
|
||||||
{% endraw %}
|
|
@ -1,118 +0,0 @@
|
|||||||
{% raw %}
|
|
||||||
|
|
||||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
||||||
% [paper-cutter clarifications]
|
|
||||||
%
|
|
||||||
% DO NOT EDIT THIS FILE (unless you know what you are doing).
|
|
||||||
% THIS IS A FILE SUPPLIED BY THE TEMPLATE.
|
|
||||||
% PLEASE EDIT main.tex INSTEAD.
|
|
||||||
%
|
|
||||||
% Based on https://media.icml.cc/Conferences/ICML2022/Styles/icml2022.zip
|
|
||||||
%
|
|
||||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
||||||
|
|
||||||
%%%%%%%% ICML 2022 EXAMPLE LATEX SUBMISSION FILE %%%%%%%%%%%%%%%%%
|
|
||||||
|
|
||||||
\documentclass[nohyperref]{article}
|
|
||||||
|
|
||||||
% Recommended, but optional, packages for figures and better typesetting:
|
|
||||||
\usepackage{microtype}
|
|
||||||
\usepackage{graphicx}
|
|
||||||
\usepackage{subfigure}
|
|
||||||
\usepackage{booktabs} % for professional tables
|
|
||||||
|
|
||||||
% hyperref makes hyperlinks in the resulting PDF.
|
|
||||||
% If your build breaks (sometimes temporarily if a hyperlink spans a page)
|
|
||||||
% please comment out the following usepackage line and replace
|
|
||||||
% \usepackage{icml2022} with \usepackage[nohyperref]{icml2022} above.
|
|
||||||
\usepackage{hyperref}
|
|
||||||
|
|
||||||
|
|
||||||
% Attempt to make hyperref and algorithmic work together better:
|
|
||||||
\newcommand{\theHalgorithm}{\arabic{algorithm}}
|
|
||||||
|
|
||||||
% Use the following line for the initial blind version submitted for review:
|
|
||||||
\usepackage{icml2022}
|
|
||||||
|
|
||||||
% If accepted, instead use the following line for the camera-ready submission:
|
|
||||||
% \usepackage[accepted]{icml2022}
|
|
||||||
|
|
||||||
% For theorems and such
|
|
||||||
\usepackage{amsmath}
|
|
||||||
\usepackage{amssymb}
|
|
||||||
\usepackage{mathtools}
|
|
||||||
\usepackage{amsthm}
|
|
||||||
|
|
||||||
% if you use cleveref..
|
|
||||||
\usepackage[capitalize,noabbrev]{cleveref}
|
|
||||||
|
|
||||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
||||||
% THEOREMS
|
|
||||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
||||||
\theoremstyle{plain}
|
|
||||||
\newtheorem{theorem}{Theorem}[section]
|
|
||||||
\newtheorem{proposition}[theorem]{Proposition}
|
|
||||||
\newtheorem{lemma}[theorem]{Lemma}
|
|
||||||
\newtheorem{corollary}[theorem]{Corollary}
|
|
||||||
\theoremstyle{definition}
|
|
||||||
\newtheorem{definition}[theorem]{Definition}
|
|
||||||
\newtheorem{assumption}[theorem]{Assumption}
|
|
||||||
\theoremstyle{remark}
|
|
||||||
\newtheorem{remark}[theorem]{Remark}
|
|
||||||
|
|
||||||
% Todonotes is useful during development; simply uncomment the next line
|
|
||||||
% and comment out the line below the next line to turn off comments
|
|
||||||
%\usepackage[disable,textsize=tiny]{todonotes}
|
|
||||||
\usepackage[textsize=tiny]{todonotes}
|
|
||||||
|
|
||||||
\newcommand\bycite[1]{by~\citet{#1}}
|
|
||||||
|
|
||||||
\input{config}
|
|
||||||
\input{extras}
|
|
||||||
\input{preamble}
|
|
||||||
|
|
||||||
\begin{document}
|
|
||||||
|
|
||||||
\input{metadata}
|
|
||||||
|
|
||||||
|
|
||||||
\begin{abstract}
|
|
||||||
\input{abstract}
|
|
||||||
\end{abstract}
|
|
||||||
|
|
||||||
\input{main}
|
|
||||||
|
|
||||||
\bibliography{bibliography}
|
|
||||||
\bibliographystyle{icml2022}
|
|
||||||
|
|
||||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
||||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
||||||
% APPENDIX
|
|
||||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
||||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
||||||
\ifwithappendix
|
|
||||||
\newpage
|
|
||||||
\appendix
|
|
||||||
\onecolumn
|
|
||||||
\input{appendix}
|
|
||||||
\fi
|
|
||||||
|
|
||||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
||||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
||||||
|
|
||||||
\end{document}
|
|
||||||
|
|
||||||
|
|
||||||
% This document was modified from the file originally made available by
|
|
||||||
% Pat Langley and Andrea Danyluk for ICML-2K. This version was created
|
|
||||||
% by Iain Murray in 2018, and modified by Alexandre Bouchard in
|
|
||||||
% 2019 and 2021 and by Csaba Szepesvari, Gang Niu and Sivan Sabato in 2022.
|
|
||||||
% Previous contributors include Dan Roy, Lise Getoor and Tobias
|
|
||||||
% Scheffer, which was slightly modified from the 2010 version by
|
|
||||||
% Thorsten Joachims & Johannes Fuernkranz, slightly modified from the
|
|
||||||
% 2009 version by Kiri Wagstaff and Sam Roweis's 2008 version, which is
|
|
||||||
% slightly modified from Prasad Tadepalli's 2007 version which is a
|
|
||||||
% lightly changed version of the previous year's version by Andrew
|
|
||||||
% Moore, which was in turn edited from those of Kristian Kersting and
|
|
||||||
% Codrina Lauth. Alex Smola contributed to the algorithmic style files.
|
|
||||||
{% endraw %}
|
|
@ -1,5 +0,0 @@
|
|||||||
\begin{IEEEbiography}[{\includegraphics[width=1in,height=1.25in,clip,keepaspectratio]{images/sample-photo.png}}]{ {{cookiecutter.main_contributor_name}} } (M'77--SM'82--F'85) Here comes a biography
|
|
||||||
\end{IEEEbiography}
|
|
||||||
|
|
||||||
\begin{IEEEbiography}[{\includegraphics[width=1in,height=1.25in,clip,keepaspectratio]{images/sample-photo.png}}]{Second B. Author} Here comes another bio
|
|
||||||
\end{IEEEbiography}
|
|
@ -1,26 +0,0 @@
|
|||||||
|
|
||||||
\history{Date of publication xxxx 00, 0000, date of current version xxxx 00, 0000.}
|
|
||||||
\doi{10.1109/ACCESS.2017.DOI}
|
|
||||||
|
|
||||||
\title{ {{ cookiecutter.paper_title }} }
|
|
||||||
\author{\uppercase{ {{cookiecutter.main_contributor_name}} }\authorrefmark{1}, \IEEEmembership{Fellow, IEEE},
|
|
||||||
\uppercase{Second B. Author\authorrefmark{2}, and Third C. Author,
|
|
||||||
Jr}.\authorrefmark{3},
|
|
||||||
\IEEEmembership{Member, IEEE}}
|
|
||||||
\address[1]{National Institute of Standards and
|
|
||||||
Technology, Boulder, CO 80305 USA (e-mail: author@boulder.nist.gov)}
|
|
||||||
\address[2]{Department of Physics, Colorado State University, Fort Collins,
|
|
||||||
CO 80523 USA (e-mail: author@lamar.colostate.edu)}
|
|
||||||
\address[3]{Electrical Engineering Department, University of Colorado, Boulder, CO
|
|
||||||
80309 USA}
|
|
||||||
\tfootnote{This paragraph of the first footnote will contain support
|
|
||||||
information, including sponsor and financial support acknowledgment. For
|
|
||||||
example, ``This work was supported in part by the U.S. Department of
|
|
||||||
Commerce under Grant BS123456.''}
|
|
||||||
|
|
||||||
\markboth
|
|
||||||
{Author \headeretal: Preparation of Papers for IEEE TRANSACTIONS and JOURNALS}
|
|
||||||
{Author \headeretal: Preparation of Papers for IEEE TRANSACTIONS and JOURNALS}
|
|
||||||
|
|
||||||
\corresp{Corresponding author: {{cookiecutter.main_contributor_name}} (e-mail: author@ boulder.nist.gov).}
|
|
||||||
.
|
|
Binary file not shown.
Before Width: | Height: | Size: 496 KiB |
@ -1,53 +0,0 @@
|
|||||||
{% raw %}
|
|
||||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
||||||
% [paper-cutter clarifications]
|
|
||||||
%
|
|
||||||
% DO NOT EDIT THIS FILE (unless you know what you are doing).
|
|
||||||
% THIS IS A FILE SUPPLIED BY THE TEMPLATE.
|
|
||||||
% PLEASE EDIT main.tex INSTEAD.
|
|
||||||
%
|
|
||||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
||||||
|
|
||||||
\documentclass{ieeeaccess}
|
|
||||||
\usepackage{cite}
|
|
||||||
\usepackage{amsmath,amssymb,amsfonts}
|
|
||||||
\usepackage{algorithmic}
|
|
||||||
\usepackage{graphicx}
|
|
||||||
\usepackage{textcomp}
|
|
||||||
\def\BibTeX{{\rm B\kern-.05em{\sc i\kern-.025em b}\kern-.08em
|
|
||||||
T\kern-.1667em\lower.7ex\hbox{E}\kern-.125emX}}
|
|
||||||
|
|
||||||
\newcommand\bycite[1]{by~\cite{#1}}
|
|
||||||
\newcommand\citep[1]{\cite{#1}}
|
|
||||||
|
|
||||||
\input{config}
|
|
||||||
\input{extras}
|
|
||||||
\input{preamble}
|
|
||||||
|
|
||||||
\begin{document}
|
|
||||||
|
|
||||||
\input{metadata}
|
|
||||||
|
|
||||||
\begin{abstract}
|
|
||||||
\input{abstract}
|
|
||||||
\end{abstract}
|
|
||||||
|
|
||||||
\begin{keywords}
|
|
||||||
\input{keywords}
|
|
||||||
\end{keywords}
|
|
||||||
|
|
||||||
\titlepgskip=-15pt
|
|
||||||
|
|
||||||
\maketitle
|
|
||||||
|
|
||||||
\input{main}
|
|
||||||
|
|
||||||
\bibliography{bibliography}
|
|
||||||
\bibliographystyle{unsrt}
|
|
||||||
|
|
||||||
\input{biographies}
|
|
||||||
|
|
||||||
\EOD
|
|
||||||
|
|
||||||
\end{document}
|
|
||||||
{% endraw %}
|
|
@ -1,18 +0,0 @@
|
|||||||
\title{ {{ cookiecutter.paper_title }} }
|
|
||||||
%
|
|
||||||
%
|
|
||||||
\author{
|
|
||||||
\IEEEauthorblockN{ {{ cookiecutter.main_contributor_name }} }
|
|
||||||
\IEEEauthorblockA{
|
|
||||||
University of This and That\\
|
|
||||||
in Flatland\\
|
|
||||||
ul.\ XYZ 111, 12-345 Flatcity, Flatland\\
|
|
||||||
Email: abc@flatland.edu}
|
|
||||||
\and
|
|
||||||
\IEEEauthorblockN{Second Author, Third Author}
|
|
||||||
\IEEEauthorblockA{Universit\'{e} de Paris-Sud,\\
|
|
||||||
Laboratoire d'Analyse Num\'{e}rique,\\
|
|
||||||
B\^{a}timent 425,\\
|
|
||||||
F-91405 Orsay Cedex, France\\
|
|
||||||
Email: \{second, third\}@subdomain.domain.fr}
|
|
||||||
}
|
|
@ -1,58 +0,0 @@
|
|||||||
{% raw %}
|
|
||||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
||||||
% [paper-cutter clarifications]
|
|
||||||
%
|
|
||||||
% DO NOT EDIT THIS FILE (unless you know what you are doing).
|
|
||||||
% THIS IS A FILE SUPPLIED BY THE TEMPLATE.
|
|
||||||
% PLEASE EDIT main.tex INSTEAD.
|
|
||||||
%
|
|
||||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
||||||
%
|
|
||||||
%
|
|
||||||
% Based on https://fedcsis.org/resources/latex.zip
|
|
||||||
\documentclass[conference]{IEEEtran}
|
|
||||||
|
|
||||||
% This package serves to balance the column lengths on the last page of the document.
|
|
||||||
% please, insert \balance command in the left column of the last page
|
|
||||||
\usepackage{balance}
|
|
||||||
|
|
||||||
%% to enable \thank command
|
|
||||||
\IEEEoverridecommandlockouts
|
|
||||||
|
|
||||||
% to typeset algorithms
|
|
||||||
\usepackage{algorithmic}
|
|
||||||
\usepackage{algorithm}
|
|
||||||
% to typeset code fragments
|
|
||||||
\usepackage{listings}
|
|
||||||
% to make an accent \k be available
|
|
||||||
\usepackage[OT4,T1]{fontenc}
|
|
||||||
% provides various features to facilitate writing math formulas and to improve the typographical quality of their output.
|
|
||||||
\usepackage[cmex10]{amsmath}
|
|
||||||
\interdisplaylinepenalty=2500
|
|
||||||
% por urls typesetting and breaking
|
|
||||||
\usepackage{url}
|
|
||||||
% for vertical merging table cells
|
|
||||||
\usepackage{multirow}
|
|
||||||
|
|
||||||
\newcommand\bycite[1]{by~\cite{#1}}
|
|
||||||
|
|
||||||
\input{config}
|
|
||||||
\input{extras}
|
|
||||||
\input{preamble}
|
|
||||||
\input{metadata}
|
|
||||||
|
|
||||||
|
|
||||||
\begin{document}
|
|
||||||
\maketitle % typeset the title of the contribution
|
|
||||||
|
|
||||||
\begin{abstract}
|
|
||||||
\input{abstract}
|
|
||||||
\end{abstract}
|
|
||||||
|
|
||||||
\input{main}
|
|
||||||
|
|
||||||
\bibliographystyle{abbrv}
|
|
||||||
\bibliography{bibliography}
|
|
||||||
|
|
||||||
\end{document}
|
|
||||||
{% endraw %}
|
|
@ -1,15 +1,13 @@
|
|||||||
\title{ {{ cookiecutter.paper_title }}\thanks{Supported byorganization x.} }
|
|
||||||
{% raw %}
|
{% raw %}
|
||||||
|
\title{Contribution Title\thanks{Supported by organization x.}}
|
||||||
%
|
%
|
||||||
%\titlerunning{Abbreviated paper title}
|
%\titlerunning{Abbreviated paper title}
|
||||||
% If the paper title is too long for the running head, you can set
|
% If the paper title is too long for the running head, you can set
|
||||||
% an abbreviated paper title here
|
% an abbreviated paper title here
|
||||||
%
|
%
|
||||||
{% endraw %}
|
\author{First Author\inst{1}\orcidID{0000-1111-2222-3333} \and
|
||||||
\author{ {{cookiecutter.main_contributor_name}}\inst{1}\orcidID{0000-1111-2222-3333} \and
|
|
||||||
Second Author\inst{2,3}\orcidID{1111-2222-3333-4444} \and
|
Second Author\inst{2,3}\orcidID{1111-2222-3333-4444} \and
|
||||||
Third Author\inst{3}\orcidID{2222--3333-4444-5555} }
|
Third Author\inst{3}\orcidID{2222--3333-4444-5555}}
|
||||||
{% raw %}
|
|
||||||
%
|
%
|
||||||
\authorrunning{F. Author et al.}
|
\authorrunning{F. Author et al.}
|
||||||
% First names are abbreviated in the running head.
|
% First names are abbreviated in the running head.
|
||||||
|
@ -1,19 +1,12 @@
|
|||||||
{% raw %}
|
{% raw %}
|
||||||
% Here is how the title is formatted on the first page of the article
|
% Here is how the title is formatted on the first page of the article
|
||||||
{% endraw %}
|
\chapter{Four-Horned Unicorns: Dialectal Studies \\ of a Recently Discovered Species}
|
||||||
\chapter{ {{ cookiecutter.paper_title }} }
|
|
||||||
{% raw %}
|
|
||||||
|
|
||||||
% Here is the short title in the running head
|
% Here is the short title in the running head
|
||||||
{% endraw %}
|
\fancyhead[LO]{\textnormal{\small{Four-Horned Unicorns: Dialectal Studies}}}
|
||||||
\fancyhead[LO]{\textnormal{\small{ {{ cookiecutter.paper_title }} }}}
|
|
||||||
{% raw %}
|
|
||||||
|
|
||||||
% Here we have:
|
% Here we have:
|
||||||
% - in square brackets: author(s) in the running head
|
% - in square brackets: author(s) in the running head
|
||||||
% - in curly brackets: author(s) on the first page of the article
|
% - in curly brackets: author(s) on the first page of the article
|
||||||
|
\chapterauthor[John Doe, Venkatanarasimha Rajuvaripet]{John Doe \textnormal{(Institute for Natural Language Processing, University of Southern Atlantis)}, Venkatanarasimha Rajuvaripet \textnormal{(Institute for Unicorn Studies, Brahmapura)}}
|
||||||
{% endraw %}
|
{% endraw %}
|
||||||
\chapterauthor[ {{ cookiecutter.main_contributor_name }} ]{ {{ cookiecutter.main_contributor_name }}
|
|
||||||
\textnormal{(Institute for Natural Language Processing, University
|
|
||||||
of Southern Atlantis)}, Some Other Contributor
|
|
||||||
\textnormal{(Institute for Unicorn Studies, Brahmapura)}}
|
|
||||||
|
@ -14,11 +14,10 @@
|
|||||||
\input{config}
|
\input{config}
|
||||||
\input{extras}
|
\input{extras}
|
||||||
\input{preamble}
|
\input{preamble}
|
||||||
|
\input{metadata}
|
||||||
|
|
||||||
\begin{document}
|
\begin{document}
|
||||||
|
|
||||||
\input{metadata}
|
|
||||||
|
|
||||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
|
||||||
\begin{abstract}
|
\begin{abstract}
|
||||||
@ -33,6 +32,8 @@
|
|||||||
|
|
||||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
|
||||||
|
\section{Introduction}
|
||||||
|
|
||||||
\input{main}
|
\input{main}
|
||||||
|
|
||||||
\bibliography{bibliography}
|
\bibliography{bibliography}
|
||||||
|
@ -1,6 +0,0 @@
|
|||||||
\title{ {{cookiecutter.paper_title}} }
|
|
||||||
\author{\authorname{ {{cookiecutter.main_contributor_name}}\sup{1}\orcidAuthor{0000-0000-0000-0000}, Second Author Name\sup{1}\orcidAuthor{0000-0000-0000-0000} and Third Author Name\sup{2}\orcidAuthor{0000-0000-0000-0000}}
|
|
||||||
\affiliation{\sup{1}Institute of Problem Solving, XYZ University, My Street, MyTown, MyCountry}
|
|
||||||
\affiliation{\sup{2}Department of Computing, Main University, MySecondTown, MyCountry}
|
|
||||||
\email{\{f\_author, s\_author\}@ips.xyz.edu, t\_author@dc.mu.edu}
|
|
||||||
}
|
|
@ -1,60 +0,0 @@
|
|||||||
{% raw %}
|
|
||||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
||||||
% [paper-cutter clarifications]
|
|
||||||
%
|
|
||||||
% DO NOT EDIT THIS FILE (unless you know what you are doing).
|
|
||||||
% THIS IS A FILE SUPPLIED BY THE TEMPLATE.
|
|
||||||
% PLEASE EDIT main.tex INSTEAD.
|
|
||||||
%
|
|
||||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
||||||
|
|
||||||
\documentclass[a4paper,twoside]{article}
|
|
||||||
|
|
||||||
\usepackage{epsfig}
|
|
||||||
\usepackage{subcaption}
|
|
||||||
\usepackage{calc}
|
|
||||||
\usepackage{amssymb}
|
|
||||||
\usepackage{amstext}
|
|
||||||
\usepackage{amsmath}
|
|
||||||
\usepackage{amsthm}
|
|
||||||
\usepackage{multicol}
|
|
||||||
\usepackage{pslatex}
|
|
||||||
\usepackage{apalike}
|
|
||||||
\usepackage[bottom]{footmisc}
|
|
||||||
|
|
||||||
\newcommand{\citep}{\cite}
|
|
||||||
\newcommand{\citet}{\cite}
|
|
||||||
\newcommand\bycite[1]{in~\citet{#1}}
|
|
||||||
|
|
||||||
\input{config}
|
|
||||||
\input{preamble}
|
|
||||||
|
|
||||||
\usepackage{SCITEPRESS}
|
|
||||||
\input{extras}
|
|
||||||
|
|
||||||
\begin{document}
|
|
||||||
|
|
||||||
\input{metadata.tex}
|
|
||||||
|
|
||||||
\keywords{%
|
|
||||||
\input{keywords}
|
|
||||||
}
|
|
||||||
|
|
||||||
\abstract{%
|
|
||||||
\input{abstract}
|
|
||||||
}
|
|
||||||
|
|
||||||
\onecolumn \maketitle \normalsize \setcounter{footnote}{0} \vfill
|
|
||||||
|
|
||||||
\input{main}
|
|
||||||
|
|
||||||
\bibliographystyle{apalike}
|
|
||||||
{\small
|
|
||||||
\bibliography{bibliography}}
|
|
||||||
|
|
||||||
\ifwithappendix
|
|
||||||
\input{appendix}
|
|
||||||
\fi
|
|
||||||
|
|
||||||
\end{document}
|
|
||||||
{% endraw %}
|
|
@ -20,7 +20,6 @@
|
|||||||
\affiliation{%
|
\affiliation{%
|
||||||
\institution{Institute for Clarity in Documentation}
|
\institution{Institute for Clarity in Documentation}
|
||||||
\streetaddress{P.O. Box 1212}
|
\streetaddress{P.O. Box 1212}
|
||||||
\country{Ireland}
|
|
||||||
\city{Dublin}
|
\city{Dublin}
|
||||||
\state{Ohio}
|
\state{Ohio}
|
||||||
\postcode{43017-6221}
|
\postcode{43017-6221}
|
||||||
@ -57,6 +56,22 @@
|
|||||||
\state{Beijing Shi}
|
\state{Beijing Shi}
|
||||||
\country{China}}
|
\country{China}}
|
||||||
|
|
||||||
|
\author{Charles Palmer}
|
||||||
|
\affiliation{%
|
||||||
|
\institution{Palmer Research Laboratories}
|
||||||
|
\streetaddress{8600 Datapoint Drive}
|
||||||
|
\city{San Antonio}
|
||||||
|
\state{Texas}
|
||||||
|
\postcode{78229}}
|
||||||
|
\email{cpalmer@prl.com}
|
||||||
|
|
||||||
|
\author{John Smith}
|
||||||
|
\affiliation{\institution{The Th{\o}rv{\"a}ld Group}}
|
||||||
|
\email{jsmith@affiliation.org}
|
||||||
|
|
||||||
|
\author{Julius P. Kumquat}
|
||||||
|
\affiliation{\institution{The Kumquat Consortium}}
|
||||||
|
\email{jpkumquat@consortium.net}
|
||||||
|
|
||||||
%%
|
%%
|
||||||
%% By default, the full list of authors will be used in the page
|
%% By default, the full list of authors will be used in the page
|
||||||
|
@ -1,37 +0,0 @@
|
|||||||
#!/usr/bin/env python3
|
|
||||||
|
|
||||||
import time
|
|
||||||
from pyminder.pyminder import Pyminder
|
|
||||||
import os
|
|
||||||
import sys
|
|
||||||
|
|
||||||
|
|
||||||
if 'BEEMINDER_USER' not in os.environ:
|
|
||||||
print('BEEMINDER_USER not set', file=sys.stderr)
|
|
||||||
exit(1)
|
|
||||||
|
|
||||||
if 'BEEMINDER_TOKEN' not in os.environ:
|
|
||||||
print('BEEMINDER_TOKEN not set', file=sys.stderr)
|
|
||||||
exit(1)
|
|
||||||
|
|
||||||
beeminder_user = os.environ['BEEMINDER_USER']
|
|
||||||
beeminder_token = os.environ['BEEMINDER_TOKEN']
|
|
||||||
|
|
||||||
|
|
||||||
pyminder = Pyminder(user=beeminder_user, token=beeminder_token)
|
|
||||||
|
|
||||||
goal = pyminder.get_goal('{{cookiecutter.paper_id}}')
|
|
||||||
|
|
||||||
with open('stats.txt', 'r') as stats_fh:
|
|
||||||
next(stats_fh)
|
|
||||||
stats = next(stats_fh)
|
|
||||||
page_count, _, _ = stats.split('\t')
|
|
||||||
|
|
||||||
print(f'reporting {page_count} pages', file=sys.stderr)
|
|
||||||
|
|
||||||
now = time.time()
|
|
||||||
|
|
||||||
goal.stage_datapoint(value=page_count,
|
|
||||||
time=now)
|
|
||||||
|
|
||||||
goal.commit_datapoints()
|
|
1322
{{cookiecutter.paper_repo_name}}/acl.bst
Normal file
1322
{{cookiecutter.paper_repo_name}}/acl.bst
Normal file
File diff suppressed because it is too large
Load Diff
2907
{{cookiecutter.paper_repo_name}}/acmart.cls
Normal file
2907
{{cookiecutter.paper_repo_name}}/acmart.cls
Normal file
File diff suppressed because it is too large
Load Diff
6
{{cookiecutter.paper_repo_name}}/autozoil-extras.tex
Normal file
6
{{cookiecutter.paper_repo_name}}/autozoil-extras.tex
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
{% raw %}
|
||||||
|
\newcommand{\code}[1]{\texttt{#1}}
|
||||||
|
\newcommand{\noqa}[1]{}
|
||||||
|
\newcommand{\noqall}[1]{}
|
||||||
|
\newcommand{\eng}[1]{\textit{#1}}
|
||||||
|
{% endraw %}
|
@ -1,13 +1,3 @@
|
|||||||
|
|
||||||
% here the bibliographic entry for the paper itself should be given,
|
|
||||||
% used for generating declarations
|
|
||||||
|
|
||||||
@InProceedings{this-paper,
|
|
||||||
author="{{cookiecutter.paper_title}}",
|
|
||||||
title="{{cookiecutter.main_contributor_name}}",
|
|
||||||
year=2021
|
|
||||||
}
|
|
||||||
|
|
||||||
{% raw %}
|
{% raw %}
|
||||||
|
|
||||||
@inproceedings{gralinski-etal-2019-geval,
|
@inproceedings{gralinski-etal-2019-geval,
|
||||||
|
382
{{cookiecutter.paper_repo_name}}/coling2020.sty
Normal file
382
{{cookiecutter.paper_repo_name}}/coling2020.sty
Normal file
@ -0,0 +1,382 @@
|
|||||||
|
{% raw %}
|
||||||
|
% File coling2018.sty
|
||||||
|
|
||||||
|
% This is the LaTeX style file for Coling 2018. It is identical to
|
||||||
|
% the style file for Coling 2016.
|
||||||
|
|
||||||
|
% This is the LaTeX style file for Coling 2016. It is identical to
|
||||||
|
% the style file for Coling 2014.
|
||||||
|
|
||||||
|
% This is the LaTeX style file for Coling 2014. It is nearly identical to
|
||||||
|
% the style file for ACL 2014.
|
||||||
|
%
|
||||||
|
% Changes made: switched to single column format and removed margin around
|
||||||
|
% abtract
|
||||||
|
|
||||||
|
% This is the LaTeX style file for ACL 2014. It is nearly identical to
|
||||||
|
% the style files for ACL 2013, EACL 2006, ACL2005, ACL 2002, ACL
|
||||||
|
% 2001, ACL 2000, EACL 95 and EACL 99.
|
||||||
|
%
|
||||||
|
% Changes made include: adapt layout to A4 and centimeters, widen abstract
|
||||||
|
|
||||||
|
% This is the LaTeX style file for ACL 2000. It is nearly identical to the
|
||||||
|
% style files for EACL 95 and EACL 99. Minor changes include editing the
|
||||||
|
% instructions to reflect use of \documentclass rather than \documentstyle
|
||||||
|
% and removing the white space before the title on the first page
|
||||||
|
% -- John Chen, June 29, 2000
|
||||||
|
|
||||||
|
% To convert from submissions prepared using the style file aclsub.sty
|
||||||
|
% prepared for the ACL 2000 conference, proceed as follows:
|
||||||
|
% 1) Remove submission-specific information: \whichsession, \id,
|
||||||
|
% \wordcount, \otherconferences, \area, \keywords
|
||||||
|
% 2) \summary should be removed. The summary material should come
|
||||||
|
% after \maketitle and should be in the ``abstract'' environment
|
||||||
|
% 3) Check all citations. This style should handle citations correctly
|
||||||
|
% and also allows multiple citations separated by semicolons.
|
||||||
|
% 4) Check figures and examples. Because the final format is double-
|
||||||
|
% column, some adjustments may have to be made to fit text in the column
|
||||||
|
% or to choose full-width (\figure*} figures.
|
||||||
|
% 5) Change the style reference from aclsub to acl2000, and be sure
|
||||||
|
% this style file is in your TeX search path
|
||||||
|
|
||||||
|
|
||||||
|
% This is the LaTeX style file for EACL-95. It is identical to the
|
||||||
|
% style file for ANLP '94 except that the margins are adjusted for A4
|
||||||
|
% paper. -- abney 13 Dec 94
|
||||||
|
|
||||||
|
% The ANLP '94 style file is a slightly modified
|
||||||
|
% version of the style used for AAAI and IJCAI, using some changes
|
||||||
|
% prepared by Fernando Pereira and others and some minor changes
|
||||||
|
% by Paul Jacobs.
|
||||||
|
|
||||||
|
% Papers prepared using the aclsub.sty file and acl.bst bibtex style
|
||||||
|
% should be easily converted to final format using this style.
|
||||||
|
% (1) Submission information (\wordcount, \subject, and \makeidpage)
|
||||||
|
% should be removed.
|
||||||
|
% (2) \summary should be removed. The summary material should come
|
||||||
|
% after \maketitle and should be in the ``abstract'' environment
|
||||||
|
% (between \begin{abstract} and \end{abstract}).
|
||||||
|
% (3) Check all citations. This style should handle citations correctly
|
||||||
|
% and also allows multiple citations separated by semicolons.
|
||||||
|
% (4) Check figures and examples. Because the final format is double-
|
||||||
|
% column, some adjustments may have to be made to fit text in the column
|
||||||
|
% or to choose full-width (\figure*} figures.
|
||||||
|
|
||||||
|
% Place this in a file called aclap.sty in the TeX search path.
|
||||||
|
% (Placing it in the same directory as the paper should also work.)
|
||||||
|
|
||||||
|
% Prepared by Peter F. Patel-Schneider, liberally using the ideas of
|
||||||
|
% other style hackers, including Barbara Beeton.
|
||||||
|
% This style is NOT guaranteed to work. It is provided in the hope
|
||||||
|
% that it will make the preparation of papers easier.
|
||||||
|
%
|
||||||
|
% There are undoubtably bugs in this style. If you make bug fixes,
|
||||||
|
% improvements, etc. please let me know. My e-mail address is:
|
||||||
|
% pfps@research.att.com
|
||||||
|
|
||||||
|
% Papers are to be prepared using the ``acl'' bibliography style,
|
||||||
|
% as follows:
|
||||||
|
% \documentclass[11pt]{article}
|
||||||
|
% \usepackage{acl2000}
|
||||||
|
% \title{Title}
|
||||||
|
% \author{Author 1 \and Author 2 \\ Address line \\ Address line \And
|
||||||
|
% Author 3 \\ Address line \\ Address line}
|
||||||
|
% \begin{document}
|
||||||
|
% ...
|
||||||
|
% \bibliography{bibliography-file}
|
||||||
|
% \bibliographystyle{acl}
|
||||||
|
% \end{document}
|
||||||
|
|
||||||
|
% Author information can be set in various styles:
|
||||||
|
% For several authors from the same institution:
|
||||||
|
% \author{Author 1 \and ... \and Author n \\
|
||||||
|
% Address line \\ ... \\ Address line}
|
||||||
|
% if the names do not fit well on one line use
|
||||||
|
% Author 1 \\ {\bf Author 2} \\ ... \\ {\bf Author n} \\
|
||||||
|
% For authors from different institutions:
|
||||||
|
% \author{Author 1 \\ Address line \\ ... \\ Address line
|
||||||
|
% \And ... \And
|
||||||
|
% Author n \\ Address line \\ ... \\ Address line}
|
||||||
|
% To start a seperate ``row'' of authors use \AND, as in
|
||||||
|
% \author{Author 1 \\ Address line \\ ... \\ Address line
|
||||||
|
% \AND
|
||||||
|
% Author 2 \\ Address line \\ ... \\ Address line \And
|
||||||
|
% Author 3 \\ Address line \\ ... \\ Address line}
|
||||||
|
|
||||||
|
% If the title and author information does not fit in the area allocated,
|
||||||
|
% place \setlength\titlebox{<new height>} right after
|
||||||
|
% \usepackage{coling2018}
|
||||||
|
% where <new height> can be something larger than 5cm
|
||||||
|
|
||||||
|
\typeout{Conference Style for COLING 2020 -- prepared 29 Sep. 2019}
|
||||||
|
|
||||||
|
% NOTE: Some laser printers have a serious problem printing TeX output.
|
||||||
|
% These printing devices, commonly known as ``write-white'' laser
|
||||||
|
% printers, tend to make characters too light. To get around this
|
||||||
|
% problem, a darker set of fonts must be created for these devices.
|
||||||
|
%
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
% A4 modified by Eneko; again modified by Alexander for 5cm titlebox
|
||||||
|
\setlength{\paperwidth}{21cm} % A4
|
||||||
|
\setlength{\paperheight}{29.7cm}% A4
|
||||||
|
\setlength\topmargin{-0.5cm}
|
||||||
|
\setlength\oddsidemargin{0cm}
|
||||||
|
\setlength\textheight{24.7cm}
|
||||||
|
\setlength\textwidth{16.0cm}
|
||||||
|
\setlength\columnsep{0.6cm}
|
||||||
|
\newlength\titlebox
|
||||||
|
\setlength\titlebox{5cm}
|
||||||
|
\setlength\headheight{5pt}
|
||||||
|
\setlength\headsep{0pt}
|
||||||
|
\thispagestyle{empty}
|
||||||
|
\pagestyle{empty}
|
||||||
|
|
||||||
|
|
||||||
|
\flushbottom \sloppy
|
||||||
|
|
||||||
|
% We're never going to need a table of contents, so just flush it to
|
||||||
|
% save space --- suggested by drstrip@sandia-2
|
||||||
|
\def\addcontentsline#1#2#3{}
|
||||||
|
|
||||||
|
|
||||||
|
\newif\ifcolingfinal
|
||||||
|
\colingfinalfalse
|
||||||
|
\def\colingfinalcopy{\global\colingfinaltrue}
|
||||||
|
|
||||||
|
% Footnote without marker for copyright/licence statement
|
||||||
|
% Code taken from
|
||||||
|
% http://tex.stackexchange.com/questions/30720/footnote-without-a-marker
|
||||||
|
% which claims to have taken it, in turn, from
|
||||||
|
% http://help-csli.stanford.edu/tex/latex-footnotes.shtml#unnumber
|
||||||
|
% Note the comment that there may be numbering problems if
|
||||||
|
% you are using the hyperref package.
|
||||||
|
\def\blfootnote{\xdef\@thefnmark{}\@footnotetext}
|
||||||
|
|
||||||
|
% Code taken from
|
||||||
|
% https://tex.stackexchange.com/questions/124410/hyperref-modifies-bibliography-style-of-acl-style-files
|
||||||
|
% which fixes incorrect bibliography styles when using the hyperref package
|
||||||
|
\newcommand{\@BIBLABEL}{\@emptybiblabel}
|
||||||
|
\newcommand{\@emptybiblabel}[1]{}
|
||||||
|
|
||||||
|
\newcommand\outauthor{
|
||||||
|
\begin{tabular}[t]{c}
|
||||||
|
\ifcolingfinal
|
||||||
|
\bf\@author
|
||||||
|
\else
|
||||||
|
% Avoiding common accidental de-anonymization issue. --MM
|
||||||
|
\bf Anonymous COLING submission
|
||||||
|
\fi
|
||||||
|
\end{tabular}}
|
||||||
|
|
||||||
|
% Title stuff, taken from deproc.
|
||||||
|
\def\maketitle{\par
|
||||||
|
\begingroup
|
||||||
|
\def\thefootnote{\fnsymbol{footnote}}
|
||||||
|
\def\@makefnmark{\hbox to 0pt{$^{\@thefnmark}$\hss}}
|
||||||
|
\@maketitle \@thanks
|
||||||
|
\endgroup
|
||||||
|
\setcounter{footnote}{0}
|
||||||
|
\let\maketitle\relax \let\@maketitle\relax
|
||||||
|
\gdef\@thanks{}\gdef\@author{}\gdef\@title{}\let\thanks\relax}
|
||||||
|
\def\@maketitle{\vbox to \titlebox{\hsize\textwidth
|
||||||
|
\linewidth\hsize \vskip 0.125in minus 0.125in \centering
|
||||||
|
{\Large\bf \@title \par} \vskip 0.2in plus 1fil minus 0.1in
|
||||||
|
{\def\and{\unskip\enspace{\rm and}\enspace}%
|
||||||
|
\def\And{\end{tabular}\hss \egroup \hskip 1in plus 2fil
|
||||||
|
\hbox to 0pt\bgroup\hss \begin{tabular}[t]{c}\bf}%
|
||||||
|
\def\AND{\end{tabular}\hss\egroup \hfil\hfil\egroup
|
||||||
|
\vskip 0.25in plus 1fil minus 0.125in
|
||||||
|
\hbox to \linewidth\bgroup\large \hfil\hfil
|
||||||
|
\hbox to 0pt\bgroup\hss \begin{tabular}[t]{c}\bf}
|
||||||
|
\hbox to \linewidth\bgroup\large \hfil\hfil
|
||||||
|
\hbox to 0pt\bgroup\hss \outauthor
|
||||||
|
\hss\egroup
|
||||||
|
\hfil\hfil\egroup}
|
||||||
|
\vskip 0.3in plus 2fil minus 0.1in
|
||||||
|
}}
|
||||||
|
|
||||||
|
% margins for abstract
|
||||||
|
\renewenvironment{abstract}%
|
||||||
|
{\centerline{\large\bf Abstract}%
|
||||||
|
\begin{list}{}%
|
||||||
|
{\setlength{\rightmargin}{0.6cm}%
|
||||||
|
\setlength{\leftmargin}{0.6cm}}%
|
||||||
|
\item[]\ignorespaces}%
|
||||||
|
{\unskip\end{list}}
|
||||||
|
|
||||||
|
%\renewenvironment{abstract}{\centerline{\large\bf
|
||||||
|
% Abstract}\vspace{0.5ex}\begin{quote}}{\par\end{quote}\vskip 1ex}
|
||||||
|
|
||||||
|
|
||||||
|
% bibliography
|
||||||
|
|
||||||
|
\def\thebibliography#1{\section*{References}
|
||||||
|
\global\def\@listi{\leftmargin\leftmargini
|
||||||
|
\labelwidth\leftmargini \advance\labelwidth-\labelsep
|
||||||
|
\topsep 1pt plus 2pt minus 1pt
|
||||||
|
\parsep 0.25ex plus 1pt \itemsep 0.25ex plus 1pt}
|
||||||
|
\list {[\arabic{enumi}]}{\settowidth\labelwidth{[#1]}\leftmargin\labelwidth
|
||||||
|
\advance\leftmargin\labelsep\usecounter{enumi}}
|
||||||
|
\def\newblock{\hskip .11em plus .33em minus -.07em}
|
||||||
|
\sloppy
|
||||||
|
\sfcode`\.=1000\relax}
|
||||||
|
|
||||||
|
\def\@up#1{\raise.2ex\hbox{#1}}
|
||||||
|
|
||||||
|
% most of cite format is from aclsub.sty by SMS
|
||||||
|
|
||||||
|
% don't box citations, separate with ; and a space
|
||||||
|
% also, make the penalty between citations negative: a good place to break
|
||||||
|
% changed comma back to semicolon pj 2/1/90
|
||||||
|
% \def\@citex[#1]#2{\if@filesw\immediate\write\@auxout{\string\citation{#2}}\fi
|
||||||
|
% \def\@citea{}\@cite{\@for\@citeb:=#2\do
|
||||||
|
% {\@citea\def\@citea{;\penalty\@citeseppen\ }\@ifundefined
|
||||||
|
% {b@\@citeb}{{\bf ?}\@warning
|
||||||
|
% {Citation `\@citeb' on page \thepage \space undefined}}%
|
||||||
|
% {\csname b@\@citeb\endcsname}}}{#1}}
|
||||||
|
|
||||||
|
% don't box citations, separate with ; and a space
|
||||||
|
% Replaced for multiple citations (pj)
|
||||||
|
% don't box citations and also add space, semicolon between multiple citations
|
||||||
|
\def\@citex[#1]#2{\if@filesw\immediate\write\@auxout{\string\citation{#2}}\fi
|
||||||
|
\def\@citea{}\@cite{\@for\@citeb:=#2\do
|
||||||
|
{\@citea\def\@citea{; }\@ifundefined
|
||||||
|
{b@\@citeb}{{\bf ?}\@warning
|
||||||
|
{Citation `\@citeb' on page \thepage \space undefined}}%
|
||||||
|
{\csname b@\@citeb\endcsname}}}{#1}}
|
||||||
|
|
||||||
|
% Allow short (name-less) citations, when used in
|
||||||
|
% conjunction with a bibliography style that creates labels like
|
||||||
|
% \citename{<names>, }<year>
|
||||||
|
%
|
||||||
|
\let\@internalcite\cite
|
||||||
|
\def\cite{\def\citename##1{##1, }\@internalcite}
|
||||||
|
\def\shortcite{\def\citename##1{}\@internalcite}
|
||||||
|
\def\newcite{\def\citename##1{{\frenchspacing##1} (}\@internalciteb}
|
||||||
|
|
||||||
|
% Macros for \newcite, which leaves name in running text, and is
|
||||||
|
% otherwise like \shortcite.
|
||||||
|
\def\@citexb[#1]#2{\if@filesw\immediate\write\@auxout{\string\citation{#2}}\fi
|
||||||
|
\def\@citea{}\@newcite{\@for\@citeb:=#2\do
|
||||||
|
{\@citea\def\@citea{;\penalty\@m\ }\@ifundefined
|
||||||
|
{b@\@citeb}{{\bf ?}\@warning
|
||||||
|
{Citation `\@citeb' on page \thepage \space undefined}}%
|
||||||
|
{\csname b@\@citeb\endcsname}}}{#1}}
|
||||||
|
\def\@internalciteb{\@ifnextchar [{\@tempswatrue\@citexb}{\@tempswafalse\@citexb[]}}
|
||||||
|
|
||||||
|
\def\@newcite#1#2{{#1\if@tempswa, #2\fi)}}
|
||||||
|
|
||||||
|
\def\@biblabel#1{\def\citename##1{##1}[#1]\hfill}
|
||||||
|
|
||||||
|
%%% More changes made by SMS (originals in latex.tex)
|
||||||
|
% Use parentheses instead of square brackets in the text.
|
||||||
|
\def\@cite#1#2{({#1\if@tempswa , #2\fi})}
|
||||||
|
|
||||||
|
% Don't put a label in the bibliography at all. Just use the unlabeled format
|
||||||
|
% instead.
|
||||||
|
\def\thebibliography#1{\vskip\parskip%
|
||||||
|
\vskip\baselineskip%
|
||||||
|
\def\baselinestretch{1}%
|
||||||
|
\ifx\@currsize\normalsize\@normalsize\else\@currsize\fi%
|
||||||
|
\vskip-\parskip%
|
||||||
|
\vskip-\baselineskip%
|
||||||
|
\section*{References\@mkboth
|
||||||
|
{References}{References}}\list
|
||||||
|
{}{\setlength{\labelwidth}{0pt}\setlength{\leftmargin}{\parindent}
|
||||||
|
\setlength{\itemindent}{-\parindent}}
|
||||||
|
\def\newblock{\hskip .11em plus .33em minus -.07em}
|
||||||
|
\sloppy\clubpenalty4000\widowpenalty4000
|
||||||
|
\sfcode`\.=1000\relax}
|
||||||
|
\let\endthebibliography=\endlist
|
||||||
|
|
||||||
|
% Allow for a bibliography of sources of attested examples
|
||||||
|
\def\thesourcebibliography#1{\vskip\parskip%
|
||||||
|
\vskip\baselineskip%
|
||||||
|
\def\baselinestretch{1}%
|
||||||
|
\ifx\@currsize\normalsize\@normalsize\else\@currsize\fi%
|
||||||
|
\vskip-\parskip%
|
||||||
|
\vskip-\baselineskip%
|
||||||
|
\section*{Sources of Attested Examples\@mkboth
|
||||||
|
{Sources of Attested Examples}{Sources of Attested Examples}}\list
|
||||||
|
{}{\setlength{\labelwidth}{0pt}\setlength{\leftmargin}{\parindent}
|
||||||
|
\setlength{\itemindent}{-\parindent}}
|
||||||
|
\def\newblock{\hskip .11em plus .33em minus -.07em}
|
||||||
|
\sloppy\clubpenalty4000\widowpenalty4000
|
||||||
|
\sfcode`\.=1000\relax}
|
||||||
|
\let\endthesourcebibliography=\endlist
|
||||||
|
|
||||||
|
\def\@lbibitem[#1]#2{\item[]\if@filesw
|
||||||
|
{ \def\protect##1{\string ##1\space}\immediate
|
||||||
|
\write\@auxout{\string\bibcite{#2}{#1}}\fi\ignorespaces}}
|
||||||
|
|
||||||
|
\def\@bibitem#1{\item\if@filesw \immediate\write\@auxout
|
||||||
|
{\string\bibcite{#1}{\the\c@enumi}}\fi\ignorespaces}
|
||||||
|
|
||||||
|
% sections with less space
|
||||||
|
\def\section{\@startsection {section}{1}{\z@}{-2.0ex plus
|
||||||
|
-0.5ex minus -.2ex}{1.5ex plus 0.3ex minus .2ex}{\large\bf\raggedright}}
|
||||||
|
\def\subsection{\@startsection{subsection}{2}{\z@}{-1.8ex plus
|
||||||
|
-0.5ex minus -.2ex}{0.8ex plus .2ex}{\normalsize\bf\raggedright}}
|
||||||
|
%% changed by KO to - values to get teh initial parindent right
|
||||||
|
\def\subsubsection{\@startsection{subsubsection}{3}{\z@}{-1.5ex plus
|
||||||
|
-0.5ex minus -.2ex}{0.5ex plus .2ex}{\normalsize\bf\raggedright}}
|
||||||
|
\def\paragraph{\@startsection{paragraph}{4}{\z@}{1.5ex plus
|
||||||
|
0.5ex minus .2ex}{-1em}{\normalsize\bf}}
|
||||||
|
\def\subparagraph{\@startsection{subparagraph}{5}{\parindent}{1.5ex plus
|
||||||
|
0.5ex minus .2ex}{-1em}{\normalsize\bf}}
|
||||||
|
|
||||||
|
% Footnotes
|
||||||
|
\footnotesep 6.65pt %
|
||||||
|
\skip\footins 9pt plus 4pt minus 2pt
|
||||||
|
\def\footnoterule{\kern-3pt \hrule width 5pc \kern 2.6pt }
|
||||||
|
\setcounter{footnote}{0}
|
||||||
|
|
||||||
|
% Lists and paragraphs
|
||||||
|
\parindent 1em
|
||||||
|
\topsep 4pt plus 1pt minus 2pt
|
||||||
|
\partopsep 1pt plus 0.5pt minus 0.5pt
|
||||||
|
\itemsep 2pt plus 1pt minus 0.5pt
|
||||||
|
\parsep 2pt plus 1pt minus 0.5pt
|
||||||
|
|
||||||
|
\leftmargin 2em \leftmargini\leftmargin \leftmarginii 2em
|
||||||
|
\leftmarginiii 1.5em \leftmarginiv 1.0em \leftmarginv .5em \leftmarginvi .5em
|
||||||
|
\labelwidth\leftmargini\advance\labelwidth-\labelsep \labelsep 5pt
|
||||||
|
|
||||||
|
\def\@listi{\leftmargin\leftmargini}
|
||||||
|
\def\@listii{\leftmargin\leftmarginii
|
||||||
|
\labelwidth\leftmarginii\advance\labelwidth-\labelsep
|
||||||
|
\topsep 2pt plus 1pt minus 0.5pt
|
||||||
|
\parsep 1pt plus 0.5pt minus 0.5pt
|
||||||
|
\itemsep \parsep}
|
||||||
|
\def\@listiii{\leftmargin\leftmarginiii
|
||||||
|
\labelwidth\leftmarginiii\advance\labelwidth-\labelsep
|
||||||
|
\topsep 1pt plus 0.5pt minus 0.5pt
|
||||||
|
\parsep \z@ \partopsep 0.5pt plus 0pt minus 0.5pt
|
||||||
|
\itemsep \topsep}
|
||||||
|
\def\@listiv{\leftmargin\leftmarginiv
|
||||||
|
\labelwidth\leftmarginiv\advance\labelwidth-\labelsep}
|
||||||
|
\def\@listv{\leftmargin\leftmarginv
|
||||||
|
\labelwidth\leftmarginv\advance\labelwidth-\labelsep}
|
||||||
|
\def\@listvi{\leftmargin\leftmarginvi
|
||||||
|
\labelwidth\leftmarginvi\advance\labelwidth-\labelsep}
|
||||||
|
|
||||||
|
\abovedisplayskip 7pt plus2pt minus5pt%
|
||||||
|
\belowdisplayskip \abovedisplayskip
|
||||||
|
\abovedisplayshortskip 0pt plus3pt%
|
||||||
|
\belowdisplayshortskip 4pt plus3pt minus3pt%
|
||||||
|
|
||||||
|
% Less leading in most fonts (due to the narrow columns)
|
||||||
|
% The choices were between 1-pt and 1.5-pt leading
|
||||||
|
\def\@normalsize{\@setsize\normalsize{11pt}\xpt\@xpt}
|
||||||
|
\def\small{\@setsize\small{10pt}\ixpt\@ixpt}
|
||||||
|
\def\footnotesize{\@setsize\footnotesize{10pt}\ixpt\@ixpt}
|
||||||
|
\def\scriptsize{\@setsize\scriptsize{8pt}\viipt\@viipt}
|
||||||
|
\def\tiny{\@setsize\tiny{7pt}\vipt\@vipt}
|
||||||
|
\def\large{\@setsize\large{14pt}\xiipt\@xiipt}
|
||||||
|
\def\Large{\@setsize\Large{16pt}\xivpt\@xivpt}
|
||||||
|
\def\LARGE{\@setsize\LARGE{20pt}\xviipt\@xviipt}
|
||||||
|
\def\huge{\@setsize\huge{23pt}\xxpt\@xxpt}
|
||||||
|
\def\Huge{\@setsize\Huge{28pt}\xxvpt\@xxvpt}
|
||||||
|
{% endraw %}
|
@ -3,15 +3,10 @@
|
|||||||
|
|
||||||
title: {{cookiecutter.paper_title}}
|
title: {{cookiecutter.paper_title}}
|
||||||
authors:
|
authors:
|
||||||
- author: {{cookiecutter.main_contributor_name}}
|
- author: Jan Iksinski
|
||||||
level: 1
|
|
||||||
contributions:
|
contributions:
|
||||||
- did this
|
- did this
|
||||||
- did that
|
- did that
|
||||||
- author: Józef Igrekowski
|
- author: Józef Igrekowski
|
||||||
level: 1
|
|
||||||
contributions:
|
|
||||||
- did something else
|
|
||||||
- author: Adam Abacki
|
|
||||||
contributions:
|
contributions:
|
||||||
- did something else
|
- did something else
|
BIN
{{cookiecutter.paper_repo_name}}/cup_logo-eps-converted-to.pdf
Normal file
BIN
{{cookiecutter.paper_repo_name}}/cup_logo-eps-converted-to.pdf
Normal file
Binary file not shown.
11044
{{cookiecutter.paper_repo_name}}/cup_logo.eps
Normal file
11044
{{cookiecutter.paper_repo_name}}/cup_logo.eps
Normal file
File diff suppressed because one or more lines are too long
@ -10,15 +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) {
|
||||||
my $k = $1;
|
$found{$1} = 1;
|
||||||
|
|
||||||
if ($k ne '#1') {
|
|
||||||
$found{$k} = 1;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
close($ih);
|
close($ih);
|
||||||
}
|
}
|
||||||
|
|
||||||
print join(" ", map { "scores/${_}.txt" } map { s/ /\\ /g; $_} sort keys %found);
|
print join(" ", map { "scores/${_}.txt" } sort keys %found);
|
||||||
|
@ -1,57 +1,7 @@
|
|||||||
|
|
||||||
{% raw %}
|
{% raw %}
|
||||||
|
\input{other-extras}
|
||||||
% DO NOT MODIFY THIS FILE UNLESS YOU KNOW WHAT YOU'RE DOING
|
\input{autozoil-extras}
|
||||||
% IF YOU NEED PAPER-SPECIFIC PACKAGES/DEFINITIONS, ADD THEM TO preamble.tex
|
|
||||||
|
|
||||||
% various custom definitions
|
|
||||||
|
|
||||||
\usepackage[T1]{fontenc}
|
|
||||||
\usepackage[utf8]{inputenc}
|
|
||||||
\usepackage[textsize=tiny]{todonotes}
|
|
||||||
\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
|
|
||||||
|
|
||||||
\usepackage{footnote}
|
|
||||||
\makesavenoteenv{tabular}
|
|
||||||
\makesavenoteenv{table}
|
|
||||||
\makesavenoteenv{table*}
|
|
||||||
|
|
||||||
% for better typesetting of URLs
|
|
||||||
|
|
||||||
\usepackage{xurl}
|
|
||||||
|
|
||||||
% input without unwanted end-of-line characters
|
|
||||||
|
|
||||||
\newcommand\minput[1]{%
|
|
||||||
\input{#1}%
|
|
||||||
\ifhmode\ifnum\lastnodetype=11 \unskip\fi\fi}
|
|
||||||
|
|
||||||
% Gonito stuff
|
|
||||||
\usepackage{hyperref}
|
|
||||||
\usepackage{xstring}
|
|
||||||
% Format a reference to a Gonito submission
|
|
||||||
\newcommand{\gonitoref}[1]{\{\href{https://gonito.net/q/#1}{\StrMid{#1}{1}{6}}\}}
|
|
||||||
% A bare score from Gonito
|
|
||||||
\newcommand{\gonitobarescore}[1]{\minput{scores/#1.txt}}
|
|
||||||
% A score from Gonito along with a reference
|
|
||||||
\newcommand{\gonitoscore}[1]{\gonitobarescore{#1} \gonitoref{#1}}
|
|
||||||
% A reference and a score as two cells in a table
|
|
||||||
\newcommand{\gonitoentry}[1]{\gonitoref{#1} & \minput{scores/#1.txt}}
|
|
||||||
% A reference and a score as two cells in a table, the score will be
|
|
||||||
% marked as the best (typeset in bold)
|
|
||||||
\newcommand{\gonitobestentry}[1]{\gonitoref{#1} & \textbf{\minput{scores/#1.txt}}}
|
|
||||||
|
|
||||||
% Autozoil-related commands
|
|
||||||
\providecommand{\code}[1]{\texttt{#1}}
|
|
||||||
\newcommand{\noqa}[1]{}
|
|
||||||
\newcommand{\noqall}[1]{}
|
|
||||||
\newcommand{\eng}[1]{\textit{#1}}
|
|
||||||
|
|
||||||
%%% Local Variables:
|
%%% Local Variables:
|
||||||
%%% mode: latex
|
%%% mode: latex
|
||||||
|
@ -1,88 +0,0 @@
|
|||||||
{% raw %}
|
|
||||||
\documentclass[a4paper]{article}
|
|
||||||
\usepackage{booktabs}
|
|
||||||
\usepackage{bibentry}
|
|
||||||
%\usepackage[style=verbose]{biblatex}
|
|
||||||
\usepackage[total={170mm,277mm}, left=20mm, top=10mm]{geometry}
|
|
||||||
\thispagestyle{empty}
|
|
||||||
\renewcommand{\labelitemi}{--}
|
|
||||||
\usepackage{tabularx}
|
|
||||||
\usepackage{longtable}
|
|
||||||
|
|
||||||
\usepackage[backend=biber,maxnames=12]{biblatex}
|
|
||||||
\bibliography{../bibliography.bib}
|
|
||||||
|
|
||||||
|
|
||||||
\begin{document}
|
|
||||||
|
|
||||||
\begin{flushright}
|
|
||||||
{{tday}}
|
|
||||||
\end{flushright}
|
|
||||||
|
|
||||||
\medskip
|
|
||||||
|
|
||||||
\begin{center}
|
|
||||||
{\bf Declaration}
|
|
||||||
\end{center}
|
|
||||||
|
|
||||||
\bigskip
|
|
||||||
|
|
||||||
I hereby declare that the contribution to the following paper:
|
|
||||||
|
|
||||||
\smallskip
|
|
||||||
|
|
||||||
\noindent\fullcite{this-paper}
|
|
||||||
|
|
||||||
\smallskip
|
|
||||||
|
|
||||||
\noindent is correctly characterized in the table below{% if nb_of_levels == 0 %}.{% elif nb_of_levels == 1 %} ({{ level_symbols[0] }} denotes equal contributions).{% else %} ({% for lix in range(nb_of_levels) %}{% if lix == nb_of_levels - 1 %}{} and {{ level_symbols[lix] }}{} denote groups of equal contributions).{% elif lix == 0 %}{{ level_symbols[lix] }}{% else %}, {{ level_symbols[lix] }}{% endif %}{% endfor %}{% endif %}
|
|
||||||
\medskip
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
\begin{center}
|
|
||||||
\begin{longtable}{lc}
|
|
||||||
\toprule
|
|
||||||
\addlinespace[0.05cm]
|
|
||||||
Contributor & Description of main tasks \\
|
|
||||||
\addlinespace[0.05cm]
|
|
||||||
\midrule
|
|
||||||
\addlinespace[0.1cm]
|
|
||||||
{% for author in data['authors'] %}
|
|
||||||
{{ author['author'] }}{% if 'level' in author %}{{level_symbols[author['level']-1]}}{% endif %}
|
|
||||||
&
|
|
||||||
\begin{minipage} [t] {0.6\textwidth}
|
|
||||||
\begin{itemize}
|
|
||||||
\itemsep=0em
|
|
||||||
{% for citem in author['contributions'] %}
|
|
||||||
\item {{citem}}
|
|
||||||
{% endfor %}
|
|
||||||
\end{itemize}
|
|
||||||
\end{minipage} \\
|
|
||||||
{% if loop.index == loop.length %}
|
|
||||||
\addlinespace[0.25cm]
|
|
||||||
{% else %}
|
|
||||||
\addlinespace[0.5cm]
|
|
||||||
{% endif %}
|
|
||||||
{% endfor %}
|
|
||||||
\bottomrule
|
|
||||||
\end{longtable}
|
|
||||||
\end{center}
|
|
||||||
|
|
||||||
\vskip 0.8cm
|
|
||||||
|
|
||||||
\begin{tabularx}{\textwidth}{XXXX}
|
|
||||||
{% for author in data['authors'] %}
|
|
||||||
{{ author['author'] }}
|
|
||||||
{% if loop.index == loop.length %}
|
|
||||||
\\
|
|
||||||
{% elif loop.index % 4 == 0 %}
|
|
||||||
\\ \addlinespace[0.5cm]
|
|
||||||
{% else %}
|
|
||||||
&
|
|
||||||
{% endif %}
|
|
||||||
{% endfor %}
|
|
||||||
\end{tabularx}
|
|
||||||
|
|
||||||
\end{document}
|
|
||||||
{% endraw %}
|
|
@ -8,7 +8,7 @@ use strict;
|
|||||||
binmode(STDIN, ':utf8');
|
binmode(STDIN, ':utf8');
|
||||||
binmode(STDOUT, ':utf8');
|
binmode(STDOUT, ':utf8');
|
||||||
|
|
||||||
my $subdir_regexp = qr{(?:figures|images|plots)};
|
my $subdir_regexp = qr{(?:figures|images)};
|
||||||
|
|
||||||
sub fix_subdirs {
|
sub fix_subdirs {
|
||||||
my ($p) = @_;
|
my ($p) = @_;
|
||||||
|
@ -1,35 +0,0 @@
|
|||||||
#!/usr/bin/env python3
|
|
||||||
|
|
||||||
import yaml
|
|
||||||
import sys
|
|
||||||
import os
|
|
||||||
import datetime
|
|
||||||
|
|
||||||
|
|
||||||
from jinja2 import FileSystemLoader, Environment, PackageLoader, select_autoescape
|
|
||||||
env = Environment(
|
|
||||||
loader=FileSystemLoader(os.path.abspath('.')),
|
|
||||||
autoescape=select_autoescape()
|
|
||||||
)
|
|
||||||
|
|
||||||
|
|
||||||
contributions = yaml.safe_load(sys.stdin)
|
|
||||||
|
|
||||||
|
|
||||||
tday = datetime.date.today()
|
|
||||||
ftday = tday.strftime('%B %d, %Y')
|
|
||||||
|
|
||||||
level_symbols = [
|
|
||||||
'*',
|
|
||||||
'\\dag',
|
|
||||||
'\\ddag',
|
|
||||||
'\\S',
|
|
||||||
'\\P',
|
|
||||||
'\\#']
|
|
||||||
|
|
||||||
nb_of_levels = len(set((c['level'] for c in contributions['authors'] if 'level' in c)))
|
|
||||||
|
|
||||||
|
|
||||||
template = env.get_template("contribution-declaration.tex.tmpl")
|
|
||||||
|
|
||||||
print(template.render(tday=ftday, data=contributions, level_symbols=level_symbols, nb_of_levels=nb_of_levels))
|
|
@ -1,15 +1,3 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
input_file="$1"
|
bash helpers/pdf-to-plain-text.sh "$1" | perl helpers/strip-references.pl | perl -pne 'chomp $_; $_.=" "' | python3 -m syntok.segmenter
|
||||||
method="$2"
|
|
||||||
|
|
||||||
extract_text() {
|
|
||||||
if [[ "$method" == "from-tex" ]]
|
|
||||||
then
|
|
||||||
detex "$input_file" | grep -E '\S' | grep -v 'unsrt' | perl -pne 's/^\s+| +$//g'
|
|
||||||
else
|
|
||||||
bash helpers/pdf-to-plain-text.sh "$input_file" | perl helpers/strip-references.pl | perl -pne 'chomp $_; $_.=" "'
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
extract_text | python3 -m syntok.segmenter | grep -E '\S'
|
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
pdftotext "$1" - | grep -F -v 'Confidential Review Copy' | grep -E -v '^(ACL 2020 Submission \*\*\*\. Confidential Review Copy\. DO NOT DISTRIBUTE\.|Anonymous ACL submission|Abstract|Results|Conclusions|https?://\S+)\s*$' | grep '[^[:space:]]' | grep -E '[a-zA-Z]{2}' | perl -pne 's/\f//g;' | uniq
|
pdftotext "$1" - | fgrep -v 'Confidential Review Copy' | grep -P -v '^(ACL 2020 Submission \*\*\*\. Confidential Review Copy\. DO NOT DISTRIBUTE\.|Anonymous ACL submission|Abstract|Results|Conclusions|https?://\S+)\s*$' | grep '[^[:space:]]' | egrep '[a-zA-Z]{2}' | perl -pne 's/\f//g;' | uniq
|
||||||
|
@ -49,7 +49,7 @@ handle_subdir()
|
|||||||
then
|
then
|
||||||
perl helpers/flatten-structure.pl < "$f" > "$dst"
|
perl helpers/flatten-structure.pl < "$f" > "$dst"
|
||||||
else
|
else
|
||||||
cp "$f" "$dst"
|
cp $f $dst
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
@ -57,7 +57,6 @@ handle_subdir()
|
|||||||
|
|
||||||
handle_subdir images
|
handle_subdir images
|
||||||
handle_subdir figures
|
handle_subdir figures
|
||||||
handle_subdir plots
|
|
||||||
handle_subdir scores
|
handle_subdir scores
|
||||||
handle_subdir inputs
|
handle_subdir inputs
|
||||||
|
|
||||||
@ -85,10 +84,10 @@ then
|
|||||||
:
|
:
|
||||||
elif [[ "$latex_template" == "tacl" ]]
|
elif [[ "$latex_template" == "tacl" ]]
|
||||||
then
|
then
|
||||||
copy_to_project tacl2018v2.sty acl_natbib.bst
|
copy_to_project tacl2018v2.sty acl.bst acl_natbib.bst
|
||||||
elif [[ "$latex_template" == "acl" ]]
|
elif [[ "$latex_template" == "acl" ]]
|
||||||
then
|
then
|
||||||
copy_to_project acl.sty acl_natbib.bst
|
copy_to_project acl2020.sty acl.bst acl_natbib.bst
|
||||||
elif [[ "$latex_template" == "nle" ]]
|
elif [[ "$latex_template" == "nle" ]]
|
||||||
then
|
then
|
||||||
copy_to_project nle.cls nlelike.bst cup_logo.eps cup_logo-eps-converted-to.pdf
|
copy_to_project nle.cls nlelike.bst cup_logo.eps cup_logo-eps-converted-to.pdf
|
||||||
@ -100,40 +99,19 @@ then
|
|||||||
:
|
:
|
||||||
elif [[ "$latex_template" == "coling" ]]
|
elif [[ "$latex_template" == "coling" ]]
|
||||||
then
|
then
|
||||||
copy_to_project coling_natbib.bst \
|
copy_to_project coling2020.sty acl.bst
|
||||||
coling.sty
|
|
||||||
elif [[ "$latex_template" == "llncs" ]]
|
elif [[ "$latex_template" == "llncs" ]]
|
||||||
then
|
then
|
||||||
copy_to_project llncs.cls splncs04.bst
|
copy_to_project llncs.cls splncs04.bst
|
||||||
elif [[ "$latex_template" == "emnlp" ]]
|
elif [[ "$latex_template" == "emnlp" ]]
|
||||||
then
|
then
|
||||||
copy_to_project emnlp2020.sty acl_natbib.bst
|
copy_to_project emnlp2020.sty acl.bst acl_natbib.bst
|
||||||
elif [[ "$latex_template" == "eacl" ]]
|
elif [[ "$latex_template" == "eacl" ]]
|
||||||
then
|
then
|
||||||
copy_to_project eacl2021.sty acl_natbib.bst
|
copy_to_project eacl2021.sty acl.bst acl_natbib.bst
|
||||||
elif [[ "$latex_template" == "neurips" ]]
|
elif [[ "$latex_template" == "neurips" ]]
|
||||||
then
|
then
|
||||||
copy_to_project neurips_2021.sty
|
copy_to_project neurips_2021.sty
|
||||||
elif [[ "$latex_template" == "icml" ]]
|
|
||||||
then
|
|
||||||
copy_to_project algorithm.sty \
|
|
||||||
algorithmic.sty \
|
|
||||||
fancyhdr.sty \
|
|
||||||
icml2022.bst \
|
|
||||||
icml2022.sty
|
|
||||||
elif [[ "$latex_template" == "scitepress" ]]
|
|
||||||
then
|
|
||||||
copy_to_project apalike.bst \
|
|
||||||
apalike.sty \
|
|
||||||
article.cls \
|
|
||||||
orcid.eps \
|
|
||||||
SCITEPRESS.sty
|
|
||||||
elif [[ "$latex_template" == "ieee-access" ]]
|
|
||||||
then
|
|
||||||
copy_to_project bullet.png ieeeaccess.cls IEEEtran.cls ieeeaccess.cls spotcolor.sty logo.png notaglinelogo.png
|
|
||||||
elif [[ "$latex_template" == "ieee-conf" ]]
|
|
||||||
then
|
|
||||||
:
|
|
||||||
elif [[ "$latex_template" == "poleval" ]]
|
elif [[ "$latex_template" == "poleval" ]]
|
||||||
then
|
then
|
||||||
copy_to_project poleval.bst poleval.cls
|
copy_to_project poleval.bst poleval.cls
|
||||||
@ -144,7 +122,7 @@ fi
|
|||||||
|
|
||||||
copy_to_project bibliography.bib
|
copy_to_project bibliography.bib
|
||||||
|
|
||||||
perl -pne 's/^\s*\\usepackage\{xurl\}$//' -i "$project_dir/extras.tex"
|
perl -pne 's/^\s*\\usepackage\{xurl\}$//' -i "$project_dir/other-extras.tex"
|
||||||
|
|
||||||
heredir=`pwd`
|
heredir=`pwd`
|
||||||
|
|
||||||
|
@ -1,75 +0,0 @@
|
|||||||
#!/bin/bash -e
|
|
||||||
|
|
||||||
echo "Setting up interoperability with Overleaf..."
|
|
||||||
echo "Note that you need ability to clone repos from Overleaf."
|
|
||||||
|
|
||||||
original_git_url=$(git remote get-url origin)
|
|
||||||
|
|
||||||
echo "Make sure $original_git_url exists at your git server."
|
|
||||||
echo "It should be created as en empty repo, *uncheck* option"
|
|
||||||
echo "'Initialize repository with a README' or similar."
|
|
||||||
|
|
||||||
echo ""
|
|
||||||
echo "Press ENTER to start"
|
|
||||||
read
|
|
||||||
|
|
||||||
here_dir=$(basename $PWD)
|
|
||||||
|
|
||||||
|
|
||||||
make
|
|
||||||
make source-pack
|
|
||||||
|
|
||||||
source_pack={{cookiecutter.paper_id}}.zip
|
|
||||||
|
|
||||||
echo ""
|
|
||||||
echo "Go to Overleaf, click New Project / Upload Project,"
|
|
||||||
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 "paste here and press ENTER"
|
|
||||||
|
|
||||||
read
|
|
||||||
overleaf_git_url=$REPLY
|
|
||||||
# remove "git clone" in case it was directly copied from Overleaf
|
|
||||||
overleaf_git_url=${overleaf_git_url#git clone }
|
|
||||||
overleaf_git_id=$(basename $overleaf_git_url)
|
|
||||||
|
|
||||||
|
|
||||||
cd ..
|
|
||||||
|
|
||||||
backup_dir=${here_dir}-backup
|
|
||||||
mv $here_dir ${here_dir}-backup
|
|
||||||
|
|
||||||
git clone $overleaf_git_url $here_dir
|
|
||||||
|
|
||||||
cd $here_dir
|
|
||||||
|
|
||||||
git remote add overleaf $overleaf_git_url
|
|
||||||
git remote set-url origin $original_git_url
|
|
||||||
|
|
||||||
git config credential.helper "cache --timeout=10000000"
|
|
||||||
|
|
||||||
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
|
|
||||||
|
|
||||||
git add --all
|
|
||||||
git commit -m 'Bring back all the files'
|
|
||||||
|
|
||||||
perl -pne 's{OVERLEAF_GIT_URL=}{OVERLEAF_GIT_URL='$overleaf_git_url'}' -i helpers/vars
|
|
||||||
|
|
||||||
git add helpers/vars
|
|
||||||
git commit -m 'Set vars'
|
|
||||||
|
|
||||||
git push overleaf master
|
|
||||||
git push origin master
|
|
||||||
|
|
||||||
cd ..
|
|
||||||
|
|
||||||
echo "DONE"
|
|
||||||
echo "Left ${backup_dir}, now type 'cd ..' and you can remove it"
|
|
@ -1,6 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
here_dir=$(dirname "$0")
|
here_dir=$(dirname "$0")
|
||||||
|
echo $here_dir
|
||||||
|
|
||||||
pdf_file="$1"
|
pdf_file="$1"
|
||||||
|
|
||||||
|
@ -1,9 +1,5 @@
|
|||||||
|
|
||||||
{% if cookiecutter.latex_template != 'pw-thesis' and cookiecutter.latex_template != 'amu' %}
|
|
||||||
\section{Main}
|
\section{Main}
|
||||||
{% else %}
|
|
||||||
\chapter{Main}
|
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
This is a~sample paper~\cite{gonito2016}.
|
This is a~sample paper~\cite{gonito2016}.
|
||||||
See the experiments described \bycite{gonito2016}.
|
See the experiments described \bycite{gonito2016}.
|
||||||
@ -12,8 +8,10 @@ Please put your content here.
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
{% if cookiecutter.latex_template != 'pw-thesis' and cookiecutter.latex_template != 'amu' %}
|
\subsection{Gonito}
|
||||||
\section{Yet another section}
|
|
||||||
{% else %}
|
Gonito submission should be referenced like this
|
||||||
\chapter{Yet another chapter}
|
\gonitoscore{6ab4979e4629c5559feba452b7ca74c0cac89ebb}%
|
||||||
{% endif %}
|
\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.}
|
||||||
|
4212
{{cookiecutter.paper_repo_name}}/nle.cls
Normal file
4212
{{cookiecutter.paper_repo_name}}/nle.cls
Normal file
File diff suppressed because it is too large
Load Diff
1107
{{cookiecutter.paper_repo_name}}/nlelike.bst
Normal file
1107
{{cookiecutter.paper_repo_name}}/nlelike.bst
Normal file
File diff suppressed because it is too large
Load Diff
43
{{cookiecutter.paper_repo_name}}/other-extras.tex
Normal file
43
{{cookiecutter.paper_repo_name}}/other-extras.tex
Normal file
@ -0,0 +1,43 @@
|
|||||||
|
{% raw %}
|
||||||
|
% various custom definitions
|
||||||
|
|
||||||
|
\usepackage[T1]{fontenc}
|
||||||
|
\usepackage[utf8]{inputenc}
|
||||||
|
\usepackage[textsize=tiny]{todonotes}
|
||||||
|
\usepackage{graphicx}
|
||||||
|
\usepackage{booktabs}
|
||||||
|
\usepackage{latexsym}
|
||||||
|
|
||||||
|
% so that footnotes in tables would work
|
||||||
|
% https://tex.stackexchange.com/questions/109467/footnote-in-tabular-environment
|
||||||
|
|
||||||
|
\usepackage{footnote}
|
||||||
|
\makesavenoteenv{tabular}
|
||||||
|
\makesavenoteenv{table}
|
||||||
|
\makesavenoteenv{table*}
|
||||||
|
|
||||||
|
% for better typesetting of URLs
|
||||||
|
|
||||||
|
\usepackage{xurl}
|
||||||
|
|
||||||
|
% input without unwanted end-of-line characters
|
||||||
|
|
||||||
|
\newcommand\minput[1]{%
|
||||||
|
\input{#1}%
|
||||||
|
\ifhmode\ifnum\lastnodetype=11 \unskip\fi\fi}
|
||||||
|
|
||||||
|
% Gonito stuff
|
||||||
|
\usepackage{hyperref}
|
||||||
|
\usepackage{xstring}
|
||||||
|
% Format a reference to a Gonito submission
|
||||||
|
\newcommand{\gonitoref}[1]{\{\href{https://gonito.net/q/#1}{\StrMid{#1}{1}{6}}\}}
|
||||||
|
% A bare score from Gonito
|
||||||
|
\newcommand{\gonitobarescore}[1]{\minput{scores/#1.txt}}
|
||||||
|
% A score from Gonito along with a reference
|
||||||
|
\newcommand{\gonitoscore}[1]{\gonitobarescore{#1} \gonitoref{#1}}
|
||||||
|
% A reference and a score as two cells in a table
|
||||||
|
\newcommand{\gonitoentry}[1]{\gonitoref{#1} & \minput{scores/#1.txt}}
|
||||||
|
% A reference and a score as two cells in a table, the score will be
|
||||||
|
% marked as the best (typeset in bold)
|
||||||
|
\newcommand{\gonitobestentry}[1]{\gonitoref{#1} & \textbf{\minput{scores/#1.txt}}}
|
||||||
|
{% endraw %}
|
Loading…
Reference in New Issue
Block a user