Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong page break #39

Open
rodolfo-medina opened this issue Aug 22, 2024 · 4 comments
Open

Wrong page break #39

rodolfo-medina opened this issue Aug 22, 2024 · 4 comments
Assignees
Labels
bug Something isn't working help wanted Extra attention is needed status: in progress This issue is being addressed already. To be applied to issues if they have a open PR

Comments

@rodolfo-medina
Copy link

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.

Thanks,

Rodolfo

Copy link

welcome bot commented 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
Copy link
Owner

gsilano commented Aug 23, 2024

Hi! Could you attach your code so that I can test it? Thanks!

@gsilano gsilano self-assigned this Aug 23, 2024
@gsilano gsilano added bug Something isn't working help wanted Extra attention is needed status: in progress This issue is being addressed already. To be applied to issues if they have a open PR labels Aug 23, 2024
@rodolfo-medina
Copy link
Author

rodolfo-medina commented 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
Copy link
Owner

gsilano commented 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed status: in progress This issue is being addressed already. To be applied to issues if they have a open PR
Projects
None yet
Development

No branches or pull requests

2 participants