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
In the exts dictionary, "ml" is mapped to "ML". So I think the syntax highlighting wouldn't work quite well for OCaml... And I have found OCaml.ml in the hello_world folder, maybe you meant OCaml in the first place? I'm not sure when loading "ML" in the syntax package what LaTeX would actually give you, but it seems to fail in my case where I tried to convert an OCaml script into a tex file.
Thanks!
The text was updated successfully, but these errors were encountered:
The listings package doesn't list OCaml in its table of predefined languages, only ML. The inclusion of Ocaml.ml as an example file was likely a mistake on my part.
What do you mean by "fail" here? I can't make it highlight OCaml without changing to an entirely different package*, but I'd like to fix any major bugs or crashes, if that's what "fail" means. If it just means that the highlighting was worthless, then I'll remove the OCaml example.
* From this StackOverflow question, it looks like either minted or using Pygments directly would be more comprehensive. I'd welcome any pull requests adding an option to use one of those. 😀
In the exts dictionary, "ml" is mapped to "ML". So I think the syntax highlighting wouldn't work quite well for OCaml... And I have found OCaml.ml in the hello_world folder, maybe you meant OCaml in the first place? I'm not sure when loading "ML" in the syntax package what LaTeX would actually give you, but it seems to fail in my case where I tried to convert an OCaml script into a tex file.
Thanks!
The text was updated successfully, but these errors were encountered: