Re: Cyrillic signs in BibTeX > JabRef > LyX

2013-11-26 Thread Guenter Milde
On 2013-11-25, Roel Schipper - CITG wrote:

> [-- Type: text/plain, Encoding: quoted-printable --]

> Guenter and Stefano, and possible other interested readers,

> Thanks for your time and support. I have it running succesfully now,
> using your tips plus a short translation table to latin script that I
> found in

> http://www.gmarks.org/latex_cyrillic.pdf

> In my reference manager JabRef I just simply used latin script with the
> command \cyr in the brackets:

> {\cyr Lroizvodstvo Betonnykh Zlementov etc...}.

> The text encoding of my BibTeX database is set to UTF8 in JabRef,
> although I'm not sure whether this is still necessary.

If both, Cyrillic and accented Latin characters (incl. Umlauts) are input via
LaTeX macros, setting the encoding to ASCII is "the right thing".


> Further I added the package definitions and commands from the above URL
> to my Preamble in LyX:

> %cyrillic characters:

> \usepackage[OT2,OT1]{fontenc}

> \newcommand\cyr{%
> \renewcommand\rmdefault{wncyr}%
> \renewcommand\sfdefault{wncyss}%
> \renewcommand\encodingdefault{OT2}%
> \normalfont
> \selectfont}

> \DeclareTextFontCommand{\textcyr}{\cyr}

> \def\Eoborotnoye{\char3}
> \def\eoborotnoye{\char11}
> \def\cprime{\char126}
> \def\cdprime{\char127}

I see. This sets up the "legacy support" for Cyrillic.
The "standard" way for 8-bit TeX is the T2A font encoding and
the cyrillic macros \CYRA ... \cyrya
for the letters А ... я.

0410; А; \CYRA; CYRILLIC CAPITAL LETTER A
0411; Б; \CYRB; CYRILLIC CAPITAL LETTER BE
...
044E; ю; \cyryu; CYRILLIC SMALL LETTER YU
044F; я; \cyrya; CYRILLIC SMALL LETTER YA

This also allows as wider choice of fonts as there are more T2A-encoded font
families available.

However, if the cyrillic text snippets look fine, there is no need to change
anything in your document at this stage. 

Günter



Re: Cyrillic signs in BibTeX > JabRef > LyX

2013-11-20 Thread stefano franchi
On Wed, Nov 20, 2013 at 4:25 PM, Guenter Milde  wrote:

> On 2013-11-19, Roel Schipper - CITG wrote:
> >> Alternatively, you may try to write the Cyrillic characters as LICR
> >> macros (\cyra ... \cyrja) - this should solve utf-8 problems but you
> >> still need correct fonts and the correct language setting (so switch
> >> the TeX font encoding).
>
> It seems like you need either to switch to biblatex (I don't know whether
> this works with LyX) or
>
>

biblatex does work with lyx, but it requires some workarounds (assuming the
question was not restricted to cyrillic)
The lyx wiki provides instructions.

S.





-- 
__
Stefano Franchi
Associate Research Professor
Department of Hispanic StudiesPh:   +1 (979) 845-2125
Texas A&M University  Fax:  +1 (979) 845-6421
College Station, Texas, USA

stef...@tamu.edu
http://stefano.cleinias.org


Re: Cyrillic signs in BibTeX > JabRef > LyX

2013-11-20 Thread Guenter Milde
I forgot the patch:

--- /home/milde/.lyx-svn/unicodesymbols 2013-04-03 15:15:47.0 +0200
+++ /usr/local/src/lyx/lib/unicodesymbols   2013-03-25 14:47:18.0 
+0100
@@ -875,213 +875,103 @@
 #
 # Cyrillic
 #
