Re: can't use in hebrew under lyx

2008-11-18 Thread Jürgen Spitzmüller
Micha wrote:

 When I use the  (quote) in hebrew under lyx I get the following error:
 LaTeX Error: Command \textquotedbl unavailable in encoding LHE.
 I have to change language to english in order to insert the symbol.
 Is there a problem with my setup or is this a problem with lyx?

A problem with LaTeX/LyX. As a workaround, you can either mark the quotation 
mark as English or use \char`\ in ERT.

Jürgen



Re: can't use in hebrew under lyx

2008-11-18 Thread Jürgen Spitzmüller
Jürgen Spitzmüller wrote:

 When I use the  (quote) in hebrew under lyx I get the following error:
 LaTeX Error: Command \textquotedbl unavailable in encoding LHE.
 I have to change language to english in order to insert the symbol.
 Is there a problem with my setup or is this a problem with lyx?
 
 A problem with LaTeX/LyX. As a workaround, you can either mark the
 quotation mark as English or use \char`\ in ERT.

The problem is that Paragraph::Private::latexSpecialT1 is called after checking 
(lyxrc.fontenc == T1), but hebrew resets the font encoding internally to LHE 
(same applies probably to other languages), which is not noticed by LyX.

Should we add an additional language check?

Jürgen



Re: can't use in hebrew under lyx

2008-11-18 Thread Jürgen Spitzmüller
Micha wrote:

 When I use the  (quote) in hebrew under lyx I get the following error:
 LaTeX Error: Command \textquotedbl unavailable in encoding LHE.
 I have to change language to english in order to insert the symbol.
 Is there a problem with my setup or is this a problem with lyx?

A problem with LaTeX/LyX. As a workaround, you can either mark the quotation 
mark as English or use \char`\ in ERT.

Jürgen



Re: can't use in hebrew under lyx

2008-11-18 Thread Jürgen Spitzmüller
Jürgen Spitzmüller wrote:

 When I use the  (quote) in hebrew under lyx I get the following error:
 LaTeX Error: Command \textquotedbl unavailable in encoding LHE.
 I have to change language to english in order to insert the symbol.
 Is there a problem with my setup or is this a problem with lyx?
 
 A problem with LaTeX/LyX. As a workaround, you can either mark the
 quotation mark as English or use \char`\ in ERT.

The problem is that Paragraph::Private::latexSpecialT1 is called after checking 
(lyxrc.fontenc == T1), but hebrew resets the font encoding internally to LHE 
(same applies probably to other languages), which is not noticed by LyX.

Should we add an additional language check?

Jürgen



Re: can't use " in hebrew under lyx

2008-11-18 Thread Jürgen Spitzmüller
Micha wrote:

> When I use the " (quote) in hebrew under lyx I get the following error:
> LaTeX Error: Command \textquotedbl unavailable in encoding LHE.
> I have to change language to english in order to insert the symbol.
> Is there a problem with my setup or is this a problem with lyx?

A problem with LaTeX/LyX. As a workaround, you can either mark the quotation 
mark as English or use \char`\" in ERT.

Jürgen



Re: can't use " in hebrew under lyx

2008-11-18 Thread Jürgen Spitzmüller
Jürgen Spitzmüller wrote:

>> When I use the " (quote) in hebrew under lyx I get the following error:
>> LaTeX Error: Command \textquotedbl unavailable in encoding LHE.
>> I have to change language to english in order to insert the symbol.
>> Is there a problem with my setup or is this a problem with lyx?
> 
> A problem with LaTeX/LyX. As a workaround, you can either mark the
> quotation mark as English or use \char`\" in ERT.

The problem is that Paragraph::Private::latexSpecialT1 is called after checking 
(lyxrc.fontenc == "T1"), but hebrew resets the font encoding internally to LHE 
(same applies probably to other languages), which is not noticed by LyX.

Should we add an additional language check?

Jürgen