Re: Labelling equations

2008-08-01 Thread Christopher Stowasser
I admit, that my last sentence is very confusing. Just forget about it. What
I meant was: If I put the cursor before or behind the math box, i.e in the
normal text, I can use the label function. As soon as I put the cursor in
the math box  the label function is inactive.  Therefore I cannot label the
equation in the math box.  As long as I cannot asign a label to the equation
it makes no sense to look at the pdf I guess.

Greetings,
Christopher

2008/7/31 Bob Lounsbury [EMAIL PROTECTED]

 On Thu, Jul 31, 2008 at 7:02 AM, Christopher Stowasser
 [EMAIL PROTECTED] wrote:
  Hi,
 
  I have a problem with labelling equations. If I want to label an equation
 I
  put the cursor in the pink box surrounding the equation. Then I go to
  insert and to label. The function label is written in grey letters
  now, i.e. inactive. If the cursor is outside the pink box the function
  label works, but I cannot label the equation.
 
  Thanks in advance!
  Christopher
 

 I'm a little confused you may have to explain further. What do you
 mean the label works, but I cannot label the equation? How do you
 want to label it? What you have done should work. When you create a
 pdf of you file the equation should be numbered for instance (1) in
 article class because you entered Insert-Label.

 Cheers,
 /Bob




-- 
Christopher Stowasser
Nørrebrogade 100, 2 TH
2200 København N
Danmark


Natbib without Bibtex Problem.

2008-08-01 Thread econkramer

Dear all,

I am using Natbib (lyx 1.5.4) for my bibliography. I have a problem with how
bibliography appear not in the text citation, but in the reference space at
the end of the paper.

I loaded the packages: natbib, citeref, hyperref,...

Then in the reference space I use the common tool from LYX: first, I set the
key, then the mark, finally my biblio elements. In text the quote appears
fine, using citet and citep, but the reference do not. At the end of each
element does appear the number [1], even though I have selected authoryear
in the biblio settings in document.

Example
References 

Author, 2002, Title, Journal. [1]

Author, Author, 2003, Title, Journal.
[1]

Do you know how to fix this?
-- 
View this message in context: 
http://n2.nabble.com/Natbib-without-Bibtex-Problem.-tp664009p664009.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: problems with class and/or layout?

2008-08-01 Thread Alessandro Magni

well, the problem is solved...
I obtained the original Elsevier class files from the conference website 
http://www.jems08.ie/publications.php (they provided elsart.cls, 
elsart5.cls).

Now that I downloaded them straight from Elsevier I have no more problems...

thank you!

Alessandro

Bob Lounsbury wrote:

On Thu, Jul 31, 2008 at 3:49 AM, alexxx [EMAIL PROTECTED] wrote:
  

Greetings,
I used LyX up to now for basic tasks, but now I have to use the Elsevier
class, and I'm discovering a lot of new problems.
I chosed LyX right to avoid all the complexities of the Tex/LaTeX world, and
I'd be very sorry if to simply switch classes this was not sufficient!

By choosing New-From template-elsart.lyx, even the standard template is
unable to be compiled, giving the errors:

1) undefined control sequence on  \title{Insert your Title Here}
2) Missing number, treated as zero , always on \title
3) improper 'at' size (0.0pt), replaced by 10pt, always on \title
4) Missing = inserted for \ifnum on \author{Author's name}
5) Missing number, treated as zero, always on \author

Yet, I have:
/usr/share/lyx/templates/elsart.lyx and /usr/share/lyx/layouts/elsart.layout
(both by lyx-1.5.5-1.fc8)
and the directory /usr/share/texmf/tex/latex/elsart containing elsart.cls,
elsart5.cls (and yes, after installing it I did texhash on
/usr/share/texmf, followed by reconfigure on lyx)


what's happening? I'm completely lost - and the article deadline is nearer
and nearer!

local system: Linux Fedora fc8

thank you for any help!

alessandro




--
View this message in context: 
http://n2.nabble.com/problems-with-class-and-or-layout--tp662032p662032.html
Sent from the LyX - Users mailing list archive at Nabble.com.






Well, that's strange it works fine for me. So, first things first.
After you installed elsart and did a texhash and reconfigure on LyX.
Did you check to make sure that it was actually recognized by LyX?

Meaning 'article (Elsevier)' is actually listed in
Document-Settings-Document Class or Help-LaTeX Configuration
Section 4.11 says elsart is found.

Cheers,
/Bob

  



--

~~~
/  Dr.Alessandro Magni
\Electromagnetics Division
/INRiM Strada delle Cacce 91, 10135 Torino (ITALIA)
\Email [EMAIL PROTECTED]
/Tel: 0039-011-3919821  Fax: 0039-011-3919834
\URL http://www.inrim.it/~magni
/ Our business in life is not to succeed but to continue to fail 
\ in high spirits.  -- Robert Louis Stevenson

~~~



French localization of Lyx 1.5.6

2008-08-01 Thread Franck Pastor

Hello,

I have just downloaded Lyx 1.5.6 on my Power Mac G5. I use MacOSX  
10.4.11 as system, and its French-speaking localization. Problem: the  
menus and windows of Lyx 1.5.6 are all in English. With Lyx 1.5.5  
they were (rightly) in French. Maybe the French localization of Lyx  
1.5.6 is not yet available?


Thanks,

Franck Pastor
Laboratoire CESAME, unité MEMA
Bâtiment Euler, 4 avenue Georges Lemaître
1348 Louvain-La-Neuve
Belgique
[EMAIL PROTECTED]





Re: Labelling equations

2008-08-01 Thread Bob Lounsbury
On Fri, Aug 1, 2008 at 2:10 AM, Christopher Stowasser
[EMAIL PROTECTED] wrote:
 I admit, that my last sentence is very confusing. Just forget about it. What
 I meant was: If I put the cursor before or behind the math box, i.e in the
 normal text, I can use the label function. As soon as I put the cursor in
 the math box  the label function is inactive.  Therefore I cannot label the
 equation in the math box.  As long as I cannot asign a label to the equation
 it makes no sense to look at the pdf I guess.


It sounds as if you have a problem with the installation of LyX. This
is obviously not normal behavior. I would trying reinstalling LyX. It
may help developer's to know what platform you are using and what
version of LyX. You may also need to file a bug report if reinstalling
doesn't help.

Cheers,
/Bob


Command disabled

2008-08-01 Thread Máté Salát
Hello,

For pressing Ctrl+any number from 1 to 9 LyX says Command disabled on the 
status line, independently of the existence of such a hotkey.

What does this message mean? I wanted to set up some custom hotkeys including 
these.

Cheers, Máté

Re: Command disabled

2008-08-01 Thread Rich Shepard

On Fri, 1 Aug 2008, Máté Salát wrote:


For pressing Ctrl+any number from 1 to 9 LyX says Command disabled on
the status line, independently of the existence of such a hotkey.

What does this message mean? I wanted to set up some custom hotkeys
including these.


Máté,

  Did you specify the hotkey and its long form in your bind file? Mine is in
~/.lyx/bind/mybind, and it's a derivative of the emacs.bind file.

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
http://www.appl-ecosys.com Voice: 503-667-4517  Fax: 503-667-8863

CopyStyle applied?

2008-08-01 Thread Andrés Becerra Sandoval
Hello,

