Math tool bar doesnt apear automaticaly?

2011-01-12 Thread micha

Dear LyX-Team,

somwhow the Math-toolbar isn't apearing automatically anymore in my 
installation? I've tried out many steps, but it seems it stoped working. 
I have to open the toolbar manual every time I type a math formula or I 
have to leave it open all the time.


If I open view->toolbars from the menubar it shows Math (automatic), 
also for the tables and so on. Notice, it worked in the beginning. But 
after I had to reinstall LyX since it had problems converting Images in 
a viewable format?? it stopped working. I used the complete installer 
for installation.


Thanks for help.

Best regards,

Micha Schäfer



Re: Mathmatics...

2010-04-12 Thread Micha Feigin
On Mon, 12 Apr 2010 21:29:00 +0100
Paul Smith  wrote:

> On Mon, Apr 12, 2010 at 8:38 PM, OldDeath  wrote:
> > I'm using a costum keyboard layout (called "neo layout") that allows me to 
> > enter math unicode chars, such as ℂ, ℕ or ℝ, directly from my keyboard. 
> > However these unicode chars arent displayed correctly in the editor area 
> > and are not converted correctly into the output pdf file...
> 
> In math mode, write
> 
> \mathbb + ENTER.
> 
> Afterwards, write R and see the result.
> 
> Paul
> 
Although personally I like the appearance of 

\usepackage{dsfont}
\mathds{R}

better of reals, complex, etc.


Re: width of undersets

2010-04-04 Thread Micha

On 04/04/2010 23:47, Micha wrote:

On 04/04/2010 23:20, Paul A. Rubin wrote:

On 4/4/2010 1:14 PM, Micha wrote:

On 04/04/2010 18:30, Paul A. Rubin wrote:

On 4/4/2010 7:56 AM, Micha wrote:

How do I get undersets not to make the spacing of the equation wrong
when the width of the underset is wider than the equation?

doing $a+\underset{description}{underbrace{b}}+c$ comes out as
a+ b +c
}
description

instead of

a+b+c
}
description

thanks




I suspect what you want is the following (in a math inset):

1. type \underset (space);
2. in the upper box of the inset, type \underbrace (space);
3. enter the formula in the innermost inset;
4. enter the description in the bottom space.

/Paul



That is what I'm doing, the problem is that the spacing is all wrong.
The reply ruined the spaces so I'll use underscores instead. Using your
method I get

a + _ b __ + c
_ }
_ description

While what I want is

a + b + c
___ }
description

here, _ are spaces and } denotes the underbrace (which is supposed to be
only under b)

I remember seeing a solution a couple of years back or so on this list
so I know it's possible, but can't find it anymore.



Putting the underbrace under just the b is easy. If 'b' is replaced by a
sufficiently long expression, the brace will stretch to the width of the
expression, but if 'b' is literally one character, the brace will be
wider than b. Are you asking how to make the brace narrower? I don't
know if that can be done.

If you're doing what I wrote before (but with the brace only under b)
and there's extra space surrounding b that annoys you, I suspect it's
from the brace, not from the description.

As a side note, I noticed that when putting the brace under b only,
sometimes the space between + and c was short-changed. That can be
corrected by inserting space manually.

/Paul


The behavior is to expand the whole block of b, underbrace and
description to the width of the block. The brace is as wide as b, not as
wide as the description (I'm actually using an arrow in this case, but
it doesn't matter), my problem is with the bock width, not the brace width.

I ended up inserting negative vspace, although I seem to recall that
there was a more "correct" solution to the problem.


sorry, of course it's a hspace, not a vspace. And this is what I was trying to 
achieve, just I was hoping not to have to resort to hspace:


I(x,y,\hspace{-0.9em}\underset{\substack{\downarrow\\
\mbox{scale}
}
}{t}\hspace{-0.9em})=I(x,y,0)\otimes\hspace{-5em}\underset{\substack{\downarrow\\
\mbox{Gaussian filter with zero}\\
\mbox{mean and variance t}
}
}{G}\hspace{-5em}\left(t\right)


Re: width of undersets

2010-04-04 Thread Micha

On 04/04/2010 23:20, Paul A. Rubin wrote:

On 4/4/2010 1:14 PM, Micha wrote:

On 04/04/2010 18:30, Paul A. Rubin wrote:

On 4/4/2010 7:56 AM, Micha wrote:

How do I get undersets not to make the spacing of the equation wrong
when the width of the underset is wider than the equation?

doing $a+\underset{description}{underbrace{b}}+c$ comes out as
a+ b +c
}
description

instead of

a+b+c
}
description

thanks




I suspect what you want is the following (in a math inset):

1. type \underset (space);
2. in the upper box of the inset, type \underbrace (space);
3. enter the formula in the innermost inset;
4. enter the description in the bottom space.

/Paul



That is what I'm doing, the problem is that the spacing is all wrong.
The reply ruined the spaces so I'll use underscores instead. Using your
method I get

a + _ b __ + c
_ }
_ description

While what I want is

a + b + c
___ }
description

here, _ are spaces and } denotes the underbrace (which is supposed to be
only under b)

I remember seeing a solution a couple of years back or so on this list
so I know it's possible, but can't find it anymore.



Putting the underbrace under just the b is easy. If 'b' is replaced by a
sufficiently long expression, the brace will stretch to the width of the
expression, but if 'b' is literally one character, the brace will be
wider than b. Are you asking how to make the brace narrower? I don't
know if that can be done.

If you're doing what I wrote before (but with the brace only under b)
and there's extra space surrounding b that annoys you, I suspect it's
from the brace, not from the description.

As a side note, I noticed that when putting the brace under b only,
sometimes the space between + and c was short-changed. That can be
corrected by inserting space manually.

/Paul


The behavior is to expand the whole block of b, underbrace and description to 
the width of the block. The brace is as wide as b, not as wide as the 
description (I'm actually using an arrow in this case, but it doesn't matter), 
my problem is with the bock width, not the brace width.


I ended up inserting negative vspace, although I seem to recall that there was a 
more "correct" solution to the problem.


Re: width of undersets

2010-04-04 Thread Micha

On 04/04/2010 18:30, Paul A. Rubin wrote:

On 4/4/2010 7:56 AM, Micha wrote:

How do I get undersets not to make the spacing of the equation wrong
when the width of the underset is wider than the equation?

doing $a+\underset{description}{underbrace{b}}+c$ comes out as
a+ b +c
}
description

instead of

a+b+c
}
description

thanks




I suspect what you want is the following (in a math inset):

1. type \underset (space);
2. in the upper box of the inset, type \underbrace (space);
3. enter the formula in the innermost inset;
4. enter the description in the bottom space.

/Paul



That is what I'm doing, the problem is that the spacing is all wrong. The reply 
ruined the spaces so I'll use underscores instead. Using your method I get


a + _ b __ + c
_ }
_ description

While what I want is

a + b + c
___ }
description

here, _ are spaces and } denotes the underbrace (which is supposed to be only 
under b)


I remember seeing a solution a couple of years back or so on this list so I know 
it's possible, but can't find it anymore.


width of undersets

2010-04-04 Thread Micha
How do I get undersets not to make the spacing of the equation wrong when the 
width of the underset is wider than the equation?


doing $a+\underset{description}{underbrace{b}}+c$ comes out as
a+  b  +c
}
   description

instead of

   a+b+c
 }
description

thanks



Re: ANNOUNCE: LyX version 2.0.0 (alpha 1)

2010-03-31 Thread Micha Feigin
On Wed, 31 Mar 2010 15:35:42 +0200
Sebastian Rockel  wrote:

> Am 31.03.2010 um 14:47 schrieb Pavel Sanda:
> 
> > Sebastian Rockel wrote:
> >> Here in the mac version I cannot enable it due to everything on that pref 
> >> pane is grayed out:-/
> > 
> > normal spellcheck works?
> 
> Also the menu item is grayed out (F7 doesn't do it either).
> I just double checked Lyx 1.6.5 with aspell 0.60.6 (MacPorts) and it works 
> fine.
> Running on Mac OSX 10.6.3.
> 
> Sebastian
>

Sounds to me like you didn't have the aspell development libraries (or other
spell developement libraries) when configuring. I also had that problem under
linux (debian). I installed libaspell-dev and now spelling is working. Not sure
what the right package is under OsX or how to install it though.
 
> 
> > pavel
> 


Re: Suppressing page numbers in lyx 1.6.5

2010-03-18 Thread Micha


I'm not sure if it's a bug or a feature, but in some case the  
pagestyle is ignores for the first page


Try at the start of the document to add in evil red text (Tex code)  
\thispagestyle{empty} (I hope I haven't miss spelled this)



ב-18/03/2010, בשעה 01:38, Paul Rubin  כתב/ה:


Jim Rockford  writes:



I'm running Lyx on Windoze 7 (64bit).  I was under the impression  
that the

following document style setting will suppress page numbers:

Document --> Settings --> Page Layout --> Headings Style --> empty

However, in the single-page document (article style) that I'm  
currently
working on, I still get the page number 1 at the bottom of the page  
when I

generate the PDF.  Am I doing something wrong?  Are there alternative
methods for suppressing page numbers?



You're doing it correctly, and it should work (works fine for me  
here).  You
might try View > View Source, click the option for complete source,  
and verify
that \pagestyle{empty} shows up early in the LaTeX code. Other than  
that, is
there anything funky in your preamble that might be overriding the  
page style

command?


Re: Spell checker

2010-03-17 Thread Micha Feigin
I initially had the same problem on linux. If I recall correctly, when I
compiled lyx 2 for the first time I didn't have the aspell development files
installed (libaspell-dev package under debian) so the configuration run didn't
find it and compiled lyx without aspell support.

I later installed it and recompiled but I also had to delete the .lyx-2.0 user
directory and let lyx reconfigure for it to enable spell support. A simple
reconfigure wasn't enough.

I am seeing two small problems with the inline spell checker though
1. It's leaving around some of the red wigly lines, they are not fully cleaned
up properly when not needed any more
2. It won't work inside some of the inset (lyx note comes to mind, don't recall
about others) as it's popping up the inset menu instead of the spell menu. The
two menus should be combined

On Wed, 17 Mar 2010 10:27:50 +0100
Julio Rojas  wrote:

> Dear Marshall, I tried every possible trick with Aspell and
> CocoAspell, to no avail. The work, but it's like the dictionary is
> empty. A very bad experience.
> 
> There are not enough testers and developers using MacOS X and I think
> we lag behind in usability. Right now I don't have enough time, But I
> hope this changes my mid year.
> 
> Until then, I hope someone gets to the solution. Best regards.
> -
> Julio Rojas
> jcredbe...@gmail.com
> 
> 
> 
> On Wed, Mar 17, 2010 at 1:49 AM, Marshall Feldman  wrote:
> >
> > I have the same problem on a Mac (Leopard), and I do have admin. privileges.
> >
> >    Marsh Feldman
> >
> > On 2:59 PM, Daniel Ng wrote:
> >>
> >> Hi all
> >>
> >>
> >>
> >> I have downloaded the latest version of Lyx for windows and having
> >> troubles
> >> installing the spell checker function on my windows 7 machine. I installed
> >> Aspell on to my computer and found that the spell checker still fails to
> >> work. I also have obtained the latest English dictionaries and placed them
> >> under Aspell program data under folders data and dictionary and still
> >> obtain
> >> errors while using lyx.
> >>
> >>
> >>
> >> The current error that I obtain when trying to use the spell checker is "
> >> Spellchecker cannot be loaded,
> >> C:\programdata\aspell\Dictionaries/en-common.rws cannot be opened for
> >> reading"
> >>
> >> I have searched on google, Lyx, Aspell, wiki documents  and found nothing.
> >> During this time of trying to actually solve this problem, there is a
> >> clear
> >> lack of documentation for installing Aspell and installing the dictionary
> >> files for windows as the program is more Linux orientated.
> >>
> >>
> >>
> >> As other guides state you should copy the dictionaries into the Aspell
> >> directory, is this correct? Other guides in linux state you should compile
> >> these dictionaries. So I am currently confused on what i am suppose to do.
> >>
> >>
> >>
> >> Is there any chance of someone providing a  step by step instructions for
> >> installing Aspell and dictionaries on to lyx for windows? Or providing
> >> information in correcting my problem.
> >>
> >>
> >>
> >>
> >>
> >> Thanks
> >>
> >>
> >>
> >> Daniel
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >
> > --
> > Dr. Marshall Feldman, PhD
> > Director of Research and Academic Affairs
> > CUSR Logo
> > Center for Urban Studies and Research
> > The University of Rhode Island
> > email: marsh @ uri .edu (remove spaces)
> >
> >
> >     Contact Information:
> >
> >
> >       Kingston:
> >
> > 202 Hart House
> > Charles T. Schmidt Labor Research Center
> > The University of Rhode Island
> > 36 Upper College Road
> > Kingston, RI 02881-0815
> > tel. (401) 874-5953:
> > fax: (401) 874-5511
> >
> >
> >       Providence:
> >
> > 206E Shepard Building
> > URI Feinstein Providence Campus
> > 80 Washington Street
> > Providence, RI 02903-1819
> > tel. (401) 277-5218
> > fax: (401) 277-5464
> >
> 


pgf shapes.arrows and connecting two points

2010-03-14 Thread Micha

This is more latex than lyx but I was hoping someone here knows the answer

I'm trying to see if it's possible to connect two points on the graph with the 
pgf fancy arrows from the shape library. That is

\node at (1,1) [double arrow, fill, color=green!70!black] {arrow};

I managed to put an arrow at a point (1,1 at the previous example) but I don't 
see how to get each end to rest at a give point (I need a path and not a point). 
Is it even possible, and if so, is it possible to do it with 90 degree bends? i.e


A
^
|
|
|B

Thanks


Re: how to get text effects in beamer (3d, shadow)

2010-03-05 Thread Micha Feigin
On Sat, 06 Mar 2010 00:55:39 +0100
Stefaan Himpe  wrote:

> > Is there anything that can do that in lyx/beamer/latex?
> Not sure if that is acceptable to you, but imagemagick can easily create
> such drawings for you.
> 
> See e.g. http://www.imagemagick.org/Usage/fonts/
> 
> Best regards,
> Stefaan.
> 

I've gotten close by using \write18 to create the image to include. Still not 
ideal as I'm not sure about getting a two line title but that is minor.

The question remains now of how to achieve the 3d effect with an external 
program so that I get the text image to include. Got the shadow rather easily 
but can't manage to get the highlights for the text. Any idea? (gotten close 
with gimp but I don't know how to automate it, still far away with convert)

It's still only tested with straight latex, will see how to handle \write18 
from within lyx later on


Re: how to get text effects in beamer (3d, shadow)

2010-03-05 Thread Micha

On 06/03/2010 01:55, Stefaan Himpe wrote:

Is there anything that can do that in lyx/beamer/latex?

Not sure if that is acceptable to you, but imagemagick can easily create
such drawings for you.

