set language for all document elements

2008-11-22 Thread Stefan Janse van Rensburg
Dear list,

How do I convert a table, paragraph or figure marked as US English
into UK English, when the document is already set to UK English
(Document - Settings - Language)?

I have set my document to use UK English (British), but when I copy
and paste tables from another Lyx document written in US English,
these copied items are underlined as being in foreign language
(underlined in blue).

While I know how to deactivate the blue underlining, it still doesn't
convert those items into UK English. Selecting everything and setting
the document to UK English also doesn't do the trick, and I fear I'll
end up with a document containing a horrid mixture of US and UK
English.

I am using Lyx 1.5.5 on Ubuntu 8.04. The Lyx binary was obtained from
the backports repository.

Any advice would be much appreciated.

Regards,

Stefan


Re: Key bindings

2008-11-22 Thread Peleg Michaeli
On Fri, 2008-11-21 at 23:18 +, Guenter Milde wrote:
 So you really have a Psi-key?

Well, yes. I type a lot of math, so I have configured my keyboard to
have all of the greek letters, including √, ∞, ∝, ≤≥ ⊆⊇ ⊂⊃ ←→ ⇐⇒ − ≠ ≡ ∀
∃ and many more. I thought that it might really shorten my LyX
experience (though, I still mostly use vim for LaTeX, but LyX is much
better with Hebrew), but...
 
 In 1.6, you will get a  text-psi in text and (with the above fix) a
 kursive math \psi in the LaTeX output. 

...but I guess I'll need 1.6 for that. Well, I'm quite scared of this,
since I only have ubuntu 7.04 and I don't know how it'll react, and
since it took me a while to configure Hebrew properly in that LyX (I've
been through hell, actually... but maybe this hell is related to
configuring the Hebrew fonts in pdflatex, actually, and not in LyX? I'm
not so sure...)

I'll have to think about it a bit (add information if you like to!)

Thanks a lot,
Peleg.




Re: LyX 1.6.0 Cannot view pdf UserGuide and EmbeddedObjects

