On 10/14/2023 3:24 PM, Michal Hoftich wrote:
Hi Nasser,
It is because it is trying to copy the style file nma.css to the output
directory!
And so ofcourse there is no folder /styles/css/ on the Linux disk. This is
meant only for the web server to use from its root public_html.
In this cas
Hi Nasser,
>
> It is because it is trying to copy the style file nma.css to the output
> directory!
>
> And so ofcourse there is no folder /styles/css/ on the Linux disk. This is
> meant only for the web server to use from its root public_html.
>
In this case, you can use this configuration inst
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 CS
Hi all,
> It turned out that make4ht generates its own body
> with this in the .css
>
> body{ margin:1em auto; max-width:80ch; padding:0 .62em; }
>
> The above is done automatically. So if you add your own body
> specification in the .cfg or your own .css, the above will get
> in the way if you us
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 recom
>
> 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
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 CS
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 somewher
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 wil
Opps, I copied the code with a missing ending extra } at the end.
Here is the correct code in cfg. It still gives same syntax error
--
\Css{@media only screen and (min-width: 100px) and (max-width: 960px) {
body{margin-top: 1em; margin-bottom:
I am trying to add this custom code into my .cfg file, using \Css{...}
that I always used, but it gives syntax error.
The code works fine if I add it manually to the index.css file
after compiling. But I need to put it to my .cfg file so it automatically
go inot each generated .css
The code i
11 matches
Mail list logo