Re: Cyrillic formatted text in mathmode

2009-03-10 Thread Guenter Milde
On 2009-03-09, neGODnick wrote:
 Guenter Milde mi...@... writes:
 On 2009-03-08, neGODnick wrote:

 Yes, but it is much less usefull, for example, to change all letters in
 whole document :(

 What is an Эптнц?

 Oh, just author's abbreviation, from Э_потенциальное (E_potential).

But then птнц should be upright, $E_\text{птнц}$, as птнц is not a
variable but a text-abbreviation. 


.. [symbol-fonts] I.M. Mills and W.V. Metanomski,
   `On the use of italic and roman fonts for symbols in scientific text`, 
   (Revised December 1999):
   http://old.iupac.org/standing/idcns/fonts_for_symbols.html

.. [Green-Book] `Quantities, Units and Symbols in Physical Chemistry`,
   3rd edition, RSC Publishing, Cambridge 2007:
   [ISBN 0 85404 433 7; ISBN-13 978 0 85404 433 7]

.. [typefaces] `Typefaces for Symbols in Scientific Manuscripts`:
   http://physics.nist.gov/Document/typefaces.pdf

.. [SI-brochure] `The International System of Units (SI)`:
   http://www.bipm.org/en/si/si_brochure/

.. [TUGboat] Claudio Beccari, `Typesetting mathematics for science and
   technology according to ISO 31 XI`, TUGboat, Volume 18 No. 1, 1997:
   http://www.tug.org/TUGboat/Articles/tb18-1/tb54becc.pdf


Günter



Re: Cyrillic formatted text in mathmode

2009-03-10 Thread neGODnick
You have lines longer than 80 characters. Fix that.



Re: Cyrillic formatted text in mathmode

2009-03-10 Thread Guenter Milde
On 2009-03-09, neGODnick wrote:
 Guenter Milde mi...@... writes:
 On 2009-03-08, neGODnick wrote:

 Yes, but it is much less usefull, for example, to change all letters in
 whole document :(

 What is an Эптнц?

 Oh, just author's abbreviation, from Э_потенциальное (E_potential).

But then птнц should be upright, $E_\text{птнц}$, as птнц is not a
variable but a text-abbreviation. 


.. [symbol-fonts] I.M. Mills and W.V. Metanomski,
   `On the use of italic and roman fonts for symbols in scientific text`, 
   (Revised December 1999):
   http://old.iupac.org/standing/idcns/fonts_for_symbols.html

.. [Green-Book] `Quantities, Units and Symbols in Physical Chemistry`,
   3rd edition, RSC Publishing, Cambridge 2007:
   [ISBN 0 85404 433 7; ISBN-13 978 0 85404 433 7]

.. [typefaces] `Typefaces for Symbols in Scientific Manuscripts`:
   http://physics.nist.gov/Document/typefaces.pdf

.. [SI-brochure] `The International System of Units (SI)`:
   http://www.bipm.org/en/si/si_brochure/

.. [TUGboat] Claudio Beccari, `Typesetting mathematics for science and
   technology according to ISO 31 XI`, TUGboat, Volume 18 No. 1, 1997:
   http://www.tug.org/TUGboat/Articles/tb18-1/tb54becc.pdf


Günter



Re: Cyrillic formatted text in mathmode

2009-03-10 Thread neGODnick
You have lines longer than 80 characters. Fix that.



Re: Cyrillic formatted text in mathmode

2009-03-10 Thread Guenter Milde
On 2009-03-09, neGODnick wrote:
> Guenter Milde  writes:
>> On 2009-03-08, neGODnick wrote:

> Yes, but it is much less usefull, for example, to change all letters in
> whole document :(

>> What is an Эптнц?

> Oh, just author's abbreviation, from Э_потенциальное (E_potential).

But then птнц should be upright, $E_\text{птнц}$, as птнц is not a
variable but a text-abbreviation. 


.. [symbol-fonts] I.M. Mills and W.V. Metanomski,
   `On the use of italic and roman fonts for symbols in scientific text`, 
   (Revised December 1999):
   http://old.iupac.org/standing/idcns/fonts_for_symbols.html

.. [Green-Book] `Quantities, Units and Symbols in Physical Chemistry`,
   3rd edition, RSC Publishing, Cambridge 2007:
   [ISBN 0 85404 433 7; ISBN-13 978 0 85404 433 7]

.. [typefaces] `Typefaces for Symbols in Scientific Manuscripts`:
   http://physics.nist.gov/Document/typefaces.pdf

.. [SI-brochure] `The International System of Units (SI)`:
   http://www.bipm.org/en/si/si_brochure/

.. [TUGboat] Claudio Beccari, `Typesetting mathematics for science and
   technology according to ISO 31 XI`, TUGboat, Volume 18 No. 1, 1997:
   http://www.tug.org/TUGboat/Articles/tb18-1/tb54becc.pdf


Günter



Re: Cyrillic formatted text in mathmode

2009-03-10 Thread neGODnick
You have lines longer than 80 characters. Fix that.



Re: Cyrillic formatted text in mathmode

2009-03-09 Thread Guenter Milde
On 2009-03-08, neGODnick wrote:

 We have mathtext package to write russian in math mode. By default russian 
 letters are upright, but we can say:

 \DeclareSymbolFont{T2Aletters}{T2A}{cmr}{m}{it}

 аnd make them italic (or slanted etc.). That is very important
 possibility, but in LyX it doesn't work! 

In LyX, characters in a math box that have no translation to a math
equivalent are inserted as-is via the \lyxmathsym command.

But you can use the text-in-math feature, e.g.:

  1=1\,\mbox{\u044d\u0442\u043e \emph{\u044f\u0441\u043d\u043e} }

If you copy this into LyX, select and press Ctrl-M, it should convert
to the desired result.

 but I don't know, how to resolve this problem. Russian text in formulae LyX 
 writes as $\lyxmathsym{«Эптнц»}$.

What is an Эптнц?

Günter




RE: Re: Cyrillic formatted text in mathmode

2009-03-09 Thread Vincent van Ravesteijn - TNW
 

 We have mathtext package to write russian in math mode. By default 
 russian letters are upright, but we can say:

 \DeclareSymbolFont{T2Aletters}{T2A}{cmr}{m}{it}

 аnd make them italic (or slanted etc.). That is very important 
 possibility, but in LyX it doesn't work!

In LyX, characters in a math box that have no translation to a math
equivalent are inserted as-is via the \lyxmathsym command.

But you can use the text-in-math feature, e.g.:

 1=1\,\mbox{\u044d\u0442\u043e \emph{\u044f\u0441\u043d\u043e} }

If you copy this into LyX, select and press Ctrl-M, it should convert
to the desired result.

This is bug 5836 and Enrico already solved it in trunk:

http://bugzilla.lyx.org/show_bug.cgi?id=5836

Vincent


Re: Cyrillic formatted text in mathmode

2009-03-09 Thread neGODnick
Ok, people, see bugzilla: http://bugzilla.lyx.org/show_bug.cgi?id=5836




Re: Cyrillic formatted text in mathmode

2009-03-09 Thread neGODnick
Guenter Milde mi...@... writes:

 
 On 2009-03-08, neGODnick wrote:
 In LyX, characters in a math box that have no translation to a math
 equivalent are inserted as-is via the \lyxmathsym command.
 
 But you can use the text-in-math feature, e.g.:
 
   1=1\,\mbox{\u044d\u0442\u043e \emph{\u044f\u0441\u043d\u043e} }

Yes, but it is much less usefull, for example, to change all letters in whole 
document :(

 What is an Эптнц?

Oh, just author's abbreviation, from Э_потенциальное (E_potential).





Re: Cyrillic formatted text in mathmode

2009-03-09 Thread neGODnick
Uwe Stöhr uwesto...@... writes:

Uwe, I already replied you e-mail today. Here I missed you post, I'm sorry :—) 







Re: Cyrillic formatted text in mathmode

2009-03-09 Thread Guenter Milde
On 2009-03-08, neGODnick wrote:

 We have mathtext package to write russian in math mode. By default russian 
 letters are upright, but we can say:

 \DeclareSymbolFont{T2Aletters}{T2A}{cmr}{m}{it}

 аnd make them italic (or slanted etc.). That is very important
 possibility, but in LyX it doesn't work! 

In LyX, characters in a math box that have no translation to a math
equivalent are inserted as-is via the \lyxmathsym command.

But you can use the text-in-math feature, e.g.:

  1=1\,\mbox{\u044d\u0442\u043e \emph{\u044f\u0441\u043d\u043e} }

If you copy this into LyX, select and press Ctrl-M, it should convert
to the desired result.

 but I don't know, how to resolve this problem. Russian text in formulae LyX 
 writes as $\lyxmathsym{«Эптнц»}$.

What is an Эптнц?

Günter




RE: Re: Cyrillic formatted text in mathmode

2009-03-09 Thread Vincent van Ravesteijn - TNW
 

 We have mathtext package to write russian in math mode. By default 
 russian letters are upright, but we can say:

 \DeclareSymbolFont{T2Aletters}{T2A}{cmr}{m}{it}

 аnd make them italic (or slanted etc.). That is very important 
 possibility, but in LyX it doesn't work!

In LyX, characters in a math box that have no translation to a math
equivalent are inserted as-is via the \lyxmathsym command.

But you can use the text-in-math feature, e.g.:

 1=1\,\mbox{\u044d\u0442\u043e \emph{\u044f\u0441\u043d\u043e} }

If you copy this into LyX, select and press Ctrl-M, it should convert
to the desired result.

This is bug 5836 and Enrico already solved it in trunk:

http://bugzilla.lyx.org/show_bug.cgi?id=5836

Vincent


Re: Cyrillic formatted text in mathmode

2009-03-09 Thread neGODnick
Ok, people, see bugzilla: http://bugzilla.lyx.org/show_bug.cgi?id=5836




Re: Cyrillic formatted text in mathmode

2009-03-09 Thread neGODnick
Guenter Milde mi...@... writes:

 
 On 2009-03-08, neGODnick wrote:
 In LyX, characters in a math box that have no translation to a math
 equivalent are inserted as-is via the \lyxmathsym command.
 
 But you can use the text-in-math feature, e.g.:
 
   1=1\,\mbox{\u044d\u0442\u043e \emph{\u044f\u0441\u043d\u043e} }

Yes, but it is much less usefull, for example, to change all letters in whole 
document :(

 What is an Эптнц?

Oh, just author's abbreviation, from Э_потенциальное (E_potential).





Re: Cyrillic formatted text in mathmode

2009-03-09 Thread neGODnick
Uwe Stöhr uwesto...@... writes:

Uwe, I already replied you e-mail today. Here I missed you post, I'm sorry :—) 







Re: Cyrillic formatted text in mathmode

2009-03-09 Thread Guenter Milde
On 2009-03-08, neGODnick wrote:

> We have mathtext package to write russian in math mode. By default russian 
> letters are upright, but we can say:

> \DeclareSymbolFont{T2Aletters}{T2A}{cmr}{m}{it}

> аnd make them italic (or slanted etc.). That is very important
> possibility, but in LyX it doesn't work! 

In LyX, characters in a math box that have no translation to a math
equivalent are inserted as-is via the \lyxmathsym command.

But you can use the text-in-math feature, e.g.:

  1=1\,\mbox{\u044d\u0442\u043e \emph{\u044f\u0441\u043d\u043e} }

If you copy this into LyX, select and press Ctrl-M, it should convert
to the desired result.

> but I don't know, how to resolve this problem. Russian text in formulae LyX 
> writes as $\lyxmathsym{«Эптнц»}$.

What is an Эптнц?

Günter




RE: Re: Cyrillic formatted text in mathmode

2009-03-09 Thread Vincent van Ravesteijn - TNW
 

>> We have mathtext package to write russian in math mode. By default 
>> russian letters are upright, but we can say:
>
>> \DeclareSymbolFont{T2Aletters}{T2A}{cmr}{m}{it}
>
>> аnd make them italic (or slanted etc.). That is very important 
>> possibility, but in LyX it doesn't work!
>
>In LyX, characters in a math box that have no translation to a math
>equivalent are inserted as-is via the \lyxmathsym command.
>
>But you can use the text-in-math feature, e.g.:

> 1=1\,\mbox{\u044d\u0442\u043e \emph{\u044f\u0441\u043d\u043e} }
>
>If you copy this into LyX, select and press Ctrl-M, it should convert
>to the desired result.

This is bug 5836 and Enrico already solved it in trunk:

http://bugzilla.lyx.org/show_bug.cgi?id=5836

Vincent


Re: Cyrillic formatted text in mathmode

2009-03-09 Thread neGODnick
Ok, people, see bugzilla: http://bugzilla.lyx.org/show_bug.cgi?id=5836




Re: Cyrillic formatted text in mathmode

2009-03-09 Thread neGODnick
Guenter Milde  writes:

> 
> On 2009-03-08, neGODnick wrote:
> In LyX, characters in a math box that have no translation to a math
> equivalent are inserted as-is via the \lyxmathsym command.
> 
> But you can use the text-in-math feature, e.g.:
> 
>   1=1\,\mbox{\u044d\u0442\u043e \emph{\u044f\u0441\u043d\u043e} }

Yes, but it is much less usefull, for example, to change all letters in whole 
document :(

> What is an Эптнц?

Oh, just author's abbreviation, from Э_потенциальное (E_potential).





Re: Cyrillic formatted text in mathmode

2009-03-09 Thread neGODnick
Uwe Stöhr  writes:

Uwe, I already replied you e-mail today. Here I missed you post, I'm sorry :—) 







Cyrillic formatted text in mathmode

2009-03-08 Thread neGODnick
Hi!

We have mathtext package to write russian in math mode. By default russian 
letters are upright, but we can say:

\DeclareSymbolFont{T2Aletters}{T2A}{cmr}{m}{it}

аnd make them italic (or slanted etc.). That is very important possibility, but 
in LyX it doesn't work! No effect! I think, the occasion is in LyX code, which 
programm adds into document:

\declarerobustcommand{\lyxmathsym}[1]{\ifmmode\begingroup\de...@ld{bold}
  \def\rmorbf##1{\ifx\m...@version\b@ld\textbf{##1}\else\textrm{##1}\fi}
  \mathchoice{\hbox{\rmorbf{#1}}}{\hbox{\rmorbf{#1}}}
  {\hbox{\smaller[2]\rmorbf{#1}}}{\hbox{\smaller[3]\rmorbf{#1}}}
  \endgroup\else#1\fi}

but I don't know, how to resolve this problem. Russian text in formulae LyX 
writes as $\lyxmathsym{«Эптнц»}$. Could you help me to fix it?

Best regards, neGODnick



Re: Cyrillic formatted text in mathmode

2009-03-08 Thread Uwe Stöhr

neGODnick schrieb:

We have mathtext package to write russian in math mode. By default russian 
letters are upright, but we can say:


\DeclareSymbolFont{T2Aletters}{T2A}{cmr}{m}{it}


Can you send a small example LyX file, because when I use this command, I get a LaTeX error that T2A 
is unknown. Do you have some special Cyrillic packages installed that makes it available? (I'm 
asking because I can successfully compile LyX's Russian and Ukrainian documentation files.)


аnd make them italic (or slanted etc.). That is very important possibility, but 
in LyX it doesn't work! No effect! I think, the occasion is in LyX code, which 
programm adds into document:


\declarerobustcommand{\lyxmathsym}[1]{\ifmmode\begingroup\de...@ld{bold}
  \def\rmorbf##1{\ifx\m...@version\b@ld\textbf{##1}\else\textrm{##1}\fi}
  \mathchoice{\hbox{\rmorbf{#1}}}{\hbox{\rmorbf{#1}}}
  {\hbox{\smaller[2]\rmorbf{#1}}}{\hbox{\smaller[3]\rmorbf{#1}}}
  \endgroup\else#1\fi}

but I don't know, how to resolve this problem. Russian text in formulae LyX 
writes as $\lyxmathsym{«Эптнц»}$. Could you help me to fix it?


It should work when you add the Cyrillic characters to math text (shortcut Alt+M M) like in the 
attached example. Because without  being in math text you would get LaTeX errors because math in 
LaTeX was not designed to have a certain language and use characters that are not math characters.


regards Uwe


newfile2.lyx
Description: application/lyx


Cyrillic formatted text in mathmode

2009-03-08 Thread neGODnick
Hi!

We have mathtext package to write russian in math mode. By default russian 
letters are upright, but we can say:

\DeclareSymbolFont{T2Aletters}{T2A}{cmr}{m}{it}

аnd make them italic (or slanted etc.). That is very important possibility, but 
in LyX it doesn't work! No effect! I think, the occasion is in LyX code, which 
programm adds into document:

\declarerobustcommand{\lyxmathsym}[1]{\ifmmode\begingroup\de...@ld{bold}
  \def\rmorbf##1{\ifx\m...@version\b@ld\textbf{##1}\else\textrm{##1}\fi}
  \mathchoice{\hbox{\rmorbf{#1}}}{\hbox{\rmorbf{#1}}}
  {\hbox{\smaller[2]\rmorbf{#1}}}{\hbox{\smaller[3]\rmorbf{#1}}}
  \endgroup\else#1\fi}

but I don't know, how to resolve this problem. Russian text in formulae LyX 
writes as $\lyxmathsym{«Эптнц»}$. Could you help me to fix it?

Best regards, neGODnick



Re: Cyrillic formatted text in mathmode

2009-03-08 Thread Uwe Stöhr

neGODnick schrieb:

We have mathtext package to write russian in math mode. By default russian 
letters are upright, but we can say:


\DeclareSymbolFont{T2Aletters}{T2A}{cmr}{m}{it}


Can you send a small example LyX file, because when I use this command, I get a LaTeX error that T2A 
is unknown. Do you have some special Cyrillic packages installed that makes it available? (I'm 
asking because I can successfully compile LyX's Russian and Ukrainian documentation files.)


аnd make them italic (or slanted etc.). That is very important possibility, but 
in LyX it doesn't work! No effect! I think, the occasion is in LyX code, which 
programm adds into document:


\declarerobustcommand{\lyxmathsym}[1]{\ifmmode\begingroup\de...@ld{bold}
  \def\rmorbf##1{\ifx\m...@version\b@ld\textbf{##1}\else\textrm{##1}\fi}
  \mathchoice{\hbox{\rmorbf{#1}}}{\hbox{\rmorbf{#1}}}
  {\hbox{\smaller[2]\rmorbf{#1}}}{\hbox{\smaller[3]\rmorbf{#1}}}
  \endgroup\else#1\fi}

but I don't know, how to resolve this problem. Russian text in formulae LyX 
writes as $\lyxmathsym{«Эптнц»}$. Could you help me to fix it?


It should work when you add the Cyrillic characters to math text (shortcut Alt+M M) like in the 
attached example. Because without  being in math text you would get LaTeX errors because math in 
LaTeX was not designed to have a certain language and use characters that are not math characters.


regards Uwe


newfile2.lyx
Description: application/lyx


Cyrillic formatted text in mathmode

2009-03-08 Thread neGODnick
Hi!

We have mathtext package to write russian in math mode. By default russian 
letters are upright, but we can say:

\DeclareSymbolFont{T2Aletters}{T2A}{cmr}{m}{it}

аnd make them italic (or slanted etc.). That is very important possibility, but 
in LyX it doesn't work! No effect! I think, the occasion is in LyX code, which 
programm adds into document:

\declarerobustcommand{\lyxmathsym}[1]{\ifmmode\begingroup\de...@ld{bold}
  \def\rmorbf##1{\ifx\m...@version\b@ld\textbf{##1}\else\textrm{##1}\fi}
  \mathchoice{\hbox{\rmorbf{#1}}}{\hbox{\rmorbf{#1}}}
  {\hbox{\smaller[2]\rmorbf{#1}}}{\hbox{\smaller[3]\rmorbf{#1}}}
  \endgroup\else#1\fi}

but I don't know, how to resolve this problem. Russian text in formulae LyX 
writes as $\lyxmathsym{«Эптнц»}$. Could you help me to fix it?

Best regards, neGODnick



Re: Cyrillic formatted text in mathmode

2009-03-08 Thread Uwe Stöhr

neGODnick schrieb:

We have mathtext package to write russian in math mode. By default russian 
letters are upright, but we can say:


\DeclareSymbolFont{T2Aletters}{T2A}{cmr}{m}{it}


Can you send a small example LyX file, because when I use this command, I get a LaTeX error that T2A 
is unknown. Do you have some special Cyrillic packages installed that makes it available? (I'm 
asking because I can successfully compile LyX's Russian and Ukrainian documentation files.)


аnd make them italic (or slanted etc.). That is very important possibility, but 
in LyX it doesn't work! No effect! I think, the occasion is in LyX code, which 
programm adds into document:


\declarerobustcommand{\lyxmathsym}[1]{\ifmmode\begingroup\de...@ld{bold}
  \def\rmorbf##1{\ifx\m...@version\b@ld\textbf{##1}\else\textrm{##1}\fi}
  \mathchoice{\hbox{\rmorbf{#1}}}{\hbox{\rmorbf{#1}}}
  {\hbox{\smaller[2]\rmorbf{#1}}}{\hbox{\smaller[3]\rmorbf{#1}}}
  \endgroup\else#1\fi}

but I don't know, how to resolve this problem. Russian text in formulae LyX 
writes as $\lyxmathsym{«Эптнц»}$. Could you help me to fix it?


It should work when you add the Cyrillic characters to math text (shortcut Alt+M M) like in the 
attached example. Because without  being in math text you would get LaTeX errors because math in 
LaTeX was not designed to have a certain language and use characters that are not math characters.


regards Uwe


newfile2.lyx
Description: application/lyx