I am very intrigued by the keyword CopyStyle recently discussed and I
would like to create a layout for the class exam
(http://www.ctan.org/tex-archive/macros/latex/contrib/exam/)

This class defines an environment questions that groups all the exam
questions.
Each question is inserted with the command question and is
automatically numbered.
The answers for the question are defined with the environment solution
The following is a minimal example:


\documentclass[12pt]{exam}
\begin{document}
%\printanswers
\begin{questions}

\question
What is the speed of light?

\begin{solution}
30 km/s
\end{solution}

\question
What is the color of the sky?

\begin{solution}
Blue
\end{solution}

\end{questions}
\end{document}


The questions are automatically numbered like in the png attached.

So, I would be very grateful for suggestions of how to handle this
environments (questions,solution) and the command question in the
layout with the CopyStyle keyword!

Thanks,

-- 
 Andrés
attachment: exam_example1.png

Re: Labelling equations

2008-08-01 Thread Paul A. Rubin

Christopher Stowasser wrote:

I admit, that my last sentence is very confusing. Just forget about it. What
I meant was: If I put the cursor before or behind the math box, i.e in the
normal text, I can use the label function. As soon as I put the cursor in
the math box  the label function is inactive.  Therefore I cannot label the
equation in the math box.  As long as I cannot asign a label to the equation
it makes no sense to look at the pdf I guess.



Just to make sure we're all on the same page, you're talking about a 
displayed math inset (on its own line), right?  If you have a math inset 
in the middle of a line of text, you won't be able to insert a label 
(the label item on the insert menu is grayed out), because inserting a 
label there makes no sense.  A label in a math inset refers to the 
equation number, and in-line math insets don't get numbered.


/Paul



Re: CopyStyle applied?

2008-08-01 Thread Abdelrazak Younes

Andrés Becerra Sandoval wrote:

Hello,

I am very intrigued by the keyword CopyStyle recently discussed and I
would like to create a layout for the class exam
(http://www.ctan.org/tex-archive/macros/latex/contrib/exam/)


I don't want to refrain your enthusiasm but, just for your information, 
you can achieve almost the same result using branches in LyX.


[...]

The questions are automatically numbered like in the png attached.

So, I would be very grateful for suggestions of how to handle this
environments (questions,solution) and the command question in the
layout with the CopyStyle keyword!


That'd be interesting to know in any case :-)

Abdel.



Re: Labelling equations

2008-08-01 Thread rgheck

Bob Lounsbury wrote:

On Fri, Aug 1, 2008 at 2:10 AM, Christopher Stowasser
[EMAIL PROTECTED] wrote:
  

I admit, that my last sentence is very confusing. Just forget about it. What
I meant was: If I put the cursor before or behind the math box, i.e in the
normal text, I can use the label function. As soon as I put the cursor in
the math box  the label function is inactive.  Therefore I cannot label the
equation in the math box.  As long as I cannot asign a label to the equation
it makes no sense to look at the pdf I guess.




It sounds as if you have a problem with the installation of LyX. This
is obviously not normal behavior. I would trying reinstalling LyX. It
may help developer's to know what platform you are using and what
version of LyX. You may also need to file a bug report if reinstalling
doesn't help.

  
I see it disabled as well, UNLESS the equation is in display 
mode---i.e., centered by itself on a separate line. It is meant to work 
that way. The reason is that labeled equations are also NUMBERED 
equations, and the mechanism that's used to do the label isn't available 
if the equation hasn't been set off.


Perhaps part of the confusion is that what LyX calls labels don't 
normally appear in the text. They're just targets for cross-references. 
So you can label the equation if you like by putting a label after it. 
But it won't have a number, and the only cross-reference you'll be able 
to do will be by page, really.


rh



Re: 1.5.6 deb

2008-08-01 Thread John McCabe-Dansted
On Mon, Jul 28, 2008 at 8:28 PM, Manveru [EMAIL PROTECTED] wrote:
 This was discussed some time ago that plenty security rules does not allow
 LyX team and other to publish such packages. There is a team in Ubuntu which
 should be responsible for preparing secure reviewed packages for
 Ubuntu/Debian users. Try to join them if you want contribute in pacakge
 preparation.

I am not sure what team you are talking about. Tomasz could manage a
PPA for lyx, see:
   https://help.launchpad.net/PPA?action=showredirect=PPAQuickStart
However this is only for Ubuntu.

I was thinking of building a deb of 1.5.7 upon release for debian
stable etch users, e.g. Eeepc users. Is there a way of doing this
such that I can share this deb with other LyX users?

-- 
John C. McCabe-Dansted
PhD Student
University of Western Australia


Using minitoc in Lyx?

2008-08-01 Thread alvaro

Hello Forum,

this is my first topic here, so I hope I do it correctly :-)

I am trying to use the minitoc package with a lyx document, and I have
failed to do it! It seams, that the minitoc-files remain empty!

Does anyone have an experience with this topic? Could you give me a tip? I
find documents with minitocs look so nice!

Thank you for your support! 

Álvaro
-- 
View this message in context: 
http://n2.nabble.com/Using-minitoc-in-Lyx--tp664533p664533.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: Labelling equations

2008-08-01 Thread Abdelrazak Younes

Paul A. Rubin wrote:

Christopher Stowasser wrote:

I admit, that my last sentence is very confusing. Just forget about
it. What
I meant was: If I put the cursor before or behind the math box, i.e in
the
normal text, I can use the label function. As soon as I put the cursor in
the math box the label function is inactive. Therefore I cannot label the
equation in the math box. As long as I cannot asign a label to the
equation
it makes no sense to look at the pdf I guess.



Just to make sure we're all on the same page, you're talking about a
displayed math inset (on its own line), right? If you have a math inset
in the middle of a line of text, you won't be able to insert a label
(the label item on the insert menu is grayed out), because inserting a
label there makes no sense. A label in a math inset refers to the
equation number, and in-line math insets don't get numbered.


I can understand that this behavior is confusing for a new comer that 
haven't read the tutorial :-). Maybe we should authorize label insertion 
also for inline formulas and automatically switch to displayed formula 
if a label is inserted. Maybe with a warning box that explains what LyX 
did and what the user should do in order to avoid this warning box.


Abdel.



Re: Command disabled

2008-08-01 Thread Máté Salát
Rich,

Actually I've specified the hotkey Ctrl+8 but I haven't specified the others 
like Ctrl+1, Crtl+2, ...
But as I said the reaction of LyX even for Ctrl+1 and Ctrl+8 is the same 
Command disabled text.

Anyway, I use WinXP and LyX 1.6.0beta4 (Fri, Jul 11, 2008). If I want to 
specify a new hotkey I use the Shortcut Configuration dialog 
(http://wiki.lyx.org/LyX/NewInLyX16#toc20). The hotkeys made here by the user 
are stored in C:\Documents and Settings\username\Application 
Data\lyx16\bind\user.bind. For example one line in it is: \bind C-8 
math-delim ( )

What do you mean by the hotkey's long form?

Máté 
  - Original Message - 
  From: Rich Shepard 
  To: lyx-users@lists.lyx.org 
  Sent: Friday, August 01, 2008 5:24 PM
  Subject: Re: Command disabled


  On Fri, 1 Aug 2008, Máté Salát wrote:

   For pressing Ctrl+any number from 1 to 9 LyX says Command disabled on
   the status line, independently of the existence of such a hotkey.
  
   What does this message mean? I wanted to set up some custom hotkeys
   including these.

  Máté,

 Did you specify the hotkey and its long form in your bind file? Mine is in
  ~/.lyx/bind/mybind, and it's a derivative of the emacs.bind file.

  Rich

  -- 
  Richard B. Shepard, Ph.D.   |  IntegrityCredibility
  Applied Ecosystem Services, Inc.|Innovation
  http://www.appl-ecosys.com Voice: 503-667-4517  Fax: 503-667-8863

Re: Interesting thread on Slashdot

2008-08-01 Thread Michael Wojcik

Dotan Cohen wrote:


Is LyX only good for writing books, then?


It's good for whatever works for you.

Steve Litt likes LyX for writing books. As he's noted before on the 
list, he doesn't like it for writing short documents, such as letters. 
When he uses LyX to write a book, he writes the frontmatter in ERT 
(LaTeX). That's one way of using LyX, and it seems to work well for him.


I use LyX for various types of scholarly articles - including some 
genres, like collage, that are fairly unlike the typical article. I 
also use it sometimes for writing short documents such as letters. I 
like LyX for letters because I find it quick and easy and I don't feel 
the need to fine-tune the output; I'm happy to let the LaTeX class I'm 
using do that.


Sometimes when I drive a nail I use a hammer; sometimes I use a 
nailgun; sometimes I use an air-powered palm nailer. I have different 
hammers for different tasks. Sometimes I use a hammer where someone 
else might use a nailgun. You want to use an appropriate tool, but 
that still leaves you with choices, and different users prefer 
different trade-offs.


--
Michael Wojcik
Micro Focus
Rhetoric  Writing, Michigan State University



Re: Labelling equations

2008-08-01 Thread Waluyo Adi Siswanto
 I can understand that this behavior is confusing for a new comer that 
 haven't read the tutorial :-). Maybe we should authorize label insertion 
 also for inline formulas and automatically switch to displayed formula 
 if a label is inserted. Maybe with a warning box that explains what LyX 
 did and what the user should do in order to avoid this warning box.
 
 Abdel.
 

That would be a good idea, if LyX could accommodate new users by
switching to displayed mode and numbered? when inline formula is forced
to have label.

/Adi



Problem to convert html and open Document

2008-08-01 Thread Md. Golam Parvez
Hi
I am not sure this is a write place to ask question. I am having problem to
convert lyx file to Open Office Document. I am using Lyx 1.5.6 with normal
and full installation on windows xp. When try to convert any lyx file to
open document, its try to convert then say can not convert. I am not good
in technical things. Can any body help about this problem or at least point
me out something. Thanks

Golam Parvez


Re: Command disabled

2008-08-01 Thread rgheck

Máté Salát wrote:

Rich,

Actually I've specified the hotkey Ctrl+8 but I haven't specified the others 
like Ctrl+1, Crtl+2, ...
But as I said the reaction of LyX even for Ctrl+1 and Ctrl+8 is the same Command 
disabled text.

Anyway, I use WinXP and LyX 1.6.0beta4 (Fri, Jul 11, 2008). If I want to specify a new hotkey I use the 
Shortcut Configuration dialog (http://wiki.lyx.org/LyX/NewInLyX16#toc20). The hotkeys made here by the user 
are stored in C:\Documents and Settings\username\Application Data\lyx16\bind\user.bind. For 
example one line in it is: \bind C-8 math-delim ( )

  

The issue may be that these are already declared, here:

#
# bookmarks
#

\bind C-~S-1bookmark-goto 1
\bind C-~S-2bookmark-goto 2
\bind C-~S-3bookmark-goto 3
\bind C-~S-4bookmark-goto 4
\bind C-~S-5bookmark-goto 5
\bind C-~S-6bookmark-goto 6
\bind C-~S-7bookmark-goto 7
\bind C-~S-8bookmark-goto 8
\bind C-~S-9bookmark-goto 9
\bind C-M-~S-1bookmark-save 1
\bind C-M-~S-2bookmark-save 2
\bind C-M-~S-3bookmark-save 3
\bind C-M-~S-4bookmark-save 4
\bind C-M-~S-5bookmark-save 5
\bind C-M-~S-6bookmark-save 6
\bind C-M-~S-7bookmark-save 7
\bind C-M-~S-8bookmark-save 8
\bind C-M-~S-9bookmark-save 9

The ~S thing means to ignore shift state. So you're getting the disabled 
thing because the bookmark doesn't exist.


If you want, you could redefine these to require shift:

\bind C-S-1bookmark-goto 1

and then define C-1 etc as you wish.

rh




Re: Problem to convert html and open Document

2008-08-01 Thread rgheck

Md. Golam Parvez wrote:

Hi
I am not sure this is a write place to ask question. I am having problem to
convert lyx file to Open Office Document. I am using Lyx 1.5.6 with normal
and full installation on windows xp. When try to convert any lyx file to
open document, its try to convert then say can not convert. I am not good
in technical things. Can any body help about this problem or at least point
me out something. Thanks

  
There are lots of problems converting to OOo on Windows. This is because 
LyX uses the tex4ht package to do that, and there are problems with 
tex4ht on Windows. But this has been discussed here a lot, and some 
people have found workarounds. If you search the list archives, you'll 
probably find some ideas.


rh



Re: Command disabled

2008-08-01 Thread Rich Shepard

On Fri, 1 Aug 2008, Máté Salát wrote:


Anyway, I use WinXP


  Ah, well. I know nothing about Microsoft products.


What do you mean by the hotkey's long form?


  The command to which you are binding the hotkey.

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
http://www.appl-ecosys.com Voice: 503-667-4517  Fax: 503-667-8863

Re: Labelling equations

2008-08-01 Thread Paul A. Rubin

Waluyo Adi Siswanto wrote:
I can understand that this behavior is confusing for a new comer that 
haven't read the tutorial :-). Maybe we should authorize label insertion 
also for inline formulas and automatically switch to displayed formula 
if a label is inserted. Maybe with a warning box that explains what LyX 
did and what the user should do in order to avoid this warning box.




That would be a good idea, if LyX could accommodate new users by
switching to displayed mode and numbered? when inline formula is forced
to have label.



If you change this to a dialog that says the formula must be numbered 
(and therefore in display mode) to bear a label, and give the user the 
option to either switch it to display mode or scrap the label, that 
would make sense to me.  There may be a larger question here, though. 
It seems to me that there are a variety of situations where a menu item 
won't work and is grayed out (short title and optional argument come to 
mind).  Do the developers want to provide explanations/corrections for 
all of them?  I think (based on list traffic) the optional argument one 
is a more common problem than labels in inline math insets.


/Paul



Re: Problem to convert html and open Document

2008-08-01 Thread rgheck

Md. Golam Parvez wrote:



On Fri, Aug 1, 2008 at 5:54 PM, rgheck [EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED] wrote:


Md. Golam Parvez wrote:

Hi
I am not sure this is a write place to ask question. I am
having problem to
convert lyx file to Open Office Document. I am using Lyx 1.5.6
with normal
and full installation on windows xp. When try to convert any
lyx file to
open document, its try to convert then say can not convert.
I am not good
in technical things. Can any body help about this problem or
at least point
me out something. Thanks

 


There are lots of problems converting to OOo on Windows. This is
because LyX uses the tex4ht package to do that, and there are
problems with tex4ht on Windows. But this has been discussed here
a lot, and some people have found workarounds. If you search the
list archives, you'll probably find some ideas.


Yes I have looked at the mailing archive and I could not find 
anything. Can you please forward some of them or at least one.



I can only search it like you. I don't have them handy.

Can you try to run LyX from a terminal? You'll get more information that 
way. There are a lot of different things that could be going wrong.


If you don't know how to run it from a terminal, someone else on Windows 
can probably explain it.


Richard



Re: Natbib without Bibtex Problem.

2008-08-01 Thread rgheck

econkramer wrote:

Dear all,

I am using Natbib (lyx 1.5.4) for my bibliography. I have a problem with how
bibliography appear not in the text citation, but in the reference space at
the end of the paper.

I loaded the packages: natbib, citeref, hyperref,...

Then in the reference space I use the common tool from LYX: first, I set the
key, then the mark, finally my biblio elements. In text the quote appears
fine, using citet and citep, but the reference do not. At the end of each
element does appear the number [1], even though I have selected authoryear
in the biblio settings in document.

  
I don't think author-year citations work with the LyX-internal 
bibliography stuff. The problem is that LyX (better, LaTeX) has no way 
of telling what the author and year are. You need to use BibTeX if you 
want author-year citations.


Richard



Re: Command disabled

2008-08-01 Thread Máté Salát
Thanks, Rich. You are right. I changed the bookmark hotkeys, and the disabled 
message doesn't appeare any more.

By the way, I have another problem around hotkeys. I've created the \bind M-8 
math-delim ( ) hotkey. I realized that after each starting of LyX it doesn't 
consider the first usage of Alt+8, it does only the further ones. It has been 
annoying me for a long time. But now I tried to set up this hotkey using the 
Shortcut Configuration dialog. It made visible the difference between the first 
and the rest presses of Alt+8.

To see it, go to modify the shortcut of some function just after starting LyX. 
When the Shortcut field is active press Alt+8 several times. First Alt+? 
appears but after it always Alt+8 comes. I tried this on several computers 
with WinXP. All have the same problem.

Máté
  - Original Message - 
  From: rgheck 
  To: Máté Salát 
  Cc: Rich Shepard ; lyx-users@lists.lyx.org 
  Sent: Friday, August 01, 2008 6:52 PM
  Subject: Re: Command disabled


  Máté Salát wrote:
   Rich,
  
   Actually I've specified the hotkey Ctrl+8 but I haven't specified the 
others like Ctrl+1, Crtl+2, ...
   But as I said the reaction of LyX even for Ctrl+1 and Ctrl+8 is the same 
Command disabled text.
  
   Anyway, I use WinXP and LyX 1.6.0beta4 (Fri, Jul 11, 2008). If I want to 
specify a new hotkey I use the Shortcut Configuration dialog 
(http://wiki.lyx.org/LyX/NewInLyX16#toc20). The hotkeys made here by the user 
are stored in C:\Documents and Settings\username\Application 
Data\lyx16\bind\user.bind. For example one line in it is: \bind C-8 
math-delim ( )
  
 
  The issue may be that these are already declared, here:

  #
  # bookmarks
  #

  \bind C-~S-1bookmark-goto 1
  \bind C-~S-2bookmark-goto 2
  \bind C-~S-3bookmark-goto 3
  \bind C-~S-4bookmark-goto 4
  \bind C-~S-5bookmark-goto 5
  \bind C-~S-6bookmark-goto 6
  \bind C-~S-7bookmark-goto 7
  \bind C-~S-8bookmark-goto 8
  \bind C-~S-9bookmark-goto 9
  \bind C-M-~S-1bookmark-save 1
  \bind C-M-~S-2bookmark-save 2
  \bind C-M-~S-3bookmark-save 3
  \bind C-M-~S-4bookmark-save 4
  \bind C-M-~S-5bookmark-save 5
  \bind C-M-~S-6bookmark-save 6
  \bind C-M-~S-7bookmark-save 7
  \bind C-M-~S-8bookmark-save 8
  \bind C-M-~S-9bookmark-save 9

  The ~S thing means to ignore shift state. So you're getting the disabled 
  thing because the bookmark doesn't exist.

  If you want, you could redefine these to require shift:

  \bind C-S-1bookmark-goto 1

  and then define C-1 etc as you wish.

  rh



Re: Command disabled

2008-08-01 Thread rgheck

Máté Salát wrote:

By the way, I have another problem around hotkeys. I've created the \bind M-8 
math-delim ( ) hotkey. I realized that after each starting of LyX it doesn't consider 
the first usage of Alt+8, it does only the further ones. It has been annoying me for a long time. 
But now I tried to set up this hotkey using the Shortcut Configuration dialog. It made visible the 
difference between the first and the rest presses of Alt+8.

To see it, go to modify the shortcut of some function just after starting LyX. When the Shortcut 
field is active press Alt+8 several times. First Alt+? appears but after it always 
Alt+8 comes. I tried this on several computers with WinXP. All have the same problem.

  
I'll see if I can get someone to look at this. Can you post it at 
bugzilla, so it doesn't get lost?


rh



Re: French localization of Lyx 1.5.6

2008-08-01 Thread Uwe Stöhr

Franck Pastor schrieb:


Maybe the French localization of Lyx 1.5.6 is not yet available?


It is available. To get French menus, you need to set the enviroment variable LANG to fr_FR. 
(Thats how it works on Windows and Linux, don't know about MAC.)


regards Uwe


Re: Labelling equations

2008-08-01 Thread Christopher Stowasser
I admit, that my last sentence is very confusing. Just forget about it. What
I meant was: If I put the cursor before or behind the math box, i.e in the
normal text, I can use the label function. As soon as I put the cursor in
the math box  the label function is inactive.  Therefore I cannot label the
equation in the math box.  As long as I cannot asign a label to the equation
it makes no sense to look at the pdf I guess.

Greetings,
Christopher

2008/7/31 Bob Lounsbury [EMAIL PROTECTED]

 On Thu, Jul 31, 2008 at 7:02 AM, Christopher Stowasser
 [EMAIL PROTECTED] wrote:
  Hi,
 
  I have a problem with labelling equations. If I want to label an equation
 I
  put the cursor in the pink box surrounding the equation. Then I go to
  insert and to label. The function label is written in grey letters
  now, i.e. inactive. If the cursor is outside the pink box the function
  label works, but I cannot label the equation.
 
  Thanks in advance!
  Christopher
 

 I'm a little confused you may have to explain further. What do you
 mean the label works, but I cannot label the equation? How do you
 want to label it? What you have done should work. When you create a
 pdf of you file the equation should be numbered for instance (1) in
 article class because you entered Insert-Label.

 Cheers,
 /Bob




-- 
Christopher Stowasser
Nørrebrogade 100, 2 TH
2200 København N
Danmark


Natbib without Bibtex Problem.

2008-08-01 Thread econkramer

Dear all,

I am using Natbib (lyx 1.5.4) for my bibliography. I have a problem with how
bibliography appear not in the text citation, but in the reference space at
the end of the paper.

I loaded the packages: natbib, citeref, hyperref,...

Then in the reference space I use the common tool from LYX: first, I set the
key, then the mark, finally my biblio elements. In text the quote appears
fine, using citet and citep, but the reference do not. At the end of each
element does appear the number [1], even though I have selected authoryear
in the biblio settings in document.

Example
References 

Author, 2002, Title, Journal. [1]

Author, Author, 2003, Title, Journal.
[1]

Do you know how to fix this?
-- 
View this message in context: 
http://n2.nabble.com/Natbib-without-Bibtex-Problem.-tp664009p664009.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: problems with class and/or layout?

2008-08-01 Thread Alessandro Magni

well, the problem is solved...
I obtained the original Elsevier class files from the conference website 
http://www.jems08.ie/publications.php (they provided elsart.cls, 
elsart5.cls).

Now that I downloaded them straight from Elsevier I have no more problems...

thank you!

Alessandro

Bob Lounsbury wrote:

On Thu, Jul 31, 2008 at 3:49 AM, alexxx [EMAIL PROTECTED] wrote:
  

Greetings,
I used LyX up to now for basic tasks, but now I have to use the Elsevier
class, and I'm discovering a lot of new problems.
I chosed LyX right to avoid all the complexities of the Tex/LaTeX world, and
I'd be very sorry if to simply switch classes this was not sufficient!

By choosing New-From template-elsart.lyx, even the standard template is
unable to be compiled, giving the errors:

1) undefined control sequence on  \title{Insert your Title Here}
2) Missing number, treated as zero , always on \title
3) improper 'at' size (0.0pt), replaced by 10pt, always on \title
4) Missing = inserted for \ifnum on \author{Author's name}
5) Missing number, treated as zero, always on \author

