You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi: in the definition of \section there must be something wrong, because it happens to me that the page sometimes breaks just after the horizontal rule that starts any new section, between the horizontal rule and the following text: that it shoudn't absolutely do.
Yes: this is my cv and the problem occurs on the end of pp.6 and 7. The problem seems to be solved if, in the definition of section, I remove '\nopagebreak'. I process the tex file with 'pdflatex europass-cv.tex'. Thank you. Github won't allow to me to upload the extension `.tex', so I'm attaching it as a '.txt' file, but it's actually a tex file.
The issue is caused by the beginning of the "Cinema Indipendente" section. A simple way to fix it is to add a "\vspace*{0.5em}" command. Feel free to adjust the argument (0.5em) according to your preferences. Alternatively, you could force a new page with the "\newpage" command.
Since this problem is specific to your CV and does not affect any others, I won't implement these changes in the repository on CTAN.
If you need any further assistance, please don't hesitate to ask.
P.S. Next time, please share all files in a zip folder, as some images and other minor elements were missing during compilation.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
I could reproduce it with a CV made of several europecv environments: each environment starts with a horizontal rule (\cline{1-1}), and \cline allows a page break right after the rule. When an environment starts near the end of a page, the rule is left alone at the bottom and the section title moves to the next page, which matches what you described. The \nopagebreak in \section is not the culprit: it keeps the title together with the first entry, and removing it only hid the problem by moving the break elsewhere.
The rule is now drawn by a command that looks exactly like \cline{1-1} (the output is pixel-identical when no page break is involved), but does not allow a page break after it, so the rule always stays with the section that follows. No change is needed in your CV.
The fix will be available on CTAN with the next release (2026.10.19). Thanks for the report, @rodolfo-medina!
Activity
welcome commentedon Aug 22, 2024
Thanks for opening your first issue here! Make sure that no other issues on the same topic have already been opened!
gsilano commentedon Aug 23, 2024
Hi! Could you attach your code so that I can test it? Thanks!
rodolfo-medina commentedon Aug 23, 2024
Yes: this is my cv and the problem occurs on the end of pp.6 and 7. The problem seems to be solved if, in the definition of section, I remove '\nopagebreak'. I process the tex file with 'pdflatex europass-cv.tex'. Thank you. Github won't allow to me to upload the extension `.tex', so I'm attaching it as a '.txt' file, but it's actually a tex file.
europass-cv.txt
europass-cv.pdf
gsilano commentedon Aug 30, 2024
The issue is caused by the beginning of the "Cinema Indipendente" section. A simple way to fix it is to add a "\vspace*{0.5em}" command. Feel free to adjust the argument (0.5em) according to your preferences. Alternatively, you could force a new page with the "\newpage" command.
Since this problem is specific to your CV and does not affect any others, I won't implement these changes in the repository on CTAN.
If you need any further assistance, please don't hesitate to ask.
P.S. Next time, please share all files in a zip folder, as some images and other minor elements were missing during compilation.
github-actions commentedon Oct 16, 2026
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Fix stranded rule at page bottom, PostScript detection, fontspec docs
gsilano commentedon Oct 19, 2026
This is fixed in fb8a5a8 (part of #52).
I could reproduce it with a CV made of several
europecvenvironments: each environment starts with a horizontal rule (\cline{1-1}), and\clineallows a page break right after the rule. When an environment starts near the end of a page, the rule is left alone at the bottom and the section title moves to the next page, which matches what you described. The\nopagebreakin\sectionis not the culprit: it keeps the title together with the first entry, and removing it only hid the problem by moving the break elsewhere.The rule is now drawn by a command that looks exactly like
\cline{1-1}(the output is pixel-identical when no page break is involved), but does not allow a page break after it, so the rule always stays with the section that follows. No change is needed in your CV.The fix will be available on CTAN with the next release (2026.10.19). Thanks for the report, @rodolfo-medina!
Generated by Claude Code