Skip to content

Commit

Permalink
Merge pull request #13 from NIME-conference/nimeart-version
Browse files Browse the repository at this point in the history
update main to use nimeart
  • Loading branch information
cpmpercussion authored Nov 22, 2024
2 parents 5a8e61b + acb5e50 commit 578426a
Show file tree
Hide file tree
Showing 23 changed files with 3,777 additions and 5,847 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build-latex.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,16 @@ jobs:
uses: xu-cheng/latex-action@v3
with:
root_file: |
papers/latex/nime-template.tex
music/latex/music-proceedings-template.tex
nime-paper-template.tex
nime-music-workshop-template.tex
work_in_root_file_dir: true
- name: Upload paper file
uses: actions/upload-artifact@v4
with:
name: nime-paper
path: papers/latex/nime-template.pdf
path: nime-paper-template.pdf
- name: Upload music file
uses: actions/upload-artifact@v4
with:
name: nime-music
path: music/latex/music-proceedings-template.pdf
path: nime-music-workshop-template.pdf
34 changes: 25 additions & 9 deletions papers/latex/ACM-Reference-Format.bst → ACM-Reference-Format.bst
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
%%% @BibTeX-style-file{
%%% author = "Nelson H. F. Beebe, Boris Veytsman and Gerald Murray",
%%% version = "2.1",
%%% acmart-version = "1.79",
%%% date = "14 June 2017",
%%% acmart-version = "1.90",
%%% date = "Mar 26 2023",
%%% filename = "ACM-Reference-Format.bst",
%%% email = "borisv@lk.net, boris@varphi.com",
%%% codetable = "ISO/ASCII",
Expand Down Expand Up @@ -64,6 +64,7 @@ ENTRY
isbn-13 % UTAH
issn % UTAH
lccn % UTAH
distinctURL % whether to print url if doi is present
}
{}
{ label.year extra.label sort.year sort.label basic.label.year}
Expand Down Expand Up @@ -150,6 +151,16 @@ FUNCTION { empty.or.unknown }
if$
}
FUNCTION { empty.or.zero }
{
%% Examine the top entry and push 1 if it is empty, or is zero
duplicate$ empty$
{ pop$ #1 }
{ "0" = }
if$
}
FUNCTION { writeln }
{
%% In BibTeX style files, the sequences
Expand Down Expand Up @@ -737,10 +748,14 @@ FUNCTION { output.eprint } %
% Changes by BV 2011/04/15. Do not output
% url if doi is defined
%
%
% Changes by BV 2021/11/26. Output url even if doi is defined
% if distinctURL is not zero.
%
FUNCTION { output.url } % UTAH
{ % return with stack untouched
% output URL and associated lastaccessed fields
doi empty.or.unknown
doi empty.or.unknown distinctURL empty.or.zero not or
{
url empty.or.unknown
{ }
Expand Down Expand Up @@ -1990,7 +2005,7 @@ FUNCTION { calc.basic.label }
if$
duplicate$
year empty.or.unknown
{ "[n.\,d.]" }
{ "{[n.\,d.]}" }
{ year field.or.null purify$ #-1 #4 substring$}
if$
*
Expand Down Expand Up @@ -2038,7 +2053,7 @@ FUNCTION { calc.label }
% save the year for sort processing afterwards (adding a, b, c, etc.)
%
year empty.or.unknown
{ "[n.\,d.]" }
{ "{[n.\,d.]}" }
{ year field.or.null purify$ #-1 #4 substring$}
if$
'label.year :=
Expand All @@ -2048,10 +2063,12 @@ FUNCTION { calc.label }
FUNCTION { output.bibitem }
{
newline$
"\bibitem[\protect\citeauthoryear{" write$
calc.label write$
"\bibitem[" write$
calc.basic.label write$
"(" write$
sort.year write$
"}]%" writeln
")" write$
"]%" writeln
" {" write$
cite$ write$
"}" writeln
Expand Down Expand Up @@ -2402,7 +2419,6 @@ FUNCTION { misc }
{ }
{ "\bibinfo{howpublished}{" howpublished "}" * * output }
if$
"" output.nonnull.dot.space
calc.format.page.count output
fin.block
output.issue.doi.coden.isxn.lccn.url.eprint.note
Expand Down
45 changes: 11 additions & 34 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,31 +1,7 @@
# Directories
LATEX_DIR = papers/latex
MUSIC_DIR = music/latex

# Output PDF names
NIME_PDF = $(LATEX_DIR)/nime-template.pdf
MUSIC_PDF = $(MUSIC_DIR)/music-proceedings-template.pdf

# Source files
NIME_TEX = $(LATEX_DIR)/nime-template.tex
MUSIC_TEX = $(MUSIC_DIR)/music-proceedings-template.tex

# Export BST paths for bibtex to find style files
export BSTINPUTS := .:$(LATEX_DIR):$(MUSIC_DIR):${BSTINPUTS}

# Default target to build both PDFs
all: verify_files $(NIME_PDF) $(MUSIC_PDF)

# Verify that source files exist
verify_files:
@if [ ! -f $(NIME_TEX) ]; then \
echo "Error: $(NIME_TEX) not found"; \
exit 1; \
fi
@if [ ! -f $(MUSIC_TEX) ]; then \
echo "Error: $(MUSIC_TEX) not found"; \
exit 1; \
fi
PAPER_TEMPLATE = nime-paper-template
MUSIC_TEMPLATE = nime-music-workshop-template

# Full compilation rule with BibTeX
define compile_tex
Expand All @@ -36,18 +12,19 @@ define compile_tex
cd $(dir $<) && pdflatex -interaction=nonstopmode $(notdir $<)
endef

$(NIME_PDF): $(NIME_TEX)
$(PAPER_TEMPLATE).pdf: $(PAPER_TEMPLATE).tex
$(compile_tex)

$(MUSIC_PDF): $(MUSIC_TEX)
$(MUSIC_TEMPLATE).pdf: $(MUSIC_TEMPLATE).tex
$(compile_tex)

all: $(MUSIC_TEMPLATE).pdf $(PAPER_TEMPLATE).pdf

# Clean generated files
clean:
rm -f $(NIME_PDF) $(MUSIC_PDF)
rm -f $(LATEX_DIR)/*.aux $(LATEX_DIR)/*.log $(LATEX_DIR)/*.out \
$(LATEX_DIR)/*.bbl $(LATEX_DIR)/*.blg
rm -f $(MUSIC_DIR)/*.aux $(MUSIC_DIR)/*.log $(MUSIC_DIR)/*.out \
$(MUSIC_DIR)/*.bbl $(MUSIC_DIR)/*.blg
rm -f $(PAPER_TEMPLATE).pdf $(MUSIC_TEMPLATE).pdf
rm -f *.aux *.log *.out \
*.bbl *.blg *.fls *.fdb_latexmk \
*.synctex.gz

.PHONY: all clean verify_files
.PHONY: all clean
33 changes: 31 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,32 @@
# nime-template
# nime-template: A NIME-flavoured Publication Template

A NIME-flavoured Publication Template
This repository includes publication templates for the International Conference on New Interfaces for Musical Expression (NIME). Specifically we have templates for paper, music and workshop tracks:

- `nime-paper-template.tex` (2-column, paper track)
- `nime-music-workshop-template.tex` (1-column, music and workshop tracks)

The templates have example text demonstrating many interesting and useful features, but you should check the call for specific editions of the NIME conference to make sure you are structuring your submission correctly.

## `nimeart.cls`

`nimeart.cls` is the LaTeX class for generating PDF documents from these templates. `nimeart` is a fork of the [ACM publication format](https://www.acm.org/publications/proceedings-template) `acmart` to provide specific features for the NIME conference:

- A4 paper size
- 1-column conference format based on acmsmall
- sample outputs are focussed on NIME tracks

You can use the same features as `acmart` as documented in it's [manual](https://portalparts.acm.org/hippo/latex_templates/acmart.pdf).

This derived work is distributed in compliance with the LPPL.

The original source code can be found at: <https://github.com/borisveytsman/acmart>

This derived work is only useful for the NIME community. Any issues with `nimeart.cls` should be flagged in this repository: <https://github.com/nime-conference/nimeart> or reported in the [NIME forum](https://forum.nime.org).

The authors of the original acmart are in no way responsible for use of nimeart.

We thank the authors of acmart and the ACM community for their ongoing contributions to academic publishing within and outside of ACM-sponsored events and publications.

## History

NIME traditionally used the old ACM sig-alternate (2-column) class forked in 2009. In 2019, NIME began to use a fork of acmart for 1-column music submissions. NIME used PubPub in 2021-2022, an alternative web-based publication platform. For 2025, the NIME template has been updated to adopt a fork of the latest ACM publication format.
Binary file added images/sample-bela.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/sampleteaser.pdf
Binary file not shown.
Loading

0 comments on commit 578426a

Please sign in to comment.