Rocksolid Light

News from da outaworlds

mail  files  register  groups  login

Message-ID:  

Your supervisor is thinking about you.


comp / comp.text.tex / Cyrillic in BIbTeX

SubjectAuthor
* Cyrillic in BIbTeXdb
+* Re: Cyrillic in BIbTeXdb
|`- Re: Cyrillic in BIbTeXPeter Flynn
+- Re: Cyrillic in BIbTeXDr Engelbert Buxbaum
`- Re: Cyrillic in BIbTeXRolf Niepraschk

1
Subject: Cyrillic in BIbTeX
From: db
Newsgroups: comp.text.tex
Organization: A noiseless patient Spider
Date: Tue, 19 Nov 2024 14:47 UTC
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: dieterhansbritz@gmail.com (db)
Newsgroups: comp.text.tex
Subject: Cyrillic in BIbTeX
Date: Tue, 19 Nov 2024 14:47:12 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 8
Message-ID: <vhi8dg$1sngj$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 19 Nov 2024 15:47:13 +0100 (CET)
Injection-Info: dont-email.me; posting-host="85f0112a98681fd9e7ba4788537ade7f";
logging-data="1990163"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+sDvKNyxfmXFQ25hM+sfa8p5L7nNzqMfY="
User-Agent: Pan/0.149 (Bellevue; 4c157ba)
Cancel-Lock: sha1:ar4m1/+I9/Fv4Fl5QhSCli8Wk9Q=
View all headers

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

Subject: Re: Cyrillic in BIbTeX
From: db
Newsgroups: comp.text.tex
Organization: A noiseless patient Spider
Date: Tue, 19 Nov 2024 15:06 UTC
References: 1
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: dieterhansbritz@gmail.com (db)
Newsgroups: comp.text.tex
Subject: Re: Cyrillic in BIbTeX
Date: Tue, 19 Nov 2024 15:06:56 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 13
Message-ID: <vhi9ig$1t010$1@dont-email.me>
References: <vhi8dg$1sngj$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 19 Nov 2024 16:06:56 +0100 (CET)
Injection-Info: dont-email.me; posting-host="85f0112a98681fd9e7ba4788537ade7f";
logging-data="1998880"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/YFnCG172gB59opsjiAjWnqcDGxKjIx3w="
User-Agent: Pan/0.149 (Bellevue; 4c157ba)
Cancel-Lock: sha1:bjh6jYXnXBKGY+18/dJgw9JuFRk=
View all headers

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?

--
db

Subject: Re: Cyrillic in BIbTeX
From: Dr Engelbert Buxbaum
Newsgroups: comp.text.tex
Organization: private
Date: Wed, 20 Nov 2024 22:01 UTC
References: 1
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: engelbert_buxbaum@hotmail.com (Dr Engelbert Buxbaum)
Newsgroups: comp.text.tex
Subject: Re: Cyrillic in BIbTeX
Date: Wed, 20 Nov 2024 23:01:04 +0100
Organization: private
Lines: 21
Message-ID: <MPG.41a87a8b5fec3139896a6@news.eternal-september.org>
References: <vhi8dg$1sngj$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 20 Nov 2024 23:01:05 +0100 (CET)
Injection-Info: dont-email.me; posting-host="ac9216900a9dabe779f5b1ec0f23ce8b";
logging-data="316753"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18Kih4pzrNrn9N0gHuO3qOI620OHwip3NQ="
User-Agent: MicroPlanet-Gravity/3.0.4
Cancel-Lock: sha1:NThfA76uTLmLhSvflHGbh+iIl14=
View all headers

In article <vhi8dg$1sngj$1@dont-email.me>, dieterhansbritz@gmail.com
says...
>
> 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}

Subject: Re: Cyrillic in BIbTeX
From: Rolf Niepraschk
Newsgroups: comp.text.tex
Date: Thu, 21 Nov 2024 23:34 UTC
References: 1
Path: eternal-september.org!news.eternal-september.org!feeder2.eternal-september.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: Rolf.Niepraschk@gmx.de (Rolf Niepraschk)
Newsgroups: comp.text.tex
Subject: Re: Cyrillic in BIbTeX
Date: Fri, 22 Nov 2024 00:34:18 +0100
Lines: 14
Message-ID: <lq9ubqF4lpkU1@mid.individual.net>
References: <vhi8dg$1sngj$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net O6Z/e6PJNCpzGa5XH0hUYA34+ggsA98xQoE/dHDd+ctoutJCMz
Cancel-Lock: sha1:m+08zscOXFexPez9wfH3LxirH9k= sha256:ATI/rYY2eXnuDB5ABv02AJcFH0k1JUIfJ87R/oJJgpE=
User-Agent: Mozilla Thunderbird
Content-Language: en-US
In-Reply-To: <vhi8dg$1sngj$1@dont-email.me>
View all headers

Am 19.11.24 um 15:47 schrieb 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

Subject: Re: Cyrillic in BIbTeX
From: Peter Flynn
Newsgroups: comp.text.tex
Organization: Usenet Labs Bozon Detector Facility
Date: Sun, 24 Nov 2024 15:50 UTC
References: 1 2
Path: eternal-september.org!news.eternal-september.org!feeder2.eternal-september.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: peter@silmaril.ie (Peter Flynn)
Newsgroups: comp.text.tex
Subject: Re: Cyrillic in BIbTeX
Date: Sun, 24 Nov 2024 15:50:51 +0000
Organization: Usenet Labs Bozon Detector Facility
Lines: 50
Message-ID: <lqh0arF8fruU1@mid.individual.net>
References: <vhi8dg$1sngj$1@dont-email.me> <vhi9ig$1t010$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: individual.net qOeiUTEUNcUScv5ZlGdcWgL/7+QMLY93wy7ibZviy78czAoS22
Cancel-Lock: sha1:uozY2MLIB5KMQyXV43w7ZYhSBq0= sha256:d2/7b/A0r/KjO7KSyfASl9WCGeOVJD7pjAV7EG61vPg=
User-Agent: Mozilla Thunderbird
Content-Language: en-GB
In-Reply-To: <vhi9ig$1t010$1@dont-email.me>
View all headers

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}
}

1

rocksolid light 0.9.8
clearnet tor