Commit Graph
18 Commits
Author SHA1 Message Date
owenrees 786bad8956 feat: add optional pgn_to_tex_js entry point 2026-10-23 16:38:24 +02:00
owenrees 135491e915 cover real-world headers, NAGs, and fixtures 2026-10-23 16:38:24 +02:00
owenrees 9cd7878ad8 accept path-only diagram entries 2026-10-23 16:38:24 +02:00
owenrees 548f98f303 feat: add public Pgn_to_tex entry point
Move parsing and rendering internals into the private
pgn_to_tex_internal library and rename pgn2tex to converter. Expose only
Pgn_to_tex with default to_tex arguments, abstract diagram_data,
empty_diagrams, and parse_diagrams_json. Update tests, JS bridge, and
README to the new names.
2026-10-23 16:38:24 +02:00
owenrees 8df30f1746 run each OUnit suite only from test_suite 2026-10-23 16:38:24 +02:00
owenrees 79eda1beab add directive to skip or accept failures in ocaml versions < 5.1.0 2026-10-18 21:05:11 +02:00
owenrees c500b1625d update readme to account for variations 2026-10-18 20:26:00 +02:00
owenrees fe9eb8ba45 Feature/variations (#5)
* support diagrams in variations.

* Diagram data now carries an optional `path` (the SAN move sequence from the root) alongside the legacy `ply`; diagrams whose `path` resolves inside a variation are rendered inline within the variation. `parse_diagrams_json` returns a `diagram_data` record with `by_ply` and `by_path` maps.

* make variation boards slightly smaller than the mainline boards

* update changelog v0.0.2
2026-10-18 20:06:43 +02:00
owenrees 5831ddfb5e update release info and docs link 2026-06-29 21:26:20 +02:00
owenrees 5f0521430d update release info and docs link 2026-06-29 21:23:34 +02:00
owenrees a58a6504b4 V0.0.1 (#4)
* update documentation link

* remove superfluous tests

* add game example with subtitle custom header

* remove commented out code

* fix subtitle by making it a new line of smaller text within the title

* update changelog with v0.0.1
2026-06-29 21:18:10 +02:00
owenrees b4816553c7 update rc.2 version in meta data 2026-05-28 22:31:49 +02:00
owenrees b6534537ff initial readme instructions 2026-05-28 22:23:34 +02:00
owenrees 47ab11f1c1 add license and update changelog v.0.0.1-rc.1 2026-05-28 22:07:01 +02:00
owenrees 9a2b7dbb86 convert json string to movemap 2026-05-28 16:28:56 +02:00
owenrees 6f74db087e adjust tests and add test for comparing movemap of marshalled json 2026-05-28 16:28:43 +02:00
owenrees 79155255f6 Transfer code (#1)
* copy project root files

* import previously created code and rename where needed

* fix license and lint

* main is now just a JS wrapper

* minified main.cjs rather than copying to a newly named file
2026-05-28 12:35:03 +02:00
owenrees 1561720e5f initial commit 2026-05-28 09:16:15 +02:00