For a given bafr script (replacing bibliography ids) we have a long series of:
[[ replace ]]
from = "@Bakke:2011:SUI:1978942.1979313"
to = "@Bakke2011AData"
[[ replace ]]
from = "@chang2016using"
to = "@Chang2016UsingSpreadsheets"
# ...
What if we supported a shorthand syntax for these kinds of replacements which don’t need any config and just have a from and a to? E.g. something like:
The problem is that with that, these cannot take part in the flow of other replacements due to how TOML is converted to JSON (they’d be a separate array).
The [from, to] shorthand syntax has been implemented, and it’s pretty compact, so I don’t think the additional complexity and limitations of this is worth it.
For a given bafr script (replacing bibliography ids) we have a long series of:
What if we supported a shorthand syntax for these kinds of replacements which don’t need any config and just have a from and a to? E.g. something like:
The problem is that with that, these cannot take part in the flow of other replacements due to how TOML is converted to JSON (they’d be a separate array).
Alternatively it could be a replacement flag:
When that flag is on, any unknown key would be considered a replacement.
Or an array:
Worth it or not?