Skip to content

Commit

Permalink
1603_1.py (#9): started tests to get terms from 1603_1_7
Browse files Browse the repository at this point in the history
  • Loading branch information
fititnt committed Feb 17, 2022
1 parent 0014d6b commit e35b64b
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 9 deletions.
7 changes: 5 additions & 2 deletions officinam/999999999/0/1603_1.asciidoctor-pdf-theme-1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,20 +18,23 @@ font:
NotoSansArabic:
bold: NotoSansArabic-Bold.ttf
normal: NotoSansArabic-Regular.ttf
italic: NotoSansArabic-Regular.ttf # No italic for arabic
# https://en.wikipedia.org/wiki/Sanskrit#Scripts
NotoSansBengali: NotoSansBengali-Regular.ttf
# NotoSansBengali:
# bold: NotoSansBengali-Bold.ttf
# normal: NotoSansBengali-Regular.ttf
NotoSansBrahmi:
normal: NotoSansBrahmi-Regular.ttf
# NotoSansBrahmi:
# normal: NotoSansBrahmi-Regular.ttf
NotoSansBrahmi: NotoSansBrahmi-Regular.ttf
NotoSansDevanagari: NotoSansDevanagari-Regular.ttf
# NotoSansDevanagari:
# bold: NotoSansDevanagari-Bold.ttf
# normal: NotoSansDevanagari-Regular.ttf
NotoSansMalayalam:
bold: NotoSansMalayalam-Bold.ttf
normal: NotoSansMalayalam-Regular.ttf
italic: NotoSansMalayalam-Regular.ttf # No italic for Malayalam
NotoColorEmoji: NotoColorEmoji.ttf
LastResort-Regular: LastResort-Regular.ttf
# LastResortHE-Regular: LastResortHE-Regular.ttf
Expand Down
9 changes: 9 additions & 0 deletions officinam/999999999/0/1603_1.py
Original file line number Diff line number Diff line change
Expand Up @@ -363,6 +363,7 @@ def qhxl(rem: dict, query: Union[str, list]):
return rem_item
return None


def qhxl_attr_2_bcp47(hxlatt: str):
resultatum = ''
tempus1 = hxlatt.replace('+i_', '')
Expand Down Expand Up @@ -1293,6 +1294,14 @@ def imprimere(self) -> list:
paginae.extend(codex_archio)
paginae.extend(['', '<<<', ''])
paginae.extend(codex_corpori)
paginae.extend(['', '<<<', ''])
exemplum = [
'== /Test/',
# '<<<',
'{% _🗣️ 1603_1_99_1 🗣️_ %}'
]

paginae.extend(exemplum)
# paginae.extend(['', '<<<', ''])
# paginae.extend(codex_appendici)

Expand Down
20 changes: 13 additions & 7 deletions officinam/999999999/999999_17.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ set -e
# humanitarium_responsum_rem="https://proxy.hxlstandard.org/data/download/humanitarium-responsum-rem_hxl.csv?dest=data_edit&filter01=select&filter-label01=%23status%3E-1&select-query01-01=%23status%3E-1&filter02=cut&filter-label02=HXLated&cut-skip-untagged02=on&strip-headers=on&force=on&url=https%3A%2F%2Fdocs.google.com%2Fspreadsheets%2Fd%2F1ih3ouvx_n8W5ntNcYBqoyZ2NRMdaA0LRg5F9mGriZm4%2Fedit%23gid%3D1331879749"
# DATA_1603_1_1="https://docs.google.com/spreadsheets/d/1ih3ouvx_n8W5ntNcYBqoyZ2NRMdaA0LRg5F9mGriZm4/edit#gid=2095477004"
# DATA_1603_1_6="https://docs.google.com/spreadsheets/d/1ih3ouvx_n8W5ntNcYBqoyZ2NRMdaA0LRg5F9mGriZm4/edit#gid=1417450794"
# DATA_1603_1_7="https://docs.google.com/spreadsheets/d/1ih3ouvx_n8W5ntNcYBqoyZ2NRMdaA0LRg5F9mGriZm4/edit#gid=1792999005"
DATA_1603_1_7="https://docs.google.com/spreadsheets/d/1ih3ouvx_n8W5ntNcYBqoyZ2NRMdaA0LRg5F9mGriZm4/edit#gid=1792999005"
# # DATA_1603_17_17="https://docs.google.com/spreadsheets/d/1ih3ouvx_n8W5ntNcYBqoyZ2NRMdaA0LRg5F9mGriZm4/edit#gid=1281616178"
# DATA_1603_3_12_6="https://docs.google.com/spreadsheets/d/1ih3ouvx_n8W5ntNcYBqoyZ2NRMdaA0LRg5F9mGriZm4/edit#gid=1281616178"
# DATA_1603_25_1="https://docs.google.com/spreadsheets/d/1ih3ouvx_n8W5ntNcYBqoyZ2NRMdaA0LRg5F9mGriZm4/edit#gid=966182339"
Expand All @@ -49,9 +49,15 @@ ROOTDIR="$(pwd)"
# shellcheck source=999999999.lib.sh
. "$ROOTDIR"/999999999/999999999.lib.sh

file_download_if_necessary "$DATA_1603_45_1" "1603_45_1" "csv" "tm.hxl.csv" "hxltmcli" "1"
file_convert_numerordinatio_de_hxltm "1603_45_1" "1" "0"
file_translate_csv_de_numerordinatio_q "1603_45_1" "0" "0"
file_merge_numerordinatio_de_wiki_q "1603_45_1" "0" "0"
neo_codex_de_numerordinatio "1603_45_1" "0" "0"
neo_codex_de_numerordinatio_pdf "1603_45_1" "0" "0"
# file_download_if_necessary "$DATA_1603_45_1" "1603_45_1" "csv" "tm.hxl.csv" "hxltmcli" "1"
# file_convert_numerordinatio_de_hxltm "1603_45_1" "1" "0"
# file_translate_csv_de_numerordinatio_q "1603_45_1" "0" "0"
# file_merge_numerordinatio_de_wiki_q "1603_45_1" "0" "0"
# neo_codex_de_numerordinatio "1603_45_1" "0" "0"
# neo_codex_de_numerordinatio_pdf "1603_45_1" "0" "0"

file_download_if_necessary "$DATA_1603_1_7" "1603_1_7" "csv" "tm.hxl.csv" "hxltmcli" "1"
file_convert_numerordinatio_de_hxltm "1603_1_7" "1" "0"
# file_merge_numerordinatio_de_wiki_q "1603_1_7" "0" "0"
neo_codex_de_numerordinatio "1603_1_7" "0" "0"
neo_codex_de_numerordinatio_pdf "1603_1_7" "0" "0"

0 comments on commit e35b64b

Please sign in to comment.