01
Build XeLaTeX to PDF / build (push) Successful in 11s

This commit is contained in:
Domipoke
2026-07-28 21:08:20 +02:00
parent 18f9b9ffa9
commit 9fc35d6828
3 changed files with 4 additions and 3 deletions
+2 -1
View File
@@ -17,8 +17,9 @@ jobs:
- name: Find all root .tex files - name: Find all root .tex files
id: roots id: roots
#ROOTS=$(grep -rl '\\documentclass' --include='*.tex' . | sed 's|^\./||' | tr '\n' ' ')
run: | run: |
ROOTS=$(grep -rl '\\documentclass' --include='*.tex' . | sed 's|^\./||' | tr '\n' ' ') ROOTS=$(awk '/\\begin\{/{if (!dc) exit} /\\documentclass/{dc=1; print FILENAME; exit}' $(find . -name "*.tex") | sed 's|^\./||' | tr '\n' ' ')
echo "roots=$ROOTS" >> "$GITHUB_OUTPUT" echo "roots=$ROOTS" >> "$GITHUB_OUTPUT"
echo "Root files to build: $ROOTS" echo "Root files to build: $ROOTS"
+1 -1
View File
@@ -2,7 +2,7 @@
\usepackage{myformat} \usepackage{myformat}
\title{LearnLaTeX} \title{LearnLaTeX}
\author{Domipoke} \author{Domipoke}
% %2
\begin{document} \begin{document}
\input{./book/copertina.tex} \input{./book/copertina.tex}
\input{./book/00_premessa.tex} \input{./book/00_premessa.tex}
+1 -1
View File
@@ -10,7 +10,7 @@
] ]
\title{LearnLaTeX} \title{LearnLaTeX}
\author{Domipoke} \author{Domipoke}
% 3 % 4
\begin{document} \begin{document}
\input{./book/copertina.tex} \input{./book/copertina.tex}
\input{./book/00_premessa.tex} \input{./book/00_premessa.tex}