-# "textcyr" selects LaTeX font encoding T2A
-0x0400 "\\textcyr{\\`\\CYRE}" "textcyr" "" # CYRILLIC CAPITAL LETTER IE 
WITH GRAVE
-0x0401 "\\textcyr{\\CYRYO}"   "textcyr" "" # CYRILLIC CAPITAL LETTER IO
-0x0402 "\\textcyr{\\CYRDJE}"  "textcyr" "" # CYRILLIC CAPITAL LETTER DJE
-0x0403 "\\textcyr{\\`\\CYRG}" "textcyr" "" # CYRILLIC CAPITAL LETTER GJE
-0x0404 "\\textcyr{\\CYRIE}"   "textcyr" "" # CYRILLIC CAPITAL LETTER 
UKRAINIAN IE
-0x0405 "\\textcyr{\\CYRDZE}"  "textcyr" "" # CYRILLIC CAPITAL LETTER DZE
-0x0406 "\\textcyr{\\CYRII}"   "textcyr" "" # CYRILLIC CAPITAL LETTER 
BYELORUSSIAN-UKRAINIAN I
-0x0407 "\\textcyr{\\CYRYI}"   "textcyr" "" # CYRILLIC CAPITAL LETTER YI
-0x0408 "\\textcyr{\\CYRJE}"   "textcyr" "" # CYRILLIC CAPITAL LETTER JE
-0x0409 "\\textcyr{\\CYRLJE}"  "textcyr" "" # CYRILLIC CAPITAL LETTER LJE
-0x040a "\\textcyr{\\CYRNJE}"  "textcyr" "" # CYRILLIC CAPITAL LETTER NJE
-0x040b "\\textcyr{\\CYRTSHE}" "textcyr" "" # CYRILLIC CAPITAL LETTER TSHE
-0x040c "\\textcyr{\\`\\CYRK}" "textcyr" "" # CYRILLIC CAPITAL LETTER KJE
-0x040d "\\textcyr{\\`\\CYRI}" "textcyr" "" # CYRILLIC CAPITAL LETTER I 
WITH GRAVE
-0x040e "\\textcyr{\\CYRUSHRT}""textcyr" "" # CYRILLIC CAPITAL LETTER SHORT 
U
-0x040f "\\textcyr{\\CYRDZHE}" "textcyr" "" # CYRILLIC CAPITAL LETTER DZHE
-0x0410 "\\textcyr{\\CYRA}""textcyr" "" # CYRILLIC CAPITAL LETTER A
-0x0411 "\\textcyr{\\CYRB}""textcyr" "" # CYRILLIC CAPITAL LETTER BE
-0x0412 "\\textcyr{\\CYRV}""textcyr" "" # CYRILLIC CAPITAL LETTER VE
-0x0413 "\\textcyr{\\CYRG}""textcyr" "" # CYRILLIC CAPITAL LETTER GHE
-0x0414 "\\textcyr{\\CYRD}""textcyr" "" # CYRILLIC CAPITAL LETTER DE
-0x0415 "\\textcyr{\\CYRE}""textcyr" "" # CYRILLIC CAPITAL LETTER IE
-0x0416 "\\textcyr{\\CYRZH}"   "textcyr" "" # CYRILLIC CAPITAL LETTER ZHE
-0x0417 "\\textcyr{\\CYRZ}""textcyr" "" # CYRILLIC CAPITAL LETTER ZE
-0x0418 "\\textcyr{\\CYRI}""textcyr" "" # CYRILLIC CAPITAL LETTER I
-0x0419 "\\textcyr{\\CYRISHRT}""textcyr" "" # CYRILLIC CAPITAL LETTER SHORT 
I
-0x041a "\\textcyr{\\CYRK}""textcyr" "" # CYRILLIC CAPITAL LETTER KA
-0x041b "\\textcyr{\\CYRL}""textcyr" "" # CYRILLIC CAPITAL LETTER EL
-0x041c "\\textcyr{\\CYRM}""textcyr" "" # CYRILLIC CAPITAL LETTER EM
-0x041d "\\textcyr{\\CYRN}""textcyr" "" # CYRILLIC CAPITAL LETTER EN
-0x041e "\\textcyr{\\CYRO}""textcyr" "" # CYRILLIC CAPITAL LETTER O
-0x041f "\\textcyr{\\CYRP}""textcyr" "" # CYRILLIC CAPITAL LETTER PE
-0x0420 "\\textcyr{\\CYRR}""textcyr" "" # CYRILLIC CAPITAL LETTER ER
-0x0421 "\\textcyr{\\CYRS}""textcyr" "" # CYRILLIC CAPITAL LETTER ES
-0x0422 "\\textcyr{\\CYRT}""textcyr" "" # CYRILLIC CAPITAL LETTER TE
-0x0423 "\\textcyr{\\CYRU}""textcyr" "" # CYRILLIC CAPITAL LETTER U
-0x0424 "\\textcyr{\\CYRF}""textcyr" "" # CYRILLIC CAPITAL LETTER EF
-0x0425 "\\textcyr{\\CYRH}""textcyr" "" # CYRILLIC CAPITAL LETTER HA
-0x0426 "\\textcyr{\\CYRC}""textcyr" "" # CYRILLIC CAPITAL LETTER TSE
-0x0427 "\\textcyr{\\CYRCH}"   "textcyr" "" # CYRILLIC CAPITAL LETTER CHE
-0x0428 "\\textcyr{\\CYRSH}"   "textcyr" "" # CYRILLIC CAPITAL LETTER SHA
-0x0429 "\\textcyr{\\CYRSHCH}" "textcyr" "" # CYRILLIC CAPITAL LETTER SHCHA
-0x042a "\\textcyr{\\CYRHRDSN}""textcyr" "" # CYRILLIC CAPITAL LETTER HARD 
SIGN
-0x042b "\\textcyr{\\CYRERY}"  "textcyr" "" # CYRILLIC CAPITAL LETTER YERU
-0x042c "\\textcyr{\\CYRSFTSN}""textcyr" "" # CYRILLIC CAPITAL LETTER SOFT 
SIGN
-0x042d "\\textcyr{\\CYREREV}" "textcyr" "" # CYRILLIC CAPITAL LETTER E
-0x042e "\\textcyr{\\CYRYU}"   "textcyr" "" # CYRILLIC CAPITAL LETTER YU
-0x042f "\\textcyr{\\CYRYA}"   "textcyr" "" # CYRILLIC CAPITAL LETTER YA
-0x0430 "\\textcyr{\\cyra}""textcyr" "" # CYRILLIC SMALL LETTER A
-0x0431 "\\textcyr{\\cyrb}""textcyr" "" # CYRILLIC SMALL LETTER BE
-0x0432 "\\textcyr{\\cyrv}""textcyr" "" # CYRILLIC SMALL LETTER VE
-0x0433 "\\textcyr{\\cyrg}""textcyr" "" # CYRILLIC SMALL LETTER GHE
-0x0434 "\\textcyr{\\cyrd}""textcyr" "" # CYRILLIC SMALL LETTER DE
-0x0435 "\\textcyr{\\cyre}""textcyr" "" # CYRILLIC SMALL LETTER IE
-0x0436 "\\textcyr{\\cyrzh}"   "textcyr" "" # CYRILLIC SMALL LETTER ZHE
-0x0437 "\\textcyr{\\cyrz}""textcyr" "" # CYRILLIC SMALL LETTER ZE
-0x0438 "\\textcyr{\\cyri}""textcyr" "" # CYRILLIC SMALL LETTER I
-0x0439 "\\textcyr{\\cyrishrt}""textcyr" "" # CYRILLIC SMALL LETTER SHORT I
-0x043a "\\textcyr{\\cyrk}""textcyr" "" # CYRILLIC SMALL LETTER KA
-0x043b "\\textcyr{\\cyrl}""textcyr" "" # CYRILLIC SMALL LETTER EL
-0x043c "\\textcyr{\\cyrm}"  

