Okay, I have something.
It is not missing %s at the end of lines. I put such a character
at the end of every line that could possibly have an influence,
to no effect.
It may be improperly (or misunderstood) source markup on my part.
Or, between two seemingly equivalent ways of expressing a layout,
one is not being handled properly.
Let's say I want an image of 50% width next to an image of 48% width,
with the extra 2% as blank space between the images.
I was doing this:
<sidebyside widths="50% 48%" margins="0% 2% 0%" valign="bottom">
Which gave the following in the LaTeX:
\begin{sidebyside}{2}{0}{0.02}{0}%
That gave the error described: the layout in the PDF is:
[no margin][image][image][the missing 2%]
(aside: if I make the "2%" larger value, I get an error about a
negative computed space. Making it smaller does not generate an error.)
Instead, suppose I do this:
<sidebyside widths="50% 48%" margins="0% 0%" valign="bottom">
which gives:
\begin{sidebyside}{2}{0}{0}{0.02}%
That gives what I wanted:
[no margin][image][2% gap][image][no margin]
I figured this out because elsewhere I had:
<sidebyside widths="30% 30% 30%" valigns="bottom bottom bottom" margins="0% 0%">
which gave what I wanted: 3 images, equal space between, no side margins.
I think the problem is putting the arguments in the wrong order in the
LaTeX.
Regards,
David
> --
> You received this message because you are subscribed to the Google Groups
> "PreTeXt development" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
pretext-dev...@googlegroups.com.
> To view this discussion visit
>
https://groups.google.com/d/msgid/pretext-dev/MTAwMDAzOC5iZWV6ZXI.1763660265%40pnsh.
>