Yet, I have:
/usr/share/lyx/templates/elsart.lyx and /usr/share/lyx/layouts/elsart.layout
(both by lyx-1.5.5-1.fc8)
and the directory /usr/share/texmf/tex/latex/elsart containing elsart.cls,
elsart5.cls (and yes, after installing it I did texhash on
/usr/share/texmf, followed by reconfigure on lyx)


what's happening? I'm completely lost - and the article deadline is nearer
and nearer!

local system: Linux Fedora fc8

thank you for any help!

alessandro




--
View this message in context: 
http://n2.nabble.com/problems-with-class-and-or-layout--tp662032p662032.html
Sent from the LyX - Users mailing list archive at Nabble.com.






Well, that's strange it works fine for me. So, first things first.
After you installed elsart and did a texhash and reconfigure on LyX.
Did you check to make sure that it was actually recognized by LyX?

Meaning 'article (Elsevier)' is actually listed in
Document-Settings-Document Class or Help-LaTeX Configuration
Section 4.11 says elsart is found.

Cheers,
/Bob

  



--

~~~
/  Dr.Alessandro Magni
\Electromagnetics Division
/INRiM Strada delle Cacce 91, 10135 Torino (ITALIA)
\Email [EMAIL PROTECTED]
/Tel: 0039-011-3919821  Fax: 0039-011-3919834
\URL http://www.inrim.it/~magni
/ Our business in life is not to succeed but to continue to fail 
\ in high spirits.  -- Robert Louis Stevenson

