Blank Page after TOC

Questions about XML that are not covered by the other forums should go here.
mrpaultracey
Posts: 12
Joined: Thu Jun 01, 2017 2:10 pm

Blank Page after TOC

Post by mrpaultracey » Wed May 16, 2018 5:40 pm

Hi there
The empty page that appears after my TOC shows a header and a Footer. I do not want a header and a footer on this page. How can I refference this page to have no content?

the given methods below do not appear to work:

@page: blank {
@top-left { content: none; }
}


@page chapter:blank, table-of-contents:blank {
@top-left { content: none; }
}

Dan
Posts: 430
Joined: Mon Feb 03, 2003 10:56 am

Re: Blank Page after TOC

Post by Dan » Thu May 17, 2018 3:53 pm

I think this situation was already solved.

You can try to install a new snapshot Chemistry build from: http://mirror.oxygenxml.com/maven-night ... ackage.zip
See the installation instructions from: https://www.oxygenxml.com/doc/versions/ ... lling.html
Set your transformation scenario parameter "css.processor.path.chemistry" to the full path of the "chemistry.bat" script file in the extracted directory.

If you still have problems, please send us the output from the transformation console using the technical support form .

Many regards,
Dan

mrpaultracey
Posts: 12
Joined: Thu Jun 01, 2017 2:10 pm

Re: Blank Page after TOC

Post by mrpaultracey » Thu May 17, 2018 6:21 pm

This problem is solved. I completely forgot to update the Chemistry engine!

However, it does seem like I have an old problem returned:

<xref href="mailto:mySupport@mySupport.com" format="html" scope="external"
>mySupport@,mySupport.com</xref>(China) <p><xref



Outputs::

mailto:mySupport.com (page ) (China)

Why is the (page ) appearing now?

Dan
Posts: 430
Joined: Mon Feb 03, 2003 10:56 am

Re: Blank Page after TOC

Post by Dan » Fri May 18, 2018 9:20 am

Hello,
I am not sure why they appear, I did not reproduce it. But you should try using:

Code: Select all


 *[class ~= "topic/xref"][href][scope='external']:after,
*[class ~= "topic/link"][href][scope='external']:after {
display:none !important;
}
It should solve the problem.
Best regards,
Dan

mrpaultracey
Posts: 12
Joined: Thu Jun 01, 2017 2:10 pm

Re: Blank Page after TOC

Post by mrpaultracey » Fri May 18, 2018 10:30 am

tremendous! works like a charm. Thanks alot!

Post Reply