Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
artemff
Posts: 113 Joined: Sat Oct 17, 2009 11:15 pm
Post
by artemff » Sun Oct 18, 2009 12:18 am
I tried it in MikTex and TexLive 2008...
Code: Select all
\documentclass[12pt,a4paper,oneside] {article}
\usepackage[koi8-r]{inputenc}
\usepackage[english,russian]{babel}
\usepackage{indentfirst}
\usepackage{misccorr}
\usepackage{amsmath}
\begin{document}
\section{Basic Formulas}
\begin{equation}
D = (n - n0)(\frac{1}{R1} - \frac{1}{R2})
\end{equation}
\end{document}
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide : 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook : 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ : the first book about TikZ for perfect drawings in your LaTeX thesis
gmedina
Posts: 2313 Joined: Wed Jul 11, 2007 11:45 pm
Post
by gmedina » Sun Oct 18, 2009 12:26 am
That sample code works OK in my system. What kind of warning/error messages are you getting?
1,1,2,3,5,8,13,21,34,55,89,144,233,...
artemff
Posts: 113 Joined: Sat Oct 17, 2009 11:15 pm
Post
by artemff » Sun Oct 18, 2009 12:44 am
Code: Select all
! LaTeX Error: File `koi8-r.def' not found.
Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: def)
Enter file name:
After entering file name many new errors have appeared.
artemff
Posts: 113 Joined: Sat Oct 17, 2009 11:15 pm
Post
by artemff » Sun Oct 18, 2009 2:21 am
Stefan_K wrote: koi8-r.def belongs to the cyrillic package, that should be installed.
Thank you. It helped me. But why cyrillic symbols aren't shown properly after compilation? Because I view a mix of chars - not the same, that was in my *.tex file.
Stefan Kottwitz
Site Admin
Posts: 10397 Joined: Mon Mar 10, 2008 9:44 pm
Post
by Stefan Kottwitz » Sun Oct 18, 2009 2:26 am
Perhaps show us a compilable minimal example containing cyrillic symbols that's not working for you.
Stefan
LaTeX.org admin
artemff
Posts: 113 Joined: Sat Oct 17, 2009 11:15 pm
Post
by artemff » Sun Oct 18, 2009 9:34 am
Stefan_K wrote: Perhaps show us a compilable minimal example containing cyrillic symbols that's not working for you.
Code: Select all
\documentclass[12pt,a4paper,oneside]{article}
\usepackage[koi8-r]{inputenc}
\usepackage[english, russian]{babel}
\usepackage{indentfirst}
\usepackage{misccorr}
\usepackage{amsmath}
\begin{document}
\section{Основные формулы}
\begin{equation}
D = (n - n0)(\frac{1}{R1} - \frac{1}{R2})
\end{equation}
\end{document}
The attached file is photo of my .dvi file.
.pdf file show the same.
Attachments
err.gif (18.94 KiB) Viewed 5530 times
artemff
Posts: 113 Joined: Sat Oct 17, 2009 11:15 pm
Post
by artemff » Sun Oct 18, 2009 11:59 am
I have solved problem. It was in encoding of source file. Thanks all for help