Re: text selection using mouse

2009-01-16 Thread Jürgen Spitzmüller
Iain Mac Donald wrote:
  If it has middle-mouse-button support, could you try if switching
  that off helps?

 Thanks Jürgen you got it!

 Clipman and LyX are not playing nice together. Clipman supports
 grabbing selections. If I select the Clipman option Ignore selections
 then the mouse selection of text in LyX works fine. The downside is
 that enabling selections is exactly the reason I use Clipman as it is
 an easy way to copy stuff between xterms and GUI apps.

 Do you know the background/issue involved here?

Not really. All we know is that these tools and LyX bump into one another. It 
might be related to the way LyX communicates with the X Clipboard. 
Interestingly, KDE's klipper, with the same functionality, does not show the 
problem, so it is probably both related to the specific way LyX deals with the 
clipboard as well as with the way Clipman/glipper query the selection.

See
http://bugzilla.lyx.org/show_bug.cgi?id=5675

Jürgen


Re: Diff two versions of document

2009-01-16 Thread Wolfgang Keller
  The other way around: Can't we use this to visualize our track
  changes in the output document ?
 
  Wouldn't you want the review/accept/reject functionality? 

 I think the suggestion was to use these macros in our output, not to 
 change anything that happens inside LyX.

Nope.

That would be another totally useless feature. Just like the change
tracking feature currently available, but unfortunately totally useless
for Real Work (tm), as it is just a braindead clone of the
functionality provided by MS Word  Co..

What is needed for collaborative document authoring in the Real World
(such as companies) is:

- a built-in subversion client (already available)
- diffing of two versions from the subverion repository with output
_within_ _LyX_ using the change tracking display style, with
per-modification accept/reject functionality.

I've been authoring technical documents for twenty years now and
that this functionality is an absolute must für efficient
collaborative document authoring was perfectly obvious to me from the
very first day when I saw what revision control systems are and how
they are used by software developers.

Sincerely,

Wolfgang



RE: Re: Diff two versions of document

2009-01-16 Thread Vincent van Ravesteijn - TNW
 
 The other way around: Can't we use this to visualize our track 
 changes in the output document ?

 Wouldn't you want the review/accept/reject functionality? 
   
 I think the suggestion was to use these macros in our output, not to 
 change anything that happens inside LyX.

Nope.


As it was my suggestion (as a possible solution of a problem I was trying to 
fix), I would say 'Yes'.

That would be another totally useless feature. Just like the 
change tracking feature currently available, but unfortunately 
totally useless for Real Work (tm), as it is just a braindead clone 
of the functionality provided by MS Word  Co..

What is needed for collaborative document authoring in the 
Real World (such as companies) is:

- a built-in subversion client (already available)
- diffing of two versions from the subverion repository with 
output _within_ _LyX_ using the change tracking display style, 
with per-modification accept/reject functionality.

I've been authoring technical documents for twenty years now 
and that this functionality is an absolute must für efficient 
collaborative document authoring was perfectly obvious to me from
the very first day when I saw what revision control systems are 
and how they are used by software developers.

So to sum up, you mean:
- we don't do real work (or do I miss the joke),
- we don't live in the real world (or do I miss the joke),
- we are that blind that we don't see what is obvious,
- everything we implemented for this feature so far is useless, and
- we are braindead.

Not really the best way to introduce a feature request.

Do you mean that Real People in the Real World doing Real Work all use 
versioning systems ?


Sincerely,

Wolfgang

Vincent



Re: Windows Version

2009-01-16 Thread Christian Ridderström

On Fri, 16 Jan 2009, Afief Halumi wrote:


I tried accessing it for a week and it didn't work, and right now it
doesn't work either... Certainly worth looking into.



ftp://ftp.lyx.org/pub/lyx/bin/1.6.1/


Works for me, I just tested it. What's the error message?

/Christian

--
Christian Ridderström, +46-8-768 39 44http://www.md.kth.se/~chr

Re: Diff two versions of document

2009-01-16 Thread A B
 What is needed for collaborative document authoring in the Real World
 (such as companies) is:

You are talking about one part of the world...

 - a built-in subversion client (already available)
 - diffing of two versions from the subverion repository with output
 _within_ _LyX_ using the change tracking display style, with
 per-modification accept/reject functionality.
Yes, checking in and out from svn or even from other forms of version
controll (sql database, wiki, emacs or what ever) and getting the
difference in the document = really great

But manually choosing a document to diff against = really great
feature that is also needed!

 I've been authoring technical documents for twenty years now and
 that this functionality is an absolute must für efficient
 collaborative document authoring was perfectly obvious to me from the
 very first day when I saw what revision control systems are and how
 they are used by software developers.

I hear that you have not written buissnes contracts, commenting
student papers, etc. Not all writers are friends and sometimes you
really need to have only one copy that is sent back and forth.


Re: Unable to set shortcuts in LyX 1.6.1

2009-01-16 Thread rgheck

Grant Jacobs wrote:
I am trying understand how to set a keyboard shortcut to font-ita in 
LyX 1.6.1, but it just doesn't seem to work for me.


I go to Preferences  Fonts, Layouts and Textclasses then select 
'font-ital', then press 'Modify'. I enter my shortcut (alt-cmd-I), 
then press 'OK'.


LyX then showed that I how had *two* entries for font-ital, the 
original with no shortcut and a new one below it with my shortcut. 
(This is a bit confusing, as I asked it to *Modify* the entry, not 
create a new duplicate.) I note there is a feature whereby a user 
can 'Remove' actions with shortcuts assigned to them, but not those 
without shortcuts assigned to them. None of the actions with shortcuts 
assigned to them have a duplicate with no shortcut, only the new one 
I have added/modified.


This sounds like a display bug. Basically, LyX does internally create a 
duplicate, as modify = remove + create new. And the remove one has to be 
remembered.


In any event, now back in my text, I select some text and press 
alt-cmd-I and nothing happens.


I have tried quite a number of different shortcuts and the outcomes is 
always the same: no action is taken on applying the shortcut to 
selected text.


I would appreciate it if anyone can advise me what the problem is.

This works for me. Do all the combinations you tried involve cmd? Is 
your window manager interfering?


rh



Re: text selection using mouse

2009-01-16 Thread Iain Mac Donald
On Fri, 16 Jan 2009 11:54:21 +0100
Jürgen Spitzmüller juer...@spitzmueller.org wrote:

 See
 http://bugzilla.lyx.org/show_bug.cgi?id=5675

Searching bug systems with the right keywords is like choosing the
fastest moving queue at the supermarket. Sometimes I get it right but
most of the time I get it wrong. I didn't see that bug report!

I have submitted a bug report to XFCE

http://bugzilla.xfce.org/show_bug.cgi?id=4815

Regards,
Iain. 


Re: Diff two versions of document

2009-01-16 Thread Jean-Marc Lasgouttes
Wolfgang Keller felip...@gmx.net writes:
 That would be another totally useless feature. Just like the change
 tracking feature currently available, but unfortunately totally useless
 for Real Work (tm), as it is just a braindead clone of the
 functionality provided by MS Word  Co..

 What is needed for collaborative document authoring in the Real World
 (such as companies) is:
[...]

Businesses that think this feature is a must are welcome to donate here
  http://www.lyx.org/Donate
for this particular entry.

JMarc


Re: Windows Version

2009-01-16 Thread Konrad Hofbauer

Afief Halumi wrote:

Hello,

A lot of my friends have been asking me to install Lyx for them,
unfortunately most of them use Windows and not Linux/BSD so I tried to
download the Windows installer, but it seems that the ftp server is
permanently down.


Firewall problem?

In the download-link, replace ftp://... by http://... and open in your 
browser.


/Konrad



Re: Windows Version

2009-01-16 Thread Konrad Hofbauer

Christian Ridderström wrote:

I tried accessing it for a week and it didn't work, and right now it
doesn't work either... Certainly worth looking into.



ftp://ftp.lyx.org/pub/lyx/bin/1.6.1/


Works for me, I just tested it. What's the error message?


It is usually a firewall issue. I have been myself for a while behind a 
(big serious enterprise) firewall, where ftp works with some servers, 
and not with others.


For this reason, if anyhow possible, we should try to offer (at least 
additional) http-download links. Actually, just found out, this is 
already activated on ftp.lyx.org:

ftp://ftp.lyx.org/pub/lyx/bin/1.6.1/
is just the same as
http://ftp.lyx.org/pub/lyx/bin/1.6.1/
just that the later is a less problematic http-download.

At least for the binaries, I would suggest to consider changing the 
links on the website. What do you think?


/Konrad



Re: Diff two versions of document

2009-01-16 Thread Pavel Sanda
A B wrote:
  What is needed for collaborative document authoring in the Real World
  (such as companies) is:
 
 You are talking about one part of the world...
 
  - a built-in subversion client (already available)
  - diffing of two versions from the subverion repository with output
  _within_ _LyX_ using the change tracking display style, with
  per-modification accept/reject functionality.
 Yes, checking in and out from svn or even from other forms of version
 controll (sql database, wiki, emacs or what ever) and getting the
 difference in the document = really great

if we have resolved the import of latex2diff integrating it with the
svn history shouldn't be so hard. integrating it with CT would be harder
task i think.

pavel


Lyx Installation problem on Mac OS X

2009-01-16 Thread John Schulman
I try to install Lyx 1.6.1 from the Mac OS X binary, and when I run
the Lyx-installer I get the following error:
AppleScript Error
sh: python: command not found

I definitely have python installed. My default version is from the
enthought distribution (not the original Leopard installation)
'which python' typed into bash returns
/Library/Frameworks/Python.framework/Versions/Current/bin/python


Thanks,
John


change font used in lyx-code environment ??

2009-01-16 Thread Paul Johnson
In Ubuntu 8.10 I'm running Lyx 1.6.1.  In Noweb documents, I notice
the problem that the typewriter font does not show double quotes.
They show as black boxes, as you can see in some example output.

http://pj.freefaculty.org/latex/foo.pdf

