Skip to content

Commit

Permalink
Merge branch 'release/0.5.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
yamadharma committed Jul 7, 2024
2 parents 943269c + 5fcbbac commit 8e16899
Show file tree
Hide file tree
Showing 5 changed files with 57 additions and 18 deletions.
Empty file added .projectile
Empty file.
Empty file added .texlabroot
Empty file.
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
## [0.5.2](https://github.com/yamadharma/ceurart/compare/v0.5.1...v0.5.2) (2024-07-07)


### Bug Fixes

* **ceurart:** fix copyright year ([5098288](https://github.com/yamadharma/ceurart/commit/509828845a9467309690b1e9946c863f44d88ce3))
* **ceurart:** update URL in \linkedinauthor ([fa29495](https://github.com/yamadharma/ceurart/commit/fa29495fff8f5585d90f347587b067d0d4dbd7c6)), closes [#17](https://github.com/yamadharma/ceurart/issues/17)


### Features

* **ceurart:** remove cc-by.pdf, use doclicense.sty ([4ae7081](https://github.com/yamadharma/ceurart/commit/4ae7081a85a4f4a1176d9362772088fa27873efc))



## [0.5.1](https://github.com/yamadharma/ceurart/compare/v0.5.0...v0.5.1) (2023-12-14)


Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ceurart",
"version": "0.5.1",
"version": "0.5.2",
"description": "CEUR-WS proceedings style",
"main": "index.js",
"repository": "git@github.com:yamadharma/ceurart.git",
Expand Down
58 changes: 41 additions & 17 deletions tex/latex/ceurart/ceurart.cls
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
%% ceurart.cls
%% Copyright 2019--2023 CEUR Workshop Proceedings (CEUR-WS.org)
%% Copyright 2019--2024 CEUR Workshop Proceedings (CEUR-WS.org)
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either version 1.3
Expand All @@ -16,12 +16,16 @@
%

\def\RCSfile{ceurart}%
\def\RCSversion{0.5.1}%
\def\RCSdate{2023/12/14}%
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
\ProvidesClass{\RCSfile}[\RCSdate, \RCSversion: Typesetting articles for CEUR Workshop Proceedings (CEUR-WS.org)]

\RequirePackage{expl3,xparse}
\def\RCSversion{0.5.2}%
\def\RCSdate{2024-07-07}%
\RequirePackage{expl3}
\ProvidesExplClass
{\RCSfile} % Package name
{\RCSdate} % Release date
{\RCSversion} % Release version
{Typesetting articles for CEUR Workshop Proceedings (CEUR-WS.org)} % Description

\RequirePackage{xparse}
\@ifundefined{regex_match:nnTF}{\RequirePackage{l3regex}}{}

\ExplSyntaxOn
Expand Down Expand Up @@ -368,7 +372,7 @@
\xmpdatawrite{Title}{\detokenize\expandafter{\casprelimstitle}}
\xmpdatawrite{Author}{\pdfxauthors}
\xmpdatawrite{Keywords}{\pdfxkeywords}
\xmpdatawrite{Subject}{Layout~by~CEURART}
\xmpdatawrite{Subject}{Layout~by~CEURART~v\RCSversion}

\ifx\@copyrightclause\@empty\else
\xmpdatawrite{Copyright}{\iow_char:N \\ copyright\ \@copyrightyear\ \@copyrightclause}
Expand All @@ -389,7 +393,7 @@
% pdfauthor={\csuse{__short_authors:}},
% pdfauthor={\csuse{__authors:}},
% pdftitle={\@title},
pdfsubject={Layout~by~CEURART},
pdfsubject={Layout~by~CEURART~v\RCSversion},
pdfkeywords={\pdfxkeywords},
linkcolor={hscolor},
urlcolor={hscolor},
Expand Down Expand Up @@ -1212,7 +1216,8 @@
\seq_gput_right:Nn \g_ceur_linkedin_seq
{
\parsename { #2 }
\url{https://www.linkedin.com/profile/view?id=\tl_to_str:n{#1}}%
% \url{https://www.linkedin.com/profile/view?id=\tl_to_str:n{#1}}%
\url{https://www.linkedin.com/in/\tl_to_str:n{#1}}%
\space(\eadauthor)
}
}
Expand Down Expand Up @@ -1865,28 +1870,47 @@
\let\@copyrightclause\@empty
% \copyrightclause{\textcolor{red}{Author: Please provide a copyright holder}}

%% CC-BY logo
\RequirePackage{csquotes}
\RequirePackage[type={CC},modifier={by},version={4.0},imageposition=left]{doclicense}

%% CC-BY logo width
\newdimen\ccLogoWidth
\ccLogoWidth=3.5em

\def\@copyrightLine{%
\setbox\@tempboxa\hbox{\includegraphics[height=\baselineskip,clip]{cc-by}}%
\ccLogoWidth=\dimexpr\wd\@tempboxa
\@rightskip\@flushglue \rightskip\@rightskip
% \hangindent\dimexpr\wd\@tempboxa+0.5em\relax
% \setbox\@tempboxa\hbox{\includegraphics[height=\baselineskip,clip]{cc-by}}%
% \ccLogoWidth=\dimexpr\wd\@tempboxa
% \@rightskip\@flushglue \rightskip\@rightskip
% % \hangindent\dimexpr\wd\@tempboxa+0.5em\relax
% \begin{minipage}[c]{\ccLogoWidth}
% \href{https://creativecommons.org/licenses/by/4.0}%
% {\lower\baselineskip\hbox{\unhcopy\@tempboxa}}\enskip
% \end{minipage}
% \nobreak\enskip
% \begin{minipage}[c]{\linewidth - \ccLogoWidth - 2\footnotemargin}
% \tiny
% \textcopyright\ \@copyrightyear\ %
% \ifx\@copyrightclause\@empty%
% \textcolor{red}{Author: Please fill in the \string\copyrightclause\space macro}%
% \else\@copyrightclause%
% \fi
% \end{minipage}
% \\
\begin{minipage}[c]{\ccLogoWidth}
\href{https://creativecommons.org/licenses/by/4.0}%
{\lower\baselineskip\hbox{\unhcopy\@tempboxa}}\enskip
\doclicenseImage[imagewidth=\ccLogoWidth]
\end{minipage}
\nobreak\enskip
\begin{minipage}[c]{\linewidth - \ccLogoWidth - 2\footnotemargin}
\tiny
\textcopyright\ \@copyrightyear\ %
\ifx\@copyrightclause\@empty%
\textcolor{red}{Author: Please fill in the \string\copyrightclause\space macro}%
\doclicenseText
% \textcolor{red}{Author: Please fill in the \string\copyrightclause\space macro}%
\else\@copyrightclause%
\fi
\end{minipage}

}

\RequirePackage{calc}
Expand Down

0 comments on commit 8e16899

Please sign in to comment.