<feed xmlns='http://www.w3.org/2005/Atom'>
<title>pandoc/test/lua/module, branch master</title>
<subtitle>Conversion between markup formats</subtitle>
<id>https://git.pashev.ru/pandoc/atom?h=master</id>
<link rel='self' href='https://git.pashev.ru/pandoc/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.pashev.ru/pandoc/'/>
<updated>2021-12-25T20:20:18Z</updated>
<entry>
<title>Lua: improve handling of empty caption, body by `from_simple_table`</title>
<updated>2021-12-25T20:20:18Z</updated>
<author>
<name>Albert Krewinkel</name>
<email>albert@zeitkraut.de</email>
</author>
<published>2021-12-25T19:47:29Z</published>
<link rel='alternate' type='text/html' href='https://git.pashev.ru/pandoc/commit/?id=fbd2c8e376eea5eccc0b799f8e48d10c7ab8b6d9'/>
<id>urn:sha1:fbd2c8e376eea5eccc0b799f8e48d10c7ab8b6d9</id>
<content type='text'>
Create truly empty table caption and body when these are empty in the
simple table.

Fixes: #7776
</content>
</entry>
<entry>
<title>Lua: simplify code of pandoc.utils.stringify</title>
<updated>2021-12-21T20:50:13Z</updated>
<author>
<name>Albert Krewinkel</name>
<email>albert@zeitkraut.de</email>
</author>
<published>2021-12-21T20:50:13Z</published>
<link rel='alternate' type='text/html' href='https://git.pashev.ru/pandoc/commit/?id=0bdf37315766eb4b785002ffaf38cdb724628e7a'/>
<id>urn:sha1:0bdf37315766eb4b785002ffaf38cdb724628e7a</id>
<content type='text'>
Minor behavior change: plain strings nested in tables are now included
in the result string.
</content>
</entry>
<entry>
<title>Lua tests: add more tests for `pandoc.utils.stringify`.</title>
<updated>2021-12-21T20:25:16Z</updated>
<author>
<name>Albert Krewinkel</name>
<email>albert@zeitkraut.de</email>
</author>
<published>2021-12-21T20:25:16Z</published>
<link rel='alternate' type='text/html' href='https://git.pashev.ru/pandoc/commit/?id=edb04a78dba3490dc28ef68d5133b0220a0426fa'/>
<id>urn:sha1:edb04a78dba3490dc28ef68d5133b0220a0426fa</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Lua: add tests for pandoc.utils.equals</title>
<updated>2021-12-21T18:00:21Z</updated>
<author>
<name>Albert Krewinkel</name>
<email>albert@zeitkraut.de</email>
</author>
<published>2021-12-21T16:12:56Z</published>
<link rel='alternate' type='text/html' href='https://git.pashev.ru/pandoc/commit/?id=1c389bf6b6236cefcadac3c2eefe62eb6c884863'/>
<id>urn:sha1:1c389bf6b6236cefcadac3c2eefe62eb6c884863</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Lua: add new library function `pandoc.utils.type`.</title>
<updated>2021-12-21T17:24:21Z</updated>
<author>
<name>Albert Krewinkel</name>
<email>albert@zeitkraut.de</email>
</author>
<published>2021-12-21T08:40:23Z</published>
<link rel='alternate' type='text/html' href='https://git.pashev.ru/pandoc/commit/?id=d7cab5198269fbbdbc40f54a2ad7aeb83fee619f'/>
<id>urn:sha1:d7cab5198269fbbdbc40f54a2ad7aeb83fee619f</id>
<content type='text'>
The function behaves like the default `type` function from Lua's
standard library, but is aware of pandoc userdata types. A typical
use-case would be to determine the type of a metadata value.
</content>
</entry>
<entry>
<title>Lua: use more natural representation for Reference values</title>
<updated>2021-12-20T08:41:03Z</updated>
<author>
<name>Albert Krewinkel</name>
<email>albert@zeitkraut.de</email>
</author>
<published>2021-12-20T08:28:38Z</published>
<link rel='alternate' type='text/html' href='https://git.pashev.ru/pandoc/commit/?id=cd2bffee1e4c0ca9c999bd37f81732664f9f107a'/>
<id>urn:sha1:cd2bffee1e4c0ca9c999bd37f81732664f9f107a</id>
<content type='text'>
Omit `false` boolean values, push integers as numbers.
</content>
</entry>
<entry>
<title>Lua: fixup, should have been part of previous commit</title>
<updated>2021-12-19T13:31:52Z</updated>
<author>
<name>Albert Krewinkel</name>
<email>albert@zeitkraut.de</email>
</author>
<published>2021-12-19T13:31:52Z</published>
<link rel='alternate' type='text/html' href='https://git.pashev.ru/pandoc/commit/?id=dc3dcc2ccd3435ca88cf1eaeea05f62806f066d6'/>
<id>urn:sha1:dc3dcc2ccd3435ca88cf1eaeea05f62806f066d6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Lua: remove `pandoc.utils.text` (#7720)</title>
<updated>2021-11-29T17:12:30Z</updated>
<author>
<name>Albert Krewinkel</name>
<email>albert@zeitkraut.de</email>
</author>
<published>2021-11-29T17:12:30Z</published>
<link rel='alternate' type='text/html' href='https://git.pashev.ru/pandoc/commit/?id=fa838deefc6badc62b9ca4d93aba55e9fbd747ec'/>
<id>urn:sha1:fa838deefc6badc62b9ca4d93aba55e9fbd747ec</id>
<content type='text'>
The new `pandoc.Inlines` function behaves identical on string input, but
allows other Inlines-like arguments as well.

The `pandoc.utils.text` function could be written as

    function pandoc.utils.text (x)
      assert(type(x) == 'string')
      return pandoc.Inlines(x)
    end</content>
</entry>
<entry>
<title>Lua: add constructors `pandoc.Blocks` and `pandoc.Inlines`</title>
<updated>2021-11-28T15:02:42Z</updated>
<author>
<name>Albert Krewinkel</name>
<email>albert@zeitkraut.de</email>
</author>
<published>2021-11-28T14:07:30Z</published>
<link rel='alternate' type='text/html' href='https://git.pashev.ru/pandoc/commit/?id=b9222e5cb1d8d1d3217f65c6a91886b897956dde'/>
<id>urn:sha1:b9222e5cb1d8d1d3217f65c6a91886b897956dde</id>
<content type='text'>
The functions convert their argument into a list of Block and Inline
values, respectively.
</content>
</entry>
<entry>
<title>Lua: use package pandoc-lua-marshal (#7719)</title>
<updated>2021-11-28T01:08:01Z</updated>
<author>
<name>Albert Krewinkel</name>
<email>albert@zeitkraut.de</email>
</author>
<published>2021-11-28T01:08:01Z</published>
<link rel='alternate' type='text/html' href='https://git.pashev.ru/pandoc/commit/?id=3692a1d1e83703fbf235214f2838cd92683c625c'/>
<id>urn:sha1:3692a1d1e83703fbf235214f2838cd92683c625c</id>
<content type='text'>
The marshaling functions for pandoc's AST are extracted into a separate
package. The package comes with a number of changes:

  - Pandoc's List module was rewritten in C, thereby improving error
    messages.

  - Lists of `Block` and `Inline` elements are marshaled using the new
    list types `Blocks` and `Inlines`, respectively. These types
    currently behave identical to the generic List type, but give better
    error messages. This also opens up the possibility of adding
    element-specific methods to these lists in the future.

  - Elements of type `MetaValue` are no longer pushed as values which
    have `.t` and `.tag` properties. This was already true for
    `MetaString` and `MetaBool` values, which are still marshaled as Lua
    strings and booleans, respectively. Affected values:

      + `MetaBlocks` values are marshaled as a `Blocks` list;

      + `MetaInlines` values are marshaled as a `Inlines` list;

      + `MetaList` values are marshaled as a generic pandoc `List`s.

      + `MetaMap` values are marshaled as plain tables and no longer
        given any metatable.

  - The test suite for marshaled objects and their constructors has
    been extended and improved.

  - A bug in Citation objects, where setting a citation's suffix
    modified it's prefix, has been fixed.</content>
</entry>
</feed>