See e.g. http://www.imagemagick.org/Usage/fonts/

Best regards,
Stefaan.


If it's possible to call it from inside latex then it's a good solution. I want 
to create a beamer theme that takes the slide header and typesets the text with 
a 3d effect, so I need something that works as a latex package and commands.


I've also looked into asymptote, but don't see anything that seems to be able to 
do the job either ...


I'm looking for something that can work like tikz or asymptote, i.e include a 
package, wrap the text with some commands and get the effect


how to get text effects in beamer (3d, shadow)

2010-03-05 Thread Micha
I'm trying to port a powerpoint presentation to lyx with beamer. The one problem 
I ran into is reproducing a 3d text effect similar to

http://www.math.tau.ac.il/~michf/example.jpg
I found a package that does the shadow (and some mirror and other effects in 
tik-z) but could find anything that can do highlights on text to get the 3d effects.
I even tried downloading a font creation tool and create a new font with these 
glyphs instead of producing the effect, but it seems that fonts can only contain 
b/w bitmaps as far as I can tell and no highlight effects


Is there anything that can do that in lyx/beamer/latex?

Thanks


bevel and shadow effects for beamer

2010-02-20 Thread Micha Feigin
I'm trying to port a powerpoint presentation to beamer, but it has to mostly
mimic the original design. I'm done most things, the only thing I can't figure
out if it's even possible is to get a 3d effect on slide title fonts (bevel +
shadow). Is there a way to do it with beamer?

I found the outline package or fontspec + xetex for shadows and such, but I
can't get the bevel effect (inner shadow and highlight to get the 3d effect).

thanks


Re: inserting c code in beamer presentation

2009-11-30 Thread Micha

On 30/11/2009 17:35, Jürgen Spitzmüller wrote:

Uwe Stöhr wrote:

However, I also get the same error and it seems that the listings package
  doesn't work together with  beamer.


Not true. You just need the "fragile" frame option, which does not work with
\lyxframe.

See my previous post.

Jürgen


Or you can insert the listing as an external material (from an external file 
instead of copying it into the presentation) and then you don't need the fragile 
part.


generating {|} in math mode

2009-10-24 Thread Micha Feigin
how do I generate a group definition such as
{ x | x > 0 }
with variable height braces? I can create the outside braces using left\{ and 
right\} (or matching braces from the braces menu) but the central one doesn't 
fit it, and if I add a | with a matching empty left or right element the sizes 
don't match


Re: Presentations in lyx

2009-09-27 Thread Micha Feigin
On Sun, 27 Sep 2009 11:02:00 +0200
"Witold (grizz) Firlej"  wrote:

> On Sun, Sep 27, 2009 at 02:57, Adrian Diaz  wrote:
> > Hi Friends
> >
> > I have written my thesis with lyx 1.6.3 on windows vista, and it is very
> > nice.
> > But now,  i need to make a presentation. Could you tell me how i can prepare
> > the presentation?
> > and do you know where there are some examples of them ( i mean examples).?
> >
> >                     Thanks in advance  Adrián
> >
> 
> Look at "beamer" in lyx wiki.
> 
> 

There is also a beamer template, try doing
file->new from template
and look for the beamer template. It's worth also looking at the documentation 
for beamer. Some things are implemented by now, some aren't (there is a, 
article(beamer) class for the hand outs)


Re: Fehlermeldung

2009-09-24 Thread micha
Guenter Milde  writes:

> 
> On 2009-09-24, micha wrote:
> >  k = $1,38
> > 10^{-23}VAs/K$ die Boltzmannkonstante \tabularnewline
> > I wasn't able to read the size data for this font,
> > so I will ignore the font specification.
> > [Wizards can fix TFM files using TFtoPL/PLtoTF.]
> > You might try inserting a different font spec;
> > e.g., type `I\font='.
> 
> > is showen when i make a pdf...
> 
> Please provide more input (selected font, ) or (best) a "minimal example"
> (smallest possible LyX file that exhibits the problem.
> 
> Günter
> 
> 
OK...

I whant to use ° signe for my diploma and one time it ist no problem to make a
pdf out of my dokument and than afer a while lyx writes this massage. after i
eras all the ° it works and than i can put them back and i can print it whith °.
But afer a while the massage cames back...

.. it sunds a bit strange i now... :-(






Fehlermaeldung

2009-09-24 Thread micha
 k = $1,38
10^{-23}VAs/K$ die Boltzmannkonstante \tabularnewline
I wasn't able to read the size data for this font,
so I will ignore the font specification.
[Wizards can fix TFM files using TFtoPL/PLtoTF.]
You might try inserting a different font spec;
e.g., type `I\font='.

is showen when i make a pdf...




Re: Program listings with beamer probelm

2009-07-12 Thread Micha Feigin

Micha Feigin wrote:

Hello,

I'm trying ot include a program listing in a beamer presentation. Using just
the simple insert->program listing fails to compile with an error
Paragraph ended before \...@next was complete.
If I set the listing to inline, compilation works but the listing is completely
messed up (lines are in the wrong order, some line breaks are missing ...).
Inserting a listing from file (insert->file->child document->program listing)
works, but is very annoying for short ones

Any way to solve this?

thanks


Seems from a thread I found that I need to somehow add fragile to the frame but I can't 
figure out how to do it without ert. Seems like the \lyxframe macro is rather messed up. I 
tried using insert short title which adds an opt entry but that gives an error that the 
pdf file can't be found


Program listings with beamer probelm

2009-07-12 Thread Micha Feigin
Hello,

I'm trying ot include a program listing in a beamer presentation. Using just
the simple insert->program listing fails to compile with an error
Paragraph ended before \...@next was complete.
If I set the listing to inline, compilation works but the listing is completely
messed up (lines are in the wrong order, some line breaks are missing ...).
Inserting a listing from file (insert->file->child document->program listing)
works, but is very annoying for short ones

Any way to solve this?

thanks


Include a movie in a beamer presentation under linux

2009-07-09 Thread Micha Feigin
Is it possible to include a movie inside a beamer presentation created under
linux and played under linux? I found the movie15 package but the movie plays
only under windows acrobat but not with linux acrobat. Are there any
alernatives?

thanks


Re: Using article(beamer) and presentation(beamer) at the same time

2009-07-01 Thread Micha Feigin
On Wed, 01 Jul 2009 11:22:20 +0200
Nikos Alexandris  wrote:

> 
> Rainer:
> > 1) When I export the lyx file, it obviously overwrites the one with
> > the other. I therefore have to export the article(beamer), rename it,
> > change the document class to presentation(beamer), export it again and
> > preferably rename it as well to make sure that I don't overwrite it
> > again after I changed the document class to presentation(beamer). Is
> > there a way of automatically adding _article when the article is
> > selected and _presentation when presentation is selected?
> 
> > 2) following that, is there a way of creating both at the same time?
> > Effectively exporting, renaming, changing, exporting, renaming as a
> > script which is executed when I export?
> 
> Hi Rainer!
> 
> Ehm... I am curious: do you use the "same" document to export once as an
> article and once as a presentation? If so, how does it work?
> 
> If not, then what's the big deal of giving different names (as one
> should do) to your documents (article != presentation).
> 

The whole idea behind article and presentation mode beamer is that you can have
both versions in the same file. I find it more useful for printed slides vs.
presented slides though then article and presentation in the same file.

The OP's question though I don't know how to answer, I have the same problem
when using branches to have an exercise and solutions in the same file and
print it once with the solution and once without.

> Kind regards, Nikos
> 


Re: Posters in LyX

2009-06-20 Thread Micha Feigin
On Thu, 18 Jun 2009 19:58:38 -0500
Daniel Joshua Stark  wrote:

> Dear All,
> 
> I was wondering if LyX can handle making posters.  I've looked around  
> some, and I don't believe it can.  However, I wanted to ask you all  
> first before giving up on using it to make one.
> 
> Thanks!
> 

It can be done, not necessarily the best and or easiest way though.
For the poster I use a0poster from here
http://andreas.welcomes-you.com/projects/a0poster/
which I think may be newer than this
http://www.stats.ox.ac.uk/~marchini/a0poster.html

Looks like there is some kind of layout file here
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg63740.html
don't know how good it is or if it still alive.

I find it best to combine multicols and for boxes either minipage and for a
fancier look pdfpages with beamer

For more complicated stuff I use scribus


Output resolution of PDF

2009-05-25 Thread Micha Feigin
I'm trying to include equations created in lyx/latex inside a scribus poster (The scribus 
plugin doesn't seem to do what I want). The output resolution is too low though (seems to 
be 72dpi) and the fonts look really bad. Is there a way to get latex to output the 
document at a higher resolution? (I'm using the palatino font at the moment)


Thanks


Re: Embedding documents/text files in PDF

2009-05-04 Thread Micha Feigin
On Mon, 04 May 2009 23:47:53 +0200
Uwe Stöhr  wrote:

> Parul Bali schrieb:
> 
> > This may  sound strange, but does anybody know if its possible to embed text
> > file or doc file in a PDF generated from Lyx/Latex?  I have seen facility to
> > attach documents to PDFs through  Adobe writer.  Is the same possible
> > through Lyx/Latex?
> 
> You can convert the document that you want to include to PDF. Then you can 
> insert it via PDFpages, 
> see sec. 6.1 of the EmbeddedObjects manual that you find in LyX's Help menu.
> 
> regards Uwe
> 

for text files you can also probably abuse the listing package to include an 
external program
insert->file->child document
and change the type to program listing. Verbatim may also give you what you 
want.


Re: LyX and XeTeX - how to preview PDF?

2009-04-19 Thread Micha Feigin
On Sun, 19 Apr 2009 22:16:49 +0200
"Kosta Welke"  wrote:

> Hi!
> 
> I'm trying to use LyX together with Xetex and thanks to strangers on the 
> internet, it actually works. I updated the wiki under 
> http://wiki.lyx.org/LyX/XeTeX so that it might work for other people, too. 
> 
> There's one problem, though: As XeTeX must run through the xelatex, which is 
> a different lyx file format, the preview PDF button does not work anymore 
> (exporting using pdflatex gives an error, as you need to export using 
> xelatex). What is the best/quickest/working way to get the "preview/update 
> PDF" buttons to export using XeTeX instead of pdflatex? (optimally, this 
> would be a document setting).
> 
> Thanks in advance for your help!
> 
> Cheers,
> Kosta
> 
> 

It's a dirty hack that would work only if you always want to use xetex instead
of pdflatex. You can go into preferences->converters->Latex(pdflatex) and
change the converter from pdflatex to xetex


RE: collecting items

2009-03-28 Thread Micha Feigin
If it's lyx or latex documents you can just copy and paste. Lyx will work as
is. Latex math you need to either paste into an existing math block or paste
as normal text, then select the math parts and press Ctrl-M to create a math
block of the text.

If it's openoffice it may be possible to export to latex first and then
possibly import it into lyx (don't know how well the math export works).

If it's word or pdf you are probably stuck with rewriting the equations

-Original Message-
From: news [mailto:n...@ger.gmane.org] On Behalf Of pol
Sent: Saturday, March 28, 2009 21:31
To: lyx-users@lists.lyx.org
Subject: collecting items

Often i have to pick up math questions from several previously made
documents to build up a new one (homework, test, other deliverables).

I would like to hear about your suggestions to effectively accomplish such
task. 


Thank you
---P




Re: LyX, LaTeX, Unicode, Hebrew and the Pondering Me

2009-03-22 Thread Micha Feigin
On Sun, 22 Mar 2009 16:26:22 +0100
Uwe Stöhr  wrote:

> Shahar Or schrieb:
> 
> > There's one thing I'm curious about; why is this software, when I
> > configure it for writing documents in Hebrew, uses Latin9 and cp1255?
> > cp1255 is an MS Windows encoding which I've never seen used by default
> > in any Free Software.
> 
> Cp1255 works also on Linux as reported and therefore once implemented by our 
> Hebrew developers.
> UTF-8 for LaTeX is work in progress: XeTeX becomes more and more stable and 
> we'll support it 
> hopefully for LyX 2.0.

I don't know if this is the best option and didn't test it extensively, but
changing the latex command for pdflatex from pdflatex to xetex worked at least
as a test.

> For now UTF8 (that you can already choose) doesn't cover all glyphs. More 
> information about the 
> current Unicode support is listed in the Appendix B.7 "Language" of the LyX 
> UserGuide that you fin 
> in the Help menu of LyX 1.6.x.
> There's also a Wiki page describing how to use LyX for Hebrew:
> http://wiki.lyx.org/Windows/Hebrew
> (also with links to Linux-specific stuff)
> and
> http://wiki.lyx.org/LyX/HebrewOnLinux
> 
> regards Uwe
> 


Re: LyX, LaTeX, Unicode, Hebrew and the Pondering Me

2009-03-22 Thread Micha Feigin
On Sun, 22 Mar 2009 10:44:13 +0200
Shahar Or  wrote:

> On א', 2009-03-22 at 00:34 -0500, David Romano wrote:
> > I wasn't sure if Micha sent this to you separately, too, so I thought I'd 
> > forward it -- sorry if you've already received it (and possibly many times 
> > from people who had the same idea as me)!
> 
> Thank you, David. You were the only one with this idea!
> > 
> > -- Forwarded message --
> > Date: Sun, 22 Mar 2009 02:04:34 +0200
> > From: Micha Feigin 
> > To: lyx-users@lists.lyx.org
> > Subject: Re: LyX, LaTeX, Unicode, Hebrew and the Pondering Me
> > 
> > On Sat, 21 Mar 2009 22:43:43 +0200
> > Shahar Or  wrote:
> > 
> > > Dear Lyx Users,
> > >
> > > I'm not a TeX user.
> > >
> > > I've installed Ubuntu's 1.5.6 and some Hebrew related LaTeX packages and
> > > got to writing a document right away.
> > >
> > 
> > Lyx 1.6.1 at least if not 1.6.2 is already out, probably worth upgrading
> 
> Upgraded to 1.6.1. Doesn't have that silly clown anymore!
> > 
> > > There's one thing I'm curious about; why is this software, when I
> > > configure it for writing documents in Hebrew, uses Latin9 and cp1255?
> > > cp1255 is an MS Windows encoding which I've never seen used by default
> > > in any Free Software.
> > >
> > > Also, I'd like to know, please, why isn't LyX using UTF-8 as a default
> > > encoding? When I write my document in Hebrew and I want to throw in a
> > > word in English, do I really have to go
> > > "\inputencoding{Latin9}\L{something}\inputencoding{cp1255}" in the
> > > middle of my otherwise quite sane flow of writing?
> > >
> > 
> > This is a latex limitation as latex doesn't support utf8. You can use xetex
> > which knows utf8 but it's not easy yet with lyx (actually can be done
> > relatively easily but not in a clear way). On the other hand, even with 
> > xetex
> > and utf8, latex needs to know the directionality of the text. If you use 
> > xetex
> > and don't change the language officially, each word by itself is going to 
> > be in
> > the right direction and language, but the words in the sentence are going 
> > to be
> > reversed.
> 
> I'm curious to know whether support for XeTeX in LyX is being worked on.
> Does anyone know?
> 
> Would bringing UTF-8 to LaTeX break anything?
> > 
> > Actually, input encoding is a lyx issue but it's due to the encoding of the
> > actual text that lyx uses. AFAIK cp1255 is mostly compatible with 
> > iso-8859-8,
> > not sure about the logical vs visual directionality though
> > 
> > As for "\inputencoding{Latin9}\L{something}\inputencoding{cp1255}", you 
> > don't
> > input it yourself, you let lyx do it. If you setup lyx properly, changing 
> > the
> > language is just an issue of pressing f12 (or whatever you assigned to it)
> 
> Good to know. In my Desktop F12 is assigned to Guake. I guess this is
> why the "language" shortcut under "Cursor, mouse and editing options"
> doesn't have a key assigned to it. I've assigned Alt+L to it but it
> doesn't seem to do anything when I click it and the English words that I
> type after clicking it are still ordered RTL.

For me it is assigned to "language hebrew", don't know if it makes a difference
In preferences->language settings I also enabled rtl support

> > 
> > > I am also not a software developer.
> > >
> > > Many blessings!
> > >
> > > (not subscribed to list)


Re: LyX, LaTeX, Unicode, Hebrew and the Pondering Me

2009-03-21 Thread Micha Feigin
On Sat, 21 Mar 2009 22:43:43 +0200
Shahar Or  wrote:

> Dear Lyx Users,
> 
> I'm not a TeX user.
> 
> I've installed Ubuntu's 1.5.6 and some Hebrew related LaTeX packages and
> got to writing a document right away.
> 

Lyx 1.6.1 at least if not 1.6.2 is already out, probably worth upgrading

> There's one thing I'm curious about; why is this software, when I
> configure it for writing documents in Hebrew, uses Latin9 and cp1255?
> cp1255 is an MS Windows encoding which I've never seen used by default
> in any Free Software.
> 
> Also, I'd like to know, please, why isn't LyX using UTF-8 as a default
> encoding? When I write my document in Hebrew and I want to throw in a
> word in English, do I really have to go
> "\inputencoding{Latin9}\L{something}\inputencoding{cp1255}" in the
> middle of my otherwise quite sane flow of writing?
> 

This is a latex limitation as latex doesn't support utf8. You can use xetex
which knows utf8 but it's not easy yet with lyx (actually can be done
relatively easily but not in a clear way). On the other hand, even with xetex
and utf8, latex needs to know the directionality of the text. If you use xetex
and don't change the language officially, each word by itself is going to be in
the right direction and language, but the words in the sentence are going to be
reversed.

Actually, input encoding is a lyx issue but it's due to the encoding of the
actual text that lyx uses. AFAIK cp1255 is mostly compatible with iso-8859-8,
not sure about the logical vs visual directionality though

As for "\inputencoding{Latin9}\L{something}\inputencoding{cp1255}", you don't
input it yourself, you let lyx do it. If you setup lyx properly, changing the
language is just an issue of pressing f12 (or whatever you assigned to it)

> I am also not a software developer.
> 
> Many blessings!
> 
> (not subscribed to list)


Re: listings in beamer don't work?? (1.6.2)

2009-03-20 Thread Micha Feigin
On Fri, 20 Mar 2009 18:12:05 +0200
Micha Feigin  wrote:

> On Fri, 20 Mar 2009 10:06:15 -0400
> Neal Becker  wrote:
> 
> > I found the info in beameruserguide.pdf.  It says you need to add [fragile] 
> > to \begin{frame}
> > 
> > How would I be able to do this in lyx?  (lyx inserts \lyxframe to start a 
> > beamer frame)
> > 
> > 
> 
> You need to insert a new frame and the at the begining of the frame title
> insert an ert with [fragile]. Not as the next line but as the beginning of the
> frame title.
> 
> Another solution is to insert the listing from a file. That works with no 
> issues
> 

Doesn't seem like the \begin{frame}[fragile] solution works, tried it in ert
completely and it still didn't work. My solution was to write the listings in a
text file and include it. A bit more cumbersome but it wokrs


Re: listings in beamer don't work?? (1.6.2)

2009-03-20 Thread Micha Feigin
On Fri, 20 Mar 2009 10:06:15 -0400
Neal Becker  wrote:

> I found the info in beameruserguide.pdf.  It says you need to add [fragile] 
> to \begin{frame}
> 
> How would I be able to do this in lyx?  (lyx inserts \lyxframe to start a 
> beamer frame)
> 
> 

You need to insert a new frame and the at the begining of the frame title
insert an ert with [fragile]. Not as the next line but as the beginning of the
frame title.

Another solution is to insert the listing from a file. That works with no issues


Re: Why does lyx use it's own keyboard instead of the systems?

2009-03-10 Thread Micha Feigin
On Tue, 10 Mar 2009 11:44:46 +0200
Ronen Abravanel  wrote:

> Before you rush into this change - Consider the following usecase:
> Switching to math - When I'm in math-mode, I always want my keyboard layout
> to be English. While In windows, The current keyboard layout override the
> global one (If you put the cursor in an Hebrew context, the language will
> switch to Hebrew, If you put your cursor in English context - you'll write
> in English).
> When I'm writing document, I want the Ctrl+m will be the only thing I need
> to do in order to start typing math. "Ctrl-m Alt-Shift" Is match to
> expensive..
> 

good point, but you also have two input senarios in math.
1. Entering parameters (regular typing). AFAIK it should always be in english
because I don't think that latex can handle anything else
2. in text mode inside math mode, where you want to be able to type both
(although at the moment it requires explicitly entering the \R{} macro to get
hebrew in there

Does everyone agree on the first point and are you willing to manually change
in the second case or do you want some other behviour?

> So - If LyX will use the native-system-keyboard-layout - It will have to be
> able to change it depending the current context (Math\Regular) - And in
> every OS.
> 
> On Tue, Mar 10, 2009 at 9:59 AM, Abdelrazak Younes  wrote:
> 
> > Micha Feigin wrote:
> >
> >> Sorry, sent off list by mistake
> >>
> >> On Mon, 9 Mar 2009 22:05:51 +0100
> >> Jean-Marc Lasgouttes  wrote:
> >>
> >>  There are two issues. For running the dictionary you need to know  the
> >>>> language.
> >>>> For hebrew and arabic it's another issue, you need to know the  system
> >>>> language
> >>>> so that you know directionality. Hebrew is right to left. For  hebrew
> >>>> characters
> >>>> it may be easy to decide, for what about spaces and numbers? For  these
> >>>> we need
> >>>> to know the system keyboard language and not guess it from the
> >>>>  character.
> >>>>
> >>>> Under windows I know it's possible since for example word does it.
> >>>>  Question is
> >>>> whether this is possible to know under linux (I guess so since  there
> >>>> are panel
> >>>> applets that show the language). Which again comes down to the  question
> >>>> whether
> >>>> there is a technical issue why to work this way or not.
> >>>>
> >>> So you want to change language when the keyboard layout is changed at
> >>>  system level, right?
> >>> I never thought of these layouts as indicators of the actual  language.
> >>> If Qt gives us
> >>> this information, we should be able to do it.
> >>>
> >>> JMarc
> >>>
> >>>
> >> For every other program the system language is used for input (alt-shift
> >> in my
> >> case). So for example when writing mail or using oowriter I change the
> >> system
> >> language to change input. Lyx is the only exeption where I __have__ to
> >> keep the
> >> system language for english and bind (f12 in this case) to language
> >> hebrew. It
> >> makes things incosistent and non-intuitive, esspecially for new users.
> >>
> >
> > I agree. For RTL languages, it makes a lot of sense to change the current
> > language together with the system. Advanced users wishing to change the
> > language independently should be able to disable this feature though.
> >
> > Now, you have to find someone willing to implement this feature ;-)
> >
> > FYI, a year or two ago I advocated that the text direction should be based
> > uniquely on the encoding, independently of the language settings, like Qt
> > does. But I failed to convince other developers.
> >
> > Dov, are you reading this? ;-)
> >
> > Abdel.
> >
> >


Re: Why does lyx use it's own keyboard instead of the systems?

2009-03-09 Thread Micha Feigin
Sorry, sent off list by mistake

On Mon, 9 Mar 2009 22:05:51 +0100
Jean-Marc Lasgouttes  wrote:

> > There are two issues. For running the dictionary you need to know  
> > the language.
> > For hebrew and arabic it's another issue, you need to know the  
> > system language
> > so that you know directionality. Hebrew is right to left. For  
> > hebrew characters
> > it may be easy to decide, for what about spaces and numbers? For  
> > these we need
> > to know the system keyboard language and not guess it from the  
> > character.
> >
> > Under windows I know it's possible since for example word does it.  
> > Question is
> > whether this is possible to know under linux (I guess so since  
> > there are panel
> > applets that show the language). Which again comes down to the  
> > question whether
> > there is a technical issue why to work this way or not.
> 
> So you want to change language when the keyboard layout is changed at  
> system level, right?
> I never thought of these layouts as indicators of the actual  
> language. If Qt gives us
> this information, we should be able to do it.
> 
> JMarc
> 

For every other program the system language is used for input (alt-shift in my
case). So for example when writing mail or using oowriter I change the system
language to change input. Lyx is the only exeption where I __have__ to keep the
system language for english and bind (f12 in this case) to language hebrew. It
makes things incosistent and non-intuitive, esspecially for new users.


Re: Why does lyx use it's own keyboard instead of the systems?

2009-03-09 Thread Micha Feigin
On Mon, 9 Mar 2009 07:53:12 + (UTC)
Guenter Milde  wrote:

> On 2009-03-07, Micha Feigin wrote:
> 
> > ... I was wondering why lyx uses it's own keyboard switching,
> > especially for hebrew. Is it a technological issue or just that no one
> > had the time/interest to implement this yet?
> 
> * LyX does not necessariyl use its own keyboard switching but provides
>   this as an alternative.
>   
> * One LyX developer preferred to keep the rest of his system in English
>   when writing Hebrew in LyX. This is why he insisted on keeping the
>   parallel feature.
> 
> > Is it even possible to know what language is chosen on all the systems
> > lyx is implemented on 
> 
> LyX recognizes the "locale" setting and uses it to "speak to you" in
> native tongue (if possible) -- my LyX speaks German.
> 

I don't care what language it speaks, that is trivial, it's a question of
changing the writing language inside the paragraph or between paragraphs.

> It would also be possible to use this to set the document language for
> new documents. However:
> 
> > or does the language need to be guessed based on each character?
> 
> it is not possible (in general) to determine the language from a
> character: If LyX sees an 'ü', should this be German, Hungarian, or
> Turkish. And how about "Häagen Dasz" or "TεX"? No language switch needed.
> 
> (The case is somewhat simplified with Greek or Hebrew characters, but
> even then you dont know whether it is Hebrew, New-Hebrew or Yiddish.)
> 

There are two issues. For running the dictionary you need to know the language.
For hebrew and arabic it's another issue, you need to know the system language
so that you know directionality. Hebrew is right to left. For hebrew characters
it may be easy to decide, for what about spaces and numbers? For these we need
to know the system keyboard language and not guess it from the character.

Under windows I know it's possible since for example word does it. Question is
whether this is possible to know under linux (I guess so since there are panel
applets that show the language). Which again comes down to the question whether
there is a technical issue why to work this way or not.

> But the problematic cases were ASCII chars in a Greek or Heberew
> document: the choice of alternative language is just too big to give a
> sensible guess.
> 

there is another question here, what about the correct encoding ...

> Günter
> 
> 


Why does lyx use it's own keyboard instead of the systems?

2009-03-07 Thread Micha Feigin
I recall some talk about this a long time ago and couldn't find it. As there
was some talk about this on another mailing list I was wondering why lyx uses
it's own keyboard switching, esspecially for hebrew. Is it a technological
issue or just that no one had the time/interest to implement this yet?

Is it even possible to know what language is chosen on all the systems lyx is
implemented on or does the language need to be guessed based on each character?

Thanks


contrast of images in output pdf

2009-03-01 Thread Micha Feigin
For some reason the images in the pdf seem to have a very stretched contrast
killing colors and dark areas. Is there a way to control this?

I tried brightening the image in gimp/photoshop but they seem to be coming out
the same so it seems that latex is doing some adaptive contrasting on them.


labeling parts of an equation

