summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/acmart
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2022-02-24 03:00:45 +0000
committerNorbert Preining <norbert@preining.info>2022-02-24 03:00:45 +0000
commitdc88afec77f198ebb8774f9c87146f2985e8f156 (patch)
treec2ffe8156173930a3f167b2cdeeb4fc1cd66a6b3 /macros/latex/contrib/acmart
parentd529109bf475e3f1e220ce0e980e104b1a7e3c6b (diff)
CTAN sync 202202240300
Diffstat (limited to 'macros/latex/contrib/acmart')
-rw-r--r--macros/latex/contrib/acmart/README3
-rw-r--r--macros/latex/contrib/acmart/acmart.bib6
-rw-r--r--macros/latex/contrib/acmart/acmart.dtx344
-rw-r--r--macros/latex/contrib/acmart/acmart.pdfbin876024 -> 863525 bytes
-rw-r--r--macros/latex/contrib/acmart/acmguide.pdfbin417565 -> 420338 bytes
-rw-r--r--macros/latex/contrib/acmart/samples/sample-acmlarge.pdfbin608941 -> 610121 bytes
-rw-r--r--macros/latex/contrib/acmart/samples/sample-acmsmall-conf.pdfbin1052776 -> 1054227 bytes
-rw-r--r--macros/latex/contrib/acmart/samples/sample-acmsmall-submission.pdfbin621006 -> 622637 bytes
-rw-r--r--macros/latex/contrib/acmart/samples/sample-acmsmall.pdfbin618534 -> 620122 bytes
-rw-r--r--macros/latex/contrib/acmart/samples/sample-acmtog.pdfbin566190 -> 567307 bytes
-rw-r--r--macros/latex/contrib/acmart/samples/sample-authordraft.pdfbin1046042 -> 1047403 bytes
-rw-r--r--macros/latex/contrib/acmart/samples/sample-base.bib1
-rw-r--r--macros/latex/contrib/acmart/samples/sample-lualatex.pdfbin779647 -> 781211 bytes
-rw-r--r--macros/latex/contrib/acmart/samples/sample-manuscript.pdfbin620099 -> 622255 bytes
-rw-r--r--macros/latex/contrib/acmart/samples/sample-sigconf-i13n.pdfbin0 -> 1059382 bytes
-rw-r--r--macros/latex/contrib/acmart/samples/sample-sigconf.pdfbin1042222 -> 1043594 bytes
-rw-r--r--macros/latex/contrib/acmart/samples/sample-sigplan.pdfbin1050621 -> 1052136 bytes
-rw-r--r--macros/latex/contrib/acmart/samples/sample-xelatex.pdfbin658185 -> 659566 bytes
-rw-r--r--macros/latex/contrib/acmart/samples/samples.dtx94
-rw-r--r--macros/latex/contrib/acmart/samples/samples.ins1
20 files changed, 419 insertions, 30 deletions
diff --git a/macros/latex/contrib/acmart/README b/macros/latex/contrib/acmart/README
index ed1def7383..0e67fae461 100644
--- a/macros/latex/contrib/acmart/README
+++ b/macros/latex/contrib/acmart/README
@@ -12,6 +12,9 @@ The production version is the one on CTAN and ACM sites.
Changes
+Version 1.83 Support for multilanguage papers
+ ISSN changes for some journals
+
Version 1.82 Bug fixes.
New command \anon for anonymization of short strings.
Documentation update.
diff --git a/macros/latex/contrib/acmart/acmart.bib b/macros/latex/contrib/acmart/acmart.bib
index c4ccd85f31..2e422a7ff4 100644
--- a/macros/latex/contrib/acmart/acmart.bib
+++ b/macros/latex/contrib/acmart/acmart.bib
@@ -87,3 +87,9 @@
note = {\url{http://www.ctan.org/pkg/textcase}}
}
+@Manual{Braams22:Babel,
+ title = {Babel},
+ author = {Johannes L. Braams and Javier Bezos},
+ year = 2022,
+ note = {\url{http://www.ctan.org/pkg/babel}}}
+
diff --git a/macros/latex/contrib/acmart/acmart.dtx b/macros/latex/contrib/acmart/acmart.dtx
index 0940dc856d..01f6c81eba 100644
--- a/macros/latex/contrib/acmart/acmart.dtx
+++ b/macros/latex/contrib/acmart/acmart.dtx
@@ -420,7 +420,9 @@
% \end{tabularx}
% \end{table}
%
-%
+% The option |language| is used to define the languages for the
+% multi-language papers. It is discussed in
+% Section~\ref{sec:ug_i13n}.
%
%\subsection{Top matter}
%\label{sec:ug_topmatter}
@@ -1153,6 +1155,82 @@
% \end{verbatim}
%
%
+%
+%\subsection{Internationalization}
+%\label{sec:ug_i13n}
+%
+% ACM accepts publications in languages other than English, as well as
+% papers in English with translations of titles, subtitles, keywords
+% and abstracts into other languages. Papers in languages other than
+% English usually have titles, subtitles (if applicable), keywords and
+% abstracts in English. Note that CCS concepts are always typeset in
+% English.
+%
+% To submit these papers you need to set the option |language| in the
+% \cs{documentclass} command. This option can be repeated, for
+% example,
+% \begin{verbatim}
+% \documentclass[sigconf, language=french, language=english]{acmart}
+% \end{verbatim}
+% The last language in the list is the main language of the paper,
+% i.e. the one for the main title, abstract, body, etc. The other
+% languages are \emph{secondary,} and used for translated titles,
+% keywords, abstracts. Thus the paper above is written in English,
+% and has a secondary abstract and a secondary title in French. On
+% the other hand, a paper in French wih secondary titles and abstracts
+% in English and German should use, for example
+% \begin{verbatim}
+% \documentclass[sigconf,
+% language=german,
+% language=english,
+% language=french]{acmart}
+% \end{verbatim}
+%
+%
+% This key can use any language defined in \textsl{babel}
+% package~\cite{Braams22:Babel} (currently the package is tested with
+% English, French, German and Spanish languages; other languages may
+% require a translation of \cs{keywordsname} macro). Actually
+% \textsl{acmart} loads \textsl{babel} internally, so you can use the
+% facilities provided by this package.
+%
+%
+% If this key is set, you have access to several additional top matter
+% commands.
+%
+% \DescribeMacro{\translatedtitle}%
+% \DescribeMacro{\translatedsubtitle}%
+% \DescribeMacro{\translatedkeywords}%
+% The commands \cs{translatedtitle}\marg{language}{title},
+% \cs{translatedsubtitle}\marg{language}{subtitle} and
+% \cs{translatedkeywords}{language}{keywords} are used to set title,
+% subtitle and keywords in the secondary language. For example, a
+% paper in English with French title and abstract may set
+% \begin{verbatim}
+% \title{A note on computational complexity}
+% \translatedtitle{french}{Remarque sur la complexit\'e de calcul}
+% \end{verbatim}
+% while a paper in French should set
+% \begin{verbatim}
+% \title{Remarque sur la complexit\'e de calcul}
+% \translatedtitle{english}{A note on computational complexity}
+% \end{verbatim}
+%
+% \DescribeEnv{translatedabstract}%
+% Similarly, |translatedabstract| environment has a mandatory language
+% argument, for example,
+% \begin{verbatim}
+% \begin{translatedastract}{english}
+% This is the English version of the abstract
+% \end{translatedastract}
+% \end{verbatim}
+%
+% You can repeat these commands if a paper has more than one secondary
+% language.
+%
+% Use the standard commands (\cs{title}, \cs{subtitle},
+% \cs{keywords}, |abstract|) for the main language of the paper.
+%
%\subsection{Algorithms}
%\label{sec:ug_algorithms}
%
@@ -1965,7 +2043,7 @@
\ProvidesFile{acmart.dtx}
%</gobble>
%<class>\ProvidesClass{acmart}
-[2022/02/05 v1.82 Typesetting articles for the Association for Computing Machinery]
+[2022/02/19 v1.83 Typesetting articles for the Association for Computing Machinery]
% \end{macrocode}
%
% \changes{v1.00}{2016/04/14}{First released version}
@@ -2367,6 +2445,21 @@
%
% \end{macro}
%
+%
+%
+% \begin{macro}{\ACM@languages}
+% \changes{v1.83}{2022/02/19}{Introduced macro}
+% The languages of the document
+% \begin{macrocode}
+\def\ACM@languages{}
+\DeclareOptionX{language}{%
+ \ifx\ACM@languages\@empty
+ \gdef\ACM@languages{english}\fi
+ \g@addto@macro\ACM@languages{, #1}}
+% \end{macrocode}
+%
+%
+% \end{macro}
%
% \changes{v1.01}{2016/04/18}{Explicitly put draft option
% (closes \url{https://github.com/borisveytsman/acmart/issues/4})}
@@ -2560,6 +2653,9 @@
% \end{macrocode}
%
%
+%
+%
+%
%\subsection{Citations}
% \changes{v1.19}{2016/07/28}{Include 'References' in PDF bookmarks
% (Matthew Fluet)}
@@ -2691,6 +2787,166 @@
\fi
% \end{macrocode}
%
+%
+%\subsection{Internationalization}
+%\label{sec:i13n}
+%
+%
+%
+% \changes{v1.83}{2022/02/19}{Use babel for multilanguage papers}
+% \begin{macrocode}
+\if@ACM@journal
+ \renewcommand\keywordsname{Additional Key Words and Phrases}%
+\else
+ \renewcommand\keywordsname{Keywords}%
+\fi
+\ifx\ACM@languages\@empty
+\else
+ \RequirePackage[\ACM@languages]{babel}%
+ \addto\captionsenglish{%
+ \if@ACM@journal
+ \renewcommand\keywordsname{Additional Key Words and Phrases}%
+ \else
+ \renewcommand\keywordsname{Keywords}%
+ \fi
+ \renewcommand\acksname{Acknowledgements}%
+ }%
+ \addto\captionsfrench{%
+ \if@ACM@journal
+ \renewcommand\keywordsname{Mots Clés et Phrases Supplémentaires}%
+ \else
+ \renewcommand\keywordsname{Mots clés}%
+ \fi
+ \renewcommand\acksname{Remerciements}%
+ }%
+ \addto\captionsgerman{%
+ \if@ACM@journal
+ \renewcommand\keywordsname{Zusätzliche Schlüsselwörter und Phrasen}%
+ \else
+ \renewcommand\keywordsname{Schlüsselwörter}%
+ \fi
+ \renewcommand\acksname{Danksagungen}%
+ }%
+ \addto\captionsspanish{%
+ \if@ACM@journal
+ \renewcommand\keywordsname{Palabras y Frases Claves Adicionales}%
+ \else
+ \renewcommand\keywordsname{Palabras claves}%
+ \fi
+ \renewcommand\acksname{Expresiones de gratitud}%
+ }%
+\fi
+% \end{macrocode}
+%
+% \begin{macro}{\ACM@lang@check}
+% \changes{v1.83}{2022/02/20}{Added macro}
+% Some commands should not be used if the document is monlingual
+% \begin{macrocode}
+\newcommand\ACM@lang@check[1]{%
+ \ifx\ACM@languages\@empty\relax
+ \ClassError{\@classname}{%
+ Command \string#1 \MessageBreak is used in monlingual document}{%
+ You used a command (\string#1) \MessageBreak
+ that does not have a meaning \MessageBreak
+ unless are languages are defined. \MessageBreak
+ Please choose the languages in \string\documentclass
+ \MessageBreak
+ (e.g. \string\documentclass[languages={french, english}]{acmart}),
+ \MessageBreak
+ or delete the command.}%
+ \fi}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\@translatedtitle}
+% \changes{v1.83}{2022/02/20}{Added macro}
+% \begin{macrocode}
+\def\@translatedtitle{}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\translatedtitle}
+% \changes{v1.83}{2022/02/20}{Added macro}
+% The title of the paper in a different language
+% \begin{macrocode}
+\newcommand\translatedtitle[2]{\ACM@lang@check{\translatedtitle}%
+\g@addto@macro\@translatedtitle{\par\foreignlanguage{#1}{#2}}}
+% \end{macrocode}
+%
+% \end{macro}
+%
+% \begin{macro}{\@translatedsubtitle}
+% \changes{v1.83}{2022/02/20}{Added macro}
+% \begin{macrocode}
+\def\@translatedsubtitle{}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\translatedsubtitle}
+% \changes{v1.83}{2022/02/20}{Added macro}
+% The subtitle of the paper in a different language
+% \begin{macrocode}
+\newcommand\translatedsubtitle[2]{\ACM@lang@check{\translatedsubtitle}%
+\g@addto@macro\@translatedsubtitle{\par\foreignlanguage{#1}{#2}}}
+% \end{macrocode}
+%
+% \end{macro}
+%
+% \begin{macro}{\@translatedkeywords}
+% \changes{v1.83}{2022/02/20}{Added macro}
+% \begin{macrocode}
+\def\@translatedkeywords{}
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\translatedkeywords}
+% \changes{v1.83}{2022/02/20}{Added macro}
+% Add keywords to the paper in the language specified
+% \begin{macrocode}
+\newcommand\translatedkeywords[2]{\ACM@lang@check{\translatedkeywords}%
+\g@addto@macro\@translatedkeywords{\@mktranslatedkeywords{#1}{#2}}}
+% \end{macrocode}
+%
+% \end{macro}
+%
+% \begin{macro}{\@translatedabstracts}
+% \changes{v1.83}{2022/02/20}{Added macro}
+% The container for translated abstracts.
+% \begin{macrocode}
+\def\@translatedabstracts{}
+% \end{macrocode}
+%
+% \end{macro}
+%
+% \begin{macro}{translatedabstract}
+% \changes{v1.83}{2022/02/20}{Added macro}
+% We save translated abstracts into \cs{@translatedabstracts}
+% \begin{macrocode}
+\newenvironment{translatedabstract}[1]{\Collect@Body
+ \@savetranslatedabstract\@mktranslatedabstract{#1}}{}
+% \end{macrocode}
+%
+% \end{macro}
+%
+%
+% \begin{macro}{\@savetranslatedabstract}
+% And saving the abstract
+% \begin{macrocode}
+\long\def\@savetranslatedabstract#1{\if@ACM@maketitle@typeset
+ \ClassError{\@classname}{Abstract must be defined before maketitle
+ command. Please move it!}\fi
+ \ACM@lang@check{translatedabstract}%
+ \g@addto@macro\@translatedabstracts{\bgroup#1\egroup}}
+% \end{macrocode}
+%
+% \end{macro}
+%
+%
+%\subsection{Sectioning}
+%\label{sec:sectioning}
+%
+%
+%
% \begin{macro}{\@startsection}
% \changes{v1.31}{2017/03/04}{Added \cs{tochangmeasure}}
% Before we call |hyperref|, we redefine \cs{startsection} commands to
@@ -2902,10 +3158,16 @@
%
% \end{macro}
%
+%
+%\subsection{Hyperxmp and hyperref}
+%\label{sec:hyper}
+%
+%
+%
% Adding |hyperxmp|
% \changes{v1.72}{2020/06/14}{Added hyperxmp}
-% \changes{v1.76}{2021/02/21}{Moved before hyperref, see
-% https://github.com/borisveytsman/acmart/issues/425}
+% \changes{v1.76}{2021/02/21}{Moved hyperxmp before hyperref, see
+% \url{https://github.com/borisveytsman/acmart/issues/425}}
% \begin{macrocode}
\RequirePackage{hyperxmp}
% \end{macrocode}
@@ -3006,6 +3268,11 @@
% \end{macro}
%
%
+%\subsection{Other packages}
+%\label{sec:packages}
+%
+%
+%
% Graphics and color.
% \changes{1.48}{2017/10/22}{Added prologue option to xcolor}
% \begin{macrocode}
@@ -3866,6 +4133,8 @@
\or % JOCCH
\def\@journalName{ACM Journal on Computing and Cultural Heritage}%
\def\@journalNameShort{ACM J. Comput. Cult. Herit.}%
+ \def\@permissionCodeOne{1556-4673}%
+ \def\@permissionCodeTwo{1556-4711}%
\or % PACMCGIT
\def\@journalName{Proceedings of the ACM on Computer Graphics and Interactive Techniques}%
\def\@journalNameShort{Proc. ACM Comput. Graph. Interact. Tech.}%
@@ -4012,7 +4281,7 @@
\def\@journalName{ACM Transactions on Multimedia Computing, Communications and Applications}%
\def\@journalNameShort{ACM Trans. Multimedia Comput. Commun. Appl.}%
\def\@permissionCodeOne{1551-6857}%
- \def\@permissionCodeTwo{0100}%
+ \def\@permissionCodeTwo{1551-6865}%
\or % TOMPECS
\def\@journalName{ACM Transactions on Modeling and Performance Evaluation of Computing Systems}%
\def\@journalNameShort{ACM Trans. Model. Perform. Eval. Comput. Syst.}%
@@ -4070,8 +4339,8 @@
\def\@journalNameShort{ACM Trans. Web}%
\def\@permissionCodeOne{1559-1131}%
\else % FACMP, a dummy journal
- \def\@journalName{Forthcoming ACM Publication}%
- \def\@journalNameShort{ACM Forthcoming}%
+ \def\@journalName{ACM Just Accepted}%
+ \def\@journalNameShort{ACM Accepted}%
\def\@permissionCodeOne{XXXX-XXXX}%
\fi
\ClassInfo{\@classname}{Using journal code \@journalCode}%
@@ -4384,6 +4653,18 @@
%
% \end{macro}
%
+% \begin{macro}{\@mktranslatedkeywords}
+% \changes{v1.83}{2022/02/20}{Added macro}
+% We have two argument: the language to typeset keywords and the
+% keywords.
+% \begin{macrocode}
+\newcommand\@mktranslatedkeywords[2]{\bgroup
+ \selectlanguage{#1}%
+ {\@specialsection{\keywordsname}%
+ \noindent#2\par}\egroup}
+% \end{macrocode}
+%
+% \end{macro}
%
% \begin{macro}{\@titlenotes}
% The title notes
@@ -5370,6 +5651,7 @@
% address fields}
% \changes{v1.75}{2020/11/15}{Added \cs{@beginmaketitlehook}}
% \changes{v1.76}{2021/04/05}{Put \cs{par} inside group for keywords}
+% \changes{v1.83}{2022/02/20}{I13n}
% The (in)famous \cs{maketitle}. Note that in |sigchi-a| mode, authors
% are \emph{not} in the title box.
%
@@ -5470,6 +5752,8 @@
\endgroup
\setcounter{footnote}{0}%
\@mkabstract
+ \ifx\@translatedabstracts\@empty\else
+ \@translatedabstracts\fi
\if@ACM@printccs
\ifx\@concepts\@empty\else\bgroup
{\@specialsection{CCS Concepts}%
@@ -5477,13 +5761,12 @@
\fi
\fi
\ifx\@keywords\@empty\else\bgroup
- {\if@ACM@journal
- \@specialsection{Additional Key Words and Phrases}%
- \else
- \@specialsection{Keywords}%
- \fi
+ {\@specialsection{\keywordsname}%
\noindent\@keywords\par}\egroup
\fi
+ \ifx\@translatedkeywords\@empty\else
+ \@translatedkeywords
+ \fi
\let\metadata@authors=\authors
\nxandlist{, }{, }{, }\metadata@authors
\def\@ACM@checkaffil{}%
@@ -5716,6 +5999,8 @@
% \begin{macro}{\@mktitle@i}
% \changes{v1.06}{2016/05/01}{Made generic}
% \changes{v1.06}{2016/05/01}{Added processing badges}
+% \changes{v1.83}{2022/02/20}{Added \cs{translatedtitle} and
+% \cs{translatedsubtitle}}
% The version of \cs{mktitle} for most journals
% \begin{macrocode}
\def\@mktitle@i{\hsize=\textwidth
@@ -5736,9 +6021,9 @@
\fi
\parbox[t]{\@ACM@title@width}{\raggedright
\@titlefont\noindent
- \@title
+ \@title\@translatedtitle%
\ifx\@subtitle\@empty\else
- \par\noindent{\@subtitlefont\@subtitle}
+ \par\noindent{\@subtitlefont\@subtitle\@translatedsubtitle}%
\fi}%
\ifx\@acmBadgeR@image\@empty\else
\hskip\@ACM@badge@skip
@@ -5760,6 +6045,8 @@
% \begin{macro}{\@mktitle@iii}
% \changes{v1.06}{2016/05/01}{Made more generic}
% \changes{v1.06}{2016/05/01}{Added processing badges}
+% \changes{v1.83}{2022/02/20}{Added \cs{translatedtitle} and
+% \cs{translatedsubtitle}}
% The version of \cs{@mktitle} for SIG proceedings. Note that since
% the title is centered, we leave space for the left badge even if
% only the right badge is defined.
@@ -5778,9 +6065,9 @@
\hskip\@ACM@badge@skip
\fi
\parbox[t]{\@ACM@title@width}{\centering\@titlefont
- \@title
+ \@title\@translatedtitle%
\ifx\@subtitle\@empty\else
- \par\noindent{\@subtitlefont\@subtitle}
+ \par\noindent{\@subtitlefont\@subtitle\@translatedsubtitle}
\fi
}%
\if@ACM@badge
@@ -5799,14 +6086,16 @@
%
% \begin{macro}{\@mktitle@iv}
% \changes{v1.06}{2016/05/01}{Made more generic}
+% \changes{v1.83}{2022/02/20}{Added \cs{translatedtitle} and
+% \cs{translatedsubtitle}}
% The version of \cs{@mktitle} for |sigchi-a|
% \begin{macrocode}
\def\@mktitle@iv{\hsize=\textwidth
\setbox\mktitle@bx=\vbox{\raggedright\leftskip5pc\@titlefont
\noindent\leavevmode\leaders\hrule height 2pt\hfill\kern0pt\par
- \noindent\@title
+ \noindent\@title\@translatedtitle%
\ifx\@subtitle\@empty\else
- \par\noindent\@subtitlefont\@subtitle
+ \par\noindent\@subtitlefont\@subtitle\@translatedsubtitle%
\fi
\par\bigskip}}%
% \end{macrocode}
@@ -6414,11 +6703,12 @@
% Wickerson)}
% \changes{v1.48}{2017/09/16}{Removed spurious indentation if abstract
% is followed by an empty line}
+% \changes{v1.83}{2022/02/20}{I13n}
% Typesetting the abstract
% \begin{macrocode}
\def\@mkabstract{\bgroup
\ifx\@abstract\@lempty\else
- {\phantomsection\addcontentsline{toc}{section}{Abstract}%
+ {\phantomsection\addcontentsline{toc}{section}{\abstractname}%
\if@ACM@journal
\everypar{\setbox\z@\lastbox\everypar{}}\small
\else
@@ -6430,6 +6720,22 @@
%
% \end{macro}
%
+% \begin{macro}{\@mktranslatedabstract}
+% \changes{v1.83}{2022/02/20}{Added macro}
+% Typesetting a translated abstract
+% \begin{macrocode}
+\def\@mktranslatedabstract#1{\selectlanguage{#1}%
+ \if@ACM@journal
+ \everypar{\setbox\z@\lastbox\everypar{}}\small
+ \else
+ \section*{\abstractname}%
+ \fi
+ \ignorespaces}
+% \end{macrocode}
+%
+% \end{macro}
+%
+%
% \begin{macro}{\@mkbibcitation}
% \changes{v1.17}{2016/07/10}{Changed format for sigs}
% \changes{v1.17}{2016/07/10}{Added \cs{nobreak}}
diff --git a/macros/latex/contrib/acmart/acmart.pdf b/macros/latex/contrib/acmart/acmart.pdf
index 54cdddd6ec..cdeaf52e2f 100644
--- a/macros/latex/contrib/acmart/acmart.pdf
+++ b/macros/latex/contrib/acmart/acmart.pdf
Binary files differ
diff --git a/macros/latex/contrib/acmart/acmguide.pdf b/macros/latex/contrib/acmart/acmguide.pdf
index d38eb1f501..fcebb0ab63 100644
--- a/macros/latex/contrib/acmart/acmguide.pdf
+++ b/macros/latex/contrib/acmart/acmguide.pdf
Binary files differ
diff --git a/macros/latex/contrib/acmart/samples/sample-acmlarge.pdf b/macros/latex/contrib/acmart/samples/sample-acmlarge.pdf
index abd69928c5..b5dcfd9ca7 100644
--- a/macros/latex/contrib/acmart/samples/sample-acmlarge.pdf
+++ b/macros/latex/contrib/acmart/samples/sample-acmlarge.pdf
Binary files differ
diff --git a/macros/latex/contrib/acmart/samples/sample-acmsmall-conf.pdf b/macros/latex/contrib/acmart/samples/sample-acmsmall-conf.pdf
index ee09eb7293..9b3ca788b6 100644
--- a/macros/latex/contrib/acmart/samples/sample-acmsmall-conf.pdf
+++ b/macros/latex/contrib/acmart/samples/sample-acmsmall-conf.pdf
Binary files differ
diff --git a/macros/latex/contrib/acmart/samples/sample-acmsmall-submission.pdf b/macros/latex/contrib/acmart/samples/sample-acmsmall-submission.pdf
index e66dbef206..be9729af33 100644
--- a/macros/latex/contrib/acmart/samples/sample-acmsmall-submission.pdf
+++ b/macros/latex/contrib/acmart/samples/sample-acmsmall-submission.pdf
Binary files differ
diff --git a/macros/latex/contrib/acmart/samples/sample-acmsmall.pdf b/macros/latex/contrib/acmart/samples/sample-acmsmall.pdf
index a3d2359e9c..6873d96090 100644
--- a/macros/latex/contrib/acmart/samples/sample-acmsmall.pdf
+++ b/macros/latex/contrib/acmart/samples/sample-acmsmall.pdf
Binary files differ
diff --git a/macros/latex/contrib/acmart/samples/sample-acmtog.pdf b/macros/latex/contrib/acmart/samples/sample-acmtog.pdf
index 26392c84b6..d78ce126dc 100644
--- a/macros/latex/contrib/acmart/samples/sample-acmtog.pdf
+++ b/macros/latex/contrib/acmart/samples/sample-acmtog.pdf
Binary files differ
diff --git a/macros/latex/contrib/acmart/samples/sample-authordraft.pdf b/macros/latex/contrib/acmart/samples/sample-authordraft.pdf
index 4954f8ba20..e51ee62a27 100644
--- a/macros/latex/contrib/acmart/samples/sample-authordraft.pdf
+++ b/macros/latex/contrib/acmart/samples/sample-authordraft.pdf
Binary files differ
diff --git a/macros/latex/contrib/acmart/samples/sample-base.bib b/macros/latex/contrib/acmart/samples/sample-base.bib
index a129320c6d..a782f26eda 100644
--- a/macros/latex/contrib/acmart/samples/sample-base.bib
+++ b/macros/latex/contrib/acmart/samples/sample-base.bib
@@ -1509,6 +1509,7 @@ pages = "24--31"}
@online{CTANacmart,
author = {Boris Veytsman},
title = {acmart---{C}lass for typesetting publications of {ACM}},
+ year = 2017,
url = {http://www.ctan.org/pkg/acmart},
lastaccessed = {May 27, 2017}
}
diff --git a/macros/latex/contrib/acmart/samples/sample-lualatex.pdf b/macros/latex/contrib/acmart/samples/sample-lualatex.pdf
index 3913aa0ca5..d06751562f 100644
--- a/macros/latex/contrib/acmart/samples/sample-lualatex.pdf
+++ b/macros/latex/contrib/acmart/samples/sample-lualatex.pdf
Binary files differ
diff --git a/macros/latex/contrib/acmart/samples/sample-manuscript.pdf b/macros/latex/contrib/acmart/samples/sample-manuscript.pdf
index 438d5f3428..25cca1bc7f 100644
--- a/macros/latex/contrib/acmart/samples/sample-manuscript.pdf
+++ b/macros/latex/contrib/acmart/samples/sample-manuscript.pdf
Binary files differ
diff --git a/macros/latex/contrib/acmart/samples/sample-sigconf-i13n.pdf b/macros/latex/contrib/acmart/samples/sample-sigconf-i13n.pdf
new file mode 100644
index 0000000000..8960ce2ff4
--- /dev/null
+++ b/macros/latex/contrib/acmart/samples/sample-sigconf-i13n.pdf
Binary files differ
diff --git a/macros/latex/contrib/acmart/samples/sample-sigconf.pdf b/macros/latex/contrib/acmart/samples/sample-sigconf.pdf
index cf6ba1b17a..bd85371e7e 100644
--- a/macros/latex/contrib/acmart/samples/sample-sigconf.pdf
+++ b/macros/latex/contrib/acmart/samples/sample-sigconf.pdf
Binary files differ
diff --git a/macros/latex/contrib/acmart/samples/sample-sigplan.pdf b/macros/latex/contrib/acmart/samples/sample-sigplan.pdf
index fa7caf450e..d8c8f67f1c 100644
--- a/macros/latex/contrib/acmart/samples/sample-sigplan.pdf
+++ b/macros/latex/contrib/acmart/samples/sample-sigplan.pdf
Binary files differ
diff --git a/macros/latex/contrib/acmart/samples/sample-xelatex.pdf b/macros/latex/contrib/acmart/samples/sample-xelatex.pdf
index 4454bdb0aa..25a4bdef54 100644
--- a/macros/latex/contrib/acmart/samples/sample-xelatex.pdf
+++ b/macros/latex/contrib/acmart/samples/sample-xelatex.pdf
Binary files differ
diff --git a/macros/latex/contrib/acmart/samples/samples.dtx b/macros/latex/contrib/acmart/samples/samples.dtx
index 36c3752677..3d8fc9abda 100644
--- a/macros/latex/contrib/acmart/samples/samples.dtx
+++ b/macros/latex/contrib/acmart/samples/samples.dtx
@@ -1,4 +1,4 @@
-%<*manuscript|acmsmall|acmsmall-submission|acmlarge|acmtog|sigconf|authordraft|sigplan|sigchi|sigchi-a|acmsmall-conf>
+%<*manuscript|acmsmall|acmsmall-submission|acmlarge|acmtog|sigconf|authordraft|sigplan|sigchi|sigchi-a|acmsmall-conf|sigconf-i13n>
%%
%%
%% Commands for TeXCount
@@ -26,6 +26,8 @@
%<sigplan>\documentclass[sigplan,screen]{acmart}
%<sigchi>\documentclass[sigchi]{acmart}
%<sigchi-a>\documentclass[sigchi-a, nonacm]{acmart}
+%<sigconf-i13n>\documentclass[sigconf, language=french,
+%<sigconf-i13n>language=german, language=spanish, language=english]{acmart}
%%
%% \BibTeX command to typeset BibTeX logo in the docs
@@ -44,8 +46,8 @@
\acmYear{2018}
\acmDOI{XXXXXXX.XXXXXXX}
-%</manuscript|acmsmall|acmsmall-submission|acmlarge|acmtog|sigconf|authordraft|sigplan|sigchi|sigchi-a|acmsmall-conf>
-%<*manuscript|sigconf|authordraft|sigplan|sigchi|sigchi-a|acmsmall-conf>
+%</manuscript|acmsmall|acmsmall-submission|acmlarge|acmtog|sigconf|authordraft|sigplan|sigchi|sigchi-a|acmsmall-conf|sigconf-i13n>
+%<*manuscript|sigconf|authordraft|sigplan|sigchi|sigchi-a|acmsmall-conf|sigconf-i13n>
%% These commands are for a PROCEEDINGS abstract or paper.
\acmConference[Conference acronym 'XX]{Make sure to enter the correct
conference title from your rights confirmation emai}{June 03--05,
@@ -58,7 +60,7 @@
% June 03--05, 2018, Woodstock, NY}
\acmPrice{15.00}
\acmISBN{978-1-4503-XXXX-X/18/06}
-%</manuscript|sigconf|authordraft|sigplan|sigchi|sigchi-a|acmsmall-conf>
+%</manuscript|sigconf|authordraft|sigplan|sigchi|sigchi-a|acmsmall-conf|sigconf-i13n>
%<*acmsmall|acmsmall-submission|acmlarge|acmtog>
%%
@@ -71,7 +73,7 @@
\acmArticle{111}
\acmMonth{8}
%</acmsmall|acmsmall-submission|acmlarge|acmtog>
-%<*manuscript|acmsmall|acmsmall-submission|acmlarge|acmtog|sigconf|authordraft|sigplan|sigchi|sigchi-a|acmsmall-conf>
+%<*manuscript|acmsmall|acmsmall-submission|acmlarge|acmtog|sigconf|authordraft|sigplan|sigchi|sigchi-a|acmsmall-conf|sigconf-i13n>
%%
@@ -103,6 +105,9 @@
%% The "title" command has an optional parameter,
%% allowing the author to define a "short title" to be used in page headers.
\title{The Name of the Title is Hope}
+%<sigconf-i13n>\translatedtitle{french}{Le nom du titre est l'espoir}
+%<sigconf-i13n>\translatedtitle{german}{Der Name des Titels ist Hoffnung}
+%<sigconf-i13n>\translatedtitle{spanish}{El nombre del título es esperanza}
%%
%% The "author" command and its associated commands are used to define
@@ -201,6 +206,40 @@
as many of the formatting elements an author may use in the
preparation of the documentation of their work.
\end{abstract}
+%</manuscript|acmsmall|acmsmall-submission|acmlarge|acmtog|sigconf|authordraft|sigplan|sigchi|sigchi-a|acmsmall-conf|sigconf-i13n>
+%<*sigconf-i13n>
+
+\begin{translatedabstract}{french}
+ Un document \LaTeX\ clair et bien documenté est présenté comme un
+ article formaté pour publication par ACM dans les actes d'une
+ conférence ou parution dans une revue. Basé sur la classe de
+ document ``acmart'', ce l'article présente et explique de nombreuses
+ variations courantes, ainsi que autant d'éléments de mise en forme
+ qu'un auteur peut utiliser dans le préparation de la documentation
+ de leur travail.
+\end{translatedabstract}
+
+\begin{translatedabstract}{german}
+ Ein übersichtliches und gut dokumentiertes \LaTeX\-Dokument wird als
+ Artikel, der für die Veröffentlichung durch ACM in einem Tagungsband
+ formatiert wurde oder Zeitschriftenveröffentlichung. Basierend auf
+ der Dokumentenklasse ``acmart'', this Artikel präsentiert und
+ erklärt auch viele der gängigen Variationen so viele der
+ Formatierungselemente, die ein Autor in der verwenden darf
+ Vorbereitung der Dokumentation ihrer Arbeit.
+\end{translatedabstract}
+
+\begin{translatedabstract}{spanish}
+ Un documento \LaTeX\ claro y bien documentado se presenta como un
+ artículo formateado para su publicación por ACM en las actas de una
+ conferencia o publicación de una revista. Basado en la clase de
+ documento ``acmart'', este artículo presenta y explica muchas de las
+ variaciones comunes, así como tantos de los elementos de formato que
+ un autor puede usar en el preparación de la documentación de su
+ trabajo.
+ \end{translatedabstract}
+%</sigconf-i13n>
+%<*manuscript|acmsmall|acmsmall-submission|acmlarge|acmtog|sigconf|authordraft|sigplan|sigchi|sigchi-a|acmsmall-conf|sigconf-i13n>
%%
%% The code below is generated by the tool at http://dl.acm.org/ccs.cfm.
@@ -240,9 +279,16 @@
%% Keywords. The author(s) should pick words that accurately describe
%% the work being presented. Separate the keywords with commas.
\keywords{datasets, neural networks, gaze detection, text tagging}
-
-%</manuscript|acmsmall|acmsmall-submission|acmlarge|acmtog|sigconf|authordraft|sigplan|sigchi|sigchi-a|acmsmall-conf>
-%<*sigconf|authordraft|sigplan|acmsmall-conf>
+%<sigconf-i13n>\translatedkeywords{french}{ensembles de données,
+%<sigconf-i13n> réseaux de neurones,
+%<sigconf-i13n> détection du regard, marquage de texte}
+%<sigconf-i13n> \translatedkeywords{german}{Datensätze,
+%<sigconf-i13n> neuronale Netze, Blickerkennung, Text-Tagging}
+%<sigconf-i13n> \translatedkeywords{spanish}{conjuntos de datos,
+%<sigconf-i13n> redes neuronales, detección de mirada, etiquetado de texto}
+
+%</manuscript|acmsmall|acmsmall-submission|acmlarge|acmtog|sigconf|authordraft|sigplan|sigchi|sigchi-a|acmsmall-conf|sigconf-i13n>
+%<*sigconf|authordraft|sigplan|acmsmall-conf|sigconf-i13n>
%% A "teaser" image appears between the author and affiliation
%% information and the body of the document, and typically spans the
%% page.
@@ -253,8 +299,8 @@
seats. Ichiro Suzuki preparing to bat.}
\label{fig:teaser}
\end{teaserfigure}
-%</sigconf|authordraft|sigplan|acmsmall-conf>
-%<*manuscript|acmsmall|acmsmall-submission|acmlarge|acmtog|sigconf|authordraft|sigplan|sigchi|sigchi-a|acmsmall-conf>
+%</sigconf|authordraft|sigplan|acmsmall-conf|sigconf-i13n>
+%<*manuscript|acmsmall|acmsmall-submission|acmlarge|acmtog|sigconf|authordraft|sigplan|sigchi|sigchi-a|acmsmall-conf|sigconf-i13n>
%%
%% This command processes the author and affiliation and title
@@ -350,6 +396,8 @@ source file:
%<sigplan>\documentclass[sigplan,screen]{acmart}
%<sigchi>\documentclass[sigchi]{acmart}
%<sigchi-a>\documentclass[sigchi-a]{acmart}
+%<sigconf-i13n>\documentclass[sigconf, language=french,
+%<sigconf-i13n>language=german, language=spanish, language=english]{acmart}
\end{verbatim}
@@ -744,6 +792,30 @@ and note that in the appendix, sections are lettered, not
numbered. This document has two appendices, demonstrating the section
and subsection identification method.
+\section{Multi-language papers}
+
+Papers may be written in languages other than English or include
+titles, subtitles, keywords and abstracts in different languages (as a
+rule, a paper in a language other than English should include an
+English title and an English abstract). Use \verb|language=...| for
+every language used in the paper. The last language indicated is the
+main language of the paper. For example, a French paper with
+additional titles and abstracts in English and German may start with
+the following command
+\begin{verbatim}
+\documentclass[sigconf, language=english, language=german,
+ language=french]{acmart}
+\end{verbatim}
+
+The title, subtitle, keywords and abstract will be typeset in the main
+language of the paper. The commands \verb|\translatedXXX|, \verb|XXX|
+begin title, subtitle and keywords, can be used to set these elements
+in the other languages. The environment \verb|translatedabstract| is
+used to set the translation of the abstract. These commands and
+environment have a mandatory first argument: the language of the
+second argument. See \verb|sample-sigconf-i13n.tex| file for examples
+of their usage.
+
\section{SIGCHI Extended Abstracts}
The ``\verb|sigchi-a|'' template style (available only in \LaTeX\ and
@@ -807,4 +879,4 @@ rhoncus. Maecenas eu arcu ac neque placerat aliquam. Nunc pulvinar
massa et mattis lacinia.
\end{document}
-%</manuscript|acmsmall|acmsmall-submission|acmlarge|acmtog|sigconf|authordraft|sigplan|sigchi|sigchi-a|acmsmall-conf>
+%</manuscript|acmsmall|acmsmall-submission|acmlarge|acmtog|sigconf|authordraft|sigplan|sigchi|sigchi-a|acmsmall-conf|sigconf-i13n>
diff --git a/macros/latex/contrib/acmart/samples/samples.ins b/macros/latex/contrib/acmart/samples/samples.ins
index 64a6513fe4..7c5c974a66 100644
--- a/macros/latex/contrib/acmart/samples/samples.ins
+++ b/macros/latex/contrib/acmart/samples/samples.ins
@@ -18,5 +18,6 @@
\file{sample-lualatex.tex}{\from{samples.dtx}{sigconf}}
\file{sample-sigplan.tex}{\from{samples.dtx}{sigplan}}
\file{sample-acmsmall-conf.tex}{\from{samples.dtx}{acmsmall-conf}}
+ \file{sample-sigconf-i13n.tex}{\from{samples.dtx}{sigconf-i13n}}
}