Re: Cyrillic signs in BibTeX > JabRef > LyX

2013-11-20 Thread Guenter Milde
On 2013-11-19, Roel Schipper - CITG wrote:

>> The original bibtex does not understand non-ASCII charcters.
>> There is an 8-bit clean fork (bibtex8).

>> If you use literal German umlauts in your *.bib file without problems,
>> this is a sign that bibtex8 is used.

> Until now, I used the {\} encoding for German umlauts etc.

Then I recommend to use LaTeX Internal Character Representation (LICR) as
encoding for Cyrillic, too.

>> What is the encoding of the bibtex file?

> I have put this to UTF-8; now at least LyX recognizes the reference:
> when I keep my mouse over the citation, LyX shows the Cyrillic
> characters.

>> Do you use utf-8 for the exported LaTeX file?
>> (Document>Settings>Language>Encoding)

> It is on "Language Default (no inputenc)" now; my language is English. 

"Language Default (no inputenc)" is an advanced setting. It requires you
either to use pure ASCII or to insert some input converter "by hand" (e.g.
in the document preamble). Use this only if absolutely required.

However, it may be that you did not change the radiobutton, so that while
the drop-down box shows this text the setting is "Language default".

> As soon as I put it on "UTF-8" the complete Bibliography chapter will
> disappear at the end of the document after compiling.

Strange. There should be some error report. Maybe this is related to BibTeX
not working with utf8 and will go away if you have your bibfile in pure
ASCII with LICR.

