LyXLyX Language problem

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
TriKri
Posts: 8
Joined: Wed Feb 27, 2008 9:48 pm

LyX Language problem

Post by TriKri »

Hi!

I'm using LyX, but I'm from Sweden so I'm getting some problems with the language. First of all, I've downloaded the Swedish language pack (along when it was installing), but the spell checker doesn't work. First I had some trouble when I tried to change the language from English to Swedish, but eventually I solved that problem. Then when I had succeded to change to Swedish, no words where marked as incorectlly spelled, in spite of that they where incorectlly spelled. That's not the biggest problem though. When I insert special objects like characters and table of content, the text "Chapter X" and "Contnts" pop up. I want that in Swedish, but everything is still in English, and I can't get around it. If not anyone knows how to solve this, or what I have made wrong, I'll have to stop using LyX and continue using Word for everything instead. Please help! Is there any soluton?

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

meho_r
Posts: 823
Joined: Tue Aug 07, 2007 5:28 pm

Re: LyX Language problem

Post by meho_r »

For language settings, all you have to do is to change language in "Document > Settings > Language". I tried it for Swedish, and I get "Kapitel" for "Chapter" and "Innehal" for "Table of Content". Although in main LyX window those are displayed in English, they will be in Swedish in compiled document (run "ViewDVI" or "ViewPDF" and you'll see;)) Spell checker (at least "checking while type") still remains an issue...
TriKri
Posts: 8
Joined: Wed Feb 27, 2008 9:48 pm

Re: LyX Language problem

Post by TriKri »

Thanks. I tried to view it as pdf once and got "content" and "chapter", but maybe that was before I had managed to change the languag correctly. But maybe I'll just concider using word instead since it got a good spell checker.
meho_r
Posts: 823
Joined: Tue Aug 07, 2007 5:28 pm

LyX Language problem

Post by meho_r »

TriKri wrote:Thanks. I tried to view it as pdf once and got "content" and "chapter", but maybe that was before I had managed to change the languag correctly. But maybe I'll just concider using word instead since it got a good spell checker.
You may, but Word isn't match for LaTeX when typesetting is at stake. You may consider first entering of text in Word or similar app, and, after you finish, do spell check and export it as .txt (I use "Encoded txt" format to export from OOoWriter) and import it in LyX (you may even import it as .doc file). Then you can make structure of your doc as needed. Many authors are used to enter the text first without any kind of formatting, and do the formatting after work/writing is done. So you can do the same: Word for typing, LyX/LaTeX for formatting/typesetting.

By the way, LyX has a spellchecker, only it is not "inline" spellchecker (doesn't check for errors while typing and doesn't display them on screen). If it doesn't work for you, you may check your settings. As I remember, it uses "Ispell" by default, so check if it's installed correctly and that you have Ispell support for Sweden. Or, change it to Aspell.

BTW, although I like LyX, I think it's not the happiest solution for working with LaTeX. You may try other LaTeX editors as well.
TriKri
Posts: 8
Joined: Wed Feb 27, 2008 9:48 pm

Re: LyX Language problem

Post by TriKri »

Thanks. I'll concider importing it into LyX when I'm finished. (: By the way, is it possible to import Excel diagrams into LyX the way you can do in word, whithout converting it to a picture?
Bjorn21
Posts: 3
Joined: Fri Mar 14, 2008 12:02 am

Re: LyX Language problem

Post by Bjorn21 »

How to change Lyx’s “fixed names” such as Chapter, Part, Abstract

Chapter -> Kapitull
Part -> Pjese

and all the other Table of contents..........ect......only the names not the style

in Lyx: Documente setting
in Latex preamble i wrote \renewcommand{\chapter}{KAPITULLI}
it does not work....
User avatar
Maksi
Posts: 52
Joined: Sun Mar 16, 2008 12:12 pm

LyX Language problem

Post by Maksi »

You always need to define the language (in the document settings dialogue) as the first thing you do when you start a new document. If you change it later, your already written text will be underlined by a blue line, as LyX assumes that it is written in another language. Mark it all and change its language via the ab-button.
Whether the names for chapters, sections etc. can be changed to your desired language depends on your TeX-setup, if the needed languages are included (which they usually are, unless you are working in a very rare language, which Swedish obviously is not).
A Humanities user of LaTeX :)
Bjorn21
Posts: 3
Joined: Fri Mar 14, 2008 12:02 am

Re: LyX Language problem

Post by Bjorn21 »

only Lyx 1.6.0svn has the albanian language (it is a beta and kind of buggy), the other versions of Lyx do not have my language.
i dont know but im having lots of problem with lyx in Windows xp...
User avatar
Maksi
Posts: 52
Joined: Sun Mar 16, 2008 12:12 pm

LyX Language problem

Post by Maksi »

Bjorn21 wrote:only Lyx 1.6.0svn has the albanian language (it is a beta and kind of buggy), the other versions of Lyx do not have my language.
i dont know but im having lots of problem with lyx in Windows xp...
Ok, Albanian is a rather rare language -- in reality as well as in the world of TeX. Unless good language files are written and included in all major TeX distributions, you will need to write your own one. This is not a LyX but rather a LaTeX issue and I am afraid but can not tell you how to write your own language file (though it is possible).
A Humanities user of LaTeX :)
JackB09
Posts: 3
Joined: Sat May 29, 2010 9:45 am

Re: LyX Language problem

Post by JackB09 »

I have the same problem but in a different language: even if my language is set by default as Italian, Lyx always does thie English-type syllabation. Has this problem been solved yet?
Post Reply