таблицы и графика будут внутри tex_parser.[c,h]

This commit is contained in:
Kolan Sh 2011-07-05 17:26:39 +04:00
parent 63165a934e
commit 15ea11fd4e
11 changed files with 427 additions and 322 deletions

View File

@ -66,17 +66,17 @@ $\,^{\circ}\mbox{C}$}
\selectlanguage{russian}%
\inputencoding{koi8-r}%
ÏÔ <<\rule[-1pt]{1.1cm}{0.4pt}>> \rule[-1pt]{2.5cm}{0.4pt}\inputencoding{latin9}\foreignlanguage{english}{
ÏÔ\_\_\_\_\_\_\_\_\_\_ <<\rule[-1pt]{1.1cm}{0.4pt}>> \rule[-1pt]{2.5cm}{0.4pt}\inputencoding{latin9}\foreignlanguage{english}{
20~~~~\textcyr{\char227}.~~~~~~\textcyr{\char196\char224\char226\char235\char229\char237\char232\char229}
\textcyr{\char237\char224\char240\char243\char230\char237\char238\char227\char238}
\textcyr{\char226\char238\char231\char228\char243\char245\char224},
$P_{\text{\textcyr{\char205}}}$\rule[-1pt]{1.0cm}{0.4pt} \textcyr{\char236\char236}.
\textcyr{\char240\char242}. \textcyr{\char241\char242}.}
\selectlanguage{english}%
DrosselTable2
\inputencoding{koi8-r}Drossel55.Table1
\begin{longtable}{|>{\centering}m{0.1\paperwidth}|>{\centering}m{0.04\paperwidth}|>{\centering}m{0.1\paperwidth}|>{\centering}m{0.09\paperwidth}|>{\centering}m{0.09\paperwidth}|>{\centering}m{0.1\paperwidth}|>{\centering}m{0.09\paperwidth}|}
\selectlanguage{english}%
\inputencoding{latin9}\begin{longtable}{|>{\centering}m{0.1\paperwidth}|>{\centering}m{0.04\paperwidth}|>{\centering}m{0.1\paperwidth}|>{\centering}m{0.09\paperwidth}|>{\centering}m{0.09\paperwidth}|>{\centering}m{0.1\paperwidth}|>{\centering}m{0.09\paperwidth}|}
\hline
\linebreak\multirow{2}{0.06\paperwidth}{\inputencoding{koi8-r}\foreignlanguage{russian}{òÅÖÉÍ
ÒÁÂÏÔÙ Ä×ÉÇÁÔÅÌÑ}} & & \linebreak\multirow{2}{0.1\paperwidth}{\inputencoding{koi8-r}\foreignlanguage{russian}{íÏÝÎÏÓÔØ
@ -150,20 +150,52 @@ DrosselTable2
\begin{flushleft}
{*} - \textcyr{\char232\char231\char236\char229\char240\char229\char237\char237\char251\char229}
\textcyr{\char239\char224\char240\char224\char236\char229\char242\char240\char251}\hspace*{1in}\textbf{\textsc{\textcyr{\char205\char224\char241\char242\char240\char238\char229\char247\char237\char251\char229}
\textcyr{\char239\char224\char240\char224\char236\char229\char242\char240\char251}}}\textsc{}\begin{longtable}{|>{\centering}m{0.15\paperwidth}|>{\centering}m{0.15\paperwidth}|>{\centering}m{0.1\paperwidth}|>{\centering}m{0.1\paperwidth}|>{\centering}m{0.1\paperwidth}|}
\textcyr{\char239\char224\char240\char224\char236\char229\char242\char240\char251}}}
\par\end{flushleft}
\selectlanguage{russian}%
\begin{flushleft}
\inputencoding{koi8-r}Drossel55.Table2\inputencoding{latin9}\foreignlanguage{english}{\textsc{}}\begin{longtable}{|>{\centering}m{0.15\paperwidth}|>{\centering}m{0.15\paperwidth}|>{\centering}m{0.1\paperwidth}|>{\centering}m{0.1\paperwidth}|>{\centering}m{0.1\paperwidth}|}
\hline
\multicolumn{2}{|>{\centering}m{0.2\paperwidth}|}{\centering{}\textbf{\textcyr{\char207\char224\char240\char224\char236\char229\char242\char240}}} & \multirow{2}{0.1\paperwidth}{\textbf{\textcyr{\char206\char225\char238\char231\char237\char224\char247\char229\char237\char232\char229}}\inputencoding{koi8-r}\foreignlanguage{russian}{}} & \inputencoding{latin9}\multirow{2}{0.1\paperwidth}{\textbf{\textcyr{\char208\char229\char230\char232\char236}}\inputencoding{koi8-r}\foreignlanguage{russian}{}} &
\lyxaddress{\multirow{2}{0.1\paperwidth}{\textbf{\textcyr{\char199\char237\char224\char247\char229\char237\char232\char229},
\multicolumn{2}{|>{\centering}m{0.2\paperwidth}|}{\selectlanguage{english}%
\centering{}\textbf{\textcyr{\char207\char224\char240\char224\char236\char229\char242\char240}}\selectlanguage{russian}
} & \selectlanguage{english}%
\inputencoding{latin9}\multirow{2}{0.1\paperwidth}{\textbf{\textcyr{\char206\char225\char238\char231\char237\char224\char247\char229\char237\char232\char229}}\inputencoding{koi8-r}\foreignlanguage{russian}{}}\selectlanguage{russian}
& \selectlanguage{english}%
\inputencoding{latin9}\multirow{2}{0.1\paperwidth}{\textbf{\textcyr{\char208\char229\char230\char232\char236}}\inputencoding{koi8-r}\foreignlanguage{russian}{}}\selectlanguage{russian}
& \selectlanguage{english}%
\lyxaddress{\inputencoding{latin9}\multirow{2}{0.1\paperwidth}{\textbf{\textcyr{\char199\char237\char224\char247\char229\char237\char232\char229},
\textcyr{\char239\char238\char235\char243\char247\char229\char237\char237\char238\char229}
\textcyr{\char239\char240\char232} \textcyr{\char232\char241\char239\char251\char242\char224\char237\char232\char232}}\inputencoding{koi8-r}\foreignlanguage{russian}{}}}\tabularnewline
\textcyr{\char239\char240\char232} \textcyr{\char232\char241\char239\char251\char242\char224\char237\char232\char232}}\inputencoding{koi8-r}\foreignlanguage{russian}{}}}\selectlanguage{russian}
\tabularnewline
\cline{1-2}
\multicolumn{2}{|c|}{\textbf{\textcyr{\char205\char224\char232\char236\char229\char237\char238\char226\char224\char237\char232\char229}
\multicolumn{2}{|>{\centering}p{0.2\paperwidth}|}{\selectlanguage{english}%
\inputencoding{latin9}%
\textbf{\textcyr{\char205\char224\char232\char236\char229\char237\char238\char226\char224\char237\char232\char229}
\textcyr{\char232} \textcyr{\char229\char228\char232\char237\char232\char246\char224}
\textcyr{\char232\char231\char236\char229\char240\char229\char237\char232\char255}}} & & & \tabularnewline
\textcyr{\char232\char231\char236\char229\char240\char229\char237\char232\char255}}\selectlanguage{russian}
} & \selectlanguage{english}%
\selectlanguage{russian}
& \selectlanguage{english}%
\selectlanguage{russian}
& \selectlanguage{english}%
\selectlanguage{russian}
\tabularnewline
\endhead
\hline
\multicolumn{2}{|c|}{1} & 2 & 3 & 4\tabularnewline
\multicolumn{2}{|c|}{\selectlanguage{english}%
\inputencoding{latin9}1\selectlanguage{russian}
} & \selectlanguage{english}%
2\selectlanguage{russian}
& \selectlanguage{english}%
\inputencoding{latin9}3\selectlanguage{russian}
& \selectlanguage{english}%
4\selectlanguage{russian}
\tabularnewline
\hline
\multicolumn{2}{|>{\centering}p{0.2\paperwidth}|}{%
\multicolumn{2}{|>{\centering}p{0.2\paperwidth}|}{\selectlanguage{english}%
\inputencoding{latin9}%
\begin{minipage}[t]{0.45\columnwidth}%
\textcyr{\char205\char224\char241\char242\char240\char238\char229\char247\char237\char224\char255}
\textcyr{\char226\char229\char235\char232\char247\char232\char237\char224}
@ -172,9 +204,18 @@ DrosselTable2
\textcyr{\char240\char238\char242\char238\char240\char224} \textcyr{\char242\char243\char240\char225\char238\char234\char238\char236\char239\char240\char229\char241\char241\char238\char240\char224},
\%%
\end{minipage}} & \centering{}$n_{\text{\textcyr{\char242}\textcyr{\char234}\_\textcyr{\char236}\textcyr{\char227}}}0$ & \textcyr{\char204\char195} & \tabularnewline
\end{minipage}\selectlanguage{russian}
} & \selectlanguage{english}%
\centering{}$n_{\text{\textcyr{\char242}\textcyr{\char234}\_\textcyr{\char236}\textcyr{\char227}}}0$\selectlanguage{russian}
& \selectlanguage{english}%
\inputencoding{latin9}%
\textcyr{\char204\char195}\selectlanguage{russian}
& \selectlanguage{english}%
\selectlanguage{russian}
\tabularnewline
\hline
\multicolumn{2}{|>{\centering}p{0.08\paperwidth}|}{%
\multicolumn{2}{|>{\centering}p{0.08\paperwidth}|}{\selectlanguage{english}%
\inputencoding{latin9}%
\begin{minipage}[t]{0.45\columnwidth}%
\textcyr{\char205\char224\char241\char242\char240\char238\char229\char247\char237\char224\char255}
\textcyr{\char226\char229\char235\char232\char247\char232\char237\char224}
@ -183,9 +224,17 @@ DrosselTable2
\textcyr{\char240\char238\char242\char238\char240\char224} \textcyr{\char242\char243\char240\char225\char238\char234\char238\char236\char239\char240\char229\char241\char241\char238\char240\char224},
\%%
\end{minipage}} & \centering{}$n_{\text{\textcyr{\char242}\textcyr{\char234}\_\textcyr{\char226}\textcyr{\char231}\textcyr{\char235}}}0$ & <<\textcyr{\char194\char231\char235\char188\char242}>> & \tabularnewline
\end{minipage}\selectlanguage{russian}
} & \selectlanguage{english}%
\centering{}$n_{\text{\textcyr{\char242}\textcyr{\char234}\_\textcyr{\char226}\textcyr{\char231}\textcyr{\char235}}}0$\selectlanguage{russian}
& \selectlanguage{english}%
\inputencoding{latin9}<<\textcyr{\char194\char231\char235\char188\char242}>>\selectlanguage{russian}
& \selectlanguage{english}%
\selectlanguage{russian}
\tabularnewline
\hline
\multicolumn{2}{|c|}{%
\multicolumn{2}{|c|}{\selectlanguage{english}%
\inputencoding{latin9}%
\begin{minipage}[c]{0.45\columnwidth}%
\textcyr{\char205\char224\char241\char242\char240\char238\char229\char247\char237\char224\char255}
\textcyr{\char226\char229\char235\char232\char247\char232\char237\char224}
@ -194,9 +243,18 @@ DrosselTable2
\textcyr{\char226\char240\char224\char249\char229\char237\char232\char255}
\textcyr{\char240\char238\char242\char238\char240\char224} \textcyr{\char242\char243\char240\char225\char238\char234\char238\char236\char239\char240\char229\char241\char241\char238\char240\char224},
\%%
\end{minipage}} & \centering{}$n_{\text{\textcyr{\char242}\textcyr{\char234}\_\textcyr{\char236}\textcyr{\char232}\textcyr{\char237}}}0$ & \textcyr{\char204\char195} & \tabularnewline
\end{minipage}\selectlanguage{russian}
} & \selectlanguage{english}%
\centering{}$n_{\text{\textcyr{\char242}\textcyr{\char234}\_\textcyr{\char236}\textcyr{\char232}\textcyr{\char237}}}0$\selectlanguage{russian}
& \selectlanguage{english}%
\inputencoding{latin9}%
\textcyr{\char204\char195}\selectlanguage{russian}
& \selectlanguage{english}%
\selectlanguage{russian}
\tabularnewline
\hline
\multicolumn{2}{|c|}{%
\multicolumn{2}{|c|}{\selectlanguage{english}%
\inputencoding{latin9}%
\begin{minipage}[t]{0.45\columnwidth}%
\textcyr{\char205\char224\char241\char242\char240\char238\char229\char247\char237\char224\char255}
\textcyr{\char226\char229\char235\char232\char247\char232\char237\char224}
@ -206,9 +264,17 @@ DrosselTable2
\textcyr{\char240\char238\char242\char238\char240\char224} \textcyr{\char242\char243\char240\char225\char238\char234\char238\char236\char239\char240\char229\char241\char241\char238\char240\char224}
\textcyr{\char239\char240\char232} <<\textcyr{\char208\char224\char231\char240\char229\char248\char229\char237\char232\char232}
\textcyr{\char208\char207\char204}>>,\%%
\end{minipage}} & \centering{}$\Delta n_{\text{\textcyr{\char242}\textcyr{\char234}\_\textcyr{\char226}\textcyr{\char231}\textcyr{\char235}}}0$ & <<\textcyr{\char194\char231\char235\char188\char242}>> & \tabularnewline
\end{minipage}\selectlanguage{russian}
} & \selectlanguage{english}%
\centering{}$\Delta n_{\text{\textcyr{\char242}\textcyr{\char234}\_\textcyr{\char226}\textcyr{\char231}\textcyr{\char235}}}0$\selectlanguage{russian}
& \selectlanguage{english}%
\inputencoding{latin9}<<\textcyr{\char194\char231\char235\char188\char242}>>\selectlanguage{russian}
& \selectlanguage{english}%
\selectlanguage{russian}
\tabularnewline
\hline
\multicolumn{2}{|>{\centering}p{0.08\paperwidth}|}{%
\multicolumn{2}{|>{\centering}p{0.08\paperwidth}|}{\selectlanguage{english}%
\inputencoding{latin9}%
\begin{minipage}[t]{0.45\columnwidth}%
\textcyr{\char205\char224\char241\char242\char240\char238\char229\char247\char237\char224\char255}
\textcyr{\char226\char229\char235\char232\char247\char232\char237\char224}
@ -219,35 +285,80 @@ DrosselTable2
\textcyr{\char239\char238} \textcyr{\char234\char238\char236\char224\char237\char228\char229}
<<\textcyr{\char210\char240\char229\char237\char232\char240\char238\char226\char238\char247\char237\char251\char233}
\textcyr{\char240\char229\char230\char232\char236}>>, \%%
\end{minipage}} & \centering{}$\Delta n_{\text{\textcyr{\char242}\textcyr{\char234}\_\textcyr{\char242}\textcyr{\char240}}}0$ & <<\textcyr{\char194\char231\char235\char188\char242}>> & \tabularnewline
\end{minipage}\selectlanguage{russian}
} & \selectlanguage{english}%
\centering{}$\Delta n_{\text{\textcyr{\char242}\textcyr{\char234}\_\textcyr{\char242}\textcyr{\char240}}}0$\selectlanguage{russian}
& \selectlanguage{english}%
\inputencoding{latin9}<<\textcyr{\char194\char231\char235\char188\char242}>>\selectlanguage{russian}
& \selectlanguage{english}%
\selectlanguage{russian}
\tabularnewline
\hline
\multicolumn{2}{|c|}{%
\multicolumn{2}{|c|}{\selectlanguage{english}%
\inputencoding{latin9}%
\begin{minipage}[t]{0.45\columnwidth}%
\textcyr{\char208\char224\char241\char245\char238\char228\char237\char251\char233}
\textcyr{\char234\char238\char253\char244\char244\char232\char246\char232\char229\char237\char242}
1-\textcyr{\char227\char238} \textcyr{\char234\char238\char237\char242\char243\char240\char224}
\textcyr{\char244\char238\char240\char241\char243\char237\char238\char234}%
\end{minipage}} & \centering{}$\Psi_{(\mu F)}$ & - & \tabularnewline
\end{minipage}\selectlanguage{russian}
} & \selectlanguage{english}%
\centering{}$\Psi_{(\mu F)}$\selectlanguage{russian}
& \selectlanguage{english}%
\inputencoding{latin9}-\selectlanguage{russian}
& \selectlanguage{english}%
\selectlanguage{russian}
\tabularnewline
\hline
\multicolumn{2}{|>{\centering}p{0.1\paperwidth}|}{%
\multicolumn{2}{|>{\centering}p{0.1\paperwidth}|}{\selectlanguage{english}%
\inputencoding{latin9}%
\begin{minipage}[t]{0.45\columnwidth}%
\textcyr{\char207\char240\char238\char227\char240\char224\char236\char236\char237\char251\char233}
\textcyr{\char240\char224\char241\char245\char238\char228} \textcyr{\char242\char238\char239\char235\char232\char226\char224}
\textcyr{\char226} \textcyr{\char208\char209}, \textcyr{\char234\char227}/\textcyr{\char247}%
\end{minipage}} & \centering{}$G_{\text{\textcyr{\char242} \textcyr{\char239}\textcyr{\char240}\textcyr{\char238}\textcyr{\char227} \textcyr{\char208}\textcyr{\char209} \textcyr{\char204}\textcyr{\char195}}}$ & - & \tabularnewline
\end{minipage}\selectlanguage{russian}
} & \selectlanguage{english}%
\centering{}$G_{\text{\textcyr{\char242} \textcyr{\char239}\textcyr{\char240}\textcyr{\char238}\textcyr{\char227} \textcyr{\char208}\textcyr{\char209} \textcyr{\char204}\textcyr{\char195}}}$\selectlanguage{russian}
& \selectlanguage{english}%
\inputencoding{latin9}-\selectlanguage{russian}
& \selectlanguage{english}%
\selectlanguage{russian}
\tabularnewline
\hline
\multirow{2}{0.15\paperwidth}{\inputencoding{koi8-r}\foreignlanguage{russian}{ðÁÒÁÍÅÔÒÙ
ÉÚÍÅÒÉÔÅÌÑ ËÒÕÔÑÝÅÇÏ ÍÏÍÅÎÔÁ}} & \inputencoding{latin9}%
\selectlanguage{english}%
\inputencoding{latin9}\multirow{2}{0.15\paperwidth}{\inputencoding{koi8-r}\foreignlanguage{russian}{ðÁÒÁÍÅÔÒÙ
ÉÚÍÅÒÉÔÅÌÑ ËÒÕÔÑÝÅÇÏ ÍÏÍÅÎÔÁ}}\selectlanguage{russian}
& \selectlanguage{english}%
\inputencoding{latin9}%
\textcyr{\char205\char224\char247\char224\char235\char252\char237\char238\char229}
\textcyr{\char241\char236\char229\char249\char229\char237\char232\char229},
\textcyr{\char227\char240\char224\char228} & \centering{}$\phi_{\text{\textcyr{\char232}\textcyr{\char234}\textcyr{\char236}}}0$ & \multirow{2}{0.1\paperwidth}{-} & \tabularnewline
\textcyr{\char227\char240\char224\char228}\selectlanguage{russian}
& \selectlanguage{english}%
\centering{}$\phi_{\text{\textcyr{\char232}\textcyr{\char234}\textcyr{\char236}}}0$\selectlanguage{russian}
& \selectlanguage{english}%
\inputencoding{latin9}\multirow{2}{0.1\paperwidth}{-}\selectlanguage{russian}
& \selectlanguage{english}%
\selectlanguage{russian}
\tabularnewline
\cline{2-3} \cline{5-5}
& \textcyr{\char202\char238\char253\char244\char244\char232\char246\char232\char229\char237\char242}
\textcyr{\char245\char224\char240\char224\char234\char242\char229\char240\char232\char241\char242\char232\char234\char232} & \centering{}$K$ & & \tabularnewline
\selectlanguage{english}%
\selectlanguage{russian}
& \selectlanguage{english}%
\inputencoding{latin9}%
\textcyr{\char202\char238\char253\char244\char244\char232\char246\char232\char229\char237\char242}
\textcyr{\char245\char224\char240\char224\char234\char242\char229\char240\char232\char241\char242\char232\char234\char232}\selectlanguage{russian}
& \selectlanguage{english}%
\centering{}$K$\selectlanguage{russian}
& \selectlanguage{english}%
\selectlanguage{russian}
& \selectlanguage{english}%
\selectlanguage{russian}
\tabularnewline
\hline
\end{longtable}
\par\end{flushleft}
\selectlanguage{english}%
\textcyr{\char208\char224\char241\char245\char238\char228} \textcyr{\char236\char224\char241\char235\char224},
\textcyr{\char235}/\textcyr{\char247} \rule[-1pt]{2.0cm}{0.4pt} (\textcyr{\char237\char229}
\textcyr{\char225\char238\char235\char229\char229} 0,2)
@ -261,6 +372,12 @@ DrosselTable2
$G_{\text{\textcyr{\char242}}}=f(\alpha_{\text{\textcyr{\char228}\textcyr{\char234}}})$}
\par\end{flushleft}
\selectlanguage{russian}%
\begin{flushleft}
\inputencoding{koi8-r}Drossel55.Table3
\par\end{flushleft}
\selectlanguage{english}%
\begin{flushleft}
\begin{longtable}{|>{\centering}p{0.15\paperwidth}|>{\centering}p{0.1\paperwidth}|>{\centering}p{0.03\paperwidth}|>{\centering}p{0.03\paperwidth}|>{\centering}p{0.03\paperwidth}|>{\centering}p{0.03\paperwidth}|>{\centering}p{0.03\paperwidth}|>{\centering}p{0.03\paperwidth}|>{\centering}p{0.03\paperwidth}|>{\centering}p{0.03\paperwidth}|>{\centering}p{0.03\paperwidth}|>{\centering}p{0.03\paperwidth}|}
\hline

