Thank you for your answer.
I’ve tested it and I have a problem with long URL. Can you tell me how to wrap them?
Here is an example :
@charset "utf-8";
/*
Save this css in prince_web.css.
Then run :
prince "http://home.web.cern.ch/about/updates/2013/10/cern-releases-photos-under-creative-commons-licence" -s prince_web.css -o prince_web.pdf
You can do it twice and change the "content" below (once with url as string and once with url taken from prince-base-url)
*/
@page
{
size: A5;
margin: 2cm 2cm 3cm;
@bottom-center
{
/* This works. The URL will wrap to the next line. */
/*content: "http://home.web.cern.ch/about/updates/2013/10/cern-releases-photos-under-creative-commons-licence" "\A\A" counter( page );*/
/* This doesn’t work. The URL will NOT wrap to the next line. */
content: prince-base-url() "\A\A" counter( page ) " / " counter( pages );
border-top: 1px solid;
word-wrap: break-word;
white-space: pre-line;
vertical-align: center;
padding: 0.5em 0 1em;
margin: 0;
}
}