2009-02-14 Thread Micha Feigin
I want to label parts of an equation (such as with overset).
There are two problems when using overset
1. If equation elements are of different height then labels come out in
different heights
2. If the label is wider than the equation element it ruins spacing (the
equation gets spaces around the element

Is there a better way to do it?

For example
I_{\mathbf{p}}^{bf}=\overset{\mbox{normalization}}{\overbrace{\frac{1}{W_{\mathbf{p}}^{bf\sum_{\mathbf{q}\in\mathcal{S}}\overset{\mbox{space}}{\overbrace{G_{\sigma_{s}}\left(\left\Vert
 \mathbf{p}-\mathbf{q}\right\Vert 
\right)}}\overset{\mbox{Intensity}}{\overbrace{G_{\sigma_{r}}\left(\left\Vert 
I_{\mathbf{p}}-I_{\mathbf{q}}\right\Vert \right)}}I_{\mathbf{q}}

If you paste this into a math environment you will see that it just comes out
wrong


exporting equations to openoffice/word?

2009-02-13 Thread Micha Feigin
I tried using export to open document today to try and convert a document to a
format that I can produce a powerpoint presentation from it and it went mostly
ok (formatting wasn't really good but I need the wording, not the formatting).
The problem is that equations came out terrible and that is the main part
(words I can copy from the pdf). I think that lyx uses tex4ht for that. Is
there a better way to do this?

I usually use beamer but for this project I need to work for someone using a
given powerpoint template so regrettably it's not an option.

thanks


Problem with lyx 1.6.1

2009-02-12 Thread Micha Feigin
I am using lyx 1.6.1 in debian unstable. Lately I'm getting a LOT of lockups
with lyx (every 20 minutes or so) requiring me to kill lyx. Running it from the
console show the following error is just flooding the screen:

../../../src/support/lassert.cpp(21): ASSERTION pos >= 0 && pos <= size() 
VIOLATED IN ../../src/Paragraph.cpp:474

Any ideas what is causing this?

thanks


showing/hiding outline using a key sequence?

2009-01-31 Thread Micha Feigin
Is there a way to show/hide the outline window using a key sequence? Couldn't
find anything in the preferences->edit->keybind.

I started working a lot in portrait mode instead of landscape which really
increases productivity when I can see a lot more of the document in "paper"
mode but with modern wide screens having the outline enabled all the time makes
the text window too narrow and using the menu each time is very cumbersome.

Thanks


Re: Strategies for Writing Co-operation with Non-LyX Users?

2009-01-26 Thread Micha Feigin
On Mon, 26 Jan 2009 07:53:14 -0500
rgheck  wrote:

> Vincent van Ravesteijn - TNW wrote:
> >> Still curious to hear some more opinions and experiences.
> >> 
> >
> > I'm succesfully spreading the word of LyX to my supervisors and
> > colleagues.
> >
> > I hope LyX will soon have some new features that will ease this
> > collaboration. As we won't be able to implement everything, it would be
> > nice to know which feature would satisfy most users.
> >
> >   
> It'd be nice to have a list of things people need for collaboration. I 
> guess we've probably had that discussion before, but I've never thought 
> it had a very good outcome.
> 
> Richard
> 

Personally, some way of compating/merging documents would be great.

I don't know about others, but I know a lot of people who work with latex, very
few with lyx. We also send out papers in latex. It's very difficult for me to
do the work in lyx as I need to incorporate their changes that were done in
latex somehow, and preferably do it without copying them over.

The best solution would be if I could import the latex document back into lyx
and then compare the two lyx files, although of course there are a lot of
differences due to importing special stuff (don't remember sepecifics at the
moment but I recall that a lot of things import as ert).

I would even settle for just a proper tool to merge two lyx documents, most
everything else can be achieved that way.

 Another nice things would be to be able to diff against version control (if
the previous is possible then this will be a subset also)


Re: Only exports part of file to pdf

2009-01-19 Thread Micha Feigin
On Sun, 18 Jan 2009 14:50:06 -0800 (PST)
joegumbo  wrote:

> 
> Hi,
> 
> I'm using LyX 1.4.5.1 on Slackware 12.1.  There's an odd problem...
> 
> When I export my file from LyX to pdf, only the first 2/3rds of the file
> appears in the .pdf file.  The last page or so is missing.  But, when I view
> the file in the oroginal .lyx format, or export as a plain text file, the
> whole document is there.  I've tried Saving and exporting again, renaming
> the file and exporting, etc.  But, I cannot successfully export the whole
> document into pdf http://n2.nabble.com/file/n2178919/Outline_Ch1b.lyx
> Outline_Ch1b.lyx , just the first 2/3rds.
> 

Latex doesn't break pages after section heads so if you have only section heads
it fails to break them. The page is there but it just runs of the page.

You can see that if you force page breaks or add some text after the section
heads.

A workaround to see the outline in the mean time is to head a table of contents
which does break across pages.

> Thanks,
> -Joe G.


Re: Only exports part of file to pdf

2009-01-19 Thread Micha Feigin
On Sun, 18 Jan 2009 20:59:12 -0800 (PST)
joegumbo  wrote:

> 
> 
> Never mind...
> 
> I'm trying to upgrade to a more recent version of LyX.  Hopefully that will
> correct the problem.
> 
> Thanks anyhow :)
> -JG
> 

It won't since it's a latex issue, not a lyx issue. See previous posts for more
information


having three elements around \xrightarrow

2008-12-20 Thread Micha Feigin
Hello,

I'm trying to write some matrix row operations with lyx (solving a linear
system if equations), so I need to have the row operations over/under an arrow.
With one or two it's no problem, I can use \xrightarrow and put one above and
if needed one below. I'm stuck though with what to do if i want to put a third
(or more) operations in there. I can put a vector and a regular arrow in one of
the entries, but then the size doesn't match. I tried putting a matrix above
the \xrightarrow but lyx doesn't let me do it.

Is there another way?

Thanks


Re: Showing LyX Notes in output

2008-12-05 Thread Micha Feigin
On Fri, 5 Dec 2008 21:39:15 + (UTC)
baseliner <[EMAIL PROTECTED]> wrote:

> James Sutherland <[EMAIL PROTECTED]> writes:
> 
> > 
> > Right-click and then choose "Greyed Out". This will show up in the  
> > output.
> 
> Yeah, as I mentioned in my post, greyed out is too passive and one needs to
> really look for it to find it.. need something that stands out.. like the
> yellow background and black text which is how the Note appears in the LyX
> window.
> 
> Maybe I should log a feature request on bugzilla..
> 
> 

Look at the thread from a few days back titled
Changing the color of lyx notes in output
It tells you how to change the color of the grayed out note which seems to
achieve what you want, to quote:

On Sat, Nov 29, 2008 at 4:51 PM, Ignacio García
<[EMAIL PROTECTED]>wrote:

> Matts Lindström, Fri, 28 Nov 2008  
> >> Is it somehow possible to change the color of notes ("Greyed out notes")  
> in  
> >> the pdf that lyx outputs?  
>
> Yes, add in the LaTeX preamble:
>
> \renewenvironment{lyxgreyedout}
>  {\textcolor{blue}\bgroup}{\egroup}
>
> blue or you want.
>
> More info in sec. 4.1 in the Embedded Objects manual


Re: frequent unexpected lyx 1.6.0 crashes - loss of work

2008-12-03 Thread Micha Feigin
On Wed, 03 Dec 2008 09:59:35 +0100
Jürgen Spitzmüller <[EMAIL PROTECTED]> wrote:

> Micha Feigin wrote:
> 
> > I see this a LOT when I press ctrl-z (undo), more then 50% of the time it
> > crashes. Didn't loose information due to it so far though.
> 
> Yes, this looks very much like
> http://bugzilla.lyx.org/show_bug.cgi?id=5499
> 
> which is about undo crashes that occur (a.o.) in math mode IF the outliner is
> opened. This specific bug will be fixed in 1.6.1.
> 
> It also might be a different bug. Does it depend on the outliner state?
> 
> Jürgen
> 

Did some more tests, it depends on two things, the outliner being open and for
the displayed math formula to be just after a section header (the first line of
the paragraph). With this combination the crash is very consistent


Re: frequent unexpected lyx 1.6.0 crashes - loss of work

2008-12-02 Thread Micha Feigin
On Tue, 02 Dec 2008 15:58:22 +0100
Olivier Ripoll <[EMAIL PROTECTED]> wrote:

> Jürgen Spitzmüller wrote:
> > Erez Yerushalmi wrote:
> >> Happens when:
> >> Many times when I write in math equations.
> >> And also happened a few times when I shift the tool bars to different
> >> positions.
> >>
> >> Do others have this problem?
> > 
> > These are known bugs (reported at bugzilla), and we hope to sort them out
> > for 1.6.1.
> > 
> > Jürgen
> > 
> 
> Hi,
> 
> The most common crash on Windows (#5472: the crash when copy operation 
> is followed by opening a MS Office program) does not result in any data 
> loss (the emergency save does its job). So Erez's crash is not a 
> duplicate of it as far as I can say.
> 
> Best regards,
> 
> Olivier
> 

I see this a LOT when I press ctrl-z (undo), more then 50% of the time it
crashes. Didn't loose information due to it so far though.

This is under linux BTW (1.6.0 debian package, 64bit system)

The beta and rc versions were a lot more stable on this system


Re: Single Author, Single Year, Multiple Articles

2008-11-23 Thread Micha Feigin
On Sun, 23 Nov 2008 20:56:54 +0100
Christian Liesen <[EMAIL PROTECTED]> wrote:

> Hi,
> 
> could you briefly explain why you would want the citation to show up  
> as a/b although you seem to include only a single reference in your  
> text? After all, a unique letter would be required only if you had two  
> or more citations in your article that would otherwise look the same  
> when using the author-date style.
> 
> In other words, a cite-key is one thing, a formatted citation is  
> something else.
> 

You can change the year in the entry to 2000a and 2000b otherwise there is no
way to tell which on you meant anyway.

Another option is to use numeric references ([2],[3] etc) instead of author
year (depends on the target audience if this is relevant). You can also add
some more description in the text.

> Cheers,
> Christian
> 
> 
> Am 23.11.2008 um 20:30 schrieb npierre:
> 
> > Hi All,
> >   I have an author, Wei, who wrote two articles in 2000. In the  
> > citation dialog, the bibtex keys show up as Wei2000a and Wei2000b.  
> > When I insert one or the other into the text, it prints as "Wei  
> > (2000)." How can I get Lyx to add an "a" or "b" to distinguish  
> > between the articles, e.g. "Wei (2000b)"? Thanks.
> >
> >   Norbert Pierre
> >
> 


Re: getting a document with no page numbers

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

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

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

> 
> HTH!
> Dov
> 


getting a document with no page numbers

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

both
\pagestyle{empty}
\thispagestyle{empty}

seem to be ignored.

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

thanks


Re: A multi-volume document?

2008-11-21 Thread Micha
On Fri, 21 Nov 2008 09:56:03 -0500
Mikhail Teterin <[EMAIL PROTECTED]> wrote:

> rgheck wrote:
> = If you're working with a huge document, you're better breaking it up 
> = into sub-documents anyway, as LyX will be much more responsive.
> 
> I have a beefy machine and don't (yet?) notice poor responsiveness...
> 
> = And no, I don't think there's any easy way to print a single document as
> = various documents.
> 
> Wouldn't this be a nice feature -- to have the software divide the document 
> between volumes, just like it already divides it between pages, etc.?
> 
> I wouldn't mind to divide things once, but some things -- like TOCs and 
> styles, should apply to the entire work once...
> 

I'm guessing that you can export the document to one pdf and then split the
pdf. I believe that pdfnup and be abused to do this ...

>   -mi
> 
> 


Re: Can't get interrupted enumerated list to work

2008-11-20 Thread Micha
On Thu, 20 Nov 2008 11:45:07 -0600
Stefano Franchi <[EMAIL PROTECTED]> wrote:

> On Thursday 20 November 2008 08:59:04 am Guenter Milde wrote:
> > Stefano Franchi schrieb:
> > > --Boundary-00=_NYXJJjqY9AZlMwy
> > > Content-Type: text/plain;
> > >   charset="utf-8"
> > > Content-Transfer-Encoding: quoted-printable
> > >
> > > On Thursday 20 November 2008 04:09:09 am Guenter Milde wrote:
> > >> Stefano Franchi schrieb:
> > >
> > > Well, I did look at the LaTex source, and the problem is the following:
> > >
> > > The correct LaTeX structure for suspended enumeration is:
> > >
> > > \begin{enumerate}
> > > \item
> > > \item
> > > \suspend{enumerate}
> > > \regular text
> > > \resume{enumerate}
> > > \item
> > > \end{enumerate}
> >
> > To get an equivalent of this from LyX, you must not leave the enumeration
> > list (i.e. LyX should see "\regular text" as a part of the suspended
> > enumerate.
> >
> > To achieve this, you must make the
> >
> > > \suspend{enumerate}
> > > \regular text
> > > \resume{enumerate}
> >
> > block a part of the last item (i.e. paragraph in Enumerate Style)
> > e.g. as a *nested* Standard paragraph.
> >
> > > If I  export to LaTex and manually fix the code it works.
> >
> > Hint: create a working example in LaTeX and import this into LyX.
> >
> > > But I am not clear why LyX does what it does.
> >
> > In LyX, consecutive paragraphs of the same "environment style" are put in
> > a common LaTeX environment. If you place a paragraph of a different style
> > inbetween, the environment is closed and re-opened.
> > (You can use View>Source and play with Enumerations, Standard and other
> > Styles to see what exactly happens.)
> >
> > Günter
> 
> Well, it looks like I'm thicker than usual this morning. I tried Gunter's 
> suggestion, but I could get it to work. Perhaps I did not understand it. In 
> fact, I would really appreciate it if anyone could explain to me how I to go, 
> in LyX, from
> 
> 1. First enumerated item
> 2.Second enumerated item
> 3.Third enumerated item
> 
> to:
> 
> 1. First enumerated item
> Some random text
> 2. Second enumerated item
> 3.Third enumerated item
> 
> Do I first insert the standard paragraph between 1 and 2, and then the 
> \resume\suspend pair? Or do I first insert the pair into the enumerated first 
> item, then the text between the pair of commands, than change the
> environment? I think I tried all combinations I could think of, and none
> worked.
> 
>  
you should do
1. First enumerated item
then enter for a new paragraph (enumeration in this case), change the paragraph
style to standard and then increase depth, either from the menu bar, or I think
that the standard shortcut is Alt-Shift-Right
now enter should return to enumeration, you can add more standard paragraphs by
following the previous procedure


can't use " in hebrew under lyx

2008-11-17 Thread Micha
When I use the " (quote) in hebrew under lyx I get the following error:
LaTeX Error: Command \textquotedbl unavailable in encoding LHE.
I have to change language to english in order to insert the symbol.
Is there a problem with my setup or is this a problem with lyx?

Thanks


Re: [Fwd: Re: Word processor bashing]

2008-11-05 Thread Micha
On Wed, 5 Nov 2008 09:39:00 -0500
Steve Litt <[EMAIL PROTECTED]> wrote:

> On Tuesday 04 November 2008 07:19:32 pm rgheck wrote:
> > Since Uwe moved this to users, I'll forward my comments here as well.
> >
> >  Original Message 
> > Subject:Re: Word processor bashing
> > Date:   Mon, 03 Nov 2008 17:06:13 -0500
> > From:   RGH <[EMAIL PROTECTED]>
> > To: Patrick Camilleri <[EMAIL PROTECTED]>
> > CC: [EMAIL PROTECTED]
> > References: <[EMAIL PROTECTED]@ovgu.de>
> >
> > Patrick Camilleri wrote:
> > > Dear Sir,
> > >
> > >   Though I find LaTeX + LyX to be a very good typesetting system, I don’t
> > > understand all this bashing at other word processors in your
> > > ‘Introduction to LyX’ document. In my opinion if one took at least ŧ the
> > > amount of time one needed to learn LaTeX, one would find out that modern
> > > Word Processors are indeed very capable tools. Styles have been
> > > supported, at least in Word, since quite some time and not just in ‘most
> > > recent versions’ as quoted in the footnote on page 2. I already remember
> > > using Styles in Word 97 and frankly I can’t imagine anybody writing
> > > anything longer than 4 pages without having any concept of Styles. You
> > > would go crazy!

Most people I know ignore styles all together in word. For all my wifes
accademic works, she would write them out and then I would spend a day
convrting everything to styles to get it to be consistent.

They are a pain though with word as it's very difficult to find where styles
are not applied or are modified and it can go crazy over small modifications.
The only sane way I found to work with styles in word is in outline mode, which
is much closer to latex in approach.

> >
> > I'd have to go back and look at the Intro to see precisely what it says,
> > so I won't defend it (yet). But I will take exception to this last
> > claim. I know a lot of people who use Word, etc, and I don't know a
> > single person who regularly uses styles.
> 
> You know him now :-)
> 
> Hi Richard,
> 
> By 1988 I used paragraph and character styles for almost every kind of 
> appearance, in my mainmatter, in WordPerfect 5.0. After switching to MS Word 
> in 1994, I used paragraph and character styles, in my mainmatter, for almost 
> every kind of appearance. After switching to LyX in 2001 I tried my best to 
> use paragraph and character styles, in my mainmatter, for almost every kind 
> of appearance, but as I've written (and maybe ranted) often in the past, 
> LyX/LaTeX styles are difficult to create for a non-LaTeX-guru.
> 

One of the advantages with lyx/latex is that I haven't found the need yet. And
the small amount I have needed was always either done by some package or other
or can be very easily achieved with \newcommand

> In about 2005 I briefly flirted with OpenOffice, and dumped it when I
> realized its paragraph and character styles were too quirky to use with any 
> confidence.
> 

It can be annoying. 

> > Students and colleagues send me 
> > papers written in Word all the time, and I'm struggling to remember a
> > single time any one of them sent me one that used styles. So, yes,
> > certainly styles exist in Word, et al, but those tools do not encourage,
> > let alone enforce, the use of such styles, and that is an important
> > difference between LyX and standard word processors: LyX is style-based,
> > from the ground up, not a finger-painting tool with styles grafted onto
> > it. 

I just refuse to accept word documents. I tell my students that if they want to
send me text, either write it as text, convert it to pdf or scan it in hand
writing. Since my work is equations (mathematics) I can never read them
properly in word format.

I haven't found a good reason yet not to force my will on other people on this
point and I tend to be rather stubborn ... ;-)

> 
> I think that's an unfair statement. MS Word styles work quite well and are 
> integral to Word. Word's styles are MUCH easier to create than LyX's. One 
> could argue that Word doesn't come with document classes that define an 
> important set of styles, but Word is distributed with templates that do.
> 

They are easier to make than lyx but a hell to keep consistent as word has a
serious tendency to locally tweak or forget them for some reason. I also tried
working with them in word 2007 and it was hell with the new and terrible ribbon.

> > That's why learning to use LyX, even to write a letter, is such a 
> > big adjustment for people. 
> 

Writing a letter in lyx is a pain. Writing a paper or god forbid a thesis in
word is torture. Mixing ltr and rtl languages and to be so bold as to throw in
a few equations under word is nearly impossible, styles or not.

> For me it's an adjustment because creating a new style can take between an 
> hour and 3 days in LyX, but only 5-15 minutes in Word.
> 
> > Speaking as a teacher, I often worry that my 
> > students are themselves much too worried about fo

custom layouts - inserting a mandatory parameter

2008-09-21 Thread Micha
I'm trying to see if I can write a layout file for the currvita latex class.
The main environment is a list environment that should come out something like

\begin{cvlist}{title}
\item[one] text
\item[two] text
\end{cvlist}

I can get the {title} part by adding
LatexParam  {title}
but that doesn't allow me to change this. Is there a way to insert that
mandatory argument, layout file style option, tex code or otherwise?

Thanks


Re: xcolor package vs. beamer class

2008-08-11 Thread Micha
On Mon, 11 Aug 2008 13:00:15 +0200
"Literatur Hiwi" <[EMAIL PROTECTED]> wrote:

> Hallo!
> 
> I am using a beamer class in Lyx and have a problem with applying the xcolor
> package to it.
> 
> In Latex the command is  "\documentclass[xcolor=x11names]{beamer}". How can
> I make it work in Lyx?
> 
> Thanks!
> 
> Best regards, 
> 
> TJ
> 

under Document->Settings->Document Class
the first drop down box is the document class (you choose beamer there) and the
second line is the document options, you put xcolor=x11names there


Re: inserting subfigures in lyx 1.6? [solved]

2008-08-11 Thread Micha
sorry, my bad. I had a \usepackage[subfigure] in an included file and it messed
with the lyx subfigure through insert->float->figure

On Mon, 11 Aug 2008 12:48:46 +0300
Micha <[EMAIL PROTECTED]> wrote:

> How do I insert subfigures in lyx 1.6?
> 
> I tried inserting another figure in the figure, it shows up as a subfloat:
> figure with a caption Sub-Figure a: but when I try to compile the document I
> get the error:
> 
> no counter [EMAIL PROTECTED]
> 
>  \subfloat
>[]{
> Your command was ignored.
> Type  Ito replace it with another command,
> orto continue without it.
> 


inserting subfigures in lyx 1.6?

2008-08-11 Thread Micha
How do I insert subfigures in lyx 1.6?

I tried inserting another figure in the figure, it shows up as a subfloat:
figure with a caption Sub-Figure a: but when I try to compile the document I
get the error:

no counter [EMAIL PROTECTED]

 \subfloat
   []{
Your command was ignored.
Type  Ito replace it with another command,
orto continue without it.


Re: Compatibiliy issue with beamer-class and xcolor package

2008-08-11 Thread Micha
Try adding it as a document option instead of a package option, I believe
packages use document options they recognize

On Fri, 8 Aug 2008 13:14:46 +0200
"Literatur Hiwi" <[EMAIL PROTECTED]> wrote:

> Hello!
> 
> In Lyx I chose a beamer class to be my "document class".
> 
> Now I would like to use the xcolor package, hence I entered the following
> into the preamble:
> 
>  
> 
> \usepackage[x11names]{xcolor}
> 
> 
> 
> Unfortunately I get the following message once I try to compile my file:
> 
> \definecolor
> {darkgreen}{cmyk}{0.5, 0, 1, 0.5}
> The package xcolor has already been loaded with options:
> []
> There has now been an attempt to load it with options
> [x11names]
> Adding the global options:
> ,x11names
> to your \documentclass declaration may fix this.
> Try typing to proceed.
> 
> 
> 
> Is there a possibiliy to add the x11names option to the assumably already
> loaded xcolor package?
> 
> Thanks a lot in advance!
> 
>  
> 
> Best regards,
> 
>  
> 
> TJ
> 
>  
> 


Re: Problem importing document from lyx 1.5.5 to 1.6 beta 4

2008-08-04 Thread Micha
Sorry, sent privately by mistake ...

On Sun, 03 Aug 2008 11:05:05 -0400
rgheck <[EMAIL PROTECTED]> wrote:

> Pavel Sanda wrote:
> >> Any ideas?
> >> 
> >
> > plese put it in bugzilla and add the file demonstrating the problem.
> >
> >   
> And it needn't be the whole file. If you can just give us one figure and 
> one equation, that may be enough.
> 
> The math problem may be a known one.
> 
> rh
> 

I always try to localize the problem. I do enough bug hunting myself that I
know how much it makes life easier and increases motivation when you know
exactly where the bug is (well, forget motivation ;-)

Anyway, submitted with a couple of sample files, bug 5117   


Re: beamer in Lyx

2008-08-03 Thread Micha
On Sun, 03 Aug 2008 10:38:15 -0400
"Paul A. Rubin" <[EMAIL PROTECTED]> wrote:

> Friedrich Hagedorn wrote:
> > 
> > Sometimes ago, I use lyx for a beamer presentation, too. But I 
> > would didnt do it again because lyx has other advantages. So
> > I suggest to do a beamer presentation in plain LaTeX.
> > 
> 
> I'm curious why you feel plain LaTeX is preferable.  I do all my 
> presentations in LyX/beamer.  There are occasional instances where I 
> have to insert a little ERT, but overall LyX saves me a fair bit of work 
> (and is perhaps slightly easier on my limited supply of surviving memory 
> cells).  The beamer user guide helps by including tips on how to do 
> things in LyX.
> 
> /Paul
> 

There is also a nice beamer template which shows some of the options.

I also do all my presentation is lyx. Also usually takes quite a bit of ert to
fine tune things but still makes things easier with images and equations.


Problem importing document from lyx 1.5.5 to 1.6 beta 4

2008-08-03 Thread Micha
I tried to open a document I wrote in 1.5.5 in 1.6 beta 4 (compiled fine there)
and now it won't compile at all with a heap of errors.

It can't handle any of the figures with an error
Latex Error: No counter '[EMAIL PROTECTED]' defined
and in the bottom box it says
 ...roposal_Images_dic3.eps}\hfill{}\subfloat
  []{
Your command was ignored.
Type  Ito replace it with another command,
orto continue without it.

It also has an issue with most math environments (can't figure out if only the
labeled ones, all display ones or just all of them yet). with an error similar
to

Missing { inserted
use of [EMAIL PROTECTED] doesn't match it's definition
Package amsmath error: multiple \label's: label` will be lost

and at the bottom panel
 ...}=-\left(-\Delta\right)^{\alpha}I\.\label
  {eq:fractional_Laplacian_c...
If you say, e.g., `\def\a1{...}', then you must always
put `1' after `\a', since control sequence names are
made up of letters only. The macro here has not been
followed by the required stuff, so I'm ignoring it.

Any ideas?

Thanks


Re: Holy Moly!

2008-07-29 Thread Micha
On Tue, 29 Jul 2008 11:10:16 -0400
[EMAIL PROTECTED] wrote:

> Hey, @sshole?  You still breathing?!
> 
> Have you seen my original posts and "attempts" at un-subscibing?  If
> yes, then you must be a moron b/c it's clear that my actions were "in
> alignment" with the directions.  If you haven't, then, well, you're a
> moron for speaking out of turn.
> 
> Rich Shepard wrote:
> > On Tue, 29 Jul 2008, [EMAIL PROTECTED] wrote:
> > 
> >> The individuals at LyX are a bunch of @ssholes!
> > 
> > Mr D.,
> > 
> >   Unfortunately, you are the ignorant fool who blames others for your
> > inability to learn or follow instructions. By your top posting. leaving all
> > previous text in this thread (and others) on your response, and general
> > lack
> > of knowledge of 'Netiquette I can tell that you're a Microserf running some
> > version of Winduhs. You drag-and-drool, click happily away, and haven't a
> > clue.
> > 
> >   Let me try to help the two of you learn how to do things for yourself.
> > 
> >   Step 1: put the following address in your Web browser:
> > http://www.lyx.org/
> > 
> >   Step 2: press the [Enter] key (or click on the 'Go' button).
> > 
> >   Step 3: look at the vertical menu on the left side. It's under the LyX
> > logo and has a grey background.
> > 
> >   Step 4: move your pointy device cursor to the 7th item on the list. It
> > reads, "Mailing Lists / Forum" and is the first item under the second
> > yellow
> > heading ("Support").
> > 
> >   Still with me?
> > 
> >   Step 5: click on the "Mailing Lists / Forum" item. Magically you're shown
> > a new page.
> > 
> >   Step 6: scroll down. Under section 1.2 (User's List) you'll see an
> > instruction to unsubscribe. It reads, "... send an empty mail message to:
> > 
> > * [EMAIL PROTECTED] to unsubscribe
> > 
> >   Wow! Imagine that!
> > 
> >   Step 7: do the same for the other mail lists on which you accidently
> > placed yourself.
> > 
> >   Now, if this is too complicated for you, scroll down to section 2.3 and
> > read, "I can't unsubscribe
> > 
> > "In every message you get from the LyX mailing lists, there will be a
> > line in
> > the message header that looks like this:
> > 
> >  List-Unsubscribe:
> >  
> > 
> > "This will remind you how to unsubscribe, so that you don't have to mail
> > the
> > mailing list asking how to do so."
> > 
> >   If this is too difficult, ask locally for help from someone who can
> > assist
> > you with this terribly difficult process.
> > 
> 

Never had a problem unsubcribing (I tend to do that before long trips to avoid
too many emails).

BTW, if you are a bit more aware of how to work things, look in the mail
headers, it has a field with a link for unsubscribing. Should read for you
something like:

List-Unsubscribe: 

should probably also work to press that link (fix your email if I copied it
wrong)


Re: Fuzzy fonts (Hebrew)

2008-05-14 Thread Micha
On Tue, 13 May 2008 17:18:40 +0100
Peleg Michaeli <[EMAIL PROTECTED]> wrote:

> I have opened an Ubuntu page on the wiki, and also added this:
> http://wiki.lyx.org/LyX/HebrewOnLinux
> 

Don't know if it's needed under ubuntu but under debian you also need the
t1utils package. 

Don't know how to edit the page to add that.

> I'll be happy to hear comments, if there are... :-)
> 
> Thanks,
> Peleg.
> 
> On Sun, 2008-04-27 at 15:40 +0200, Jürgen Spitzmüller wrote:
> > Peleg Michaeli wrote:
> > > After a short discussion with Ivritex, I got this conclusion (and it
> > > might help some others, so I write it here).
> > 
> > could you add this to the LyX wiki as well?
> > 
> > Jürgen
> 


Re: Masters Thesis in LyX 1.5.4 for MAC intel - Crashing, what now?!

2008-05-13 Thread Micha
On Tue, 13 May 2008 19:29:39 -0230
"Justin Pittman" <[EMAIL PROTECTED]> wrote:

> Hi,I've encountered a problem that I can't seem to rectify
> 
> I'm trying to finish my masters thesis and upon trying to compile it today
> before I left for dinner and got a strange error that I have never
> encountered before.. a LaTeX formatting window popped up stating only
> "Conversion error" and LyX then unexpectedly quit! Now, when I sit here
> trying to open the MastersThesis.lyx file or the backup .lyx~ file, LyX
> can't open it!! It starts to open and then the Mac Spinning pinwheel comes
> up and boom, LyX is gone.
> 
> What do I do now!!! I haven't done a backup in a few weeks and have added a
> good 20 pages since then!! I need help and quick!!
> 
> Please, any suggestions, ASAP! My deadline is quickly approaching.
> Cheers,
> J.p

There was an issue under linux with qt 4.4, did you happen to upgrade that by
any chance? If so see if you can downgrade qt to 4.3 (although latest 4.4 works
under debian). Afraid I don't have a mac so I don't have any other suggestions


Re: generic X copy-and-paste not working

2008-05-07 Thread Micha
On Tue, 6 May 2008 09:34:33 -0500 (CDT)
Mark Hansel <[EMAIL PROTECTED]> wrote:

> > On Tue, 6 May 2008, Pavel Sanda wrote:
> >
> >>> Normally, I can highlight text in a terminal and paste it with a
> >>> middle-click. In LyX, usually I can get to it with Edit -> Paste Special.
> >>> (I can copy-and-paste fine in my xterms.)
> >
> > Now only the "selection" choices are shaded out and not clickable. But the
> > other choices do nothing for me.
> >
> >>> This is LyX 1.5.2 on NetBSD. I am not running any clipboard utility.
> >>>
> >>> Any ideas why I can't paste into LyX?
> >>
> >> Jeremy, is this the case with only single LyX window or are running more
> >> windows simultaneously? Running just one single instance could help.
> >
> > No, only one LyX running.
> >
> > I have a text highlighted in an xterm. But can't paste into LyX. Tried
> > middle click. Tried using menu options.
> 
> Workaround:
> 
> When I cannot get the desired result (say, from a browser window), I can 
> usually get it by pasting into an emacs window as an intermediate step and 
> then highlighting and paste into lyx from the emacs window.
> 
> Another copy/paste peculiarity (changes from past behavior):
> 
> Deleted lines (emacs key bindings: ^k) that have not been highlighted 
> won't paste for me (maybe by design). But highlighted lines that are 
> deleted (using ^w) can be pasted (probably to move them). Emacs behavior 
> is different. Contiguous deleted lines (^k) can be "yanked" back (^y) -- 
> anywhere in a document. (I do not consider Emacs is the gold standard -- 
> let's not repeat the editor flame wars -- it is a convenient feature.)
> 

^k and ^y use the emacs kill buffer, not the X copy buffer. Highlighting the
line does use the X buffer.

I don't fully understand the X copy/paste methods but IIRC there are also
several standards which may be some of the problem.

I think it was Helge who pointed out to me some time ago that there was a but
that is supposed to be fixed in 1.5.4 and that sometimes closing and reopening
lyx can reset the problem.


> mark hansel
> 


Re: lyx vs. winedt?

2008-05-02 Thread Micha
On Thu, 1 May 2008 10:02:30 -0400
Steve Litt <[EMAIL PROTECTED]> wrote:

> On Thursday 01 May 2008 09:42, Neal Becker wrote:
> > I pointed one of my colleagues to lyx.  She showed me winedt, which she
> > uses.  I'm not sure what advantages one has over the other.  Any info on
> > this topic?
> 
> First, winedt is a Windows only product. If your collegue is absolutely, 
> positively certain she'll never use Linux or MacOS, even if Microsoft's next 
> OS is even crummier than Vista, then that's not a problem.
> 

That's not going to convince anyone.
There are a bunch of similar products that are cross platform. The closest to
winedt I know is texmaker http://www.xm1math.net/texmaker/
emacs and vim are a very different approach and I guess windows users won't
like them.

> The other thing is winedt and LyX are totally different animals. winedt is a 

That is true.

> text editor with which you code LaTeX. It has macros and buttons to make tag 
> creation easier, and syntax coloring to make tag detection easier, but it's a 
> text editor showing all the tags.
> 
> LyX is a much more WYSIWYG product (yeah, that's my story and I'm sticking to 
> it). Unless you use ERT, there are no tags in the LyX authoring environment. 
> For me, not having to mess with tags is essential to pounding out 2000 words 
> per day.
>

Lyx looks wysiwyg but I wouldn't exactly consider it such. It is more a
document preparation system that uses tex as the background. It doesn't work
with tex files directly and can export to other formats. When you import tex
files it converts them into lyx files (keeping parts it doesn't know as ert).
If you re export they won't look the same. It hides most latex stuff from the
user unless you really try to see it.

winedt works directly with the latex files and is just a fancy editor with
syntax highlighting, menu shortcuts and such. It doesn't render any of the
elements (images, math, tables ...). emacs can do that, but it's also still an
editor that works with the tex file.

> SteveT
> 
> Steve Litt
> Books written in LyX:
>   Troubleshooting Techniques of the Successful Technologist
>   Twenty Eight Tales of Troubleshooting
>   Troubleshooting: Just the Facts
> 


Re: Numbering paragraphs

2008-04-14 Thread Micha
On Mon, 14 Apr 2008 07:47:42 -0600
Eran Kaplinsky <[EMAIL PROTECTED]> wrote:

> Clever, indeed. You should add it to the WIKI.
> 
> I adapted it to my needs:
> 
> \renewcommand{\labelenumi}{\textbf{\thesection.\arabic{enumi}}}
> 
> Now I need two further changes:
> First, to correct the indentation, so that the paragraph number is flush
> with the left number and the rest of the text is not hanging, but also
> flush.

There is probably a better way to do this, but I haven't managed to find the
right lengths to modify so someone else will need to answer that, and this
piece of code also doesn't handle more nesting but it will do what you want for
the first level

\renewenvironment{enumerate}{
\setcounter{enumi}{0}
\renewcommand{\item}{
\smallskip

\noindent\smallskip\stepcounter{enumi}\textbf{\thesection.\arabic{enumi}}
}}
{}

You can remove the smallskip if you don't want special space between the
paragraphs 

> Second, to create a second (and possibly third level):
> 1.1
> 1.2
> 1.2.1
> 1.2.2
> 1.3
> 
> Can you help?
> 
> Thanks,
> Eran
> 
> 
> 


Re: Numbering paragraphs

2008-04-11 Thread Micha
On Sat, 12 Apr 2008 07:54:52 +1000
Typhoon <[EMAIL PROTECTED]> wrote:

> On Fri, 11 Apr 2008 23:33:56 +0300
> Micha <[EMAIL PROTECTED]> wrote:
> 
> > I am trying to write a research proposal for my uni and the
> > instructions say that the paragraphs should be numbered where the
> > first number is the section number.
> > 
> > Any way to do it in lyx/latex?
> > 
> 
> My legal publisher requires paragraph numbers of the form:
> [chapter-parano]. I use the following which you can modify
> appropriately:
> 
> \newcounter{parno}[chapter]%% numbered paragraph 
> \renewcommand{\theparno}{\thechapter-\arabic{parno}}
> \newcommand{\p}{\stepcounter{parno}\noindent[\theparno]\ }
> 
> Start a new numbered paragraph with \p
>

Thanks, it worked. It did teach a bit though and I ended up taking the idea
and abusing it a bit to use enumerations. More work if it was  pure latex, but
in lyx a lot easier

I defined in the header

\renewcommand{\labelenumi}{[\thesection-\arabic{enumi}]}

Now I can just write the whole document as an enumeration environment and I
don't need to retype the \p for each paragraph (like I said, for pure latex it
would have been a lot harder since it requires an \item for each paragraph
instead of just \p but the wonders of lyx help me here). I'm sure that this
can also be done by hacking a lyx document class file but I don't have the
time since I have a day and a bit to start and finish writing my research
proposal ...
 
> HTH,
> Alan
> > thanks
> > 
> 


Re: Numbering paragraphs

2008-04-11 Thread Micha
On Fri, 11 Apr 2008 15:10:08 -0600
"Bob Lounsbury" <[EMAIL PROTECTED]> wrote:

> On Fri, Apr 11, 2008 at 2:33 PM, Micha <[EMAIL PROTECTED]> wrote:
> > I am trying to write a research proposal for my uni and the instructions say
> >  that the paragraphs should be numbered where the first number is the
> > section number.
> >
> >  Any way to do it in lyx/latex?
> >
> >  thanks
> >
> 
> I'm confused?
> 
> Bob
> 

Me too, but to do a rough translation, the instructions say that the paragraphs
will be numbered in a continuous manner in any numbering method where the first
number indicates the section number.

A possible way to do this would be to use an enumeration if it allows a
numbering scheme where the first number is the enumeration number and the
second is the enumeration number.

i don't have any actual example to go by so any interpretation if this is
welcome.

On the other hand, this comes from the engineering department since I couldn't
find any instruction at all for the math department, either for the proposal or
the phd dissertation itself, which is rather strange since I seem to recall
finding something for my msc thesis.


Numbering paragraphs

2008-04-11 Thread Micha
I am trying to write a research proposal for my uni and the instructions say
that the paragraphs should be numbered where the first number is the section
number.

Any way to do it in lyx/latex?

thanks


Re: Lyx crash with unknown reason

2008-04-11 Thread Micha
On Fri, 11 Apr 2008 13:21:45 +0200
Sven Hoexter <[EMAIL PROTECTED]> wrote:

> On Fri, Apr 11, 2008 at 01:12:38PM +0300, Micha wrote:
> 
> > Seeing it here also, debian unstable, lyx crashes on some documents as I
> > open them and on others when I press the mouse on them. And this started at
> > the very worst time
> 
> Heh, well using unstable isn't recommended so you should know what to
> do now to recover. [1] 
> 
> Sven, who thought that the naming is obvious enough
> 

Actually, from experience the naming is very unobvious. I experience testing to
be much more unstable than unstable. Stable is only for servers as package
versions are ridiculously old.

Anyway, I know how to recover, it's just the timing that's bad.

Anyway in response to previous assumptions, I downgraded the qt4 packages to
4.3.4 instead of 4.4 rc whatever and lyx is working again, so this is definitely
a compatibility issue between the lyx debian package and qt 4.4 debian
packages. Don't know if it's also a source issue.

> 
> 
> 
> [1] Use the libqt4-* packages from testing or pick them up at
> snapshot.debian.net / http://snapshot.debian.net/package/qt4-x11
> As a second step you should set them on hold with dpkg --set-selections
> until this issue is resolved. I guess you've to roll back to 4.3.4-2.


Re: Lyx crash with unknown reason

2008-04-11 Thread Micha
On Fri, 11 Apr 2008 09:27:40 +0200
Sven Hoexter <[EMAIL PROTECTED]> wrote:

> On Fri, Apr 11, 2008 at 12:12:40AM -0700, Kuang Chen wrote:
> 
> Hi,
> 
> > Sven:   
> > 
> >I am using Debian and updated QT4 to 4.4.0rc1-2. Now I am more sure
> > it is related to QT4.
> 
> Ok afaik there has been a ABI change/revert again with QT 4.4. I just tried
> a rebuild but it doesn't resolve the problem. Currently I'm building a debug
> package to provide a backtrace.
> 
> Sven

Seeing it here also, debian unstable, lyx crashes on some documents as I open
them and on others when I press the mouse on them. And this started at the very
worst time


Re: Instant Preview isn't working (LyX 1.6.0svn)

2008-02-24 Thread Micha
On Sat, 23 Feb 2008 11:13:53 +0100
"Dominik Böhm" <[EMAIL PROTECTED]> wrote:

[snip ...]

> 
> I have two other request aswell:
> 
> 1. Is it possible to generate previews for ERT-insets? It would be great if
> we could configure single insets to be rendered as preview. I am asking, as

That would have to be on a per ERT basis otherwise related ERTs would cause
problems. For example I define in my header (easier this way when I make a lot
of changes with what to export, for exercises and such)

\newcommand{\ignore}[1]{}

and then in two ERTs

\ignore{

and

}

How would this be handled for instant previews of ERTs?

> the support for trees in LyX is not the best, yet. I print some trees using
> something like
> 
> \Tree { & && \K{+} \B{dll} \B{drr}   \\
> &\K{$\cdot$}\B{dl}\B{dr}&&   &   &\K{$\cdot$} \B{dl}
> \B{dr}  \\
> \K{2}   & & \K{$a$} && \K{3} &   & \K{$\mathcircumflex$}
> \B{dl} \B{dr} \\
> & &   &&   & \K{$b$}
> && \K{2}}
> 
> And have to render my >100 pages document each time to have a look if I
> entered anything correctly (what I usually don't in the first approach).
> 
> 2. Is it possible to mark a part of my file to be collapsible and
> expandable? I would like to have my header (which now is not in an external
> file) on top of my file but collapsed. I am looking for the "region-feature"
> in visual studio. There you can define regions that become collapsible. I
> think that would be a great feature!
> 

There was a talk about this some time back with regards to outlines. I don't
remember the reasons for not implementing it at the time.

> Thanks again, have a nice weekend and best regards
> Dominik


Re: Why oh why did you drop xforms?

2008-02-20 Thread Micha
On Wed, 20 Feb 2008 21:39:12 +0100
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> wrote:

> Micha <[EMAIL PROTECTED]> writes:
> >> So for example you applaud if microsoft decides that each and every
> >> software they issue will be restricted to run only on vista, right?
> >> Curiously, they do not do that.
> >
> > curiously, nothing runs properly on vista, including vista, and they keep
> > implying that nothing will run ok off vista very soon so I guess you are
> > wrong.
> 
> You still did not tell me whether you thought it was the right way to
> behave :)
> 

Nothing microsoft is a good way to behave. But more to the point I believe
that if the new library brings in enough usefulness it's good to migrate. If
keeping backward compatibility is not too hard it's useful too, but is of lower
priority.

look at the other side of the coin, if the dev's spend all their time
maintaining backward compatibility they don't spend it on new features/bug
squashing etc. Also, for those of us using newer distros keeping the old
libraries around is not that easy either.

In this case I believe that qt4 was a right choice (for a whole lot of reasons)
and dropping xforms support was also a right choice (for a whole lot of not
completely disjoint reasons).

On the other had you should let the new libraries mature before running over to
them (and qt4 has done that).

> JMarc
> 


Re: Why oh why did you drop xforms?

2008-02-20 Thread Micha
On Wed, 20 Feb 2008 14:39:55 +0100
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> wrote:

> Micha <[EMAIL PROTECTED]> writes:
> 
> > In that case you need the 1.5 year old Lyx to match your 1.5 year old
> > distro, don't you?
> 
> So for example you applaud if microsoft decides that each and every
> software they issue will be restricted to run only on vista, right?
> Curiously, they do not do that.
> 

curiously, nothing runs properly on vista, including vista, and they keep
implying that nothing will run ok off vista very soon so I guess you are wrong.

> JMarc
> 


Re: Why oh why did you drop xforms?

2008-02-20 Thread Micha
On Tue, 19 Feb 2008 17:02:34 -0600
"Paul Johnson" <[EMAIL PROTECTED]> wrote:

> On Feb 19, 2008 1:38 PM, Steve Litt <[EMAIL PROTECTED]> wrote:
> > On Tuesday 19 February 2008 02:01, Abdelrazak Younes wrote:
> > > Steve Litt wrote:
> >
> > > > Interestingly, it appears that in order to upgrade to qt 2.2.3, I would
> > > > need to upgrade my glibc (because of rtld(GNU_HASH)). I'm sorry, but
> > > > that's just too much to expect from a user.
> > >
> > > No offense intended Steve but you are obviously confused with version
> > > numbers etc.
> >
> > Of course offense was intended. A typo, or even a series of like typos, does
> > not confusion make.
> >
> > > I even suspect that you didn't even fully read the README
> > > and INSTALL that come with the source.
> >
> > Quite a leap of logic.
> >
> > > As an end-user, either you wait
> > > for your distro to come with a binary package or you do the required
> > > step by step things you need to do in order to compile LyX.
> >
> > That's exactly my point. When the step by step implies messing with the very
> > vitals of your 1.5 year old OS, there's something very wrong with the step
> > by step.
> >

and if I recall correctly apart from the no unicode support of xforms, the
reason for qt4, besides being mature enough not to stick with qt3, was license
support to allow easy porting of lyx to windows and mac.

> Well, I see why people are upset with your tone now.
> 
> Once we get to the point of compiling software, expecting instructions
> to be 'idiot proof' is a mistake. The GNU software build process is
> fairly widespread and pretty easy to use, but it is not intended for
> people who aren't willing/able to experiment and learn.
> 
> Rebuilding QT is not messing with "The very vitals" of an operating
> system.  At worst, it is mettling with an outer part of the graphical
> interface.
> 
> But you can/should protect yourself by leaving your "operating system"
> untouched.  If you are re-building QT from source, what you do is set
> the prefix to install into a nonstandard place, say
> /home/steve/packages/qt and then when you build LyX, you tell it to
> use that version of QT.  And in the configure statement for LyX, you
> set the prefix on LyX to install into /home/steve/packages/, so it
> does not affect the "operating system" even in the littlest bit.  This
> can all be installed as a non root user and it never affects anyone.
> 
> 
> > > Many users
> > > compile LyX without problems.
> >
> > That's relevent why?
> 
> That is supposed to give you the confidence to feel that, if you
> understood what was going on in the build process, you would succeed.
> If you pay attention to the advice people give you, you can make it
> work.
> 


Re: Why oh why did you drop xforms?

2008-02-20 Thread Micha
On Tue, 19 Feb 2008 14:38:57 -0500
Steve Litt <[EMAIL PROTECTED]> wrote:

> On Tuesday 19 February 2008 02:01, Abdelrazak Younes wrote:
> > Steve Litt wrote:
> 
> > > Interestingly, it appears that in order to upgrade to qt 2.2.3, I would
> > > need to upgrade my glibc (because of rtld(GNU_HASH)). I'm sorry, but
> > > that's just too much to expect from a user.
> >
> > No offense intended Steve but you are obviously confused with version
> > numbers etc. 
> 
> Of course offense was intended. A typo, or even a series of like typos, does 
> not confusion make.
> 
> > I even suspect that you didn't even fully read the README 
> > and INSTALL that come with the source. 
> 
> Quite a leap of logic.
> 
> > As an end-user, either you wait 
> > for your distro to come with a binary package or you do the required
> > step by step things you need to do in order to compile LyX. 
> 
> That's exactly my point. When the step by step implies messing with the very 
> vitals of your 1.5 year old OS, there's something very wrong with the step by 
> step.
> 

In that case you need the 1.5 year old Lyx to match your 1.5 year old distro,
don't you?

> > Many users 
> > compile LyX without problems.
> 
> That's relevent why?
> 
> SteveT
> 
> Steve Litt
> Books written in LyX:
>   Troubleshooting Techniques of the Successful Technologist
>   Twenty Eight Tales of Troubleshooting
>   Troubleshooting: Just the Facts
> 


Re: Why oh why did you drop xforms?

2008-02-20 Thread Micha
On Tue, 19 Feb 2008 14:32:02 -0500
Steve Litt <[EMAIL PROTECTED]> wrote:

> On Tuesday 19 February 2008 02:07, Abdelrazak Younes wrote:
> > JOHN CULLETON wrote:
> > > While in the process of trying to add things like Qt4 to my Slack 12
> > > system I managed to mung my ability to send outgoing mail. I
> > > reinstalled on a fresh partition but I still have problems. So among
> > > other things I am giving up on Lyx. More to the point, I am giving up
> > > on recommending Lyx to TEX newbies. If someone can cite a version of
> > > Lyx that runs without tears on the latest stable version of Slack
> > > (12) then I may give it a try again.
> > >
> > > There seems to be a virus infecting developers all over the net that
> > > compels them to use the newest tools even though the newest tools are
> > > not widely available.
> >
> > Please stop this non sense.
> 
> Makes perfect sense to me, and I couldn't have said it better myself. A
> person should not have to upgrade their distro every few months in order to
> compile the latest apps.
> 

You are getting you direction wrong, a person should have to upgrade their
software to keep working with their old distro. Upgraded software quite
understandably uses upgraded libraries which quite understandably requires
upgrading dependent software. Otherwise you would greatly cripple any
advancement of software. And that's what distros are for, to make sure that you
upgrade all dependencies at one time.

> >
> > > Qt 4 is the most notable of these attractive
> > > nuisances. True, I can install a Kubuntu 4 partition and get KDE 4
> > > which uses Qt4. But Koffice and a host of other things don't work
> > > with KDE 4. Besides, I don't like Debian.
> >
> > Back in the days I was using Slackware, I used to compile everything. If
> > you are not able to compile Qt and LyX, pay someone to do it for you and
> > stop complaining about people developing those programs for *FREE*.
> 
> I guarantee you if I so chose I could make an app you could not compile and I 
> could. But when I make free software, I try my best to make sure the user 
> will be able to follow the instructions on any Linux distro to install the 
> app. With UMENU, I went so far as to create my own DOM tree objects rather 
> than have the user need to deal with CPAN packages and possibly mess up his 
> perl (I've seen CPAN package compilation mess up perl).
> 
> You may argue that UMENU doesn't come close to the functionality required for 
> LyX, and you'd be absolutely right. But it's the philosophy I'm speaking of.
> 
> I'm sure John will stop complaining about something developed for free. 
> However, as he noted, he'll also stop recommending it, depriving the project 
> of users, documenters, and possibly developers. Sure, John is a drop in the 
> bucket and won't be missed, but when a development community starts dissing 
> individuals unable to navigate dependency hell to install the app, the future 
> might get a little rocky.
> >
> > > I am writing this via my online mailbox attached to my webpage. Trust
> > > me it is a helluva way to do my daily work.
> > >
> > > John Culleton TeX since 1995.
> >
> > Just stay with TeX and stop annoying us.
> 
> Yeah, that's the way to get LyX users -- tell em if they're not willing to 
> upgrade the very vitals of their OS so that the developers can use the latest 
> and greatest Qt instead of providing compatibility with a couple year old 
> version (Qt 4 came out summer 2005, but Qt 4.2 is much newer), they should go 
> somewhere else.
> 
> SteveT
>  
> Steve Litt
> Books written in LyX:
>   Troubleshooting Techniques of the Successful Technologist
>   Twenty Eight Tales of Troubleshooting
>   Troubleshooting: Just the Facts
> 


Re: Why oh why did you drop xforms?

2008-02-19 Thread Micha
On Tue, 19 Feb 2008 10:22:38 +0100
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> wrote:

> Abdelrazak Younes <[EMAIL PROTECTED]> writes:
> 
> > No offense intended Steve but you are obviously confused with version
> > numbers etc. I even suspect that you didn't even fully read the README
> > and INSTALL that come with the source. As an end-user, either you wait
> > for your distro to come with a binary package or you do the required
> > step by step things you need to do in order to compile LyX. Many users
> > compile LyX without problems.
> 
> Abdel, I think you miss the point that some people do not want to
> update their distro, but want to update LyX nevertheless. And many of
> these people are faithful LyX users, too.
> 

And if users want to do such stuff, they should be willing to handle
non-standard ways of installing things and not expect the developers to work
much harder and give up on a lot of features that users that do keep up with
modern libraries want.

He wants a nice new Ferrari and still fuel it with leaded fuel, it doesn't work
that way.

> JMarc
> 


Re: copy/paste from emacs/openoffice

2008-02-09 Thread Micha
On Sat, 9 Feb 2008 01:00:47 +0100
Pavel Sanda <[EMAIL PROTECTED]> wrote:

> > How do I copy text from emacs and openoffice into lyx under linux? I am
> > trying to patch together a few sources for a presentation and I can't get
> > lyx to recognize that it has something to paste in any way (marking and
> > middle mouse button or marking and using edit->copy).
> 
> what version of lyx you use?
> pavel
> 

1.5.3, but for some unknown reason it just started working again without me
doing anything. It didn't accept paste from any program no matter what i did
and now it's accepting again. Unless someone knows whats wrong I will just try
not to break it again.

Thanks


Re: copy/paste from emacs/openoffice

2008-02-09 Thread Micha
On Fri, 8 Feb 2008 16:05:52 -0800 (PST)
Rich Shepard <[EMAIL PROTECTED]> wrote:

> On Sat, 9 Feb 2008, Micha wrote:
> 
> > How do I copy text from emacs and openoffice into lyx under linux? I am
> > trying to patch together a few sources for a presentation and I can't get
> > lyx to recognize that it has something to paste in any way (marking and
> > middle mouse button or marking and using edit->copy).
> 
> Micha,
> 
>I've found that I sometimes need to hold the shift key down when I mark
> text with the trackball (mouse), and when pasting into the receiving
> application.
> 
>I've copied from emacs to lyx without any problem. Just did a test, with
> emacs running under X, too: left trackball button held down as I blocked
> text in emacs; in lyx, click the left button where I wanted to insert the
> text, then both buttons (emulating a 3-button mouse).
> 
>Worked like a charm.
> 
> Rich
> 

Well, for some reason it just started working again, don't know what kept lyx.
I don't even think that I restarted it. It didn't accept paste in any form and
now it's just working again. Go figure.

Thanks ayway


copy/paste from emacs/openoffice

2008-02-08 Thread Micha
How do I copy text from emacs and openoffice into lyx under linux? I am trying
to patch together a few sources for a presentation and I can't get lyx to
recognize that it has something to paste in any way (marking and middle mouse
button or marking and using edit->copy).

thanks


Numbering related equations with subindexes (2.1, 2.2 etc.)

2007-06-09 Thread Micha Feigin
I have some related equations that I would like to number 2.1, 2.2 etc. instead
of 2, 3 as the other equation numbers run. Is this possible?

i.e something like

a = b (1)

blah blah

c = b (2.1)
c = d (2.2)

some more blah

e = mc^2 (3)


Thanks


Re: Merging lyx documents (can version tracking be abbused for this)

2007-06-09 Thread Micha Feigin
On Thu, 07 Jun 2007 18:58:33 -0500
Todd Denniston <[EMAIL PROTECTED]> wrote:

> Micha Feigin wrote:
> > On Wed, 06 Jun 2007 11:06:44 +0200
> > Helge Hafting <[EMAIL PROTECTED]> wrote:
> > 
> >> [EMAIL PROTECTED] wrote:
> [...]
> > [...]
> >> To really save work here, learn to use the changetracking feature.
> >> Then show your coworker LyX, perhaps he'll be impressed enough
> >> to use it - you can then pass LyX documents back and forth
> >> using changetracking. LyX will not prevent him from using LaTeX,
> >> he may still apply all tricks he knows using ERT.
> >>
> > 
> > I can probably push lyx on her. The two problems are that we do a lot of
> > work for journals and conferences and most of them use all kinds of wierd
> > document styles which can make things a little auckward occationally.
> > 
> > The actual issue here won't be solved though by the default change tracking
> > implementation. What I need is a way to work in parrallel on the same
> > version and then merge the changes.
> > 
> > I see two proposed enhancements here at the moment.
> > 1. Allow the change tracking system produce a three way merge (not sure how
> > difficult)
> > 2. Allow using an existing lyx layout with just changing the latex style
> > file.
> > 
> > It will be nice if someone else is interested enough, otherwise, I'm hoping
> > to have some time in about 3-4 months to start amusing myself with this.
> > 
> 
> You might be able to solve your problems by changing your procedures a little.
> You are working on a document in parallel...
> Answer the following questions:
> 1) Can the document be broken up in to chapters/sections?
> 2) Are the two of you _normally_ working on the same chapter/section?
> 3) Are you adverse to having a master document that pulls in sub-documents?
> 4) Are you on windows or Unix? (determines some of the other tools that would 
> be suggested.)
> 
> 
> if (1) is  yes, then if you can create the outline of the document this will 
> put physical "space" in the document between your changes, this makes using 
> things like patch, rcs and CVS easier.
> 

I always break up the document into chapters/sections (that is usually the
starting point)

> if (2) is yes, then likely the current tools can't help. if (2) is no then 
> tools like patch, rcs and CVS can make your lives a little easier, with 
> communication and practice.
> 

At the point where collaboration starts it is very usual that we work on the
same parts of the document at the same time.

The problem is that lyx breaks up the lines differently after you edit them
its very hard to compare the files. Another problem is that things like
references take up a very large space so that it's hard to figure out where
they go and what they say.

I need some tool that can work on the lyx file visually (inside lyx) instead of
as a text file.

> if (3) is no, using the tools already mentioned becomes a lot easier.
> 

Depending on the size. When its a 8-12 page long article it becomes very
impractical.

> if (4) is Unix, you probably already have the tools you need. if (4) is 
> windows, we (the group) can probably guide you in finding _some_ of the tools 
> to make things work better [CVSNT].
> 

I work in linux. Others use windows but I do the merge so its no problem. Under
linux I use meld at the moment to compare the files, but like I said, if it's
not just simple text (changes often include changes to equations and
references) than it's very difficult to compare with such a tool

For windows there is winmerge which is free and relatively nice.

> Folks in the group have tackled multiple people working on the same document
> a few times already.
> 
> Or did I misread your desire here?

For an initial solution, what would do a rather good job is to be able to
enable change tracking, then replace the old document with the new one but
instead of seeing the whole document as changed, to just see those parts that
really changed. With the current implementation, if you delete a word and
retype it exactly as it was, it will be marked as deleted and inserted instead
of being returned to that state of unchanged which would be much more useful
(if that was the case I could just delete the old document and insert the new
one).


Re: Merging lyx documents (can version tracking be abbused for this)

2007-06-07 Thread Micha Feigin
On Wed, 06 Jun 2007 11:06:44 +0200
Helge Hafting <[EMAIL PROTECTED]> wrote:

> [EMAIL PROTECTED] wrote:
> > I have an imported tex->lyx document that I changed and now the original
> > (tex) was also changed by the original author
> > What is the best (or easiest) way to merge these changes?
> > AFAIK gui diff programs are sensitive to line breaks and will probably get
> > things wrong. Is it possible to abbuse the lyx change tracking mechanism
> > somehow to do this? (can it be used to merge changes done on a different
> > copy of the document instead of just on the current one?)
> >   
> The change tracking does not really help you with the editing operations.
> 
[...]
> 
> To really save work here, learn to use the changetracking feature.
> Then show your coworker LyX, perhaps he'll be impressed enough
> to use it - you can then pass LyX documents back and forth
> using changetracking. LyX will not prevent him from using LaTeX,
> he may still apply all tricks he knows using ERT.
> 

I can probably push lyx on her. The two problems are that we do a lot of work
for journals and conferences and most of them use all kinds of wierd document
styles which can make things a little auckward occationally.

The actual issue here won't be solved though by the default change tracking
implementation. What I need is a way to work in parrallel on the same version
and then merge the changes.

I see two proposed enhancements here at the moment.
1. Allow the change tracking system produce a three way merge (not sure how
difficult)
2. Allow using an existing lyx layout with just changing the latex style file.

It will be nice if someone else is interested enough, otherwise, I'm hoping to
have some time in about 3-4 months to start amusing myself with this.

> Helge Hafting
> 


Re: Setting background color

2007-05-27 Thread Micha Feigin
On Sun, 27 May 2007 17:55:56 -0400
Steve Litt <[EMAIL PROTECTED]> wrote:

> On Sunday 27 May 2007 16:46, Micha Feigin wrote:
> > I'm trying to prepare a poster with lyx and I was wondering if its possible
> > to setup the background color for the poster (I think I used to do it
> > somehow with color and texpower using the \backgroundstyle command but it
> > doesn't work for me at the moment for some reason)
> >
> > Thankx
> 
> This doesn't answer your question, but why would you use LyX to make a 1 page 
> poster that needs no styles or other through and through consistancy? Why 
> wouldn't you use Gimp?
> 

First of all, gimp isn't the right solution, it's geared towards bitmaped
images. The "right" tools (other than latex) either ooimpress (although it is
more of a presentation tool) or more appropriate, scribus.

The problem is that the poster contains mostly math and there is nothing
outside of latex that handles math properly. Plus, the original paper was
written in latex (and imported into lyx) so this way I can simply copy the
text/equations.

> SteveT
> 


Setting background color

2007-05-27 Thread Micha Feigin
I'm trying to prepare a poster with lyx and I was wondering if its possible to
setup the background color for the poster (I think I used to do it somehow with
color and texpower using the \backgroundstyle command but it doesn't work for
me at the moment for some reason)

Thankx


Re: How to Spot a Word Processed Book

2007-05-13 Thread Micha Feigin
On Sun, 13 May 2007 13:07:03 +0200
Tim Michelsen <[EMAIL PROTECTED]> wrote:

> Hello,
> 
>  I still use Word for the final spell check of my documents. After the
>  LyX spell checker run and proof-reading everything, I just copy the
>  whole text into an empty word document and look for suspicious red and
>  green lines.
> >>> How to you do this?
> >>> I can't copy anything from Lyx to another program on Ubuntu Feisty (V.
> >>> 1.4.3).
> >>> Selections I do within Lyx are ignored by other programs.
> >>>
> > 
> > You can always export as text and then open it in word.
> Oh, yes. Thanks ;-)
> 
> > I believe that there is also an option to export as rtf.
> Not in my 1.4.3on Ubuntu Lyx-Qt.
> What program is used for that export? Maybe I missed to install it...
> 

You need latex2rtf at  http://latex2rtf.sourceforge.net/
I'm using debian which has it as a package called latex2rtf. It's probably
available on ubuntu or you can try to install the debian version and then
reconfigure lyx (so that it can find it).
I have under file->export an option to export to rich text format.
Haven't used it personally though. Never had the need. In mathematics just
about everyone does latex, it's almost impossible to find someone who will take
a word document. I know one professor who has a secretary to translate word to
latex so that he can submit articles ;-)


Re: How to write an algebra textbook?

2007-05-11 Thread Micha Feigin
On Fri, 11 May 2007 07:53:13 -0500
A S Hodel <[EMAIL PROTECTED]> wrote:

> I consistently use Math Mode; once I set up/learned the keyboard  
> shortcuts to insert parenthesis and arrays, the speed of entry is  
> comparable to directly typing math equations in LaTeX, which is far  
> faster than a point-and-click approach.
> 
> LyX-Code is definitely a poor option.
> 
> Symbols for multiplication: depends on the age of the student.  If  
> we're looking at starting algebra, 8th or 9th grade (13-14 years  
> old), then I recall multiplication symbols being omitted.   
> Alternatively, you can use the \times or \cdot symbols (which will  
> transform to their correct symbols in Math Mode).
> 

There are probably four use, depending on frequency of use:
1. Stuff you use a lot : find out if there is a shortcut or define one
yourself. Look at math.bind for a start (under linux it should be
under /usr/share/lyx/math.bind
2. Use lyx code inside the math environment. If lyx knows it (usually if it can
do it itself through menus) it will translate to lyx display. try writing
\alpha or \frac in math mode and see what happens
3. For things you don't use much and don't remember the code you can always use
the menus or math-panel (toolbar in lyx 1.5)
4. The lyx command window (not sure whats it's official name is). You can press
Alt-x to see it. there you can enter lyx commands such as math-matrix 3 3 to
get a 3x3 matrix. It has a history which is nice (Alt-x and up/down arrows)

> On May 11, 2007, at 7:05 AM, Steve Litt wrote:
> 
> > Hi all,
> >
> > If I were to write an algebra textbook, on non-division equations,  
> > am I better
> > off using math mode (which seems very slow to author, if U ask me),  
> > or should
> > I use Lyx-Code and write the equations like you'd write them as  
> > source code?
> >
> > Speaking of that, what should I use as a multiplication symbol --  
> > x, X, *, or
> > something else?
> >
> > Thanks
> >
> > SteveT
> >
> > Steve Litt
> > Author: Universal Troubleshooting Process books and courseware
> > http://www.troubleshooters.com/
> 


Re: How to Spot a Word Processed Book

2007-05-11 Thread Micha Feigin
On Fri, 11 May 2007 09:45:58 +0200
Daniel Lohmann <[EMAIL PROTECTED]> wrote:

> Tim Michelsen wrote:
> > 
> > Very good point. I often do get the comment that I should run the spell
> > checker. But it takes the same amount of time to check with the Lyx 
> > spell checker and train it all the technical terms as
> > printing and correcting it manually.
> 
> Especially if you write a lot of code, which it always tries to
> spell-check as well...
> 
> > 
> >> I still use Word for the final spell check of my documents. After the
> >> LyX spell checker run and proof-reading everything, I just copy the
> >> whole text into an empty word document and look for suspicious red and
> >> green lines.
> > How to you do this?
> > I can't copy anything from Lyx to another program on Ubuntu Feisty (V.
> > 1.4.3).
> > Selections I do within Lyx are ignored by other programs.
> > 

You can always export as text and then open it in word. I believe that there is
also an option to export as rtf.

> > I never understood why Lyx which is based on QT is not able to access
> > the windows manager clipboard like the following procedure:
> > 1) CTRL+A = select the whole text in Lyx
> > 2) CTRL+C = copy selected text
> > 3) switch to Gedit, Kile, Kate or Openoffice
> > 4) CTRL+V = paste selected text there
> > 
> > I am not taking of X-server clipboard. There are several posts about it.
> > Why not using the normal clipboad just as copying from Kate to Gedit?
> > (Please correct me if I am wrong here!)
> 
> Well, I am doing it on Windows (obviously :-)), where the clipboard can
> be used as expected for getting things *out of LyX*. Pasting Text, etc.
> *into* LyX, is a bit more complicated (as one always has to choose "past
> as lines" or "past as paragraphs", where the latter would be a
> reasonable default), but works as well.
> 
> However, as far as I know, the developers have been doing a lot of good
> work on this topic for 1.5, so we can expect quite some improvements in
> clipboard handling :-)
> 
> 
> Daniel
> 


Re: What's with pushing babel into an all english document

2007-05-10 Thread Micha Feigin
On Thu, 10 May 2007 18:14:28 +0200
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> wrote:

> >>>>> "Micha" == Micha Feigin <[EMAIL PROTECTED]> writes:
> 
> Micha> Babel defines \R and \L for RTL or LTR text and it also defines
> Micha> \H but I don't recall exactly what for, something internal for
> Micha> hebrew.
> 
> But not for an all english document, right?
> 

At least some of the problem turns out not to be babel. \H is defined somewhere
to produce " above the letter.

\R and \L do not seem to be defined in an english document

> Micha> Also, I haven't checked the XeTeX compatability yet, but AFAIK
> Micha> it doesn't mix with babel (or at least I don't need babel for
> Micha> hebrew documents with XeTeX)
> >>  I *think* this is worked on.
> 
> Micha> One thing that was solved (at least according to the list) is
> Micha> the encoding issue (to allow using utf8 without the encoding
> Micha> package)
> 
> Micha> I don't know about this.
> 
> I don't either, sorry.
> 
> JMarc
> 


Re: What's with pushing babel into an all english document

2007-05-10 Thread Micha Feigin
On Thu, 10 May 2007 11:31:01 +0200
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> wrote:

> >>>>> "Micha" == Micha Feigin <[EMAIL PROTECTED]> writes:
> 
> >>  What kind of definitions? Is that a real english document?
> 
> Micha> It is a real English document which is collaborated on at the
> Micha> latex level so I'd rather keep the original definitions. In
> Micha> this case for mathematics, \R for \mathds{R} and \H for
> Micha> \mathbf{H}
> 
> Hmm, does babel override that?
> 

Babel defines \R and \L for RTL or LTR text and it also defines \H but I don't
recall exactly what for, something internal for hebrew.

> Micha> Also, I haven't checked the XeTeX compatability yet, but AFAIK
> Micha> it doesn't mix with babel (or at least I don't need babel for
> Micha> hebrew documents with XeTeX)
> 
> I *think* this is worked on.
> 

One thing that was solved (at least according to the list) is the encoding
issue (to allow using utf8 without the encoding package)

I don't know about this.

> JMarc
> 


Re: multiple authors (\and) is ert necessary

2007-05-10 Thread Micha Feigin
On Mon, 07 May 2007 18:44:56 -0400
"Paul A. Rubin" <[EMAIL PROTECTED]> wrote:

> Micha Feigin wrote:
> > Is it necessary to use ert for \and when multiple authors are used,
> 
> Yes (AFAIK).
> 
> > or is there a lyx way?
> 
> Haven't found one.  Hypothetically it might be possible to cobble 
> together a layout file that dealt with this by having two author 
> environments (one for the last or sole author, one for any author other 
> than the last), but I think it would involve convincing LyX not to stick 
>   a blank line (or bunch of blank lines) in the exported LaTeX file 
> between author fields, and I don't know how to do that, or even if it's 
> possible.
> 
> You can, of course, bind a key combination to insert the \and in ERT. 
> The sequence to bind would be something like
> 

I don't think that it's something worth doing considering this appears
something like once per paper and once in while. It's just that I try to avoid
ert hacks when a more appropriate solution exists (they are hard to maintain
and debug)

>command-sequence ert-insert;self-insert \and{};
> 
> /Paul
> 


Re: [patch] parbox with only width setting, automatic height gets height 0pt (lyx 1.5)

2007-05-10 Thread Micha Feigin
On Tue, 8 May 2007 19:39:35 +0200
Andre Poenitz <[EMAIL PROTECTED]> wrote:

> On Mon, May 07, 2007 at 10:14:04PM +0300, Micha Feigin wrote:
> > Ok, I made a patch, hope that it is the correct solution, if so then it's a
> > one liner
> > Didn't know where to send it to
> > 
> > Index: src/insets/InsetBox.cpp
> > ===
> > --- src/insets/InsetBox.cpp (revision 18217)
> > +++ src/insets/InsetBox.cpp (working copy)
> > @@ -344,7 +344,7 @@
> > // FIXME UNICODE
> > os << '[' <<
> > from_ascii(params_.height.asLatexString()) << ']';
> > -   } else {
> > +   } else if (~params_.height.zero()) {
> 
> Better !params_.height.zero() ?
> 

Yes, I caught that one. The check should also be a bit higher since it misses
an option.

The correct patch I posted before to the devel list is:

Index: src/insets/InsetBox.cpp
===
--- src/insets/InsetBox.cpp (revision 18229)
+++ src/insets/InsetBox.cpp (working copy)
@@ -340,16 +340,18 @@
os << "\\begin{minipage}";
 
os << "[" << params_.pos << "]";
-   if (params_.height_special == "none") {
-   // FIXME UNICODE
-   os << '[' << from_ascii(params_.height.asLatexString())
-  << ']';
-   } else {
-   // Special heights
-   // FIXME UNICODE
-   os << "[" << params_.height.value()
-  << '\\' << from_utf8(params_.height_special)
-  << ']';
+   if (!params_.height.zero()) {
+   if (params_.height_special == "none") {
+   // FIXME UNICODE
+   os << '[' << 
from_ascii(params_.height.asLatexString())
+  << ']';
+   } else {
+   // Special heights
+   // FIXME UNICODE
+   os << "[" << params_.height.value()
+  << '\\' << from_utf8(params_.height_special)
+  << ']';
+   }
}
if (params_.inner_pos != params_.pos)
os << "[" << params_.inner_pos << "]";

> Andre'
> 


are there alternate svn servers for lyx?

2007-05-07 Thread Micha Feigin
I was wondering if there are alternate svn servers for lyx as svn.lyx.org is
mostly unresponsive (I don't know if it's my location or server overload).

I'm trying to pull the latest changes since my current version isn't running
(fails on new file) and of course I'm on a deadline and I don't have a backup
of previous versions (I was trying to fix something and something else broke
in the process).

Otherwise, is it possible to pull previous versions (two days ago or so) from
the local svn directory like with git or does it only store the last pull?

Thanksl


Re: [patch] parbox with only width setting, automatic height gets height 0pt (lyx 1.5)

2007-05-07 Thread Micha Feigin
Ok, I made a patch, hope that it is the correct solution, if so then it's a one
liner
Didn't know where to send it to

Index: src/insets/InsetBox.cpp
===
--- src/insets/InsetBox.cpp (revision 18217)
+++ src/insets/InsetBox.cpp (working copy)
@@ -344,7 +344,7 @@
// FIXME UNICODE
os << '[' << from_ascii(params_.height.asLatexString())
   << ']';
-   } else {
+   } else if (~params_.height.zero()) {
// Special heights
// FIXME UNICODE
os << "[" << params_.height.value()


On Mon, 7 May 2007 02:32:57 +0300
Micha Feigin <[EMAIL PROTECTED]> wrote:

> I seem to be having a problem with some tex code imported into lyx 1.5
> It contains an image and only width originally, but lyx insists on inserting
> height zero which completely messes up the rendering. (image is interleaved
> with text)
> 
> i.e, the following
> 
> \parbox{0.24\textwidth}{
>   \begin{center}
>   \includegraphics[width=0.22\textwidth, height=0.33\textwidth]
>   {eigvec_-0_0009.jpg}\\
>   $\lambda = -0.0009$
>   \end{center}
> }
>  
> is imported as
> 
> \parbox[c][0pt]{0.24\textwidth}{%
> 
> 
> \begin{center}
> \includegraphics[width=0.22\textwidth,height=0.33\textwidth]{images/eigvec_-0_0009}\\
>  $\lambda=-0.0009$ 
> \par\end{center}%
> }%
> 
> Am I doing something wrong or is this a bug?
> 
> Thanks
> 


Fw: What's with pushing babel into an all english document

2007-05-07 Thread Micha Feigin
Sorry, should have been sent to the list but reply to list doesn't work with
lyx-users

Begin forwarded message:

Date: Mon, 7 May 2007 22:06:13 +0300
From: Micha Feigin <[EMAIL PROTECTED]>
To: Jean-Marc Lasgouttes <[EMAIL PROTECTED]>
Subject: Re: What's with pushing babel into an all english document


On Mon, 07 May 2007 09:04:11 +0200
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> wrote:

> >>>>> "Micha" == Micha Feigin <[EMAIL PROTECTED]> writes:
> 
> Micha> I'm playing around with lyx 1.5 beta 2 (from svn) It seems that
> Micha> when exporting to latex (an all english document) lyx use the
> Micha> babel package even when it is not needed (overriding in this
> Micha> case some definitions I use). 
> 
> What kind of definitions? Is that a real english document?
> 
> JMarc
> 

It is a real English document which is collaborated on at the latex level so
I'd rather keep the original definitions.
In this case for mathematics, \R for \mathds{R} and \H for \mathbf{H}

Also, I haven't checked the XeTeX compatability yet, but AFAIK it doesn't mix
with babel (or at least I don't need babel for hebrew documents with XeTeX)


  1   2   >