1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
open Forester_core
open Types
type latex_to_svg_job = {
hash: string;
source: string;
}
[@@deriving show]
let uri_for_latex_to_svg_job ~(base : URI.t) (job : latex_to_svg_job) =
URI_scheme.named_uri ~base @@ job.hash ^ ".svg"
type job =
| LaTeX_to_svg of latex_to_svg_job
| Syndicate of content syndication
[@@deriving show]