dbtex2htmlb input: $str
\n"; $trans = array('$\bm{\alpha}$'=>'α', '$\alpha$'=>'α', '$\bm{\beta}$'=>'β', '$\beta$'=>'β', '$\bm{\gamma}$'=>'γ', '$\gamma$'=>'γ', '$\bm{\delta}$'=>'δ', '$\delta$'=>'δ', '$\bm{\varepsilon}$'=>'ε', '$\varepsilon$'=>'ε', '$\bm{\zeta}$'=>'ζ', '$\zeta$'=>'ζ', '$\bm{\eta}$'=>'η', '$\eta$'=>'η', '$\bm{\theta}$'=>'θ', '$\theta$'=>'θ', '$\bm{\vartheta}$'=>'ϑ', '$\vartheta$'=>'ϑ', '$\bm{\iota}$'=>'ι', '$\iota$'=>'ι', '$\bm{\kappa}$'=>'κ', '$\kappa$'=>'κ', '$\bm{\lambda}$'=>'λ', '$\lambda$'=>'λ', '$\bm{\mu}$'=>'μ', '$\mu$'=>'μ', '$\bm{\nu}$'=>'ν', '$\nu$'=>'ν', '$\bm{\xi}$'=>'ξ', '$\xi$'=>'ξ', '$\bm{\pi}$'=>'π', '$\pi$'=>'π', '$\bm{\varphi}$'=>'φ', '$\varphi$'=>'φ', '$\bm{\varrho}$'=>'ρ', '$\varrho$'=>'ρ', '$\bm{\sigma}$'=>'σ', '$\sigma$'=>'σ', '$\bm{\tau}$'=>'τ', '$\tau$'=>'τ', '$\bm{\upsilon}$'=>'υ', '$\upsilon$'=>'υ', '$\bm{\phi}$'=>'φ', '$\phi$'=>'φ', '$\bm{\chi}$'=>'χ', '$\chi$'=>'χ', '$\bm{\psi}$'=>'ψ', '$\psi$'=>'ψ', '$\bm{\omega}$'=>'ω', '$\omega$'=>'ω', '$\bm{\Gamma}$'=>'Γ', '$\Gamma$'=>'Γ', '$\bm{\Delta}$'=>'Δ', '$\Delta$'=>'Δ', '$\bm{\Theta}$'=>'Θ', '$\Theta$'=>'Θ', '$\bm{\Lambda}$'=>'Λ', '$\Lambda$'=>'Λ', '$\bm{\Xi}$'=>'Ξ', '$\Xi$'=>'Ξ', '$\bm{\Pi}$'=>'Π', '$\Pi$'=>'Π', '$\bm{\Sigma}$'=>'Σ', '$\Sigma$'=>'Σ', '$\bm{\Phi}$'=>'Φ', '$\Phi$'=>'Φ', '$\bm{\Psi}$'=>'Ψ', '$\Psi$'=>'Ψ', '$\bm{\Omega}$'=>'Ω', '$\Omega$'=>'Ω', '$\leftarrow$'=>'←', '$\rightarrow$'=>'→', ''< c', '< c'=>'< c', ''=>'√ ', ''=>' ', ); // $upstr = strtr($str, $trans); // echo "tex2htmlb output: $upstr
\n"; return(strtr($str,$trans)); } ?> tex) function html2tex ($strhtml) { $strhtml=str_replace("","\$_{\mbox{\\footnotesize ",$strhtml); $strhtml=str_replace("","\$_{\mbox{\\footnotesize ",$strhtml); $strhtml=str_replace("","\$^{\mbox{\\footnotesize ",$strhtml); $strhtml=str_replace("","\$^{\mbox{\\footnotesize ",$strhtml); $strhtml=str_replace("","}}\$",$strhtml); $strhtml=str_replace("","}}\$",$strhtml); $strhtml=str_replace("","}}\$",$strhtml); $strhtml=str_replace("","}}\$",$strhtml); $strhtml=str_replace("","\\underline{",$strhtml); $strhtml=str_replace("","}",$strhtml); $strhtml=str_replace("","\\underline{",$strhtml); $strhtml=str_replace("","}",$strhtml); $strhtml=str_replace("
","\\newline ",$strhtml); $strhtml=str_replace("
","\\newline ",$strhtml); $strhtml=str_replace("

","\\par ",$strhtml); $strhtml=str_replace("

