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

Trying to use @page:last #238

Open
alu4073 opened this issue Jun 26, 2018 · 6 comments
Open

Trying to use @page:last #238

alu4073 opened this issue Jun 26, 2018 · 6 comments
Assignees

Comments

@alu4073
Copy link

alu4073 commented Jun 26, 2018

Hi, I'm trying to do what is said in this issue (issues/172) to create a different footer in the last page of my pdf.

However, I'm getting an error because of this line:

if (! (result.equals("first") || result.equals("left") || result.equals("right"))) {

Apparently, @page:last is not a valid option. I can only use @page:first, @page:left or @page:right.

Is there any other way to change the footer of the last page?

(Version I am using: 0.0.1-RC13)

@Tucaen
Copy link

Tucaen commented Aug 22, 2019

Are there any updates on this?

Trying to place a footer only on the last page.

@keycad
Copy link

keycad commented Apr 16, 2020

+1

@AnanasPizza
Copy link

I saw in another issue that someone dealt with it through his templating framework, where he checked if its the last page..
But I would also love something like @page:last

@danfickle danfickle self-assigned this Jan 3, 2021
@bbosson
Copy link

bbosson commented Jan 24, 2021

This feature would be very relevant if you have the time :) Thank @danfickle

@andreas-prouza
Copy link

+1

@VincenzoTavassi
Copy link

+1 :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants