<feed xmlns='http://www.w3.org/2005/Atom'>
<title>pandoc/src/Text/Pandoc/Lua/Marshal, 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-20T08:41:03Z</updated>
<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: add function `pandoc.utils.references`</title>
<updated>2021-12-17T22:45:27Z</updated>
<author>
<name>Albert Krewinkel</name>
<email>albert@zeitkraut.de</email>
</author>
<published>2021-12-17T16:32:28Z</published>
<link rel='alternate' type='text/html' href='https://git.pashev.ru/pandoc/commit/?id=7a70b87facffe5f2daaaa58af9fadad89b81a9e9'/>
<id>urn:sha1:7a70b87facffe5f2daaaa58af9fadad89b81a9e9</id>
<content type='text'>
List with all cited references of a document.

Closes: #7752
</content>
</entry>
<entry>
<title>Custom reader: pass list of sources instead of concatenated text</title>
<updated>2021-12-11T16:59:11Z</updated>
<author>
<name>Albert Krewinkel</name>
<email>albert@zeitkraut.de</email>
</author>
<published>2021-12-08T18:06:48Z</published>
<link rel='alternate' type='text/html' href='https://git.pashev.ru/pandoc/commit/?id=83b5b79c0e4f073198b5af11b9e8a0a4471fcd41'/>
<id>urn:sha1:83b5b79c0e4f073198b5af11b9e8a0a4471fcd41</id>
<content type='text'>
The first argument passed to Lua `Reader` functions is no longer a plain
string but a richer data structure. The structure can easily be
converted to a string by applying `tostring`, but is also a list with
elements that contain each the *text* and *name* of each input source as
a property of the respective name.

A small example is added to the custom reader documentation, showcasing
its use in a reader that creates a syntax-highlighted code block for
each source code file passed as input.

Existing readers must be updated.
</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>
