Dear Latex-helpers,
I am writing a thesis in english with Latex using MikTex and TeXnicCenter.
I want to include an abstract in russian with cyrillic letters. A friend translated my english abstract using MS Word. The problem now is how to copy the cyrillic letters from the Word-Document into my Latex file and how to print it out.
I copied and pasted the cyrillic letters to TeXnicCenter. This worked without problem. Than I typed into my header:
\usepackage[T2A]{fontenc}
\usepackage[koi8-r]{inputenc}
\usepackage[russian]{babel}
However, this did not work. The cyrillic text part in the pdf consists only of ?????????????????????
Please help me!
Thanks!
Kim
Fonts & Character Sets ⇒ Copy Cyrillic letters from MS Word to Latex
-
- Posts: 1
- Joined: Mon Nov 15, 2010 2:54 pm
- localghost
- Site Moderator
- Posts: 9201
- Joined: Fri Feb 02, 2007 12:06 pm
Re: Copy Cyrillic letters from MS Word to Latex
TeXnicCenter (TXC) 1 RC1 stable doesn't not support Unicode. Either try TXC2 alpha 3 (Build 1118) or another editor introduced in the »Editors« section of the forum.
Best regards and welcome to the board
Thorsten
Best regards and welcome to the board
Thorsten
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes[/size]
¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1
Board Rules
Avoidable Mistakes[/size]
¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1
Copy Cyrillic letters from MS Word to Latex
rockdazzie,
this isn't exactly what you were looking for, but if it's a short text (like, say, an abstract), I find it useful to switch to the OT2 or T2A encoding. In the former, you can write Russian using Latin transliteration, which is manageable in a short text. For reasons unknown to me, this produces low-quality output in a .pdf (if you magnify the letters, they're quite grainy and jagged). A less convenient (but typographically much more pleasing) solution is to use T2A, in which each character is a control sequence like \cyra, \cyrv, \CYRZH, \cyrsftsn... This will produce smooth fonts in a .pdf. Here is code with both variants for comparison:
In this link, under the "OT2 (latin) transliteration" heading, you will find links to files that will give you all the control sequences you need:
http://www.capca.ucalgary.ca/~wdobler/d ... index.html
The other methods described there are also noteworthy,
Neither T2A or OT2 is as convenient as copy-pasting Cyrillic from a text editor, but it has the advantage of letting you stay within the ASCII character set, thus bypassing your problem with software that can't handle international chars.
Hope that helps!
Wojtek
this isn't exactly what you were looking for, but if it's a short text (like, say, an abstract), I find it useful to switch to the OT2 or T2A encoding. In the former, you can write Russian using Latin transliteration, which is manageable in a short text. For reasons unknown to me, this produces low-quality output in a .pdf (if you magnify the letters, they're quite grainy and jagged). A less convenient (but typographically much more pleasing) solution is to use T2A, in which each character is a control sequence like \cyra, \cyrv, \CYRZH, \cyrsftsn... This will produce smooth fonts in a .pdf. Here is code with both variants for comparison:
Code: Select all
\documentclass{article}
\usepackage[T2A,OT2,T1]{fontenc}%the last invoked encoding will be the default
\newcommand{\russianottwo}[1]{{\fontencoding{OT2}\selectfont #1}}
\newcommand{\russianttwoa}[1]{{\fontencoding{T2A}\selectfont #1}}
\begin{document}
English text.
Russian OT2: \russianottwo{Ivan. Zhenshchina.}
Russian T2A: \russianttwoa{\CYRI\cyrv\cyra\cyrn. \CYRZH\cyre\cyrn\cyrshch\cyri\cyrn\cyra.}
English text.
\end{document}
http://www.capca.ucalgary.ca/~wdobler/d ... index.html
The other methods described there are also noteworthy,
Neither T2A or OT2 is as convenient as copy-pasting Cyrillic from a text editor, but it has the advantage of letting you stay within the ASCII character set, thus bypassing your problem with software that can't handle international chars.
Hope that helps!
Wojtek