From 9b7c2fb630f5fbc54a0271f12f0e1fba7c3a7309 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Tue, 30 Nov 2021 18:54:24 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A8=20Use=20cat=20and=20tee?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build-sphinx-thesis.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-sphinx-thesis.yml b/.github/workflows/build-sphinx-thesis.yml index 34ea4a5..49d775e 100644 --- a/.github/workflows/build-sphinx-thesis.yml +++ b/.github/workflows/build-sphinx-thesis.yml @@ -79,10 +79,11 @@ jobs: make latex - name: "Remove numbering from subsubsections and lower headings" working-directory: thesis/build/latex/ + # Doesn't work by using < and >. I have no idea why. run: | - sed -E s/\subsubsection[{]/\subsubsection*{/g progettazioneesviluppodisophonapplicativocloudasupportodellaricerca.tex > progettazioneesviluppodisophonapplicativocloudasupportodellaricerca.tex - sed -E s/\paragraph[{]/\paragraph*{/g progettazioneesviluppodisophonapplicativocloudasupportodellaricerca.tex > progettazioneesviluppodisophonapplicativocloudasupportodellaricerca.tex - sed -E s/\subparagraph[{]/\subparagraph*{/g progettazioneesviluppodisophonapplicativocloudasupportodellaricerca.tex > progettazioneesviluppodisophonapplicativocloudasupportodellaricerca.tex + cat progettazioneesviluppodisophonapplicativocloudasupportodellaricerca.tex | sed -E s/\subsubsection[{]/\subsubsection*{/g | tee progettazioneesviluppodisophonapplicativocloudasupportodellaricerca.tex + cat progettazioneesviluppodisophonapplicativocloudasupportodellaricerca.tex | sed -E s/\paragraph[{]/\paragraph*{/g | tee progettazioneesviluppodisophonapplicativocloudasupportodellaricerca.tex + cat progettazioneesviluppodisophonapplicativocloudasupportodellaricerca.tex | sed -E s/\subparagraph[{]/\subparagraph*{/g | tee progettazioneesviluppodisophonapplicativocloudasupportodellaricerca.tex - name: "Build PDF document with Latexmk" working-directory: thesis/build/latex/ run: make