One more and maybe impossible now: Back page
Having trouble installing Oxygen PDF Chemistry? Got a bug to report? Post it all here.
-
- Posts: 25
- Joined: Mon Dec 11, 2017 4:00 pm
One more and maybe impossible now: Back page
Hi and thank you again for helping me out,
The template that I am working on also needs a back page. Everything right-aligned and at the lower half of the page. The same logo as before and a lot of paragraphs and line breaks. See the attachment that I sent you.
Seems like @page:last is not even implemented yet. Any help from using back-matter in bookmap? The easier way would be to paste the whole thing as an image, but the problem of how to put it at the bottom (not margin box) of the last page still remains.
Any suggestions?
Cheers,
Timo
The template that I am working on also needs a back page. Everything right-aligned and at the lower half of the page. The same logo as before and a lot of paragraphs and line breaks. See the attachment that I sent you.
Seems like @page:last is not even implemented yet. Any help from using back-matter in bookmap? The easier way would be to paste the whole thing as an image, but the problem of how to put it at the bottom (not margin box) of the last page still remains.
Any suggestions?
Cheers,
Timo
-
- Posts: 9434
- Joined: Fri Jul 09, 2004 5:18 pm
Re: One more and maybe impossible now: Back page
Hi Timo,
"@page:last" is implemented and it can be used to style the layout of the last page. But it does not automatically create a blank page.
Maybe you can try something like this:
Regards,
Radu
"@page:last" is implemented and it can be used to style the layout of the last page. But it does not automatically create a blank page.
Maybe you can try something like this:
Code: Select all
:root:after{
page:lp;
display:block;
content: " ";
margin-top:50%;
text-align:right;
}
@page lp{
background-image:url("Takakansi.svg");
background-position:top left;
background-repeat:no-repeat;
}
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 25
- Joined: Mon Dec 11, 2017 4:00 pm
Re: One more and maybe impossible now: Back page
Good. Thanks.
The only thing is that it should be right-aligned. I tried moving it around, but the it shrank. Background-position: 50% 50% puts it at the centr, but background-size is not accepted for some reason.
Happy holidays,
Timo
The only thing is that it should be right-aligned. I tried moving it around, but the it shrank. Background-position: 50% 50% puts it at the centr, but background-size is not accepted for some reason.
Happy holidays,
Timo
-
- Posts: 25
- Joined: Mon Dec 11, 2017 4:00 pm
Re: One more and maybe impossible now: Back page
Great!
SInce I couldn't adjust the svg, I cropped al the white space out and modified the code a bit:
Now it's still a bit small, but good enough.
But if I try to empty the margin boxes with code like...
...it is not accepted.
Any solution?
Happy holidays!
Timo
SInce I couldn't adjust the svg, I cropped al the white space out and modified the code a bit:
Code: Select all
:root:after{
page:lp;
display:block;
content: " ";
margin-top:50%;
text-align:right;
}
@page lp{
background-image:url("Takakansi.svg");
background-position:80% 80%;
background-repeat:no-repeat;
}
But if I try to empty the margin boxes with code like...
Code: Select all
@page : lp{
@bottom-right {
content: " ";
}}
Any solution?
Happy holidays!
Timo
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service