2008-11-22 Thread Jürgen Spitzmüller
Waluyo Adi Siswanto wrote:
 ! LaTeX Error: File `ltcaption.sty' not found.
 Type X to quit or RETURN to proceed,
 or enter new name. (Default extension: sty)
 Enter file name:
 ! Emergency stop.

ltcaption.sty is part of the caption package:
http://tug.ctan.org/tex-archive/macros/latex/contrib/caption/

Seems you need to update caption.

HTH,
Jürgen


Re: set language for all document elements

2008-11-22 Thread Siegfried Meunier-Guttin-Cluzel

I use EditTextStylecustomize to change the language of a piece of text.
( The menus can be different, mine are in french ! ).

Hope it helps.

Siegfried.


Re: set language for all document elements

2008-11-22 Thread Stefan Janse van Rensburg
Thank you, that worked. (Menus were the same.)

Stefan

2008/11/22 Siegfried Meunier-Guttin-Cluzel [EMAIL PROTECTED]:
 I use EditTextStylecustomize to change the language of a piece of text.
 ( The menus can be different, mine are in french ! ).

 Hope it helps.

 Siegfried.



Citation style 'Text after' separator

2008-11-22 Thread Sam Aaron

Hi there,

when I add a citation in LyX (version 1.6.0) I get to choose some  
formatting options including entering text into the 'Text after'  
field. Any text entered here is then appended to the citation itself  
separated with a comma. Is there any way to change the separator to be  
a colon?


i.e. instead of:

[MindfulBody, 12-15]

I'd like to see:

[MindfulBody: 12-15]

Thanks in advance,

Sam Aaron


Re: Citation style 'Text after' separator

2008-11-22 Thread Jürgen Spitzmüller
Sam Aaron wrote:
 Any text entered here is then appended to the citation itself  
 separated with a comma. Is there any way to change the separator to be  
 a colon?

[EMAIL PROTECTED]@tempswa : #2\fi}]}

Jürgen


Hebrew and Proof Environment

2008-11-22 Thread rgheck

Amir Rachum wrote:

I've recently upgraded to LyX 1.6 and using Windows XP.
I use the document class article (Hebrew). I use the proof environment, but
in the new version, after I render to pdf, the proof doesn't start at a new
line.
i.e in LyX I see:

bla bla bla
proof: bla bla 2

and after I render I see:

bla bla bla proof bla bla 2


This happens with documents I edited with the previous version of LyX and
they render fine with 1.5.
What can I do?

  
Not sure. There have been a lot of changes to the RTL stuff, so it may 
be that you've caught a bug in it. Let's forward this to the devel list, 
and see.



Another question - I use LyX mostly for summarizing lecture notes and I
would like to have 2 option:
1) to create a list of theorems/claims
2) to create an exercise/solution and an example environments.

Is that possible to do?

  
Anything you can do in LaTeX, you can do in LyX. Regarding (2), look at 
the Customization manual, chapter 5. I'm not sure about lists of 
theorems. Surely it can be done, but I don't know how.


rh



Re: Citation style 'Text after' separator

2008-11-22 Thread Sam Aaron

Jürgen wrote:
 [EMAIL [EMAIL PROTECTED] : #2\fi}]}

Thanks for replying to my query Jürgen. Is there any way you can help  
me understand your solution? I'm assuming I enter a special code in  
the 'Text after' field, however I can't determine what it is from your  
reply. For example, I've tried:

#2\fi
: #2\fi
#2\fi}]
etc. All seem to throw errors on creation of the pdf. I'm currently  
jusing Jurabib as the citation style. Will that be the issue?

Thanks once again,

Sam

getting a document with no page numbers

2008-11-22 Thread Micha
I trying to get a document with no page numbers and for some reason it's just
not working.

both
\pagestyle{empty}
\thispagestyle{empty}

seem to be ignored.

Any idea on where to look for the culprit?
the document style is article, bibtex and amstex are in use. The document is
both hebrew and english

thanks


Re: Citation style 'Text after' separator

2008-11-22 Thread Jürgen Spitzmüller
Sam Aaron wrote:
  I'm currently  
 jusing Jurabib as the citation style. Will that be the issue?

Yes, since you wrote nothing I assumed you are using the standard bibliography 
with article.sty. With Jurabib, you can probably customize this differently. 
Have a look at the Jurabib documentation.

Jürgen


Re: getting a document with no page numbers

2008-11-22 Thread Dov Feldstern

Micha wrote:

I trying to get a document with no page numbers and for some reason it's just
not working.

both
\pagestyle{empty}
\thispagestyle{empty}

seem to be ignored.

Any idea on where to look for the culprit?
the document style is article, bibtex and amstex are in use. The document is
both hebrew and english

thanks


\thispagestyle{empty} works for me (1.7svn, article, hebrew and english, but no 
bibtex or amstex). Note that the command has to be in ERT on the specific page, 
not in the preamble (which is obvious, given that it's for a specific page --- 
but I think I once had trouble because of that ;) ). Besides the ERT, I also set 
the Document-Settings...-Page Layout-Heading style to empty --- I'm not 
sure if both are necessary or not...


HTH!
Dov


Re: LyX 1.6.0 Cannot view pdf UserGuide and EmbeddedObjects

2008-11-22 Thread Waluyo Adi Siswanto

 ltcaption.sty is part of the caption package:
 http://tug.ctan.org/tex-archive/macros/latex/contrib/caption/
 
 Seems you need to update caption.
 

Thank you, I found specificly the ltcaption.sty from
http://home.in.tum.de/~gagern/E-JC/

copied to /usr/share/texmf/tex/latex/
from terminal: sudo texhash
from lyx: Tools  reconfigure then restart

Now .. both LyX 1.6.0 and 1.5.5 in Ubuntu 8.04 can view the
doc/EmbeddedObjects

WAS





Re: Key bindings

2008-11-22 Thread Dov Feldstern

Peleg Michaeli wrote:

On Fri, 2008-11-21 at 23:18 +, Guenter Milde wrote:

So you really have a Psi-key?


Well, yes. I type a lot of math, so I have configured my keyboard to
have all of the greek letters, including √, ∞, ∝, ≤≥ ⊆⊇ ⊂⊃ ←→ ⇐⇒ − ≠ ≡ ∀
∃ and many more. I thought that it might really shorten my LyX
experience (though, I still mostly use vim for LaTeX, but LyX is much
better with Hebrew), but...

In 1.6, you will get a  text-psi in text and (with the above fix) a
kursive math \psi in the LaTeX output. 


...but I guess I'll need 1.6 for that. Well, I'm quite scared of this,
since I only have ubuntu 7.04 and I don't know how it'll react, and
since it took me a while to configure Hebrew properly in that LyX (I've
been through hell, actually... but maybe this hell is related to
configuring the Hebrew fonts in pdflatex, actually, and not in LyX? I'm
not so sure...)

I'll have to think about it a bit (add information if you like to!)

Thanks a lot,
Peleg.




Hi, Peleg!

I'm not totally clear as to how your keyboard is set up, and I think that that 
may be the problem (for what it's worth, I'm able to create the C-g y binding 
without any trouble, with Hebrew; this is in 2.0svn, but I don't think this 
should have changed appreciably even from 1.5).


Do you use a keyboard map (Tools-Preferences-Keyboard- use keyboard math; 
the exact menus may be a little different in 1.5)?


Does your keyboard output english or hebrew (i.e., do you switch languages at 
the keyboard level, or *only* using F12 in LyX)?


When you say so I have configured my keyboard to have all of the greek letters, 
including √, ∞, ∝, ≤≥ ⊆⊇ ⊂⊃ ←→ ⇐⇒ − ≠ ≡ ∀ ∃ and many more --- did you do 
anything to actually configure the keyboard, or just paste stickers on or 
something? I mean, when you press a key, will LyX be getting a g or some 
unicode character?


Depending on your answers to these questions, I *may* be able to help a 
little...

Dov


Re: getting a document with no page numbers

2008-11-22 Thread Micha
On Sat, 22 Nov 2008 18:21:56 +0200
Dov Feldstern [EMAIL PROTECTED] wrote:

 Micha wrote:
  I trying to get a document with no page numbers and for some reason it's
  just not working.
  
  both
  \pagestyle{empty}
  \thispagestyle{empty}
  
  seem to be ignored.
  
  Any idea on where to look for the culprit?
  the document style is article, bibtex and amstex are in use. The document is
  both hebrew and english
  
  thanks
 
 \thispagestyle{empty} works for me (1.7svn, article, hebrew and english, but
 no bibtex or amstex). Note that the command has to be in ERT on the specific
 page, not in the preamble (which is obvious, given that it's for a specific
 page --- but I think I once had trouble because of that ;) ). Besides the
 ERT, I also set the Document-Settings...-Page Layout-Heading style to
 empty --- I'm not sure if both are necessary or not...

thanks, that was what I was missing. For some reason \pagestyle{empty} doesn't
work for the first page which requires an explicit \thispagestyle{empty}. I put
it in the preamble and that didn't work.

 
 HTH!
 Dov
 


Re: Key bindings

2008-11-22 Thread Peleg Michaeli
Hi Dov,
Thanks for your reply.

My answers:

On Sat, 2008-11-22 at 18:55 +0200, Dov Feldstern wrote:
 I'm not totally clear as to how your keyboard is set up, and I think that 
 that 
 may be the problem (for what it's worth, I'm able to create the C-g y 
 binding 
 without any trouble, with Hebrew; this is in 2.0svn, but I don't think this 
 should have changed appreciably even from 1.5).

This problem existed much before I have reconfigured my keyboard.
 
 Do you use a keyboard map (Tools-Preferences-Keyboard- use keyboard 
 math; 
 the exact menus may be a little different in 1.5)?

In Tools-Preferences-Keyboard I have use keyboard map (not use
keyboard math) checked, and the First is null, and the Second is
hebrew.
 
 Does your keyboard output english or hebrew (i.e., do you switch languages at 
 the keyboard level, or *only* using F12 in LyX)?

I am staying always in English, and using F12 exclusively to switch
between the languages (usually I don't even need that − I type only in
Hebrew, and in math mode it types the variables in English
automatically)
 
 When you say so I have configured my keyboard to have all of the greek 
 letters, 
 including √, ∞, ∝, ≤≥ ⊆⊇ ⊂⊃ ←→ ⇐⇒ − ≠ ≡ ∀ ∃ and many more --- did you do 
 anything to actually configure the keyboard, or just paste stickers on or 
 something? I mean, when you press a key, will LyX be getting a g or some 
 unicode character?

Very simple: I have reconfigured GNOME, so now when I press Alt Gr +
s, for example, I get σ. If I press the same key combination with
Caps-Lock on, or with Shift key pressed as well, I get Σ. Pressing the
key that is just near the z key on its left produces ∀, and doing that
with Shift produces ∃, and many more options.

I haven't put any stickers. I know the keys (at least most of them) by
heart − it's very simple. I do it like that since even though I know TeX
quite good, it is much shorter to write emails to friends like this:
Let x∈P and y∈Q. Since P and Q are normal, xyx^-1y^-1∈P∩Q={e}... ⇒
something... or compare ...hence P\subseteq Q to ...hence P⊆Q.

So, in LyX, when I press Alt Gr + a I get α, but I don't want to get α
− I want to get \alpha, and I believed that LyX might have a solution
to this need (and, apparently, it has − but only in 1.6). Vim, for
example, knows really well how to deal with that.

It is important to say also that the configuration is very basic, and it
works in ANY software on my computer, including LyX. It's not a hack
in the risky aspect of it.
 
 Depending on your answers to these questions, I *may* be able to help a 
 little...

Actually, I have mentioned here two different problems. With the C-g y
problem, I still have to check the solution that Guenter Milde offered
me (something about collisions). About the αβγ problem (unicode
characters' bindings), I thought of moving to 1.6 (but still
hesitating), unless you have a better solution!

Again,
Thank you very much for your help.

Peleg.




Re: LyX 1.6.0 Cannot view pdf UserGuide and EmbeddedObjects

2008-11-22 Thread Sven Hoexter
On Sun, Nov 23, 2008 at 12:42:26AM +0800, Waluyo Adi Siswanto wrote:

 Thank you, I found specificly the ltcaption.sty from
 http://home.in.tum.de/~gagern/E-JC/
 
 copied to /usr/share/texmf/tex/latex/
 from terminal: sudo texhash
 from lyx: Tools  reconfigure then restart
 
 Now .. both LyX 1.6.0 and 1.5.5 in Ubuntu 8.04 can view the
 doc/EmbeddedObjects

installing texlive-latex-extra should've solved that for you.

The problem here is that the error message is not displayed within
LyX IMHO.

Sven
-- 
If God passed a mic to me to speak
I'd say stay in bed, world
Sleep in peace
   [The Cardigans - 03:45: No sleep]


Re: Key bindings

2008-11-22 Thread Peleg Michaeli
On Fri, 2008-11-21 at 13:27 +, Guenter Milde wrote:
 You could try to grep for C-g in all bind files that are read directly
 or
 indirectly. 

I have found these:
./bind/xemacs.bind:\bind C-g  cancel
./bind/xemacs.bind:\bind C-x C-gbuffer-view ps
./bind/mac.bind:\bind C-g error-next
./bind/emacs.bind:\bind C-g cancel
./bind/emacs.bind:\bind C-x C-gbuffer-view ps
./bind/cua.bind:\bind C-g error-next

Do you think it is safe to delete these?

And: how can I know if these files are really readed?

(the above is the result of grep in /usr/share/lyx1.5.1/)


Thanks,
Peleg.




Re: Key bindings

2008-11-22 Thread Dov Feldstern

Peleg Michaeli wrote:

On Fri, 2008-11-21 at 13:27 +, Guenter Milde wrote:

You could try to grep for C-g in all bind files that are read directly
or
indirectly. 


I have found these:
./bind/xemacs.bind:\bind C-g  cancel
./bind/xemacs.bind:\bind C-x C-gbuffer-view ps
./bind/mac.bind:\bind C-g error-next
./bind/emacs.bind:\bind C-g cancel
./bind/emacs.bind:\bind C-x C-gbuffer-view ps
./bind/cua.bind:\bind C-g error-next

Do you think it is safe to delete these?



They shouldn't all be bothering you, only the ones you include are activated. 
Probably it's cua -- that's the default.


what exactly does your bind file look like?


And: how can I know if these files are really readed?

(the above is the result of grep in /usr/share/lyx1.5.1/)


Thanks,
Peleg.






Re: Key bindings

2008-11-22 Thread Peleg Michaeli
On Sat, 2008-11-22 at 20:28 +0200, Dov Feldstern wrote:
 They shouldn't all be bothering you, only the ones you include are
 activated. 
 Probably it's cua -- that's the default.
 
 what exactly does your bind file look like? 

I'm attaching cua and hebrew here.

The cua.bind is in usr/share/... and the hebrew.bind is in
~/.lyx1.5.1/bind/

Thanks,
Peleg.



cua.bind
Description: Binary data
\bind_file cua
\bind F12 language hebrew
\bind M-9 math-delim ( )
\bind M-0 math-delim ( )

\bind M-m 7   math-insert \psi
\bind ψ   math-insert \psi

# First: Greek, start with C-g
\bind C-g a  math-insert \alpha
\bind C-g b  math-insert \beta
\bind C-g c  math-insert \chi
\bind C-g d  math-insert \delta
\bind C-g e  math-insert \varepsilon
\bind C-g f  math-insert \phi
\bind C-g g  math-insert \gamma
\bind C-g h  math-insert \eta
\bind C-g i  math-insert \iota
\bind C-g j  math-insert \varphi
\bind C-g k  math-insert \kappa
\bind C-g l  math-insert \lambda
\bind C-g m  math-insert \mu
\bind C-g n  math-insert \nu
\bind C-g o  math-insert \omega
\bind C-g p  math-insert \pi
\bind C-g q  math-insert \vartheta
\bind C-g r  math-insert \rho
\bind C-g s  math-insert \sigma
\bind C-g t  math-insert \tau
\bind C-g u  math-insert \upsilon
\bind C-g v  math-insert \theta
\bind C-g w  math-insert \omega
\bind C-g x  math-insert \xi
\bind C-g y  math-insert \psi
\bind C-g z  math-insert \zeta

\bind C-g S-Dmath-insert \Delta
\bind C-g S-Emath-insert \epsilon
\bind C-g S-Fmath-insert \Phi
\bind C-g S-Gmath-insert \Gamma
\bind C-g S-Imath-insert \iota
\bind C-g S-Jmath-insert \epsilon
\bind C-g S-Lmath-insert \Lambda
\bind C-g S-Omath-insert \Omega
\bind C-g S-Pmath-insert \Pi
\bind C-g S-Qmath-insert \vartheta
\bind C-g S-Rmath-insert \varrho
\bind C-g S-Smath-insert \Sigma
\bind C-g S-Tmath-insert \varsigma
\bind C-g S-Umath-insert \Upsilon
\bind C-g S-Vmath-insert \Theta
\bind C-g S-Wmath-insert \Omega
\bind C-g S-Xmath-insert \Xi
\bind C-g S-Ymath-insert \Psi


Re: Key bindings

2008-11-22 Thread Dov Feldstern

Peleg Michaeli wrote:

On Sat, 2008-11-22 at 20:28 +0200, Dov Feldstern wrote:

They shouldn't all be bothering you, only the ones you include are
activated. 
Probably it's cua -- that's the default.


what exactly does your bind file look like? 


I'm attaching cua and hebrew here.

The cua.bind is in usr/share/... and the hebrew.bind is in
~/.lyx1.5.1/bind/



The first line of hebrew.bind (\bind_file cua) is including cua.bind. I don't 
remember the rules in terms of whether you can override bindings, and they may 
also have changes since 1.5. The easiest thing to do may be to just copy 
cua.bind from /usr to your local lyx bind directory, rename it to mycua or 
something, get rid of the C-g y in there, and include that in hebrew instead 
of cua. See if that helps.




Thanks,
Peleg.






Re: Key bindings

2008-11-22 Thread Peleg Michaeli
On Sat, 2008-11-22 at 20:42 +0200, Dov Feldstern wrote:
  The first line of hebrew.bind (\bind_file cua) is including
  cua.bind. I don't 
  remember the rules in terms of whether you can override bindings, and
  they may 
  also have changes since 1.5. The easiest thing to do may be to just
  copy 
  cua.bind from /usr to your local lyx bind directory, rename it to
  mycua or 
  something, get rid of the C-g y in there, and include that in hebrew
  instead 
  of cua. See if that helps. 

Works great, thanks!

Peleg.



Re: Key bindings

2008-11-22 Thread Peleg Michaeli
On Sat, 2008-11-22 at 17:34 +, Peleg Michaeli wrote:
  When you say so I have configured my keyboard to have all of the
 greek letters, 
  including √, ∞, ∝, ≤≥ ⊆⊇ ⊂⊃ ←→ ⇐⇒ − ≠ ≡ ∀ ∃ and many more --- did
 you do 
  anything to actually configure the keyboard, or just paste stickers
 on or 
  something? I mean, when you press a key, will LyX be getting a g
 or some 
  unicode character?
 
 Very simple: I have reconfigured GNOME, so now when I press Alt Gr +
 s, for example, I get σ. If I press the same key combination with
 Caps-Lock on, or with Shift key pressed as well, I get Σ. Pressing the
 key that is just near the z key on its left produces ∀, and doing
 that
 with Shift produces ∃, and many more options.
 
 I haven't put any stickers. I know the keys (at least most of them) by
 heart − it's very simple. I do it like that since even though I know
 TeX
 quite good, it is much shorter to write emails to friends like this:
 Let x∈P and y∈Q. Since P and Q are normal, xyx^-1y^-1∈P∩Q={e}... ⇒
 something... or compare ...hence P\subseteq Q to ...hence P⊆Q.
 
 So, in LyX, when I press Alt Gr + a I get α, but I don't want to get
 α
 − I want to get \alpha, and I believed that LyX might have a
 solution
 to this need (and, apparently, it has − but only in 1.6). Vim, for
 example, knows really well how to deal with that.
 
 It is important to say also that the configuration is very basic, and
 it
 works in ANY software on my computer, including LyX. It's not a hack
 in the risky aspect of it.
  
  Depending on your answers to these questions, I *may* be able to
 help a little... 

Hi Dov -
Can you think of any solution to this without switching to LyX 1.6 ?


Thanks,
Peleg.




Re: Key bindings

2008-11-22 Thread Dov Feldstern

Peleg Michaeli wrote:

On Sat, 2008-11-22 at 17:34 +, Peleg Michaeli wrote:

When you say so I have configured my keyboard to have all of the
greek letters, 

including √, ∞, ∝, ≤≥ ⊆⊇ ⊂⊃ ←→ ⇐⇒ − ≠ ≡ ∀ ∃ and many more --- did
you do 

anything to actually configure the keyboard, or just paste stickers
on or 

something? I mean, when you press a key, will LyX be getting a g
or some 

unicode character?

Very simple: I have reconfigured GNOME, so now when I press Alt Gr +
s, for example, I get σ. If I press the same key combination with
Caps-Lock on, or with Shift key pressed as well, I get Σ. Pressing the
key that is just near the z key on its left produces ∀, and doing
that
with Shift produces ∃, and many more options.

I haven't put any stickers. I know the keys (at least most of them) by
heart − it's very simple. I do it like that since even though I know
TeX
quite good, it is much shorter to write emails to friends like this:
Let x∈P and y∈Q. Since P and Q are normal, xyx^-1y^-1∈P∩Q={e}... ⇒
something... or compare ...hence P\subseteq Q to ...hence P⊆Q.

So, in LyX, when I press Alt Gr + a I get α, but I don't want to get
α
− I want to get \alpha, and I believed that LyX might have a
solution
to this need (and, apparently, it has − but only in 1.6). Vim, for
example, knows really well how to deal with that.

It is important to say also that the configuration is very basic, and
it
works in ANY software on my computer, including LyX. It's not a hack
in the risky aspect of it.

Depending on your answers to these questions, I *may* be able to
help a little... 


Hi Dov -
Can you think of any solution to this without switching to LyX 1.6 ?


Thanks,
Peleg.




No. However, perhaps you can try installing 1.6 in a virtualized environment 
(Qemu, VirtualBox are relatively easy to set up, I think), so that it won't 
affect your production system until you've got it configured correctly...





Re: Key bindings

2008-11-22 Thread Peleg Michaeli
On Sat, 2008-11-22 at 21:26 +0200, Dov Feldstern wrote:
 No. However, perhaps you can try installing 1.6 in a virtualized
 environment 
 (Qemu, VirtualBox are relatively easy to set up, I think), so that it
 won't 
 affect your production system until you've got it configured
 correctly... 


Thanks,
I might try that.

Peleg.




Re: LyX 1.6.0 Cannot view pdf UserGuide and EmbeddedObjects

2008-11-22 Thread Waluyo Adi Siswanto
 installing texlive-latex-extra should've solved that for you.
 

Just to clarify. I did install it months ago, 1.5.5 was OK. Then I
installed 1.6, playing with layout, class file. Maybe I did delete by
mistake that file..I dont know. 
Maybe I should have uninstalled and reinstalled texlive-latex-extra to
solve that.
Sorry for the dirty way that I tried to solve the problem, but it
worked.



Bug in LyX 1.6.0

2008-11-22 Thread Stefano Franchi
I had a strange behavior occurring in my last LyX session:

I was happily writing in the main editing window, while having the outline 
open in a separate window and on a separate monitor when suddenly the main 
window went blank. And I really mean blank: the editing pane became a white 
blanket (I use the default pink as background color). Interestingly, the tab I 
had open on another file was completely unaffected.

 I had not been saving for a while, so I was afraid I had lost some work. To 
my surprise, the window was still responsive, the menus were visible and 
accessible, etc. I could save my file, leave LyX and restart. On the console, I 
had a few screenful of errors of this kind:

X Error: RenderBadPicture (invalid Picture parameter) 182
  Extension:156 (RENDER)
  Minor opcode: 7 (RenderFreePicture)
  Resource id:  0x2b2e6fa
X Error: BadPixmap (invalid Pixmap parameter) 4
  Major opcode: 54 (X_FreePixmap)
  Resource id:  0x2b2e6f9

When I quit LyX, the following messages appeared on the console:
QClipboard::setData: Cannot set X11 selection owner for CLIPBOARD   
 
X Error of failed request:  RenderBadPicture (invalid Picture parameter)
 
  Major opcode of failed request:  156 (RENDER) 
 
  Minor opcode of failed request:  7 (RenderFreePicture)
 
  Picture id in failed request: 0x2b4a448   
 
  Serial number of failed request:  58441931
 
  Current serial number in output stream:  58446888 
 
Locking assertion failure.  Backtrace:  
 
#0 /usr/lib/libxcb-xlib.so.0 [0x7fc53c5d29fc]   
 
#1 /usr/lib/libxcb-xlib.so.0(xcb_xlib_lock+0x17) [0x7fc53c5d2b77]   
 
#2 /usr/lib/libX11.so.6 [0x7fc53e63d8c0]
 
#3 /usr/lib/libXrender.so.1(XRenderFreePicture+0x46) [0x7fc53d0a8a26]   
 
#4 /usr/lib/libQtGui.so.4 [0x7fc53f8c3cfb]  
 
#5 /usr/lib/libQtGui.so.4 [0x7fc53f8c4680]  
 
#6 /usr/lib/libQtGui.so.4(_ZN7QPixmap5derefEv+0x53) [0x7fc53f8b9fa3]
 
#7 /usr/lib/libQtGui.so.4(_ZN7QPixmapD1Ev+0x24) [0x7fc53f8ba2e4]
#8 /usr/lib/kde4/plugins/styles/oxygen.so [0x7fc53a625b2c]
#9 /usr/lib/kde4/plugins/styles/oxygen.so [0x7fc53a62f327]
#10 /usr/lib/kde4/plugins/styles/oxygen.so [0x7fc53a630237]
#11 /lib/libc.so.6(exit+0x9d) [0x7fc53eb4e66d]
#12 /usr/lib/libX11.so.6 [0x7fc53e6365ed]
#13 /usr/lib/libX11.so.6(_XError+0xf4) [0x7fc53e636784]
#14 /usr/lib/libX11.so.6 [0x7fc53e63e20f]
#15 /usr/lib/libX11.so.6(_XReply+0x18a) [0x7fc53e63e5ba]
#16 /usr/lib/libX11.so.6(XSync+0x63) [0x7fc53e631ff3]
#17 /usr/lib/libX11.so.6(XCloseDisplay+0x70) [0x7fc53e610b80]
#18 /usr/lib/libQtGui.so.4 [0x7fc53f85d7cd]
#19 /usr/lib/libQtGui.so.4(_ZN12QApplicationD2Ev+0x5b8) [0x7fc53f8088d8]


Cheers,

S.

-- 
__
Stefano Franchi
Department of Philosophy          Ph:  (979) 862-2211
Texas AM University  Fax: (979) 845-0458
305B Bolton Hall  [EMAIL PROTECTED]
College Station, TX 77843-4237



Re: getting a document with no page numbers

2008-11-22 Thread Yago

You can use the package nopageno in the preamble for that.
- Original Message - 
From: Micha [EMAIL PROTECTED]

To: lyx-users@lists.lyx.org
Sent: Saturday, November 22, 2008 6:32 PM
Subject: Re: getting a document with no page numbers



On Sat, 22 Nov 2008 18:21:56 +0200
Dov Feldstern [EMAIL PROTECTED] wrote:


Micha wrote:
 I trying to get a document with no page numbers and for some reason 
 it's

 just not working.

 both
 \pagestyle{empty}
 \thispagestyle{empty}

 seem to be ignored.

 Any idea on where to look for the culprit?
 the document style is article, bibtex and amstex are in use. The 
 document is

 both hebrew and english

 thanks

\thispagestyle{empty} works for me (1.7svn, article, hebrew and english, 
but
no bibtex or amstex). Note that the command has to be in ERT on the 
specific
page, not in the preamble (which is obvious, given that it's for a 
specific

page --- but I think I once had trouble because of that ;) ). Besides the
ERT, I also set the Document-Settings...-Page Layout-Heading style to
empty --- I'm not sure if both are necessary or not...


thanks, that was what I was missing. For some reason \pagestyle{empty} 
doesn't
work for the first page which requires an explicit \thispagestyle{empty}. 
I put

it in the preamble and that didn't work.



HTH!
Dov



__ Information from ESET NOD32 Antivirus, version of virus 
signature database 3632 (20081121) __


The message was checked by ESET NOD32 Antivirus.

http://www.eset.com






set language for all document elements

2008-11-22 Thread Stefan Janse van Rensburg
Dear list,

How do I convert a table, paragraph or figure marked as US English
into UK English, when the document is already set to UK English
(Document - Settings - Language)?

I have set my document to use UK English (British), but when I copy
and paste tables from another Lyx document written in US English,
these copied items are underlined as being in foreign language
(underlined in blue).

While I know how to deactivate the blue underlining, it still doesn't
convert those items into UK English. Selecting everything and setting
the document to UK English also doesn't do the trick, and I fear I'll
end up with a document containing a horrid mixture of US and UK
English.

I am using Lyx 1.5.5 on Ubuntu 8.04. The Lyx binary was obtained from
the backports repository.

Any advice would be much appreciated.

Regards,

Stefan


Re: Key bindings

2008-11-22 Thread Peleg Michaeli
On Fri, 2008-11-21 at 23:18 +, Guenter Milde wrote:
 So you really have a Psi-key?

Well, yes. I type a lot of math, so I have configured my keyboard to
have all of the greek letters, including √, ∞, ∝, ≤≥ ⊆⊇ ⊂⊃ ←→ ⇐⇒ − ≠ ≡ ∀
∃ and many more. I thought that it might really shorten my LyX
experience (though, I still mostly use vim for LaTeX, but LyX is much
better with Hebrew), but...
 
 In 1.6, you will get a  text-psi in text and (with the above fix) a
 kursive math \psi in the LaTeX output. 

...but I guess I'll need 1.6 for that. Well, I'm quite scared of this,
since I only have ubuntu 7.04 and I don't know how it'll react, and
since it took me a while to configure Hebrew properly in that LyX (I've
been through hell, actually... but maybe this hell is related to
configuring the Hebrew fonts in pdflatex, actually, and not in LyX? I'm
not so sure...)

I'll have to think about it a bit (add information if you like to!)

Thanks a lot,
Peleg.




Re: LyX 1.6.0 Cannot view pdf UserGuide and EmbeddedObjects

2008-11-22 Thread Jürgen Spitzmüller
Waluyo Adi Siswanto wrote:
 ! LaTeX Error: File `ltcaption.sty' not found.
 Type X to quit or RETURN to proceed,
 or enter new name. (Default extension: sty)
 Enter file name:
 ! Emergency stop.