What happens with setting encoding to ASCII?

>> Does Cyrillic work, if you drag-and-drop it into the document (just as
>> a test)?

> Yes, although in another font than the rest of the text.

For fixing the font issue, you may try the "substituefont" package
(http://www.ctan.org/pkg/substitutefont has an example file in the
documentation) or (if this is possible for your document) using a font
supporting Cyrillic like "Linux Libertine" or "Deja Vu".

...

> While in the main document, all captions etc are translated to in
> Russian and shown in perfect Cyrillic characters ??? I am clueless.
> 

>> Alternatively, you may try to write the Cyrillic characters as LICR
>> macros (\cyra ... \cyrja) - this should solve utf-8 problems but you
>> still need correct fonts and the correct language setting (so switch
>> the TeX font encoding).

It seems like you need either to switch to biblatex (I don't know whether
this works with LyX) or

* LICR macros and
* \foreignlanguage{russian}{} around all cyrillic text
  parts in the *.bib file.
  
For conversion of UTF8 encoded characters into LICR, there may be an option
in the BibTeX program (encoding ASCII or similar).
You can also try the "recode" command line program or LyX:

If you apply the following patch to a copy of unicodesymbols in your
local LyX folder, LyX will do the conversion. Copy/Paste the Cyrillic
text into LyX, set Language>Encoding to ASCII and see the result with
View>Source or in an exported LaTeX file.

Günter




Re: Cyrillic signs in BibTeX > JabRef > LyX

2013-11-19 Thread Jürgen Spitzmüller
2013/11/19 stefano franchi

> Bibtex8 expands bibtex to 8 bits, but I am not sure it's Unicode capable.
>

No, it's not. There's a new, unicode-capable variant called "bibtexu",
which is even included in TeX Live, but it's not documented and it also
does not seem to be straightforward to use (I did not test it myself).

Jürgen


RE: Cyrillic signs in BibTeX > JabRef > LyX

2013-11-19 Thread Roel Schipper - CITG
Maybe I should also make that switch to biber/biblatex then…


From: stefano franchi [mailto:stefano.fran...@gmail.com]
Sent: dinsdag 19 november 2013 15:06
To: Roel Schipper - CITG
Cc: Guenter Milde; lyx-users@lists.lyx.org
Subject: Re: Cyrillic signs in BibTeX > JabRef > LyX



On Tue, Nov 19, 2013 at 7:40 AM, Roel Schipper - CITG 
mailto:h.r.schip...@tudelft.nl>> wrote:
Stefano,
It is indeed set to bibtex8 at the position you say.
So that can’t be the problem…

This is just a guess, as I never used bibtex8 (I switched to biber/biblatex 
when having similar problems with Greek):
There may be a problem in using bibtex8 with UTF8 encoded files (like your bib 
file). Bibtex8 expands bibtex to 8 bits, but I am not sure it's Unicode capable.
I am sure Guenter knows more about this, perhaps he'll chime in.

Sorry I cannot be of more help.

Cheers,

Stefano
--
__
Stefano Franchi
Associate Research Professor
Department of Hispanic StudiesPh:   +1 (979) 845-2125
Texas A&M University  Fax:  +1 (979) 845-6421
College Station, Texas, USA

stef...@tamu.edu<mailto:stef...@tamu.edu>
http://stefano.cleinias.org


Re: Cyrillic signs in BibTeX > JabRef > LyX

2013-11-19 Thread stefano franchi
On Tue, Nov 19, 2013 at 7:40 AM, Roel Schipper - CITG <
h.r.schip...@tudelft.nl> wrote:

>  Stefano,
>
> It is indeed set to bibtex8 at the position you say.
>
> So that can’t be the problem…
>


This is just a guess, as I never used bibtex8 (I switched to biber/biblatex
when having similar problems with Greek):

There may be a problem in using bibtex8 with UTF8 encoded files (like your
bib file). Bibtex8 expands bibtex to 8 bits, but I am not sure it's Unicode
capable.
I am sure Guenter knows more about this, perhaps he'll chime in.

Sorry I cannot be of more help.


Cheers,

Stefano
-- 
__
Stefano Franchi
Associate Research Professor
Department of Hispanic StudiesPh:   +1 (979) 845-2125
Texas A&M University  Fax:  +1 (979) 845-6421
College Station, Texas, USA

stef...@tamu.edu
http://stefano.cleinias.org


