From e3932c42fe60fbf8d8793b012b19099e38cca572 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Louren=C3=A7o?= Date: Tue, 15 Oct 2024 23:26:13 +0100 Subject: [PATCH 1/4] Fixed mtp target MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: João Lourenço --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index d9febdd7..3c276638 100644 --- a/Makefile +++ b/Makefile @@ -215,7 +215,7 @@ endif define mtp make clean echo "VERSION IS $(VERSION)" - git commit --all --message "Version $(VERSION)." + test -n "$(shell git status --porcelain)" && git commit --all --message "Version $(VERSION)." git checkout main git pull git merge -m "Merge branch 'develop'" develop From 4b3d9d9c61e5cf8bd2acd2d33a4d254b44d444ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Louren=C3=A7o?= Date: Wed, 16 Oct 2024 00:44:53 +0100 Subject: [PATCH 2/4] WIP for nova-itqb with b5paper MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: João Lourenço --- .../Schools/nova/itqb/nova-itqb-defaults.ldf | 12 +++++++++++- novathesis.cls | 2 ++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/NOVAthesisFiles/Schools/nova/itqb/nova-itqb-defaults.ldf b/NOVAthesisFiles/Schools/nova/itqb/nova-itqb-defaults.ldf index 17dc9e01..79576737 100644 --- a/NOVAthesisFiles/Schools/nova/itqb/nova-itqb-defaults.ldf +++ b/NOVAthesisFiles/Schools/nova/itqb/nova-itqb-defaults.ldf @@ -15,7 +15,17 @@ % ITQB-NOVA specific customization -\ntmemoirsetup{b5paper} +\ntmemoirsetup{b5paper} % Does not work +\setstocksize{9.8in}{6.9in} +\settrimmedsize{\stockheight}{\stockwidth}{*} +\setlrmarginsandblock{3.5cm}{2.5cm}{*} +\setulmarginsandblock{2.5cm}{3.0cm}{*} +% \setlrmargins{0in}{*}{*} +% \setulmargins{0.8in}{*}{*} +\paperwidth=\stockwidth +\paperheight=\stockheight +\checkandfixthelayout + \openany \ntsetup{print/secondcover=true} diff --git a/novathesis.cls b/novathesis.cls index b521a662..8e767137 100644 --- a/novathesis.cls +++ b/novathesis.cls @@ -2287,6 +2287,8 @@ \newcounter{pdfnewlytlevel} \RequirePackage{atbegshi} \newenvironment{newpdflayout}[3][]{% + % #1 = page height + % #2 = page width % \typeout{textheight=\the\textheight} % \typeout{textwidth=\the\textwidth} % \AAAA From 6ae5a5b3c1ddf06179d552c7f5a1acbf1abdc522 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Louren=C3=A7o?= Date: Wed, 16 Oct 2024 00:47:30 +0100 Subject: [PATCH 3/4] WIP for nova-itqb with b5paper MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: João Lourenço --- .../Schools/nova/itqb/nova-itqb-defaults.ldf | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/NOVAthesisFiles/Schools/nova/itqb/nova-itqb-defaults.ldf b/NOVAthesisFiles/Schools/nova/itqb/nova-itqb-defaults.ldf index 79576737..00040fbf 100644 --- a/NOVAthesisFiles/Schools/nova/itqb/nova-itqb-defaults.ldf +++ b/NOVAthesisFiles/Schools/nova/itqb/nova-itqb-defaults.ldf @@ -16,15 +16,15 @@ % ITQB-NOVA specific customization \ntmemoirsetup{b5paper} % Does not work -\setstocksize{9.8in}{6.9in} -\settrimmedsize{\stockheight}{\stockwidth}{*} -\setlrmarginsandblock{3.5cm}{2.5cm}{*} -\setulmarginsandblock{2.5cm}{3.0cm}{*} -% \setlrmargins{0in}{*}{*} -% \setulmargins{0.8in}{*}{*} -\paperwidth=\stockwidth -\paperheight=\stockheight -\checkandfixthelayout +% \setstocksize{9.8in}{6.9in} +% \settrimmedsize{\stockheight}{\stockwidth}{*} +% \setlrmarginsandblock{3.5cm}{2.5cm}{*} +% \setulmarginsandblock{2.5cm}{3.0cm}{*} +% % \setlrmargins{0in}{*}{*} +% % \setulmargins{0.8in}{*}{*} +% \paperwidth=\stockwidth +% \paperheight=\stockheight +% \checkandfixthelayout \openany \ntsetup{print/secondcover=true} From d4484411e01d1b6770aa8d65cacb699b6002c326 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Louren=C3=A7o?= Date: Wed, 16 Oct 2024 11:12:27 +0100 Subject: [PATCH 4/4] Fixed bug in ulisboa/fmv for phdcover with specialization MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: João Lourenço --- .../Schools/ulisboa/fmv/ulisboa-fmv-defaults.ldf | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/NOVAthesisFiles/Schools/ulisboa/fmv/ulisboa-fmv-defaults.ldf b/NOVAthesisFiles/Schools/ulisboa/fmv/ulisboa-fmv-defaults.ldf index 47f4c515..150aa937 100644 --- a/NOVAthesisFiles/Schools/ulisboa/fmv/ulisboa-fmv-defaults.ldf +++ b/NOVAthesisFiles/Schools/ulisboa/fmv/ulisboa-fmv-defaults.ldf @@ -162,8 +162,8 @@ % -------------------------------------------------------- -\specializationstring(pt):={na especialidade de} -\specializationstring(en):={with specialization in} +\specializationstring(pt):={, na especialidade de} +\specializationstring(en):={, with specialization in} % Faculty / School \school(pt):={Faculdade de Medicina Veterinária} @@ -379,8 +379,8 @@ {\THEmajorfield(\@LANG@COVER)}% \ifphddoc{% \ifdatadefined{specialization}(\@LANG@COVER)% - {\thebarheight(\@LANG@COVER) - \thespecialization(\@LANG@COVER)}{~}}% + {% \thebarheight(\@LANG@COVER) + \THEspecialization(\@LANG@COVER)}{~}}% {~}% }%