Skip to content

Commit 07cfb16

Browse files
authored
Regenerate guide PDFs (#338)
## Summary - Regenerated all 20 guide PDFs (EN and IT) with updated LaTeX engine (xelatex) - All PDFs have reduced file sizes ## Test plan - [ ] Verify PDFs render correctly - [ ] Spot-check content in EN and IT versions 🤖 Generated with [Claude Code](https://claude.com/claude-code) <!-- Reviewable:start --> - - - This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/ScrumGuides/ScrumGuide-ExpansionPack/338) <!-- Reviewable:end -->
2 parents da34ccc + 3e51040 commit 07cfb16

File tree

22 files changed

+9
-0
lines changed

22 files changed

+9
-0
lines changed

scripts/Create-GuidePDFs.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,7 @@ foreach ($guide in $guidesToProcess) {
200200
"--pdf-engine=$pdfEngine"
201201
"--lua-filter=$luaFilterPath"
202202
"--include-in-header=$latexHeaderPath"
203+
"--resource-path=$contentDir"
203204
"-o", $outputPath
204205
)
205206

scripts/callouts-latex.lua

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,14 @@
44
--
55
-- Output: LaTeX environment with tcolorbox
66

7+
-- Strip leading "/" from image paths so --resource-path can resolve them
8+
function Image(el)
9+
if el.src:sub(1, 1) == "/" then
10+
el.src = el.src:sub(2)
11+
end
12+
return el
13+
end
14+
715
local function starts_with_callout_marker(inlines)
816
if not inlines or #inlines == 0 then return nil end
917
if inlines[1].t ~= "Str" then return nil end
Binary file not shown.
Binary file not shown.
Binary file not shown.
-22 KB
Binary file not shown.
-34.5 KB
Binary file not shown.
-11.3 KB
Binary file not shown.

0 commit comments

Comments
 (0)