RE: Cyrillic signs in BibTeX > JabRef > LyX

2013-11-19 Thread Roel Schipper - CITG
Stefano,
It is indeed set to bibtex8 at the position you say.
So that can’t be the problem…
Thanks,
Roel

From: stefano franchi [mailto:stefano.fran...@gmail.com]
Sent: dinsdag 19 november 2013 13:59
To: Roel Schipper - CITG
Cc: Guenter Milde; lyx-users@lists.lyx.org
Subject: Re: Cyrillic signs in BibTeX > JabRef > LyX

Roel,
In addtion to everything you tried, have you set the bibliography processor to 
bibtex8?

You do so in Document>Preferences>Bibliography and then select bibtex8 in the 
drop down menu on the right pane, where it says "Processor"

That could help.


Cheers,

Stefano


On Tue, Nov 19, 2013 at 4:05 AM, Roel Schipper - CITG 
mailto:h.r.schip...@tudelft.nl>> wrote:
Günter,

Thanks for you quick reply and useful tips. Thanks to your tips I have now gone 
through many options that I did not know before.
But, until now, without luck, although some funny things happened. See below.

Kindly,
Roel

> The original bibtex does not understand non-ASCII charcters.
> There is an 8-bit clean fork (bibtex8).
>
> If you use literal German umlauts in your *.bib file without problems, this 
> is a
> sign that bibtex8 is used.
Until now, I used the {\} encoding for German umlauts etc.

> What is the encoding of the bibtex file?
I have put this to UTF-8; now at least LyX recognizes the reference: when I 
keep my mouse over the citation, LyX shows the Cyrillic characters.

> Do you use utf-8 for the exported LaTeX file?
> (Document>Settings>Language>Encoding)
It is on "Language Default (no inputenc)" now; my language is English.
As soon as I put it on "UTF-8" the complete Bibliography chapter will disappear 
at the end of the document after compiling.

> Does Cyrillic work, if you drag-and-drop it into the document (just as a 
> test)?
Yes, although in another font than the rest of the text.

> Does it work if you set the language of the relevant text part to Russian?

> With
> * an utf-8 encoded LaTeX file,you 
> mean BibTeX here? Then that is the case.
> * the russian option to babel (or as document wide option)done
> * \foreignlanguage{russian}{} around all cyrillic text parts   
> it is only a citation in Russian, no Russian text in main document
> * bitex8  done
> * a suitable Cyrillic fontit 
> shows Cyrillic when I copy some Russian in the main text,
Both on 
screen and in PDF, although not in the sans serif font that I use
> * some luck   
> obviously it is not my lucky day :-)
>
> it might work.
>

The best result that I have booked until now is that the reference in the 
Bibliography shows as:
"Schipper, H. (2011). ЧñAð"ðÿðuðšð"ðtñAñCðšð" ðSðtñCð"ð·ð·ñNñE 
ð­ðzðtð¼ðtð·ñCð"ðš
ða ðTðšñCð¼ñR ðŽñAðÿðšð"ðzðÿð·ðtðzð·ñNð¼ðÿ ðŽð"ð·ñCñCñAðrð¼ðÿ -
ð§ñAðÿð¼ðtð·ðtð·ðÿðt ð§ðtñAðtðtð"ðšñNñE ð§ñAð"ðÿðuðšð"ðtñAñCðšðtð·ð·ñNñE
ðœðtñCð"ðtð"ðš ðŠ ðað"ðuðtðrð·ðÿðÿ ðaðšð"ðsð"ðtð·ñNñE ðRñAñEðÿñCðtðžñCñCñAð·ñNñE
ðdð"ñAð¼ (manufacturing of double-curved concrete elements). ÐSÐtÑCÐ"з П
ÐUÐtÐzÐtÐuÐ"ÐsÐtÑCÐ"з (Concrete and Reinforced Concrete), 1:48–52."

While in the main document, all captions etc are translated to in Russian and 
shown in perfect Cyrillic characters
??? I am clueless.

> Alternatively, you may try to write the Cyrillic characters as LICR macros 
> (\cyra
> ... \cyrja) - this should solve utf-8 problems but you still need correct 
> fonts
> and the correct language setting (so switch the TeX font encoding).
>
> Günter
>
>
>
> > I already scanned some digests with hints about Greek and special
> > characters, but since I am not very well known in different text
> > encodings, I could not make up what to do. Anyone with a quick fix? I
> > will stay using JabRef, since this is the only of 100 titles that give
> > me problems and am happy with that program.
>
> > Thanks in advance.
> > Roel Schipper
>
>
> > [-- Skipped Type: text/html --]



