Page 1 of 1

Property table head still appears after leaving it out

Posted: Tue Aug 06, 2019 3:32 pm
by NielsVerstappen
Hi,

I am trying to use the <properties> table without displaying the header of this table. However, if I use the example below in a reference file which is contained in a bookmap, the PDF output still displays the <prophead>

Code: Select all

<properties>
    <property>
        <proptype>Test Type</proptype>
	<propvalue>Test Value</propvalue>
	<propdesc>Test Description</propdesc>
    </property>
</properties>
The weird part is that while debugging, I found out that if I convert this single reference file to pdf the <prophead> is not displayed. I wondered if it is possible to leave out the <prophead> for a properties table in a bookmap as well.

Many regards,
Niels

Re: Property table head still appears after leaving it out

Posted: Thu Aug 08, 2019 2:31 pm
by Costin
Hello,

As a simple solution, you should add the following rule in a customization CSS:
[class*="reference/properties"] thead{
display: none !important;
content: "bla";
border: 2px solid black;
}

Then use the DITA Map PDF - based on HTML5 and CSS, edit the scenario and pass your customization .css file to it, either directly - as a parameter - (set the "args.css" value to the path of your .css file), or inside a publishing template.

More details on how you could use a customization CSS available in the User-Guide.

Best Regards,
Costin