From ea89c86cd596a9795cafb39714d00a670aab7da5 Mon Sep 17 00:00:00 2001 From: Nick Nicholas Date: Tue, 21 Apr 2020 20:50:05 +1000 Subject: [PATCH] static ToC, correct header processing; https://github.com/metanorma/isodoc/issues/113; https://github.com/metanorma/metanorma-iec/issues/32 --- lib/asciidoctor/vsd/isodoc.rng | 29 ++++++++++++++++++++++++++++- lib/isodoc/vsd/html/scripts.html | 24 ++++-------------------- spec/metanorma/processor_spec.rb | 2 +- 3 files changed, 33 insertions(+), 22 deletions(-) diff --git a/lib/asciidoctor/vsd/isodoc.rng b/lib/asciidoctor/vsd/isodoc.rng index 8901a2f..06564c3 100644 --- a/lib/asciidoctor/vsd/isodoc.rng +++ b/lib/asciidoctor/vsd/isodoc.rng @@ -303,8 +303,23 @@ + + + + + + + + + + + + + + + @@ -911,7 +926,10 @@ - + + + + @@ -919,6 +937,15 @@ + + + + + + + + + diff --git a/lib/isodoc/vsd/html/scripts.html b/lib/isodoc/vsd/html/scripts.html index 5719568..e393fe4 100644 --- a/lib/isodoc/vsd/html/scripts.html +++ b/lib/isodoc/vsd/html/scripts.html @@ -1,24 +1,8 @@