Re: Greek and degree-sign characters in listing

2014-07-02 Thread Guenter Milde
On 2014-07-01, Alexander Berg wrote:
 Dear all,

 i am using Lyx 2.1.0 on Arch Linux x86 and i hope that somebody out 
 there can help me :). Google told me nothing helpful.

 I am trying to export a document (class: article) to pdf. There are some 
 listings with greek characters and degree signs the appendix of this 
 document. ( Insert-Program Listing, Insert-File(plain text) )

The Listings package and Greek characters are known to be tricky:

It is already nontrivial to have mixed Greek and Latin text characters in
8-bit TeX (e.g. pdftex). This is, because in LaTeX, Greek fonts use a
non-standard Greek-only font encoding.

With LaTeX input encoding set to utf-8 and the package textalpha, you can
get Greek characters in normal Latin Text.

Do Greek text characters work in normal text in your document?

Listings does not handle utf-8: 

   Similarly, if you are using UTF-8 extended characters in a listing,
   they must be placed within an escape to L A TEX.
   
   -- listings.pdf

 If i try to export this document via pdflatex it tells me that there is 
 no representation for these characters in the current encoding. 

What is your encoding?

 After confirming with 'OK' the export gets done and all mentioned
 characters are missing.

There should be an error report/log telling more about what went wrong.

 Using LuaTeX or XeTeX there are no dialogs, but some Error ... UTF-16 
 ... are displayed in the status line for a second. Afterthe export is 
 done the greek characters are missing and the degree-sign is represented 
 as an 'ř'.

 What i am doing wrong and how can i fix it?

Also with LuaTeX/XeTeX, the listings package needs special care. Have a look
at its documentation.

If you insert plain text, make sure the encoding matches what you set in 
DocumentSettingsLanguageEncoding.

Günter



IPA in linggloss inset?

2014-07-02 Thread Hiram Ring
Hi folks,

  First off, thanks so much to Jürgen for all his work on the IPA toolbar in 
LyX 2.1! It is fantastic.

  A question, however: is it possible to enable normal text input in the 
linggloss (or in my case lingglosss) inset/environment? This would allow for 
direct IPA input, for example.

  I asked an expanded version of this question here, which should clarify what 
I'm trying to do: http://latex-community.org/forum/viewtopic.php?f=19t=24928

  There are also links on that page to some of the articles I've read in 
researching the topic, which suggest that what I would like to do is possible.

Any suggestions would be appreciated.

Best,
Hiram


Re: Greek and degree-sign characters in listing

2014-07-02 Thread Guenter Milde
On 2014-07-01, Alexander Berg wrote:
 Dear all,

 i am using Lyx 2.1.0 on Arch Linux x86 and i hope that somebody out 
 there can help me :). Google told me nothing helpful.

 I am trying to export a document (class: article) to pdf. There are some 
 listings with greek characters and degree signs the appendix of this 
 document. ( Insert-Program Listing, Insert-File(plain text) )

The Listings package and Greek characters are known to be tricky:

It is already nontrivial to have mixed Greek and Latin text characters in
8-bit TeX (e.g. pdftex). This is, because in LaTeX, Greek fonts use a
non-standard Greek-only font encoding.

With LaTeX input encoding set to utf-8 and the package textalpha, you can
get Greek characters in normal Latin Text.

Do Greek text characters work in normal text in your document?

Listings does not handle utf-8: 

   Similarly, if you are using UTF-8 extended characters in a listing,
   they must be placed within an escape to L A TEX.
   
   -- listings.pdf

 If i try to export this document via pdflatex it tells me that there is 
 no representation for these characters in the current encoding. 

What is your encoding?

 After confirming with 'OK' the export gets done and all mentioned
 characters are missing.

There should be an error report/log telling more about what went wrong.

 Using LuaTeX or XeTeX there are no dialogs, but some Error ... UTF-16 
 ... are displayed in the status line for a second. Afterthe export is 
 done the greek characters are missing and the degree-sign is represented 
 as an 'ř'.

 What i am doing wrong and how can i fix it?

Also with LuaTeX/XeTeX, the listings package needs special care. Have a look
at its documentation.

If you insert plain text, make sure the encoding matches what you set in 
DocumentSettingsLanguageEncoding.

Günter



IPA in linggloss inset?

2014-07-02 Thread Hiram Ring
Hi folks,

  First off, thanks so much to Jürgen for all his work on the IPA toolbar in 
LyX 2.1! It is fantastic.

  A question, however: is it possible to enable normal text input in the 
linggloss (or in my case lingglosss) inset/environment? This would allow for 
direct IPA input, for example.

  I asked an expanded version of this question here, which should clarify what 
I'm trying to do: http://latex-community.org/forum/viewtopic.php?f=19t=24928

  There are also links on that page to some of the articles I've read in 
researching the topic, which suggest that what I would like to do is possible.

Any suggestions would be appreciated.

Best,
Hiram


Re: Greek and degree-sign characters in listing

2014-07-02 Thread Guenter Milde
On 2014-07-01, Alexander Berg wrote:
> Dear all,

> i am using Lyx 2.1.0 on Arch Linux x86 and i hope that somebody out 
> there can help me :). Google told me nothing helpful.

> I am trying to export a document (class: article) to pdf. There are some 
> listings with greek characters and degree signs the appendix of this 
> document. ( Insert->Program Listing, Insert->File(plain text) )

The "Listings" package and Greek characters are known to be tricky:

It is already nontrivial to have mixed Greek and Latin text characters in
8-bit TeX (e.g. pdftex). This is, because in LaTeX, Greek fonts use a
non-standard Greek-only font encoding.

With LaTeX input encoding set to utf-8 and the package "textalpha", you can
get Greek characters in "normal" Latin Text.

Do Greek text characters work in "normal" text in your document?

Listings does not handle utf-8: 

   Similarly, if you are using UTF-8 extended characters in a listing,
   they must be placed within an escape to L A TEX.
   
   -- listings.pdf

> If i try to export this document via pdflatex it tells me that there is 
> no representation for these characters in the current encoding. 

What is your encoding?

> After confirming with 'OK' the export gets done and all mentioned
> characters are missing.

There should be an error report/log telling more about what went wrong.

> Using LuaTeX or XeTeX there are no dialogs, but some "Error ... UTF-16 
> ..." are displayed in the status line for a second. Afterthe export is 
> done the greek characters are missing and the degree-sign is represented 
> as an 'ř'.

> What i am doing wrong and how can i fix it?

Also with LuaTeX/XeTeX, the listings package needs special care. Have a look
at its documentation.

If you insert plain text, make sure the encoding matches what you set in 
Document>Settings>Language>Encoding.

Günter



IPA in linggloss inset?

2014-07-02 Thread Hiram Ring
Hi folks,

  First off, thanks so much to Jürgen for all his work on the IPA toolbar in 
LyX 2.1! It is fantastic.

  A question, however: is it possible to enable normal text input in the 
linggloss (or in my case lingglosss) inset/environment? This would allow for 
direct IPA input, for example.

  I asked an expanded version of this question here, which should clarify what 
I'm trying to do: http://latex-community.org/forum/viewtopic.php?f=19=24928

  There are also links on that page to some of the articles I've read in 
researching the topic, which suggest that what I would like to do is possible.

Any suggestions would be appreciated.

Best,
Hiram