Forum How do I...?

Prince does not get footer for each page

jubjub64
I have some css that looks something like this:

footer {string-set: v_footer content();}
footer {display:none;}
@page:left
{
	@bottom-left
	{
		content:counter(page);
	}
	
	@bottom-right
	{
		content:string(v_footer, last);
	}
}


When I run the xml through Price it just repeats the same footer at the bottom of each page. The footer it repeats is the first footer in the xml document. It doesn't seem to see the other footers throughout the xml. How do I fix it so it will change the footer whenever a new <footer> tag is introduced into the xml?

Thanks for any and all help.

PS: I'm using Prince 6.0 rev 6
mikeday
There seems to be an issue with the "display: none", can you try commenting this out and seeing if that fixes the footer?
jubjub64
mikeday wrote:
There seems to be an issue with the "display: none", can you try commenting this out and seeing if that fixes the footer?


Thanks for the reply. I commented out the "display: none" but it still only repeats the first <footer> in the xml.

One thing I forgot to mention is that this problem doesn't exist if I use an earlier version of Prince (Prince 5.1 rev 7).
mikeday
Can you try the latest release, 6.0 rev 7? We made some changes to string-set.