Система контроля версий GitLab использует язык форматирования GitHub Flavored Markdown (форматирование текста в Issues (топики). Краткое руководство: https://gitlab.igrnt.info/bible/igrnt/wikis/gitlab-markdown

объединение книг TNK & NT

parent 07cf4213
......@@ -48,15 +48,10 @@ LCVh.9*
# local catalogs and files
/tex-misc/lcv-working/*
/tex-misc/ihrtnk-working/*
/tex-ihrtnk/ASCII-working/*
/tex-igrnt/ASCII-working/*
/tex-igrnt/temp.tex
/tex-ihrtnk/temp.tex
/tex-igrnt.tmp/*
/tex-igrlxx.tmp/*
/tex-igrnt-lcvr-lcvh-words.tmp/*
/tex-ihrtnk/*
tex-igrnt/*.sty
/tex-igrbible/temp.tex
/tex-igrbible.tmp/*
/tex-igrbible-lcvr-lcvh-words.tmp/*
tex-igbible/*.sty
/.out/*
/.logs/*
.temp
......
......@@ -131,7 +131,7 @@
\vskip0.8pt%
% \disablehyphenation%
\noparindent\hspace{-15pt}{{\raisebox{0.1ex}{\scalebox{0.8}{\ElLang{$\boxdot$}}}}}\sspace\ignorespaces%
\input{tex-igrnt-lcvr-lcvh-words.tmp/#1}%
\input{tex-igrbible-lcvr-lcvh-words.tmp/#1}%
% \enablehyphenation%
\closelexentry%
\makeatother%
......
This diff is collapsed.
This diff is collapsed.
#!/bin/bash
cd ../tex-igrnt/
cd ../tex-igrbible/
#
echo "" ; echo -e "\e[1;32mПроверяем на наличие пустых строк в ./tex-igrnt/*.tex\e[0m"
echo "" ; echo -e "\e[1;32mПроверяем на наличие пустых строк в ./tex-igrbible/*.tex\e[0m"
grep --color=always -P "^$" ./*.tex -n
#
echo "" ; echo -e "\e[1;32mПроверяем на предмет ошибочной расстановки Акут акцентов над беЗуДаРными буквами в ./tex-igrnt/*.tex\e[0m"
echo "" ; echo -e "\e[1;32mПроверяем на предмет ошибочной расстановки Акут акцентов над беЗуДаРными буквами в ./tex-igrbible/*.tex\e[0m"
declare -a consonants=( "б|в|г|д|ё|ж|з|й|к|л|м|н|п|р|с|т|ф|х|ц|ч|ш|щ|ъ|ь" ) ; IFS="|"
for cons in ${consonants[*]}
do
......@@ -13,21 +13,21 @@ for cons in ${consonants[*]}
grep --color=always -P "\x5C\x27$CONS" ./*.tex -n
done
#
echo "" ; echo -e "\e[1;32mПроверяем на наличие неправильной раскладки при постановке Акут акцентов в ./tex-igrnt/*.tex\e[0m"
echo "" ; echo -e "\e[1;32mПроверяем на наличие неправильной раскладки при постановке Акут акцентов в ./tex-igrbible/*.tex\e[0m"
grep --color=always -P "\\\\:" ./*.tex -n
grep --color=always -P "\\\\э" ./*.tex -n
grep --color=always -P "\\\\\^" ./*.tex -n
echo "" ; echo -e "\e[1;32mПроверяем на правильно проставленные HBRN в гебраизированных именах Бога в ./tex-igrnt/*.tex\e[0m"
echo "" ; echo -e "\e[1;32mПроверяем на правильно проставленные HBRN в гебраизированных именах Бога в ./tex-igrbible/*.tex\e[0m"
grep hebyahwehintb ./*.tex | grep --color=always -P -v "HBRN" -n
echo "" ; echo -e "\e[1;32mПроверяем на наличие кирилических символов в конце греч. слов ./tex-igrnt/*.tex\e[0m"
echo "" ; echo -e "\e[1;32mПроверяем на наличие кирилических символов в конце греч. слов ./tex-igrbible/*.tex\e[0m"
grep --color=always -E "intb\{..\}\{.\}\{\}\{([[:alpha:]]+)([а-яА-Я])" ./*.tex -n
grep --color=always -E "intb\{..\}\{.\}\{.\}\{([[:alpha:]]+)([а-яА-Я])" ./*.tex -n
grep --color=always -E "intb\{..\}\{..\}\{\}\{([[:alpha:]]+)([а-яА-Я])" ./*.tex -n
grep --color=always -E "intb\{..\}\{..\}\{.\}\{([[:alpha:]]+)([а-яА-Я])" ./*.tex -n
echo "" ; echo -e "\e[1;32mПроверяем на наличие знаков ударения и других знаков в теге \it{...} в ./tex-igrnt/*.tex\e[0m"
echo "" ; echo -e "\e[1;32mПроверяем на наличие знаков ударения и других знаков в теге \it{...} в ./tex-igrbible/*.tex\e[0m"
grep --color=always -E "\[/\\\'[[:alpha:]]+\]" -n ./*.tex
grep --color=always -E "\[/[[:alpha:]]+\\\'[[:alpha:]]+\]" -n ./*.tex
#grep --color=always -E "\[/[[:alpha:]]+ [[:alpha:]]+\]" -n ./*.tex
......@@ -37,10 +37,10 @@ grep --color=always -E "\[/\\\'[[:alpha:]]+[.,;!:]" -n ./*.tex
grep --color=always -E "\[/[[:alpha:]]+[.,;!:]" -n ./*.tex
grep --color=always -E "\[/[[:alpha:]]+\\\'[[:alpha:]]+[.,;!:]" -n ./*.tex
echo "" ; echo -e "\e[1;32mПроверяем на сломанные акут макросы в ./tex-igrnt/*.tex\e[0m"
echo "" ; echo -e "\e[1;32mПроверяем на сломанные акут макросы в ./tex-igrbible/*.tex\e[0m"
grep --color=always -E "\\\\[а-яА-Я]" ./*.tex -n
echo "" ; echo -e "\e[1;32mПроверяем на наличие лишних пробелов в ./tex-igrnt/*.tex\e[0m"
echo "" ; echo -e "\e[1;32mПроверяем на наличие лишних пробелов в ./tex-igrbible/*.tex\e[0m"
grep "intb" ./*.tex | grep --color=always -E "([[:alpha:]]) .([[:alpha:]])"
grep "intb" ./*.tex | grep --color=always -E "([[:alpha:]]) ([[:alpha:]])"
grep "intb" ./*.tex | grep --color=always -E "([[:alpha:]])} .([[:alpha:]])"
......@@ -50,13 +50,13 @@ grep "intb" ./*.tex | grep --color=always -E "\}\{ .([[:alpha:]])"
grep "intb" ./*.tex | grep --color=always -E "([[:digit:]])\} ([[:alpha:]])"
grep "intb" ./*.tex | grep --color=always -E "([[:digit:]])\} .([[:alpha:]])"
echo "" ; echo -e "\e[1;32mПроверяем на наличие TeX макро тегов вместо упощённых в ./tex-igrnt/*.tex\e[0m"
echo "" ; echo -e "\e[1;32mПроверяем на наличие TeX макро тегов вместо упощённых в ./tex-igrbible/*.tex\e[0m"
grep --color=always -E "\\ssc{" ./*.tex -n
grep --color=always -E "\\it{" ./*.tex -n
grep --color=always -E "\\lrb{" ./*.tex -n
echo "" ; echo -e "\e[1;32mПроверяем на наличие пустых квадратных скобок без маркеров в ./tex-igrnt/*.tex\e[0m"
echo "" ; echo -e "\e[1;32mПроверяем на наличие пустых квадратных скобок без маркеров в ./tex-igrbible/*.tex\e[0m"
grep "intb" ./*.tex | grep "\[" | grep -v -E "\[([\*\?\/])" | grep --color=always "\["
echo "" ;
......
......@@ -7,10 +7,10 @@ export IGRNT_BOOKS=( Mat Mar Luk Joh Act Rom 1Co 2Co Gal Eph Phi Col 1Th 2Th 1Ti
###
echo "" ; echo -e "\t\e[1;32mРаспределение греческого текста по всему тексту Нового Завета (в ..%)\e[0m"
concalc -o 16 $(cat ../tex-igrnt/*.tex | grep -c "\\intb{")/100 \-\>E &> /dev/null
concalc -o 16 $(cat ../tex-igrbible/*.tex | grep -c "\\intb{")/100 \-\>E &> /dev/null
for i in "${IGRNT_BOOKS[@]}" ; do
echo -e -n "\t\e[1;32m$i: \e[0m"
concalc -o 16 $(grep -c "\\intb{" ../tex-igrnt/$i.tex)/100 \-\>A &> /dev/null
concalc -o 16 $(grep -c "\\intb{" ../tex-igrbible/$i.tex)/100 \-\>A &> /dev/null
concalc -o 4 A/E*100
done
......@@ -18,86 +18,86 @@ done
echo "" ; echo -e "\t\e[1;32mДоля греческого текста, имеющая разночтения в критическом аппарате IGRNT (в ..%)\e[0m"
for i in "${IGRNT_BOOKS[@]}" ; do
echo -e -n "\t\e[1;32m$i: \e[0m"
concalc -o 16 $(grep -c "\\intb{" ../tex-igrnt/$i.tex)/100 \-\>A &> /dev/null
concalc -o 16 $(grep -c "\\intb{..}{w" ../tex-igrnt/$i.tex)/A \-\>B &> /dev/null
concalc -o 16 \($(grep -c "\\intb{..}{l" ../tex-igrnt/$i.tex)+1\)/A \-\>C &> /dev/null
concalc -o 16 $(grep -c "\\intb{..}{r" ../tex-igrnt/$i.tex)/A \-\>D &> /dev/null
concalc -o 16 $(grep -c "\\intb{..}{C" ../tex-igrnt/$i.tex)/A \-\>E &> /dev/null
concalc -o 16 $(grep -c "\\intb{" ../tex-igrbible/$i.tex)/100 \-\>A &> /dev/null
concalc -o 16 $(grep -c "\\intb{..}{w" ../tex-igrbible/$i.tex)/A \-\>B &> /dev/null
concalc -o 16 \($(grep -c "\\intb{..}{l" ../tex-igrbible/$i.tex)+1\)/A \-\>C &> /dev/null
concalc -o 16 $(grep -c "\\intb{..}{r" ../tex-igrbible/$i.tex)/A \-\>D &> /dev/null
concalc -o 16 $(grep -c "\\intb{..}{C" ../tex-igrbible/$i.tex)/A \-\>E &> /dev/null
concalc -o 6 B+C+D+E
done
echo -e -n "\t\e[1;32mОбщая доля разночтений: \e[0m"
concalc -o 16 $(cat ../tex-igrnt/*.tex | grep -c "\\intb{")/100 \-\>A &> /dev/null
concalc -o 16 $(cat ../tex-igrnt/*.tex | grep -c "\\intb{..}{w")/A \-\>B &> /dev/null
concalc -o 16 \($(cat ../tex-igrnt/*.tex | grep -c "\\intb{..}{l")+27\)/A \-\>C &> /dev/null
concalc -o 16 $(cat ../tex-igrnt/*.tex | grep -c "\\intb{..}{r")/A \-\>D &> /dev/null
concalc -o 16 $(cat ../tex-igrnt/*.tex | grep -c "\\intb{..}{C")/A \-\>E &> /dev/null
concalc -o 16 $(cat ../tex-igrbible/*.tex | grep -c "\\intb{")/100 \-\>A &> /dev/null
concalc -o 16 $(cat ../tex-igrbible/*.tex | grep -c "\\intb{..}{w")/A \-\>B &> /dev/null
concalc -o 16 \($(cat ../tex-igrbible/*.tex | grep -c "\\intb{..}{l")+27\)/A \-\>C &> /dev/null
concalc -o 16 $(cat ../tex-igrbible/*.tex | grep -c "\\intb{..}{r")/A \-\>D &> /dev/null
concalc -o 16 $(cat ../tex-igrbible/*.tex | grep -c "\\intb{..}{C")/A \-\>E &> /dev/null
concalc -o 4 B+C+D+E
###
echo "" ; echo -e "\t\e[1;32mДоля гебраизации (LCVh) в каждой книге Нового Завета (в ..%)\e[0m"
for i in "${IGRNT_BOOKS[@]}" ; do
echo -e -n "\t\e[1;32m$i: \e[0m"
concalc -o 16 $(grep -c "\\intb{" ../tex-igrnt/$i.tex)/100 \-\>A &> /dev/null
concalc -o 16 $(grep "\\intb{" ../tex-igrnt/$i.tex | grep "\\HBR" | grep -c -v "\\heb")/A \-\>G &> /dev/null
concalc -o 16 $(grep "\\intb{" ../tex-igrnt/$i.tex | grep -c "\\heb")/A \-\>H &> /dev/null
concalc -o 16 $(grep -c "\\intb{" ../tex-igrbible/$i.tex)/100 \-\>A &> /dev/null
concalc -o 16 $(grep "\\intb{" ../tex-igrbible/$i.tex | grep "\\HBR" | grep -c -v "\\heb")/A \-\>G &> /dev/null
concalc -o 16 $(grep "\\intb{" ../tex-igrbible/$i.tex | grep -c "\\heb")/A \-\>H &> /dev/null
concalc -o 4 G+H
done
echo -e -n "\t\e[1;32mОбщая доля гебраизации (LCVh): \e[0m"
concalc -o 16 $(cat ../tex-igrnt/*.tex | grep -c "\\intb{")/100 \-\>F &> /dev/null
concalc -o 16 $(cat ../tex-igrnt/*.tex | grep "\\intb{" | grep "\\HBR" | grep -c -v "\\heb")/F \-\>G &> /dev/null
concalc -o 16 $(cat ../tex-igrnt/*.tex | grep "\\intb{" | grep -c "\\heb")/F \-\>H &> /dev/null
concalc -o 16 $(cat ../tex-igrbible/*.tex | grep -c "\\intb{")/100 \-\>F &> /dev/null
concalc -o 16 $(cat ../tex-igrbible/*.tex | grep "\\intb{" | grep "\\HBR" | grep -c -v "\\heb")/F \-\>G &> /dev/null
concalc -o 16 $(cat ../tex-igrbible/*.tex | grep "\\intb{" | grep -c "\\heb")/F \-\>H &> /dev/null
concalc -o 4 G+H
###
echo "" ; echo -e "\t\e[1;32mДоля цитирования ТаНаХа в тексте Нового Завета (в ..%)\e[0m"
for i in "${IGRNT_BOOKS[@]}" ; do
echo -e -n "\t\e[1;32m$i: \e[0m"
concalc -o 16 $(grep -c "\\vs{" ../tex-igrnt/$i.tex) \-\>A &> /dev/null
concalc -o 16 $(grep "\\vs{" ../tex-igrnt/$i.tex | grep -c "{Y}{.}")/A*100 \-\>G &> /dev/null
concalc -o 16 $(grep -c "\\vs{" ../tex-igrbible/$i.tex) \-\>A &> /dev/null
concalc -o 16 $(grep "\\vs{" ../tex-igrbible/$i.tex | grep -c "{Y}{.}")/A*100 \-\>G &> /dev/null
concalc -o 4 G*1
done
echo -e -n "\t\e[1;32mОбщая доля цитирования ТаНаХа в тексте Нового Завета: \e[0m"
concalc -o 16 $(cat ../tex-igrnt/*.tex | grep -c "\\vs{") \-\>F &> /dev/null
concalc -o 16 $(cat ../tex-igrnt/*.tex | grep "\\vs{" | grep -c "{Y}{.}")/F \-\>G &> /dev/null
concalc -o 16 $(cat ../tex-igrbible/*.tex | grep -c "\\vs{") \-\>F &> /dev/null
concalc -o 16 $(cat ../tex-igrbible/*.tex | grep "\\vs{" | grep -c "{Y}{.}")/F \-\>G &> /dev/null
concalc -o 4 G*100
###
echo "" ; echo -e "\t\e[1;32mПредварительная готовность LCVr/LCVh текста (в ..%)\e[0m"
for i in "${IGRNT_BOOKS[@]}" ; do
echo -e -n "\t\e[1;32m$i: \e[0m"
concalc -o 16 $(grep "\\intb{" ../tex-igrnt/$i.tex | grep -c -v "BBE")/100 \-\>A &> /dev/null
concalc -o 16 $(grep "\\intb{" ../tex-igrnt/$i.tex | grep -v "BBE" | grep -E -c -v "%([[:space:]]+)✓\!+")/A \-\>X &> /dev/null
concalc -o 16 $(grep "\\intb{" ../tex-igrbible/$i.tex | grep -c -v "BBE")/100 \-\>A &> /dev/null
concalc -o 16 $(grep "\\intb{" ../tex-igrbible/$i.tex | grep -v "BBE" | grep -E -c -v "%([[:space:]]+)✓\!+")/A \-\>X &> /dev/null
concalc -o 6 100-X
done
echo -e -n "\t\e[1;32mОбщая предварительная готовность LCVr/LCVh текста: \e[0m"
concalc -o 16 $(cat ../tex-igrnt/*.tex | grep -c "\\intb{")/100 \-\>A &> /dev/null
concalc -o 16 \($(cat ../tex-igrnt/*.tex | grep "\\intb{" | grep -E -v -c "%([[:space:]]+)✓\!+")\)/A \-\>X &> /dev/null
concalc -o 16 $(cat ../tex-igrbible/*.tex | grep -c "\\intb{")/100 \-\>A &> /dev/null
concalc -o 16 \($(cat ../tex-igrbible/*.tex | grep "\\intb{" | grep -E -v -c "%([[:space:]]+)✓\!+")\)/A \-\>X &> /dev/null
concalc -o 4 100-X
###
echo "" ; echo -e "\t\e[1;32mСверка словарных значений в LCVr/LCVh тексте (в ..%)\e[0m"
for i in "${IGRNT_BOOKS[@]}" ; do
echo -e -n "\t\e[1;32m$i: \e[0m"
concalc -o 16 $(grep "\\intb{" ../tex-igrnt/$i.tex | grep -c -v "BBE")/100 \-\>A &> /dev/null
concalc -o 16 $(grep "\\intb{" ../tex-igrnt/$i.tex | grep -v "BBE" | grep -E -c -v "%([[:space:]]+)✓\!\+ [◙◘]")/A \-\>Z &> /dev/null
concalc -o 16 $(grep "\\intb{" ../tex-igrbible/$i.tex | grep -c -v "BBE")/100 \-\>A &> /dev/null
concalc -o 16 $(grep "\\intb{" ../tex-igrbible/$i.tex | grep -v "BBE" | grep -E -c -v "%([[:space:]]+)✓\!\+ [◙◘]")/A \-\>Z &> /dev/null
concalc -o 6 100-Z
done
echo -e -n "\t\e[1;32mОбщая сверка словарных значений в LCVr/LCVh тексте: \e[0m"
concalc -o 16 $(cat ../tex-igrnt/*.tex | grep -c "\\intb{")/100 \-\>A &> /dev/null
concalc -o 16 \($(cat ../tex-igrnt/*.tex | grep "\\intb{" | grep -E -v -c "%([[:space:]]+)✓\!\+ [◙◘]")\)/A \-\>Z &> /dev/null
concalc -o 16 $(cat ../tex-igrbible/*.tex | grep -c "\\intb{")/100 \-\>A &> /dev/null
concalc -o 16 \($(cat ../tex-igrbible/*.tex | grep "\\intb{" | grep -E -v -c "%([[:space:]]+)✓\!\+ [◙◘]")\)/A \-\>Z &> /dev/null
concalc -o 4 100-Z
###
echo "" ; echo -e "\t\e[1;32mУточнение морфологических форм в LCVr/LCVh тексте (в ..%)\e[0m"
for i in "${IGRNT_BOOKS[@]}" ; do
echo -e -n "\t\e[1;32m$i: \e[0m"
concalc -o 16 $(grep "\\intb{" ../tex-igrnt/$i.tex | grep -c -v "BBE")/100 \-\>A &> /dev/null
concalc -o 16 $(grep "\\intb{" ../tex-igrnt/$i.tex | grep -v "BBE" | grep -E -c -v "%([[:space:]]+)✓\!\+ [◙◘] ᴟ")/A \-\>M &> /dev/null
concalc -o 16 $(grep "\\intb{" ../tex-igrbible/$i.tex | grep -c -v "BBE")/100 \-\>A &> /dev/null
concalc -o 16 $(grep "\\intb{" ../tex-igrbible/$i.tex | grep -v "BBE" | grep -E -c -v "%([[:space:]]+)✓\!\+ [◙◘] ᴟ")/A \-\>M &> /dev/null
concalc -o 6 100-M
done
echo -e -n "\t\e[1;32mОбщее Уточнение морфологических формв LCVr/LCVh тексте: \e[0m"
concalc -o 16 $(cat ../tex-igrnt/*.tex | grep -c "\\intb{")/100 \-\>A &> /dev/null
concalc -o 16 \($(cat ../tex-igrnt/*.tex | grep "\\intb{" | grep -E -v -c "%([[:space:]]+)✓\!\+ [◙◘] ᴟ")\)/A \-\>M &> /dev/null
concalc -o 16 $(cat ../tex-igrbible/*.tex | grep -c "\\intb{")/100 \-\>A &> /dev/null
concalc -o 16 \($(cat ../tex-igrbible/*.tex | grep "\\intb{" | grep -E -v -c "%([[:space:]]+)✓\!\+ [◙◘] ᴟ")\)/A \-\>M &> /dev/null
concalc -o 4 100-M
......
......@@ -6,12 +6,12 @@ echo "\\newcommand{\\grwrdcnt}[1]{{% Здесь пропускаем данны
#
STREND=999
for S in $(seq 1 $STREND)
do echo " \\ifthenelse{\\equal{#1}{$S}}{`cat ./../tex-igrlxx/*.tex | grep \"ilxxb{\" | grep -c -E \"\}\{([ ]+$S)\}\{\"`}{}%"
do echo " \\ifthenelse{\\equal{#1}{$S}}{`cat ./../tex-igrbible/*.tex | grep \"ilxxb{\" | grep -c -E \"\}\{([ ]+$S)\}\{\"`}{}%"
done >> ../tex-misc/IGRLXX_words_counting.tex
STREND=5624
for S in $(seq 1000 $STREND)
do echo " \\ifthenelse{\\equal{#1}{$S}}{`cat ./../tex-igrlxx/*.tex | grep \"ilxxb{\" | grep -c -E \"\}\{($S)\}\{\"`}{}%"
do echo " \\ifthenelse{\\equal{#1}{$S}}{`cat ./../tex-igrbible/*.tex | grep \"ilxxb{\" | grep -c -E \"\}\{($S)\}\{\"`}{}%"
done >> ../tex-misc/IGRLXX_words_counting.tex
echo "}}%" >> ../tex-misc/IGRLXX_words_counting.tex
......
......@@ -6,12 +6,12 @@ echo "\\newcommand{\\grwrdcnt}[1]{{% Здесь пропускаем данны
#
STREND=999
for S in $(seq 1 $STREND)
do echo " \\ifthenelse{\\equal{#1}{$S}}{`cat ./../tex-igrnt/*.tex | grep \"intb{\" | grep -c -E \"\}\{([ ]+$S)\}\{\"`}{}%"
do echo " \\ifthenelse{\\equal{#1}{$S}}{`cat ./../tex-igrbible/*.tex | grep \"intb{\" | grep -c -E \"\}\{([ ]+$S)\}\{\"`}{}%"
done >> ../tex-misc/IGRNT_words_counting.tex
STREND=5624
for S in $(seq 1000 $STREND)
do echo " \\ifthenelse{\\equal{#1}{$S}}{`cat ./../tex-igrnt/*.tex | grep \"intb{\" | grep -c -E \"\}\{($S)\}\{\"`}{}%"
do echo " \\ifthenelse{\\equal{#1}{$S}}{`cat ./../tex-igrbible/*.tex | grep \"intb{\" | grep -c -E \"\}\{($S)\}\{\"`}{}%"
done >> ../tex-misc/IGRNT_words_counting.tex
echo "}}%" >> ../tex-misc/IGRNT_words_counting.tex
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
#!/bin/bash
export STRONGNUM="792"
export WRDNOMS="неб\\\'есноетело" # им.п., ед. ч
export WRDACCS="неб\\\'есноетело" # вин.п., ед. ч
export WRDGENS="неб\\\'есноготело" # род.п., ед. ч
export WRDDATS="неб\\\'есномутелу\(неб\\\'еснымтелом\)" # дат.п., ед. ч
export WRDNOMP="неб\\\'есныетел\\\'а" # им.п., мн. ч
export WRDACCP="неб\\\'есныхтел" # вин.п., мн. ч
export WRDGENP="неб\\\'есныхтел" # род.п., мн. ч
export WRDDATP="неб\\\'есным\(и\)тел\\\'ам\(и\)" # дат.п., мн. ч
#######
sed -r -i 's/\}\{([\.\,\:\;\/\? ]+)([[:space:]]{20})([[:space:]]+)\}\{(N\x2DN\.[NMF]S )\}\{([ ]+?'$STRONGNUM')\}/\}\{'$WRDNOMS'\1\2\3\}\{\4\}\{\5\}/g' ./*.tex
sed -r -i 's/\}\{([\.\,\:\;\/\? ]+)([[:space:]]{20})([[:space:]]+)\}\{(N\x2DA\.[NMF]S )\}\{([ ]+?'$STRONGNUM')\}/\}\{'$WRDACCS'\1\2\3\}\{\4\}\{\5\}/g' ./*.tex
sed -r -i 's/\}\{([\.\,\:\;\/\? ]+)([[:space:]]{20})([[:space:]]+)\}\{(N\x2DG\.[NMF]S )\}\{([ ]+?'$STRONGNUM')\}/\}\{'$WRDGENS'\1\2\3\}\{\4\}\{\5\}/g' ./*.tex
sed -r -i 's/\}\{([\.\,\:\;\/\? ]+)([[:space:]]{20})([[:space:]]+)\}\{(N\x2DD\.[NMF]S )\}\{([ ]+?'$STRONGNUM')\}/\}\{'$WRDDATS'\1\2\3\}\{\4\}\{\5\}/g' ./*.tex
#exit 0;
sed -r -i 's/\}\{([\.\,\:\;\/\? ]+)([[:space:]]{20})([[:space:]]+)\}\{(N\x2DN\.[NMF]P )\}\{([ ]+?'$STRONGNUM')\}/\}\{'$WRDNOMP'\1\2\3\}\{\4\}\{\5\}/g' ./*.tex
sed -r -i 's/\}\{([\.\,\:\;\/\? ]+)([[:space:]]{20})([[:space:]]+)\}\{(N\x2DA\.[NMF]P )\}\{([ ]+?'$STRONGNUM')\}/\}\{'$WRDACCP'\1\2\3\}\{\4\}\{\5\}/g' ./*.tex
sed -r -i 's/\}\{([\.\,\:\;\/\? ]+)([[:space:]]{20})([[:space:]]+)\}\{(N\x2DG\.[NMF]P )\}\{([ ]+?'$STRONGNUM')\}/\}\{'$WRDGENP'\1\2\3\}\{\4\}\{\5\}/g' ./*.tex
sed -r -i 's/\}\{([\.\,\:\;\/\? ]+)([[:space:]]{20})([[:space:]]+)\}\{(N\x2DD\.[NMF]P )\}\{([ ]+?'$STRONGNUM')\}/\}\{'$WRDDATP'\1\2\3\}\{\4\}\{\5\}/g' ./*.tex
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
#!/bin/bash
# finalize lines in range
# GEN
sed -r -i '15,462 s/%([[:space:]]+)✓/%\1✓\!/' ./Gen.tex
sed -r -i '15,462 s/^\\ilxxb(.*)%($| \*$)/\\ilxxb\1% ✓\!\2/' ./Gen.tex
#############################################################
# remove empty ssc tags in final lines
sed -r -i 's/\[\* \]([[:punct:][:alnum:][:space:]]+) \}\{([A-Z])(.*)✓\x21/\1 }{\2\3✓\x21/g' ./*.tex
sed -r -i 's/✓\!\!/✓\!/g' ./*.tex
# remove extras on markers
sed -r -i 's/\+\+\+\+/\+\+\+/g' ./*.tex
sed -r -i 's/✓\!\+\+\+/✓\!\+ ◘/g' ./*.tex
sed -r -i 's/✓\+\+\+/✓\+ ◘/g' ./*.tex
# greek adjust one space for comma
sed -r -i 's/\\ilxxb(.{17})\}\{/\\ilxxb\1 \}\{/g' ./*.tex
sed -r -i 's/\\ilxxb(.{18})\}\{/\\ilxxb\1 \}\{/g' ./*.tex
sed -r -i 's/\\ilxxb(.{19})\}\{/\\ilxxb\1 \}\{/g' ./*.tex
sed -r -i 's/\\ilxxb(.{20})\}\{/\\ilxxb\1 \}\{/g' ./*.tex
sed -r -i 's/\\ilxxb(.{21})\}\{/\\ilxxb\1 \}\{/g' ./*.tex
sed -r -i 's/\\ilxxb(.{22})\}\{/\\ilxxb\1 \}\{/g' ./*.tex
sed -r -i 's/\\ilxxb(.{23})\}\{/\\ilxxb\1 \}\{/g' ./*.tex
sed -r -i 's/\\ilxxb(.{24})\}\{/\\ilxxb\1 \}\{/g' ./*.tex
sed -r -i 's/\\ilxxb(.{25})\}\{/\\ilxxb\1 \}\{/g' ./*.tex
#
sed -r -i 's/\\ilxxb(.{26}) \}\{/\\ilxxb\1\}\{/g' ./*.tex
sed -r -i 's/\\ilxxb(.{26}) \}\{/\\ilxxb\1\}\{/g' ./*.tex
#
sed -r -i 's/\\ilxxb(.{26}) \}\{/\\ilxxb\1\}\{/g' ./*.tex
sed -r -i 's/\\ilxxb(.{26}) \}\{/\\ilxxb\1\}\{/g' ./*.tex
sed -r -i 's/\\ilxxb(.{26}) \}\{/\\ilxxb\1\}\{/g' ./*.tex
sed -r -i 's/\\ilxxb(.{26}) \}\{/\\ilxxb\1\}\{/g' ./*.tex
sed -r -i 's/\\ilxxb(.{26}) \}\{/\\ilxxb\1\}\{/g' ./*.tex
sed -r -i 's/\\ilxxb(.{26}) \}\{/\\ilxxb\1\}\{/g' ./*.tex
sed -r -i 's/\\ilxxb(.{26}) \}\{/\\ilxxb\1\}\{/g' ./*.tex
sed -r -i 's/\\ilxxb(.{26}) \}\{/\\ilxxb\1\}\{/g' ./*.tex
sed -r -i 's/\\ilxxb(.{26}) \}\{/\\ilxxb\1\}\{/g' ./*.tex
sed -r -i 's/\\ilxxb(.{26}) \}\{/\\ilxxb\1\}\{/g' ./*.tex
# pull morph column into place
sed -r -i 's/\\ilxxb(.{106})([[:space:]]+)\}\{([VACPTNDXORAQI])/\\ilxxb\1\}\{\3/g' ./*.tex
#sed -r -i 's/\\ilxxb(.{110})\}\{([VACPTNDXORAQI])/\\ilxxb\1 \}\{\2/g' ./*.tex
#sed -r -i 's/\\ilxxb(.{109})\}\{([VACPTNDXORAQI])/\\ilxxb\1 \}\{\2/g' ./*.tex
#sed -r -i 's/\\ilxxb(.{108})\}\{([VACPTNDXORAQI])/\\ilxxb\1 \}\{\2/g' ./*.tex
#sed -r -i 's/\\ilxxb(.{107})\}\{([VACPTNDXORAQI])/\\ilxxb\1 \}\{\2/g' ./*.tex
#sed -r -i 's/\\ilxxb(.{106})\}\{([VACPTNDXORAQI])/\\ilxxb\1 \}\{\2/g' ./*.tex
sed -r -i 's/\\ilxxb(.{105})\}\{([VACPTNDXORAQI])/\\ilxxb\1 \}\{\2/g' ./*.tex
sed -r -i 's/\\ilxxb(.{104})\}\{([VACPTNDXORAQI])/\\ilxxb\1 \}\{\2/g' ./*.tex
sed -r -i 's/\\ilxxb(.{103})\}\{([VACPTNDXORAQI])/\\ilxxb\1 \}\{\2/g' ./*.tex
sed -r -i 's/\\ilxxb(.{102})\}\{([VACPTNDXORAQI])/\\ilxxb\1 \}\{\2/g' ./*.tex
sed -r -i 's/\\ilxxb(.{101})\}\{([VACPTNDXORAQI])/\\ilxxb\1 \}\{\2/g' ./*.tex
sed -r -i 's/\\ilxxb(.{100})\}\{([VACPTNDXORAQI])/\\ilxxb\1 \}\{\2/g' ./*.tex
sed -r -i 's/\\ilxxb(.{99})\}\{([VACPTNDXORAQI])/\\ilxxb\1 \}\{\2/g' ./*.tex
sed -r -i 's/\\ilxxb(.{98})\}\{([VACPTNDXORAQI])/\\ilxxb\1 \}\{\2/g' ./*.tex
sed -r -i 's/\\ilxxb(.{97})\}\{([VACPTNDXORAQI])/\\ilxxb\1 \}\{\2/g' ./*.tex
sed -r -i 's/\\ilxxb(.{96})\}\{([VACPTNDXORAQI])/\\ilxxb\1 \}\{\2/g' ./*.tex
sed -r -i 's/\\ilxxb(.{95})\}\{([VACPTNDXORAQI])/\\ilxxb\1 \}\{\2/g' ./*.tex
sed -r -i 's/\\ilxxb(.{94})\}\{([VACPTNDXORAQI])/\\ilxxb\1 \}\{\2/g' ./*.tex
sed -r -i 's/\\ilxxb(.{93})\}\{([VACPTNDXORAQI])/\\ilxxb\1 \}\{\2/g' ./*.tex
sed -r -i 's/\\ilxxb(.{92})\}\{([VACPTNDXORAQI])/\\ilxxb\1 \}\{\2/g' ./*.tex
sed -r -i 's/\\ilxxb(.{91})\}\{([VACPTNDXORAQI])/\\ilxxb\1 \}\{\2/g' ./*.tex
sed -r -i 's/\\ilxxb(.{90})\}\{([VACPTNDXORAQI])/\\ilxxb\1 \}\{\2/g' ./*.tex
sed -r -i 's/\\ilxxb(.{89})\}\{([VACPTNDXORAQI])/\\ilxxb\1 \}\{\2/g' ./*.tex
sed -r -i 's/\\ilxxb(.{88})\}\{([VACPTNDXORAQI])/\\ilxxb\1 \}\{\2/g' ./*.tex
sed -r -i 's/\\ilxxb(.{87})\}\{([VACPTNDXORAQI])/\\ilxxb\1 \}\{\2/g' ./*.tex
sed -r -i 's/\\ilxxb(.{86})\}\{([VACPTNDXORAQI])/\\ilxxb\1 \}\{\2/g' ./*.tex
sed -r -i 's/\\ilxxb(.{85})\}\{([VACPTNDXORAQI])/\\ilxxb\1 \}\{\2/g' ./*.tex
sed -r -i 's/\\ilxxb(.{84})\}\{([VACPTNDXORAQI])/\\ilxxb\1 \}\{\2/g' ./*.tex
sed -r -i 's/\\ilxxb(.{83})\}\{([VACPTNDXORAQI])/\\ilxxb\1 \}\{\2/g' ./*.tex
sed -r -i 's/\\ilxxb(.{82})\}\{([VACPTNDXORAQI])/\\ilxxb\1 \}\{\2/g' ./*.tex
sed -r -i 's/\\ilxxb(.{81})\}\{([VACPTNDXORAQI])/\\ilxxb\1 \}\{\2/g' ./*.tex
sed -r -i 's/\\ilxxb(.{80})\}\{([VACPTNDXORAQI])/\\ilxxb\1 \}\{\2/g' ./*.tex
exit 0;
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
This diff is collapsed.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
This diff is collapsed.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
#!/bin/bash
# finalize lines in range
# LUK
sed -r -i '5000,5295 s/%([[:space:]]+)✓/%\1✓\!/' ./Luk.tex
sed -r -i '5000,5295 s/^\\intb(.*)%($| \*$)/\\intb\1% ✓\!\2/' ./Luk.tex
# ACT
#sed -r -i '15,15 s/%([[:space:]]+)✓/%\1✓\!/' ./Act.tex
#sed -r -i '15,15 s/^\\intb(.*)%($| \*$)/\\intb\1% ✓\!\2/' ./Act.tex
#############################################################
# remove empty ssc tags in final lines
sed -r -i 's/\[\* \]([[:punct:][:alnum:][:space:]]+) \}\{([A-Z])(.*)✓\x21/\1 }{\2\3✓\x21/g' ./*.tex
sed -r -i 's/\[\*\]([[:punct:][:alnum:][:space:]]+) \}\{([A-Z])(.*)✓\x21/\1 }{\2\3✓\x21/g' ./*.tex
sed -r -i 's/✓\!\!/✓\!/g' ./*.tex
# remove extras on markers
sed -r -i 's/\+\+\+\+/\+\+\+/g' ./*.tex
sed -r -i 's/✓\!\+\+\+/✓\!\+ ◘/g' ./*.tex
sed -r -i 's/✓\+\+\+/✓\+ ◘/g' ./*.tex
# greek adjust one space for comma
sed -r -i 's/\\intb(.{18})\}\{/\\intb\1 \}\{/g' ./*.tex
sed -r -i 's/\\intb(.{19})\}\{/\\intb\1 \}\{/g' ./*.tex
sed -r -i 's/\\intb(.{20})\}\{/\\intb\1 \}\{/g' ./*.tex
sed -r -i 's/\\intb(.{21})\}\{/\\intb\1 \}\{/g' ./*.tex
sed -r -i 's/\\intb(.{22})\}\{/\\intb\1 \}\{/g' ./*.tex
sed -r -i 's/\\intb(.{23})\}\{/\\intb\1 \}\{/g' ./*.tex
sed -r -i 's/\\intb(.{24})\}\{/\\intb\1 \}\{/g' ./*.tex
sed -r -i 's/\\intb(.{25})\}\{/\\intb\1 \}\{/g' ./*.tex
sed -r -i 's/\\intb(.{26})\}\{/\\intb\1 \}\{/g' ./*.tex
sed -r -i 's/\\intb(.{27}) \}\{/\\intb\1\}\{/g' ./*.tex
sed -r -i 's/\\intb(.{27}) \}\{/\\intb\1\}\{/g' ./*.tex
# pull morph column into place
sed -r -i 's/\\intb(.{107})([[:space:]]+)\}\{([VACPTNDXORAQI])/\\intb\1\}\{\3/g' ./*.tex
#sed -r -i 's/\\intb(.{110})\}\{([VACPTNDXORAQI])/\\intb\1 \}\{\2/g' ./*.tex
#sed -r -i 's/\\intb(.{109})\}\{([VACPTNDXORAQI])/\\intb\1 \}\{\2/g' ./*.tex
#sed -r -i 's/\\intb(.{108})\}\{([VACPTNDXORAQI])/\\intb\1 \}\{\2/g' ./*.tex
#sed -r -i 's/\\intb(.{107})\}\{([VACPTNDXORAQI])/\\intb\1 \}\{\2/g' ./*.tex
sed -r -i 's/\\intb(.{106})\}\{([VACPTNDXORAQI])/\\intb\1 \}\{\2/g' ./*.tex
sed -r -i 's/\\intb(.{105})\}\{([VACPTNDXORAQI])/\\intb\1 \}\{\2/g' ./*.tex
sed -r -i 's/\\intb(.{104})\}\{([VACPTNDXORAQI])/\\intb\1 \}\{\2/g' ./*.tex
sed -r -i 's/\\intb(.{103})\}\{([VACPTNDXORAQI])/\\intb\1 \}\{\2/g' ./*.tex
sed -r -i 's/\\intb(.{102})\}\{([VACPTNDXORAQI])/\\intb\1 \}\{\2/g' ./*.tex
sed -r -i 's/\\intb(.{101})\}\{([VACPTNDXORAQI])/\\intb\1 \}\{\2/g' ./*.tex
sed -r -i 's/\\intb(.{100})\}\{([VACPTNDXORAQI])/\\intb\1 \}\{\2/g' ./*.tex
sed -r -i 's/\\intb(.{99})\}\{([VACPTNDXORAQI])/\\intb\1 \}\{\2/g' ./*.tex
sed -r -i 's/\\intb(.{98})\}\{([VACPTNDXORAQI])/\\intb\1 \}\{\2/g' ./*.tex
sed -r -i 's/\\intb(.{97})\}\{([VACPTNDXORAQI])/\\intb\1 \}\{\2/g' ./*.tex
sed -r -i 's/\\intb(.{96})\}\{([VACPTNDXORAQI])/\\intb\1 \}\{\2/g' ./*.tex
sed -r -i 's/\\intb(.{95})\}\{([VACPTNDXORAQI])/\\intb\1 \}\{\2/g' ./*.tex
sed -r -i 's/\\intb(.{94})\}\{([VACPTNDXORAQI])/\\intb\1 \}\{\2/g' ./*.tex
sed -r -i 's/\\intb(.{93})\}\{([VACPTNDXORAQI])/\\intb\1 \}\{\2/g' ./*.tex
sed -r -i 's/\\intb(.{92})\}\{([VACPTNDXORAQI])/\\intb\1 \}\{\2/g' ./*.tex
sed -r -i 's/\\intb(.{91})\}\{([VACPTNDXORAQI])/\\intb\1 \}\{\2/g' ./*.tex
sed -r -i 's/\\intb(.{90})\}\{([VACPTNDXORAQI])/\\intb\1 \}\{\2/g' ./*.tex
sed -r -i 's/\\intb(.{89})\}\{([VACPTNDXORAQI])/\\intb\1 \}\{\2/g' ./*.tex
sed -r -i 's/\\intb(.{88})\}\{([VACPTNDXORAQI])/\\intb\1 \}\{\2/g' ./*.tex
sed -r -i 's/\\intb(.{87})\}\{([VACPTNDXORAQI])/\\intb\1 \}\{\2/g' ./*.tex
sed -r -i 's/\\intb(.{86})\}\{([VACPTNDXORAQI])/\\intb\1 \}\{\2/g' ./*.tex
sed -r -i 's/\\intb(.{85})\}\{([VACPTNDXORAQI])/\\intb\1 \}\{\2/g' ./*.tex
sed -r -i 's/\\intb(.{84})\}\{([VACPTNDXORAQI])/\\intb\1 \}\{\2/g' ./*.tex
sed -r -i 's/\\intb(.{83})\}\{([VACPTNDXORAQI])/\\intb\1 \}\{\2/g' ./*.tex
sed -r -i 's/\\intb(.{82})\}\{([VACPTNDXORAQI])/\\intb\1 \}\{\2/g' ./*.tex
sed -r -i 's/\\intb(.{81})\}\{([VACPTNDXORAQI])/\\intb\1 \}\{\2/g' ./*.tex
sed -r -i 's/\\intb(.{80})\}\{([VACPTNDXORAQI])/\\intb\1 \}\{\2/g' ./*.tex
exit 0;
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment