diff options
author | Karl Berry <karl@freefriends.org> | 2024-04-20 19:27:24 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2024-04-20 19:27:24 +0000 |
commit | f72e41f7bc88219b30204ef2bd7176d2371a0683 (patch) | |
tree | c6d7fa012f162c55ed41d8e6e77c914cfefd4237 | |
parent | c355977d7d4278a9d7a389fe85249d55da2be69c (diff) |
se2thesis (20apr24)
git-svn-id: svn://tug.org/texlive/trunk@71020 c570f23f-e606-0410-a88d-b1316a301751
14 files changed, 122 insertions, 47 deletions
diff --git a/Master/texmf-dist/doc/latex/se2thesis/CHANGELOG.md b/Master/texmf-dist/doc/latex/se2thesis/CHANGELOG.md index 600f16953be..f5a4f80ded9 100644 --- a/Master/texmf-dist/doc/latex/se2thesis/CHANGELOG.md +++ b/Master/texmf-dist/doc/latex/se2thesis/CHANGELOG.md @@ -7,6 +7,15 @@ and this project adheres to ## [Unreleased] +## [v3.4.0] – 2024–04–20 + +### Added +- Fix the referencing with cleveref's `\cref` etc. for the `resq` (research + questions) and `hyp` (hypotheses) environments + (see [#8](https://github.com/se2p/se2thesis/issues/8)) +- Add the thesis type `phdphil` for a PhD thesis in philosophy. +- Add section to documentation that the template is also available from Overleaf. + ## [v3.3.1] – 2024–02–23 ### Changed @@ -176,6 +185,8 @@ These changes might be breaking changes! ### Added - First official release +[Unreleased]: https://github.com/se2p/se2thesis/compare/v3.4.0...HEAD +[v3.4.0]: https://github.com/se2p/se2thesis/compare/v3.4.0...v3.3.1 [v3.3.1]: https://github.com/se2p/se2thesis/compare/v3.3.1...v3.3.0 [v3.3.0]: https://github.com/se2p/se2thesis/compare/v3.3.0...v3.2.0 [v3.2.0]: https://github.com/se2p/se2thesis/compare/v3.2.0...v3.1.0 diff --git a/Master/texmf-dist/doc/latex/se2thesis/se2thesis-master-thesis-example.pdf b/Master/texmf-dist/doc/latex/se2thesis/se2thesis-master-thesis-example.pdf Binary files differindex cdfb050e294..a58ba8209f7 100644 --- a/Master/texmf-dist/doc/latex/se2thesis/se2thesis-master-thesis-example.pdf +++ b/Master/texmf-dist/doc/latex/se2thesis/se2thesis-master-thesis-example.pdf diff --git a/Master/texmf-dist/doc/latex/se2thesis/se2thesis-master-thesis-example.tex b/Master/texmf-dist/doc/latex/se2thesis/se2thesis-master-thesis-example.tex index 15000000b29..4f10ae80f53 100644 --- a/Master/texmf-dist/doc/latex/se2thesis/se2thesis-master-thesis-example.tex +++ b/Master/texmf-dist/doc/latex/se2thesis/se2thesis-master-thesis-example.tex @@ -44,6 +44,10 @@ \institute{Chair of Example} \location{Passau} +\usepackage[capitalise]{cleveref} +%\crefname{resq}{research question}{research questions} +\Crefname{resq}{Research Question}{Research Questions} + \begin{document} \frontmatter @@ -72,13 +76,18 @@ \section{Further Examples} -We could reference the \TeX{} book~\autocite{Knu86}. +We could reference the \TeX{} book~\autocite{Knu86}. And we want to reference +\cref{rq:1} and \cref{hyp:1} here. -\begin{resq} +\begin{resq}\label{rq:1} What is \(41 + 1\)? \end{resq} -\begin{summary}{Research Question 1} +\begin{hyp}\label{hyp:1} + We hypothesise that the answer to \cref{rq:1} is 42! +\end{hyp} + +\begin{summary}{\Cref{rq:1}} It's 42, obviously! \end{summary} diff --git a/Master/texmf-dist/doc/latex/se2thesis/se2thesis.pdf b/Master/texmf-dist/doc/latex/se2thesis/se2thesis.pdf Binary files differindex e83e4eeb21e..263ffa53f00 100644 --- a/Master/texmf-dist/doc/latex/se2thesis/se2thesis.pdf +++ b/Master/texmf-dist/doc/latex/se2thesis/se2thesis.pdf diff --git a/Master/texmf-dist/source/latex/se2thesis/se2colors.dtx b/Master/texmf-dist/source/latex/se2thesis/se2colors.dtx index 97d57ee682e..cec581f2e32 100644 --- a/Master/texmf-dist/source/latex/se2thesis/se2colors.dtx +++ b/Master/texmf-dist/source/latex/se2thesis/se2colors.dtx @@ -231,7 +231,7 @@ % % Identify the package and give the overall version information. % \begin{macrocode} -\ProvidesExplPackage {se2colors} {2024-02-23} {3.3.1} +\ProvidesExplPackage {se2colors} {2024-04-20} {3.4.0} {A colour support package for the se2thesis bundle} % \end{macrocode} % diff --git a/Master/texmf-dist/source/latex/se2thesis/se2fonts.dtx b/Master/texmf-dist/source/latex/se2thesis/se2fonts.dtx index 938c24d1f70..9e86b3a24d0 100644 --- a/Master/texmf-dist/source/latex/se2thesis/se2fonts.dtx +++ b/Master/texmf-dist/source/latex/se2thesis/se2fonts.dtx @@ -151,7 +151,7 @@ % % Identify the package and give the overall version information. % \begin{macrocode} -\ProvidesExplPackage {se2fonts} {2024-02-23} {3.3.1} +\ProvidesExplPackage {se2fonts} {2024-04-20} {3.4.0} {A font-selection support package for the se2thesis bundle} % \end{macrocode} % diff --git a/Master/texmf-dist/source/latex/se2thesis/se2packages.dtx b/Master/texmf-dist/source/latex/se2thesis/se2packages.dtx index 8e29a969062..4cdae1d1051 100644 --- a/Master/texmf-dist/source/latex/se2thesis/se2packages.dtx +++ b/Master/texmf-dist/source/latex/se2thesis/se2packages.dtx @@ -443,7 +443,7 @@ % % Identify the package and give the overall version information. % \begin{macrocode} -\ProvidesExplPackage {se2packages} {2024-02-23} {3.3.1} +\ProvidesExplPackage {se2packages} {2024-04-20} {3.4.0} {Supporting packages for the se2thesis bundle} % \end{macrocode} % @@ -881,6 +881,8 @@ \AddToHook { begindocument/before } { \RequirePackage[capitalise]{cleveref} + \Crefname{resq}{Research Question}{Research Questions} + \Crefname{hyp}{Hypothesis}{Hypotheses} } } % \end{macrocode} diff --git a/Master/texmf-dist/source/latex/se2thesis/se2thesis.dtx b/Master/texmf-dist/source/latex/se2thesis/se2thesis.dtx index 9bb167399c4..c8888c343c3 100644 --- a/Master/texmf-dist/source/latex/se2thesis/se2thesis.dtx +++ b/Master/texmf-dist/source/latex/se2thesis/se2thesis.dtx @@ -123,6 +123,27 @@ % thus also recent releases of \pkg{se2thesis} will be part of the image % soon after their release date. % +% \subsection{Availability on Overleaf}\label{sec:doc-intro-overleaf} +% +% Since April 3, 2024, the \pkg{se2thesis} document template is also available +% from Overleaf. The document that is in Overleafs gallery is based on the +% example document that comes with this package. Any Overleaf user can just +% create a new thesis document based on the template by clicking the respective +% button on Overleaf's gallery page. +% +% The gallery entry for \pkg{se2thesis} is available from +% \href{https://www.overleaf.com/latex/templates/se2thesis-a-thesis-class-for-the-chair-of-software-engineering-ii-at-the-university-of-passau-germany/fpymkmxmbgpc}{https://www.overleaf.com/latex/templates/se2thesis-a-thesis-class-for-the-chair-of-software-engineering-ii-at-the-university-of-passau-germany/fpymkmxmbgpc}.% +% +% \emph{Important remark:} Currently, the Overleaf template does not support +% \LuaLaTeX{} but requires builds with \pdfLaTeX. The reason is that Overleaf +% does not yet ship \TeXLive~2024, but only \TeXLive~2023, which does not +% provide the respective font package~(notably \pkg{inconsolata-nerd-font}). +% Until the latest \TeXLive{} will be available from Overleaf, one can only use +% the \pdfLaTeX{} mode, which has some drawbacks on the fonts, but works fine +% otherwise. From the Overleaf blog, we assume that \TeXLive~2024 might be +% available from some time in autumn 2024. We will update this documentation +% accordingly, as soon as the new version is available. +% % \subsection{General Macros}\label{sec:doc-intro-macros} % % They all have in common one macro, \cs{IfFormatAtLeastTF}; @@ -225,8 +246,8 @@ % |bachelor| for a bachelor thesis, |bachelorproposal| for a proposal to % a bachelor thesis, |master| for a master thesis, |masterproposal| for % a proposal to a master thesis, |phdproposal| for a proposal to a PhD thesis, -% |phd| for a PhD thesis in the natural sciences and |phdeng| for a PhD thesis -% in engineering. +% |phd| for a PhD thesis in the natural sciences, |phdeng| for a PhD thesis +% in engineering, and |phdphil| for a PhD thesis in philosophy. % \end{function} % % \begin{function}{colormode} @@ -586,7 +607,7 @@ % % Identify the class and give the overall version number. % \begin{macrocode} -\ProvidesExplClass {se2thesis} {2024-02-23} {3.3.1} +\ProvidesExplClass {se2thesis} {2024-04-20} {3.4.0} {A thesis class for the Chair of Software Engineering II} % \end{macrocode} % @@ -761,6 +782,7 @@ }, thesistype / phd .code:n = \tl_gset:Nn \l_@@_thesis_type_tl {phd}, thesistype / phdeng .code:n = \tl_gset:Nn \l_@@_thesis_type_tl {phdeng}, + thesistype / phdphil .code:n = \tl_gset:Nn \l_@@_thesis_type_tl {phdphil}, thesistype / phdproposal .code:n = { \tl_gset:Nn \l_@@_thesis_type_tl {phdproposal} }, @@ -1258,23 +1280,37 @@ in~ partial~ fulfillment~ of~ obtaining\\ the~ degree~ of~ a~ Doctor~ of~ Engineering } { - \tl_if_eq:NnT \l_@@_thesis_type_tl { bachelor } - { \GetTranslation{Bachelor-thesis} } - \tl_if_eq:NnT \l_@@_thesis_type_tl { bachelorproposal } - { \GetTranslation{Bachelor-thesis-proposal} } - \tl_if_eq:NnT \l_@@_thesis_type_tl { master } - { \GetTranslation{Master-thesis} } - \tl_if_eq:NnT \l_@@_thesis_type_tl { masterproposal } - { \GetTranslation{Master-thesis-proposal} } - \tl_if_eq:NnT \l_@@_thesis_type_tl { phdproposal } - { \GetTranslation{PhD-thesis-proposal} } - \tl_if_empty:NF \l_@@_degreeprogramme_tl + \tl_if_eq:NnTF \l_@@_thesis_type_tl { phdphil } { - \ in~\l_@@_degreeprogramme_tl + Dissertation~ zur~ Erlangung~ des~ Doktorgrades\\ + der~ Philosophie~ (Dr.\,phil.)\\ + eingereicht~ an~ der~ Fakultät~ für~ Informatik~ und~ Mathematik\\ + der~ Universität~ Passau\\ + \rule{\textwidth}{.1pt}\\ + Dissertation~ submitted~ to\\ + the~ Faculty~ of~ Computer~ Science~ and~ Mathematics\\ + of~ the~ University~ of~ Passau\\ + in~ partial~ fulfillment~ of~ obtaining\\ + the~ degree~ of~ a~ Doctor~ of~ Philosophy + } { + \tl_if_eq:NnT \l_@@_thesis_type_tl { bachelor } + { \GetTranslation{Bachelor-thesis} } + \tl_if_eq:NnT \l_@@_thesis_type_tl { bachelorproposal } + { \GetTranslation{Bachelor-thesis-proposal} } + \tl_if_eq:NnT \l_@@_thesis_type_tl { master } + { \GetTranslation{Master-thesis} } + \tl_if_eq:NnT \l_@@_thesis_type_tl { masterproposal } + { \GetTranslation{Master-thesis-proposal} } + \tl_if_eq:NnT \l_@@_thesis_type_tl { phdproposal } + { \GetTranslation{PhD-thesis-proposal} } + \tl_if_empty:NF \l_@@_degreeprogramme_tl + { + \ in~\l_@@_degreeprogramme_tl + } + \par + \tl_if_empty:NF \l_@@_department_tl { \l_@@_department_tl \par } + \tl_if_empty:NF \l_@@_institute_tl { \l_@@_institute_tl \par } } - \par - \tl_if_empty:NF \l_@@_department_tl { \l_@@_department_tl \par } - \tl_if_empty:NF \l_@@_institute_tl { \l_@@_institute_tl \par } } } \end{center}\par\bigskip @@ -1619,7 +1655,7 @@ % We provide the following English translations. % % \begin{macrocode} -\ProvideDictionaryFor{English}{se2translations}[2024/02/23] +\ProvideDictionaryFor{English}{se2translations}[2024/04/20] \ProvideDictTranslation{abstract}{abstract} \ProvideDictTranslation{Abstract}{Abstract} \ProvideDictTranslation{acknowledgement}{acknowledgement} @@ -1670,7 +1706,7 @@ % We provide the following German translations. % % \begin{macrocode} -\ProvideDictionaryFor{German}{se2translations}[2024/02/23] +\ProvideDictionaryFor{German}{se2translations}[2024/04/20] \ProvideDictTranslation{abstract}{Zusammenfassung} \ProvideDictTranslation{Abstract}{Zusammenfassung} \ProvideDictTranslation{acknowledgement}{Danksagung} diff --git a/Master/texmf-dist/tex/latex/se2thesis/se2colors.sty b/Master/texmf-dist/tex/latex/se2thesis/se2colors.sty index 798158a332b..25c828ee337 100644 --- a/Master/texmf-dist/tex/latex/se2thesis/se2colors.sty +++ b/Master/texmf-dist/tex/latex/se2thesis/se2colors.sty @@ -48,7 +48,7 @@ \endinput }% \providecommand \IfFormatAtLeastTF { \@ifl@t@r \fmtversion } -\ProvidesExplPackage {se2colors} {2024-02-23} {3.3.1} +\ProvidesExplPackage {se2colors} {2024-04-20} {3.4.0} {A colour support package for the se2thesis bundle} \keys_define:nn { seiicolors } { diff --git a/Master/texmf-dist/tex/latex/se2thesis/se2fonts.sty b/Master/texmf-dist/tex/latex/se2thesis/se2fonts.sty index 629eaac0644..23799471645 100644 --- a/Master/texmf-dist/tex/latex/se2thesis/se2fonts.sty +++ b/Master/texmf-dist/tex/latex/se2thesis/se2fonts.sty @@ -48,7 +48,7 @@ \endinput }% \providecommand \IfFormatAtLeastTF { \@ifl@t@r \fmtversion } -\ProvidesExplPackage {se2fonts} {2024-02-23} {3.3.1} +\ProvidesExplPackage {se2fonts} {2024-04-20} {3.4.0} {A font-selection support package for the se2thesis bundle} \tl_new:N \l__slcd_fonts_fontmode_tl \keys_define:nn { seiifonts } diff --git a/Master/texmf-dist/tex/latex/se2thesis/se2packages.sty b/Master/texmf-dist/tex/latex/se2thesis/se2packages.sty index 51b74b4e217..d55692d9f03 100644 --- a/Master/texmf-dist/tex/latex/se2thesis/se2packages.sty +++ b/Master/texmf-dist/tex/latex/se2thesis/se2packages.sty @@ -48,7 +48,7 @@ \endinput }% \providecommand \IfFormatAtLeastTF { \@ifl@t@r \fmtversion } -\ProvidesExplPackage {se2packages} {2024-02-23} {3.3.1} +\ProvidesExplPackage {se2packages} {2024-04-20} {3.4.0} {Supporting packages for the se2thesis bundle} \bool_new:N \l__slcd_packages_csquotes_bool \bool_new:N \l__slcd_packages_booktabs_bool @@ -341,5 +341,7 @@ \AddToHook { begindocument/before } { \RequirePackage[capitalise]{cleveref} + \Crefname{resq}{Research Question}{Research Questions} + \Crefname{hyp}{Hypothesis}{Hypotheses} } } diff --git a/Master/texmf-dist/tex/latex/se2thesis/se2thesis.cls b/Master/texmf-dist/tex/latex/se2thesis/se2thesis.cls index 552b7aaa9f0..f96812b01e4 100644 --- a/Master/texmf-dist/tex/latex/se2thesis/se2thesis.cls +++ b/Master/texmf-dist/tex/latex/se2thesis/se2thesis.cls @@ -48,7 +48,7 @@ \endinput }% \providecommand \IfFormatAtLeastTF { \@ifl@t@r \fmtversion } -\ProvidesExplClass {se2thesis} {2024-02-23} {3.3.1} +\ProvidesExplClass {se2thesis} {2024-04-20} {3.4.0} {A thesis class for the Chair of Software Engineering II} \prg_new_conditional:Nnn \slcd_package_if_loaded:n { p, T, F, TF } { @@ -128,6 +128,7 @@ }, thesistype / phd .code:n = \tl_gset:Nn \l__slcd_thesis_type_tl {phd}, thesistype / phdeng .code:n = \tl_gset:Nn \l__slcd_thesis_type_tl {phdeng}, + thesistype / phdphil .code:n = \tl_gset:Nn \l__slcd_thesis_type_tl {phdphil}, thesistype / phdproposal .code:n = { \tl_gset:Nn \l__slcd_thesis_type_tl {phdproposal} }, @@ -455,23 +456,37 @@ in~ partial~ fulfillment~ of~ obtaining\\ the~ degree~ of~ a~ Doctor~ of~ Engineering } { - \tl_if_eq:NnT \l__slcd_thesis_type_tl { bachelor } - { \GetTranslation{Bachelor-thesis} } - \tl_if_eq:NnT \l__slcd_thesis_type_tl { bachelorproposal } - { \GetTranslation{Bachelor-thesis-proposal} } - \tl_if_eq:NnT \l__slcd_thesis_type_tl { master } - { \GetTranslation{Master-thesis} } - \tl_if_eq:NnT \l__slcd_thesis_type_tl { masterproposal } - { \GetTranslation{Master-thesis-proposal} } - \tl_if_eq:NnT \l__slcd_thesis_type_tl { phdproposal } - { \GetTranslation{PhD-thesis-proposal} } - \tl_if_empty:NF \l__slcd_degreeprogramme_tl + \tl_if_eq:NnTF \l__slcd_thesis_type_tl { phdphil } { - \ in~\l__slcd_degreeprogramme_tl + Dissertation~ zur~ Erlangung~ des~ Doktorgrades\\ + der~ Philosophie~ (Dr.\,phil.)\\ + eingereicht~ an~ der~ Fakultät~ für~ Informatik~ und~ Mathematik\\ + der~ Universität~ Passau\\ + \rule{\textwidth}{.1pt}\\ + Dissertation~ submitted~ to\\ + the~ Faculty~ of~ Computer~ Science~ and~ Mathematics\\ + of~ the~ University~ of~ Passau\\ + in~ partial~ fulfillment~ of~ obtaining\\ + the~ degree~ of~ a~ Doctor~ of~ Philosophy + } { + \tl_if_eq:NnT \l__slcd_thesis_type_tl { bachelor } + { \GetTranslation{Bachelor-thesis} } + \tl_if_eq:NnT \l__slcd_thesis_type_tl { bachelorproposal } + { \GetTranslation{Bachelor-thesis-proposal} } + \tl_if_eq:NnT \l__slcd_thesis_type_tl { master } + { \GetTranslation{Master-thesis} } + \tl_if_eq:NnT \l__slcd_thesis_type_tl { masterproposal } + { \GetTranslation{Master-thesis-proposal} } + \tl_if_eq:NnT \l__slcd_thesis_type_tl { phdproposal } + { \GetTranslation{PhD-thesis-proposal} } + \tl_if_empty:NF \l__slcd_degreeprogramme_tl + { + \ in~\l__slcd_degreeprogramme_tl + } + \par + \tl_if_empty:NF \l__slcd_department_tl { \l__slcd_department_tl \par } + \tl_if_empty:NF \l__slcd_institute_tl { \l__slcd_institute_tl \par } } - \par - \tl_if_empty:NF \l__slcd_department_tl { \l__slcd_department_tl \par } - \tl_if_empty:NF \l__slcd_institute_tl { \l__slcd_institute_tl \par } } } \end{center}\par\bigskip diff --git a/Master/texmf-dist/tex/latex/se2thesis/se2translations-english.trsl b/Master/texmf-dist/tex/latex/se2thesis/se2translations-english.trsl index aaa14dd2222..9e1a22f924d 100644 --- a/Master/texmf-dist/tex/latex/se2thesis/se2translations-english.trsl +++ b/Master/texmf-dist/tex/latex/se2thesis/se2translations-english.trsl @@ -32,7 +32,7 @@ %% se2packages.sty, %% se2thesis-master-thesis-example.bib, and %% se2thesis-master-thesis-example.pdf -\ProvideDictionaryFor{English}{se2translations}[2024/02/23] +\ProvideDictionaryFor{English}{se2translations}[2024/04/20] \ProvideDictTranslation{abstract}{abstract} \ProvideDictTranslation{Abstract}{Abstract} \ProvideDictTranslation{acknowledgement}{acknowledgement} diff --git a/Master/texmf-dist/tex/latex/se2thesis/se2translations-german.trsl b/Master/texmf-dist/tex/latex/se2thesis/se2translations-german.trsl index 3c8ecfaa8c2..0946dec428d 100644 --- a/Master/texmf-dist/tex/latex/se2thesis/se2translations-german.trsl +++ b/Master/texmf-dist/tex/latex/se2thesis/se2translations-german.trsl @@ -32,7 +32,7 @@ %% se2packages.sty, %% se2thesis-master-thesis-example.bib, and %% se2thesis-master-thesis-example.pdf -\ProvideDictionaryFor{German}{se2translations}[2024/02/23] +\ProvideDictionaryFor{German}{se2translations}[2024/04/20] \ProvideDictTranslation{abstract}{Zusammenfassung} \ProvideDictTranslation{Abstract}{Zusammenfassung} \ProvideDictTranslation{acknowledgement}{Danksagung} |