From e35b64bd13e244e988bff1f899670b1531bdd9cd Mon Sep 17 00:00:00 2001 From: Emerson Rocha Date: Thu, 17 Feb 2022 13:49:29 -0300 Subject: [PATCH] 1603_1.py (#9): started tests to get terms from 1603_1_7 --- .../0/1603_1.asciidoctor-pdf-theme-1.yml | 7 +++++-- officinam/999999999/0/1603_1.py | 9 +++++++++ officinam/999999999/999999_17.sh | 20 ++++++++++++------- 3 files changed, 27 insertions(+), 9 deletions(-) diff --git a/officinam/999999999/0/1603_1.asciidoctor-pdf-theme-1.yml b/officinam/999999999/0/1603_1.asciidoctor-pdf-theme-1.yml index 60e74c1..0f09313 100644 --- a/officinam/999999999/0/1603_1.asciidoctor-pdf-theme-1.yml +++ b/officinam/999999999/0/1603_1.asciidoctor-pdf-theme-1.yml @@ -18,13 +18,15 @@ 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 @@ -32,6 +34,7 @@ font: 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 diff --git a/officinam/999999999/0/1603_1.py b/officinam/999999999/0/1603_1.py index d5009cb..70b5420 100755 --- a/officinam/999999999/0/1603_1.py +++ b/officinam/999999999/0/1603_1.py @@ -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_', '') @@ -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) diff --git a/officinam/999999999/999999_17.sh b/officinam/999999999/999999_17.sh index 7bb8740..144ea6f 100755 --- a/officinam/999999999/999999_17.sh +++ b/officinam/999999999/999999_17.sh @@ -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" @@ -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"