You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
... because it makes the XSLT and the liblouis tables very tied on each other, and hard to understand.
The main purpose of the magic characters (U+256C, U+250B, U+250A, etc.) is to convey the necessary "context information" to the liblouis table, context that would otherwise be lost because text nodes are processed one by one.
A better, more intuitive approach would be to just send the real context to liblouis. This is possible with the latest version of liblouis-core. The following xpath expression translates $text with some context before and after:
... because it makes the XSLT and the liblouis tables very tied on each other, and hard to understand.
The main purpose of the magic characters (U+256C, U+250B, U+250A, etc.) is to convey the necessary "context information" to the liblouis table, context that would otherwise be lost because text nodes are processed one by one.
A better, more intuitive approach would be to just send the real context to liblouis. This is possible with the latest version of liblouis-core. The following xpath expression translates
$text
with some context before and after:The text was updated successfully, but these errors were encountered: