[tex4ht] How to add custom Css code into the configuration file? @media

Michal Hoftich michal.h21 at gmail.com
Wed Aug 30 09:53:11 CEST 2023


Hi Nasser,

> Ok, fixed. Found my mistake. I forget to escape % and #
> when I copied the code from the .css to try it in .cfg !
>
> This now works in the .cfg.
>

In your case, you can use jurt \Configure{AddCss}{filename.css}. It
will include link to the CSS file, which you need to place somewhere.
The good thing is that you can use also URL. See
https://www.kodymirus.cz/tex4ht-doc/Configurations.html#document-styling-using-css
for more details.

Best regards,
Michal


More information about the tex4ht mailing list.