For strings such as On some stuff & other things, we currently have to format our bibtex files as follows for use with SILE:
@book{key,
title = {On some stuff & other things},
...
If we don't XML-escape the &, we get an error...
This is dues to SILE supporting XML entries in bibliography, which is non-standard... albeit interesting, e.g. if one wants to markup parts of entries in SIL XML. (The true use case however is not the user inserting markup, it's for the internal logic of rendering titles in italic, etc.)
It's not completely obvious, as:
- Bib(La)TeX would actually require
{On some stuff \& other things} (and the big picture here is that it allows any (La)TeX constructs in field values, but also suffers from its own rules, hence the ampersand escaping I guess...)
- Most bibtex processors in other tools (citeproc, zotero, web-based solutions, etc.) are just happy with no escaping at all in
{On some stuff & other things}
Having to manually edit bibliographies to replace & by & is cumbersome, we'd need to avoid it, or at least have some way to bypass it. (I'd also be interested in supporting Djot/Markdown in bibTeX files, but that's another hornet's nest :p )
For strings such as On some stuff & other things, we currently have to format our bibtex files as follows for use with SILE:
If we don't XML-escape the
&, we get an error...This is dues to SILE supporting XML entries in bibliography, which is non-standard... albeit interesting, e.g. if one wants to markup parts of entries in SIL XML. (The true use case however is not the user inserting markup, it's for the internal logic of rendering titles in italic, etc.)
It's not completely obvious, as:
{On some stuff \& other things}(and the big picture here is that it allows any (La)TeX constructs in field values, but also suffers from its own rules, hence the ampersand escaping I guess...){On some stuff & other things}Having to manually edit bibliographies to replace
&by&is cumbersome, we'd need to avoid it, or at least have some way to bypass it. (I'd also be interested in supporting Djot/Markdown in bibTeX files, but that's another hornet's nest :p )