Re: Spellchecking not working in Arch

2011-11-10 Thread Wolfgang Engelmann
http://wiki.lyx.org/Devel/Hunspell:

Hi,

I am using Debian Squeeze and Lyx 2.0.1 and have hunspell in /usr/share/.
But in 
Tools > Preferences > Language > Spellchecker > Engine >
only enchant is shown, not Hunspell
Furthermore, in 
Tools > Preferences > Paths
under spellchecker-dictionaries 
the right part where one is supposed to search (durchsuchen in German) is 
greyed out, I can' t search nor enter something. 

What am I doing wrong?

Wolfgang


Re: Internal Language for Page References

2011-11-10 Thread Guenter Milde
On 2011-11-10, Bianca Kranzusch wrote:
> I have a language problem in my thesis. I'm writing in German, and my
> Lyx is set in German.

> I use the following language settings:
> language: Deutsch (German)
> language package: user defined: \usepackage[english,german,ngerman]{babel}

> (I have a lot of English references, so I need to include both English
> and German in babel.)

> My chapters, sections, toc etc. are all nicely in German. But for some
> reason, pagecites aren't.
> As you can see on page 2 of the attached example document, when I use
> refereces to things on different pages and want to add the page, Lyx
> produces the English "on the preceding page" message instead of a
> German expression. (It does the same thing if the mark is more pages
> away. Then it says "on page ..." instead of "auf Seite...".

You need to tell the language(s) not only to babel, but also to other
packages.

> How can I fix this?

Put the language arguments into the documentclass line:

Leave the language package at [Default] (should be babel).

Ensure you have ticked: "Set languages globally" in
Tools>Settings>Languages.

Check the document with View>Source [x] Complete source

If there is a language missing, add it under 
Document>Settings>Document class>Class options.

Günter



Re: "flowed round objekt"

2011-11-10 Thread Guenter Milde
On 2011-11-09, Matthias Drexler wrote:

> I have a "flowed round picture objekt" (German: "umflossendes
> Bild-Gleitobjekt"). The flowed text have ~5 lines. But the picture is a
> little longer than the flowed text. After this paragraph I insert a
> 'new page' lyx-command.  An export to pdf shows maybe a bug in lyx or
> latex. One of them thought, they have to indent the rest of the lines
> on the new page. The new paragraph ist realy set on a new page, but
> furthermore indent like their is exactly after the previous paragrah,
> floated by the picture.  I hope you can undersand, what I mean...  Is
> it a bug? And is there a workaround for this problem? 

It is a "LaTeX limitation". Umflossene Gleitobjekte are tricky in LaTeX and
you always need to experiment.

However, there is a workaround: you can tell the wrapfigure package how many
lines the picture needs (in German LyX its: "benötigte Zeilen"). This
overrides the auto-determined value. In your case, set this to 5, say.

Also, read the wrapfigure documentation for more details and have a look at
Ansicht>Quelle to see how LyX exports your image to LaTeX.

Günter



Re: Spellchecking not working in Arch

2011-11-10 Thread Stephan Witt
Am 10.11.2011 um 23:56 schrieb stefano franchi:

> On Thu, Nov 10, 2011 at 4:06 PM, Stephan Witt  wrote:
>> Am 10.11.2011 um 21:57 schrieb stefano franchi:
>> 
>> Do you know the location of your dictionaries?
>> Please try to enter the path name of them into the preferences.
>> 
> 
> 
> Thanks Stephan and Pavel. I had forgotten about  the dictionary dir.
> Everything works fine now. But did the field for hunspell's dir move
> recently? I seem to remember it was located under the spell checker
> preferences.

No, AFAICR it's in the paths section all the time.
BTW, what's the standard location on Arch linux?

Stephan


Re: Spellchecking not working in Arch

2011-11-10 Thread stefano franchi
On Thu, Nov 10, 2011 at 4:06 PM, Stephan Witt  wrote:
> Am 10.11.2011 um 21:57 schrieb stefano franchi:
>
> Do you know the location of your dictionaries?
> Please try to enter the path name of them into the preferences.
>


Thanks Stephan and Pavel. I had forgotten about  the dictionary dir.
Everything works fine now. But did the field for hunspell's dir move
recently? I seem to remember it was located under the spell checker
preferences.
Anyways,

Everything is fine now.


Cheers,

Stefano

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


Re: Spellchecking not working in Arch

2011-11-10 Thread Stephan Witt
Am 10.11.2011 um 21:57 schrieb stefano franchi:

> I guess I was overly optimistic yesterday, when I said that standard
> (stable) Lyx works fine in Arch Linux. I just discovered that spell
> checking does not work.
> More precisely:
> 
> 1. I can see Hunspell as a viable selection in the "spellchecking"
> item of LyX's preferences.
> 
> 2. I have hunspell installed, as well as 4 language dictionaries.
> 
> 3. Continuous spellchecking does not work (i.e. no word is marked as
> misspelled, no matter how badly it's spelt)
> 
> 4. If I try to select Spell checking from the Tools menu (or F7), I
> briefly see the spell checking window flashing by and nothing else
> happens
> 
> 5. I get no messages in the console, even if I start lyx with the -dbg all 
> flag
> 
> 
> In short, I am at a loss.
> 
> Suggestions?

Do you know the location of your dictionaries?
Please try to enter the path name of them into the preferences.

Stephan

Re: Spellchecking not working in Arch

2011-11-10 Thread Liviu Andronic
On Thu, Nov 10, 2011 at 9:57 PM, stefano franchi
 wrote:
> I guess I was overly optimistic yesterday, when I said that standard
> (stable) Lyx works fine in Arch Linux. I just discovered that spell
> checking does not work.
> More precisely:
>
> 1. I can see Hunspell as a viable selection in the "spellchecking"
> item of LyX's preferences.
>
> 2. I have hunspell installed, as well as 4 language dictionaries.
>
> 3. Continuous spellchecking does not work (i.e. no word is marked as
> misspelled, no matter how badly it's spelt)
>
> 4. If I try to select Spell checking from the Tools menu (or F7), I
> briefly see the spell checking window flashing by and nothing else
> happens
>
> 5. I get no messages in the console, even if I start lyx with the -dbg all 
> flag
>
>
> In short, I am at a loss.
>
> Suggestions?
>
http://wiki.lyx.org/Devel/Hunspell

Liviu


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



-- 
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
Do you know how to write?
http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail


Re: Beamer/Lyx question on uncovering diagrams step by step

2011-11-10 Thread stefano franchi
On Thu, Nov 10, 2011 at 3:02 PM, Paul A. Rubin  wrote:
> Stefano,
>
> <+, 4-> is not used for the text items, it's used in multiinclude.  So:
>
> \multiinclude[<+,4->][...]
> ...
>
> •<4->first textual  item
>
> •<5->  second textual item
>


Ah! How silly of me. I get it now.

Thanks,

Stefano



>
> Paul
>
> On 11/10/2011 03:57 PM, stefano franchi wrote:
>>
>> On Thu, Nov 10, 2011 at 11:23 AM, Paul A. Rubin  wrote:
>>>
>>> stefano franchi  gmail.com>  writes:
>>>
>>>
 \multiinclude[<+>][format=pdf,start=1,end=3,graphics={height=2cm}]
>>>
>>> {Pdf-file-prefix}
>>>
>>> [...]
>>>
 But I cannot figure out to preserve the diagram when I uncover the
 text after it. For instance, I have 3 steps in the diagram above, and
 I thought the following (regular lyx) would work:

 •<4->first textual  item
 •<5->  second textual item

 Instead, what happens is that when item 4 (and later item 5)  are
 shown, the diagram disappears.
>>>
>>> The specification<+>  in multiinclude says to show each part only on one
>>> overlay. If there are three parts to the diagram, change that to<+,4->
>>>  which
>>> will show each part in isolation on one of the first three overlays, then
>>> all
>>> parts from the fourth overlay onward.
>>>
>> Hi Paul,
>>
>> I tried your suggestion, but nothing changes. When the<+,4->  textual
>> item is shown, the diagram disappears as before.
>>
>>
>>> Paul
>>>
>>>
>>>
>>
>>
>



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


Re: Beamer/Lyx question on uncovering diagrams step by step

2011-11-10 Thread Paul A. Rubin

Stefano,

<+, 4-> is not used for the text items, it's used in multiinclude.  So:

\multiinclude[<+,4->][...]
...

•<4->first textual  item

•<5->  second textual item


Paul

On 11/10/2011 03:57 PM, stefano franchi wrote:

On Thu, Nov 10, 2011 at 11:23 AM, Paul A. Rubin  wrote:

stefano franchi  gmail.com>  writes:



\multiinclude[<+>][format=pdf,start=1,end=3,graphics={height=2cm}]

{Pdf-file-prefix}

[...]


But I cannot figure out to preserve the diagram when I uncover the
text after it. For instance, I have 3 steps in the diagram above, and
I thought the following (regular lyx) would work:

•<4->first textual  item
•<5->  second textual item

Instead, what happens is that when item 4 (and later item 5)  are
shown, the diagram disappears.

The specification<+>  in multiinclude says to show each part only on one
overlay. If there are three parts to the diagram, change that to<+,4->  which
will show each part in isolation on one of the first three overlays, then all
parts from the fourth overlay onward.


Hi Paul,

I tried your suggestion, but nothing changes. When the<+,4->  textual
item is shown, the diagram disappears as before.



Paul








Re: Beamer/Lyx question on uncovering diagrams step by step

2011-11-10 Thread stefano franchi
On Thu, Nov 10, 2011 at 11:23 AM, Paul A. Rubin  wrote:
> stefano franchi  gmail.com> writes:
>
>
>>\multiinclude[<+>][format=pdf,start=1,end=3,graphics={height=2cm}]
> {Pdf-file-prefix}
>
> [...]
>
>>
>> But I cannot figure out to preserve the diagram when I uncover the
>> text after it. For instance, I have 3 steps in the diagram above, and
>> I thought the following (regular lyx) would work:
>>
>> • <4->first textual  item
>> • <5-> second textual item
>>
>> Instead, what happens is that when item 4 (and later item 5)  are
>> shown, the diagram disappears.
>
> The specification <+> in multiinclude says to show each part only on one
> overlay. If there are three parts to the diagram, change that to <+,4-> which
> will show each part in isolation on one of the first three overlays, then all
> parts from the fourth overlay onward.
>

Hi Paul,

I tried your suggestion, but nothing changes. When the <+,4-> textual
item is shown, the diagram disappears as before.


> Paul
>
>
>



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


Spellchecking not working in Arch

2011-11-10 Thread stefano franchi
I guess I was overly optimistic yesterday, when I said that standard
(stable) Lyx works fine in Arch Linux. I just discovered that spell
checking does not work.
More precisely:

1. I can see Hunspell as a viable selection in the "spellchecking"
item of LyX's preferences.

2. I have hunspell installed, as well as 4 language dictionaries.

3. Continuous spellchecking does not work (i.e. no word is marked as
misspelled, no matter how badly it's spelt)

4. If I try to select Spell checking from the Tools menu (or F7), I
briefly see the spell checking window flashing by and nothing else
happens

5. I get no messages in the console, even if I start lyx with the -dbg all flag


In short, I am at a loss.

Suggestions?

Stefano


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


Re: lyx can't find lilypond-book

2011-11-10 Thread Helge Hafting

On 07. nov. 2011 21:40, Cor Lakeman wrote:
[...]

21:54:30.807: +checking for "lilypond-book"...  yes
21:54:30.814: /bin/sh: /usr/bin/lilypond-book: Permission denied


A permission problem. Open the command line, and try this:
sudo chmod oug+rx /usr/bin/lilypond-book

This should make lilypond-book executable for everyone.
You may want to do the same for the lilypond program
too.

Helge Hafting


Re: "flowed round objekt"

2011-11-10 Thread Helge Hafting

On 10. nov. 2011 00:26, Matthias Drexler wrote:

Lyx 2.0.0
openSuse 11.4

I have a "flowed round picture objekt" (German: "umflossendes
Bild-Gleitobjekt"). The flowed text have ~5 lines. But the picture is a
little longer than the flowed text. After this paragraph I insert a 'new
page' lyx-command.
An export to pdf shows maybe a bug in lyx or latex. One of them thought,
they have to indent the rest of the lines on the new page. The new
paragraph ist realy set on a new page, but furthermore indent like their
is exactly after the previous paragrah, floated by the picture.
I hope you can undersand, what I mean...
Is it a bug? And is there a workaround for this problem?


Yes, I understand what you mean. I have seen it too.
This is a latex bug. Complain on a latex mailing list - perhaps it gets 
fixed someday.


As a workaround, try making the text a little longer than your picture,
before the new paragraph starts. A blank line or two with ctrl+enter?

Or make the picture a bit wider so that the text breaks over more lines?

Text flowing around objects is not something you can trust to work 
automatically in latex, and therefore not in LyX either.


Helge Hafting


Re: Beamer/Lyx question on uncovering diagrams step by step

2011-11-10 Thread Paul A . Rubin
stefano franchi  gmail.com> writes:


>\multiinclude[<+>][format=pdf,start=1,end=3,graphics={height=2cm}]
{Pdf-file-prefix}

[...]

> 
> But I cannot figure out to preserve the diagram when I uncover the
> text after it. For instance, I have 3 steps in the diagram above, and
> I thought the following (regular lyx) would work:
> 
> • <4->first textual  item
> • <5-> second textual item
> 
> Instead, what happens is that when item 4 (and later item 5)  are
> shown, the diagram disappears.

The specification <+> in multiinclude says to show each part only on one
overlay. If there are three parts to the diagram, change that to <+,4-> which
will show each part in isolation on one of the first three overlays, then all
parts from the fourth overlay onward.

Paul




Re: Internal Language for Page References

2011-11-10 Thread PhilipPirrip

On 11/10/2011 02:15 PM, Bianca Kranzusch wrote:

As you can see on page 2 of the attached example document, when I use

 refereces to things on different pages and want to add the page, Lyx
 produces the English "on the preceding page" message instead of a
 German expression.


Hi Bianca,
I'm using TeX Live 2011 and with it your problem seems not to exist. See 
the compiled document I attach.


The solution would be to provide the translation for the autoreference 
by yourself. I've never been using \vref, so someone else migh tell you how.


Diplomarbeit_fixit-1.pdf
Description: Adobe PDF document


Re: Drawing with Pgfplots from file

2011-11-10 Thread Sergey Churilov
The installation of LyX 2.0.1 solved this problem.
Thank you for your support.

Sergey

Re: Internal Language for Page References

2011-11-10 Thread Bianca Kranzusch
Sorry, here is the minimal file. Forgot to attach it.

2011/11/10 Bianca Kranzusch :
> I have a language problem in my thesis. I'm writing in German, and my
> Lyx is set in German.
>
> I use the following language settings:
> language: Deutsch (German)
> language package: user defined: \usepackage[english,german,ngerman]{babel}
>
> (I have a lot of English references, so I need to include both English
> and German in babel.)
>
> My chapters, sections, toc etc. are all nicely in German. But for some
> reason, pagecites aren't.
> As you can see on page 2 of the attached example document, when I use
> refereces to things on different pages and want to add the page, Lyx
> produces the English "on the preceding page" message instead of a
> German expression. (It does the same thing if the mark is more pages
> away. Then it says "on page ..." instead of "auf Seite...".
>
> How can I fix this?
> Is there a different language setting that I need to appoint for
> references or something?
>
> Also, if somebody could tell me how to fix that broken horizontal bar
> in the table, I'd be really greatful.
>
> Any help really appreciated!
> Bianca
>


Diplomarbeit_fixit.lyx
Description: Binary data


Internal Language for Page References

2011-11-10 Thread Bianca Kranzusch
I have a language problem in my thesis. I'm writing in German, and my
Lyx is set in German.

I use the following language settings:
language: Deutsch (German)
language package: user defined: \usepackage[english,german,ngerman]{babel}

(I have a lot of English references, so I need to include both English
and German in babel.)

My chapters, sections, toc etc. are all nicely in German. But for some
reason, pagecites aren't.
As you can see on page 2 of the attached example document, when I use
refereces to things on different pages and want to add the page, Lyx
produces the English "on the preceding page" message instead of a
German expression. (It does the same thing if the mark is more pages
away. Then it says "on page ..." instead of "auf Seite...".

How can I fix this?
Is there a different language setting that I need to appoint for
references or something?

Also, if somebody could tell me how to fix that broken horizontal bar
in the table, I'd be really greatful.

Any help really appreciated!
Bianca


Re: Figure*

2011-11-10 Thread Julio Rojas
Already found it: "Span to columns" option.
Regards.
-
Julio Rojas
jcredbe...@gmail.com



On Thu, Nov 10, 2011 at 12:08 PM, Julio Rojas  wrote:
> Dear all, how can I define a figure* environment in Lyx? I'm using the
> multicol package and as it is widely know, it doesn't work with the
> figure float.
>
> Thanks in advance. Best regards.
> -
> Julio Rojas
> jcredbe...@gmail.com
>


Figure*

2011-11-10 Thread Julio Rojas
Dear all, how can I define a figure* environment in Lyx? I'm using the
multicol package and as it is widely know, it doesn't work with the
figure float.

Thanks in advance. Best regards.
-
Julio Rojas
jcredbe...@gmail.com