Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
vanilla-extracts committed Mar 16, 2022
1 parent 0b289a7 commit 79bcdab
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
10 changes: 1 addition & 9 deletions test/htmlfromtexbooks.ml
Original file line number Diff line number Diff line change
@@ -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 "";;

0 comments on commit 79bcdab

Please sign in to comment.