Formatting for Index

MyMoon
Posts: 23
Joined: Thu Feb 28, 2019 2:19 pm

Formatting for Index

Post by MyMoon » Tue Mar 19, 2019 10:31 am

Hi!
Please tell me which CSS code is responsible for font attributes for Index items - leading letter, indexterm and referred page number.

Thanks,
Dmitry

ionela
Posts: 277
Joined: Mon Dec 05, 2011 6:08 pm

Re: Formatting for Index

Post by ionela » Tue Mar 19, 2019 12:50 pm

Hello,

To find the CSS rules applied for an element in the WebHelp Responsive output you could use CSS inspector from any modern browser.
More information can be found in our user-manual: Using CSS Inspector to Identify Content for Custom CSS File.

Regards,
Ionela
Ionela Istodor
oXygen XML Editor and Author Support

MyMoon
Posts: 23
Joined: Thu Feb 28, 2019 2:19 pm

Re: Formatting for Index

Post by MyMoon » Tue Mar 19, 2019 12:59 pm

Hi Ionela!
Thanks for reply.
My target is PDF, so I cannot follow your advice. I tried just now to feed WebHelp Responsive engine with my ditamap, and got 704 messages that something is wrong...

Regards,
Dmitry

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

Re: Formatting for Index

Post by Dan » Tue Mar 19, 2019 3:21 pm

If you are using the PDF CSS based on HTML, in the output folder you will find a HTML file representing the merged map. You can open it in a browser (Chrome for instance) and use the browser development tools to inspect the elements and styles.

Please read: https://www.oxygenxml.com/doc/versions/ ... e_css.html

Many regards,
Dan

MyMoon
Posts: 23
Joined: Thu Feb 28, 2019 2:19 pm

Re: Formatting for Index

Post by MyMoon » Tue Mar 19, 2019 3:51 pm

Iionela and Dan,
Sorry for slowness and big thanks for this great advice. Work has become much easier.

Sincerely,
Dmitry

Post Reply