ltcaption.sty is part of the caption package:
http://tug.ctan.org/tex-archive/macros/latex/contrib/caption/

Seems you need to update caption.

HTH,
Jürgen


Re: set language for all document elements

2008-11-22 Thread Siegfried Meunier-Guttin-Cluzel

I use EditTextStylecustomize to change the language of a piece of text.
( The menus can be different, mine are in french ! ).

Hope it helps.

Siegfried.


Re: set language for all document elements

2008-11-22 Thread Stefan Janse van Rensburg
Thank you, that worked. (Menus were the same.)

Stefan

2008/11/22 Siegfried Meunier-Guttin-Cluzel [EMAIL PROTECTED]:
 I use EditTextStylecustomize to change the language of a piece of text.
 ( The menus can be different, mine are in french ! ).

 Hope it helps.

 Siegfried.



Citation style 'Text after' separator

2008-11-22 Thread Sam Aaron

Hi there,

when I add a citation in LyX (version 1.6.0) I get to choose some  
formatting options including entering text into the 'Text after'  
field. Any text entered here is then appended to the citation itself  
separated with a comma. Is there any way to change the separator to be  
a colon?


i.e. instead of:

[MindfulBody, 12-15]

I'd like to see:

[MindfulBody: 12-15]

Thanks in advance,

Sam Aaron


Re: Citation style 'Text after' separator

2008-11-22 Thread Jürgen Spitzmüller
Sam Aaron wrote:
 Any text entered here is then appended to the citation itself  
 separated with a comma. Is there any way to change the separator to be  
 a colon?

[EMAIL PROTECTED]@tempswa : #2\fi}]}

Jürgen


Hebrew and Proof Environment

2008-11-22 Thread rgheck

Amir Rachum wrote:

I've recently upgraded to LyX 1.6 and using Windows XP.
I use the document class article (Hebrew). I use the proof environment, but
in the new version, after I render to pdf, the proof doesn't start at a new
line.
i.e in LyX I see:

