From 94e7dfb978a1bd4455d0198c8d17938f35a78386 Mon Sep 17 00:00:00 2001
From: Karl Berry <karl@freefriends.org>
Date: Tue, 23 Jun 2015 18:19:20 +0000
Subject: dccpaper (22jun15)

git-svn-id: svn://tug.org/texlive/trunk@37647 c570f23f-e606-0410-a88d-b1316a301751
---
 Master/texmf-dist/tex/latex/dccpaper/idcc.cls | 33 +++++++++++++++++++++++++--
 1 file changed, 31 insertions(+), 2 deletions(-)

(limited to 'Master/texmf-dist/tex/latex/dccpaper/idcc.cls')

diff --git a/Master/texmf-dist/tex/latex/dccpaper/idcc.cls b/Master/texmf-dist/tex/latex/dccpaper/idcc.cls
index f068c6e3e5f..375411d14b6 100644
--- a/Master/texmf-dist/tex/latex/dccpaper/idcc.cls
+++ b/Master/texmf-dist/tex/latex/dccpaper/idcc.cls
@@ -14,7 +14,7 @@
 %% See:     http://www.latex-project.org/lppl.txt
 %% ----------------------------------------------------------------
 %% 
-\def\Version{2015/01/21 v1.3.2}
+\def\Version{2015/06/22 v1.4.1}
 \NeedsTeXFormat{LaTeX2e}[1999/12/01]
 \ProvidesClass{idcc}
     [\Version\space Class for submissions to the International Digital Curation Conference.]
@@ -60,14 +60,43 @@
   2015 in London. URL: \url{http://www.dcc.ac.uk/events/idcc15/}}
   \def\dccp@subject{10th \dccp@publ@long, 2015}
 }
+\DeclareOption{16}{%
+  \def\dccp@publ@short{IDCC16}
+  \def\dccp@publ@msg{The 11th \dccp@publ@long\ takes place on 22--25 February
+  2016 in Amsterdam. URL: \url{http://www.dcc.ac.uk/events/idcc16/}}
+  \def\dccp@subject{11th \dccp@publ@long, 2016}
+}
 \ProcessOptions\relax
 
+%
+% The |demo| option, if passed, would be passed on to the \textsf{graphics}
+% package wreaking havoc with each and every included image. To avoid this,
+% we clear it from the list of class options using
+% \href{http://tex.stackexchange.com/q/33245}{code from Enrico Gregorio}.
+%
+\def\@clearglobaloption#1{%
+  \def\@tempa{#1}%
+  \def\@tempb{\@gobble}%
+  \@for\next:=\@classoptionslist\do{%
+    \ifx\next\@tempa
+      \message{Option \next\space has been hidden from subsequent packages}%
+    \else
+      \edef\@tempb{\@tempb,\next}%
+    \fi
+  }%
+  \let\@classoptionslist\@tempb
+  \expandafter\ifx\@tempb\@gobble
+    \let\@classoptionslist\@empty
+  \fi
+}
+\@clearglobaloption{demo}
+
 %
 % The rest of the formatting happens in the following file.
 %
 \input{dccpaper-base}
 %% 
-%% Copyright (C) 2014 Digital Curation Centre, University of Edinburgh
+%% Copyright (C) 2015 Digital Curation Centre, University of Edinburgh
 %% <info@dcc.ac.uk>
 %%
 %% End of file `idcc.cls'.
-- 
cgit v1.2.3