~~~



French localization of Lyx 1.5.6

2008-08-01 Thread Franck Pastor

Hello,

I have just downloaded Lyx 1.5.6 on my Power Mac G5. I use MacOSX  
10.4.11 as system, and its French-speaking localization. Problem: the  
menus and windows of Lyx 1.5.6 are all in English. With Lyx 1.5.5  
they were (rightly) in French. Maybe the French localization of Lyx  
1.5.6 is not yet available?


Thanks,

Franck Pastor
Laboratoire CESAME, unité MEMA
Bâtiment Euler, 4 avenue Georges Lemaître
1348 Louvain-La-Neuve
Belgique
[EMAIL PROTECTED]





Re: Labelling equations

2008-08-01 Thread Bob Lounsbury
On Fri, Aug 1, 2008 at 2:10 AM, Christopher Stowasser
[EMAIL PROTECTED] wrote:
 I admit, that my last sentence is very confusing. Just forget about it. What
 I meant was: If I put the cursor before or behind the math box, i.e in the
 normal text, I can use the label function. As soon as I put the cursor in
 the math box  the label function is inactive.  Therefore I cannot label the
 equation in the math box.  As long as I cannot asign a label to the equation
 it makes no sense to look at the pdf I guess.


It sounds as if you have a problem with the installation of LyX. This
is obviously not normal behavior. I would trying reinstalling LyX. It
may help developer's to know what platform you are using and what
version of LyX. You may also need to file a bug report if reinstalling
doesn't help.

Cheers,
/Bob


Command disabled

2008-08-01 Thread Máté Salát
Hello,

For pressing Ctrl+any number from 1 to 9 LyX says Command disabled on the 
status line, independently of the existence of such a hotkey.

What does this message mean? I wanted to set up some custom hotkeys including 
these.

Cheers, Máté

Re: Command disabled

2008-08-01 Thread Rich Shepard

On Fri, 1 Aug 2008, Máté Salát wrote:


For pressing Ctrl+any number from 1 to 9 LyX says Command disabled on
the status line, independently of the existence of such a hotkey.

What does this message mean? I wanted to set up some custom hotkeys
including these.


Máté,

  Did you specify the hotkey and its long form in your bind file? Mine is in
~/.lyx/bind/mybind, and it's a derivative of the emacs.bind file.

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
http://www.appl-ecosys.com Voice: 503-667-4517  Fax: 503-667-8863

CopyStyle applied?

2008-08-01 Thread Andrés Becerra Sandoval
Hello,

