annotate docs/WAC2016/waccopyright.sty @ 2122:cac0706b9a41

Added error check for empty file in save.php
author Giulio Moro <giuliomoro@users.noreply.github.com>
date Tue, 23 Feb 2016 14:18:25 +0000
parents d9b9f707f862
children 4b98df0aa112
rev   line source
nickjillings@1315 1 %%
nickjillings@1315 2 %% This is file `acmcopyright.sty',
nickjillings@1315 3 %% generated with the docstrip utility.
nickjillings@1315 4 %%
nickjillings@1315 5 %% The original source files were:
nickjillings@1315 6 %%
nickjillings@1315 7 %% acmcopyright.dtx (with options: `style')
nickjillings@1315 8 %%
nickjillings@1315 9 %% IMPORTANT NOTICE:
nickjillings@1315 10 %%
nickjillings@1315 11 %% For the copyright see the source file.
nickjillings@1315 12 %%
nickjillings@1315 13 %% Any modified versions of this file must be renamed
nickjillings@1315 14 %% with new filenames distinct from acmcopyright.sty.
nickjillings@1315 15 %%
nickjillings@1315 16 %% For distribution of the original source see the terms
nickjillings@1315 17 %% for copying and modification in the file acmcopyright.dtx.
nickjillings@1315 18 %%
nickjillings@1315 19 %% This generated file may be distributed as long as the
nickjillings@1315 20 %% original source files, as listed above, are part of the
nickjillings@1315 21 %% same distribution. (The sources need not necessarily be
nickjillings@1315 22 %% in the same archive or directory.)
nickjillings@1315 23 %% \CharacterTable
nickjillings@1315 24 %% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
nickjillings@1315 25 %% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
nickjillings@1315 26 %% Digits \0\1\2\3\4\5\6\7\8\9
nickjillings@1315 27 %% Exclamation \! Double quote \" Hash (number) \#
nickjillings@1315 28 %% Dollar \$ Percent \% Ampersand \&
nickjillings@1315 29 %% Acute accent \' Left paren \( Right paren \)
nickjillings@1315 30 %% Asterisk \* Plus \+ Comma \,
nickjillings@1315 31 %% Minus \- Point \. Solidus \/
nickjillings@1315 32 %% Colon \: Semicolon \; Less than \<
nickjillings@1315 33 %% Equals \= Greater than \> Question mark \?
nickjillings@1315 34 %% Commercial at \@ Left bracket \[ Backslash \\
nickjillings@1315 35 %% Right bracket \] Circumflex \^ Underscore \_
nickjillings@1315 36 %% Grave accent \` Left brace \{ Vertical bar \|
nickjillings@1315 37 %% Right brace \} Tilde \~}
nickjillings@1315 38 \NeedsTeXFormat{LaTeX2e}
nickjillings@1315 39 \ProvidesPackage{waccopyright}
nickjillings@1315 40 [2014/06/29 v1.2 Copyright statemens for ACM classes]
nickjillings@1315 41 \newif\if@printcopyright
nickjillings@1315 42 \@printcopyrighttrue
nickjillings@1315 43 \newif\if@printpermission
nickjillings@1315 44 \@printpermissiontrue
nickjillings@1315 45 \newif\if@acmowned
nickjillings@1315 46 \@acmownedtrue
nickjillings@1315 47 \RequirePackage{xkeyval}
nickjillings@1315 48 \define@choicekey*{ACM@}{acmcopyrightmode}[%
nickjillings@1315 49 \acm@copyrightinput\acm@copyrightmode]{none,acmcopyright,acmlicensed,%
nickjillings@1315 50 rightsretained,usgov,usgovmixed,cagov,cagovmixed,%
nickjillings@1315 51 licensedusgovmixed,licensedcagovmixed,othergov,licensedothergov,waclicense}{%
nickjillings@1315 52 \@printpermissiontrue
nickjillings@1315 53 \@printcopyrighttrue
nickjillings@1315 54 \@acmownedtrue
nickjillings@1315 55 \ifnum\acm@copyrightmode=0\relax % none
nickjillings@1315 56 \@printpermissionfalse
nickjillings@1315 57 \@printcopyrightfalse
nickjillings@1315 58 \@acmownedfalse
nickjillings@1315 59 \fi
nickjillings@1315 60 \ifnum\acm@copyrightmode=2\relax % acmlicensed
nickjillings@1315 61 \@acmownedfalse
nickjillings@1315 62 \fi
nickjillings@1315 63 \ifnum\acm@copyrightmode=3\relax % rightsretained
nickjillings@1315 64 \@acmownedfalse
nickjillings@1315 65 \fi
nickjillings@1315 66 \ifnum\acm@copyrightmode=4\relax % usgov
nickjillings@1315 67 \@printpermissiontrue
nickjillings@1315 68 \@printcopyrightfalse
nickjillings@1315 69 \@acmownedfalse
nickjillings@1315 70 \fi
nickjillings@1315 71 \ifnum\acm@copyrightmode=6\relax % cagov
nickjillings@1315 72 \@acmownedfalse
nickjillings@1315 73 \fi
nickjillings@1315 74 \ifnum\acm@copyrightmode=8\relax % licensedusgovmixed
nickjillings@1315 75 \@acmownedfalse
nickjillings@1315 76 \fi
nickjillings@1315 77 \ifnum\acm@copyrightmode=9\relax % licensedcagovmixed
nickjillings@1315 78 \@acmownedfalse
nickjillings@1315 79 \fi
nickjillings@1315 80 \ifnum\acm@copyrightmode=10\relax % othergov
nickjillings@1315 81 \@acmownedtrue
nickjillings@1315 82 \fi
nickjillings@1315 83 \ifnum\acm@copyrightmode=11\relax % licensedothergov
nickjillings@1315 84 \@acmownedfalse
nickjillings@1315 85 \@printcopyrightfalse
nickjillings@1315 86 \fi
nickjillings@1315 87 \ifnum\acm@copyrightmode=12\relax % waclicense
nickjillings@1315 88 \@acmownedfalse
nickjillings@1315 89 \fi}
nickjillings@1315 90 \def\setcopyright#1{\setkeys{ACM@}{acmcopyrightmode=#1}}
nickjillings@1315 91 \setcopyright{acmcopyright}
nickjillings@1315 92 \def\@copyrightowner{%
nickjillings@1315 93 \ifcase\acm@copyrightmode\relax % none
nickjillings@1315 94 \or % acmcopyright
nickjillings@1315 95 ACM.
nickjillings@1315 96 \or % acmlicensed
nickjillings@1315 97 Copyright held by the owner/author(s). Publication rights licensed to
nickjillings@1315 98 ACM.
nickjillings@1315 99 \or % rightsretained
nickjillings@1315 100 Copyright held by the owner/author(s).
nickjillings@1315 101 \or % usgov
nickjillings@1315 102 \or % usgovmixed
nickjillings@1315 103 ACM.
nickjillings@1315 104 \or % cagov
nickjillings@1315 105 Crown in Right of Canada.
nickjillings@1315 106 \or %cagovmixed
nickjillings@1315 107 ACM.
nickjillings@1315 108 \or %licensedusgovmixed
nickjillings@1315 109 Copyright held by the owner/author(s). Publication rights licensed to
nickjillings@1315 110 ACM.
nickjillings@1315 111 \or %licensedcagovmixed
nickjillings@1315 112 Copyright held by the owner/author(s). Publication rights licensed to
nickjillings@1315 113 ACM.
nickjillings@1315 114 \or % othergov
nickjillings@1315 115 ACM.
nickjillings@1315 116 \or % licensedothergov
nickjillings@1315 117 \or % waclicense
nickjillings@1315 118 Copyright held by the owner/author(s).
nickjillings@1315 119 \fi}
nickjillings@1315 120 \def\@copyrightpermission{%
nickjillings@1315 121 \ifcase\acm@copyrightmode\relax % none
nickjillings@1315 122 \or % acmcopyright
nickjillings@1315 123 Permission to make digital or hard copies of all or part of this
nickjillings@1315 124 work for personal or classroom use is granted without fee provided
nickjillings@1315 125 that copies are not made or distributed for profit or commercial
nickjillings@1315 126 advantage and that copies bear this notice and the full citation on
nickjillings@1315 127 the first page. Copyrights for components of this work owned by
nickjillings@1315 128 others than ACM must be honored. Abstracting with credit is
nickjillings@1315 129 permitted. To copy otherwise, or republish, to post on servers or to
nickjillings@1315 130 redistribute to lists, requires prior specific permission
nickjillings@1315 131 and\hspace*{.5pt}/or a fee. Request permissions from
nickjillings@1315 132 permissions@acm.org.
nickjillings@1315 133 \or % acmlicensed
nickjillings@1315 134 Permission to make digital or hard copies of all or part of this
nickjillings@1315 135 work for personal or classroom use is granted without fee provided
nickjillings@1315 136 that copies are not made or distributed for profit or commercial
nickjillings@1315 137 advantage and that copies bear this notice and the full citation on
nickjillings@1315 138 the first page. Copyrights for components of this work owned by
nickjillings@1315 139 others than the author(s) must be honored. Abstracting with credit
nickjillings@1315 140 is permitted. To copy otherwise, or republish, to post on servers
nickjillings@1315 141 or to redistribute to lists, requires prior specific permission
nickjillings@1315 142 and\hspace*{.5pt}/or a fee. Request permissions from
nickjillings@1315 143 permissions@acm.org.
nickjillings@1315 144 \or % rightsretained
nickjillings@1315 145 Permission to make digital or hard copies of part or all of this work
nickjillings@1315 146 for personal or classroom use is granted without fee provided that
nickjillings@1315 147 copies are not made or distributed for profit or commercial advantage
nickjillings@1315 148 and that copies bear this notice and the full citation on the first
nickjillings@1315 149 page. Copyrights for third-party components of this work must be
nickjillings@1315 150 honored. For all other uses, contact the
nickjillings@1315 151 owner\hspace*{.5pt}/author(s).
nickjillings@1315 152 \or % usgov
nickjillings@1315 153 This paper is authored by an employee(s) of the United States
nickjillings@1315 154 Government and is in the public domain. Non-exclusive copying or
nickjillings@1315 155 redistribution is allowed, provided that the article citation is
nickjillings@1315 156 given and the authors and agency are clearly identified as its
nickjillings@1315 157 source.
nickjillings@1315 158 \or % usgovmixed
nickjillings@1315 159 ACM acknowledges that this contribution was authored or co-authored
nickjillings@1315 160 by an employee, or contractor of the national government. As such,
nickjillings@1315 161 the Government retains a nonexclusive, royalty-free right to
nickjillings@1315 162 publish or reproduce this article, or to allow others to do so, for
nickjillings@1315 163 Government purposes only. Permission to make digital or hard copies
nickjillings@1315 164 for personal or classroom use is granted. Copies must bear this
nickjillings@1315 165 notice and the full citation on the first page. Copyrights for
nickjillings@1315 166 components of this work owned by others than ACM must be
nickjillings@1315 167 honored. To copy otherwise, distribute, republish, or post,
nickjillings@1315 168 requires prior specific permission and\hspace*{.5pt}/or a
nickjillings@1315 169 fee. Request permissions from permissions@acm.org.
nickjillings@1315 170 \or % cagov
nickjillings@1315 171 This article was authored by employees of the Government of Canada.
nickjillings@1315 172 As such, the Canadian government retains all interest in the
nickjillings@1315 173 copyright to this work and grants to ACM a nonexclusive,
nickjillings@1315 174 royalty-free right to publish or reproduce this article, or to allow
nickjillings@1315 175 others to do so, provided that clear attribution is given both to
nickjillings@1315 176 the authors and the Canadian government agency employing them.
nickjillings@1315 177 Permission to make digital or hard copies for personal or classroom
nickjillings@1315 178 use is granted. Copies must bear this notice and the full citation
nickjillings@1315 179 on the first page. Copyrights for components of this work owned by
nickjillings@1315 180 others than the Canadain Government must be honored. To copy
nickjillings@1315 181 otherwise, distribute, republish, or post, requires prior specific
nickjillings@1315 182 permission and\hspace*{.5pt}/or a fee. Request permissions from
nickjillings@1315 183 permissions@acm.org.
nickjillings@1315 184 \or % cagovmixed
nickjillings@1315 185 ACM acknowledges that this contribution was co-authored by an
nickjillings@1315 186 affiliate of the national government of Canada. As such, the Crown
nickjillings@1315 187 in Right of Canada retains an equal interest in the copyright.
nickjillings@1315 188 Reprints must include clear attribution to ACM and the author's
nickjillings@1315 189 government agency affiliation. Permission to make digital or hard
nickjillings@1315 190 copies for personal or classroom use is granted. Copies must bear
nickjillings@1315 191 this notice and the full citation on the first page. Copyrights for
nickjillings@1315 192 components of this work owned by others than ACM must be honored.
nickjillings@1315 193 To copy otherwise, distribute, republish, or post, requires prior
nickjillings@1315 194 specific permission and\hspace*{.5pt}/or a fee. Request permissions
nickjillings@1315 195 from permissions@acm.org.
nickjillings@1315 196 \or % licensedusgovmixed
nickjillings@1315 197 Publication rights licensed to ACM. ACM acknowledges that this
nickjillings@1315 198 contribution was authored or co-authored by an employee, contractor
nickjillings@1315 199 or affiliate of the United States government. As such, the
nickjillings@1315 200 Government retains a nonexclusive, royalty-free right to publish or
nickjillings@1315 201 reproduce this article, or to allow others to do so, for Government
nickjillings@1315 202 purposes only.
nickjillings@1315 203 \or % licensedcagovmixed
nickjillings@1315 204 Publication rights licensed to ACM. ACM acknowledges that this
nickjillings@1315 205 contribution was authored or co-authored by an employee, contractor
nickjillings@1315 206 or affiliate of the national government of Canada. As such, the
nickjillings@1315 207 Government retains a nonexclusive, royalty-free right to publish or
nickjillings@1315 208 reproduce this article, or to allow others to do so, for Government
nickjillings@1315 209 purposes only.
nickjillings@1315 210 \or % othergov
nickjillings@1315 211 ACM acknowledges that this contribution was authored or co-authored
nickjillings@1315 212 by an employee, contractor or affiliate of a national government. As
nickjillings@1315 213 such, the Government retains a nonexclusive, royalty-free right to
nickjillings@1315 214 publish or reproduce this article, or to allow others to do so, for
nickjillings@1315 215 Government purposes only.
nickjillings@1315 216 \or % licensedothergov
nickjillings@1315 217 Publication rights licensed to ACM. ACM acknowledges that this
nickjillings@1315 218 contribution was authored or co-authored by an employee, contractor
nickjillings@1315 219 or affiliate of a national government. As such, the Government
nickjillings@1315 220 retains a nonexclusive, royalty-free right to publish or reproduce
nickjillings@1315 221 this article, or to allow others to do so, for Government purposes
nickjillings@1315 222 only.
nickjillings@1315 223 \or % waclicense
nickjillings@1315 224 \includegraphics[scale=.39]{cc}\\ Licensed under a Creative Commons Attribution 4.0 International License (CC BY 4.0). Attribution: owner/author(s).
nickjillings@1315 225 \fi}
nickjillings@1315 226 \endinput
nickjillings@1315 227 %%
nickjillings@1315 228 %% End of file `acmcopyright.sty'.