Skip to content

Commit

Permalink
Merge pull request #410 from hakonhagland/kw_convert_script
Browse files Browse the repository at this point in the history
Script to insert keyword links
  • Loading branch information
lisajulia authored Nov 15, 2024
2 parents 76485bf + dcc6a6a commit bbf01d4
Show file tree
Hide file tree
Showing 4 changed files with 631 additions and 111 deletions.
226 changes: 223 additions & 3 deletions parts/meta/kw_uri_map.txt
Original file line number Diff line number Diff line change
Expand Up @@ -201,8 +201,20 @@ ENDNUM __RefHeading___Toc123125_83452205
ENDSCALE __RefHeading___Toc68146_2267116897
ENDSKIP __RefHeading___Toc605472_3199477706
ENKRVD __RefHeading___Toc69787_621662414
ENKRVDX __RefHeading___Toc69787_621662414
ENKRVDX- __RefHeading___Toc69787_621662414
ENKRVDY __RefHeading___Toc69787_621662414
ENKRVDY- __RefHeading___Toc69787_621662414
ENKRVDZ __RefHeading___Toc69787_621662414
ENKRVDZ- __RefHeading___Toc69787_621662414
ENPCVD __RefHeading___Toc217353_803326780
ENPTVD __RefHeading___Toc69789_621662414
ENPTVDX __RefHeading___Toc69789_621662414
ENPTVDX- __RefHeading___Toc69789_621662414
ENPTVDY __RefHeading___Toc69789_621662414
ENPTVDY- __RefHeading___Toc69789_621662414
ENPTVDZ __RefHeading___Toc69789_621662414
ENPTVDZ- __RefHeading___Toc69789_621662414
ENSPCVD __RefHeading___Toc227745_803326780
EOS REF_HEADING_KEYWORD_EOS_8_3
EOSNUM REF_HEADING_KEYWORD_EOSNUM_9_3
Expand Down Expand Up @@ -397,19 +409,79 @@ HZFIN __RefHeading___Toc227697_2135714711
IHOST __RefHeading___Toc512366_2135714711
IKRG __RefHeading___Toc506847_2135714711
IKRGR __RefHeading___Toc70187_3358172231
IKRGRX __RefHeading___Toc70187_3358172231
IKRGRX- __RefHeading___Toc70187_3358172231
IKRGRY __RefHeading___Toc70187_3358172231
IKRGRY- __RefHeading___Toc70187_3358172231
IKRGRZ __RefHeading___Toc70187_3358172231
IKRGRZ- __RefHeading___Toc70187_3358172231
IKRGX __RefHeading___Toc506847_2135714711
IKRGX- __RefHeading___Toc506847_2135714711
IKRGY __RefHeading___Toc506847_2135714711
IKRGY- __RefHeading___Toc506847_2135714711
IKRGZ __RefHeading___Toc506847_2135714711
IKRGZ- __RefHeading___Toc506847_2135714711
IKRO __RefHeading___Toc97395_6216624141
IKRORG __RefHeading___Toc70189_3358172231
IKRORGX __RefHeading___Toc70189_3358172231
IKRORGX- __RefHeading___Toc70189_3358172231
IKRORGY __RefHeading___Toc70189_3358172231
IKRORGY- __RefHeading___Toc70189_3358172231
IKRORGZ __RefHeading___Toc70189_3358172231
IKRORGZ- __RefHeading___Toc70189_3358172231
IKRORW __RefHeading___Toc70191_3358172231
IKRORWX __RefHeading___Toc70191_3358172231
IKRORWX- __RefHeading___Toc70191_3358172231
IKRORWY __RefHeading___Toc70191_3358172231
IKRORWY- __RefHeading___Toc70191_3358172231
IKRORWZ __RefHeading___Toc70191_3358172231
IKRORWZ- __RefHeading___Toc70191_3358172231
IKROX __RefHeading___Toc97395_6216624141
IKROX- __RefHeading___Toc97395_6216624141
IKROY __RefHeading___Toc97395_6216624141
IKROY- __RefHeading___Toc97395_6216624141
IKROZ __RefHeading___Toc97395_6216624141
IKROZ- __RefHeading___Toc97395_6216624141
IKRW __RefHeading___Toc97397_6216624141
IKRWR __RefHeading___Toc70193_3358172231
IKRWRX __RefHeading___Toc70193_3358172231
IKRWRX- __RefHeading___Toc70193_3358172231
IKRWRY __RefHeading___Toc70193_3358172231
IKRWRY- __RefHeading___Toc70193_3358172231
IKRWRZ __RefHeading___Toc70193_3358172231
IKRWRZ- __RefHeading___Toc70193_3358172231
IKRWX __RefHeading___Toc97397_6216624141
IKRWX- __RefHeading___Toc97397_6216624141
IKRWY __RefHeading___Toc97397_6216624141
IKRWY- __RefHeading___Toc97397_6216624141
IKRWZ __RefHeading___Toc97397_6216624141
IKRWZ- __RefHeading___Toc97397_6216624141
IMBNUM __RefHeading___Toc129665_83452205
IMBNUMMF __RefHeading___Toc523278_2135714711
IMBNUMX __RefHeading___Toc129665_83452205
IMBNUMX- __RefHeading___Toc129665_83452205
IMBNUMY __RefHeading___Toc129665_83452205
IMBNUMY- __RefHeading___Toc129665_83452205
IMBNUMZ __RefHeading___Toc129665_83452205
IMBNUMZ- __RefHeading___Toc129665_83452205
IMKRVD __RefHeading___Toc106393_3115110868
IMKRVDX __RefHeading___Toc106393_3115110868
IMKRVDX- __RefHeading___Toc106393_3115110868
IMKRVDY __RefHeading___Toc106393_3115110868
IMKRVDY- __RefHeading___Toc106393_3115110868
IMKRVDZ __RefHeading___Toc106393_3115110868
IMKRVDZ- __RefHeading___Toc106393_3115110868
IMPCVD __RefHeading___Toc528742_2135714711
IMPES __RefHeading___Toc53039_4106839650
IMPLICIT __RefHeading___Toc534216_2135714711
IMPORT __RefHeading___Toc561662_2135714711
IMPTVD __RefHeading___Toc70967_621662414
IMPTVDX __RefHeading___Toc70967_621662414
IMPTVDX- __RefHeading___Toc70967_621662414
IMPTVDY __RefHeading___Toc70967_621662414
IMPTVDY- __RefHeading___Toc70967_621662414
IMPTVDZ __RefHeading___Toc70967_621662414
IMPTVDZ- __RefHeading___Toc70967_621662414
IMSPCVD __RefHeading___Toc545192_2135714711
INCLUDE __RefHeading___Toc605478_3199477706
INIT __RefHeading___Toc45789_719036256
Expand All @@ -422,27 +494,127 @@ IONXSURF __RefHeading___Toc229181_2369005893
IPCG __RefHeading___Toc77038_621662414
IPCW __RefHeading___Toc84166_621662414
ISGCR __RefHeading___Toc64693_2379415017
ISGCRX __RefHeading___Toc64693_2379415017
ISGCRX- __RefHeading___Toc64693_2379415017
ISGCRY __RefHeading___Toc64693_2379415017
ISGCRY- __RefHeading___Toc64693_2379415017
ISGCRZ __RefHeading___Toc64693_2379415017
ISGCRZ- __RefHeading___Toc64693_2379415017
ISGL __RefHeading___Toc22881_7842323222
ISGLPC __RefHeading___Toc170134_1371377330
ISGLX __RefHeading___Toc22881_7842323222
ISGLX- __RefHeading___Toc22881_7842323222
ISGLY __RefHeading___Toc22881_7842323222
ISGLY- __RefHeading___Toc22881_7842323222
ISGLZ __RefHeading___Toc22881_7842323222
ISGLZ- __RefHeading___Toc22881_7842323222
ISGU __RefHeading___Toc22883_7842323222
ISGUX __RefHeading___Toc22883_7842323222
ISGUX- __RefHeading___Toc22883_7842323222
ISGUY __RefHeading___Toc22883_7842323222
ISGUY- __RefHeading___Toc22883_7842323222
ISGUZ __RefHeading___Toc22883_7842323222
ISGUZ- __RefHeading___Toc22883_7842323222
ISOGCR __RefHeading___Toc30434_7842323221
ISOGCRX __RefHeading___Toc30434_7842323221
ISOGCRX- __RefHeading___Toc30434_7842323221
ISOGCRY __RefHeading___Toc30434_7842323221
ISOGCRY- __RefHeading___Toc30434_7842323221
ISOGCRZ __RefHeading___Toc30434_7842323221
ISOGCRZ- __RefHeading___Toc30434_7842323221
ISOLNUM __RefHeading___Toc69656_3218818441
ISOWCR __RefHeading___Toc30436_7842323221
ISOWCRX __RefHeading___Toc30436_7842323221
ISOWCRX- __RefHeading___Toc30436_7842323221
ISOWCRY __RefHeading___Toc30436_7842323221
ISOWCRY- __RefHeading___Toc30436_7842323221
ISOWCRZ __RefHeading___Toc30436_7842323221
ISOWCRZ- __RefHeading___Toc30436_7842323221
ISWCR __RefHeading___Toc27248_7842323221
ISWCRX __RefHeading___Toc27248_7842323221
ISWCRX- __RefHeading___Toc27248_7842323221
ISWCRY __RefHeading___Toc27248_7842323221
ISWCRY- __RefHeading___Toc27248_7842323221
ISWCRZ __RefHeading___Toc27248_7842323221
ISWCRZ- __RefHeading___Toc27248_7842323221
ISWL __RefHeading___Toc22881_78423232211
ISWLPC __RefHeading___Toc176392_1371377330
ISWLX __RefHeading___Toc22881_78423232211
ISWLX- __RefHeading___Toc22881_78423232211
ISWLY __RefHeading___Toc22881_78423232211
ISWLY- __RefHeading___Toc22881_78423232211
ISWLZ __RefHeading___Toc22881_78423232211
ISWLZ- __RefHeading___Toc22881_78423232211
ISWU __RefHeading___Toc22883_78423232211
ISWUX __RefHeading___Toc22883_78423232211
ISWUX- __RefHeading___Toc22883_78423232211
ISWUY __RefHeading___Toc22883_78423232211
ISWUY- __RefHeading___Toc22883_78423232211
ISWUZ __RefHeading___Toc22883_78423232211
ISWUZ- __RefHeading___Toc22883_78423232211
JFUNC __RefHeading___Toc86297_3218818441
JFUNCR __RefHeading___Toc257142_2369005893
KRG __RefHeading___Toc97393_621662414
KRGR __RefHeading___Toc70187_335817223
KRGRX __RefHeading___Toc70187_335817223
KRGRX- __RefHeading___Toc70187_335817223
KRGRY __RefHeading___Toc70187_335817223
KRGRY- __RefHeading___Toc70187_335817223
KRGRZ __RefHeading___Toc70187_335817223
KRGRZ- __RefHeading___Toc70187_335817223
KRGX __RefHeading___Toc97393_621662414
KRGX- __RefHeading___Toc97393_621662414
KRGY __RefHeading___Toc97393_621662414
KRGY- __RefHeading___Toc97393_621662414
KRGZ __RefHeading___Toc97393_621662414
KRGZ- __RefHeading___Toc97393_621662414
KRNUM __RefHeading___Toc273792_2369005893
KRNUMMF __RefHeading___Toc279351_2369005893
KRNUMR __RefHeading___Toc273792_2369005893
KRNUMR- __RefHeading___Toc273792_2369005893
KRNUMT __RefHeading___Toc273792_2369005893
KRNUMT- __RefHeading___Toc273792_2369005893
KRNUMX __RefHeading___Toc273792_2369005893
KRNUMX- __RefHeading___Toc273792_2369005893
KRNUMY __RefHeading___Toc273792_2369005893
KRNUMY- __RefHeading___Toc273792_2369005893
KRNUMZ __RefHeading___Toc273792_2369005893
KRNUMZ- __RefHeading___Toc273792_2369005893
KRO __RefHeading___Toc97395_621662414
KRORG __RefHeading___Toc70189_335817223
KRORGX __RefHeading___Toc70189_335817223
KRORGX- __RefHeading___Toc70189_335817223
KRORGY __RefHeading___Toc70189_335817223
KRORGY- __RefHeading___Toc70189_335817223
KRORGZ __RefHeading___Toc70189_335817223
KRORGZ- __RefHeading___Toc70189_335817223
KRORW __RefHeading___Toc70191_335817223
KRORWX __RefHeading___Toc70191_335817223
KRORWX- __RefHeading___Toc70191_335817223
KRORWY __RefHeading___Toc70191_335817223
KRORWY- __RefHeading___Toc70191_335817223
KRORWZ __RefHeading___Toc70191_335817223
KRORWZ- __RefHeading___Toc70191_335817223
KROX __RefHeading___Toc97395_621662414
KROX- __RefHeading___Toc97395_621662414
KROY __RefHeading___Toc97395_621662414
KROY- __RefHeading___Toc97395_621662414
KROZ __RefHeading___Toc97395_621662414
KROZ- __RefHeading___Toc97395_621662414
KRW __RefHeading___Toc97397_621662414
KRWR __RefHeading___Toc70193_335817223
KRWRX __RefHeading___Toc70193_335817223
KRWRX- __RefHeading___Toc70193_335817223
KRWRY __RefHeading___Toc70193_335817223
KRWRY- __RefHeading___Toc70193_335817223
KRWRZ __RefHeading___Toc70193_335817223
KRWRZ- __RefHeading___Toc70193_335817223
KRWX __RefHeading___Toc97397_621662414
KRWX- __RefHeading___Toc97397_621662414
KRWY __RefHeading___Toc97397_621662414
KRWY- __RefHeading___Toc97397_621662414
KRWZ __RefHeading___Toc97397_621662414
KRWZ- __RefHeading___Toc97397_621662414
LAB __RefHeading___Toc72458_2267116897
LANGMPL __RefHeading___Toc208762_2843394514
LANGMUIR __RefHeading___Toc214338_2843394514
Expand Down Expand Up @@ -528,7 +700,7 @@ MSFN __RefHeading___Toc109745_335817223
MSGFILE __RefHeading___Toc66023_4106839650
MULSGGD __RefHeading___Toc598412_3181922006
MULSGGDV __RefHeading___Toc598414_3181922006
MULT __RefHeading___Toc195177_1371377330
MULTIN __RefHeading___Toc195177_1371377330
MULTFLT __RefHeading___Toc99835_2023071304
MULTIPLY __RefHeading___Toc99909_2023071304
MULTIREG __RefHeading___Toc99911_2023071304
Expand Down Expand Up @@ -694,7 +866,7 @@ PVCO __RefHeading___Toc325700_501926209
PVDG __RefHeading___Toc104056_57619843
PVDO __RefHeading___Toc45803_719036256
PVDS __RefHeading___Toc104058_57619843
PVSOL __RefHeading___Toc414279_1093985484
PVTSOL __RefHeading___Toc414279_1093985484
PVTG __RefHeading___Toc104060_57619843
PVTGW __RefHeading___Toc355649_3149455253
PVTGWO __RefHeading___Toc356776_4176551521
Expand Down Expand Up @@ -810,14 +982,32 @@ SEPVALS __RefHeading___Toc663272_516898843
SFOAM __RefHeading___Toc669649_516898843
SGAS __RefHeading___Toc137369_1317547213
SGCR __RefHeading___Toc20428_784232322
SGCRX __RefHeading___Toc20428_784232322
SGCRX- __RefHeading___Toc20428_784232322
SGCRY __RefHeading___Toc20428_784232322
SGCRY- __RefHeading___Toc20428_784232322
SGCRZ __RefHeading___Toc20428_784232322
SGCRZ- __RefHeading___Toc20428_784232322
SGCWMIS __RefHeading___Toc121473_83452205
SGF32D __RefHeading___Toc676035_516898843
SGFN __RefHeading___Toc106868_335817223
SGL __RefHeading___Toc22881_784232322
SGLPC __RefHeading___Toc170136_1371377330
SGLX __RefHeading___Toc22881_784232322
SGLX- __RefHeading___Toc22881_784232322
SGLY __RefHeading___Toc22881_784232322
SGLY- __RefHeading___Toc22881_784232322
SGLZ __RefHeading___Toc22881_784232322
SGLZ- __RefHeading___Toc22881_784232322
SGOF __RefHeading___Toc106870_335817223
SGOFLET __RefHeading___Toc398952_3017686537
SGU __RefHeading___Toc22883_784232322
SGUX __RefHeading___Toc22883_784232322
SGUX- __RefHeading___Toc22883_784232322
SGUY __RefHeading___Toc22883_784232322
SGUY- __RefHeading___Toc22883_784232322
SGUZ __RefHeading___Toc22883_784232322
SGUZ- __RefHeading___Toc22883_784232322
SGWFLET __RefHeading___Toc548127_947687768
SGWFN __RefHeading___Toc106872_335817223
SHRATE __RefHeading___Toc121475_83452205
Expand Down Expand Up @@ -849,6 +1039,12 @@ SOF2 __RefHeading___Toc106876_335817223
SOF3 __RefHeading___Toc106878_335817223
SOF32D __RefHeading___Toc765497_4250154414
SOGCR __RefHeading___Toc30434_784232322
SOGCRX __RefHeading___Toc30434_784232322
SOGCRX- __RefHeading___Toc30434_784232322
SOGCRY __RefHeading___Toc30434_784232322
SOGCRY- __RefHeading___Toc30434_784232322
SOGCRZ __RefHeading___Toc30434_784232322
SOGCRZ- __RefHeading___Toc30434_784232322
SOIL __RefHeading___Toc137371_1317547213
SOLUTION __RefHeading___Toc43947_784232322
SOLVCONC __RefHeading___Toc771984_4250154414
Expand All @@ -862,6 +1058,12 @@ SOMWAT __RefHeading___Toc798238_4250154414
SORWMIS __RefHeading___Toc121477_83452205
SOURCE REF_HEADING_KEYWORD_SOURCE_12_3
SOWCR __RefHeading___Toc30436_784232322
SOWCRX __RefHeading___Toc30436_784232322
SOWCRX- __RefHeading___Toc30436_784232322
SOWCRY __RefHeading___Toc30436_784232322
SOWCRY- __RefHeading___Toc30436_784232322
SOWCRZ __RefHeading___Toc30436_784232322
SOWCRZ- __RefHeading___Toc30436_784232322
SOXYG __RefHeading___Toc439460_111689907
SPECGRID- __RefHeading___Toc45797_7190362561
SPECHEAT __RefHeading___Toc121479_83452205
Expand Down Expand Up @@ -905,14 +1107,32 @@ SURFWNUM __RefHeading___Toc1179776_4250154414
SWAT __RefHeading___Toc137373_1317547213
SWATINIT __RefHeading___Toc323952_1728001293
SWCR __RefHeading___Toc27248_784232322
SWCRX __RefHeading___Toc27248_784232322
SWCRX- __RefHeading___Toc27248_784232322
SWCRY __RefHeading___Toc27248_784232322
SWCRY- __RefHeading___Toc27248_784232322
SWCRZ __RefHeading___Toc27248_784232322
SWCRZ- __RefHeading___Toc27248_784232322
SWF32D __RefHeading___Toc1186403_4250154414
SWFN __RefHeading___Toc106882_335817223
SWINGFAC __RefHeading___Toc1193036_4250154414
SWL __RefHeading___Toc22881_7842323221
SWLPC __RefHeading___Toc179514_1371377330
SWLX __RefHeading___Toc22881_7842323221
SWLX- __RefHeading___Toc22881_7842323221
SWLY __RefHeading___Toc22881_7842323221
SWLY- __RefHeading___Toc22881_7842323221
SWLZ __RefHeading___Toc22881_7842323221
SWLZ- __RefHeading___Toc22881_7842323221
SWOF __RefHeading___Toc45811_7190362561
SWOFLET __RefHeading___Toc398954_3017686537
SWU __RefHeading___Toc22883_7842323221
SWUX __RefHeading___Toc22883_7842323221
SWUX- __RefHeading___Toc22883_7842323221
SWUY __RefHeading___Toc22883_7842323221
SWUY- __RefHeading___Toc22883_7842323221
SWUZ __RefHeading___Toc22883_7842323221
SWUZ- __RefHeading___Toc22883_7842323221
TABDIMS __RefHeading___Toc89327_327352552
TBLK __RefHeading___Toc198434_3325167686
TCRIT REF_HEADING_KEYWORD_TCRIT
Expand Down Expand Up @@ -970,9 +1190,9 @@ TUNINGS __RefHeading___Toc1647719_4250154414
TVDP __RefHeading___Toc210170_2884651453
TZONE __RefHeading___Toc1668114_4250154414
UDADIMS __RefHeading___Toc65914_1778172979
UDQPARAM __RefHeading___Toc161093_2932703077
UDQ __RefHeading___Toc161095_2932703077
UDQDIMS __RefHeading___Toc65916_1778172979
UDQPARAM __RefHeading___Toc161093_2932703077
UDT __RefHeading___Toc1674916_4250154414
UDTDIMS __RefHeading___Toc1681728_4250154414
UNCODHMD __RefHeading___Toc1688602_4250154414
Expand Down
3 changes: 2 additions & 1 deletion scripts/python/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ fodt-extract-xml-tag = "fodt.splitter:extract_xml_tag"
fodt-fix-ignored-keywords = "fodt.fix_ignored:fix_ignored"
fodt-fix-footer-style = "fodt.fix_footer_style:fix_footer_style"
fodt-fix-letter-k-footer = "fodt.fix_letter_k_footer:fix_letter_k_footer"
fodt-gen-kw-uri-map = "fodt.keyword_linker:gen_kw_uri_map"
fodt-gen-kw-uri-map = "fodt.keyword_uri_map_generator:gen_kw_uri_map_cli"
fodt-link-keywords = "fodt.keyword_linker:link_keywords"
fodt-remove-bookmarks-from-master-styles = "fodt.remove_bookmarks:remove_bookmarks_from_master_styles"
fodt-remove-chapters = "fodt.splitter:remove_chapters"
fodt-remove-elements = "fodt.splitter:remove_elements"
Expand Down
Loading

0 comments on commit bbf01d4

Please sign in to comment.