Discussion:
Cyrillic in BIbTeX
(too old to reply)
db
2024-11-19 14:47:12 UTC
Permalink
I know about setting \newcommand{cyr}... and then using
\cyr{text}, but the text is inside a bib-file. So if I
set that command in the manuscript and cite an article
for which the bib-file contains the cyrillic word in a
note, will BibTeX know about it? Or how do I do it?
--
db
db
2024-11-19 15:06:56 UTC
Permalink
I know about setting \newcommand{cyr}... and then using \cyr{text}, but
the text is inside a bib-file. So if I set that command in the
manuscript and cite an article for which the bib-file contains the
cyrillic word in a note, will BibTeX know about it? Or how do I do it?
I need more help. I put in
\newcommand{cyr}{\fontencoding{OT1}\selectfont}
but this doesn't work. How should it be?
--
db
Peter Flynn
2024-11-24 15:50:51 UTC
Permalink
Post by db
I know about setting \newcommand{cyr}... and then using \cyr{text}, but
the text is inside a bib-file. So if I set that command in the
manuscript and cite an article for which the bib-file contains the
cyrillic word in a note, will BibTeX know about it? Or how do I do it?
I need more help. I put in
\newcommand{cyr}{\fontencoding{OT1}\selectfont}
but this doesn't work. How should it be?
It might be easier to use XeLaTeX with biblatex and biber than BiBTeX
and OT1

========================= test.tex
\PassOptionsToPackage{hyphens}{url}
\documentclass{article}
\usepackage{fontspec,polyglossia,csquotes}
\usepackage[backend=biber,style=authoryear]{biblatex}
\setmainlanguage{english}
\setotherlanguage{russian}
\newfontfamily{\cyrillicfont}{CMU Serif}
\addbibresource{test.bib}
\begin{document}
This cites \textcite{urban79}.

\raggedright
\printbibliography
\end{document}

========================== test.bib
@Book{urban79,
editor = {George Robert Urban},
title = {Communist Reformation},
ALTyear = {1979},
subtitle = {Nationalism, Internationalism and
Change in the World Communist Movement},
note = {Charts the rise of \textrussian{перестройка}
and \textrussian{гласность}},
publisher = {Temple Smith},
location = {London},
isbn = {085117180X},
pagetotal = {335},
url =
{https://www.mwbooks.ie/pages/books/143153/george-robert-urban/communist-reformation-nationalism-internationalism-and-change-in-the-world-communist-movement},
urldate = {2024-11-24}
}

Dr Engelbert Buxbaum
2024-11-20 22:01:04 UTC
Permalink
In article <vhi8dg$1sngj$***@dont-email.me>, ***@gmail.com
says...
Post by db
I know about setting \newcommand{cyr}... and then using
\cyr{text}, but the text is inside a bib-file. So if I
set that command in the manuscript and cite an article
for which the bib-file contains the cyrillic word in a
note, will BibTeX know about it? Or how do I do it?
One solution is described in
https://tex.stackexchange.com/questions/645615/how-to-cite-a-few-
russian-sources-in-an-english-document.

A more modern approach would use polyglossia instead of babel, and then

\setmainlanguage[variant=british]{english}

\setotherlanguage[babelshorthands=true,numerals=arabic]{russian}
\newfontfamily\russianfont{FreeSerif}
Rolf Niepraschk
2024-11-21 23:34:18 UTC
Permalink
Post by db
I know about setting \newcommand{cyr}... and then using
\cyr{text}, but the text is inside a bib-file. So if I
set that command in the manuscript and cite an article
for which the bib-file contains the cyrillic word in a
note, will BibTeX know about it? Or how do I do it?
I recommend using BibLaTeX together with the LuaTeX engine and then
entering Cyrillic texts directly (UTF-8). Everything else is complicated
and not portable.

...Rolf
Loading...