diff options
author | Karl Berry <karl@freefriends.org> | 2024-10-22 20:38:59 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2024-10-22 20:38:59 +0000 |
commit | f03f226ea4d458922a16e588569d607ed64bcfd2 (patch) | |
tree | 88974e1cc84b097a59ac62c7a54db251809ea36f | |
parent | e8bd7ee9809f6871d56c2cdfae04662f16a4f8ab (diff) |
sshrc-insight (22oct24)
git-svn-id: svn://tug.org/texlive/trunk@72623 c570f23f-e606-0410-a88d-b1316a301751
20 files changed, 256 insertions, 39 deletions
diff --git a/Master/texmf-dist/doc/latex/sshrc-insight/budget_justification.tex b/Master/texmf-dist/doc/latex/sshrc-insight/budget_justification.tex index d19482322ec..8841e733859 100644 --- a/Master/texmf-dist/doc/latex/sshrc-insight/budget_justification.tex +++ b/Master/texmf-dist/doc/latex/sshrc-insight/budget_justification.tex @@ -15,7 +15,6 @@ %% Enter document text here. \end{document} - \endinput %% %% End of file `budget_justification.tex'. diff --git a/Master/texmf-dist/doc/latex/sshrc-insight/career_interruptions.tex b/Master/texmf-dist/doc/latex/sshrc-insight/career_interruptions.tex index e0043754d65..f0e40380ef8 100644 --- a/Master/texmf-dist/doc/latex/sshrc-insight/career_interruptions.tex +++ b/Master/texmf-dist/doc/latex/sshrc-insight/career_interruptions.tex @@ -15,7 +15,6 @@ %% Enter document text here. \end{document} - \endinput %% %% End of file `career_interruptions.tex'. diff --git a/Master/texmf-dist/doc/latex/sshrc-insight/detailed_description.tex b/Master/texmf-dist/doc/latex/sshrc-insight/detailed_description.tex index c25cd02f3e0..0d3fd2d61ad 100644 --- a/Master/texmf-dist/doc/latex/sshrc-insight/detailed_description.tex +++ b/Master/texmf-dist/doc/latex/sshrc-insight/detailed_description.tex @@ -25,7 +25,6 @@ %% Enter section text here. \end{document} - \endinput %% %% End of file `detailed_description.tex'. diff --git a/Master/texmf-dist/doc/latex/sshrc-insight/exclusion_of_potential_reviewers.tex b/Master/texmf-dist/doc/latex/sshrc-insight/exclusion_of_potential_reviewers.tex index d40cc94903f..0e57e7d55ef 100644 --- a/Master/texmf-dist/doc/latex/sshrc-insight/exclusion_of_potential_reviewers.tex +++ b/Master/texmf-dist/doc/latex/sshrc-insight/exclusion_of_potential_reviewers.tex @@ -15,7 +15,6 @@ %% Enter document text here. \end{document} - \endinput %% %% End of file `exclusion_of_potential_reviewers.tex'. diff --git a/Master/texmf-dist/doc/latex/sshrc-insight/expected_outcomes.tex b/Master/texmf-dist/doc/latex/sshrc-insight/expected_outcomes.tex index 2c33ee6db11..6eb14e27f55 100644 --- a/Master/texmf-dist/doc/latex/sshrc-insight/expected_outcomes.tex +++ b/Master/texmf-dist/doc/latex/sshrc-insight/expected_outcomes.tex @@ -16,7 +16,6 @@ \countchars{} \end{document} - \endinput %% %% End of file `expected_outcomes.tex'. diff --git a/Master/texmf-dist/doc/latex/sshrc-insight/insight_proposal.bib b/Master/texmf-dist/doc/latex/sshrc-insight/insight_proposal.bib new file mode 100644 index 00000000000..3222f0cd635 --- /dev/null +++ b/Master/texmf-dist/doc/latex/sshrc-insight/insight_proposal.bib @@ -0,0 +1,30 @@ +%% +%% This is file `insight_proposal.bib', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% sshrc-insight.dtx (with options: `insightproposalbib') +%% +%% This is a generated file. +%% +@article{art1, + author = {Ferenc Farkas and Lili Lakatos and Fruzsina Fekete}, + author+an = {1=student;3=student}, + title = {A new approach to underwater basket-weaving}, + journal = {Journal of Underwater Basket-weaving}, + pages = {107--113}, + year = 2024, +} + +@article{art2, + author = {Lili Lakatos}, + title = {An old approach to underwater basket-weaving}, + journal = {Journal of Underwater Basket-weaving}, + pages = {21--35}, + year = 2021, + keywords = {sshrc}, +} +\endinput +%% +%% End of file `insight_proposal.bib'. diff --git a/Master/texmf-dist/doc/latex/sshrc-insight/insight_proposal.pdf b/Master/texmf-dist/doc/latex/sshrc-insight/insight_proposal.pdf Binary files differindex 8c00892c96b..b0d3412e3f2 100644 --- a/Master/texmf-dist/doc/latex/sshrc-insight/insight_proposal.pdf +++ b/Master/texmf-dist/doc/latex/sshrc-insight/insight_proposal.pdf diff --git a/Master/texmf-dist/doc/latex/sshrc-insight/insight_proposal.tex b/Master/texmf-dist/doc/latex/sshrc-insight/insight_proposal.tex index fcb205162ce..0014da419f9 100644 --- a/Master/texmf-dist/doc/latex/sshrc-insight/insight_proposal.tex +++ b/Master/texmf-dist/doc/latex/sshrc-insight/insight_proposal.tex @@ -39,7 +39,7 @@ %% specify the bibliography file(s) you want to use. \usepackage{csquotes} \usepackage[style=authoryear]{biblatex} -\addbibresource{biblatex-examples.bib} +\addbibresource{insight_proposal.bib} %% The following (optional) block of commands enables hyperlinks and %% PDF metadata, and ensures URLs are set in Times (New Roman). Remove @@ -99,7 +99,6 @@ %% ]{attestation} \end{document} - \endinput %% %% End of file `insight_proposal.tex'. diff --git a/Master/texmf-dist/doc/latex/sshrc-insight/knowledge_mobilization_plan.tex b/Master/texmf-dist/doc/latex/sshrc-insight/knowledge_mobilization_plan.tex index 7ceba961457..6e9a6b1ff9e 100644 --- a/Master/texmf-dist/doc/latex/sshrc-insight/knowledge_mobilization_plan.tex +++ b/Master/texmf-dist/doc/latex/sshrc-insight/knowledge_mobilization_plan.tex @@ -16,7 +16,6 @@ %% Enter document text here. \end{document} - \endinput %% %% End of file `knowledge_mobilization_plan.tex'. diff --git a/Master/texmf-dist/doc/latex/sshrc-insight/list_of_references.tex b/Master/texmf-dist/doc/latex/sshrc-insight/list_of_references.tex index 0d19e9332e9..42a0264135e 100644 --- a/Master/texmf-dist/doc/latex/sshrc-insight/list_of_references.tex +++ b/Master/texmf-dist/doc/latex/sshrc-insight/list_of_references.tex @@ -17,7 +17,6 @@ \end{sloppypar} \end{document} - \endinput %% %% End of file `list_of_references.tex'. diff --git a/Master/texmf-dist/doc/latex/sshrc-insight/multi-interdisciplinary_evaluation.tex b/Master/texmf-dist/doc/latex/sshrc-insight/multi-interdisciplinary_evaluation.tex index c847f90983f..7a805fd1d68 100644 --- a/Master/texmf-dist/doc/latex/sshrc-insight/multi-interdisciplinary_evaluation.tex +++ b/Master/texmf-dist/doc/latex/sshrc-insight/multi-interdisciplinary_evaluation.tex @@ -15,7 +15,6 @@ %% Enter document text here. \end{document} - \endinput %% %% End of file `multi-interdisciplinary_evaluation.tex'. diff --git a/Master/texmf-dist/doc/latex/sshrc-insight/previous_critiques.tex b/Master/texmf-dist/doc/latex/sshrc-insight/previous_critiques.tex index c1e1e2d20ed..34063ce4672 100644 --- a/Master/texmf-dist/doc/latex/sshrc-insight/previous_critiques.tex +++ b/Master/texmf-dist/doc/latex/sshrc-insight/previous_critiques.tex @@ -16,7 +16,6 @@ \countchars{} \end{document} - \endinput %% %% End of file `previous_critiques.tex'. diff --git a/Master/texmf-dist/doc/latex/sshrc-insight/research-creation_support_material.tex b/Master/texmf-dist/doc/latex/sshrc-insight/research-creation_support_material.tex index 7539bc13ca7..8a853d48946 100644 --- a/Master/texmf-dist/doc/latex/sshrc-insight/research-creation_support_material.tex +++ b/Master/texmf-dist/doc/latex/sshrc-insight/research-creation_support_material.tex @@ -15,7 +15,6 @@ %% Enter document text here. \end{document} - \endinput %% %% End of file `research-creation_support_material.tex'. diff --git a/Master/texmf-dist/doc/latex/sshrc-insight/research_contributions.tex b/Master/texmf-dist/doc/latex/sshrc-insight/research_contributions.tex index 2e6dedc1dba..b490295575d 100644 --- a/Master/texmf-dist/doc/latex/sshrc-insight/research_contributions.tex +++ b/Master/texmf-dist/doc/latex/sshrc-insight/research_contributions.tex @@ -90,7 +90,6 @@ %% Enter section text here. \end{document} - \endinput %% %% End of file `research_contributions.tex'. diff --git a/Master/texmf-dist/doc/latex/sshrc-insight/research_team.tex b/Master/texmf-dist/doc/latex/sshrc-insight/research_team.tex index d53660e2680..4dc78e392bf 100644 --- a/Master/texmf-dist/doc/latex/sshrc-insight/research_team.tex +++ b/Master/texmf-dist/doc/latex/sshrc-insight/research_team.tex @@ -25,7 +25,6 @@ %% Enter section text here. \end{document} - \endinput %% %% End of file `research_team.tex'. diff --git a/Master/texmf-dist/doc/latex/sshrc-insight/sshrc-insight.pdf b/Master/texmf-dist/doc/latex/sshrc-insight/sshrc-insight.pdf Binary files differindex a271420efa1..795d8a20756 100644 --- a/Master/texmf-dist/doc/latex/sshrc-insight/sshrc-insight.pdf +++ b/Master/texmf-dist/doc/latex/sshrc-insight/sshrc-insight.pdf diff --git a/Master/texmf-dist/doc/latex/sshrc-insight/summary.tex b/Master/texmf-dist/doc/latex/sshrc-insight/summary.tex index d38d0638d9e..d38ac79a22d 100644 --- a/Master/texmf-dist/doc/latex/sshrc-insight/summary.tex +++ b/Master/texmf-dist/doc/latex/sshrc-insight/summary.tex @@ -16,7 +16,6 @@ \countchars{} \end{document} - \endinput %% %% End of file `summary.tex'. diff --git a/Master/texmf-dist/source/latex/sshrc-insight/sshrc-insight.dtx b/Master/texmf-dist/source/latex/sshrc-insight/sshrc-insight.dtx index b0ffcf93c25..b3d786e59cd 100644 --- a/Master/texmf-dist/source/latex/sshrc-insight/sshrc-insight.dtx +++ b/Master/texmf-dist/source/latex/sshrc-insight/sshrc-insight.dtx @@ -33,10 +33,10 @@ %<class>\NeedsTeXFormat{LaTeX2e}[2018-04-01] %<class>\DeclareRelease{2024}{}{sshrc-insight.cls} %<class>\DeclareRelease{v2024}{}{sshrc-insight.cls} -%<class>\DeclareCurrentRelease{v2024.0.1}{2024-10-17} +%<class>\DeclareCurrentRelease{v2024.1.0}{2024-10-21} %<class>\ProvidesClass{sshrc-insight} %<*class> -[2024-10-17 v2024.0.1 Class for SSHRC Insight Grant proposals] +[2024-10-21 v2024.1.0 Class for SSHRC Insight Grant proposals] %</class> % %<*driver> @@ -55,7 +55,7 @@ %</driver> % \fi % -% \CheckSum{199} +% \CheckSum{219} % % \CharacterTable % {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 @@ -106,7 +106,8 @@ % applicant must attach various PDF documents structured and formatted % according to certain specifications. \textsf{sshrc-insight} allows % you to compose the long-answer fields and PDF documents with \LaTeX, -% \hologo{XeLaTeX}, or \hologo{LuaLaTeX}, with the following benefits: +% \hologo{XeLaTeX}, or \hologo{LuaLaTeX}, with the following principal +% benefits: % % \begin{itemize} % \item Formats the PDF documents according to the SSHRC's @@ -152,11 +153,12 @@ % \item \texttt{list\_of\_references.tex} % \item \texttt{multi-interdisciplinary\_evaluation.tex} % \item \texttt{previous\_critiques.tex} -% \item \texttt{insight\_proposal.tex} % \item \texttt{research\_contributions.tex} % \item \texttt{research-creation\_support\_material.tex} % \item \texttt{research\_team.tex} % \item \texttt{summary.tex} +% \item \texttt{insight\_proposal.tex} +% \item \texttt{insight\_proposal.bib} % \end{itemize} % % The \texttt{insight\_proposal.tex} file is the \emph{main document}. @@ -173,6 +175,11 @@ % to work on one part of the proposal at a time, or for when you are % ready to attach the individual PDFs to the online application form. % +% The file \texttt{insight\_proposal.bib} is a sample bibliography +% demonstrating \textsf{sshrc-insight}'s features for marking +% publications according to the application instructions---see +% §\ref{sec:bibliographic} for further details. +% % The following two subsections describe the structure of the main % document and subfiles, as well as the various macros and % environments provided by \textsf{sshrc-insight}. @@ -317,7 +324,7 @@ % the online application form. For this reason, please ensure that % you write the argument as plain text rather than as \LaTeX\ markup. % -% \subsection{Bibliographic references}\label{sec:bibliographic} +% \subsection{Bibliographic references and research contributions}\label{sec:bibliographic} % % It is recommended to use \textsf{biblatex} and Biber for your % bibliographic references and citations, and the template proposal @@ -325,7 +332,18 @@ % \textsf{biblatex} configuration, and all your \cs{addbibresource} % macros, in your main document. You can then use the usual % \textsf{biblatex} commands for citing references and printing -% bibliographies in the subfiles. With this setup, +% bibliographies in the subfiles. The +% \texttt{list\_of\_references.tex} file of the template proposal +% gives an example of how to print a master bibliography for citations +% across the various subfiles, and the +% \texttt{research\_contributions.tex} file shows how to print +% self-contained bibliographies for one's own research contributions, +% broken down according to the categories specified in the application +% instructions. +% +% \subsubsection{Citation numbering} +% +% When using \textsf{biblatex} as described above, % \textsf{sshrc-insight} ensures that the numbering of the citations % is consistent regardless whether you compile the main proposal file % or the individual subfiles. It does this by having the subfiles @@ -336,6 +354,8 @@ % (re)compile the subfiles. It also means that, despite log messages % to the contrary, you never need to run Biber on the subfiles. % +% \subsubsection{Hyperlinks} +% % When \textsf{biblatex} is used in conjunction with % \textsf{hyperref}, it hyperlinks each citation to the corresponding % entry in the list of references. While this works well when @@ -346,6 +366,88 @@ % \textsf{biblatex}'s hyperlinks when compiling the subfiles % individually. % +% \subsubsection{Marking student authors} +% +% The official application instructions for the ``Research +% Contributions'' document indicate that student authors should be +% identified with a plus sign. \textsf{sshrc-insight} takes care of +% this when printing bibliographic references by means of a +% \textsf{biblatex} data annotation, \texttt{student}. To use this +% feature, simply add a \hologo{BibTeX} field in the following format +% to any entry with a student author: +% \begin{quote} +% \texttt{author+an = \{}\meta{n}\texttt{=student} $\big [$ +% \texttt{;}\meta{n}\texttt{=student} $\big ]$ \dots\ \texttt{\},} +% \end{quote} +% where each \meta{n} is the position of a student in the author list. +% For example, the \hologo{BibTeX} entry +% \begin{quote} +% \begin{verbatim} +% @article{art1, +% author = {Ferenc Farkas and Lili Lakatos and Fruzsina Fekete}, +% author+an = {1=student;3=student}, +% title = {A new approach to underwater basket-weaving}, +% journal = {Journal of Underwater Basket-weaving}, +% pages = {107--113}, +% year = 2024, +% }\end{verbatim} +% \end{quote} +% will be formatted in the reference lists as follows (modulo whatever +% bibliography styles you may have applied): +% \begin{quote} +% Ferenc Farkas\textsuperscript{+}, Lili Lakatos, and Fruzsina +% Fekete\textsuperscript{+}. ``A new approach to underwater +% basket-weaving''. In: \emph{Journal of Underwater Basket-weaving} +% (2024), pp.\,107--113. +% \end{quote} +% Note that student authors will be marked not just in the reference +% lists but also in the citations: a citation to the entry above might +% appear as ``(Farkas\textsuperscript{+} et al., 2024)''. +% +% \DescribeMacro{\sshrcstudent} +% Outside bibliographies, the \cs{sshrcstudent} macro can be used for +% the same effect; it simply outputs a superscripted plus sign. +% +% \subsubsection{Marking SSHRC-supported research contributions} +% +% The official application instructions for the ``Research +% Contributions'' document indicate that research contributions +% resulting from previous SSHRC support should be identified with an +% asterisk in the left margin. \textsf{sshrc-insight} takes care of +% this when printing bibliographic references by means of a +% \textsf{biblatex} keyword, \texttt{sshrc}. To use this feature, +% simply add the following \hologo{BibTeX} field to any entry that +% resulted from previous SSHRC support: +% \begin{quote} +% \texttt{keywords = \{sshrc\},} +% \end{quote} +% (If the entry already contains a \texttt{keywords} field, you can +% simply add \texttt{sshrc} to its list of values, which are normally +% separated with commas.) For example, the \hologo{BibTeX} entry +% \begin{quote} +% \begin{verbatim} +% @article{art2, +% author = {Lili Lakatos}, +% title = {An old approach to underwater basket-weaving}, +% journal = {Journal of Underwater Basket-weaving}, +% pages = {21--35}, +% year = 2021, +% keywords = {sshrc}, +% }\end{verbatim} +% \end{quote} +% will be formatted in the reference lists as follows (modulo whatever +% bibliography styles you may have applied): +% \begin{quote} +% \makebox[0pt][r]{\textasteriskcentered~}Lili Lakatos. ``An old +% approach to underwater basket-weaving''. In: \emph{Journal of +% Underwater Basket-weaving} (2021), pp.\,21--35. +% \end{quote} +% +% \DescribeMacro{\sshrcsupported} +% Outside bibliographies, the \cs{sshrcsupported} macro can be used +% for the same effect; it simply outputs an asterisk in the left +% margin. +% % \subsection{Localization}\label{sec:localization} % % \textsf{sshrc-insight} supports preparation of proposals in either @@ -381,6 +483,8 @@ % \subsection{Version history} % % \begin{description} +% \item[v2024.1.0 (2024-10-21)] Added support for marking research +% contributions according to the official application instructions. % \item[v2024.0.1 (2024-10-17)] Refactored files for CTAN. % \item[v2024.0.0 (2024-10-16)] Initial release. % \end{description} @@ -571,23 +675,77 @@ } % \end{macrocode} % +% A command for marking SSHRC-supported contributions (outside of +% bibliographies) with an asterisk in the left margin: +% +% \begin{macrocode} +\reversemarginpar +\NewDocumentCommand{\sshrcsupported} + {} + {% + \leavevmode% + \marginparsep=0pt% + \marginpar{\raggedleft\mbox{\textasteriskcentered~}}% + } +% \end{macrocode} +% % \subsection*{Bibliography} % +% A command for marking student authors in the bibliography (or +% elsewhere): +% +% \begin{macrocode} +\NewDocumentCommand{\sshrcstudent} + {} + {\textsuperscript{+}} +% \end{macrocode} +% +% If \textsf{biblatex} is used, we provide some convenient features. +% +% \begin{macrocode} +\AtBeginDocument{ + \@ifpackageloaded{biblatex} + { +% \end{macrocode} +% % To enforce consistency in the labelling/numbering of citations when % the proposal is compiled into a single PDFs vs.\ multiple PDFs, use % \textsf{biblatex-readbbl} to force subfiles to use the \texttt{bbl} % file generated for the main file. % % \begin{macrocode} -%% Force subfiles to read the main file's bibliography -\AtBeginDocument{ - \ifSubfilesClassLoaded + \ifSubfilesClassLoaded { - \@ifpackageloaded{biblatex} - {\RequirePackage[bblfile=\preamble@file]{biblatex-readbbl}} - {} + % Force subfiles to read the main file's bibliography + \RequirePackage[bblfile=\preamble@file]{biblatex-readbbl} } {} +% \end{macrocode} +% +% Provide a mechanism to mark student authors with a plus, per the +% official application instructions. +% +% \begin{macrocode} + \renewcommand*{\mkbibnamefamily}[1]{% + \ifitemannotation{student} + {#1\sshrcstudent} + {#1}% + } +% \end{macrocode} +% +% Provide a mechanism to mark previous SSHRC-supported contributions +% with an asterisk in the left margin, per the official application +% instructions. +% +% \begin{macrocode} + \renewbibmacro*{begentry} + {% + \ifkeyword{sshrc} + {\makebox[0pt][r]{\textasteriskcentered~}} + {}% + } + } + {} } % \end{macrocode} % @@ -775,7 +933,7 @@ %% specify the bibliography file(s) you want to use. \usepackage{csquotes} \usepackage[style=authoryear]{biblatex} -\addbibresource{biblatex-examples.bib} +\addbibresource{insight_proposal.bib} %% The following (optional) block of commands enables hyperlinks and %% PDF metadata, and ensures URLs are set in Times (New Roman). Remove @@ -958,6 +1116,24 @@ \end{document} %</summary> +%<*insightproposalbib> +@article{art1, + author = {Ferenc Farkas and Lili Lakatos and Fruzsina Fekete}, + author+an = {1=student;3=student}, + title = {A new approach to underwater basket-weaving}, + journal = {Journal of Underwater Basket-weaving}, + pages = {107--113}, + year = 2024, +} + +@article{art2, + author = {Lili Lakatos}, + title = {An old approach to underwater basket-weaving}, + journal = {Journal of Underwater Basket-weaving}, + pages = {21--35}, + year = 2021, + keywords = {sshrc}, +} +%</insightproposalbib> % \fi % \Finale - diff --git a/Master/texmf-dist/source/latex/sshrc-insight/sshrc-insight.ins b/Master/texmf-dist/source/latex/sshrc-insight/sshrc-insight.ins index 6b9f7ddf09c..6808aef14fe 100644 --- a/Master/texmf-dist/source/latex/sshrc-insight/sshrc-insight.ins +++ b/Master/texmf-dist/source/latex/sshrc-insight/sshrc-insight.ins @@ -32,6 +32,7 @@ This is a generated file. \generate{\file{multi-interdisciplinary_evaluation.tex}{\from{sshrc-insight.dtx}{multi-interdisciplinaryevaluation}}} \generate{\file{previous_critiques.tex}{\from{sshrc-insight.dtx}{previouscritiques}}} \generate{\file{insight_proposal.tex}{\from{sshrc-insight.dtx}{insightproposal}}} +\generate{\file{insight_proposal.bib}{\from{sshrc-insight.dtx}{insightproposalbib}}} \generate{\file{research_contributions.tex}{\from{sshrc-insight.dtx}{researchcontributions}}} \generate{\file{research-creation_support_material.tex}{\from{sshrc-insight.dtx}{research-creationsupportmaterial}}} \generate{\file{research_team.tex}{\from{sshrc-insight.dtx}{researchteam}}} @@ -57,11 +58,12 @@ This is a generated file. \Msg{* \space\space list_of_references.tex} \Msg{* \space\space multi-interdisciplinary_evaluation.tex} \Msg{* \space\space previous_critiques.tex} -\Msg{* \space\space proposal.tex} \Msg{* \space\space research_contributions.tex} \Msg{* \space\space research-creation_support_material.tex} \Msg{* \space\space research_team.tex} \Msg{* \space\space summary.tex} +\Msg{* \space\space insight_proposal.tex} +\Msg{* \space\space insight_proposal.bib} \Msg{*} \Msg{* To produce the documentation run the file sshrc-insight.dtx} \Msg{* through pdflatex.} diff --git a/Master/texmf-dist/tex/latex/sshrc-insight/sshrc-insight.cls b/Master/texmf-dist/tex/latex/sshrc-insight/sshrc-insight.cls index bf03bef35ac..6806cae05a8 100644 --- a/Master/texmf-dist/tex/latex/sshrc-insight/sshrc-insight.cls +++ b/Master/texmf-dist/tex/latex/sshrc-insight/sshrc-insight.cls @@ -22,9 +22,9 @@ \NeedsTeXFormat{LaTeX2e}[2018-04-01] \DeclareRelease{2024}{}{sshrc-insight.cls} \DeclareRelease{v2024}{}{sshrc-insight.cls} -\DeclareCurrentRelease{v2024.0.1}{2024-10-17} +\DeclareCurrentRelease{v2024.1.0}{2024-10-21} \ProvidesClass{sshrc-insight} -[2024-10-17 v2024.0.1 Class for SSHRC Insight Grant proposals] +[2024-10-21 v2024.1.0 Class for SSHRC Insight Grant proposals] \LoadClass[12pt,letterpaper]{article} %% Conditionals for detecting the typesetting engine @@ -138,15 +138,39 @@ \GetTranslation{Character count:} \thelettercount\ \GetTranslation{of} #1 } -%% Force subfiles to read the main file's bibliography +\reversemarginpar +\NewDocumentCommand{\sshrcsupported} + {} + {% + \leavevmode% + \marginparsep=0pt% + \marginpar{\raggedleft\mbox{\textasteriskcentered~}}% + } +\NewDocumentCommand{\sshrcstudent} + {} + {\textsuperscript{+}} \AtBeginDocument{ - \ifSubfilesClassLoaded + \@ifpackageloaded{biblatex} + { + \ifSubfilesClassLoaded { - \@ifpackageloaded{biblatex} - {\RequirePackage[bblfile=\preamble@file]{biblatex-readbbl}} - {} + % Force subfiles to read the main file's bibliography + \RequirePackage[bblfile=\preamble@file]{biblatex-readbbl} } {} + \renewcommand*{\mkbibnamefamily}[1]{% + \ifitemannotation{student} + {#1\sshrcstudent} + {#1}% + } + \renewbibmacro*{begentry} + {% + \ifkeyword{sshrc} + {\makebox[0pt][r]{\textasteriskcentered~}} + {}% + } + } + {} } %% Disable citation hyperlinks in subfiles \ifSubfilesClassLoaded{ @@ -184,7 +208,6 @@ \DeclareTranslation{french}{Summary of Proposal}{Résumé de la proposition} \DeclareTranslation{french}{Character count:}{Nombre de caractères:} \DeclareTranslation{french}{of}{sur} - \endinput %% %% End of file `sshrc-insight.cls'. |