diff options
author | Jonas Smedegaard <dr@jones.dk> | 2024-06-22 09:26:06 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2024-06-22 09:26:06 +0200 |
commit | e0e223c56e201119d9ccf23a76817f1107dcad9d (patch) | |
tree | b1e547018883fc02a69dafa9cdaaac9965291123 | |
parent | c1f85c98478a19b196b38a9185e63554449b2e38 (diff) |
work around SDML rendering syntactically wrong datatype
-rw-r--r-- | Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -184,6 +184,9 @@ $(ARTICLES:%=%/b.tex): %/b.tex: %.ttl: %.sdm sdml --no-color convert -i $< -f rdf -o $@ +# TODO: drop workaround when SDML renders syntactically correct datatype +# <https://github.com/sdm-lang/rust-sdml/issues/9> + perl -pi -e 's/\\"([^\\"]*)\\"(?="\^\^xsd:date\b)/$$1/g;' $@ %/core.puml: %/core.ttl %/prefixes.ttl rdfpuml $< |