","\\par ",$strhtml); $strhtml=str_replace("","\\emph{",$strhtml); $strhtml=str_replace("","}",$strhtml); $strhtml=str_replace("","\\emph{",$strhtml); $strhtml=str_replace("","}",$strhtml); $strhtml=str_replace("\r","",$strhtml); // nahrady specialnich HTML znaku $strhtml=str_replace("’","'",$strhtml); // znak ’ je zmenen na ' $strhtml=str_replace("–","--",$strhtml); $strhtml=str_replace("“","``",$strhtml); $strhtml=str_replace("λ","$\\lambda$",$strhtml); $strhtml=str_replace("μ","$\\mu$",$strhtml); $strhtml=str_replace("к","$\\kappa$",$strhtml); $strhtml=str_replace("µ","$\\mu$",$strhtml); $strhtml=str_replace("”","''",$strhtml); // $strhtml=str_replace("º","$^{\\circ}$",$strhtml); $strhtml=str_replace("˚","$^{\\circ}$",$strhtml); // $strhtml=str_replace("Å","{\\AA}",$strhtml); // angstrom $strhtml=str_replace("ό","\\'{o}",$strhtml); // angstrom $strhtml=str_replace("Е","E",$strhtml); // c $strhtml=str_replace("О","O",$strhtml); // c $strhtml=str_replace("Р","P",$strhtml); // c $strhtml=str_replace("С","c",$strhtml); // c $strhtml=str_replace("‘","'",$strhtml); // ... $strhtml=str_replace("…"," \\ldots ",$strhtml); // ... $strhtml=str_replace("±","$\\pm$",$strhtml); // ... $strhtml=str_replace("±","$\\pm$",$strhtml); // ... $strhtml=str_replace("µ","$\\mu$",$strhtml); // ... $strhtml=str_replace("Å","$\\AA$",$strhtml); // ... $strhtml=str_replace("→","$\\rightarrow$",$strhtml); // ... $strhtml=str_replace("α","$\\alpha$",$strhtml); // ... $strhtml=str_replace("γ","$\\gamma$",$strhtml); // ... $strhtml=str_replace("&#egrave;","\\`{e}",$strhtml); // ... $strhtml=str_replace("è","\\`{e}",$strhtml); // ... $strhtml=str_replace("è","\\`{e}",$strhtml); // ... $strhtml=str_replace("ã","\\~{a}",$strhtml); // ... $strhtml=str_replace("ñ","\\~{n}",$strhtml); // ... $strhtml=str_replace("à","\\`{a}",$strhtml); // ... $strhtml=str_replace("ı","{\\i}",$strhtml); // ... $strhtml=str_replace("≤","$\\leq$",$strhtml); // ... $strhtml=str_replace("с","c",$strhtml); // ... $strhtml=str_replace("℃","$^{o} \\rm C$",$strhtml); // ... $strhtml=str_replace("Ⅲ","III",$strhtml); // ... $strhtml=str_replace(" "," ",$strhtml); // ... $strhtml=str_replace("、",",",$strhtml); // ... $strhtml=str_replace("fi","fi",$strhtml); // ... $strhtml=str_replace("fl","fl",$strhtml); // ... $strhtml=str_replace(" °","\\,$^\\circ$",$strhtml); // ... $strhtml=str_replace("±","$\\pm$",$strhtml); // ... $strhtml=str_replace("$$"," ",$strhtml); // ... $strhtml=str_replace("α","$\\alpha$",$strhtml); // ... $strhtml=str_replace("β","$\\beta$",$strhtml); // ... $strhtml=str_replace("γ","$\\gamma$",$strhtml); // ... $strhtml=str_replace("δ","$\\delta$",$strhtml); // ... $strhtml=str_replace("µ","$\\mu$",$strhtml); // ... // $strhtml=str_replace("°","\\,$^\circ$",$strhtml); // ... // $strhtml=str_replace("<","$<$",$strhtml); // // $strhtml=str_replace(">","$>$",$strhtml); // $strhtml=str_replace("%","\\%",$strhtml); // return $strhtml; } ?> ' $\\alpha$ ', 'α'=>' $\\alpha$', 'α'=>' $\\alpha$', 'β'=>' $\\beta$', 'β'=>' $\\beta$', 'β'=>' $\\beta$', 'γ'=>' $\\gamma$', 'γ'=>' $\\gamma$', 'γ'=>' $\\gamma$', 'δ'=>' $\\delta$', 'δ'=>' $\\delta$', 'δ'=>' $\\delta$', 'ε'=>' $\\varepsilon$', 'ε'=>' $\\varepsilon$', 'ε'=>' $\\varepsilon$', 'ζ'=>' $\\zeta$', 'ζ'=>' $\\zeta$', 'ζ'=>' $\\zeta$', 'η'=>' $\\eta$', 'η'=>' $\\eta$', 'η'=>' $\\eta$', 'θ'=>' $\\theta$', 'ϑ'=>' $\\theta$', 'θ'=>' $\\theta$', 'ϑ'=>' $\\vartheta$', 'θ'=>' $\\vartheta$', 'ϑ'=>' $\\vartheta$', 'ι'=>' $\\iota$', 'ι'=>' $\\iota$', 'ι'=>' $\\iota$', 'κ'=>' $\\kappa$', 'κ'=>' $\\kappa$', 'κ'=>' $\\kappa$', 'λ'=>' $\\lambda$', 'λ'=>' $\\lambda$', 'λ'=>' $\\lambda$', 'μ'=>' $\\mu$', 'μ'=>' $\\mu$', 'μ'=>' $\\mu$', 'ν'=>' $\\nu$', 'ν'=>' $\\nu$', 'ν'=>' $\\nu$', 'ξ'=>' $\\xi$', 'ξ'=>' $\\xi$', 'ξ'=>' $\\xi$', 'π'=>' $\\pi$', 'π'=>' $\\pi$', 'π'=>' $\\pi$', 'φ'=>' $\\varphi$', 'φ'=>' $\\varphi$', 'φ'=>' $\\varphi$', 'ρ'=>' $\\varrho$', 'ρ'=>' $\\varrho$', 'ρ'=>' $\\varrho$', 'σ'=>' $\\sigma$', 'σ'=>' $\\sigma$', 'σ'=>' $\\sigma$', 'τ'=>' $\\tau$', 'τ'=>' $\\tau$', 'τ'=>' $\\tau$', 'υ'=>' $\\upsilon$', 'υ'=>' $\\upsilon$', 'υ'=>' $\\upsilon$', 'φ'=>' $\\phi$', 'φ'=>' $\\phi$', 'φ'=>' $\\phi$', 'χ'=>' $\\chi$', 'χ'=>' $\\chi$', 'χ'=>' $\\chi$', 'ψ'=>' $\\psi$', 'ψ'=>' $\\psi$', 'ψ'=>' $\\psi$', 'ω'=>' $\\omega$', 'ω'=>' $\\omega$', 'ω'=>' $\\omega$', 'Γ'=>' $\\Gamma$', 'Γ'=>' $\\Gamma$', 'Γ'=>' $\\Gamma$', 'Δ'=>' $\\Delta$', 'Δ'=>' $\\Delta$', 'Δ'=>' $\\Delta$', 'Θ'=>' $\\Theta$', 'Θ'=>' $\\Theta$', 'Θ'=>' $\\Theta$', 'Λ'=>' $\\Lambda$', 'Λ'=>' $\\Lambda$', 'Λ'=>' $\\Lambda$', 'Ξ'=>' $\\Xi$', 'Ξ'=>' $\\Xi$', 'Ξ'=>' $\\Xi$', 'Π'=>' $\\Pi$', 'Π'=>' $\\Pi$', 'Π'=>' $\\Pi$', 'Σ'=>' $\\Sigma$', 'Σ'=>' $\\Sigma$', 'Σ'=>' $\\Sigma$', 'Φ'=>' $\\Phi$', 'Φ'=>' $\\Phi$', 'Φ'=>' $\\Phi$', 'Ψ'=>' $\\Psi$', 'Ψ'=>' $\\Psi$', 'Ψ'=>' $\\Psi$', 'Ω'=>' $\\Omega$', 'Ω'=>' $\\Omega$', 'Ω'=>' $\\Omega$', '←'=>' $\\leftarrow$', '→'=>' $\\rightarrow$', '←'=>' $\\leftarrow$', '→'=>' $\\rightarrow$', ' #'=>' \\#', '\½'=>' $1/2$', '\fi'=>'fi', '"'=>'\\"', '<'=>'<', '>'=>'>' ); /* kontrolni tisk echo "html2db input: $str
\n"; $upstr = strtr($str, $trans); echo "html2db output: $upstr
\n"; // */ return(strtr($str,$trans)); } ?> dbup input: $str
\n"; $trans = array('a'=>'A','b'=>'B','c'=>'C',''=>'', 'd'=>'D',''=>'','e'=>'E',''=>'',''=>'','f'=>'F', 'g'=>'G','h'=>'H','i'=>'I',''=>'','j'=>'J','k'=>'K', 'l'=>'L','m'=>'M','n'=>'N',''=>'','o'=>'O','p'=>'P', ''=>'','r'=>'R',''=>'', 'q'=>'Q','s'=>'S',''=>'','t'=>'T',''=>'','u'=>'U', ''=>'', 'v'=>'V','w'=>'W','x'=>'X','y'=>'Y',''=>'','z'=>'Z', ''=>'', ''=>'A',''=>'A', ''=>'E',''=>'E', ''=>'O',''=>'O', ''=>'O',''=>'O', ''=>'U'); //$upstr = strtr($str, $trans); // echo "dbup output: $upstr
\n"; return(strtr($str,$trans)); } ?> DMSRE23

Logo

Development of Materials Science in Research and Education

September 9-13, 2013