I am very intrigued by the keyword CopyStyle recently discussed and I
would like to create a layout for the class exam
(http://www.ctan.org/tex-archive/macros/latex/contrib/exam/)

This class defines an environment questions that groups all the exam
questions.
Each question is inserted with the command question and is
automatically numbered.
The answers for the question are defined with the environment solution
The following is a minimal example:


\documentclass[12pt]{exam}
\begin{document}
%\printanswers
\begin{questions}

\question
What is the speed of light?

\begin{solution}
30 km/s
\end{solution}

\question
What is the color of the sky?

\begin{solution}
Blue
\end{solution}

\end{questions}
\end{document}


The questions are automatically numbered like in the png attached.

So, I would be very grateful for suggestions of how to handle this
environments (questions,solution) and the command question in the
layout with the CopyStyle keyword!

Thanks,

-- 
 Andrés
attachment: exam_example1.png

Re: Labelling equations

2008-08-01 Thread Paul A. Rubin

Christopher Stowasser wrote:

I admit, that my last sentence is very confusing. Just forget about it. What
I meant was: If I put the cursor before or behind the math box, i.e in the
normal text, I can use the label function. As soon as I put the cursor in
the math box  the label function is inactive.  Therefore I cannot label the
equation in the math box.  As long as I cannot asign a label to the equation
it makes no sense to look at the pdf I guess.



Just to make sure we're all on the same page, you're talking about a 
displayed math inset (on its own line), right?  If you have a math inset 
in the middle of a line of text, you won't be able to insert a label 
(the label item on the insert menu is grayed out), because inserting a 
label there makes no sense.  A label in a math inset refers to the 
equation number, and in-line math insets don't get numbered.


/Paul



Re: CopyStyle applied?

2008-08-01 Thread Abdelrazak Younes

Andrés Becerra Sandoval wrote:

Hello,

I am very intrigued by the keyword CopyStyle recently discussed and I
would like to create a layout for the class exam
(http://www.ctan.org/tex-archive/macros/latex/contrib/exam/)


I don't want to refrain your enthusiasm but, just for your information, 
you can achieve almost the same result using branches in LyX.


[...]

The questions are automatically numbered like in the png attached.

So, I would be very grateful for suggestions of how to handle this
environments (questions,solution) and the command question in the
layout with the CopyStyle keyword!


That'd be interesting to know in any case :-)

Abdel.



Re: Labelling equations

2008-08-01 Thread rgheck

Bob Lounsbury wrote:

On Fri, Aug 1, 2008 at 2:10 AM, Christopher Stowasser
[EMAIL PROTECTED] wrote:
  

I admit, that my last sentence is very confusing. Just forget about it. What
I meant was: If I put the cursor before or behind the math box, i.e in the
normal text, I can use the label function. As soon as I put the cursor in
the math box  the label function is inactive.  Therefore I cannot label the
equation in the math box.  As long as I cannot asign a label to the equation
it makes no sense to look at the pdf I guess.




It sounds as if you have a problem with the installation of LyX. This
is obviously not normal behavior. I would trying reinstalling LyX. It
may help developer's to know what platform you are using and what
version of LyX. You may also need to file a bug report if reinstalling
doesn't help.

  
I see it disabled as well, UNLESS the equation is in display 
mode---i.e., centered by itself on a separate line. It is meant to work 
that way. The reason is that labeled equations are also NUMBERED 
equations, and the mechanism that's used to do the label isn't available 
if the equation hasn't been set off.


Perhaps part of the confusion is that what LyX calls labels don't 
normally appear in the text. They're just targets for cross-references. 
So you can label the equation if you like by putting a label after it. 
But it won't have a number, and the only cross-reference you'll be able 
to do will be by page, really.


rh



Re: 1.5.6 deb

2008-08-01 Thread John McCabe-Dansted
On Mon, Jul 28, 2008 at 8:28 PM, Manveru [EMAIL PROTECTED] wrote:
 This was discussed some time ago that plenty security rules does not allow
 LyX team and other to publish such packages. There is a team in Ubuntu which
 should be responsible for preparing secure reviewed packages for
 Ubuntu/Debian users. Try to join them if you want contribute in pacakge
 preparation.

I am not sure what team you are talking about. Tomasz could manage a
PPA for lyx, see:
   https://help.launchpad.net/PPA?action=showredirect=PPAQuickStart
However this is only for Ubuntu.

I was thinking of building a deb of 1.5.7 upon release for debian
stable etch users, e.g. Eeepc users. Is there a way of doing this
such that I can share this deb with other LyX users?

-- 
John C. McCabe-Dansted
PhD Student
University of Western Australia


Using minitoc in Lyx?

2008-08-01 Thread alvaro

Hello Forum,

this is my first topic here, so I hope I do it correctly :-)

I am trying to use the minitoc package with a lyx document, and I have
failed to do it! It seams, that the minitoc-files remain empty!

Does anyone have an experience with this topic? Could you give me a tip? I
find documents with minitocs look so nice!

Thank you for your support! 

Álvaro
-- 
View this message in context: 
http://n2.nabble.com/Using-minitoc-in-Lyx--tp664533p664533.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: Labelling equations

2008-08-01 Thread Abdelrazak Younes

Paul A. Rubin wrote:

Christopher Stowasser wrote:

I admit, that my last sentence is very confusing. Just forget about
it. What
I meant was: If I put the cursor before or behind the math box, i.e in
the
normal text, I can use the label function. As soon as I put the cursor in
the math box the label function is inactive. Therefore I cannot label the
equation in the math box. As long as I cannot asign a label to the
equation
it makes no sense to look at the pdf I guess.



Just to make sure we're all on the same page, you're talking about a
displayed math inset (on its own line), right? If you have a math inset
in the middle of a line of text, you won't be able to insert a label
(the label item on the insert menu is grayed out), because inserting a
label there makes no sense. A label in a math inset refers to the
equation number, and in-line math insets don't get numbered.


I can understand that this behavior is confusing for a new comer that 
haven't read the tutorial :-). Maybe we should authorize label insertion 
also for inline formulas and automatically switch to displayed formula 
if a label is inserted. Maybe with a warning box that explains what LyX 
did and what the user should do in order to avoid this warning box.


Abdel.



Re: Command disabled

2008-08-01 Thread Máté Salát
Rich,

Actually I've specified the hotkey Ctrl+8 but I haven't specified the others 
like Ctrl+1, Crtl+2, ...
But as I said the reaction of LyX even for Ctrl+1 and Ctrl+8 is the same 
Command disabled text.

Anyway, I use WinXP and LyX 1.6.0beta4 (Fri, Jul 11, 2008). If I want to 
specify a new hotkey I use the Shortcut Configuration dialog 
(http://wiki.lyx.org/LyX/NewInLyX16#toc20). The hotkeys made here by the user 
are stored in C:\Documents and Settings\username\Application 
Data\lyx16\bind\user.bind. For example one line in it is: \bind C-8 
math-delim ( )

What do you mean by the hotkey's long form?

Máté 
  - Original Message - 
  From: Rich Shepard 
  To: lyx-users@lists.lyx.org 
  Sent: Friday, August 01, 2008 5:24 PM
  Subject: Re: Command disabled


  On Fri, 1 Aug 2008, Máté Salát wrote:

   For pressing Ctrl+any number from 1 to 9 LyX says Command disabled on
   the status line, independently of the existence of such a hotkey.
  
   What does this message mean? I wanted to set up some custom hotkeys
   including these.

  Máté,

 Did you specify the hotkey and its long form in your bind file? Mine is in
  ~/.lyx/bind/mybind, and it's a derivative of the emacs.bind file.

  Rich

  -- 
  Richard B. Shepard, Ph.D.   |  IntegrityCredibility
  Applied Ecosystem Services, Inc.|Innovation
  http://www.appl-ecosys.com Voice: 503-667-4517  Fax: 503-667-8863

Re: Interesting thread on Slashdot

2008-08-01 Thread Michael Wojcik

Dotan Cohen wrote:


Is LyX only good for writing books, then?


It's good for whatever works for you.

Steve Litt likes LyX for writing books. As he's noted before on the 
list, he doesn't like it for writing short documents, such as letters. 
When he uses LyX to write a book, he writes the frontmatter in ERT 
(LaTeX). That's one way of using LyX, and it seems to work well for him.


I use LyX for various types of scholarly articles - including some 
genres, like collage, that are fairly unlike the typical article. I 
also use it sometimes for writing short documents such as letters. I 
like LyX for letters because I find it quick and easy and I don't feel 
the need to fine-tune the output; I'm happy to let the LaTeX class I'm 
using do that.


Sometimes when I drive a nail I use a hammer; sometimes I use a 
nailgun; sometimes I use an air-powered palm nailer. I have different 
hammers for different tasks. Sometimes I use a hammer where someone 
else might use a nailgun. You want to use an appropriate tool, but 
that still leaves you with choices, and different users prefer 
different trade-offs.


--
Michael Wojcik
Micro Focus
Rhetoric  Writing, Michigan State University



Re: Labelling equations

2008-08-01 Thread Waluyo Adi Siswanto
 I can understand that this behavior is confusing for a new comer that 
 haven't read the tutorial :-). Maybe we should authorize label insertion 
 also for inline formulas and automatically switch to displayed formula 
 if a label is inserted. Maybe with a warning box that explains what LyX 
 did and what the user should do in order to avoid this warning box.
 
 Abdel.
 

That would be a good idea, if LyX could accommodate new users by
switching to displayed mode and numbered? when inline formula is forced
to have label.

/Adi



Problem to convert html and open Document

2008-08-01 Thread Md. Golam Parvez
Hi
I am not sure this is a write place to ask question. I am having problem to
convert lyx file to Open Office Document. I am using Lyx 1.5.6 with normal
and full installation on windows xp. When try to convert any lyx file to
open document, its try to convert then say can not convert. I am not good
in technical things. Can any body help about this problem or at least point
me out something. Thanks

Golam Parvez


Re: Command disabled

2008-08-01 Thread rgheck

Máté Salát wrote:

Rich,

Actually I've specified the hotkey Ctrl+8 but I haven't specified the others 
like Ctrl+1, Crtl+2, ...
But as I said the reaction of LyX even for Ctrl+1 and Ctrl+8 is the same Command 
disabled text.

Anyway, I use WinXP and LyX 1.6.0beta4 (Fri, Jul 11, 2008). If I want to specify a new hotkey I use the 
Shortcut Configuration dialog (http://wiki.lyx.org/LyX/NewInLyX16#toc20). The hotkeys made here by the user 
are stored in C:\Documents and Settings\username\Application Data\lyx16\bind\user.bind. For 
example one line in it is: \bind C-8 math-delim ( )

  

The issue may be that these are already declared, here:

#
# bookmarks
#

\bind C-~S-1bookmark-goto 1
\bind C-~S-2bookmark-goto 2
\bind C-~S-3bookmark-goto 3
\bind C-~S-4bookmark-goto 4
\bind C-~S-5bookmark-goto 5
\bind C-~S-6bookmark-goto 6
\bind C-~S-7bookmark-goto 7
\bind C-~S-8bookmark-goto 8
\bind C-~S-9bookmark-goto 9
\bind C-M-~S-1bookmark-save 1
\bind C-M-~S-2bookmark-save 2
\bind C-M-~S-3bookmark-save 3
\bind C-M-~S-4bookmark-save 4
\bind C-M-~S-5bookmark-save 5
\bind C-M-~S-6bookmark-save 6
\bind C-M-~S-7bookmark-save 7
\bind C-M-~S-8bookmark-save 8
\bind C-M-~S-9bookmark-save 9

The ~S thing means to ignore shift state. So you're getting the disabled 
thing because the bookmark doesn't exist.


If you want, you could redefine these to require shift:

\bind C-S-1bookmark-goto 1

and then define C-1 etc as you wish.

rh




Re: Problem to convert html and open Document

2008-08-01 Thread rgheck

Md. Golam Parvez wrote:

Hi
I am not sure this is a write place to ask question. I am having problem to
convert lyx file to Open Office Document. I am using Lyx 1.5.6 with normal
and full installation on windows xp. When try to convert any lyx file to
open document, its try to convert then say can not convert. I am not good
in technical things. Can any body help about this problem or at least point
me out something. Thanks

  
There are lots of problems converting to OOo on Windows. This is because 
LyX uses the tex4ht package to do that, and there are problems with 
tex4ht on Windows. But this has been discussed here a lot, and some 
people have found workarounds. If you search the list archives, you'll 
probably find some ideas.


rh



Re: Command disabled

2008-08-01 Thread Rich Shepard

On Fri, 1 Aug 2008, Máté Salát wrote:


Anyway, I use WinXP


  Ah, well. I know nothing about Microsoft products.


What do you mean by the hotkey's long form?


  The command to which you are binding the hotkey.

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
http://www.appl-ecosys.com Voice: 503-667-4517  Fax: 503-667-8863

Re: Labelling equations

2008-08-01 Thread Paul A. Rubin

Waluyo Adi Siswanto wrote:
I can understand that this behavior is confusing for a new comer that 
haven't read the tutorial :-). Maybe we should authorize label insertion 
also for inline formulas and automatically switch to displayed formula 
if a label is inserted. Maybe with a warning box that explains what LyX 
did and what the user should do in order to avoid this warning box.




That would be a good idea, if LyX could accommodate new users by
switching to displayed mode and numbered? when inline formula is forced
to have label.



If you change this to a dialog that says the formula must be numbered 
(and therefore in display mode) to bear a label, and give the user the 
option to either switch it to display mode or scrap the label, that 
would make sense to me.  There may be a larger question here, though. 
It seems to me that there are a variety of situations where a menu item 
won't work and is grayed out (short title and optional argument come to 
mind).  Do the developers want to provide explanations/corrections for 
all of them?  I think (based on list traffic) the optional argument one 
is a more common problem than labels in inline math insets.


/Paul



Re: Problem to convert html and open Document

2008-08-01 Thread rgheck

Md. Golam Parvez wrote:



On Fri, Aug 1, 2008 at 5:54 PM, rgheck [EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED] wrote:


Md. Golam Parvez wrote:

Hi
I am not sure this is a write place to ask question. I am
having problem to
convert lyx file to Open Office Document. I am using Lyx 1.5.6
with normal
and full installation on windows xp. When try to convert any
lyx file to
open document, its try to convert then say can not convert.
I am not good
in technical things. Can any body help about this problem or
at least point
me out something. Thanks

 


There are lots of problems converting to OOo on Windows. This is
because LyX uses the tex4ht package to do that, and there are
problems with tex4ht on Windows. But this has been discussed here
a lot, and some people have found workarounds. If you search the
list archives, you'll probably find some ideas.


Yes I have looked at the mailing archive and I could not find 
anything. Can you please forward some of them or at least one.



I can only search it like you. I don't have them handy.

Can you try to run LyX from a terminal? You'll get more information that 
way. There are a lot of different things that could be going wrong.


If you don't know how to run it from a terminal, someone else on Windows 
can probably explain it.


Richard



Re: Natbib without Bibtex Problem.

2008-08-01 Thread rgheck

econkramer wrote:

Dear all,

I am using Natbib (lyx 1.5.4) for my bibliography. I have a problem with how
bibliography appear not in the text citation, but in the reference space at
the end of the paper.

I loaded the packages: natbib, citeref, hyperref,...

Then in the reference space I use the common tool from LYX: first, I set the
key, then the mark, finally my biblio elements. In text the quote appears
fine, using citet and citep, but the reference do not. At the end of each
element does appear the number [1], even though I have selected authoryear
in the biblio settings in document.

  
I don't think author-year citations work with the LyX-internal 
bibliography stuff. The problem is that LyX (better, LaTeX) has no way 
of telling what the author and year are. You need to use BibTeX if you 
want author-year citations.


Richard



Re: Command disabled

2008-08-01 Thread Máté Salát
Thanks, Rich. You are right. I changed the bookmark hotkeys, and the disabled 
message doesn't appeare any more.

By the way, I have another problem around hotkeys. I've created the \bind M-8 
math-delim ( ) hotkey. I realized that after each starting of LyX it doesn't 
consider the first usage of Alt+8, it does only the further ones. It has been 
annoying me for a long time. But now I tried to set up this hotkey using the 
Shortcut Configuration dialog. It made visible the difference between the first 
and the rest presses of Alt+8.

To see it, go to modify the shortcut of some function just after starting LyX. 
When the Shortcut field is active press Alt+8 several times. First Alt+? 
appears but after it always Alt+8 comes. I tried this on several computers 
with WinXP. All have the same problem.

Máté
  - Original Message - 
  From: rgheck 
  To: Máté Salát 
  Cc: Rich Shepard ; lyx-users@lists.lyx.org 
  Sent: Friday, August 01, 2008 6:52 PM
  Subject: Re: Command disabled


  Máté Salát wrote:
   Rich,
  
   Actually I've specified the hotkey Ctrl+8 but I haven't specified the 
others like Ctrl+1, Crtl+2, ...
   But as I said the reaction of LyX even for Ctrl+1 and Ctrl+8 is the same 
Command disabled text.
  
   Anyway, I use WinXP and LyX 1.6.0beta4 (Fri, Jul 11, 2008). If I want to 
specify a new hotkey I use the Shortcut Configuration dialog 
(http://wiki.lyx.org/LyX/NewInLyX16#toc20). The hotkeys made here by the user 
are stored in C:\Documents and Settings\username\Application 
Data\lyx16\bind\user.bind. For example one line in it is: \bind C-8 
math-delim ( )
  
 
  The issue may be that these are already declared, here:

  #
  # bookmarks
  #

  \bind C-~S-1bookmark-goto 1
  \bind C-~S-2bookmark-goto 2
  \bind C-~S-3bookmark-goto 3
  \bind C-~S-4bookmark-goto 4
  \bind C-~S-5bookmark-goto 5
  \bind C-~S-6bookmark-goto 6
  \bind C-~S-7bookmark-goto 7
  \bind C-~S-8bookmark-goto 8
  \bind C-~S-9bookmark-goto 9
  \bind C-M-~S-1bookmark-save 1
  \bind C-M-~S-2bookmark-save 2
  \bind C-M-~S-3bookmark-save 3
  \bind C-M-~S-4bookmark-save 4
  \bind C-M-~S-5bookmark-save 5
  \bind C-M-~S-6bookmark-save 6
  \bind C-M-~S-7bookmark-save 7
  \bind C-M-~S-8bookmark-save 8
  \bind C-M-~S-9bookmark-save 9

  The ~S thing means to ignore shift state. So you're getting the disabled 
  thing because the bookmark doesn't exist.

  If you want, you could redefine these to require shift:

  \bind C-S-1bookmark-goto 1

  and then define C-1 etc as you wish.

  rh



Re: Command disabled

2008-08-01 Thread rgheck

Máté Salát wrote:

By the way, I have another problem around hotkeys. I've created the \bind M-8 
math-delim ( ) hotkey. I realized that after each starting of LyX it doesn't consider 
the first usage of Alt+8, it does only the further ones. It has been annoying me for a long time. 
But now I tried to set up this hotkey using the Shortcut Configuration dialog. It made visible the 
difference between the first and the rest presses of Alt+8.

To see it, go to modify the shortcut of some function just after starting LyX. When the Shortcut 
field is active press Alt+8 several times. First Alt+? appears but after it always 
Alt+8 comes. I tried this on several computers with WinXP. All have the same problem.

  
I'll see if I can get someone to look at this. Can you post it at 
bugzilla, so it doesn't get lost?


rh



Re: French localization of Lyx 1.5.6

2008-08-01 Thread Uwe Stöhr

Franck Pastor schrieb:


Maybe the French localization of Lyx 1.5.6 is not yet available?


It is available. To get French menus, you need to set the enviroment variable LANG to fr_FR. 
(Thats how it works on Windows and Linux, don't know about MAC.)


regards Uwe


Re: Labelling equations

2008-08-01 Thread Christopher Stowasser
I admit, that my last sentence is very confusing. Just forget about it. What
I meant was: If I put the cursor before or behind the math box, i.e in the
normal text, I can use the label function. As soon as I put the cursor in
the math box  the label function is inactive.  Therefore I cannot label the
equation in the math box.  As long as I cannot asign a label to the equation
it makes no sense to look at the pdf I guess.

Greetings,
Christopher

2008/7/31 Bob Lounsbury <[EMAIL PROTECTED]>

> On Thu, Jul 31, 2008 at 7:02 AM, Christopher Stowasser
> <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > I have a problem with labelling equations. If I want to label an equation
> I
> > put the cursor in the pink box surrounding the equation. Then I go to
> > "insert" and to "label". The function "label" is written in grey letters
> > now, i.e. inactive. If the cursor is outside the pink box the function
> > "label" works, but I cannot label the equation.
> >
> > Thanks in advance!
> > Christopher
> >
>
> I'm a little confused you may have to explain further. What do you
> mean the "label" works, but I cannot label the equation? How do you
> want to label it? What you have done should work. When you create a
> pdf of you file the equation should be numbered for instance (1) in
> article class because you entered Insert->Label.
>
> Cheers,
> /Bob
>



-- 
Christopher Stowasser
Nørrebrogade 100, 2 TH
2200 København N
Danmark


Natbib without Bibtex Problem.

2008-08-01 Thread econkramer

Dear all,

I am using Natbib (lyx 1.5.4) for my bibliography. I have a problem with how
bibliography appear not in the text citation, but in the reference space at
the end of the paper.

I loaded the packages: natbib, citeref, hyperref,...

Then in the reference space I use the common tool from LYX: first, I set the
key, then the mark, finally my biblio elements. In text the quote appears
fine, using citet and citep, but the reference do not. At the end of each
element does appear the number [1], even though I have selected authoryear
in the biblio settings in document.

Example
References 

Author, 2002, Title, Journal. [1]

Author, Author, 2003, Title, Journal.
[1]

Do you know how to fix this?
-- 
View this message in context: 
http://n2.nabble.com/Natbib-without-Bibtex-Problem.-tp664009p664009.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: problems with class and/or layout?

2008-08-01 Thread Alessandro Magni

well, the problem is solved...
I obtained the original Elsevier class files from the conference website 
http://www.jems08.ie/publications.php (they provided elsart.cls, 
elsart5.cls).

Now that I downloaded them straight from Elsevier I have no more problems...

thank you!

Alessandro

Bob Lounsbury wrote:

On Thu, Jul 31, 2008 at 3:49 AM, alexxx <[EMAIL PROTECTED]> wrote:
  

Greetings,
I used LyX up to now for basic tasks, but now I have to use the Elsevier
class, and I'm discovering a lot of new problems.
I chosed LyX right to avoid all the complexities of the Tex/LaTeX world, and
I'd be very sorry if to simply switch classes this was not sufficient!

By choosing New->From template->elsart.lyx, even the standard template is
unable to be compiled, giving the errors:

1) undefined control sequence on " \title{Insert your Title Here}"
2) Missing number, treated as zero , always on \title
3) improper 'at' size (0.0pt), replaced by 10pt, always on \title
4) Missing = inserted for \ifnum on \author{Author's name}
5) Missing number, treated as zero, always on \author