bla bla bla
proof: bla bla 2

and after I render I see:

bla bla bla proof bla bla 2


This happens with documents I edited with the previous version of LyX and
they render fine with 1.5.
What can I do?

  
Not sure. There have been a lot of changes to the RTL stuff, so it may 
be that you've caught a bug in it. Let's forward this to the devel list, 
and see.



Another question - I use LyX mostly for summarizing lecture notes and I
would like to have 2 option:
1) to create a list of theorems/claims
2) to create an exercise/solution and an example environments.

Is that possible to do?

  
Anything you can do in LaTeX, you can do in LyX. Regarding (2), look at 
the Customization manual, chapter 5. I'm not sure about lists of 
theorems. Surely it can be done, but I don't know how.


rh



Re: Citation style 'Text after' separator

2008-11-22 Thread Sam Aaron

Jürgen wrote:
 [EMAIL [EMAIL PROTECTED] : #2\fi}]}

Thanks for replying to my query Jürgen. Is there any way you can help  
me understand your solution? I'm assuming I enter a special code in  
the 'Text after' field, however I can't determine what it is from your  
reply. For example, I've tried:

#2\fi
: #2\fi
#2\fi}]
etc. All seem to throw errors on creation of the pdf. I'm currently  
jusing Jurabib as the citation style. Will that be the issue?

Thanks once again,

Sam

getting a document with no page numbers

2008-11-22 Thread Micha
I trying to get a document with no page numbers and for some reason it's just
not working.

both
\pagestyle{empty}
\thispagestyle{empty}

seem to be ignored.

Any idea on where to look for the culprit?
the document style is article, bibtex and amstex are in use. The document is
both hebrew and english

thanks


Re: Citation style 'Text after' separator

2008-11-22 Thread Jürgen Spitzmüller
Sam Aaron wrote:
  I'm currently  
 jusing Jurabib as the citation style. Will that be the issue?

Yes, since you wrote nothing I assumed you are using the standard bibliography 
with article.sty. With Jurabib, you can probably customize this differently. 
Have a look at the Jurabib documentation.

Jürgen


Re: getting a document with no page numbers

2008-11-22 Thread Dov Feldstern

Micha wrote:

I trying to get a document with no page numbers and for some reason it's just
not working.

both
\pagestyle{empty}
\thispagestyle{empty}

seem to be ignored.

Any idea on where to look for the culprit?
the document style is article, bibtex and amstex are in use. The document is
both hebrew and english

thanks


\thispagestyle{empty} works for me (1.7svn, article, hebrew and english, but no 
bibtex or amstex). Note that the command has to be in ERT on the specific page, 
not in the preamble (which is obvious, given that it's for a specific page --- 
but I think I once had trouble because of that ;) ). Besides the ERT, I also set 
the Document-Settings...-Page Layout-Heading style to empty --- I'm not 
sure if both are necessary or not...


HTH!
Dov


Re: LyX 1.6.0 Cannot view pdf UserGuide and EmbeddedObjects

2008-11-22 Thread Waluyo Adi Siswanto

 ltcaption.sty is part of the caption package:
 http://tug.ctan.org/tex-archive/macros/latex/contrib/caption/
 
 Seems you need to update caption.
 

Thank you, I found specificly the ltcaption.sty from
http://home.in.tum.de/~gagern/E-JC/

copied to /usr/share/texmf/tex/latex/
from terminal: sudo texhash
from lyx: Tools  reconfigure then restart

Now .. both LyX 1.6.0 and 1.5.5 in Ubuntu 8.04 can view the
doc/EmbeddedObjects

WAS





Re: Key bindings

2008-11-22 Thread Dov Feldstern

Peleg Michaeli wrote:

On Fri, 2008-11-21 at 23:18 +, Guenter Milde wrote:

So you really have a Psi-key?


Well, yes. I type a lot of math, so I have configured my keyboard to
have all of the greek letters, including √, ∞, ∝, ≤≥ ⊆⊇ ⊂⊃ ←→ ⇐⇒ − ≠ ≡ ∀
∃ and many more. I thought that it might really shorten my LyX
experience (though, I still mostly use vim for LaTeX, but LyX is much
better with Hebrew), but...

In 1.6, you will get a  text-psi in text and (with the above fix) a
kursive math \psi in the LaTeX output. 


...but I guess I'll need 1.6 for that. Well, I'm quite scared of this,
since I only have ubuntu 7.04 and I don't know how it'll react, and
since it took me a while to configure Hebrew properly in that LyX (I've
been through hell, actually... but maybe this hell is related to
configuring the Hebrew fonts in pdflatex, actually, and not in LyX? I'm
not so sure...)

I'll have to think about it a bit (add information if you like to!)

Thanks a lot,
Peleg.




Hi, Peleg!

I'm not totally clear as to how your keyboard is set up, and I think that that 
may be the problem (for what it's worth, I'm able to create the C-g y binding 
without any trouble, with Hebrew; this is in 2.0svn, but I don't think this 
should have changed appreciably even from 1.5).


Do you use a keyboard map (Tools-Preferences-Keyboard- use keyboard math; 
the exact menus may be a little different in 1.5)?


Does your keyboard output english or hebrew (i.e., do you switch languages at 
the keyboard level, or *only* using F12 in LyX)?


When you say so I have configured my keyboard to have all of the greek letters, 
including √, ∞, ∝, ≤≥ ⊆⊇ ⊂⊃ ←→ ⇐⇒ − ≠ ≡ ∀ ∃ and many more --- did you do 
anything to actually configure the keyboard, or just paste stickers on or 
something? I mean, when you press a key, will LyX be getting a g or some 
unicode character?


Depending on your answers to these questions, I *may* be able to help a 
little...

Dov


Re: getting a document with no page numbers

2008-11-22 Thread Micha
On Sat, 22 Nov 2008 18:21:56 +0200
Dov Feldstern [EMAIL PROTECTED] wrote:

 Micha wrote:
  I trying to get a document with no page numbers and for some reason it's
  just not working.
  
  both
  \pagestyle{empty}
  \thispagestyle{empty}
  
  seem to be ignored.
  
  Any idea on where to look for the culprit?
  the document style is article, bibtex and amstex are in use. The document is
  both hebrew and english
  
  thanks
 
 \thispagestyle{empty} works for me (1.7svn, article, hebrew and english, but
 no bibtex or amstex). Note that the command has to be in ERT on the specific
 page, not in the preamble (which is obvious, given that it's for a specific
 page --- but I think I once had trouble because of that ;) ). Besides the
 ERT, I also set the Document-Settings...-Page Layout-Heading style to
 empty --- I'm not sure if both are necessary or not...

thanks, that was what I was missing. For some reason \pagestyle{empty} doesn't
work for the first page which requires an explicit \thispagestyle{empty}. I put
it in the preamble and that didn't work.

 
 HTH!
 Dov
 


Re: Key bindings

2008-11-22 Thread Peleg Michaeli
Hi Dov,
Thanks for your reply.

My answers:

On Sat, 2008-11-22 at 18:55 +0200, Dov Feldstern wrote:
 I'm not totally clear as to how your keyboard is set up, and I think that 
 that 
 may be the problem (for what it's worth, I'm able to create the C-g y 
 binding 
 without any trouble, with Hebrew; this is in 2.0svn, but I don't think this 
 should have changed appreciably even from 1.5).

This problem existed much before I have reconfigured my keyboard.
 
 Do you use a keyboard map (Tools-Preferences-Keyboard- use keyboard 
 math; 
 the exact menus may be a little different in 1.5)?

In Tools-Preferences-Keyboard I have use keyboard map (not use
keyboard math) checked, and the First is null, and the Second is
hebrew.
 
 Does your keyboard output english or hebrew (i.e., do you switch languages at 
 the keyboard level, or *only* using F12 in LyX)?

I am staying always in English, and using F12 exclusively to switch
between the languages (usually I don't even need that − I type only in
Hebrew, and in math mode it types the variables in English
automatically)
 
 When you say so I have configured my keyboard to have all of the greek 
 letters, 
 including √, ∞, ∝, ≤≥ ⊆⊇ ⊂⊃ ←→ ⇐⇒ − ≠ ≡ ∀ ∃ and many more --- did you do 
 anything to actually configure the keyboard, or just paste stickers on or 
 something? I mean, when you press a key, will LyX be getting a g or some 
 unicode character?

Very simple: I have reconfigured GNOME, so now when I press Alt Gr +
s, for example, I get σ. If I press the same key combination with
Caps-Lock on, or with Shift key pressed as well, I get Σ. Pressing the
key that is just near the z key on its left produces ∀, and doing that
with Shift produces ∃, and many more options.

I haven't put any stickers. I know the keys (at least most of them) by
heart − it's very simple. I do it like that since even though I know TeX
quite good, it is much shorter to write emails to friends like this:
Let x∈P and y∈Q. Since P and Q are normal, xyx^-1y^-1∈P∩Q={e}... ⇒
something... or compare ...hence P\subseteq Q to ...hence P⊆Q.

So, in LyX, when I press Alt Gr + a I get α, but I don't want to get α
− I want to get \alpha, and I believed that LyX might have a solution
to this need (and, apparently, it has − but only in 1.6). Vim, for
example, knows really well how to deal with that.

It is important to say also that the configuration is very basic, and it
works in ANY software on my computer, including LyX. It's not a hack
in the risky aspect of it.
 
 Depending on your answers to these questions, I *may* be able to help a 
 little...

Actually, I have mentioned here two different problems. With the C-g y
problem, I still have to check the solution that Guenter Milde offered
me (something about collisions). About the αβγ problem (unicode
characters' bindings), I thought of moving to 1.6 (but still
hesitating), unless you have a better solution!

Again,
Thank you very much for your help.

Peleg.




Re: LyX 1.6.0 Cannot view pdf UserGuide and EmbeddedObjects

2008-11-22 Thread Sven Hoexter
On Sun, Nov 23, 2008 at 12:42:26AM +0800, Waluyo Adi Siswanto wrote:

 Thank you, I found specificly the ltcaption.sty from
 http://home.in.tum.de/~gagern/E-JC/
 
 copied to /usr/share/texmf/tex/latex/
 from terminal: sudo texhash
 from lyx: Tools  reconfigure then restart
 
 Now .. both LyX 1.6.0 and 1.5.5 in Ubuntu 8.04 can view the
 doc/EmbeddedObjects

installing texlive-latex-extra should've solved that for you.

The problem here is that the error message is not displayed within
LyX IMHO.

Sven
-- 
If God passed a mic to me to speak
I'd say stay in bed, world
Sleep in peace
   [The Cardigans - 03:45: No sleep]


Re: Key bindings

2008-11-22 Thread Peleg Michaeli
On Fri, 2008-11-21 at 13:27 +, Guenter Milde wrote:
 You could try to grep for C-g in all bind files that are read directly
 or
 indirectly. 

I have found these:
./bind/xemacs.bind:\bind C-g  cancel
./bind/xemacs.bind:\bind C-x C-gbuffer-view ps
./bind/mac.bind:\bind C-g error-next
./bind/emacs.bind:\bind C-g cancel
./bind/emacs.bind:\bind C-x C-gbuffer-view ps
./bind/cua.bind:\bind C-g error-next

Do you think it is safe to delete these?

And: how can I know if these files are really readed?

(the above is the result of grep in /usr/share/lyx1.5.1/)


Thanks,
Peleg.




Re: Key bindings

2008-11-22 Thread Dov Feldstern

Peleg Michaeli wrote:

On Fri, 2008-11-21 at 13:27 +, Guenter Milde wrote:

You could try to grep for C-g in all bind files that are read directly
or
indirectly. 


