Re: Cyrillic in BIbTeX

Liste des GroupesRevenir à ct tex 
Sujet : Re: Cyrillic in BIbTeX
De : peter (at) *nospam* silmaril.ie (Peter Flynn)
Groupes : comp.text.tex
Date : 24. Nov 2024, 16:50:51
Autres entêtes
Organisation : Usenet Labs Bozon Detector Facility
Message-ID : <lqh0arF8fruU1@mid.individual.net>
References : 1 2
User-Agent : Mozilla Thunderbird
On 19/11/2024 15:06, db wrote:
On Tue, 19 Nov 2024 14:47:12 -0000 (UTC), db wrote:
 
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}
}

Date Sujet#  Auteur
19 Nov 24 * Cyrillic in BIbTeX5db
19 Nov 24 +* Re: Cyrillic in BIbTeX2db
24 Nov 24 i`- Re: Cyrillic in BIbTeX1Peter Flynn
21 Nov 24 +- Re: Cyrillic in BIbTeX1Dr Engelbert Buxbaum
22 Nov 24 `- Re: Cyrillic in BIbTeX1Rolf Niepraschk

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal