From 79bcdabb874b9e0495e9941cfb46c8b63d2061ef Mon Sep 17 00:00:00 2001 From: Charlotte Thomas Date: Wed, 16 Mar 2022 19:56:55 +0100 Subject: [PATCH] update readme --- README.md | 10 +++++++++- test/htmlfromtexbooks.ml | 10 +--------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index c6edccf..b1c9a45 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,15 @@ The project currently translate *LaTeX* to human-readable HTML files (the line b If you have an idea post an ISSUE, any contribution is welcomed :) Let make no one ever forgets the name ~~Enter..~~ OCAML :)! -## Installing +## Installing +Be sure to have dune installed and OCaml version >=4.08 +```bash +ocaml --version #must be >= 4.08 +``` +```bash +opam install dune +``` +and ```bash git clone git@github.com:coco33920/HTMLFromTeXBooks.git dune build @install diff --git a/test/htmlfromtexbooks.ml b/test/htmlfromtexbooks.ml index cf449b1..c1fa086 100644 --- a/test/htmlfromtexbooks.ml +++ b/test/htmlfromtexbooks.ml @@ -1,9 +1 @@ -open Htmlfromtexbooks.Lib -let s = read_file "/home/charlotte/Documents/dev/htmlfromtexbooks/agh.tex";; -let l = parse_book s;; - - - -let _ = total_glossaries "glossary.tex";; -let chapters = List.mapi (fun i a -> transform_chapter (extract_chapter a i)) l;; -let _ = List.iteri (fun i a -> write_core_chapter_to_file a ("test"^(string_of_int i)^".html" )) chapters;; +let _ = print_endline "";; \ No newline at end of file