Until I find the problem in the weaving process that causes this, I
want to just eliminate all use of the typewriter font--whenever a lyx
environment calls for typewriter, I'd substitute sans serif or
something.  (Actually, I only need to replace `` and '' from the
typewriter family, but don't know if that is simpler.).

I've learned that I CAN hack the font setting in the lyxcode in the LyX file

lyxmacros.inc

to change the ttfamily to sffamily, but I don't like that answer so
much because it changes lyxcode for all classes.

Is there a way I can, in the document itself, tell the Lyx-Code
environment not to use typwriter font?

I guess I need to change all environments that might invoke the typewriter font.


-- 
Paul E. Johnson
Professor, Political Science
1541 Lilac Lane, Room 504
University of Kansas


About reimporting from latex

2009-01-16 Thread Fabio Stumbo


Hi all,

I know that exporting to latex and then reimporting to lyx is not that 
smooth, but I made a simple try which surpise me:


- create a new lyx file, 
- in Document - Settings - Document class choose article (AMS)

- insert a theorem (even just a word after it, no math nor images)
- export it to latex

This way you get a very simple and clean tex file. Now, in lyx create a 
new file and import the saved tex file: instead of seeing

Theorem 1. etc.
you see
the ert
\begin{thm} etc. \end{thm}

and it doesn't even compile!

Am I missing something? If not, how is it possible that the conversion 
fails even on a such simple and basic example?


TIA

Fabio



Re: About reimporting from latex

2009-01-16 Thread rgheck

Fabio Stumbo wrote:


Hi all,

I know that exporting to latex and then reimporting to lyx is not that 
smooth, but I made a simple try which surpise me:


- create a new lyx file, - in Document - Settings - Document class 
choose article (AMS)

- insert a theorem (even just a word after it, no math nor images)
- export it to latex

This way you get a very simple and clean tex file. Now, in lyx create 
a new file and import the saved tex file: instead of seeing

Theorem 1. etc.
you see
the ert
\begin{thm} etc. \end{thm}

and it doesn't even compile!

Am I missing something? If not, how is it possible that the conversion 
fails even on a such simple and basic example?


Hmm. I think this is a consequence of modularization of the AMS files. 
You did this in 1.6.x, yes?


We'll have to fix this, if so.

rh



Float Tables in Lyx 1.6.1 for Mac?

2009-01-16 Thread Laura
I am trying to use the Float table available in Lyx, 
but when I insert a table, I do not get a dialog box that 
allows me to pick no of rows and columns. 
I plan to use a lot of tables in my dissertation, and although I 
know how to code them in the Tex language,
I was hoping to use the easier to visualize approach 
described in the Lyx User Guides. 

I also cannot right click on the tables to try
 and change the number of rows and columns. 

Any suggestions?

Thanks,
Laura



Re: Numbering appendices

2009-01-16 Thread Ehud Kaplan
I did not notice the Start Appendix  Here command.  However, it does not 
seem to number the appendices correctly.   I have four.
appendices.  When I use the Start Appendix Here followed by Section, I 
get an A (after which I write Appendix and the material that 
constitutes Appendix A).  Now I want to have another Appendix (numbered 
sequentially), but I get a  section number, continuous from the  numbers 
of the sections of the article itself.  Is this a bug or a missing feature?
I know I can do it all by using labels, but I thought there will be some 
better way of doing it.  As it is, I do not see what the Start Appendix 
Here does for me.



Bob Lounsbury wrote:

On Thu, Jan 15, 2009 at 12:47 PM, Ehud Kaplan ehud.kap...@mssm.edu wrote:
  

How do I number appendices?  Lyx numbers them as SECTIONS, and numbers
APPENDIX 1 as Section N+!, where N is the number of the last section (before
the appendices start).
I would like to be able to refer to the appendices by their numbers in the
body of the article (as in: In Appendix 3 we give...)

Thanks
EK




I'm a little confused. To start the appendix you Document-Start
Appendix Here and then insert a section which will be numbered 'A
Section' not '3 Section'.

/Bob
  


Re: Float Tables in Lyx 1.6.1 for Mac?

2009-01-16 Thread James C. Sutherland


On Jan 16, 2009, at 12:15 PM, Laura wrote:


I am trying to use the Float table available in Lyx,
but when I insert a table, I do not get a dialog box that
allows me to pick no of rows and columns.
I plan to use a lot of tables in my dissertation, and although I
know how to code them in the Tex language,
I was hoping to use the easier to visualize approach
described in the Lyx User Guides.

I also cannot right click on the tables to try
and change the number of rows and columns.

Any suggestions?


Yes.  Read through the user manuals.
Inserting the table float is different than inserting the table itself.


Re: Diff two versions of document

2009-01-16 Thread Sophie (itsme213)

Wolfgang Keller felip...@gmx.net wrote in message 
news:20090116132846.c06ebf80.felip...@gmx.net...
That would be another totally useless feature. Just like the change
tracking feature currently available, but unfortunately totally useless
for Real Work (tm), as it is just a braindead clone of the
functionality provided by MS Word  Co..

Rather strong wording ... Change tracking is useful, although it does not 
substitute for diff-like document comparison.

So some form of compare 2 documents (integrating latex2diff?) would be 
great. Where those 2 documents came from (svn history, file system, 
somewhere else) should be a separate issue.






Numbered equations placement

2009-01-16 Thread Ehud Kaplan
I have a numbered equation that Lyx insists on indenting, and as a 
result it spills over to the next line.  There is PLENTY   of white 
space on the left of the equation to accommodate the full equation.  Is 
there a way to force it to do the right thing and keep the entire 
equation on one line?




Re: Numbered equations placement

2009-01-16 Thread rgheck

Ehud Kaplan wrote:
I have a numbered equation that Lyx insists on indenting, and as a 
result it spills over to the next line.  There is PLENTY   of white 
space on the left of the equation to accommodate the full equation.  
Is there a way to force it to do the right thing and keep the entire 
equation on one line?



Can you post an example file with just this equation?

Note that it's LaTeX that decides where to split things, assuming you 
are talking about output.


rh



formatting numbered equations

2009-01-16 Thread Ehud Kaplan

/When all else fails, read the manual--/
So I did, and found how to prevent Lyx from centering numbered equations:
use the fleqn option in the Document Class under Settings.
This left-justifies the equations, which is not really what I wanted, 
but it prevents the breaking up of the equation that bothered me before.


EK


Use of \definecolor in the preamble

2009-01-16 Thread Nikos Alexandris
Hi list.

(Using LyX 1.6 under Ubuntu II 64-bit).

I want to color some cells in a table. For this I am trying to define
the following in the preamble:
\usepackage{colortbl}

\definecolor{'111'}{rgb}{0.9,0,0.3}
\definecolor{112}{rgb}{1,0,0}
\definecolor{121}{rgb}{0.8,0.3,0.9}
\definecolor{122}{rgb}{0.8,0,0}
\definecolor{123}{rgb}{0.9,0.8,0.8}
\definecolor{124}{rgb}{0.9,0.8,0.9}
# [...] a longer list actually of various red,green,blue combinations


Then, I use ERTs in a table's cells like
\cellcolor{111}

The table's column in which I use the ERT's include only numbers (in
fact, the numbers correspond exactly to the number I use in the preamble
with \definecolor. The next column includes greek labels (=simply
greek text).

When I try to pre-view the document I read:

Error:
LaTeX Error: Undefined color `{111}'.

Description:
\cellcolor{{111}}111 
\textgreek{Suneq\char160c} \textgreek{...

Could someone give me a hint to the right direction?
Kind regards, Nikos



Re: Use of \definecolor in the preamble

2009-01-16 Thread Nikos Alexandris
On Fri, 2009-01-16 at 22:22 +0100, Nikos Alexandris wrote:
 Hi list.
 
 (Using LyX 1.6 under Ubuntu II 64-bit).
 
 I want to color some cells in a table. For this I am trying to define
 the following in the preamble:
 \usepackage{colortbl}


 \definecolor{'111'}{rgb}{0.9,0,0.3}
# Ooops, that ^^ is {111} and not {'111'}. Sorry :-)

 \definecolor{112}{rgb}{1,0,0}
 \definecolor{121}{rgb}{0.8,0.3,0.9}
 \definecolor{122}{rgb}{0.8,0,0}
 \definecolor{123}{rgb}{0.9,0.8,0.8}
 \definecolor{124}{rgb}{0.9,0.8,0.9}
 # [...] a longer list actually of various red,green,blue combinations
 
 
 Then, I use ERTs in a table's cells like
 \cellcolor{111}
 
 The table's column in which I use the ERT's include only numbers (in
 fact, the numbers correspond exactly to the number I use in the preamble
 with \definecolor. The next column includes greek labels (=simply
 greek text).
 
 When I try to pre-view the document I read:
 
 Error:
 LaTeX Error: Undefined color `{111}'.
 
 Description:
 \cellcolor{{111}}111 
 \textgreek{Suneq\char160c} \textgreek{...
 
 Could someone give me a hint to the right direction?
 Kind regards, Nikos
 




Re: About reimporting from latex

2009-01-16 Thread Fabio Stumbo

Hi all,

I know that exporting to latex and then reimporting to lyx is not that 
smooth, but I made a simple try which surpise me:


- create a new lyx file, - in Document - Settings - Document class choose 
article (AMS)

- insert a theorem (even just a word after it, no math nor images)
- export it to latex

This way you get a very simple and clean tex file. Now, in lyx create a new 
file and import the saved tex file: instead of seeing

Theorem 1. etc.
you see
the ert
\begin{thm} etc. \end{thm}

and it doesn't even compile!

Am I missing something? If not, how is it possible that the conversion 
fails even on a such simple and basic example?


Hmm. I think this is a consequence of modularization of the AMS files. You 
did this in 1.6.x, yes?


Sorry, I forgot to give my settings:
lyx 1.6.1 installed in ubuntu 8.10 via backport repository, with no 
customization and a freshly created default ~/.lyx



We'll have to fix this, if so.


If you do, please let me know what I should do while waiting for the fix 
in the repository.


Thanks

Fabio


Re: Numbering appendices

2009-01-16 Thread Erez Yerushalmi
Hi Ehud,

After doing start appendix here, like you did
You continue using the Section, subsection, subsubsection system, but now
you should start getting something like
A
A.1
A.1.1
B
B.1

and so on.

Erez


On Fri, Jan 16, 2009 at 7:36 PM, Ehud Kaplan ehud.kap...@mssm.edu wrote:

 I did not notice the Start Appendix  Here command.  However, it does not
 seem to number the appendices correctly.   I have four.
 appendices.  When I use the Start Appendix Here followed by Section, I get
 an A (after which I write Appendix and the material that constitutes
 Appendix A).  Now I want to have another Appendix (numbered sequentially),
 but I get a  section number, continuous from the  numbers of the sections of
 the article itself.  Is this a bug or a missing feature?
 I know I can do it all by using labels, but I thought there will be some
 better way of doing it.  As it is, I do not see what the Start Appendix Here
 does for me.


 Bob Lounsbury wrote:

 On Thu, Jan 15, 2009 at 12:47 PM, Ehud Kaplan ehud.kap...@mssm.edu
 wrote:


 How do I number appendices?  Lyx numbers them as SECTIONS, and numbers
 APPENDIX 1 as Section N+!, where N is the number of the last section
 (before
 the appendices start).
 I would like to be able to refer to the appendices by their numbers in
 the
 body of the article (as in: In Appendix 3 we give...)

 Thanks
 EK




 I'm a little confused. To start the appendix you Document-Start
 Appendix Here and then insert a section which will be numbered 'A
 Section' not '3 Section'.

 /Bob





-- 
Erez Yerushalmi
PhD Student
Warwick University, UK
http://www2.warwick.ac.uk/fac/soc/economics/research/phds/3rd_year/yerushalmi


Re: Numbering appendices

2009-01-16 Thread Ehud Kaplan
I agree that this is what I SHOULD be getting (that is what I had 
expected), but instead, when I use the Section, subsection, etc.

I get  numbers that simply continue from the last section of the paper.

Erez Yerushalmi wrote:

Hi Ehud,

After doing start appendix here, like you did
You continue using the Section, subsection, subsubsection system, but 
now you should start getting something like

A
A.1
A.1.1
B
B.1

and so on.

Erez


On Fri, Jan 16, 2009 at 7:36 PM, Ehud Kaplan ehud.kap...@mssm.edu 
mailto:ehud.kap...@mssm.edu wrote:


I did not notice the Start Appendix  Here command.  However, it
does not seem to number the appendices correctly.   I have four.
appendices.  When I use the Start Appendix Here followed by
Section, I get an A (after which I write Appendix and the
material that constitutes Appendix A).  Now I want to have another
Appendix (numbered sequentially), but I get a  section number,
continuous from the  numbers of the sections of the article
itself.  Is this a bug or a missing feature?
I know I can do it all by using labels, but I thought there will
be some better way of doing it.  As it is, I do not see what the
Start Appendix Here does for me.


Bob Lounsbury wrote:

On Thu, Jan 15, 2009 at 12:47 PM, Ehud Kaplan
ehud.kap...@mssm.edu mailto:ehud.kap...@mssm.edu wrote:
 


How do I number appendices?  Lyx numbers them as SECTIONS,
and numbers
APPENDIX 1 as Section N+!, where N is the number of the
last section (before
the appendices start).
I would like to be able to refer to the appendices by
their numbers in the
body of the article (as in: In Appendix 3 we give...)

Thanks
EK

   



I'm a little confused. To start the appendix you Document-Start
Appendix Here and then insert a section which will be numbered 'A
Section' not '3 Section'.

/Bob
 





--
Erez Yerushalmi
PhD Student
Warwick University, UK
http://www2.warwick.ac.uk/fac/soc/economics/research/phds/3rd_year/yerushalmi


Re: Numbered equations placement

2009-01-16 Thread Ehud Kaplan

Now I am totally confused.
The problem had disappeared.
The sequence was:

  1. I had the problem I complained about
  2. I got around it by inserting fleqn as a Document Class option
  3. I tried to prepare a file to send you as an example, so I removed
 the fleqn option
  4. When I re-did the pdflatex, the equation was placed correctly (all
 on one line).

Like God, Lyx moves in mysterious ways.  However, since the problem went 
away, all is well, at least Lyxwise.



EK

rgheck wrote:

Ehud Kaplan wrote:
I have a numbered equation that Lyx insists on indenting, and as a 
result it spills over to the next line.  There is PLENTY   of white 
space on the left of the equation to accommodate the full equation.  
Is there a way to force it to do the right thing and keep the entire 
equation on one line?



Can you post an example file with just this equation?

Note that it's LaTeX that decides where to split things, assuming you 
are talking about output.


rh



Re: Numbering appendices

2009-01-16 Thread Erez Yerushalmi
Hi,

You must be doing something wrong or your lyx went crazy.
1. Just a simple idea, make a small test page on a new blank file. Make sure
that your lyx can at least do the right thing.
2. delete the appendix and start over again.

erez




On Fri, Jan 16, 2009 at 10:23 PM, Ehud Kaplan ehud.kap...@mssm.edu wrote:

  I agree that this is what I SHOULD be getting (that is what I had
 expected), but instead, when I use the Section, subsection, etc.
 I get  numbers that simply continue from the last section of the paper.


 Erez Yerushalmi wrote:

 Hi Ehud,

 After doing start appendix here, like you did
 You continue using the Section, subsection, subsubsection system, but now
 you should start getting something like
 A
 A.1
 A.1.1
 B
 B.1

 and so on.

 Erez


 On Fri, Jan 16, 2009 at 7:36 PM, Ehud Kaplan ehud.kap...@mssm.edu wrote:

 I did not notice the Start Appendix  Here command.  However, it does not
 seem to number the appendices correctly.   I have four.
 appendices.  When I use the Start Appendix Here followed by Section, I get
 an A (after which I write Appendix and the material that constitutes
 Appendix A).  Now I want to have another Appendix (numbered sequentially),
 but I get a  section number, continuous from the  numbers of the sections of
 the article itself.  Is this a bug or a missing feature?
 I know I can do it all by using labels, but I thought there will be some
 better way of doing it.  As it is, I do not see what the Start Appendix Here
 does for me.


 Bob Lounsbury wrote:

 On Thu, Jan 15, 2009 at 12:47 PM, Ehud Kaplan ehud.kap...@mssm.edu
 wrote:


 How do I number appendices?  Lyx numbers them as SECTIONS, and numbers
 APPENDIX 1 as Section N+!, where N is the number of the last section
 (before
 the appendices start).
 I would like to be able to refer to the appendices by their numbers in
 the
 body of the article (as in: In Appendix 3 we give...)

 Thanks
 EK




 I'm a little confused. To start the appendix you Document-Start
 Appendix Here and then insert a section which will be numbered 'A
 Section' not '3 Section'.

 /Bob





 --
 Erez Yerushalmi
 PhD Student
 Warwick University, UK

 http://www2.warwick.ac.uk/fac/soc/economics/research/phds/3rd_year/yerushalmi




-- 
Erez Yerushalmi
PhD Student
Warwick University, UK
http://www2.warwick.ac.uk/fac/soc/economics/research/phds/3rd_year/yerushalmi


LyX does not like a url which contains the # charachter

2009-01-16 Thread Nikos Alexandris
Whenever I paste-in in a URL-box the link 
http://grass.osgeo.org/intro/firsttime.php#location and try to preview
the document, I get the following error:

You meant to type ## instead of #, right?
Or maybe a } was forgotten somewhere earlier, and things
are all screwed up? I'm going to assume that you meant ##.

Looks like I need some trick to fool LaTeX-related check?

Nikos




Re: Float Tables in Lyx 1.6.1 for Mac?

2009-01-16 Thread Uwe Stöhr

Laura schrieb:

I am trying to use the Float table available in Lyx, 
but when I insert a table, I do not get a dialog box that 
allows me to pick no of rows and columns.


When clicking on the table icon in the toolbar, you can set the number of 
rows/columns.
When you have inserted the table you can add/delete rows/columns using the corresponding table 
toolbar buttons.
For a detailed description of tables, have a look at the Embedded Objects manual that you find in 
the Help menu.


regards Uwe


Re: Lyx Installation problem on Mac OS X

2009-01-16 Thread Bennett Helm
On Fri, Jan 16, 2009 at 11:28 AM, John Schulman jos...@caltech.edu wrote:
 I try to install Lyx 1.6.1 from the Mac OS X binary, and when I run
 the Lyx-installer I get the following error:
 AppleScript Error
 sh: python: command not found

 I definitely have python installed. My default version is from the
 enthought distribution (not the original Leopard installation)
 'which python' typed into bash returns
 /Library/Frameworks/Python.framework/Versions/Current/bin/python

And that's a path you probably don't have set for sh (as opposed to
bash), which is why you're getting the error.

The installer presupposes that you have default installations of tools
like python. You can either create a link for python in a folder
within your sh path or add your installation of python to the sh path
before running the installer.

Bennett


Re: LyX does not like a url which contains the # charachter

2009-01-16 Thread Uwe Stöhr

Nikos Alexandris schrieb:

Whenever I paste-in in a URL-box the link 
http://grass.osgeo.org/intro/firsttime.php#location and try to preview

the document, I get the following error:

You meant to type ## instead of #, right?


This is a bug. I fixed this now for the next LyX release.

regards Uwe


Mac: cannot see graphics, classes

2009-01-16 Thread Anders Host-Madsen
I just discovered LyX. What a great program! I have been using LateX and MS 
Word for many years, but never been happy. This looks just like what I have 
been looking for. I have some basic questions

1. I use LyX on OS X 10.5.6. Graphics (eps and pdf) never show up. It just says 
'error converting...' This is true even for the LyX user manual. When I typeset 
using latex, the figures look fine. What could be the problem?

2. Many classes show Unavailable: specifically, I'm interested in the 
IEEETran.cls. I have the IEEETran.cls file, but how do I get it into the system 
so that LyX can use it? It may be an issue of installing it in my Latex 
installation. I use gwtex.

 
-
Anders Host-Madsen, Associate Professor
Department of Electrical Engineering
University of Hawaii, Honolulu, HI 96822



Re: text selection using mouse

2009-01-16 Thread Jürgen Spitzmüller
Iain Mac Donald wrote:
  If it has middle-mouse-button support, could you try if switching
  that off helps?

 Thanks Jürgen you got it!

 Clipman and LyX are not playing nice together. Clipman supports
 grabbing selections. If I select the Clipman option Ignore selections
 then the mouse selection of text in LyX works fine. The downside is
 that enabling selections is exactly the reason I use Clipman as it is
 an easy way to copy stuff between xterms and GUI apps.

 Do you know the background/issue involved here?

Not really. All we know is that these tools and LyX bump into one another. It 
might be related to the way LyX communicates with the X Clipboard. 
Interestingly, KDE's klipper, with the same functionality, does not show the 
problem, so it is probably both related to the specific way LyX deals with the 
clipboard as well as with the way Clipman/glipper query the selection.

See
http://bugzilla.lyx.org/show_bug.cgi?id=5675

Jürgen


Re: Diff two versions of document

2009-01-16 Thread Wolfgang Keller
  The other way around: Can't we use this to visualize our track
  changes in the output document ?
 
  Wouldn't you want the review/accept/reject functionality? 

 I think the suggestion was to use these macros in our output, not to 
 change anything that happens inside LyX.

Nope.

That would be another totally useless feature. Just like the change
tracking feature currently available, but unfortunately totally useless
for Real Work (tm), as it is just a braindead clone of the
functionality provided by MS Word  Co..

What is needed for collaborative document authoring in the Real World
(such as companies) is:

- a built-in subversion client (already available)
- diffing of two versions from the subverion repository with output
_within_ _LyX_ using the change tracking display style, with
per-modification accept/reject functionality.

I've been authoring technical documents for twenty years now and
that this functionality is an absolute must für efficient
collaborative document authoring was perfectly obvious to me from the
very first day when I saw what revision control systems are and how
they are used by software developers.

Sincerely,

Wolfgang



RE: Re: Diff two versions of document

2009-01-16 Thread Vincent van Ravesteijn - TNW
 
 The other way around: Can't we use this to visualize our track 
 changes in the output document ?

 Wouldn't you want the review/accept/reject functionality? 
   
 I think the suggestion was to use these macros in our output, not to 
 change anything that happens inside LyX.

Nope.


As it was my suggestion (as a possible solution of a problem I was trying to 
fix), I would say 'Yes'.

That would be another totally useless feature. Just like the 
change tracking feature currently available, but unfortunately 
totally useless for Real Work (tm), as it is just a braindead clone 
of the functionality provided by MS Word  Co..

What is needed for collaborative document authoring in the 
Real World (such as companies) is:

- a built-in subversion client (already available)
- diffing of two versions from the subverion repository with 
output _within_ _LyX_ using the change tracking display style, 
with per-modification accept/reject functionality.

I've been authoring technical documents for twenty years now 
and that this functionality is an absolute must für efficient 
collaborative document authoring was perfectly obvious to me from
the very first day when I saw what revision control systems are 
and how they are used by software developers.

So to sum up, you mean:
- we don't do real work (or do I miss the joke),
- we don't live in the real world (or do I miss the joke),
- we are that blind that we don't see what is obvious,
- everything we implemented for this feature so far is useless, and
- we are braindead.

Not really the best way to introduce a feature request.

Do you mean that Real People in the Real World doing Real Work all use 
versioning systems ?


Sincerely,

Wolfgang

Vincent



Re: Windows Version

2009-01-16 Thread Christian Ridderström

On Fri, 16 Jan 2009, Afief Halumi wrote:


I tried accessing it for a week and it didn't work, and right now it
doesn't work either... Certainly worth looking into.



ftp://ftp.lyx.org/pub/lyx/bin/1.6.1/


Works for me, I just tested it. What's the error message?

/Christian

--
Christian Ridderström, +46-8-768 39 44http://www.md.kth.se/~chr

Re: Diff two versions of document

2009-01-16 Thread A B
 What is needed for collaborative document authoring in the Real World
 (such as companies) is:

You are talking about one part of the world...

 - a built-in subversion client (already available)
 - diffing of two versions from the subverion repository with output
 _within_ _LyX_ using the change tracking display style, with
 per-modification accept/reject functionality.
Yes, checking in and out from svn or even from other forms of version
controll (sql database, wiki, emacs or what ever) and getting the
difference in the document = really great

But manually choosing a document to diff against = really great
feature that is also needed!

 I've been authoring technical documents for twenty years now and
 that this functionality is an absolute must für efficient
 collaborative document authoring was perfectly obvious to me from the
 very first day when I saw what revision control systems are and how
 they are used by software developers.

I hear that you have not written buissnes contracts, commenting
student papers, etc. Not all writers are friends and sometimes you
really need to have only one copy that is sent back and forth.


Re: Unable to set shortcuts in LyX 1.6.1

2009-01-16 Thread rgheck

Grant Jacobs wrote:
I am trying understand how to set a keyboard shortcut to font-ita in 
LyX 1.6.1, but it just doesn't seem to work for me.


I go to Preferences  Fonts, Layouts and Textclasses then select 
'font-ital', then press 'Modify'. I enter my shortcut (alt-cmd-I), 
then press 'OK'.


LyX then showed that I how had *two* entries for font-ital, the 
original with no shortcut and a new one below it with my shortcut. 
(This is a bit confusing, as I asked it to *Modify* the entry, not 
create a new duplicate.) I note there is a feature whereby a user 
can 'Remove' actions with shortcuts assigned to them, but not those 
without shortcuts assigned to them. None of the actions with shortcuts 
assigned to them have a duplicate with no shortcut, only the new one 
I have added/modified.


This sounds like a display bug. Basically, LyX does internally create a 
duplicate, as modify = remove + create new. And the remove one has to be 
remembered.


In any event, now back in my text, I select some text and press 
alt-cmd-I and nothing happens.


I have tried quite a number of different shortcuts and the outcomes is 
always the same: no action is taken on applying the shortcut to 
selected text.


I would appreciate it if anyone can advise me what the problem is.

This works for me. Do all the combinations you tried involve cmd? Is 
your window manager interfering?


rh



Re: text selection using mouse

2009-01-16 Thread Iain Mac Donald
On Fri, 16 Jan 2009 11:54:21 +0100
Jürgen Spitzmüller juer...@spitzmueller.org wrote:

 See
 http://bugzilla.lyx.org/show_bug.cgi?id=5675

Searching bug systems with the right keywords is like choosing the
fastest moving queue at the supermarket. Sometimes I get it right but
most of the time I get it wrong. I didn't see that bug report!

I have submitted a bug report to XFCE

http://bugzilla.xfce.org/show_bug.cgi?id=4815

Regards,
Iain. 


Re: Diff two versions of document

2009-01-16 Thread Jean-Marc Lasgouttes
Wolfgang Keller felip...@gmx.net writes:
 That would be another totally useless feature. Just like the change
 tracking feature currently available, but unfortunately totally useless
 for Real Work (tm), as it is just a braindead clone of the
 functionality provided by MS Word  Co..

 What is needed for collaborative document authoring in the Real World
 (such as companies) is:
[...]

Businesses that think this feature is a must are welcome to donate here
  http://www.lyx.org/Donate
for this particular entry.

JMarc


Re: Windows Version

2009-01-16 Thread Konrad Hofbauer

Afief Halumi wrote:

Hello,

A lot of my friends have been asking me to install Lyx for them,
unfortunately most of them use Windows and not Linux/BSD so I tried to
download the Windows installer, but it seems that the ftp server is
permanently down.


Firewall problem?

In the download-link, replace ftp://... by http://... and open in your 
browser.


/Konrad



Re: Windows Version

2009-01-16 Thread Konrad Hofbauer

Christian Ridderström wrote:

I tried accessing it for a week and it didn't work, and right now it
doesn't work either... Certainly worth looking into.



ftp://ftp.lyx.org/pub/lyx/bin/1.6.1/


Works for me, I just tested it. What's the error message?


It is usually a firewall issue. I have been myself for a while behind a 
(big serious enterprise) firewall, where ftp works with some servers, 
and not with others.


For this reason, if anyhow possible, we should try to offer (at least 
additional) http-download links. Actually, just found out, this is 
already activated on ftp.lyx.org:

ftp://ftp.lyx.org/pub/lyx/bin/1.6.1/
is just the same as
http://ftp.lyx.org/pub/lyx/bin/1.6.1/
just that the later is a less problematic http-download.

At least for the binaries, I would suggest to consider changing the 
links on the website. What do you think?


/Konrad



Re: Diff two versions of document

2009-01-16 Thread Pavel Sanda
A B wrote:
  What is needed for collaborative document authoring in the Real World
  (such as companies) is:
 
 You are talking about one part of the world...
 
  - a built-in subversion client (already available)
  - diffing of two versions from the subverion repository with output
  _within_ _LyX_ using the change tracking display style, with
  per-modification accept/reject functionality.
 Yes, checking in and out from svn or even from other forms of version
 controll (sql database, wiki, emacs or what ever) and getting the
 difference in the document = really great

if we have resolved the import of latex2diff integrating it with the
svn history shouldn't be so hard. integrating it with CT would be harder
task i think.

pavel


Lyx Installation problem on Mac OS X

2009-01-16 Thread John Schulman
I try to install Lyx 1.6.1 from the Mac OS X binary, and when I run
the Lyx-installer I get the following error:
AppleScript Error
sh: python: command not found

I definitely have python installed. My default version is from the
enthought distribution (not the original Leopard installation)
'which python' typed into bash returns
/Library/Frameworks/Python.framework/Versions/Current/bin/python


Thanks,
John


change font used in lyx-code environment ??

2009-01-16 Thread Paul Johnson
In Ubuntu 8.10 I'm running Lyx 1.6.1.  In Noweb documents, I notice
the problem that the typewriter font does not show double quotes.
They show as black boxes, as you can see in some example output.

http://pj.freefaculty.org/latex/foo.pdf

Until I find the problem in the weaving process that causes this, I
want to just eliminate all use of the typewriter font--whenever a lyx
environment calls for typewriter, I'd substitute sans serif or
something.  (Actually, I only need to replace `` and '' from the
typewriter family, but don't know if that is simpler.).

I've learned that I CAN hack the font setting in the lyxcode in the LyX file

lyxmacros.inc

to change the ttfamily to sffamily, but I don't like that answer so
much because it changes lyxcode for all classes.

Is there a way I can, in the document itself, tell the Lyx-Code
environment not to use typwriter font?

I guess I need to change all environments that might invoke the typewriter font.


-- 
Paul E. Johnson
Professor, Political Science
1541 Lilac Lane, Room 504
University of Kansas


About reimporting from latex

2009-01-16 Thread Fabio Stumbo


Hi all,

I know that exporting to latex and then reimporting to lyx is not that 
smooth, but I made a simple try which surpise me:


- create a new lyx file, 
- in Document - Settings - Document class choose article (AMS)

- insert a theorem (even just a word after it, no math nor images)
- export it to latex

This way you get a very simple and clean tex file. Now, in lyx create a 
new file and import the saved tex file: instead of seeing

Theorem 1. etc.
you see
the ert
\begin{thm} etc. \end{thm}

and it doesn't even compile!

Am I missing something? If not, how is it possible that the conversion 
fails even on a such simple and basic example?


TIA

Fabio



Re: About reimporting from latex

2009-01-16 Thread rgheck

Fabio Stumbo wrote:


Hi all,

I know that exporting to latex and then reimporting to lyx is not that 
smooth, but I made a simple try which surpise me:


- create a new lyx file, - in Document - Settings - Document class 
choose article (AMS)

- insert a theorem (even just a word after it, no math nor images)
- export it to latex

This way you get a very simple and clean tex file. Now, in lyx create 
a new file and import the saved tex file: instead of seeing

Theorem 1. etc.
you see
the ert
\begin{thm} etc. \end{thm}

and it doesn't even compile!

Am I missing something? If not, how is it possible that the conversion 
fails even on a such simple and basic example?


Hmm. I think this is a consequence of modularization of the AMS files. 
You did this in 1.6.x, yes?


We'll have to fix this, if so.

rh



Float Tables in Lyx 1.6.1 for Mac?

2009-01-16 Thread Laura
I am trying to use the Float table available in Lyx, 
but when I insert a table, I do not get a dialog box that 
allows me to pick no of rows and columns. 
I plan to use a lot of tables in my dissertation, and although I 
know how to code them in the Tex language,
I was hoping to use the easier to visualize approach 
described in the Lyx User Guides. 

I also cannot right click on the tables to try
 and change the number of rows and columns. 

Any suggestions?

Thanks,
Laura



Re: Numbering appendices

2009-01-16 Thread Ehud Kaplan
I did not notice the Start Appendix  Here command.  However, it does not 
seem to number the appendices correctly.   I have four.
appendices.  When I use the Start Appendix Here followed by Section, I 
get an A (after which I write Appendix and the material that 
constitutes Appendix A).  Now I want to have another Appendix (numbered 
sequentially), but I get a  section number, continuous from the  numbers 
of the sections of the article itself.  Is this a bug or a missing feature?
I know I can do it all by using labels, but I thought there will be some 
better way of doing it.  As it is, I do not see what the Start Appendix 
Here does for me.



Bob Lounsbury wrote:

On Thu, Jan 15, 2009 at 12:47 PM, Ehud Kaplan ehud.kap...@mssm.edu wrote:
  

How do I number appendices?  Lyx numbers them as SECTIONS, and numbers
APPENDIX 1 as Section N+!, where N is the number of the last section (before
the appendices start).
I would like to be able to refer to the appendices by their numbers in the
body of the article (as in: In Appendix 3 we give...)

Thanks
EK




I'm a little confused. To start the appendix you Document-Start
Appendix Here and then insert a section which will be numbered 'A
Section' not '3 Section'.

/Bob
  


Re: Float Tables in Lyx 1.6.1 for Mac?

2009-01-16 Thread James C. Sutherland


On Jan 16, 2009, at 12:15 PM, Laura wrote:


I am trying to use the Float table available in Lyx,
but when I insert a table, I do not get a dialog box that
allows me to pick no of rows and columns.
I plan to use a lot of tables in my dissertation, and although I
know how to code them in the Tex language,
I was hoping to use the easier to visualize approach
described in the Lyx User Guides.

I also cannot right click on the tables to try
and change the number of rows and columns.

Any suggestions?


Yes.  Read through the user manuals.
Inserting the table float is different than inserting the table itself.


Re: Diff two versions of document

2009-01-16 Thread Sophie (itsme213)

Wolfgang Keller felip...@gmx.net wrote in message 
news:20090116132846.c06ebf80.felip...@gmx.net...
That would be another totally useless feature. Just like the change
tracking feature currently available, but unfortunately totally useless
for Real Work (tm), as it is just a braindead clone of the
functionality provided by MS Word  Co..

Rather strong wording ... Change tracking is useful, although it does not 
substitute for diff-like document comparison.

So some form of compare 2 documents (integrating latex2diff?) would be 
great. Where those 2 documents came from (svn history, file system, 
somewhere else) should be a separate issue.






Numbered equations placement

2009-01-16 Thread Ehud Kaplan
I have a numbered equation that Lyx insists on indenting, and as a 
result it spills over to the next line.  There is PLENTY   of white 
space on the left of the equation to accommodate the full equation.  Is 
there a way to force it to do the right thing and keep the entire 
equation on one line?




Re: Numbered equations placement

2009-01-16 Thread rgheck

Ehud Kaplan wrote:
I have a numbered equation that Lyx insists on indenting, and as a 
result it spills over to the next line.  There is PLENTY   of white 
space on the left of the equation to accommodate the full equation.  
Is there a way to force it to do the right thing and keep the entire 
equation on one line?



Can you post an example file with just this equation?

Note that it's LaTeX that decides where to split things, assuming you 
are talking about output.


rh



formatting numbered equations

2009-01-16 Thread Ehud Kaplan

/When all else fails, read the manual--/
So I did, and found how to prevent Lyx from centering numbered equations:
use the fleqn option in the Document Class under Settings.
This left-justifies the equations, which is not really what I wanted, 
but it prevents the breaking up of the equation that bothered me before.


EK


Use of \definecolor in the preamble

2009-01-16 Thread Nikos Alexandris
Hi list.

(Using LyX 1.6 under Ubuntu II 64-bit).

I want to color some cells in a table. For this I am trying to define
the following in the preamble:
\usepackage{colortbl}

\definecolor{'111'}{rgb}{0.9,0,0.3}
\definecolor{112}{rgb}{1,0,0}
\definecolor{121}{rgb}{0.8,0.3,0.9}
\definecolor{122}{rgb}{0.8,0,0}
\definecolor{123}{rgb}{0.9,0.8,0.8}
\definecolor{124}{rgb}{0.9,0.8,0.9}
# [...] a longer list actually of various red,green,blue combinations


Then, I use ERTs in a table's cells like
\cellcolor{111}

The table's column in which I use the ERT's include only numbers (in
fact, the numbers correspond exactly to the number I use in the preamble
with \definecolor. The next column includes greek labels (=simply
greek text).

When I try to pre-view the document I read:

Error:
LaTeX Error: Undefined color `{111}'.

Description:
\cellcolor{{111}}111 
\textgreek{Suneq\char160c} \textgreek{...

Could someone give me a hint to the right direction?
Kind regards, Nikos



Re: Use of \definecolor in the preamble

2009-01-16 Thread Nikos Alexandris
On Fri, 2009-01-16 at 22:22 +0100, Nikos Alexandris wrote:
 Hi list.
 
 (Using LyX 1.6 under Ubuntu II 64-bit).
 
 I want to color some cells in a table. For this I am trying to define
 the following in the preamble:
 \usepackage{colortbl}


 \definecolor{'111'}{rgb}{0.9,0,0.3}
# Ooops, that ^^ is {111} and not {'111'}. Sorry :-)

 \definecolor{112}{rgb}{1,0,0}
 \definecolor{121}{rgb}{0.8,0.3,0.9}
 \definecolor{122}{rgb}{0.8,0,0}
 \definecolor{123}{rgb}{0.9,0.8,0.8}
 \definecolor{124}{rgb}{0.9,0.8,0.9}
 # [...] a longer list actually of various red,green,blue combinations
 
 
 Then, I use ERTs in a table's cells like
 \cellcolor{111}
 
 The table's column in which I use the ERT's include only numbers (in
 fact, the numbers correspond exactly to the number I use in the preamble
 with \definecolor. The next column includes greek labels (=simply
 greek text).
 
 When I try to pre-view the document I read:
 
 Error:
 LaTeX Error: Undefined color `{111}'.
 
 Description:
 \cellcolor{{111}}111 
 \textgreek{Suneq\char160c} \textgreek{...
 
 Could someone give me a hint to the right direction?
 Kind regards, Nikos
 




Re: About reimporting from latex

2009-01-16 Thread Fabio Stumbo

Hi all,

I know that exporting to latex and then reimporting to lyx is not that 
smooth, but I made a simple try which surpise me:


- create a new lyx file, - in Document - Settings - Document class choose 
article (AMS)

- insert a theorem (even just a word after it, no math nor images)
- export it to latex

This way you get a very simple and clean tex file. Now, in lyx create a new 
file and import the saved tex file: instead of seeing

Theorem 1. etc.
you see
the ert
\begin{thm} etc. \end{thm}

and it doesn't even compile!

Am I missing something? If not, how is it possible that the conversion 
fails even on a such simple and basic example?


Hmm. I think this is a consequence of modularization of the AMS files. You 
did this in 1.6.x, yes?


Sorry, I forgot to give my settings:
lyx 1.6.1 installed in ubuntu 8.10 via backport repository, with no 
customization and a freshly created default ~/.lyx



We'll have to fix this, if so.


If you do, please let me know what I should do while waiting for the fix 
in the repository.


Thanks

Fabio


Re: Numbering appendices

2009-01-16 Thread Erez Yerushalmi
Hi Ehud,

After doing start appendix here, like you did
You continue using the Section, subsection, subsubsection system, but now
you should start getting something like
A
A.1
A.1.1
B
B.1

and so on.

Erez


On Fri, Jan 16, 2009 at 7:36 PM, Ehud Kaplan ehud.kap...@mssm.edu wrote:

 I did not notice the Start Appendix  Here command.  However, it does not
 seem to number the appendices correctly.   I have four.
 appendices.  When I use the Start Appendix Here followed by Section, I get
 an A (after which I write Appendix and the material that constitutes
 Appendix A).  Now I want to have another Appendix (numbered sequentially),
 but I get a  section number, continuous from the  numbers of the sections of
 the article itself.  Is this a bug or a missing feature?
 I know I can do it all by using labels, but I thought there will be some
 better way of doing it.  As it is, I do not see what the Start Appendix Here
 does for me.


 Bob Lounsbury wrote:

 On Thu, Jan 15, 2009 at 12:47 PM, Ehud Kaplan ehud.kap...@mssm.edu
 wrote:


 How do I number appendices?  Lyx numbers them as SECTIONS, and numbers
 APPENDIX 1 as Section N+!, where N is the number of the last section
 (before
 the appendices start).
 I would like to be able to refer to the appendices by their numbers in
 the
 body of the article (as in: In Appendix 3 we give...)

 Thanks
 EK




 I'm a little confused. To start the appendix you Document-Start
 Appendix Here and then insert a section which will be numbered 'A
 Section' not '3 Section'.

 /Bob





-- 
Erez Yerushalmi
PhD Student
Warwick University, UK
http://www2.warwick.ac.uk/fac/soc/economics/research/phds/3rd_year/yerushalmi


Re: Numbering appendices

2009-01-16 Thread Ehud Kaplan
I agree that this is what I SHOULD be getting (that is what I had 
expected), but instead, when I use the Section, subsection, etc.

I get  numbers that simply continue from the last section of the paper.

Erez Yerushalmi wrote:

Hi Ehud,

After doing start appendix here, like you did
You continue using the Section, subsection, subsubsection system, but 
now you should start getting something like

A
A.1
A.1.1
B
B.1

and so on.

Erez


On Fri, Jan 16, 2009 at 7:36 PM, Ehud Kaplan ehud.kap...@mssm.edu 
mailto:ehud.kap...@mssm.edu wrote:


I did not notice the Start Appendix  Here command.  However, it
does not seem to number the appendices correctly.   I have four.
appendices.  When I use the Start Appendix Here followed by
Section, I get an A (after which I write Appendix and the
material that constitutes Appendix A).  Now I want to have another
Appendix (numbered sequentially), but I get a  section number,
continuous from the  numbers of the sections of the article
itself.  Is this a bug or a missing feature?
I know I can do it all by using labels, but I thought there will
be some better way of doing it.  As it is, I do not see what the
Start Appendix Here does for me.


Bob Lounsbury wrote:

On Thu, Jan 15, 2009 at 12:47 PM, Ehud Kaplan
ehud.kap...@mssm.edu mailto:ehud.kap...@mssm.edu wrote:
 


How do I number appendices?  Lyx numbers them as SECTIONS,
and numbers
APPENDIX 1 as Section N+!, where N is the number of the
last section (before
the appendices start).
I would like to be able to refer to the appendices by
their numbers in the
body of the article (as in: In Appendix 3 we give...)

Thanks
EK

   



I'm a little confused. To start the appendix you Document-Start
Appendix Here and then insert a section which will be numbered 'A
Section' not '3 Section'.

/Bob
 





--
Erez Yerushalmi
PhD Student
Warwick University, UK
http://www2.warwick.ac.uk/fac/soc/economics/research/phds/3rd_year/yerushalmi


Re: Numbered equations placement

2009-01-16 Thread Ehud Kaplan

Now I am totally confused.
The problem had disappeared.
The sequence was:

  1. I had the problem I complained about
  2. I got around it by inserting fleqn as a Document Class option
  3. I tried to prepare a file to send you as an example, so I removed
 the fleqn option
  4. When I re-did the pdflatex, the equation was placed correctly (all
 on one line).

Like God, Lyx moves in mysterious ways.  However, since the problem went 
away, all is well, at least Lyxwise.



EK

rgheck wrote:

Ehud Kaplan wrote:
I have a numbered equation that Lyx insists on indenting, and as a 
result it spills over to the next line.  There is PLENTY   of white 
space on the left of the equation to accommodate the full equation.  
Is there a way to force it to do the right thing and keep the entire 
equation on one line?



Can you post an example file with just this equation?

Note that it's LaTeX that decides where to split things, assuming you 
are talking about output.


rh



Re: Numbering appendices

2009-01-16 Thread Erez Yerushalmi
Hi,

You must be doing something wrong or your lyx went crazy.
1. Just a simple idea, make a small test page on a new blank file. Make sure
that your lyx can at least do the right thing.
2. delete the appendix and start over again.

erez




On Fri, Jan 16, 2009 at 10:23 PM, Ehud Kaplan ehud.kap...@mssm.edu wrote:

  I agree that this is what I SHOULD be getting (that is what I had
 expected), but instead, when I use the Section, subsection, etc.
 I get  numbers that simply continue from the last section of the paper.


 Erez Yerushalmi wrote:

 Hi Ehud,

 After doing start appendix here, like you did
 You continue using the Section, subsection, subsubsection system, but now
 you should start getting something like
 A
 A.1
 A.1.1
 B
 B.1

 and so on.

 Erez


 On Fri, Jan 16, 2009 at 7:36 PM, Ehud Kaplan ehud.kap...@mssm.edu wrote:

 I did not notice the Start Appendix  Here command.  However, it does not
 seem to number the appendices correctly.   I have four.
 appendices.  When I use the Start Appendix Here followed by Section, I get
 an A (after which I write Appendix and the material that constitutes
 Appendix A).  Now I want to have another Appendix (numbered sequentially),
 but I get a  section number, continuous from the  numbers of the sections of
 the article itself.  Is this a bug or a missing feature?
 I know I can do it all by using labels, but I thought there will be some
 better way of doing it.  As it is, I do not see what the Start Appendix Here
 does for me.


 Bob Lounsbury wrote:

 On Thu, Jan 15, 2009 at 12:47 PM, Ehud Kaplan ehud.kap...@mssm.edu
 wrote:


 How do I number appendices?  Lyx numbers them as SECTIONS, and numbers
 APPENDIX 1 as Section N+!, where N is the number of the last section
 (before
 the appendices start).
 I would like to be able to refer to the appendices by their numbers in
 the
 body of the article (as in: In Appendix 3 we give...)

 Thanks
 EK




 I'm a little confused. To start the appendix you Document-Start
 Appendix Here and then insert a section which will be numbered 'A
 Section' not '3 Section'.

 /Bob





 --
 Erez Yerushalmi
 PhD Student
 Warwick University, UK

 http://www2.warwick.ac.uk/fac/soc/economics/research/phds/3rd_year/yerushalmi




-- 
Erez Yerushalmi
PhD Student
Warwick University, UK
http://www2.warwick.ac.uk/fac/soc/economics/research/phds/3rd_year/yerushalmi


LyX does not like a url which contains the # charachter

2009-01-16 Thread Nikos Alexandris
Whenever I paste-in in a URL-box the link 
http://grass.osgeo.org/intro/firsttime.php#location and try to preview
the document, I get the following error:

You meant to type ## instead of #, right?
Or maybe a } was forgotten somewhere earlier, and things
are all screwed up? I'm going to assume that you meant ##.

Looks like I need some trick to fool LaTeX-related check?

Nikos




Re: Float Tables in Lyx 1.6.1 for Mac?

2009-01-16 Thread Uwe Stöhr

Laura schrieb:

I am trying to use the Float table available in Lyx, 
but when I insert a table, I do not get a dialog box that 
allows me to pick no of rows and columns.


When clicking on the table icon in the toolbar, you can set the number of 
rows/columns.
When you have inserted the table you can add/delete rows/columns using the corresponding table 
toolbar buttons.
For a detailed description of tables, have a look at the Embedded Objects manual that you find in 
the Help menu.


regards Uwe


Re: Lyx Installation problem on Mac OS X

2009-01-16 Thread Bennett Helm
On Fri, Jan 16, 2009 at 11:28 AM, John Schulman jos...@caltech.edu wrote:
 I try to install Lyx 1.6.1 from the Mac OS X binary, and when I run
 the Lyx-installer I get the following error:
 AppleScript Error
 sh: python: command not found

 I definitely have python installed. My default version is from the
 enthought distribution (not the original Leopard installation)
 'which python' typed into bash returns
 /Library/Frameworks/Python.framework/Versions/Current/bin/python

And that's a path you probably don't have set for sh (as opposed to
bash), which is why you're getting the error.

The installer presupposes that you have default installations of tools
like python. You can either create a link for python in a folder
within your sh path or add your installation of python to the sh path
before running the installer.

Bennett


Re: LyX does not like a url which contains the # charachter

2009-01-16 Thread Uwe Stöhr

Nikos Alexandris schrieb:

Whenever I paste-in in a URL-box the link 
http://grass.osgeo.org/intro/firsttime.php#location and try to preview

the document, I get the following error:

You meant to type ## instead of #, right?


This is a bug. I fixed this now for the next LyX release.

regards Uwe


Mac: cannot see graphics, classes

2009-01-16 Thread Anders Host-Madsen
I just discovered LyX. What a great program! I have been using LateX and MS 
Word for many years, but never been happy. This looks just like what I have 
been looking for. I have some basic questions

1. I use LyX on OS X 10.5.6. Graphics (eps and pdf) never show up. It just says 
'error converting...' This is true even for the LyX user manual. When I typeset 
using latex, the figures look fine. What could be the problem?

2. Many classes show Unavailable: specifically, I'm interested in the 
IEEETran.cls. I have the IEEETran.cls file, but how do I get it into the system 
so that LyX can use it? It may be an issue of installing it in my Latex 
installation. I use gwtex.

 
-
Anders Host-Madsen, Associate Professor
Department of Electrical Engineering
University of Hawaii, Honolulu, HI 96822



Re: text selection using mouse

2009-01-16 Thread Jürgen Spitzmüller
Iain Mac Donald wrote:
> > If it has middle-mouse-button support, could you try if switching
> > that off helps?
>
> Thanks Jürgen you got it!
>
> Clipman and LyX are not playing nice together. Clipman supports
> grabbing selections. If I select the Clipman option "Ignore selections"
> then the mouse selection of text in LyX works fine. The downside is
> that enabling selections is exactly the reason I use Clipman as it is
> an easy way to copy stuff between xterms and GUI apps.
>
> Do you know the background/issue involved here?

Not really. All we know is that these tools and LyX bump into one another. It 
might be related to the way LyX communicates with the X Clipboard. 
Interestingly, KDE's klipper, with the same functionality, does not show the 
problem, so it is probably both related to the specific way LyX deals with the 
clipboard as well as with the way Clipman/glipper query the selection.

See
http://bugzilla.lyx.org/show_bug.cgi?id=5675

Jürgen


Re: Diff two versions of document

2009-01-16 Thread Wolfgang Keller
> >> The other way around: Can't we use this to visualize our track
> >> changes in the output document ?
> >
> > Wouldn't you want the review/accept/reject functionality? 
> >   
> I think the suggestion was to use these macros in our output, not to 
> change anything that happens inside LyX.

Nope.

That would be another totally useless feature. Just like the "change
tracking" feature currently available, but unfortunately totally useless
for Real Work (tm), as it is just a braindead clone of the
functionality provided by MS Word & Co..

What is needed for collaborative document authoring in the Real World
(such as companies) is:

- a built-in subversion client (already available)
- diffing of two versions from the subverion repository with output
_within_ _LyX_ using the "change tracking" display style, with
per-modification accept/reject functionality.

I've been authoring technical documents for twenty years now and
that this functionality is an absolute "must" für efficient
collaborative document authoring was perfectly obvious to me from the
very first day when I saw what revision control systems are and how
they are used by software developers.

Sincerely,

Wolfgang



RE: Re: Diff two versions of document

2009-01-16 Thread Vincent van Ravesteijn - TNW
 
 The other way around: Can't we use this to visualize our track 
 changes in the output document ?
>>>
>>> Wouldn't you want the review/accept/reject functionality? 
>>>   
>> I think the suggestion was to use these macros in our output, not to 
>> change anything that happens inside LyX.
>
>Nope.
>

As it was my suggestion (as a possible solution of a problem I was trying to 
fix), I would say 'Yes'.

>That would be another totally useless feature. Just like the 
>"change tracking" feature currently available, but unfortunately 
>totally useless for Real Work (tm), as it is just a braindead clone 
>of the functionality provided by MS Word & Co..
>
>What is needed for collaborative document authoring in the 
>Real World (such as companies) is:
>
>- a built-in subversion client (already available)
>- diffing of two versions from the subverion repository with 
>output _within_ _LyX_ using the "change tracking" display style, 
>with per-modification accept/reject functionality.
>
>I've been authoring technical documents for twenty years now 
>and that this functionality is an absolute "must" für efficient 
>collaborative document authoring was perfectly obvious to me from
>the very first day when I saw what revision control systems are 
>and how they are used by software developers.

So to sum up, you mean:
- we don't do real work (or do I miss the joke),
- we don't live in the real world (or do I miss the joke),
- we are that blind that we don't see what is obvious,
- everything we implemented for this feature so far is useless, and
- we are braindead.

Not really the best way to introduce a feature request.

Do you mean that Real People in the Real World doing Real Work all use 
versioning systems ?


>Sincerely,
>
>Wolfgang

Vincent



Re: Windows Version

2009-01-16 Thread Christian Ridderström

On Fri, 16 Jan 2009, Afief Halumi wrote:


I tried accessing it for a week and it didn't work, and right now it
doesn't work either... Certainly worth looking into.



ftp://ftp.lyx.org/pub/lyx/bin/1.6.1/


Works for me, I just tested it. What's the error message?

/Christian

--
Christian Ridderström, +46-8-768 39 44http://www.md.kth.se/~chr

Re: Diff two versions of document

2009-01-16 Thread A B
> What is needed for collaborative document authoring in the Real World
> (such as companies) is:

You are talking about one part of the world...

> - a built-in subversion client (already available)
> - diffing of two versions from the subverion repository with output
> _within_ _LyX_ using the "change tracking" display style, with
> per-modification accept/reject functionality.
Yes, checking in and out from svn or even from other forms of version
controll (sql database, wiki, emacs or what ever) and getting the
difference in the document = really great

But manually choosing a document to diff against = really great
feature that is also needed!

> I've been authoring technical documents for twenty years now and
> that this functionality is an absolute "must" für efficient
> collaborative document authoring was perfectly obvious to me from the
> very first day when I saw what revision control systems are and how
> they are used by software developers.

I hear that you have not written buissnes contracts, commenting
student papers, etc. Not all writers are friends and sometimes you
really need to have only one copy that is sent back and forth.


Re: Unable to set shortcuts in LyX 1.6.1

2009-01-16 Thread rgheck

Grant Jacobs wrote:
I am trying understand how to set a keyboard shortcut to font-ita in 
LyX 1.6.1, but it just doesn't seem to work for me.


I go to Preferences > Fonts, Layouts and Textclasses then select 
'font-ital', then press 'Modify'. I enter my shortcut (alt-cmd-I), 
then press 'OK'.


LyX then showed that I how had *two* entries for font-ital, the 
original with no shortcut and a new one below it with my shortcut. 
(This is a bit confusing, as I asked it to *Modify* the entry, not 
create a new duplicate.) I note there is a "feature" whereby a user 
can 'Remove' actions with shortcuts assigned to them, but not those 
without shortcuts assigned to them. None of the actions with shortcuts 
assigned to them have a "duplicate" with no shortcut, only the new one 
I have added/modified.


This sounds like a display bug. Basically, LyX does internally create a 
duplicate, as modify = remove + create new. And the remove one has to be 
remembered.


In any event, now back in my text, I select some text and press 
alt-cmd-I and nothing happens.


I have tried quite a number of different shortcuts and the outcomes is 
always the same: no action is taken on applying the shortcut to 
selected text.


I would appreciate it if anyone can advise me what the problem is.

This works for me. Do all the combinations you tried involve cmd? Is 
your window manager interfering?


rh



Re: text selection using mouse

2009-01-16 Thread Iain Mac Donald
On Fri, 16 Jan 2009 11:54:21 +0100
Jürgen Spitzmüller  wrote:

> See
> http://bugzilla.lyx.org/show_bug.cgi?id=5675

Searching bug systems with the right keywords is like choosing the
fastest moving queue at the supermarket. Sometimes I get it right but
most of the time I get it wrong. I didn't see that bug report!

I have submitted a bug report to XFCE

http://bugzilla.xfce.org/show_bug.cgi?id=4815

Regards,
Iain. 


Re: Diff two versions of document

2009-01-16 Thread Jean-Marc Lasgouttes
Wolfgang Keller  writes:
> That would be another totally useless feature. Just like the "change
> tracking" feature currently available, but unfortunately totally useless
> for Real Work (tm), as it is just a braindead clone of the
> functionality provided by MS Word & Co..
>
> What is needed for collaborative document authoring in the Real World
> (such as companies) is:
[...]

Businesses that think this feature is a "must" are welcome to donate here
  http://www.lyx.org/Donate
for this particular entry.

JMarc


Re: Windows Version

2009-01-16 Thread Konrad Hofbauer

Afief Halumi wrote:

Hello,

A lot of my friends have been asking me to install Lyx for them,
unfortunately most of them use Windows and not Linux/BSD so I tried to
download the Windows installer, but it seems that the ftp server is
permanently down.


Firewall problem?

In the download-link, replace ftp://... by http://... and open in your 
browser.


/Konrad



Re: Windows Version

2009-01-16 Thread Konrad Hofbauer

Christian Ridderström wrote:

I tried accessing it for a week and it didn't work, and right now it
doesn't work either... Certainly worth looking into.



ftp://ftp.lyx.org/pub/lyx/bin/1.6.1/


Works for me, I just tested it. What's the error message?


It is usually a firewall issue. I have been myself for a while behind a 
(big serious enterprise) firewall, where ftp works with some servers, 
and not with others.


For this reason, if anyhow possible, we should try to offer (at least 
additional) http-download links. Actually, just found out, this is 
already activated on ftp.lyx.org:


is just the same as

just that the later is a less problematic http-download.

At least for the binaries, I would suggest to consider changing the 
links on the website. What do you think?


/Konrad



Re: Diff two versions of document

2009-01-16 Thread Pavel Sanda
A B wrote:
> > What is needed for collaborative document authoring in the Real World
> > (such as companies) is:
> 
> You are talking about one part of the world...
> 
> > - a built-in subversion client (already available)
> > - diffing of two versions from the subverion repository with output
> > _within_ _LyX_ using the "change tracking" display style, with
> > per-modification accept/reject functionality.
> Yes, checking in and out from svn or even from other forms of version
> controll (sql database, wiki, emacs or what ever) and getting the
> difference in the document = really great

if we have resolved the import of latex2diff integrating it with the
svn history shouldn't be so hard. integrating it with CT would be harder
task i think.

pavel


Lyx Installation problem on Mac OS X

2009-01-16 Thread John Schulman
I try to install Lyx 1.6.1 from the Mac OS X binary, and when I run
the Lyx-installer I get the following error:
AppleScript Error
sh: python: command not found

I definitely have python installed. My default version is from the
enthought distribution (not the original Leopard installation)
'which python' typed into bash returns
/Library/Frameworks/Python.framework/Versions/Current/bin/python


Thanks,
John


change font used in lyx-code environment ??

2009-01-16 Thread Paul Johnson
In Ubuntu 8.10 I'm running Lyx 1.6.1.  In Noweb documents, I notice
the problem that the typewriter font does not show double quotes.
They show as black boxes, as you can see in some example output.

http://pj.freefaculty.org/latex/foo.pdf

Until I find the problem in the weaving process that causes this, I
want to just eliminate all use of the typewriter font--whenever a lyx
environment calls for typewriter, I'd substitute sans serif or
something.  (Actually, I only need to replace `` and '' from the
typewriter family, but don't know if that is simpler.).

I've learned that I CAN hack the font setting in the lyxcode in the LyX file

lyxmacros.inc

to change the ttfamily to sffamily, but I don't like that answer so
much because it changes lyxcode for all classes.

Is there a way I can, in the document itself, tell the Lyx-Code
environment not to use typwriter font?

I guess I need to change all environments that might invoke the typewriter font.


-- 
Paul E. Johnson
Professor, Political Science
1541 Lilac Lane, Room 504
University of Kansas


About reimporting from latex

2009-01-16 Thread Fabio Stumbo


Hi all,

I know that exporting to latex and then reimporting to lyx is not that 
smooth, but I made a simple try which surpise me:


- create a new lyx file, 
- in Document -> Settings -> Document class choose "article (AMS)"

- insert a theorem (even just a word after it, no math nor images)
- export it to latex

This way you get a very simple and clean tex file. Now, in lyx create a 
new file and import the saved tex file: instead of seeing

"Theorem 1. etc."
you see
the ert
\begin{thm} etc. \end{thm}

and it doesn't even compile!

Am I missing something? If not, how is it possible that the conversion 
fails even on a such simple and basic example?


TIA

Fabio



Re: About reimporting from latex

2009-01-16 Thread rgheck

Fabio Stumbo wrote:


Hi all,

I know that exporting to latex and then reimporting to lyx is not that 
smooth, but I made a simple try which surpise me:


- create a new lyx file, - in Document -> Settings -> Document class 
choose "article (AMS)"

- insert a theorem (even just a word after it, no math nor images)
- export it to latex

This way you get a very simple and clean tex file. Now, in lyx create 
a new file and import the saved tex file: instead of seeing

"Theorem 1. etc."
you see
the ert
\begin{thm} etc. \end{thm}

and it doesn't even compile!

Am I missing something? If not, how is it possible that the conversion 
fails even on a such simple and basic example?


Hmm. I think this is a consequence of modularization of the AMS files. 
You did this in 1.6.x, yes?


We'll have to fix this, if so.

rh



Float Tables in Lyx 1.6.1 for Mac?

2009-01-16 Thread Laura
I am trying to use the Float table available in Lyx, 
but when I insert a table, I do not get a dialog box that 
allows me to pick no of rows and columns. 
I plan to use a lot of tables in my dissertation, and although I 
know how to code them in the Tex language,
I was hoping to use the easier to visualize approach 
described in the Lyx User Guides. 

I also cannot right click on the tables to try
 and change the number of rows and columns. 

Any suggestions?

Thanks,
Laura



Re: Numbering appendices

2009-01-16 Thread Ehud Kaplan
I did not notice the Start Appendix  Here command.  However, it does not 
seem to number the appendices correctly.   I have four.
appendices.  When I use the Start Appendix Here followed by Section, I 
get an A (after which I write "Appendix" and the material that 
constitutes Appendix A).  Now I want to have another Appendix (numbered 
sequentially), but I get a  section number, continuous from the  numbers 
of the sections of the article itself.  Is this a bug or a missing feature?
I know I can do it all by using labels, but I thought there will be some 
better way of doing it.  As it is, I do not see what the Start Appendix 
Here does for me.



Bob Lounsbury wrote:

On Thu, Jan 15, 2009 at 12:47 PM, Ehud Kaplan  wrote:
  

How do I number appendices?  Lyx numbers them as SECTIONS, and numbers
APPENDIX 1 as Section N+!, where N is the number of the last section (before
the appendices start).
I would like to be able to refer to the appendices by their numbers in the
body of the article (as in: "In Appendix 3 we give...")

Thanks
EK




I'm a little confused. To start the appendix you Document->Start
Appendix Here and then insert a section which will be numbered 'A
Section' not '3 Section'.

/Bob
  


Re: Float Tables in Lyx 1.6.1 for Mac?

2009-01-16 Thread James C. Sutherland


On Jan 16, 2009, at 12:15 PM, Laura wrote:


I am trying to use the Float table available in Lyx,
but when I insert a table, I do not get a dialog box that
allows me to pick no of rows and columns.
I plan to use a lot of tables in my dissertation, and although I
know how to code them in the Tex language,
I was hoping to use the easier to visualize approach
described in the Lyx User Guides.

I also cannot right click on the tables to try
and change the number of rows and columns.

Any suggestions?


Yes.  Read through the user manuals.
Inserting the table float is different than inserting the table itself.


Re: Diff two versions of document

2009-01-16 Thread Sophie (itsme213)

"Wolfgang Keller"  wrote in message 
news:20090116132846.c06ebf80.felip...@gmx.net...
>That would be another totally useless feature. Just like the "change
>tracking" feature currently available, but unfortunately totally useless
>for Real Work (tm), as it is just a braindead clone of the
>functionality provided by MS Word & Co..

Rather strong wording ... Change tracking is useful, although it does not 
substitute for diff-like document comparison.

So some form of compare 2 documents (integrating latex2diff?) would be 
great. Where those 2 documents came from (svn history, file system, 
somewhere else) should be a separate issue.






Numbered equations placement

2009-01-16 Thread Ehud Kaplan
I have a numbered equation that Lyx insists on indenting, and as a 
result it spills over to the next line.  There is PLENTY   of white 
space on the left of the equation to accommodate the full equation.  Is 
there a way to force it to do the right thing and keep the entire 
equation on one line?




Re: Numbered equations placement

2009-01-16 Thread rgheck

Ehud Kaplan wrote:
I have a numbered equation that Lyx insists on indenting, and as a 
result it spills over to the next line.  There is PLENTY   of white 
space on the left of the equation to accommodate the full equation.  
Is there a way to force it to do the right thing and keep the entire 
equation on one line?



Can you post an example file with just this equation?

Note that it's LaTeX that decides where to split things, assuming you 
are talking about output.


rh



formatting numbered equations

2009-01-16 Thread Ehud Kaplan

/"When all else fails, read the manual"--/
So I did, and found how to prevent Lyx from centering numbered equations:
use the fleqn option in the Document Class under Settings.
This left-justifies the equations, which is not really what I wanted, 
but it prevents the breaking up of the equation that bothered me before.


EK


Use of \definecolor in the preamble

2009-01-16 Thread Nikos Alexandris
Hi list.

(Using LyX 1.6 under Ubuntu II 64-bit).

I want to color some cells in a table. For this I am trying to define
the following in the preamble:
\usepackage{colortbl}

\definecolor{'111'}{rgb}{0.9,0,0.3}
\definecolor{112}{rgb}{1,0,0}
\definecolor{121}{rgb}{0.8,0.3,0.9}
\definecolor{122}{rgb}{0.8,0,0}
\definecolor{123}{rgb}{0.9,0.8,0.8}
\definecolor{124}{rgb}{0.9,0.8,0.9}
# [...] a longer list actually of various red,green,blue combinations


Then, I use ERTs in a table's cells like
\cellcolor{111}

The table's column in which I use the ERT's include only numbers (in
fact, the numbers correspond exactly to the number I use in the preamble
with "\definecolor". The next column includes greek labels (=simply
greek text).

When I try to pre-view the document I read:

Error:
LaTeX Error: Undefined color `{111}'.

Description:
\cellcolor{{111}}111 &
\textgreek{Suneq\char160c} \textgreek{...

Could someone give me a hint to the right direction?
Kind regards, Nikos



Re: Use of \definecolor in the preamble

2009-01-16 Thread Nikos Alexandris
On Fri, 2009-01-16 at 22:22 +0100, Nikos Alexandris wrote:
> Hi list.
> 
> (Using LyX 1.6 under Ubuntu II 64-bit).
> 
> I want to color some cells in a table. For this I am trying to define
> the following in the preamble:
> \usepackage{colortbl}


> \definecolor{'111'}{rgb}{0.9,0,0.3}
# Ooops, that ^^ is {111} and not {'111'}. Sorry :-)

> \definecolor{112}{rgb}{1,0,0}
> \definecolor{121}{rgb}{0.8,0.3,0.9}
> \definecolor{122}{rgb}{0.8,0,0}
> \definecolor{123}{rgb}{0.9,0.8,0.8}
> \definecolor{124}{rgb}{0.9,0.8,0.9}
> # [...] a longer list actually of various red,green,blue combinations
> 
> 
> Then, I use ERTs in a table's cells like
> \cellcolor{111}
> 
> The table's column in which I use the ERT's include only numbers (in
> fact, the numbers correspond exactly to the number I use in the preamble
> with "\definecolor". The next column includes greek labels (=simply
> greek text).
> 
> When I try to pre-view the document I read:
> 
> Error:
> LaTeX Error: Undefined color `{111}'.
> 
> Description:
> \cellcolor{{111}}111 &
> \textgreek{Suneq\char160c} \textgreek{...
> 
> Could someone give me a hint to the right direction?
> Kind regards, Nikos
> 




Re: About reimporting from latex

2009-01-16 Thread Fabio Stumbo

Hi all,

I know that exporting to latex and then reimporting to lyx is not that 
smooth, but I made a simple try which surpise me:


- create a new lyx file, - in Document -> Settings -> Document class choose 
"article (AMS)"

- insert a theorem (even just a word after it, no math nor images)
- export it to latex

This way you get a very simple and clean tex file. Now, in lyx create a new 
file and import the saved tex file: instead of seeing

"Theorem 1. etc."
you see
the ert
\begin{thm} etc. \end{thm}

and it doesn't even compile!

Am I missing something? If not, how is it possible that the conversion 
fails even on a such simple and basic example?


Hmm. I think this is a consequence of modularization of the AMS files. You 
did this in 1.6.x, yes?


Sorry, I forgot to give my settings:
lyx 1.6.1 installed in ubuntu 8.10 via backport repository, with no 
customization and a freshly created default ~/.lyx



We'll have to fix this, if so.


If you do, please let me know what I should do while waiting for the fix 
in the repository.


Thanks

Fabio


Re: Numbering appendices

2009-01-16 Thread Erez Yerushalmi
Hi Ehud,

After doing "start appendix here", like you did
You continue using the Section, subsection, subsubsection system, but now
you should start getting something like
A
A.1
A.1.1
B
B.1

and so on.

Erez


On Fri, Jan 16, 2009 at 7:36 PM, Ehud Kaplan  wrote:

> I did not notice the Start Appendix  Here command.  However, it does not
> seem to number the appendices correctly.   I have four.
> appendices.  When I use the Start Appendix Here followed by Section, I get
> an A (after which I write "Appendix" and the material that constitutes
> Appendix A).  Now I want to have another Appendix (numbered sequentially),
> but I get a  section number, continuous from the  numbers of the sections of
> the article itself.  Is this a bug or a missing feature?
> I know I can do it all by using labels, but I thought there will be some
> better way of doing it.  As it is, I do not see what the Start Appendix Here
> does for me.
>
>
> Bob Lounsbury wrote:
>
>> On Thu, Jan 15, 2009 at 12:47 PM, Ehud Kaplan 
>> wrote:
>>
>>
>>> How do I number appendices?  Lyx numbers them as SECTIONS, and numbers
>>> APPENDIX 1 as Section N+!, where N is the number of the last section
>>> (before
>>> the appendices start).
>>> I would like to be able to refer to the appendices by their numbers in
>>> the
>>> body of the article (as in: "In Appendix 3 we give...")
>>>
>>> Thanks
>>> EK
>>>
>>>
>>>
>>
>> I'm a little confused. To start the appendix you Document->Start
>> Appendix Here and then insert a section which will be numbered 'A
>> Section' not '3 Section'.
>>
>> /Bob
>>
>>
>


-- 
Erez Yerushalmi
PhD Student
Warwick University, UK
http://www2.warwick.ac.uk/fac/soc/economics/research/phds/3rd_year/yerushalmi


Re: Numbering appendices

2009-01-16 Thread Ehud Kaplan
I agree that this is what I SHOULD be getting (that is what I had 
expected), but instead, when I use the Section, subsection, etc.

I get  numbers that simply continue from the last section of the paper.

Erez Yerushalmi wrote:

Hi Ehud,

After doing "start appendix here", like you did
You continue using the Section, subsection, subsubsection system, but 
now you should start getting something like

A
A.1
A.1.1
B
B.1

and so on.

Erez


On Fri, Jan 16, 2009 at 7:36 PM, Ehud Kaplan > wrote:


I did not notice the Start Appendix  Here command.  However, it
does not seem to number the appendices correctly.   I have four.
appendices.  When I use the Start Appendix Here followed by
Section, I get an A (after which I write "Appendix" and the
material that constitutes Appendix A).  Now I want to have another
Appendix (numbered sequentially), but I get a  section number,
continuous from the  numbers of the sections of the article
itself.  Is this a bug or a missing feature?
I know I can do it all by using labels, but I thought there will
be some better way of doing it.  As it is, I do not see what the
Start Appendix Here does for me.


Bob Lounsbury wrote:

On Thu, Jan 15, 2009 at 12:47 PM, Ehud Kaplan
> wrote:
 


How do I number appendices?  Lyx numbers them as SECTIONS,
and numbers
APPENDIX 1 as Section N+!, where N is the number of the
last section (before
the appendices start).
I would like to be able to refer to the appendices by
their numbers in the
body of the article (as in: "In Appendix 3 we give...")

Thanks
EK

   



I'm a little confused. To start the appendix you Document->Start
Appendix Here and then insert a section which will be numbered 'A
Section' not '3 Section'.

/Bob
 





--
Erez Yerushalmi
PhD Student
Warwick University, UK
http://www2.warwick.ac.uk/fac/soc/economics/research/phds/3rd_year/yerushalmi


Re: Numbered equations placement

2009-01-16 Thread Ehud Kaplan

Now I am totally confused.
The problem had disappeared.
The sequence was:

  1. I had the problem I complained about
  2. I got around it by inserting fleqn as a Document Class option
  3. I tried to prepare a file to send you as an example, so I removed
 the fleqn option
  4. When I re-did the pdflatex, the equation was placed correctly (all
 on one line).

Like God, Lyx moves in mysterious ways.  However, since the problem went 
away, all is well, at least Lyxwise.



EK

rgheck wrote:

Ehud Kaplan wrote:
I have a numbered equation that Lyx insists on indenting, and as a 
result it spills over to the next line.  There is PLENTY   of white 
space on the left of the equation to accommodate the full equation.  
Is there a way to force it to do the right thing and keep the entire 
equation on one line?



Can you post an example file with just this equation?

Note that it's LaTeX that decides where to split things, assuming you 
are talking about output.


rh



Re: Numbering appendices

2009-01-16 Thread Erez Yerushalmi
Hi,

You must be doing something wrong or your lyx went crazy.
1. Just a simple idea, make a small test page on a new blank file. Make sure
that your lyx can at least do the right thing.
2. delete the appendix and start over again.

erez




On Fri, Jan 16, 2009 at 10:23 PM, Ehud Kaplan  wrote:

>  I agree that this is what I SHOULD be getting (that is what I had
> expected), but instead, when I use the Section, subsection, etc.
> I get  numbers that simply continue from the last section of the paper.
>
>
> Erez Yerushalmi wrote:
>
> Hi Ehud,
>
> After doing "start appendix here", like you did
> You continue using the Section, subsection, subsubsection system, but now
> you should start getting something like
> A
> A.1
> A.1.1
> B
> B.1
>
> and so on.
>
> Erez
>
>
> On Fri, Jan 16, 2009 at 7:36 PM, Ehud Kaplan  wrote:
>
>> I did not notice the Start Appendix  Here command.  However, it does not
>> seem to number the appendices correctly.   I have four.
>> appendices.  When I use the Start Appendix Here followed by Section, I get
>> an A (after which I write "Appendix" and the material that constitutes
>> Appendix A).  Now I want to have another Appendix (numbered sequentially),
>> but I get a  section number, continuous from the  numbers of the sections of
>> the article itself.  Is this a bug or a missing feature?
>> I know I can do it all by using labels, but I thought there will be some
>> better way of doing it.  As it is, I do not see what the Start Appendix Here
>> does for me.
>>
>>
>> Bob Lounsbury wrote:
>>
>>> On Thu, Jan 15, 2009 at 12:47 PM, Ehud Kaplan 
>>> wrote:
>>>
>>>
 How do I number appendices?  Lyx numbers them as SECTIONS, and numbers
 APPENDIX 1 as Section N+!, where N is the number of the last section
 (before
 the appendices start).
 I would like to be able to refer to the appendices by their numbers in
 the
 body of the article (as in: "In Appendix 3 we give...")

 Thanks
 EK



>>>
>>> I'm a little confused. To start the appendix you Document->Start
>>> Appendix Here and then insert a section which will be numbered 'A
>>> Section' not '3 Section'.
>>>
>>> /Bob
>>>
>>>
>>
>
>
> --
> Erez Yerushalmi
> PhD Student
> Warwick University, UK
>
> http://www2.warwick.ac.uk/fac/soc/economics/research/phds/3rd_year/yerushalmi
>
>


-- 
Erez Yerushalmi
PhD Student
Warwick University, UK
http://www2.warwick.ac.uk/fac/soc/economics/research/phds/3rd_year/yerushalmi


LyX does not like a url which contains the # charachter

2009-01-16 Thread Nikos Alexandris
Whenever I paste-in in a URL-box the link 
http://grass.osgeo.org/intro/firsttime.php#location and try to preview
the document, I get the following error:

You meant to type ## instead of #, right?
Or maybe a } was forgotten somewhere earlier, and things
are all screwed up? I'm going to assume that you meant ##.

Looks like I need some trick to fool LaTeX-related check?

Nikos




Re: Float Tables in Lyx 1.6.1 for Mac?

2009-01-16 Thread Uwe Stöhr

Laura schrieb:

I am trying to use the Float table available in Lyx, 
but when I insert a table, I do not get a dialog box that 
allows me to pick no of rows and columns.


When clicking on the table icon in the toolbar, you can set the number of 
rows/columns.
When you have inserted the table you can add/delete rows/columns using the corresponding table 
toolbar buttons.
For a detailed description of tables, have a look at the Embedded Objects manual that you find in 
the Help menu.


regards Uwe


Re: Lyx Installation problem on Mac OS X

2009-01-16 Thread Bennett Helm
On Fri, Jan 16, 2009 at 11:28 AM, John Schulman  wrote:
> I try to install Lyx 1.6.1 from the Mac OS X binary, and when I run
> the Lyx-installer I get the following error:
> AppleScript Error
> sh: python: command not found
>
> I definitely have python installed. My default version is from the
> enthought distribution (not the original Leopard installation)
> 'which python' typed into bash returns
> /Library/Frameworks/Python.framework/Versions/Current/bin/python

And that's a path you probably don't have set for sh (as opposed to
bash), which is why you're getting the error.

The installer presupposes that you have default installations of tools
like python. You can either create a link for python in a folder
within your sh path or add your installation of python to the sh path
before running the installer.

Bennett


  1   2   >