Closed RieksJ closed 7 months ago
Interesting, I didn't know log
was an option within Handlebars. The TRRT currently doesn't perform a replacement step if the replacement string is empty, in the case of the current error converter it is empty because the use of {{showtext}}
instead of {{ref.showtext}}
.
Yes, it is. In the (new) TEv2-page on handlebar helper functions, I have included the list of helpers that are available by default (which refer to their documentation). Knowing about them - particularly #each
- was instrumental for imlementing the feature for having definitions be associated with notes, which many glossaries have (and which TEv2 now also does).
Ok for your explanation. Can you make the TRRT (and HRGT) replace the TermRef/MRGRef (in case of an error) with the output of the err.converter
if that is not the empty string?
is this issue related to #45 ?
I have specified the following TRRT configuration:
I would expect that this configuration would have the following effect for any TermRef for which it could not find a corresponding MRG-entry:
The idea of the
converter[error]
is that the TermRef will actually be replaced by what it says.