--
__
Stefano Franchi
Associate Research Professor
Department of Hispanic StudiesPh:   +1 (979) 845-2125
Texas A&M University  Fax:  +1 (979) 845-6421
College Station, Texas, USA

stef...@tamu.edu<mailto:stef...@tamu.edu>
http://stefano.cleinias.org


Re: Cyrillic signs in BibTeX > JabRef > LyX

2013-11-19 Thread stefano franchi
Roel,

In addtion to everything you tried, have you set the bibliography processor
to bibtex8?

You do so in Document>Preferences>Bibliography and then select bibtex8 in
the drop down menu on the right pane, where it says "Processor"


That could help.


Cheers,

Stefano



On Tue, Nov 19, 2013 at 4:05 AM, Roel Schipper - CITG <
h.r.schip...@tudelft.nl> wrote:

> Günter,
>
> Thanks for you quick reply and useful tips. Thanks to your tips I have now
> gone through many options that I did not know before.
> But, until now, without luck, although some funny things happened. See
> below.
>
> Kindly,
> Roel
>
> > The original bibtex does not understand non-ASCII charcters.
> > There is an 8-bit clean fork (bibtex8).
> >
> > If you use literal German umlauts in your *.bib file without problems,
> this is a
> > sign that bibtex8 is used.
>
> Until now, I used the {\} encoding for German umlauts etc.
>
> > What is the encoding of the bibtex file?
>
> I have put this to UTF-8; now at least LyX recognizes the reference: when
> I keep my mouse over the citation, LyX shows the Cyrillic characters.
>
> > Do you use utf-8 for the exported LaTeX file?
> > (Document>Settings>Language>Encoding)
>
> It is on "Language Default (no inputenc)" now; my language is English.
> As soon as I put it on "UTF-8" the complete Bibliography chapter will
> disappear at the end of the document after compiling.
>
> > Does Cyrillic work, if you drag-and-drop it into the document (just as a
> test)?
>
> Yes, although in another font than the rest of the text.
>
> > Does it work if you set the language of the relevant text part to
> Russian?
>
> > With
> > * an utf-8 encoded LaTeX file,
>  you mean BibTeX here? Then that is the case.
> > * the russian option to babel (or as document wide option)
>  done
> > * \foreignlanguage{russian}{} around all cyrillic text
> parts   it is only a citation in Russian, no Russian text in main document
> > * bitex8
>  done
> > * a suitable Cyrillic fontit
> shows Cyrillic when I copy some Russian in the main text,
>
> Both on screen and in PDF, although not in the sans serif font that I use
> > * some luck
> obviously it is not my lucky day :-)
> >
> > it might work.
> >
>
> The best result that I have booked until now is that the reference in the
> Bibliography shows as:
> "Schipper, H. (2011). ЧñAð"ðÿðuðšð"ðtñAñCðšð" ðSðtñCð"ð·ð·ñNñE
> ð­ðzðtð¼ðtð·ñCð"ðš
> ða ðTðšñCð¼ñR ðŽñAðÿðšð"ðzðÿð·ðtðzð·ñNð¼ðÿ ðŽð"ð·ñCñCñAðrð¼ðÿ -
> ð§ñAðÿð¼ðtð·ðtð·ðÿðt ð§ðtñAðtðtð"ðšñNñE ð§ñAð"ðÿðuðšð"ðtñAñCðšðtð·ð·ñNñE
> ðœðtñCð"ðtð"ðš ðŠ ðað"ðuðtðrð·ðÿðÿ ðaðšð"ðsð"ðtð·ñNñE
> ðRñAñEðÿñCðtðžñCñCñAð·ñNñE
> ðdð"ñAð¼ (manufacturing of double-curved concrete elements). ÐSÐtÑCÐ"з П
> ÐUÐtÐzÐtÐuÐ"ÐsÐtÑCÐ"з (Concrete and Reinforced Concrete), 1:48–52."
>
> While in the main document, all captions etc are translated to in Russian
> and shown in perfect Cyrillic characters
> ??? I am clueless.
>
> > Alternatively, you may try to write the Cyrillic characters as LICR
> macros (\cyra
> > ... \cyrja) - this should solve utf-8 problems but you still need
> correct fonts
> > and the correct language setting (so switch the TeX font encoding).
> >
> > Günter
> >
> >
> >
> > > I already scanned some digests with hints about Greek and special
> > > characters, but since I am not very well known in different text
> > > encodings, I could not make up what to do. Anyone with a quick fix? I
> > > will stay using JabRef, since this is the only of 100 titles that give
> > > me problems and am happy with that program.
> >
> > > Thanks in advance.
> > > Roel Schipper
> >
> >
> > > [-- Skipped Type: text/html --]
>
>