I have found these:
./bind/xemacs.bind:\bind C-g  cancel
./bind/xemacs.bind:\bind C-x C-gbuffer-view ps
./bind/mac.bind:\bind C-g error-next
./bind/emacs.bind:\bind C-g cancel
./bind/emacs.bind:\bind C-x C-gbuffer-view ps
./bind/cua.bind:\bind C-g error-next

Do you think it is safe to delete these?



They shouldn't all be bothering you, only the ones you include are activated. 
Probably it's cua -- that's the default.


what exactly does your bind file look like?


And: how can I know if these files are really readed?

(the above is the result of grep in /usr/share/lyx1.5.1/)


Thanks,
Peleg.






Re: Key bindings

2008-11-22 Thread Peleg Michaeli
On Sat, 2008-11-22 at 20:28 +0200, Dov Feldstern wrote:
 They shouldn't all be bothering you, only the ones you include are
 activated. 
 Probably it's cua -- that's the default.
 
 what exactly does your bind file look like? 

I'm attaching cua and hebrew here.

The cua.bind is in usr/share/... and the hebrew.bind is in
~/.lyx1.5.1/bind/

Thanks,
Peleg.



cua.bind
Description: Binary data
\bind_file cua
\bind F12 language hebrew
\bind M-9 math-delim ( )
\bind M-0 math-delim ( )

\bind M-m 7   math-insert \psi
\bind ψ   math-insert \psi

# First: Greek, start with C-g
\bind C-g a  math-insert \alpha
\bind C-g b  math-insert \beta
\bind C-g c  math-insert \chi
\bind C-g d  math-insert \delta
\bind C-g e  math-insert \varepsilon
\bind C-g f  math-insert \phi
\bind C-g g  math-insert \gamma
\bind C-g h  math-insert \eta
\bind C-g i  math-insert \iota
\bind C-g j  math-insert \varphi
\bind C-g k  math-insert \kappa
\bind C-g l  math-insert \lambda
\bind C-g m  math-insert \mu
\bind C-g n  math-insert \nu
\bind C-g o  math-insert \omega
\bind C-g p  math-insert \pi
\bind C-g q  math-insert \vartheta
\bind C-g r  math-insert \rho
\bind C-g s  math-insert \sigma
\bind C-g t  math-insert \tau
\bind C-g u  math-insert \upsilon
\bind C-g v  math-insert \theta
\bind C-g w  math-insert \omega
\bind C-g x  math-insert \xi
\bind C-g y  math-insert \psi
\bind C-g z  math-insert \zeta

\bind C-g S-Dmath-insert \Delta
\bind C-g S-Emath-insert \epsilon
\bind C-g S-Fmath-insert \Phi
\bind C-g S-Gmath-insert \Gamma
\bind C-g S-Imath-insert \iota
\bind C-g S-Jmath-insert \epsilon
\bind C-g S-Lmath-insert \Lambda
\bind C-g S-Omath-insert \Omega
\bind C-g S-Pmath-insert \Pi
\bind C-g S-Qmath-insert \vartheta
\bind C-g S-Rmath-insert \varrho
\bind C-g S-Smath-insert \Sigma
\bind C-g S-Tmath-insert \varsigma
\bind C-g S-Umath-insert \Upsilon
\bind C-g S-Vmath-insert \Theta
\bind C-g S-Wmath-insert \Omega
\bind C-g S-Xmath-insert \Xi
\bind C-g S-Ymath-insert \Psi


Re: Key bindings

2008-11-22 Thread Dov Feldstern

Peleg Michaeli wrote:

On Sat, 2008-11-22 at 20:28 +0200, Dov Feldstern wrote:

They shouldn't all be bothering you, only the ones you include are
activated. 
Probably it's cua -- that's the default.


what exactly does your bind file look like? 


I'm attaching cua and hebrew here.

The cua.bind is in usr/share/... and the hebrew.bind is in
~/.lyx1.5.1/bind/



The first line of hebrew.bind (\bind_file cua) is including cua.bind. I don't 
remember the rules in terms of whether you can override bindings, and they may 
also have changes since 1.5. The easiest thing to do may be to just copy 
cua.bind from /usr to your local lyx bind directory, rename it to mycua or 
something, get rid of the C-g y in there, and include that in hebrew instead 
of cua. See if that helps.




Thanks,
Peleg.






Re: Key bindings

2008-11-22 Thread Peleg Michaeli
On Sat, 2008-11-22 at 20:42 +0200, Dov Feldstern wrote:
  The first line of hebrew.bind (\bind_file cua) is including
  cua.bind. I don't 
  remember the rules in terms of whether you can override bindings, and
  they may 
  also have changes since 1.5. The easiest thing to do may be to just
  copy 
  cua.bind from /usr to your local lyx bind directory, rename it to
  mycua or 
  something, get rid of the C-g y in there, and include that in hebrew
  instead 
  of cua. See if that helps. 

Works great, thanks!

Peleg.



Re: Key bindings

2008-11-22 Thread Peleg Michaeli
On Sat, 2008-11-22 at 17:34 +, Peleg Michaeli wrote:
  When you say so I have configured my keyboard to have all of the
 greek letters, 
  including √, ∞, ∝, ≤≥ ⊆⊇ ⊂⊃ ←→ ⇐⇒ − ≠ ≡ ∀ ∃ and many more --- did
 you do 
  anything to actually configure the keyboard, or just paste stickers
 on or 
  something? I mean, when you press a key, will LyX be getting a g
 or some 
  unicode character?
 
 Very simple: I have reconfigured GNOME, so now when I press Alt Gr +
 s, for example, I get σ. If I press the same key combination with
 Caps-Lock on, or with Shift key pressed as well, I get Σ. Pressing the
 key that is just near the z key on its left produces ∀, and doing
 that
 with Shift produces ∃, and many more options.
 
 I haven't put any stickers. I know the keys (at least most of them) by
 heart − it's very simple. I do it like that since even though I know
 TeX
 quite good, it is much shorter to write emails to friends like this:
 Let x∈P and y∈Q. Since P and Q are normal, xyx^-1y^-1∈P∩Q={e}... ⇒
 something... or compare ...hence P\subseteq Q to ...hence P⊆Q.
 
 So, in LyX, when I press Alt Gr + a I get α, but I don't want to get
 α
 − I want to get \alpha, and I believed that LyX might have a
 solution
 to this need (and, apparently, it has − but only in 1.6). Vim, for
 example, knows really well how to deal with that.
 
 It is important to say also that the configuration is very basic, and
 it
 works in ANY software on my computer, including LyX. It's not a hack
 in the risky aspect of it.
  
  Depending on your answers to these questions, I *may* be able to
 help a little... 

Hi Dov -
Can you think of any solution to this without switching to LyX 1.6 ?


Thanks,
Peleg.




Re: Key bindings

2008-11-22 Thread Dov Feldstern

Peleg Michaeli wrote:

On Sat, 2008-11-22 at 17:34 +, Peleg Michaeli wrote:

When you say so I have configured my keyboard to have all of the
greek letters, 

including √, ∞, ∝, ≤≥ ⊆⊇ ⊂⊃ ←→ ⇐⇒ − ≠ ≡ ∀ ∃ and many more --- did
you do 

anything to actually configure the keyboard, or just paste stickers
on or 

something? I mean, when you press a key, will LyX be getting a g
or some 

unicode character?

Very simple: I have reconfigured GNOME, so now when I press Alt Gr +
s, for example, I get σ. If I press the same key combination with
Caps-Lock on, or with Shift key pressed as well, I get Σ. Pressing the
key that is just near the z key on its left produces ∀, and doing
that
with Shift produces ∃, and many more options.

I haven't put any stickers. I know the keys (at least most of them) by
heart − it's very simple. I do it like that since even though I know
TeX
quite good, it is much shorter to write emails to friends like this:
Let x∈P and y∈Q. Since P and Q are normal, xyx^-1y^-1∈P∩Q={e}... ⇒
something... or compare ...hence P\subseteq Q to ...hence P⊆Q.

So, in LyX, when I press Alt Gr + a I get α, but I don't want to get
α
− I want to get \alpha, and I believed that LyX might have a
solution
to this need (and, apparently, it has − but only in 1.6). Vim, for
example, knows really well how to deal with that.

It is important to say also that the configuration is very basic, and
it
works in ANY software on my computer, including LyX. It's not a hack
in the risky aspect of it.

Depending on your answers to these questions, I *may* be able to
help a little... 


Hi Dov -
Can you think of any solution to this without switching to LyX 1.6 ?


Thanks,
Peleg.




No. However, perhaps you can try installing 1.6 in a virtualized environment 
(Qemu, VirtualBox are relatively easy to set up, I think), so that it won't 
affect your production system until you've got it configured correctly...





Re: Key bindings

2008-11-22 Thread Peleg Michaeli
On Sat, 2008-11-22 at 21:26 +0200, Dov Feldstern wrote:
 No. However, perhaps you can try installing 1.6 in a virtualized
 environment 
 (Qemu, VirtualBox are relatively easy to set up, I think), so that it
 won't 
 affect your production system until you've got it configured
 correctly... 


Thanks,
I might try that.

Peleg.




Re: LyX 1.6.0 Cannot view pdf UserGuide and EmbeddedObjects

2008-11-22 Thread Waluyo Adi Siswanto
 installing texlive-latex-extra should've solved that for you.
 

Just to clarify. I did install it months ago, 1.5.5 was OK. Then I
installed 1.6, playing with layout, class file. Maybe I did delete by
mistake that file..I dont know. 
Maybe I should have uninstalled and reinstalled texlive-latex-extra to
solve that.
Sorry for the dirty way that I tried to solve the problem, but it
worked.



Bug in LyX 1.6.0

2008-11-22 Thread Stefano Franchi
I had a strange behavior occurring in my last LyX session:

I was happily writing in the main editing window, while having the outline 
open in a separate window and on a separate monitor when suddenly the main 
window went blank. And I really mean blank: the editing pane became a white 
blanket (I use the default pink as background color). Interestingly, the tab I 
had open on another file was completely unaffected.

 I had not been saving for a while, so I was afraid I had lost some work. To 
my surprise, the window was still responsive, the menus were visible and 
accessible, etc. I could save my file, leave LyX and restart. On the console, I 
had a few screenful of errors of this kind:

X Error: RenderBadPicture (invalid Picture parameter) 182
  Extension:156 (RENDER)
  Minor opcode: 7 (RenderFreePicture)
  Resource id:  0x2b2e6fa
X Error: BadPixmap (invalid Pixmap parameter) 4
  Major opcode: 54 (X_FreePixmap)
  Resource id:  0x2b2e6f9

When I quit LyX, the following messages appeared on the console:
QClipboard::setData: Cannot set X11 selection owner for CLIPBOARD   
 
X Error of failed request:  RenderBadPicture (invalid Picture parameter)
 
  Major opcode of failed request:  156 (RENDER) 
 
  Minor opcode of failed request:  7 (RenderFreePicture)
 
  Picture id in failed request: 0x2b4a448   
 
  Serial number of failed request:  58441931
 
  Current serial number in output stream:  58446888 
 
Locking assertion failure.  Backtrace:  
 
#0 /usr/lib/libxcb-xlib.so.0 [0x7fc53c5d29fc]   
 
#1 /usr/lib/libxcb-xlib.so.0(xcb_xlib_lock+0x17) [0x7fc53c5d2b77]   
 
#2 /usr/lib/libX11.so.6 [0x7fc53e63d8c0]
 
#3 /usr/lib/libXrender.so.1(XRenderFreePicture+0x46) [0x7fc53d0a8a26]   
 
#4 /usr/lib/libQtGui.so.4 [0x7fc53f8c3cfb]  
 
