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

2023-08-30 Thread Nasser M. Abbasi
On 8/30/2023 5:30 AM, Michal Hoftich wrote: Yes, that's the main feature. \Css is meant mainly for smaller chunks of code and for your custom tags. Design for the whole page is better to be put in an external file. Another upside is that when you fix something in the CSS, you don't need to

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

2023-08-30 Thread Michal Hoftich
> > Thanks Michal. This is very useful. I did not know about > > \Configure{AddCss}{filename.css} > > This will make it easy to put all css code in there, so I do not > have to worry about escaping stuff. > Yes, that's the main feature. \Css is meant mainly for smaller chunks of code and for your

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

2023-08-30 Thread Nasser M. Abbasi
On 8/30/2023 2:53 AM, Michal Hoftich wrote: 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

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

2023-08-30 Thread Michal Hoftich
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

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

2023-08-30 Thread Nasser M. Abbasi
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. if anyone is interested. This allows the webpage generated by tex4ht to have fixed width (which I prefer) but if viewed on mobile and small screens, it