-- 
__
Stefano Franchi
Associate Research Professor
Department of Hispanic StudiesPh:   +1 (979) 845-2125
Texas A&M University  Fax:  +1 (979) 845-6421
College Station, Texas, USA

stef...@tamu.edu
http://stefano.cleinias.org


RE: Cyrillic signs in BibTeX > JabRef > LyX

2013-11-19 Thread Roel Schipper - CITG
Günter,

Thanks for you quick reply and useful tips. Thanks to your tips I have now gone 
through many options that I did not know before.
But, until now, without luck, although some funny things happened. See below.

Kindly,
Roel

> The original bibtex does not understand non-ASCII charcters.
> There is an 8-bit clean fork (bibtex8).
> 
> If you use literal German umlauts in your *.bib file without problems, this 
> is a
> sign that bibtex8 is used.

Until now, I used the {\} encoding for German umlauts etc.

> What is the encoding of the bibtex file?

I have put this to UTF-8; now at least LyX recognizes the reference: when I 
keep my mouse over the citation, LyX shows the Cyrillic characters.

> Do you use utf-8 for the exported LaTeX file?
> (Document>Settings>Language>Encoding)

It is on "Language Default (no inputenc)" now; my language is English. 
As soon as I put it on "UTF-8" the complete Bibliography chapter will disappear 
at the end of the document after compiling.

> Does Cyrillic work, if you drag-and-drop it into the document (just as a 
> test)?

Yes, although in another font than the rest of the text.

> Does it work if you set the language of the relevant text part to Russian?
 
> With
> * an utf-8 encoded LaTeX file,you 
> mean BibTeX here? Then that is the case.
> * the russian option to babel (or as document wide option)done
> * \foreignlanguage{russian}{} around all cyrillic text parts   
> it is only a citation in Russian, no Russian text in main document
> * bitex8  done
> * a suitable Cyrillic fontit 
> shows Cyrillic when I copy some Russian in the main text, 
Both on 
screen and in PDF, although not in the sans serif font that I use
> * some luck   
> obviously it is not my lucky day :-)
> 
> it might work.
> 

The best result that I have booked until now is that the reference in the 
Bibliography shows as:
"Schipper, H. (2011). ЧñAð"ðÿðuðšð"ðtñAñCðšð" ðSðtñCð"ð·ð·ñNñE 
ð­ðzðtð¼ðtð·ñCð"ðš
ða ðTðšñCð¼ñR ðŽñAðÿðšð"ðzðÿð·ðtðzð·ñNð¼ðÿ ðŽð"ð·ñCñCñAðrð¼ðÿ -
ð§ñAðÿð¼ðtð·ðtð·ðÿðt ð§ðtñAðtðtð"ðšñNñE ð§ñAð"ðÿðuðšð"ðtñAñCðšðtð·ð·ñNñE
ðœðtñCð"ðtð"ðš ðŠ ðað"ðuðtðrð·ðÿðÿ ðaðšð"ðsð"ðtð·ñNñE ðRñAñEðÿñCðtðžñCñCñAð·ñNñE
ðdð"ñAð¼ (manufacturing of double-curved concrete elements). ÐSÐtÑCÐ"з П
ÐUÐtÐzÐtÐuÐ"ÐsÐtÑCÐ"з (Concrete and Reinforced Concrete), 1:48–52."

While in the main document, all captions etc are translated to in Russian and 
shown in perfect Cyrillic characters
??? I am clueless. 

> Alternatively, you may try to write the Cyrillic characters as LICR macros 
> (\cyra
> ... \cyrja) - this should solve utf-8 problems but you still need correct 
> fonts
> and the correct language setting (so switch the TeX font encoding).
> 
> Günter
> 
> 
> 
> > I already scanned some digests with hints about Greek and special
> > characters, but since I am not very well known in different text
> > encodings, I could not make up what to do. Anyone with a quick fix? I
> > will stay using JabRef, since this is the only of 100 titles that give
> > me problems and am happy with that program.
> 
> > Thanks in advance.
> > Roel Schipper
> 
> 
> > [-- Skipped Type: text/html --]



