From e08bd090f4afe8faba62e3f0ceff40e6d90672f6 Mon Sep 17 00:00:00 2001 From: Andrey Miroshnikov Date: Thu, 30 Jun 2022 16:51:01 +0100 Subject: [PATCH] Fixed some of the links, but getting there --- openpower/Makefile | 15 +++++++++++++++ openpower/pandoc_img.py | 3 +++ openpower/simple_v_spec.tex | 4 ++-- 3 files changed, 20 insertions(+), 2 deletions(-) diff --git a/openpower/Makefile b/openpower/Makefile index 096fb158b..ceabbfd8f 100755 --- a/openpower/Makefile +++ b/openpower/Makefile @@ -12,34 +12,49 @@ tex: --filter pandoc_img.py \ -N -o tex_out/svp64.tex sv/svp64.mdwn pandoc -f markdown -t latex --top-level-division=section \ + --filter pandoc_img.py \ -N -o tex_out/svp64_appendix.tex sv/svp64/appendix.mdwn pandoc -f markdown -t latex --top-level-division=section \ + --filter pandoc_img.py \ -N -o tex_out/compliancy_levels.tex sv/compliancy_levels.mdwn pandoc -f markdown -t latex --top-level-division=section \ + --filter pandoc_img.py \ -N -o tex_out/svp64_quirks.tex sv/svp64_quirks.mdwn pandoc -f markdown -t latex --top-level-division=section \ + --filter pandoc_img.py \ -N -o tex_out/sprs.tex sv/sprs.mdwn pandoc -f markdown -t latex --top-level-division=section \ + --filter pandoc_img.py \ -N -o tex_out/opcode_regs_deduped.tex opcode_regs_deduped.mdwn pandoc -f markdown -t latex --top-level-division=section \ + --filter pandoc_img.py \ -N -o tex_out/normal.tex sv/normal.mdwn pandoc -f markdown -t latex --top-level-division=section \ + --filter pandoc_img.py \ -N -o tex_out/ldst.tex sv/ldst.mdwn pandoc -f markdown -t latex --top-level-division=section \ + --filter pandoc_img.py \ -N -o tex_out/branches.tex sv/branches.mdwn pandoc -f markdown -t latex --top-level-division=section \ + --filter pandoc_img.py \ -N -o tex_out/cr_ops.tex sv/cr_ops.mdwn pandoc -f markdown -t latex --top-level-division=section \ + --filter pandoc_img.py \ -N -o tex_out/setvl.tex sv/setvl.mdwn pandoc -f markdown -t latex --top-level-division=section \ + --filter pandoc_img.py \ -N -o tex_out/svstep.tex sv/svstep.mdwn pandoc -f markdown -t latex --top-level-division=section \ + --filter pandoc_img.py \ -N -o tex_out/remap.tex sv/remap.mdwn pandoc -f markdown -t latex --top-level-division=section \ + --filter pandoc_img.py \ -N -o tex_out/mv_swizzle.tex sv/mv.swizzle.mdwn pandoc -f markdown -t latex --top-level-division=section \ + --filter pandoc_img.py \ -N -o tex_out/mv_vec.tex sv/mv.vec.mdwn pandoc -f markdown -t latex --top-level-division=section \ + --filter pandoc_img.py \ -N -o tex_out/pseudocode_simplev.tex \ ../../openpower-isa/openpower/isa/simplev.mdwn diff --git a/openpower/pandoc_img.py b/openpower/pandoc_img.py index 23de6a271..95c7380dd 100755 --- a/openpower/pandoc_img.py +++ b/openpower/pandoc_img.py @@ -55,8 +55,11 @@ def inlinenotes(k, v, f, meta): [ref, '']) out.write(" link %s\n" % link) lookups = {'sv/overview': 'Overview Chapter', + 'sv/compliancy_levels': 'Compliancy Levels', 'sv/svp64': 'SVP64 Chapter', + 'sv/sprs': 'SPRs', 'svp64/appendix': 'SVP64 Appendix', + 'sv/svp64_quirks': 'SVP64 Quirks', } if link in lookups: out.write(" found %s\n" % lookups[link]) diff --git a/openpower/simple_v_spec.tex b/openpower/simple_v_spec.tex index 1c7d3aa58..548d8d20b 100644 --- a/openpower/simple_v_spec.tex +++ b/openpower/simple_v_spec.tex @@ -97,7 +97,7 @@ EU Grants 871528 and 957073. \input{tex_out/sv.tex} \chapter{Overview}\hypertarget{svux2foverview}{Overview} \input{tex_out/overview.tex} -\chapter{Compliancy Levels}\hypertarget{svux2fcomplevels}{Compliancy Levels} +\chapter{Compliancy Levels}\hypertarget{svux2fcompliancy_levels}{Compliancy Levels} \input{tex_out/compliancy_levels.tex} \chapter{SVP64}\hypertarget{svux2fsvp64}{SVP64} \input{tex_out/svp64.tex} @@ -125,7 +125,7 @@ EU Grants 871528 and 957073. \begin{appendices} \chapter{SVP64 Appendix}\hypertarget{svp64ux2fappendix}{SVP64 Appendix} \input{tex_out/svp64_appendix.tex} -\chapter{SVP64 Quirks}\hypertarget{svux2fquirks}{SVP64 Quirks} +\chapter{SVP64 Quirks}\hypertarget{svux2fsvp64_quirks}{SVP64 Quirks} \input{tex_out/svp64_quirks.tex} \chapter{Simple-V pseudocode}\hypertarget{svux2fsvpseudocode}{Simple-V pseudocode} \input{tex_out/pseudocode_simplev.tex} -- 2.30.2