View File

@ -29,15 +29,25 @@ void tex_parse(const char *source, size_t len, struct tex_struct_s **tex_struct,
IN_SPACE, // space, \tag { for example
IN_TAGPARM, // in \tag{} curly braces
IN_TAG_BEGIN,
IN_TAG_CLINE,
IN_TAG_END,
IN_TAG_ENDFOOT,
IN_TAG_ENDHEAD,
IN_TAG_HLINE,
IN_TAG_HSPACE,
IN_TAG_MULTICOLUMN,
IN_TAG_MULTIROW,
IN_TAG_TABULARNEWLINE,
IN_TABLE,
IN_TABLE_PARAMS, // column properties devided by '>'
IN_TABLE_TAG_HLINE,
IN_TABLE_TAG_MULTICOLUMN,
IN_TABLE_COMMENT,
IN_TABLE_TAG,
IN_TABLE_TAG_UNKNOWN,
IN_TABLE_SPACE,
IN_TABLE_TAGPARM,
IN_TABLE_TAG_CLINE,
IN_TABLE_TAG_ENDFOOT,
IN_TABLE_TAG_ENDHEAD,
IN_TABLE_TAG_HSPACE,
IN_TABLE_TAG_MULTIROW,
IN_FORMULA, // in $...$
} where_stack[MAX_TEX_STACK_LEVEL] = {IN_UNDEF};
@ -110,30 +120,9 @@ void tex_parse(const char *source, size_t len, struct tex_struct_s **tex_struct,
if (!strcmp(tag, TEX_TAG_BEGIN))
where_stack[tex_level] = IN_TAG_BEGIN;
else if (!strcmp(tag, TEX_TAG_CLINE))
where_stack[tex_level] = IN_TAG_CLINE;
else if (!strcmp(tag, TEX_TAG_END))
where_stack[tex_level] = IN_TAG_END;
else if (!strcmp(tag, TEX_TAG_ENDFOOT))
where_stack[tex_level] = IN_TAG_ENDFOOT;
else if (!strcmp(tag, TEX_TAG_ENDHEAD))
where_stack[tex_level] = IN_TAG_ENDHEAD;
else if (!strcmp(tag, TEX_TAG_HLINE))
where_stack[tex_level] = IN_TAG_HLINE;
else if (!strcmp(tag, TEX_TAG_HSPACE))
where_stack[tex_level] = IN_TAG_HSPACE;
else if (!strcmp(tag, TEX_TAG_MULTICOLUMN))
where_stack[tex_level] = IN_TAG_MULTICOLUMN;
else if (!strcmp(tag, TEX_TAG_MULTIROW))
where_stack[tex_level] = IN_TAG_MULTIROW;
else if (!strcmp(tag, TEX_TAG_TABULARNEWLINE))
where_stack[tex_level] = IN_TAG_TABULARNEWLINE;
@ -168,6 +157,10 @@ void tex_parse(const char *source, size_t len, struct tex_struct_s **tex_struct,
#endif
where_stack[tex_level--] = IN_UNDEF;
if (tex_level && where_stack[tex_level - 1] == IN_TAG_BEGIN
&& !strcmp(param, TEX_PARAM_TABLE))
where_stack[tex_level++] = IN_TABLE;//??????????????????????
} else if (c == '\\') { // new tag
zclear(&tag);
where_stack[++tex_level] = IN_TAG;
@ -188,70 +181,8 @@ void tex_parse(const char *source, size_t len, struct tex_struct_s **tex_struct,
case IN_TAG_UNKNOWN:
case IN_TAG_BEGIN:
case IN_TAG_CLINE:
case IN_TAG_END:
case IN_TAG_ENDFOOT:
case IN_TAG_ENDHEAD:
case IN_TAG_HLINE:
case IN_TAG_HSPACE:
case IN_TAG_MULTICOLUMN:
case IN_TAG_MULTIROW:
case IN_TAG_TABULARNEWLINE:
/*switch (where_stack[tex_level]) {
case IN_TAG_UNKNOWN:
break;
case IN_TAG_BEGIN:
break;
case IN_TAG_CLINE:
break;
case IN_TAG_END:
break;
case IN_TAG_ENDFOOT:
break;
case IN_TAG_ENDHEAD:
break;
case IN_TAG_HLINE:
break;
case IN_TAG_HSPACE:
break;
case IN_TAG_MULTICOLUMN:
break;
case IN_TAG_MULTIROW:
break;
case IN_TAG_TABULARNEWLINE:
break;
default:
z_set_error(error, TEX_PARSER_DOMAIN, TEX_PARSER_ERROR_UNKNOWN,
"tex_parse(): IN_(%d) error in code(uncontrolled nested switch case),"
" symbol %c(0x%2.2x) at position %d",
where_stack[tex_level], source[i], (u_int8_t)source[i], i);
return;
break;
}//*/
if (c == '{' || c == '[') {
zclear(&param);
where_stack[++tex_level] = IN_TAGPARM;

View File

@ -16,16 +16,13 @@ long_line_behaviour=1
long_line_column=72
[files]
current_page=0
FILE_NAME_0=79;C;0;16;1;1;1;/home/kolan/dev/c/tex_parser/tex_parser_test.c;0
FILE_NAME_1=5881;C;0;16;1;1;1;/home/kolan/dev/c/tex_parser/tex_parser.c;0
FILE_NAME_2=298;C;0;16;1;1;1;/home/kolan/dev/c/tex_parser/tex_parser.h;0
FILE_NAME_3=525;C;0;16;1;1;1;/home/kolan/dev/c/tex_parser/tex_parser_tags.h;0
FILE_NAME_4=50;C;0;16;1;1;1;/home/kolan/dev/c/tex_parser/tex_parser_table.c;0
FILE_NAME_5=57;C;0;16;1;1;1;/home/kolan/dev/c/tex_parser/tex_parser_table.h;0
FILE_NAME_6=97;C;0;16;1;1;1;/home/kolan/dev/c/tex_parser/tex_parser_const.h;0
FILE_NAME_7=3556;Make;0;16;1;1;1;/home/kolan/dev/c/tex_parser/Makefile;0
FILE_NAME_8=0;C;0;16;1;1;1;/home/kolan/projects/include/zerror.h;0
current_page=3
FILE_NAME_0=889;C;0;16;1;1;1;/home/kolan/dev/c/tex_parser/tex_parser_test.c;0
FILE_NAME_1=298;C;0;16;1;1;1;/home/kolan/dev/c/tex_parser/tex_parser.c;0
FILE_NAME_2=58;C;0;16;1;1;1;/home/kolan/dev/c/tex_parser/tex_parser_table.c;0
FILE_NAME_3=299;C;0;16;1;1;1;/home/kolan/dev/c/tex_parser/tex_parser_table.h;0
FILE_NAME_4=1619;C;0;16;1;1;1;/home/kolan/dev/c/tex_parser/tex_parser.h;0
FILE_NAME_5=579;C;0;16;1;1;1;/home/kolan/dev/c/tex_parser/tex_parser_tags.h;0
[build-menu]
NF_00_LB=_Сделать

View File

@ -29,6 +29,40 @@ enum tex_parser_error {
TEX_PARSER_ERROR_UNEXPECTED_SYMBOL,
};
/**
* struct tex_table_row_s - LaTeX table row
*
*
*/
struct tex_table_row_s {
char **cells;
char *after; // \hline, \cline{4-5} etc.
};
/**
* struct tex_table_s - LaTeX table
*
*
*
*/
struct tex_table_s {
size_t document_offset; // offset (in sybmols) in the LaTeX document
size_t document_size; // size (in symbols) in the LaTeX document
char *id; // "Drossel1.Table1"
char **col_props; // divided by >
struct tex_table_row_s *head_table; // divided by &
struct tex_table_row_s *foot_table; // divided by & and \tabularnewline
struct tex_table_row_s *main_table; // divided by & and \tabularnewline
};
/**
*
*
*/
struct tex_graphics {
void *something;
};
/**
* enum tex_element_type - Type of LaTeX element
*
@ -57,8 +91,8 @@ struct tex_elem_s {
union {
char *text;
void *table;
void *graphics;
struct tex_table_s *table;
struct tex_graphics_s *graphics;
} data;
};

View File

@ -1,6 +0,0 @@
#include "tex_parser_graphics.h"
void sssttuubbsdf()
{
}

View File

@ -1,4 +0,0 @@
#ifndef _TEX_PARSER_GRAPHICS_H
#define _TEX_PARSER_GRAPHICS_H
#endif

View File

@ -1,6 +0,0 @@
#include "tex_parser_table.h"
void sssttuubbasfsd()
{
}

View File

@ -1,75 +0,0 @@
#ifndef _TEX_PARSER_TABLE_H
#define _TEX_PARSER_TABLE_H
#include <sys/types.h>
struct tex_table_cell_elem_s {
};
/**
*
*
*
*
*/
struct cell_s {
char *before;
char *request;
char *after;
};
/**
*
*
*
*
*
*/
struct row_s {
char *before;
struct cell_s *cells;
char *after;
};
/**
*
*
*
*
*/
struct header_s {
char *before;
struct row_s *rows;
char *after;
};
/**
*
*
*
*
*/
struct footer_s {
char *before;
struct row_s *rows;
char *after;
};
/**
*
*
*
*
*/
struct table_s {
size_t document_offset; // offset in the LaTeX document
size_t document_size; // size in the LaTeX document
char *id; // "Drossel1.Table1"
char **column_scheme; // "|>{\centering}m{0.1\paperwidth}"
struct header_s header;
struct footer_s footer;
struct row_s *rows;
};
#endif

View File

@ -13,6 +13,6 @@
#define TEX_TAG_TABULARNEWLINE "tabularnewline"
#define TEX_TAG_INCLUDEGRAPHICS "includegraphics"
#define TEX_PARAM_LONGTABLE "longtable"
#define TEX_PARAM_TABLE "longtable"
#endif

View File

@ -1531,7 +1531,7 @@ Drossel55.Table2
<column alignment="center" valignment="middle" width="10page%">
<column alignment="center" valignment="middle" width="10page%">
<column alignment="center" valignment="middle" width="10page%">
<row>
<row endhead="true">
<cell multicolumn="1" alignment="center" valignment="middle" topline="true" leftline="true" usebox="none" width="20page%">
\begin_inset Text
@ -1671,8 +1671,8 @@ status open
\end_inset
</cell>
</row>
<row>
<cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
<row endhead="true">
<cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" usebox="none" width="20page%">
\begin_inset Text
\begin_layout Plain Layout

View File

@ -66,17 +66,17 @@ $\,^{\circ}\mbox{C}$}
\selectlanguage{russian}%
\inputencoding{koi8-r}%
ÏÔ <<\rule[-1pt]{1.1cm}{0.4pt}>> \rule[-1pt]{2.5cm}{0.4pt}\inputencoding{latin9}\foreignlanguage{english}{
ÏÔ\_\_\_\_\_\_\_\_\_\_ <<\rule[-1pt]{1.1cm}{0.4pt}>> \rule[-1pt]{2.5cm}{0.4pt}\inputencoding{latin9}\foreignlanguage{english}{
20~~~~\textcyr{\char227}.~~~~~~\textcyr{\char196\char224\char226\char235\char229\char237\char232\char229}
\textcyr{\char237\char224\char240\char243\char230\char237\char238\char227\char238}
\textcyr{\char226\char238\char231\char228\char243\char245\char224},
$P_{\text{\textcyr{\char205}}}$\rule[-1pt]{1.0cm}{0.4pt} \textcyr{\char236\char236}.
\textcyr{\char240\char242}. \textcyr{\char241\char242}.}
\selectlanguage{english}%
DrosselTable2
\inputencoding{koi8-r}Drossel55.Table1
\begin{longtable}{|>{\centering}m{0.1\paperwidth}|>{\centering}m{0.04\paperwidth}|>{\centering}m{0.1\paperwidth}|>{\centering}m{0.09\paperwidth}|>{\centering}m{0.09\paperwidth}|>{\centering}m{0.1\paperwidth}|>{\centering}m{0.09\paperwidth}|}
\selectlanguage{english}%
\inputencoding{latin9}\begin{longtable}{|>{\centering}m{0.1\paperwidth}|>{\centering}m{0.04\paperwidth}|>{\centering}m{0.1\paperwidth}|>{\centering}m{0.09\paperwidth}|>{\centering}m{0.09\paperwidth}|>{\centering}m{0.1\paperwidth}|>{\centering}m{0.09\paperwidth}|}
\hline
\linebreak\multirow{2}{0.06\paperwidth}{\inputencoding{koi8-r}\foreignlanguage{russian}{òÅÖÉÍ
ÒÁÂÏÔÙ Ä×ÉÇÁÔÅÌÑ}} & & \linebreak\multirow{2}{0.1\paperwidth}{\inputencoding{koi8-r}\foreignlanguage{russian}{íÏÝÎÏÓÔØ
@ -150,20 +150,52 @@ DrosselTable2
\begin{flushleft}
{*} - \textcyr{\char232\char231\char236\char229\char240\char229\char237\char237\char251\char229}
\textcyr{\char239\char224\char240\char224\char236\char229\char242\char240\char251}\hspace*{1in}\textbf{\textsc{\textcyr{\char205\char224\char241\char242\char240\char238\char229\char247\char237\char251\char229}
\textcyr{\char239\char224\char240\char224\char236\char229\char242\char240\char251}}}\textsc{}\begin{longtable}{|>{\centering}m{0.15\paperwidth}|>{\centering}m{0.15\paperwidth}|>{\centering}m{0.1\paperwidth}|>{\centering}m{0.1\paperwidth}|>{\centering}m{0.1\paperwidth}|}
\textcyr{\char239\char224\char240\char224\char236\char229\char242\char240\char251}}}
\par\end{flushleft}
\selectlanguage{russian}%
\begin{flushleft}
\inputencoding{koi8-r}Drossel55.Table2\inputencoding{latin9}\foreignlanguage{english}{\textsc{}}\begin{longtable}{|>{\centering}m{0.15\paperwidth}|>{\centering}m{0.15\paperwidth}|>{\centering}m{0.1\paperwidth}|>{\centering}m{0.1\paperwidth}|>{\centering}m{0.1\paperwidth}|}
\hline
\multicolumn{2}{|>{\centering}m{0.2\paperwidth}|}{\centering{}\textbf{\textcyr{\char207\char224\char240\char224\char236\char229\char242\char240}}} & \multirow{2}{0.1\paperwidth}{\textbf{\textcyr{\char206\char225\char238\char231\char237\char224\char247\char229\char237\char232\char229}}\inputencoding{koi8-r}\foreignlanguage{russian}{}} & \inputencoding{latin9}\multirow{2}{0.1\paperwidth}{\textbf{\textcyr{\char208\char229\char230\char232\char236}}\inputencoding{koi8-r}\foreignlanguage{russian}{}} &
\lyxaddress{\multirow{2}{0.1\paperwidth}{\textbf{\textcyr{\char199\char237\char224\char247\char229\char237\char232\char229},
\multicolumn{2}{|>{\centering}m{0.2\paperwidth}|}{\selectlanguage{english}%
\centering{}\textbf{\textcyr{\char207\char224\char240\char224\char236\char229\char242\char240}}\selectlanguage{russian}
} & \selectlanguage{english}%
\inputencoding{latin9}\multirow{2}{0.1\paperwidth}{\textbf{\textcyr{\char206\char225\char238\char231\char237\char224\char247\char229\char237\char232\char229}}\inputencoding{koi8-r}\foreignlanguage{russian}{}}\selectlanguage{russian}
& \selectlanguage{english}%
\inputencoding{latin9}\multirow{2}{0.1\paperwidth}{\textbf{\textcyr{\char208\char229\char230\char232\char236}}\inputencoding{koi8-r}\foreignlanguage{russian}{}}\selectlanguage{russian}
& \selectlanguage{english}%
\lyxaddress{\inputencoding{latin9}\multirow{2}{0.1\paperwidth}{\textbf{\textcyr{\char199\char237\char224\char247\char229\char237\char232\char229},
\textcyr{\char239\char238\char235\char243\char247\char229\char237\char237\char238\char229}
\textcyr{\char239\char240\char232} \textcyr{\char232\char241\char239\char251\char242\char224\char237\char232\char232}}\inputencoding{koi8-r}\foreignlanguage{russian}{}}}\tabularnewline
\textcyr{\char239\char240\char232} \textcyr{\char232\char241\char239\char251\char242\char224\char237\char232\char232}}\inputencoding{koi8-r}\foreignlanguage{russian}{}}}\selectlanguage{russian}
\tabularnewline
\cline{1-2}
\multicolumn{2}{|c|}{\textbf{\textcyr{\char205\char224\char232\char236\char229\char237\char238\char226\char224\char237\char232\char229}
\multicolumn{2}{|>{\centering}p{0.2\paperwidth}|}{\selectlanguage{english}%
\inputencoding{latin9}%
\textbf{\textcyr{\char205\char224\char232\char236\char229\char237\char238\char226\char224\char237\char232\char229}
\textcyr{\char232} \textcyr{\char229\char228\char232\char237\char232\char246\char224}
\textcyr{\char232\char231\char236\char229\char240\char229\char237\char232\char255}}} & & & \tabularnewline
\textcyr{\char232\char231\char236\char229\char240\char229\char237\char232\char255}}\selectlanguage{russian}
} & \selectlanguage{english}%
\selectlanguage{russian}
& \selectlanguage{english}%
\selectlanguage{russian}
& \selectlanguage{english}%
\selectlanguage{russian}
\tabularnewline
\endhead
\hline
\multicolumn{2}{|c|}{1} & 2 & 3 & 4\tabularnewline
\multicolumn{2}{|c|}{\selectlanguage{english}%
\inputencoding{latin9}1\selectlanguage{russian}
} & \selectlanguage{english}%
2\selectlanguage{russian}
& \selectlanguage{english}%
\inputencoding{latin9}3\selectlanguage{russian}
& \selectlanguage{english}%
4\selectlanguage{russian}
\tabularnewline
\hline
\multicolumn{2}{|>{\centering}p{0.2\paperwidth}|}{%
\multicolumn{2}{|>{\centering}p{0.2\paperwidth}|}{\selectlanguage{english}%
\inputencoding{latin9}%
\begin{minipage}[t]{0.45\columnwidth}%
\textcyr{\char205\char224\char241\char242\char240\char238\char229\char247\char237\char224\char255}
\textcyr{\char226\char229\char235\char232\char247\char232\char237\char224}
@ -172,9 +204,18 @@ DrosselTable2
\textcyr{\char240\char238\char242\char238\char240\char224} \textcyr{\char242\char243\char240\char225\char238\char234\char238\char236\char239\char240\char229\char241\char241\char238\char240\char224},
\%%
\end{minipage}} & \centering{}$n_{\text{\textcyr{\char242}\textcyr{\char234}\_\textcyr{\char236}\textcyr{\char227}}}0$ & \textcyr{\char204\char195} & \tabularnewline
\end{minipage}\selectlanguage{russian}
} & \selectlanguage{english}%
\centering{}$n_{\text{\textcyr{\char242}\textcyr{\char234}\_\textcyr{\char236}\textcyr{\char227}}}0$\selectlanguage{russian}
& \selectlanguage{english}%
\inputencoding{latin9}%
\textcyr{\char204\char195}\selectlanguage{russian}
& \selectlanguage{english}%
\selectlanguage{russian}
\tabularnewline
\hline
\multicolumn{2}{|>{\centering}p{0.08\paperwidth}|}{%
\multicolumn{2}{|>{\centering}p{0.08\paperwidth}|}{\selectlanguage{english}%
\inputencoding{latin9}%
\begin{minipage}[t]{0.45\columnwidth}%
\textcyr{\char205\char224\char241\char242\char240\char238\char229\char247\char237\char224\char255}
\textcyr{\char226\char229\char235\char232\char247\char232\char237\char224}
@ -183,9 +224,17 @@ DrosselTable2
\textcyr{\char240\char238\char242\char238\char240\char224} \textcyr{\char242\char243\char240\char225\char238\char234\char238\char236\char239\char240\char229\char241\char241\char238\char240\char224},
\%%
\end{minipage}} & \centering{}$n_{\text{\textcyr{\char242}\textcyr{\char234}\_\textcyr{\char226}\textcyr{\char231}\textcyr{\char235}}}0$ & <<\textcyr{\char194\char231\char235\char188\char242}>> & \tabularnewline
\end{minipage}\selectlanguage{russian}
} & \selectlanguage{english}%
\centering{}$n_{\text{\textcyr{\char242}\textcyr{\char234}\_\textcyr{\char226}\textcyr{\char231}\textcyr{\char235}}}0$\selectlanguage{russian}
& \selectlanguage{english}%
\inputencoding{latin9}<<\textcyr{\char194\char231\char235\char188\char242}>>\selectlanguage{russian}
& \selectlanguage{english}%
\selectlanguage{russian}
\tabularnewline
\hline
\multicolumn{2}{|c|}{%
\multicolumn{2}{|c|}{\selectlanguage{english}%
\inputencoding{latin9}%
\begin{minipage}[c]{0.45\columnwidth}%
\textcyr{\char205\char224\char241\char242\char240\char238\char229\char247\char237\char224\char255}
\textcyr{\char226\char229\char235\char232\char247\char232\char237\char224}
@ -194,9 +243,18 @@ DrosselTable2
\textcyr{\char226\char240\char224\char249\char229\char237\char232\char255}
\textcyr{\char240\char238\char242\char238\char240\char224} \textcyr{\char242\char243\char240\char225\char238\char234\char238\char236\char239\char240\char229\char241\char241\char238\char240\char224},
\%%
\end{minipage}} & \centering{}$n_{\text{\textcyr{\char242}\textcyr{\char234}\_\textcyr{\char236}\textcyr{\char232}\textcyr{\char237}}}0$ & \textcyr{\char204\char195} & \tabularnewline
\end{minipage}\selectlanguage{russian}
} & \selectlanguage{english}%
\centering{}$n_{\text{\textcyr{\char242}\textcyr{\char234}\_\textcyr{\char236}\textcyr{\char232}\textcyr{\char237}}}0$\selectlanguage{russian}
& \selectlanguage{english}%
\inputencoding{latin9}%
\textcyr{\char204\char195}\selectlanguage{russian}
& \selectlanguage{english}%
\selectlanguage{russian}
\tabularnewline
\hline
\multicolumn{2}{|c|}{%
\multicolumn{2}{|c|}{\selectlanguage{english}%
\inputencoding{latin9}%
\begin{minipage}[t]{0.45\columnwidth}%
\textcyr{\char205\char224\char241\char242\char240\char238\char229\char247\char237\char224\char255}
\textcyr{\char226\char229\char235\char232\char247\char232\char237\char224}
@ -206,9 +264,17 @@ DrosselTable2
\textcyr{\char240\char238\char242\char238\char240\char224} \textcyr{\char242\char243\char240\char225\char238\char234\char238\char236\char239\char240\char229\char241\char241\char238\char240\char224}
\textcyr{\char239\char240\char232} <<\textcyr{\char208\char224\char231\char240\char229\char248\char229\char237\char232\char232}
\textcyr{\char208\char207\char204}>>,\%%
\end{minipage}} & \centering{}$\Delta n_{\text{\textcyr{\char242}\textcyr{\char234}\_\textcyr{\char226}\textcyr{\char231}\textcyr{\char235}}}0$ & <<\textcyr{\char194\char231\char235\char188\char242}>> & \tabularnewline
\end{minipage}\selectlanguage{russian}
} & \selectlanguage{english}%
\centering{}$\Delta n_{\text{\textcyr{\char242}\textcyr{\char234}\_\textcyr{\char226}\textcyr{\char231}\textcyr{\char235}}}0$\selectlanguage{russian}
& \selectlanguage{english}%
\inputencoding{latin9}<<\textcyr{\char194\char231\char235\char188\char242}>>\selectlanguage{russian}
& \selectlanguage{english}%
\selectlanguage{russian}
\tabularnewline
\hline
\multicolumn{2}{|>{\centering}p{0.08\paperwidth}|}{%
\multicolumn{2}{|>{\centering}p{0.08\paperwidth}|}{\selectlanguage{english}%
\inputencoding{latin9}%
\begin{minipage}[t]{0.45\columnwidth}%
\textcyr{\char205\char224\char241\char242\char240\char238\char229\char247\char237\char224\char255}
\textcyr{\char226\char229\char235\char232\char247\char232\char237\char224}
@ -219,35 +285,80 @@ DrosselTable2
\textcyr{\char239\char238} \textcyr{\char234\char238\char236\char224\char237\char228\char229}
<<\textcyr{\char210\char240\char229\char237\char232\char240\char238\char226\char238\char247\char237\char251\char233}
\textcyr{\char240\char229\char230\char232\char236}>>, \%%
\end{minipage}} & \centering{}$\Delta n_{\text{\textcyr{\char242}\textcyr{\char234}\_\textcyr{\char242}\textcyr{\char240}}}0$ & <<\textcyr{\char194\char231\char235\char188\char242}>> & \tabularnewline
\end{minipage}\selectlanguage{russian}
} & \selectlanguage{english}%
\centering{}$\Delta n_{\text{\textcyr{\char242}\textcyr{\char234}\_\textcyr{\char242}\textcyr{\char240}}}0$\selectlanguage{russian}
& \selectlanguage{english}%
\inputencoding{latin9}<<\textcyr{\char194\char231\char235\char188\char242}>>\selectlanguage{russian}
& \selectlanguage{english}%
\selectlanguage{russian}
\tabularnewline
\hline
\multicolumn{2}{|c|}{%
\multicolumn{2}{|c|}{\selectlanguage{english}%
\inputencoding{latin9}%
\begin{minipage}[t]{0.45\columnwidth}%
\textcyr{\char208\char224\char241\char245\char238\char228\char237\char251\char233}
\textcyr{\char234\char238\char253\char244\char244\char232\char246\char232\char229\char237\char242}
1-\textcyr{\char227\char238} \textcyr{\char234\char238\char237\char242\char243\char240\char224}
\textcyr{\char244\char238\char240\char241\char243\char237\char238\char234}%
\end{minipage}} & \centering{}$\Psi_{(\mu F)}$ & - & \tabularnewline
\end{minipage}\selectlanguage{russian}
} & \selectlanguage{english}%
\centering{}$\Psi_{(\mu F)}$\selectlanguage{russian}
& \selectlanguage{english}%
\inputencoding{latin9}-\selectlanguage{russian}
& \selectlanguage{english}%
\selectlanguage{russian}
\tabularnewline
\hline
\multicolumn{2}{|>{\centering}p{0.1\paperwidth}|}{%
\multicolumn{2}{|>{\centering}p{0.1\paperwidth}|}{\selectlanguage{english}%
\inputencoding{latin9}%
\begin{minipage}[t]{0.45\columnwidth}%
\textcyr{\char207\char240\char238\char227\char240\char224\char236\char236\char237\char251\char233}
\textcyr{\char240\char224\char241\char245\char238\char228} \textcyr{\char242\char238\char239\char235\char232\char226\char224}
\textcyr{\char226} \textcyr{\char208\char209}, \textcyr{\char234\char227}/\textcyr{\char247}%
\end{minipage}} & \centering{}$G_{\text{\textcyr{\char242} \textcyr{\char239}\textcyr{\char240}\textcyr{\char238}\textcyr{\char227} \textcyr{\char208}\textcyr{\char209} \textcyr{\char204}\textcyr{\char195}}}$ & - & \tabularnewline
\end{minipage}\selectlanguage{russian}
} & \selectlanguage{english}%
\centering{}$G_{\text{\textcyr{\char242} \textcyr{\char239}\textcyr{\char240}\textcyr{\char238}\textcyr{\char227} \textcyr{\char208}\textcyr{\char209} \textcyr{\char204}\textcyr{\char195}}}$\selectlanguage{russian}
& \selectlanguage{english}%
\inputencoding{latin9}-\selectlanguage{russian}
& \selectlanguage{english}%
\selectlanguage{russian}
\tabularnewline
\hline
\multirow{2}{0.15\paperwidth}{\inputencoding{koi8-r}\foreignlanguage{russian}{ðÁÒÁÍÅÔÒÙ
ÉÚÍÅÒÉÔÅÌÑ ËÒÕÔÑÝÅÇÏ ÍÏÍÅÎÔÁ}} & \inputencoding{latin9}%
\selectlanguage{english}%
\inputencoding{latin9}\multirow{2}{0.15\paperwidth}{\inputencoding{koi8-r}\foreignlanguage{russian}{ðÁÒÁÍÅÔÒÙ
ÉÚÍÅÒÉÔÅÌÑ ËÒÕÔÑÝÅÇÏ ÍÏÍÅÎÔÁ}}\selectlanguage{russian}
& \selectlanguage{english}%
\inputencoding{latin9}%
\textcyr{\char205\char224\char247\char224\char235\char252\char237\char238\char229}
\textcyr{\char241\char236\char229\char249\char229\char237\char232\char229},
\textcyr{\char227\char240\char224\char228} & \centering{}$\phi_{\text{\textcyr{\char232}\textcyr{\char234}\textcyr{\char236}}}0$ & \multirow{2}{0.1\paperwidth}{-} & \tabularnewline
\textcyr{\char227\char240\char224\char228}\selectlanguage{russian}
& \selectlanguage{english}%
\centering{}$\phi_{\text{\textcyr{\char232}\textcyr{\char234}\textcyr{\char236}}}0$\selectlanguage{russian}
& \selectlanguage{english}%
\inputencoding{latin9}\multirow{2}{0.1\paperwidth}{-}\selectlanguage{russian}
& \selectlanguage{english}%
\selectlanguage{russian}
\tabularnewline
\cline{2-3} \cline{5-5}
& \textcyr{\char202\char238\char253\char244\char244\char232\char246\char232\char229\char237\char242}
\textcyr{\char245\char224\char240\char224\char234\char242\char229\char240\char232\char241\char242\char232\char234\char232} & \centering{}$K$ & & \tabularnewline
\selectlanguage{english}%
\selectlanguage{russian}
& \selectlanguage{english}%
\inputencoding{latin9}%
\textcyr{\char202\char238\char253\char244\char244\char232\char246\char232\char229\char237\char242}
\textcyr{\char245\char224\char240\char224\char234\char242\char229\char240\char232\char241\char242\char232\char234\char232}\selectlanguage{russian}
& \selectlanguage{english}%
\centering{}$K$\selectlanguage{russian}
& \selectlanguage{english}%
\selectlanguage{russian}
& \selectlanguage{english}%
\selectlanguage{russian}
\tabularnewline
\hline
\end{longtable}
\par\end{flushleft}
\selectlanguage{english}%
\textcyr{\char208\char224\char241\char245\char238\char228} \textcyr{\char236\char224\char241\char235\char224},
\textcyr{\char235}/\textcyr{\char247} \rule[-1pt]{2.0cm}{0.4pt} (\textcyr{\char237\char229}
\textcyr{\char225\char238\char235\char229\char229} 0,2)
@ -261,6 +372,12 @@ DrosselTable2
$G_{\text{\textcyr{\char242}}}=f(\alpha_{\text{\textcyr{\char228}\textcyr{\char234}}})$}
\par\end{flushleft}
\selectlanguage{russian}%
\begin{flushleft}
\inputencoding{koi8-r}Drossel55.Table3
\par\end{flushleft}
\selectlanguage{english}%
\begin{flushleft}
\begin{longtable}{|>{\centering}p{0.15\paperwidth}|>{\centering}p{0.1\paperwidth}|>{\centering}p{0.03\paperwidth}|>{\centering}p{0.03\paperwidth}|>{\centering}p{0.03\paperwidth}|>{\centering}p{0.03\paperwidth}|>{\centering}p{0.03\paperwidth}|>{\centering}p{0.03\paperwidth}|>{\centering}p{0.03\paperwidth}|>{\centering}p{0.03\paperwidth}|>{\centering}p{0.03\paperwidth}|>{\centering}p{0.03\paperwidth}|}
\hline
@ -295,7 +412,7 @@ $G_{\text{\textcyr{\char242}}}=f(\alpha_{\text{\textcyr{\char228}\textcyr{\char2
\textcyr{\char231\char224\char234\char224\char231\char247\char232\char234\char224}%
\end{minipage}}\tabularnewline
\hline
& & \multicolumn{3}{c|}{}{} & \multicolumn{4}{c|}{} & \multicolumn{3}{c|}{}\tabularnewline
& & \multicolumn{3}{c|}{} & \multicolumn{4}{c|}{} & \multicolumn{3}{c|}{}\tabularnewline
\hline
\end{longtable}
\par\end{flushleft}