diff --git a/.github/workflows/latexdiff.yml b/.github/workflows/latexdiff.yml index f563db9..99d7f2e 100644 --- a/.github/workflows/latexdiff.yml +++ b/.github/workflows/latexdiff.yml @@ -43,12 +43,22 @@ jobs: - name: Flatten base/main.tex run: | cd base/latex - flatex main.tex > ../../diff_output/base_flat.tex + echo "📂 Listing files in base/latex:" + ls -R + echo "🔄 Flattening base/latex/main.tex..." + flatex --stdout main.tex > ../../diff_output/base_flat.tex + echo "✅ base_flat.tex preview:" + head -n 50 ../../diff_output/base_flat.tex - name: Flatten compare/main.tex run: | cd compare/latex - flatex main.tex > ../../diff_output/compare_flat.tex + echo "📂 Listing files in compare/latex:" + ls -R + echo "🔄 Flattening compare/latex/main.tex..." + flatex --stdout main.tex > ../../diff_output/compare_flat.tex + echo "✅ compare_flat.tex preview:" + head -n 50 ../../diff_output/compare_flat.tex - name: Generate diff.tex using latexdiff run: |