[GH-ISSUE #372] Slowdown after changing "header-includes.tex" #5354

Closed
opened 2026-04-21 21:20:17 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @BravoBaldo on GitHub (Aug 22, 2024).
Original GitHub issue: https://github.com/harvard-edge/cs249r_book/issues/372

Since it was changed
...\tex\header-includes.tex
The build slowed down a lot and xelatex runs 10 times (instead of usual 3 times) ending with the message:
"WARN: maximum number of runs (9) reached"

The problem seems to be "\usepackage{titlesec}" and the following "\titleformat..."
I don't know how to fix it :(

Note: you don't need "\usepackage{xcolor}" in row 80: it is already in row 17

Baldo

Originally created by @BravoBaldo on GitHub (Aug 22, 2024). Original GitHub issue: https://github.com/harvard-edge/cs249r_book/issues/372 Since it was changed `...\tex\header-includes.tex` The build slowed down a lot and xelatex runs 10 times (instead of usual 3 times) ending with the message: "WARN: maximum number of runs (9) reached" The problem seems to be "\usepackage{titlesec}" and the following "\titleformat..." I don't know how to fix it :( **Note:** you don't need "\usepackage{xcolor}" in row 80: it is already in row 17 Baldo
GiteaMirror added the area: toolstype: improvement labels 2026-04-21 21:20:17 -05:00
Author
Owner

@BravoBaldo commented on GitHub (Aug 22, 2024):

With today's update there are 5 executions instead of 3 but there is no longer the warning message.
I think you can close this.

<!-- gh-comment-id:2304396876 --> @BravoBaldo commented on GitHub (Aug 22, 2024): With today's update there are 5 executions instead of 3 but there is no longer the warning message. I think you can close this.
Author
Owner

@profvjreddi commented on GitHub (Aug 22, 2024):

Thanks for letting me know! I used the titlesec to fix an issue with spacing. I will clean up the package, and remove lot and lof which should help.

<!-- gh-comment-id:2304400722 --> @profvjreddi commented on GitHub (Aug 22, 2024): Thanks for letting me know! I used the titlesec to fix an issue with spacing. I will clean up the package, and remove lot and lof which should help.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/cs249r_book#5354