Yet, I have:
/usr/share/lyx/templates/elsart.lyx and /usr/share/lyx/layouts/elsart.layout
(both by lyx-1.5.5-1.fc8)
and the directory /usr/share/texmf/tex/latex/elsart containing elsart.cls,
elsart5.cls (and yes, after installing it I did texhash on
/usr/share/texmf, followed by reconfigure on lyx)


what's happening? I'm completely lost - and the article deadline is nearer
and nearer!

local system: Linux Fedora fc8

thank you for any help!

alessandro




--
View this message in context: 
http://n2.nabble.com/problems-with-class-and-or-layout--tp662032p662032.html
Sent from the LyX - Users mailing list archive at Nabble.com.






Well, that's strange it works fine for me. So, first things first.
After you installed elsart and did a texhash and reconfigure on LyX.
Did you check to make sure that it was actually recognized by LyX?

Meaning 'article (Elsevier)' is actually listed in
Document->Settings->Document Class or Help->LaTeX Configuration
Section 4.11 says elsart is found.

Cheers,
/Bob

  



--

~~~
/  Dr.Alessandro Magni
\Electromagnetics Division
/INRiM Strada delle Cacce 91, 10135 Torino (ITALIA)
\Email [EMAIL PROTECTED]
/Tel: 0039-011-3919821  Fax: 0039-011-3919834
\URL http://www.inrim.it/~magni
/ Our business in life is not to succeed but to continue to fail 
\ in high spirits.  -- Robert Louis Stevenson

~~~



French localization of Lyx 1.5.6

2008-08-01 Thread Franck Pastor

Hello,

I have just downloaded Lyx 1.5.6 on my Power Mac G5. I use MacOSX  
10.4.11 as system, and its French-speaking localization. Problem: the  
menus and windows of Lyx 1.5.6 are all in English. With Lyx 1.5.5  
they were (rightly) in French. Maybe the French localization of Lyx  
1.5.6 is not yet available?


Thanks,

Franck Pastor
Laboratoire CESAME, unité MEMA
Bâtiment Euler, 4 avenue Georges Lemaître
1348 Louvain-La-Neuve
Belgique
[EMAIL PROTECTED]





Re: Labelling equations

2008-08-01 Thread Bob Lounsbury
On Fri, Aug 1, 2008 at 2:10 AM, Christopher Stowasser
<[EMAIL PROTECTED]> wrote:
> I admit, that my last sentence is very confusing. Just forget about it. What
> I meant was: If I put the cursor before or behind the math box, i.e in the
> normal text, I can use the label function. As soon as I put the cursor in
> the math box  the label function is inactive.  Therefore I cannot label the
> equation in the math box.  As long as I cannot asign a label to the equation
> it makes no sense to look at the pdf I guess.


It sounds as if you have a problem with the installation of LyX. This
is obviously not normal behavior. I would trying reinstalling LyX. It
may help developer's to know what platform you are using and what
version of LyX. You may also need to file a bug report if reinstalling
doesn't help.

Cheers,
/Bob


Command disabled

2008-08-01 Thread Máté Salát
Hello,

For pressing Ctrl+ LyX says "Command disabled" on the 
status line, independently of the existence of such a hotkey.

What does this message mean? I wanted to set up some custom hotkeys including 
these.

Cheers, Máté

Re: Command disabled

2008-08-01 Thread Rich Shepard

On Fri, 1 Aug 2008, Máté Salát wrote:


For pressing Ctrl+ LyX says "Command disabled" on
the status line, independently of the existence of such a hotkey.

What does this message mean? I wanted to set up some custom hotkeys
including these.


Máté,

  Did you specify the hotkey and its long form in your bind file? Mine is in
~/.lyx/bind/mybind, and it's a derivative of the emacs.bind file.

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
 Voice: 503-667-4517  Fax: 503-667-8863