#5 /usr/lib/libQtGui.so.4 [0x7fc53f8c4680]  
 
#6 /usr/lib/libQtGui.so.4(_ZN7QPixmap5derefEv+0x53) [0x7fc53f8b9fa3]
 
#7 /usr/lib/libQtGui.so.4(_ZN7QPixmapD1Ev+0x24) [0x7fc53f8ba2e4]
#8 /usr/lib/kde4/plugins/styles/oxygen.so [0x7fc53a625b2c]
#9 /usr/lib/kde4/plugins/styles/oxygen.so [0x7fc53a62f327]
#10 /usr/lib/kde4/plugins/styles/oxygen.so [0x7fc53a630237]
#11 /lib/libc.so.6(exit+0x9d) [0x7fc53eb4e66d]
#12 /usr/lib/libX11.so.6 [0x7fc53e6365ed]
#13 /usr/lib/libX11.so.6(_XError+0xf4) [0x7fc53e636784]
#14 /usr/lib/libX11.so.6 [0x7fc53e63e20f]
#15 /usr/lib/libX11.so.6(_XReply+0x18a) [0x7fc53e63e5ba]
#16 /usr/lib/libX11.so.6(XSync+0x63) [0x7fc53e631ff3]
#17 /usr/lib/libX11.so.6(XCloseDisplay+0x70) [0x7fc53e610b80]
#18 /usr/lib/libQtGui.so.4 [0x7fc53f85d7cd]
#19 /usr/lib/libQtGui.so.4(_ZN12QApplicationD2Ev+0x5b8) [0x7fc53f8088d8]


Cheers,

S.

-- 
__
Stefano Franchi
Department of Philosophy          Ph:  (979) 862-2211
Texas AM University  Fax: (979) 845-0458
305B Bolton Hall  [EMAIL PROTECTED]
College Station, TX 77843-4237



Re: getting a document with no page numbers

2008-11-22 Thread Yago

You can use the package nopageno in the preamble for that.
- Original Message - 
From: Micha [EMAIL PROTECTED]

To: lyx-users@lists.lyx.org
Sent: Saturday, November 22, 2008 6:32 PM
Subject: Re: getting a document with no page numbers



On Sat, 22 Nov 2008 18:21:56 +0200
Dov Feldstern [EMAIL PROTECTED] wrote:


Micha wrote:
 I trying to get a document with no page numbers and for some reason 
 it's

 just not working.

 both
 \pagestyle{empty}
 \thispagestyle{empty}

 seem to be ignored.

 Any idea on where to look for the culprit?
 the document style is article, bibtex and amstex are in use. The 
 document is

 both hebrew and english

 thanks

\thispagestyle{empty} works for me (1.7svn, article, hebrew and english, 
but
no bibtex or amstex). Note that the command has to be in ERT on the 
specific
page, not in the preamble (which is obvious, given that it's for a 
specific

page --- but I think I once had trouble because of that ;) ). Besides the
ERT, I also set the Document-Settings...-Page Layout-Heading style to
empty --- I'm not sure if both are necessary or not...


thanks, that was what I was missing. For some reason \pagestyle{empty} 
doesn't
work for the first page which requires an explicit \thispagestyle{empty}. 
I put

it in the preamble and that didn't work.



HTH!
Dov



__ Information from ESET NOD32 Antivirus, version of virus 
signature database 3632 (20081121) __


The message was checked by ESET NOD32 Antivirus.

http://www.eset.com






set language for all document elements

2008-11-22 Thread Stefan Janse van Rensburg
Dear list,

How do I convert a table, paragraph or figure marked as US English
into UK English, when the document is already set to UK English
(Document -> Settings -> Language)?

I have set my document to use UK English (British), but when I copy
and paste tables from another Lyx document written in US English,
these copied items are underlined as being in foreign language
(underlined in blue).

While I know how to deactivate the blue underlining, it still doesn't
convert those items into UK English. Selecting everything and setting
the document to UK English also doesn't do the trick, and I fear I'll
end up with a document containing a horrid mixture of US and UK
English.

I am using Lyx 1.5.5 on Ubuntu 8.04. The Lyx binary was obtained from
the backports repository.

Any advice would be much appreciated.

Regards,

Stefan


Re: Key bindings

2008-11-22 Thread Peleg Michaeli
On Fri, 2008-11-21 at 23:18 +, Guenter Milde wrote:
> So you really have a Psi-key?

Well, yes. I type a lot of math, so I have configured my keyboard to
have all of the greek letters, including √, ∞, ∝, ≤≥ ⊆⊇ ⊂⊃ ←→ ⇐⇒ − ≠ ≡ ∀
∃ and many more. I thought that it might really shorten my LyX
experience (though, I still mostly use vim for LaTeX, but LyX is much
better with Hebrew), but...
> 
> In 1.6, you will get a  text-psi in text and (with the above fix) a
> kursive math \psi in the LaTeX output. 

...but I guess I'll need 1.6 for that. Well, I'm quite scared of this,
since I only have ubuntu 7.04 and I don't know how it'll react, and
since it took me a while to configure Hebrew properly in that LyX (I've
been through hell, actually... but maybe this hell is related to
configuring the Hebrew fonts in pdflatex, actually, and not in LyX? I'm
not so sure...)

I'll have to think about it a bit (add information if you like to!)

Thanks a lot,
Peleg.




Re: LyX 1.6.0 Cannot view pdf UserGuide and EmbeddedObjects

