Hi,

This markup

    | file:test-small.png | file:test-small.png |

produces

#+BEGIN_SRC latex
This would be a table with inlined images:

\begin{center}
\begin{tabular}{ll}
\includegraphics{test-small.png} & \includegraphics{test-small.png}\\
\end{tabular}
\end{center}

#+END_SRC

which is consistent with this other markup

This [file:test-img.png] is an inlined image

producing

#+BEGIN_SRC latex
This \includegraphics{test-img.png} is an inlined image
#+END_SRC

LaTeX allows that and hands over the responsibility of further refining the
formatting to the user, either through the specs of the tabular environment
or by selecting another environment that supports tables and conforms with
the user's needs. AFAIU, this is what we achieve with the attributes.

Best, /PA


On Sun, 2 Mar 2025 at 11:16, Ihor Radchenko <yanta...@posteo.net> wrote:

> Pedro Andres Aranda Gutierrez <paag...@gmail.com> writes:
>
> > I've taken some time in generating a test org file. Just to see what
> would
> > happen.
> > I'm attaching the test file and the generated pdf (on org-mode main, my
> > patch applied)
> > to see if I'm missing something. Please feel free to append more tests in
> > the org file.
> > Once we agree on this, I will revisit the patch and add a new test (at
> > least)  for ox-latex.el.
>
> I am not sure about
>
>     This would be a table with inlined images:
>
>     | file:test-small.png | file:test-small.png |
>
> What exactly is the interpretation of such markup?
> Will it be treated as latex table without border? No table at all? Will
> table field widths be accounted for? Will alignment be accounted for?
> What about custom table environment?
>
> --
> Ihor Radchenko // yantar92,
> Org mode maintainer,
> Learn more about Org mode at <https://orgmode.org/>.
> Support Org development at <https://liberapay.com/org-mode>,
> or support my work at <https://liberapay.com/yantar92>
>


-- 
Fragen sind nicht da, um beantwortet zu werden,
Fragen sind da um gestellt zu werden
Georg Kreisler

Headaches with a Juju log:
unit-basic-16: 09:17:36 WARNING juju.worker.uniter.operation we should run
a leader-deposed hook here, but we can't yet
Year 1 of the New Koprocracy

Reply via email to