Issue #1 resolved

image directives broken

Philipp Gesang
repo owner created an issue

Test file::

=====
 foo
=====

bar baz

.. image:: cow.pdf

However, if a caption is specified, it works as expected.

Comments (4)

  1. Dmitriy Tokarev

    Now I get this error: ...share/texmf/tex/context/third/rst/rst_directives.lua:134: bad argument #3 to 'stringformat' (string expected, got table)

    If I add caption, it's working. By the way, can I use the images without captions within tables?

  2. Philipp Gesang reporter

    Please check the latest commit.

    If I add caption, it's working. By the way, can I use the images without captions within tables?

    I’m afraid no. In table cells only inline markup is processed. Also, images are mapped to TeX floats which would conflict with use in tables.

  3. Log in to comment