CopyStyle applied?

2008-08-01 Thread Andrés Becerra Sandoval
Hello,

I am very intrigued by the keyword CopyStyle recently discussed and I
would like to create a layout for the class exam
(http://www.ctan.org/tex-archive/macros/latex/contrib/exam/)

This class defines an environment "questions" that groups all the exam
questions.
Each question is inserted with the command "question" and is
automatically numbered.
The answers for the question are defined with the environment "solution"
The following is a minimal example:


\documentclass[12pt]{exam}
\begin{document}
%\printanswers
\begin{questions}

\question
What is the speed of light?

\begin{solution}
30 km/s
\end{solution}

\question
What is the color of the sky?

\begin{solution}
Blue
\end{solution}

\end{questions}
\end{document}


The questions are automatically numbered like in the png attached.

So, I would be very grateful for suggestions of how to handle this
environments (questions,solution) and the command question in the
layout with the CopyStyle keyword!

Thanks,

-- 
 Andrés
<>

Re: Labelling equations

2008-08-01 Thread Paul A. Rubin

Christopher Stowasser wrote:

I admit, that my last sentence is very confusing. Just forget about it. What
I meant was: If I put the cursor before or behind the math box, i.e in the
normal text, I can use the label function. As soon as I put the cursor in
the math box  the label function is inactive.  Therefore I cannot label the
equation in the math box.  As long as I cannot asign a label to the equation
it makes no sense to look at the pdf I guess.



Just to make sure we're all on the same page, you're talking about a 
displayed math inset (on its own line), right?  If you have a math inset 
in the middle of a line of text, you won't be able to insert a label 
(the label item on the insert menu is grayed out), because inserting a 
label there makes no sense.  A label in a math inset refers to the 
equation number, and in-line math insets don't get numbered.


/Paul



Re: CopyStyle applied?

2008-08-01 Thread Abdelrazak Younes

Andrés Becerra Sandoval wrote:

Hello,

I am very intrigued by the keyword CopyStyle recently discussed and I
would like to create a layout for the class exam
(http://www.ctan.org/tex-archive/macros/latex/contrib/exam/)


I don't want to refrain your enthusiasm but, just for your information, 
you can achieve almost the same result using branches in LyX.


[...]

The questions are automatically numbered like in the png attached.

So, I would be very grateful for suggestions of how to handle this
environments (questions,solution) and the command question in the
layout with the CopyStyle keyword!


That'd be interesting to know in any case :-)

Abdel.



Re: Labelling equations

2008-08-01 Thread rgheck

Bob Lounsbury wrote:

On Fri, Aug 1, 2008 at 2:10 AM, Christopher Stowasser
<[EMAIL PROTECTED]> wrote:
  

I admit, that my last sentence is very confusing. Just forget about it. What
I meant was: If I put the cursor before or behind the math box, i.e in the
normal text, I can use the label function. As soon as I put the cursor in
the math box  the label function is inactive.  Therefore I cannot label the
equation in the math box.  As long as I cannot asign a label to the equation
it makes no sense to look at the pdf I guess.




It sounds as if you have a problem with the installation of LyX. This
is obviously not normal behavior. I would trying reinstalling LyX. It
may help developer's to know what platform you are using and what
version of LyX. You may also need to file a bug report if reinstalling
doesn't help.

  
I see it disabled as well, UNLESS the equation is in "display" 
mode---i.e., centered by itself on a separate line. It is meant to work 
that way. The reason is that labeled equations are also NUMBERED 
equations, and the mechanism that's used to do the label isn't available 
if the equation hasn't been set off.


Perhaps part of the confusion is that what LyX calls "labels" don't 
normally appear in the text. They're just targets for cross-references. 
So you can label the equation if you like by putting a label after it. 
But it won't have a number, and the only cross-reference you'll be able 
to do will be by page, really.


rh



Re: 1.5.6 deb

2008-08-01 Thread John McCabe-Dansted
On Mon, Jul 28, 2008 at 8:28 PM, Manveru <[EMAIL PROTECTED]> wrote:
> This was discussed some time ago that plenty security rules does not allow
> LyX team and other to publish such packages. There is a team in Ubuntu which
> should be responsible for preparing secure reviewed packages for
> Ubuntu/Debian users. Try to join them if you want contribute in pacakge
> preparation.

I am not sure what team you are talking about. Tomasz could manage a
PPA for lyx, see:
   https://help.launchpad.net/PPA?action=show=PPAQuickStart
However this is only for Ubuntu.

I was thinking of building a deb of 1.5.7 upon release for debian
stable "etch" users, e.g. Eeepc users. Is there a way of doing this
such that I can share this deb with other LyX users?

-- 
John C. McCabe-Dansted
PhD Student
University of Western Australia


Using minitoc in Lyx?

2008-08-01 Thread alvaro

Hello Forum,

this is my first topic here, so I hope I do it correctly :-)

I am trying to use the minitoc package with a lyx document, and I have
failed to do it! It seams, that the minitoc-files remain empty!

Does anyone have an experience with this topic? Could you give me a tip? I
find documents with minitocs look so nice!

Thank you for your support! 

Álvaro
-- 
View this message in context: 
http://n2.nabble.com/Using-minitoc-in-Lyx--tp664533p664533.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: Labelling equations

2008-08-01 Thread Abdelrazak Younes

Paul A. Rubin wrote:

Christopher Stowasser wrote:

I admit, that my last sentence is very confusing. Just forget about
it. What
I meant was: If I put the cursor before or behind the math box, i.e in
the
normal text, I can use the label function. As soon as I put the cursor in
the math box the label function is inactive. Therefore I cannot label the
equation in the math box. As long as I cannot asign a label to the
equation
it makes no sense to look at the pdf I guess.



Just to make sure we're all on the same page, you're talking about a
displayed math inset (on its own line), right? If you have a math inset
in the middle of a line of text, you won't be able to insert a label
(the label item on the insert menu is grayed out), because inserting a
label there makes no sense. A label in a math inset refers to the
equation number, and in-line math insets don't get numbered.


I can understand that this behavior is confusing for a new comer that 
haven't read the tutorial :-). Maybe we should authorize label insertion 
also for inline formulas and automatically switch to displayed formula 
if a label is inserted. Maybe with a warning box that explains what LyX 
did and what the user should do in order to avoid this warning box.


Abdel.



Re: Command disabled

2008-08-01 Thread Máté Salát
Rich,

Actually I've specified the hotkey Ctrl+8 but I haven't specified the others 
like Ctrl+1, Crtl+2, ...
But as I said the reaction of LyX even for Ctrl+1 and Ctrl+8 is the same 
"Command disabled" text.

Anyway, I use WinXP and LyX 1.6.0beta4 (Fri, Jul 11, 2008). If I want to 
specify a new hotkey I use the Shortcut Configuration dialog 
(http://wiki.lyx.org/LyX/NewInLyX16#toc20). The hotkeys made here by the user 
are stored in "C:\Documents and Settings\username\Application 
Data\lyx16\bind\user.bind". For example one line in it is: \bind "C-8" 
"math-delim ( )"

What do you mean by the hotkey's long form?

Máté 
  - Original Message - 
  From: Rich Shepard 
  To: lyx-users@lists.lyx.org 
  Sent: Friday, August 01, 2008 5:24 PM
  Subject: Re: Command disabled


  On Fri, 1 Aug 2008, Máté Salát wrote:

  > For pressing Ctrl+ LyX says "Command disabled" on
  > the status line, independently of the existence of such a hotkey.
  >
  > What does this message mean? I wanted to set up some custom hotkeys
  > including these.

  Máté,

 Did you specify the hotkey and its long form in your bind file? Mine is in
  ~/.lyx/bind/mybind, and it's a derivative of the emacs.bind file.

  Rich

  -- 
  Richard B. Shepard, Ph.D.   |  IntegrityCredibility
  Applied Ecosystem Services, Inc.|Innovation
   Voice: 503-667-4517  Fax: 503-667-8863

Re: Interesting thread on Slashdot

2008-08-01 Thread Michael Wojcik

Dotan Cohen wrote:


Is LyX only good for writing books, then?


It's good for whatever works for you.

Steve Litt likes LyX for writing books. As he's noted before on the 
list, he doesn't like it for writing short documents, such as letters. 
When he uses LyX to write a book, he writes the frontmatter in ERT 
(LaTeX). That's one way of using LyX, and it seems to work well for him.


I use LyX for various types of scholarly articles - including some 
genres, like collage, that are fairly unlike the typical article. I 
also use it sometimes for writing short documents such as letters. I 
like LyX for letters because I find it quick and easy and I don't feel 
the need to fine-tune the output; I'm happy to let the LaTeX class I'm 
using do that.


Sometimes when I drive a nail I use a hammer; sometimes I use a 
nailgun; sometimes I use an air-powered palm nailer. I have different 
hammers for different tasks. Sometimes I use a hammer where someone 
else might use a nailgun. You want to use an appropriate tool, but 
that still leaves you with choices, and different users prefer 
different trade-offs.


--
Michael Wojcik
Micro Focus
Rhetoric & Writing, Michigan State University



Re: Labelling equations

2008-08-01 Thread Waluyo Adi Siswanto
> I can understand that this behavior is confusing for a new comer that 
> haven't read the tutorial :-). Maybe we should authorize label insertion 
> also for inline formulas and automatically switch to displayed formula 
> if a label is inserted. Maybe with a warning box that explains what LyX 
> did and what the user should do in order to avoid this warning box.
> 
> Abdel.
> 

That would be a good idea, if LyX could accommodate new users by
switching to displayed mode and numbered? when inline formula is forced
to have label.

/Adi



Problem to convert html and open Document

2008-08-01 Thread Md. Golam Parvez
Hi
I am not sure this is a write place to ask question. I am having problem to
convert lyx file to Open Office Document. I am using Lyx 1.5.6 with normal
and full installation on windows xp. When try to convert any lyx file to
open document, its try to convert then say "can not convert". I am not good
in technical things. Can any body help about this problem or at least point
me out something. Thanks

Golam Parvez


Re: Command disabled

2008-08-01 Thread rgheck

Máté Salát wrote:

Rich,

Actually I've specified the hotkey Ctrl+8 but I haven't specified the others 
like Ctrl+1, Crtl+2, ...
But as I said the reaction of LyX even for Ctrl+1 and Ctrl+8 is the same "Command 
disabled" text.

Anyway, I use WinXP and LyX 1.6.0beta4 (Fri, Jul 11, 2008). If I want to specify a new hotkey I use the 
Shortcut Configuration dialog (http://wiki.lyx.org/LyX/NewInLyX16#toc20). The hotkeys made here by the user 
are stored in "C:\Documents and Settings\username\Application Data\lyx16\bind\user.bind". For 
example one line in it is: \bind "C-8" "math-delim ( )"

  

The issue may be that these are already declared, here:

#
# bookmarks
#

\bind "C-~S-1""bookmark-goto 1"
\bind "C-~S-2""bookmark-goto 2"
\bind "C-~S-3""bookmark-goto 3"
\bind "C-~S-4""bookmark-goto 4"
\bind "C-~S-5""bookmark-goto 5"
\bind "C-~S-6""bookmark-goto 6"
\bind "C-~S-7""bookmark-goto 7"
\bind "C-~S-8""bookmark-goto 8"
\bind "C-~S-9""bookmark-goto 9"
\bind "C-M-~S-1""bookmark-save 1"
\bind "C-M-~S-2""bookmark-save 2"
\bind "C-M-~S-3""bookmark-save 3"
\bind "C-M-~S-4""bookmark-save 4"
\bind "C-M-~S-5""bookmark-save 5"
\bind "C-M-~S-6""bookmark-save 6"
\bind "C-M-~S-7""bookmark-save 7"
\bind "C-M-~S-8""bookmark-save 8"
\bind "C-M-~S-9""bookmark-save 9"

The ~S thing means to ignore shift state. So you're getting the disabled 
thing because the bookmark doesn't exist.


If you want, you could redefine these to require shift:

\bind "C-S-1""bookmark-goto 1"

and then define C-1 etc as you wish.

rh




Re: Problem to convert html and open Document

2008-08-01 Thread rgheck

Md. Golam Parvez wrote:

Hi
I am not sure this is a write place to ask question. I am having problem to
convert lyx file to Open Office Document. I am using Lyx 1.5.6 with normal
and full installation on windows xp. When try to convert any lyx file to
open document, its try to convert then say "can not convert". I am not good
in technical things. Can any body help about this problem or at least point
me out something. Thanks

  
There are lots of problems converting to OOo on Windows. This is because 
LyX uses the tex4ht package to do that, and there are problems with 
tex4ht on Windows. But this has been discussed here a lot, and some 
people have found workarounds. If you search the list archives, you'll 
probably find some ideas.


rh



Re: Command disabled

2008-08-01 Thread Rich Shepard

On Fri, 1 Aug 2008, Máté Salát wrote:


Anyway, I use WinXP


  Ah, well. I know nothing about Microsoft products.


What do you mean by the hotkey's long form?


  The command to which you are binding the hotkey.

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
 Voice: 503-667-4517  Fax: 503-667-8863

Re: Labelling equations

2008-08-01 Thread Paul A. Rubin

Waluyo Adi Siswanto wrote:
I can understand that this behavior is confusing for a new comer that 
haven't read the tutorial :-). Maybe we should authorize label insertion 
also for inline formulas and automatically switch to displayed formula 
if a label is inserted. Maybe with a warning box that explains what LyX 
did and what the user should do in order to avoid this warning box.




That would be a good idea, if LyX could accommodate new users by
switching to displayed mode and numbered? when inline formula is forced
to have label.



If you change this to a dialog that says the formula must be numbered 
(and therefore in display mode) to bear a label, and give the user the 
option to either switch it to display mode or scrap the label, that 
would make sense to me.  There may be a larger question here, though. 
It seems to me that there are a variety of situations where a menu item 
won't work and is grayed out (short title and optional argument come to 
mind).  Do the developers want to provide explanations/corrections for 
all of them?  I think (based on list traffic) the optional argument one 
is a more common problem than labels in inline math insets.


/Paul



Re: Problem to convert html and open Document

2008-08-01 Thread rgheck

Md. Golam Parvez wrote:



On Fri, Aug 1, 2008 at 5:54 PM, rgheck <[EMAIL PROTECTED] 
> wrote:


Md. Golam Parvez wrote:

Hi
I am not sure this is a write place to ask question. I am
having problem to
convert lyx file to Open Office Document. I am using Lyx 1.5.6
with normal
and full installation on windows xp. When try to convert any
lyx file to
open document, its try to convert then say "can not convert".
I am not good
in technical things. Can any body help about this problem or
at least point
me out something. Thanks

 


There are lots of problems converting to OOo on Windows. This is
because LyX uses the tex4ht package to do that, and there are
problems with tex4ht on Windows. But this has been discussed here
a lot, and some people have found workarounds. If you search the
list archives, you'll probably find some ideas.


Yes I have looked at the mailing archive and I could not find 
anything. Can you please forward some of them or at least one.



I can only search it like you. I don't have them handy.

Can you try to run LyX from a terminal? You'll get more information that 
way. There are a lot of different things that could be going wrong.


If you don't know how to run it from a terminal, someone else on Windows 
can probably explain it.


Richard



Re: Natbib without Bibtex Problem.

2008-08-01 Thread rgheck

econkramer wrote:

Dear all,

I am using Natbib (lyx 1.5.4) for my bibliography. I have a problem with how
bibliography appear not in the text citation, but in the reference space at
the end of the paper.

I loaded the packages: natbib, citeref, hyperref,...

Then in the reference space I use the common tool from LYX: first, I set the
key, then the mark, finally my biblio elements. In text the quote appears
fine, using citet and citep, but the reference do not. At the end of each
element does appear the number [1], even though I have selected authoryear
in the biblio settings in document.

  
I don't think author-year citations work with the LyX-internal 
bibliography stuff. The problem is that LyX (better, LaTeX) has no way 
of telling what the author and year are. You need to use BibTeX if you 
want author-year citations.


Richard



Re: Command disabled

2008-08-01 Thread Máté Salát
Thanks, Rich. You are right. I changed the bookmark hotkeys, and the disabled 
message doesn't appeare any more.

By the way, I have another problem around hotkeys. I've created the \bind "M-8" 
"math-delim ( )" hotkey. I realized that after each starting of LyX it doesn't 
consider the first usage of Alt+8, it does only the further ones. It has been 
annoying me for a long time. But now I tried to set up this hotkey using the 
Shortcut Configuration dialog. It made visible the difference between the first 
and the rest presses of Alt+8.

To see it, go to modify the shortcut of some function just after starting LyX. 
When the Shortcut field is active press Alt+8 several times. First "Alt+?" 
appears but after it always "Alt+8" comes. I tried this on several computers 
with WinXP. All have the same problem.

Máté
  - Original Message - 
  From: rgheck 
  To: Máté Salát 
  Cc: Rich Shepard ; lyx-users@lists.lyx.org 
  Sent: Friday, August 01, 2008 6:52 PM
  Subject: Re: Command disabled


  Máté Salát wrote:
  > Rich,
  >
  > Actually I've specified the hotkey Ctrl+8 but I haven't specified the 
others like Ctrl+1, Crtl+2, ...
  > But as I said the reaction of LyX even for Ctrl+1 and Ctrl+8 is the same 
"Command disabled" text.
  >
  > Anyway, I use WinXP and LyX 1.6.0beta4 (Fri, Jul 11, 2008). If I want to 
specify a new hotkey I use the Shortcut Configuration dialog 
(http://wiki.lyx.org/LyX/NewInLyX16#toc20). The hotkeys made here by the user 
are stored in "C:\Documents and Settings\username\Application 
Data\lyx16\bind\user.bind". For example one line in it is: \bind "C-8" 
"math-delim ( )"
  >
  >   
  The issue may be that these are already declared, here:

  #
  # bookmarks
  #

  \bind "C-~S-1""bookmark-goto 1"
  \bind "C-~S-2""bookmark-goto 2"
  \bind "C-~S-3""bookmark-goto 3"
  \bind "C-~S-4""bookmark-goto 4"
  \bind "C-~S-5""bookmark-goto 5"
  \bind "C-~S-6""bookmark-goto 6"
  \bind "C-~S-7""bookmark-goto 7"
  \bind "C-~S-8""bookmark-goto 8"
  \bind "C-~S-9""bookmark-goto 9"
  \bind "C-M-~S-1""bookmark-save 1"
  \bind "C-M-~S-2""bookmark-save 2"
  \bind "C-M-~S-3""bookmark-save 3"
  \bind "C-M-~S-4""bookmark-save 4"
  \bind "C-M-~S-5""bookmark-save 5"
  \bind "C-M-~S-6""bookmark-save 6"
  \bind "C-M-~S-7""bookmark-save 7"
  \bind "C-M-~S-8""bookmark-save 8"
  \bind "C-M-~S-9""bookmark-save 9"

  The ~S thing means to ignore shift state. So you're getting the disabled 
  thing because the bookmark doesn't exist.

  If you want, you could redefine these to require shift:

  \bind "C-S-1""bookmark-goto 1"

  and then define C-1 etc as you wish.

  rh



Re: Command disabled

2008-08-01 Thread rgheck

Máté Salát wrote:

By the way, I have another problem around hotkeys. I've created the \bind "M-8" 
"math-delim ( )" hotkey. I realized that after each starting of LyX it doesn't consider 
the first usage of Alt+8, it does only the further ones. It has been annoying me for a long time. 
But now I tried to set up this hotkey using the Shortcut Configuration dialog. It made visible the 
difference between the first and the rest presses of Alt+8.

To see it, go to modify the shortcut of some function just after starting LyX. When the Shortcut 
field is active press Alt+8 several times. First "Alt+?" appears but after it always 
"Alt+8" comes. I tried this on several computers with WinXP. All have the same problem.

  
I'll see if I can get someone to look at this. Can you post it at 
bugzilla, so it doesn't get lost?


rh



Re: French localization of Lyx 1.5.6

2008-08-01 Thread Uwe Stöhr

Franck Pastor schrieb:


Maybe the French localization of Lyx 1.5.6 is not yet available?


It is available. To get French menus, you need to set the enviroment variable "LANG" to "fr_FR". 
(Thats how it works on Windows and Linux, don't know about MAC.)


regards Uwe