Re: Cyrillic signs in BibTeX > JabRef > LyX

2013-11-18 Thread Guenter Milde
On 2013-11-18, Roel Schipper - CITG wrote:

> [-- Type: text/plain, Encoding: quoted-printable --]

> Dear Lyx users,

> One of my articles was translated in Russian, and now I would like to
> refer to it in my PhD thesis. If I want to 'pdflatex' my thesis, the
> bibliography pages, however, stay empty, where the settings worked fine
> before and until I entered this Cyrrilic signs.

> I am using Lyx 2.0.6 under Windows 7 with MiKTeX, and am a LyX user for
> a few years, and now JabRef 2.9 as reference manager, that stores my
> references in a flat text BibTeX file. The entry looks fine in the text
> file:

> @ARTICLE{Schipper2011a,
>   author = {Schipper, H.R.},
>   title = {Производство Бетонных Элементов С Двумя Криволинейными Контурами
>   - Применение Передовых Производственных Методов В Создании Свободных
>   Архитектурных Форм (Manufacturing Of Double-curved Concrete Elements)},
>   journal = {Бетон И Железобетон (Concrete and Reinforced Concrete)},
>   year = {2011},
>   volume = {1},
>   pages = {48-52}
> }

> In LyX' document settings I have my bibliography-settings standing at:
> Natbib, author-year, style, and in the options in the Bibliography
> settings I have selected: APA style.

> Any suggestions? 

The original bibtex does not understand non-ASCII charcters.
There is an 8-bit clean fork (bibtex8).

If you use literal German umlauts in your *.bib file without problems, this
is a sign that bibtex8 is used.

What is the encoding of the bibtex file?

Do you use utf-8 for the exported LaTeX file?
(Document>Settings>Language>Encoding)

Does Cyrillic work, if you drag-and-drop it into the document (just as a
test)?

Does it work if you set the language of the relevant text part to Russian?

With 

* an utf-8 encoded LaTeX file,
* the russian option to babel (or as document wide option)
* \foreignlanguage{russian}{} around all cyrillic text parts
* bitex8
* a suitable Cyrillic font
* some luck

it might work.

Alternatively, you may try to write the Cyrillic characters as LICR macros
(\cyra ... \cyrja) - this should solve utf-8 problems but you still need
correct fonts and the correct language setting (so switch the TeX font
encoding).

Günter



> I already scanned some digests with hints about Greek
> and special characters, but since I am not very well known in different
> text encodings, I could not make up what to do. Anyone with a quick
> fix? I will stay using JabRef, since this is the only of 100 titles
> that give me problems and am happy with that program.

> Thanks in advance.
> Roel Schipper


> [-- Skipped Type: text/html --]



Cyrillic signs in BibTeX > JabRef > LyX

2013-11-18 Thread Roel Schipper - CITG
Dear Lyx users,

One of my articles was translated in Russian, and now I would like to refer to 
it in my PhD thesis.
If I want to 'pdflatex' my thesis, the bibliography pages, however, stay empty, 
where the settings worked fine before and until I entered this Cyrrilic signs.

I am using Lyx 2.0.6 under Windows 7 with MiKTeX, and am a LyX user for a few 
years, and now JabRef 2.9 as reference manager, that stores my references in a 
flat text BibTeX file. The entry looks fine in the text file:

@ARTICLE{Schipper2011a,
  author = {Schipper, H.R.},
  title = {Производство Бетонных Элементов С Двумя Криволинейными Контурами
  - Применение Передовых Производственных Методов В Создании Свободных
  Архитектурных Форм (Manufacturing Of Double-curved Concrete Elements)},
  journal = {Бетон И Железобетон (Concrete and Reinforced Concrete)},
  year = {2011},
  volume = {1},
  pages = {48-52}
}

In LyX' document settings I have my bibliography-settings standing at: Natbib, 
author-year, style,
and in the options in the Bibliography settings I have selected: APA style.

Any suggestions? I already scanned some digests with hints about Greek and 
special characters, but since I am not very well known in different text 
encodings, I could not make up what to do. Anyone with a quick fix? I will stay 
using JabRef, since this is the only of 100 titles that give me problems and am 
happy with that program.

Thanks in advance.
Roel Schipper