2008-11-22 Thread Jürgen Spitzmüller
Waluyo Adi Siswanto wrote:
> ! LaTeX Error: File `ltcaption.sty' not found.
> Type X to quit or  to proceed,
> or enter new name. (Default extension: sty)
> Enter file name:
> ! Emergency stop.

ltcaption.sty is part of the caption package:
http://tug.ctan.org/tex-archive/macros/latex/contrib/caption/

Seems you need to update caption.

HTH,
Jürgen


Re: set language for all document elements

2008-11-22 Thread Siegfried Meunier-Guttin-Cluzel

I use Edit>TextStyle>customize to change the language of a piece of text.
( The menus can be different, mine are in french ! ).

Hope it helps.

Siegfried.


Re: set language for all document elements

2008-11-22 Thread Stefan Janse van Rensburg
Thank you, that worked. (Menus were the same.)

Stefan

2008/11/22 Siegfried Meunier-Guttin-Cluzel <[EMAIL PROTECTED]>:
> I use Edit>TextStyle>customize to change the language of a piece of text.
> ( The menus can be different, mine are in french ! ).
>
> Hope it helps.
>
> Siegfried.
>


Citation style 'Text after' separator

2008-11-22 Thread Sam Aaron

Hi there,

when I add a citation in LyX (version 1.6.0) I get to choose some  
formatting options including entering text into the 'Text after'  
field. Any text entered here is then appended to the citation itself  
separated with a comma. Is there any way to change the separator to be  
a colon?


i.e. instead of:

[MindfulBody, 12-15]

I'd like to see:

[MindfulBody: 12-15]

Thanks in advance,

Sam Aaron


Re: Citation style 'Text after' separator

2008-11-22 Thread Jürgen Spitzmüller
Sam Aaron wrote:
> Any text entered here is then appended to the citation itself  
> separated with a comma. Is there any way to change the separator to be  
> a colon?

[EMAIL PROTECTED]@tempswa : #2\fi}]}

Jürgen


Hebrew and Proof Environment

2008-11-22 Thread rgheck

Amir Rachum wrote:

I've recently upgraded to LyX 1.6 and using Windows XP.
I use the document class article (Hebrew). I use the proof environment, but
in the new version, after I render to pdf, the proof doesn't start at a new
line.
i.e in LyX I see:

bla bla bla
proof: bla bla 2

and after I render I see:

bla bla bla proof bla bla 2


This happens with documents I edited with the previous version of LyX and
they render fine with 1.5.
What can I do?

  
Not sure. There have been a lot of changes to the RTL stuff, so it may 
be that you've caught a bug in it. Let's forward this to the devel list, 
and see.



Another question - I use LyX mostly for summarizing lecture notes and I
would like to have 2 option:
1) to create a list of theorems/claims
2) to create an exercise/solution and an example environments.

Is that possible to do?

  
Anything you can do in LaTeX, you can do in LyX. Regarding (2), look at 
the Customization manual, chapter 5. I'm not sure about lists of 
theorems. Surely it can be done, but I don't know how.


rh



Re: Citation style 'Text after' separator

2008-11-22 Thread Sam Aaron

Jürgen wrote:
> [EMAIL [EMAIL PROTECTED] : #2\fi}]}

Thanks for replying to my query Jürgen. Is there any way you can help  
me understand your solution? I'm assuming I enter a special code in  
the 'Text after' field, however I can't determine what it is from your  
reply. For example, I've tried:

#2\fi
: #2\fi
#2\fi}]
etc. All seem to throw errors on creation of the pdf. I'm currently  
jusing Jurabib as the citation style. Will that be the issue?

Thanks once again,

Sam

getting a document with no page numbers

2008-11-22 Thread Micha
I trying to get a document with no page numbers and for some reason it's just
not working.

both
\pagestyle{empty}
\thispagestyle{empty}

seem to be ignored.

Any idea on where to look for the culprit?
the document style is article, bibtex and amstex are in use. The document is
both hebrew and english

thanks


Re: Citation style 'Text after' separator

2008-11-22 Thread Jürgen Spitzmüller
Sam Aaron wrote:
>  I'm currently  
> jusing Jurabib as the citation style. Will that be the issue?

Yes, since you wrote nothing I assumed you are using the standard bibliography 
with article.sty. With Jurabib, you can probably customize this differently. 
Have a look at the Jurabib documentation.

Jürgen


Re: getting a document with no page numbers

2008-11-22 Thread Dov Feldstern

Micha wrote:

I trying to get a document with no page numbers and for some reason it's just
not working.

both
\pagestyle{empty}
\thispagestyle{empty}

seem to be ignored.

Any idea on where to look for the culprit?
the document style is article, bibtex and amstex are in use. The document is
both hebrew and english

thanks


\thispagestyle{empty} works for me (1.7svn, article, hebrew and english, but no 
bibtex or amstex). Note that the command has to be in ERT on the specific page, 
not in the preamble (which is obvious, given that it's for a specific page --- 
but I think I once had trouble because of that ;) ). Besides the ERT, I also set 
the Document->Settings...->Page Layout->Heading style to "empty" --- I'm not 
sure if both are necessary or not...


HTH!
Dov


Re: LyX 1.6.0 Cannot view pdf UserGuide and EmbeddedObjects

2008-11-22 Thread Waluyo Adi Siswanto

> ltcaption.sty is part of the caption package:
> http://tug.ctan.org/tex-archive/macros/latex/contrib/caption/
> 
> Seems you need to update caption.
> 

Thank you, I found specificly the ltcaption.sty from
http://home.in.tum.de/~gagern/E-JC/

copied to /usr/share/texmf/tex/latex/
from terminal: sudo texhash
from lyx: Tools > reconfigure then restart

Now .. both LyX 1.6.0 and 1.5.5 in Ubuntu 8.04 can view the
doc/EmbeddedObjects

WAS





Re: Key bindings

2008-11-22 Thread Dov Feldstern

Peleg Michaeli wrote:

On Fri, 2008-11-21 at 23:18 +, Guenter Milde wrote:

So you really have a Psi-key?


Well, yes. I type a lot of math, so I have configured my keyboard to
have all of the greek letters, including √, ∞, ∝, ≤≥ ⊆⊇ ⊂⊃ ←→ ⇐⇒ − ≠ ≡ ∀
∃ and many more. I thought that it might really shorten my LyX
experience (though, I still mostly use vim for LaTeX, but LyX is much
better with Hebrew), but...

In 1.6, you will get a  text-psi in text and (with the above fix) a
kursive math \psi in the LaTeX output. 


...but I guess I'll need 1.6 for that. Well, I'm quite scared of this,
since I only have ubuntu 7.04 and I don't know how it'll react, and
since it took me a while to configure Hebrew properly in that LyX (I've
been through hell, actually... but maybe this hell is related to
configuring the Hebrew fonts in pdflatex, actually, and not in LyX? I'm
not so sure...)

I'll have to think about it a bit (add information if you like to!)

Thanks a lot,
Peleg.




Hi, Peleg!

I'm not totally clear as to how your keyboard is set up, and I think that that 
may be the problem (for what it's worth, I'm able to create the "C-g y" binding 
without any trouble, with Hebrew; this is in 2.0svn, but I don't think this 
should have changed appreciably even from 1.5).


Do you use a keyboard map (Tools->Preferences->Keyboard-> "use keyboard math"; 
the exact menus may be a little different in 1.5)?


Does your keyboard output english or hebrew (i.e., do you switch languages at 
the keyboard level, or *only* using F12 in LyX)?


When you say "so I have configured my keyboard to have all of the greek letters, 
including √, ∞, ∝, ≤≥ ⊆⊇ ⊂⊃ ←→ ⇐⇒ − ≠ ≡ ∀ ∃ and many more" --- did you do 
anything to actually configure the keyboard, or just paste stickers on or 
something? I mean, when you press a key, will LyX be getting a "g" or some 
unicode character?


Depending on your answers to these questions, I *may* be able to help a 
little...

Dov


Re: getting a document with no page numbers

2008-11-22 Thread Micha
On Sat, 22 Nov 2008 18:21:56 +0200
Dov Feldstern <[EMAIL PROTECTED]> wrote:

> Micha wrote:
> > I trying to get a document with no page numbers and for some reason it's
> > just not working.
> > 
> > both
> > \pagestyle{empty}
> > \thispagestyle{empty}
> > 
> > seem to be ignored.
> > 
> > Any idea on where to look for the culprit?
> > the document style is article, bibtex and amstex are in use. The document is
> > both hebrew and english
> > 
> > thanks
> 
> \thispagestyle{empty} works for me (1.7svn, article, hebrew and english, but
> no bibtex or amstex). Note that the command has to be in ERT on the specific
> page, not in the preamble (which is obvious, given that it's for a specific
> page --- but I think I once had trouble because of that ;) ). Besides the
> ERT, I also set the Document->Settings...->Page Layout->Heading style to
> "empty" --- I'm not sure if both are necessary or not...

thanks, that was what I was missing. For some reason \pagestyle{empty} doesn't
work for the first page which requires an explicit \thispagestyle{empty}. I put
it in the preamble and that didn't work.

> 
> HTH!
> Dov
> 


Re: Key bindings

2008-11-22 Thread Peleg Michaeli
Hi Dov,
Thanks for your reply.

My answers:

On Sat, 2008-11-22 at 18:55 +0200, Dov Feldstern wrote:
> I'm not totally clear as to how your keyboard is set up, and I think that 
> that 
> may be the problem (for what it's worth, I'm able to create the "C-g y" 
> binding 
> without any trouble, with Hebrew; this is in 2.0svn, but I don't think this 
> should have changed appreciably even from 1.5).

This problem existed much before I have reconfigured my keyboard.
> 
> Do you use a keyboard map (Tools->Preferences->Keyboard-> "use keyboard 
> math"; 
> the exact menus may be a little different in 1.5)?

In Tools->Preferences->Keyboard I have "use keyboard map" (not "use
keyboard math") checked, and the First is null, and the Second is
hebrew.
> 
> Does your keyboard output english or hebrew (i.e., do you switch languages at 
> the keyboard level, or *only* using F12 in LyX)?

I am staying always in English, and using F12 exclusively to switch
between the languages (usually I don't even need that − I type only in
Hebrew, and in math mode it types the variables in English
automatically)
> 
> When you say "so I have configured my keyboard to have all of the greek 
> letters, 
> including √, ∞, ∝, ≤≥ ⊆⊇ ⊂⊃ ←→ ⇐⇒ − ≠ ≡ ∀ ∃ and many more" --- did you do 
> anything to actually configure the keyboard, or just paste stickers on or 
> something? I mean, when you press a key, will LyX be getting a "g" or some 
> unicode character?

Very simple: I have reconfigured GNOME, so now when I press "Alt Gr +
s", for example, I get σ. If I press the same key combination with
Caps-Lock on, or with Shift key pressed as well, I get Σ. Pressing the
key that is just near the "z" key on its left produces ∀, and doing that
with Shift produces ∃, and many more options.

I haven't put any stickers. I know the keys (at least most of them) by
heart − it's very simple. I do it like that since even though I know TeX
quite good, it is much shorter to write emails to friends like this:
"Let x∈P and y∈Q. Since P and Q are normal, xyx^-1y^-1∈P∩Q={e}... ⇒
something..." or compare "...hence P\subseteq Q" to "...hence P⊆Q".

So, in LyX, when I press "Alt Gr + a" I get α, but I don't want to get α
− I want to get "\alpha", and I believed that LyX might have a solution
to this need (and, apparently, it has − but only in 1.6). Vim, for
example, knows really well how to deal with that.

It is important to say also that the configuration is very basic, and it
works in ANY software on my computer, including LyX. It's not a "hack"
in the risky aspect of it.
> 
> Depending on your answers to these questions, I *may* be able to help a 
> little...

Actually, I have mentioned here two different problems. With the "C-g y"
problem, I still have to check the solution that Guenter Milde offered
me (something about collisions). About the αβγ problem (unicode
characters' bindings), I thought of moving to 1.6 (but still
hesitating), unless you have a better solution!

Again,
Thank you very much for your help.

Peleg.




Re: LyX 1.6.0 Cannot view pdf UserGuide and EmbeddedObjects

2008-11-22 Thread Sven Hoexter
On Sun, Nov 23, 2008 at 12:42:26AM +0800, Waluyo Adi Siswanto wrote:

> Thank you, I found specificly the ltcaption.sty from
> http://home.in.tum.de/~gagern/E-JC/
> 
> copied to /usr/share/texmf/tex/latex/
> from terminal: sudo texhash
> from lyx: Tools > reconfigure then restart
> 
> Now .. both LyX 1.6.0 and 1.5.5 in Ubuntu 8.04 can view the
> doc/EmbeddedObjects

installing texlive-latex-extra should've solved that for you.

The problem here is that the error message is not displayed within
LyX IMHO.

Sven
-- 
If God passed a mic to me to speak
I'd say stay in bed, world
Sleep in peace
   [The Cardigans - 03:45: No sleep]


Re: Key bindings

2008-11-22 Thread Peleg Michaeli
On Fri, 2008-11-21 at 13:27 +, Guenter Milde wrote:
> You could try to grep for C-g in all bind files that are read directly
> or
> indirectly. 

I have found these:
./bind/xemacs.bind:\bind "C-g"  "cancel"
./bind/xemacs.bind:\bind "C-x C-g""buffer-view ps"
./bind/mac.bind:\bind "C-g" "error-next"
./bind/emacs.bind:\bind "C-g" "cancel"
./bind/emacs.bind:\bind "C-x C-g""buffer-view ps"
./bind/cua.bind:\bind "C-g" "error-next"

Do you think it is safe to delete these?

And: how can I know if these files are really readed?

(the above is the result of grep in /usr/share/lyx1.5.1/)


Thanks,
Peleg.




Re: Key bindings

2008-11-22 Thread Dov Feldstern

Peleg Michaeli wrote:

On Fri, 2008-11-21 at 13:27 +, Guenter Milde wrote:

You could try to grep for C-g in all bind files that are read directly
or
indirectly. 


I have found these:
./bind/xemacs.bind:\bind "C-g"  "cancel"
./bind/xemacs.bind:\bind "C-x C-g""buffer-view ps"
./bind/mac.bind:\bind "C-g" "error-next"
./bind/emacs.bind:\bind "C-g" "cancel"
./bind/emacs.bind:\bind "C-x C-g""buffer-view ps"
./bind/cua.bind:\bind "C-g" "error-next"

Do you think it is safe to delete these?



They shouldn't all be bothering you, only the ones you include are activated. 
Probably it's cua -- that's the default.


what exactly does your bind file look like?


And: how can I know if these files are really readed?

(the above is the result of grep in /usr/share/lyx1.5.1/)


Thanks,
Peleg.






Re: Key bindings

2008-11-22 Thread Peleg Michaeli
On Sat, 2008-11-22 at 20:28 +0200, Dov Feldstern wrote:
> They shouldn't all be bothering you, only the ones you include are
> activated. 
> Probably it's cua -- that's the default.
> 
> what exactly does your bind file look like? 

I'm attaching cua and hebrew here.

The cua.bind is in usr/share/... and the hebrew.bind is in
~/.lyx1.5.1/bind/

Thanks,
Peleg.



cua.bind
Description: Binary data
\bind_file cua
\bind "F12" "language hebrew"
\bind "M-9 "math-delim ( )"
\bind "M-0 "math-delim ( )"

\bind "M-m 7"   "math-insert \psi"
\bind "ψ"   "math-insert \psi"

# First: Greek, start with C-g
\bind "C-g a"  "math-insert \alpha"
\bind "C-g b"  "math-insert \beta"
\bind "C-g c"  "math-insert \chi"
\bind "C-g d"  "math-insert \delta"
\bind "C-g e"  "math-insert \varepsilon"
\bind "C-g f"  "math-insert \phi"
\bind "C-g g"  "math-insert \gamma"
\bind "C-g h"  "math-insert \eta"
\bind "C-g i"  "math-insert \iota"
\bind "C-g j"  "math-insert \varphi"
\bind "C-g k"  "math-insert \kappa"
\bind "C-g l"  "math-insert \lambda"
\bind "C-g m"  "math-insert \mu"
\bind "C-g n"  "math-insert \nu"
\bind "C-g o"  "math-insert \omega"
\bind "C-g p"  "math-insert \pi"
\bind "C-g q"  "math-insert \vartheta"
\bind "C-g r"  "math-insert \rho"
\bind "C-g s"  "math-insert \sigma"
\bind "C-g t"  "math-insert \tau"
\bind "C-g u"  "math-insert \upsilon"
\bind "C-g v"  "math-insert \theta"
\bind "C-g w"  "math-insert \omega"
\bind "C-g x"  "math-insert \xi"
\bind "C-g y"  "math-insert \psi"
\bind "C-g z"  "math-insert \zeta"

\bind "C-g S-D""math-insert \Delta"
\bind "C-g S-E""math-insert \epsilon"
\bind "C-g S-F""math-insert \Phi"
\bind "C-g S-G""math-insert \Gamma"
\bind "C-g S-I""math-insert \iota"
\bind "C-g S-J""math-insert \epsilon"
\bind "C-g S-L""math-insert \Lambda"
\bind "C-g S-O""math-insert \Omega"
\bind "C-g S-P""math-insert \Pi"
\bind "C-g S-Q""math-insert \vartheta"
\bind "C-g S-R""math-insert \varrho"
\bind "C-g S-S""math-insert \Sigma"
\bind "C-g S-T""math-insert \varsigma"
\bind "C-g S-U""math-insert \Upsilon"
\bind "C-g S-V""math-insert \Theta"
\bind "C-g S-W""math-insert \Omega"
\bind "C-g S-X""math-insert \Xi"
\bind "C-g S-Y""math-insert \Psi"


Re: Key bindings

2008-11-22 Thread Dov Feldstern

Peleg Michaeli wrote:

On Sat, 2008-11-22 at 20:28 +0200, Dov Feldstern wrote:

They shouldn't all be bothering you, only the ones you include are
activated. 
Probably it's cua -- that's the default.


what exactly does your bind file look like? 


I'm attaching cua and hebrew here.

The cua.bind is in usr/share/... and the hebrew.bind is in
~/.lyx1.5.1/bind/



The first line of hebrew.bind ("\bind_file cua") is including cua.bind. I don't 
remember the rules in terms of whether you can override bindings, and they may 
also have changes since 1.5. The easiest thing to do may be to just copy 
cua.bind from /usr to your local lyx bind directory, rename it to mycua or 
something, get rid of the "C-g y" in there, and include that in hebrew instead 
of cua. See if that helps.




Thanks,
Peleg.






Re: Key bindings

2008-11-22 Thread Peleg Michaeli
On Sat, 2008-11-22 at 20:42 +0200, Dov Feldstern wrote:
> > The first line of hebrew.bind ("\bind_file cua") is including
> > cua.bind. I don't 
> > remember the rules in terms of whether you can override bindings, and
> > they may 
> > also have changes since 1.5. The easiest thing to do may be to just
> > copy 
> > cua.bind from /usr to your local lyx bind directory, rename it to
> > mycua or 
> > something, get rid of the "C-g y" in there, and include that in hebrew
> > instead 
> > of cua. See if that helps. 

Works great, thanks!

Peleg.



Re: Key bindings

2008-11-22 Thread Peleg Michaeli
On Sat, 2008-11-22 at 17:34 +, Peleg Michaeli wrote:
> > When you say "so I have configured my keyboard to have all of the
> greek letters, 
> > including √, ∞, ∝, ≤≥ ⊆⊇ ⊂⊃ ←→ ⇐⇒ − ≠ ≡ ∀ ∃ and many more" --- did
> you do 
> > anything to actually configure the keyboard, or just paste stickers
> on or 
> > something? I mean, when you press a key, will LyX be getting a "g"
> or some 
> > unicode character?
> 
> Very simple: I have reconfigured GNOME, so now when I press "Alt Gr +
> s", for example, I get σ. If I press the same key combination with
> Caps-Lock on, or with Shift key pressed as well, I get Σ. Pressing the
> key that is just near the "z" key on its left produces ∀, and doing
> that
> with Shift produces ∃, and many more options.
> 
> I haven't put any stickers. I know the keys (at least most of them) by
> heart − it's very simple. I do it like that since even though I know
> TeX
> quite good, it is much shorter to write emails to friends like this:
> "Let x∈P and y∈Q. Since P and Q are normal, xyx^-1y^-1∈P∩Q={e}... ⇒
> something..." or compare "...hence P\subseteq Q" to "...hence P⊆Q".
> 
> So, in LyX, when I press "Alt Gr + a" I get α, but I don't want to get
> α
> − I want to get "\alpha", and I believed that LyX might have a
> solution
> to this need (and, apparently, it has − but only in 1.6). Vim, for
> example, knows really well how to deal with that.
> 
> It is important to say also that the configuration is very basic, and
> it
> works in ANY software on my computer, including LyX. It's not a "hack"
> in the risky aspect of it.
> > 
> > Depending on your answers to these questions, I *may* be able to
> help a little... 

Hi Dov -
Can you think of any solution to this without switching to LyX 1.6 ?


Thanks,
Peleg.




Re: Key bindings

2008-11-22 Thread Dov Feldstern

Peleg Michaeli wrote:

On Sat, 2008-11-22 at 17:34 +, Peleg Michaeli wrote:

When you say "so I have configured my keyboard to have all of the
greek letters, 

including √, ∞, ∝, ≤≥ ⊆⊇ ⊂⊃ ←→ ⇐⇒ − ≠ ≡ ∀ ∃ and many more" --- did
you do 

anything to actually configure the keyboard, or just paste stickers
on or 

something? I mean, when you press a key, will LyX be getting a "g"
or some 

unicode character?

Very simple: I have reconfigured GNOME, so now when I press "Alt Gr +
s", for example, I get σ. If I press the same key combination with
Caps-Lock on, or with Shift key pressed as well, I get Σ. Pressing the
key that is just near the "z" key on its left produces ∀, and doing
that
with Shift produces ∃, and many more options.

I haven't put any stickers. I know the keys (at least most of them) by
heart − it's very simple. I do it like that since even though I know
TeX
quite good, it is much shorter to write emails to friends like this:
"Let x∈P and y∈Q. Since P and Q are normal, xyx^-1y^-1∈P∩Q={e}... ⇒
something..." or compare "...hence P\subseteq Q" to "...hence P⊆Q".

So, in LyX, when I press "Alt Gr + a" I get α, but I don't want to get
α
− I want to get "\alpha", and I believed that LyX might have a
solution
to this need (and, apparently, it has − but only in 1.6). Vim, for
example, knows really well how to deal with that.

It is important to say also that the configuration is very basic, and
it
works in ANY software on my computer, including LyX. It's not a "hack"
in the risky aspect of it.

Depending on your answers to these questions, I *may* be able to
help a little... 


Hi Dov -
Can you think of any solution to this without switching to LyX 1.6 ?


Thanks,
Peleg.




No. However, perhaps you can try installing 1.6 in a virtualized environment 
(Qemu, VirtualBox are relatively easy to set up, I think), so that it won't 
affect your production system until you've got it configured correctly...





Re: Key bindings

2008-11-22 Thread Peleg Michaeli
On Sat, 2008-11-22 at 21:26 +0200, Dov Feldstern wrote:
> No. However, perhaps you can try installing 1.6 in a virtualized
> environment 
> (Qemu, VirtualBox are relatively easy to set up, I think), so that it
> won't 
> affect your production system until you've got it configured
> correctly... 


Thanks,
I might try that.

Peleg.




Re: LyX 1.6.0 Cannot view pdf UserGuide and EmbeddedObjects

2008-11-22 Thread Waluyo Adi Siswanto
> installing texlive-latex-extra should've solved that for you.
> 

Just to clarify. I did install it months ago, 1.5.5 was OK. Then I
installed 1.6, playing with layout, class file. Maybe I did delete by
mistake that file..I dont know. 
Maybe I should have uninstalled and reinstalled texlive-latex-extra to
solve that.
Sorry for the dirty way that I tried to solve the problem, but it
worked.



Bug in LyX 1.6.0

2008-11-22 Thread Stefano Franchi
I had a strange behavior occurring in my last LyX session:

I was happily writing in the main editing window, while having the outline 
open in a separate window and on a separate monitor when suddenly the main 
window went blank. And I really mean blank: the editing pane became a white 
blanket (I use the default pink as background color). Interestingly, the tab I 
had open on another file was completely unaffected.

 I had not been saving for a while, so I was afraid I had lost some work. To 
my surprise, the window was still responsive, the menus were visible and 
accessible, etc. I could save my file, leave LyX and restart. On the console, I 
had a few screenful of errors of this kind:

X Error: RenderBadPicture (invalid Picture parameter) 182
  Extension:156 (RENDER)
  Minor opcode: 7 (RenderFreePicture)
  Resource id:  0x2b2e6fa
X Error: BadPixmap (invalid Pixmap parameter) 4
  Major opcode: 54 (X_FreePixmap)
  Resource id:  0x2b2e6f9

When I quit LyX, the following messages appeared on the console:
QClipboard::setData: Cannot set X11 selection owner for CLIPBOARD   
 
X Error of failed request:  RenderBadPicture (invalid Picture parameter)
 
  Major opcode of failed request:  156 (RENDER) 
 
  Minor opcode of failed request:  7 (RenderFreePicture)
 
  Picture id in failed request: 0x2b4a448   
 
  Serial number of failed request:  58441931
 
  Current serial number in output stream:  58446888 
 
Locking assertion failure.  Backtrace:  
 
#0 /usr/lib/libxcb-xlib.so.0 [0x7fc53c5d29fc]   
 
#1 /usr/lib/libxcb-xlib.so.0(xcb_xlib_lock+0x17) [0x7fc53c5d2b77]   
 
#2 /usr/lib/libX11.so.6 [0x7fc53e63d8c0]
 
#3 /usr/lib/libXrender.so.1(XRenderFreePicture+0x46) [0x7fc53d0a8a26]   
 
#4 /usr/lib/libQtGui.so.4 [0x7fc53f8c3cfb]  
 
#5 /usr/lib/libQtGui.so.4 [0x7fc53f8c4680]  
 
#6 /usr/lib/libQtGui.so.4(_ZN7QPixmap5derefEv+0x53) [0x7fc53f8b9fa3]
 
#7 /usr/lib/libQtGui.so.4(_ZN7QPixmapD1Ev+0x24) [0x7fc53f8ba2e4]
#8 /usr/lib/kde4/plugins/styles/oxygen.so [0x7fc53a625b2c]
#9 /usr/lib/kde4/plugins/styles/oxygen.so [0x7fc53a62f327]
#10 /usr/lib/kde4/plugins/styles/oxygen.so [0x7fc53a630237]
#11 /lib/libc.so.6(exit+0x9d) [0x7fc53eb4e66d]
#12 /usr/lib/libX11.so.6 [0x7fc53e6365ed]
#13 /usr/lib/libX11.so.6(_XError+0xf4) [0x7fc53e636784]
#14 /usr/lib/libX11.so.6 [0x7fc53e63e20f]
#15 /usr/lib/libX11.so.6(_XReply+0x18a) [0x7fc53e63e5ba]
#16 /usr/lib/libX11.so.6(XSync+0x63) [0x7fc53e631ff3]
#17 /usr/lib/libX11.so.6(XCloseDisplay+0x70) [0x7fc53e610b80]
#18 /usr/lib/libQtGui.so.4 [0x7fc53f85d7cd]
#19 /usr/lib/libQtGui.so.4(_ZN12QApplicationD2Ev+0x5b8) [0x7fc53f8088d8]


Cheers,

S.

-- 
__
Stefano Franchi
Department of Philosophy          Ph:  (979) 862-2211
Texas A University  Fax: (979) 845-0458
305B Bolton Hall  [EMAIL PROTECTED]
College Station, TX 77843-4237



Re: getting a document with no page numbers

2008-11-22 Thread Yago

You can use the package nopageno in the preamble for that.
- Original Message - 
From: "Micha" <[EMAIL PROTECTED]>

To: 
Sent: Saturday, November 22, 2008 6:32 PM
Subject: Re: getting a document with no page numbers



On Sat, 22 Nov 2008 18:21:56 +0200
Dov Feldstern <[EMAIL PROTECTED]> wrote:


Micha wrote:
> I trying to get a document with no page numbers and for some reason 
> it's

> just not working.
>
> both
> \pagestyle{empty}
> \thispagestyle{empty}
>
> seem to be ignored.
>
> Any idea on where to look for the culprit?
> the document style is article, bibtex and amstex are in use. The 
> document is

> both hebrew and english
>
> thanks

\thispagestyle{empty} works for me (1.7svn, article, hebrew and english, 
but
no bibtex or amstex). Note that the command has to be in ERT on the 
specific
page, not in the preamble (which is obvious, given that it's for a 
specific

page --- but I think I once had trouble because of that ;) ). Besides the
ERT, I also set the Document->Settings...->Page Layout->Heading style to
"empty" --- I'm not sure if both are necessary or not...


thanks, that was what I was missing. For some reason \pagestyle{empty} 
doesn't
work for the first page which requires an explicit \thispagestyle{empty}. 
I put

it in the preamble and that didn't work.



HTH!
Dov



__ Information from ESET NOD32 Antivirus, version of virus 
signature database 3632 (20081121) __


The message was checked by ESET NOD32 Antivirus.

http://www.eset.com