=12 Extensions=
As TEX and Lua are both open and accessible in ConTEXt it is possible to extend the functionality of the bibliography related code. For instance, you can add extra loaders.
<pre detail='typing'>
function publications.loaders.myformat(dataset,filename)
local t = { }
end
</pre>
<br/>
This then permits loading a database (into a dataset) with the command:
<pre detail='typing'>
\usebtxdataset[standard][myfile.myformat]
</pre>
<br/>
The <tt>myformat</tt> suffix is recognized automatically. If you want to use another suffix, you can do this:
<pre detail='typing'>
\usebtxdataset[standard][myformat::myfile.txt]
</pre>