Re: How to number an inline equation

2008-12-03 Thread Konrad Hofbauer

Kuang Chen wrote:

Hi, Konrad:

Problem solved. I found the reason seems to be that spacing is big whenever 
I want to insert a real display equation in a separate line. However if I 
insert it right after a paragraph by ctrl+alt+n, a new box will also show up on 
a new line below the paragraph, but the spacing is normal. Any idea why?


Yes, because starting a new line means starting a new "paragraph" (you 
might have to read up what a paragraph means in latex). And each 
paragraphs gets extra space. But usually you want your equations to be 
part of the same paragraph as the surrondind text (so no 'enter' before 
and after the text). It's the same in Latex.


/Konrad


Re: How to number an inline equation

2008-12-03 Thread Konrad Hofbauer

Kuang Chen wrote:
 Here is the situation: I have a bunch of inline equations to number. They have \displaystyle, are centered on a separate line. So basically they look like a real display-styled equations. The ONLY difference is that those real display equations created by CTRL+SHIFT+M has a larger spacings away from its adjacent paragraphs, which I don't quite look like. 


 Then I found I couldn't number my pseudo-displaystyle equation. So I was 
wondering if anyone have any clue about how to do this,


This is not a good way of doing it (also paragraph indentation becomes 
wrong).


or EQUIVALENTLY, how can I modify the style of real displaystyle equation which can be numbered, such that their spacing become less? 


That's the better way to look for.

A small google search brings up:
http://osdir.com/ml/tex.tugindia/2007-03/msg00049.html
Two skips namely, \abovedisplayskip and \belowdisplayskip control
the vertical space above and below an equation. You might play
with these two skips with different values and arrive at the
optimal ones for your document.

So something like \setlength{\abovedisplayskip}{-0.5\baselineskip} at 
the beginning of the document?


/Konrad



view pdf : file does not exist

2008-12-03 Thread Mike Martell
I recently changed macs using migration assistant. now, when i try to
view pdf, i am told that the file does not exist?

any help? thanks


Re: Suggesting on Math editing and the Toolbar position

2008-12-03 Thread asm23

Paul Smith wrote:

On Wed, Dec 3, 2008 at 6:25 PM, Richard Heck <[EMAIL PROTECTED]> wrote:

If I want to edit math formula at bottom of the View. When I click the
formula, then ,the math toolbar jumped out and would overlay the math
formula area. I think it is not a convenient manner.

So, I suggest the whole page will slide ahead a bit to avoid this
problem.


That is quite annoying the problem that you mention. Maybe one should
file a bug for that?

I've seen this too, but have been too lazy to file a bug.


Done:

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

Paul


I see, so, we can treat it as a "small bug".
Thanks Paul for your effort to report this error!



How to number an inline equation

2008-12-03 Thread Kuang Chen
Hi,

 Here is the situation: I have a bunch of inline equations to number. They 
have \displaystyle, are centered on a separate line. So basically they look 
like a real display-styled equations. The ONLY difference is that those real 
display equations created by CTRL+SHIFT+M has a larger spacings away from its 
adjacent paragraphs, which I don't quite look like. 

 Then I found I couldn't number my pseudo-displaystyle equation. So I was 
wondering if anyone have any clue about how to do this, or EQUIVALENTLY, how 
can I modify the style of real displaystyle equation which can be numbered, 
such that their spacing become less? 

 Thanks in advance!




Does the version management work under windows?

2008-12-03 Thread Niko Schwarz
ok, i think i figured this out. i needed to install more miktex packages. it
runs now.
but the version management does not work at all. i see it complain that some
ci tool is returning an error. there is no ci tool installed at all, so im
not surprised.

it does not appear in the cygwin tree, so im uncertain if i can do a thing
about it.

what do i do?

2008/12/3 Niko Schwarz <[EMAIL PROTECTED]>

> I wrote this lyx file on my mac and it worked fine. then my mac exploded
> and now im trying to work with it on my windows box. but the latex compiler
> says: "prettyref.sty noot found".
> why does it say that? what can i do about it?
>
> cheers,
>
> niko
>


Re: LaTeX Error: File `prettyref.sty' not found.

2008-12-03 Thread Jürgen Spitzmüller
Niko Schwarz wrote:

> why does it say that? 

because prettyref.sty is not installed on your computer.

> what can i do about it?

Install it :-)

Grab it here:
http://ctan.org/tex-archive/macros/latex/contrib/prettyref

or try to get it via your package manager (probably the MikTeX package manager).

Jürgen

BTW the problem with prettyref, which is used by LyX for formatted cross 
references, was that it had an unclear license, so many TeX distributions 
excluded it. Recently, the license issue was sorted out, so the package will 
most likely be reincluded in the distros.




Re: Find and Replace math

2008-12-03 Thread Jean-Marc Lasgouttes
Richard Heck <[EMAIL PROTECTED]> writes:
> This is a long-standing desire, for "round trip" LaTeX editing, or the
> ability to edit directly in the View>Source pane. Unfortunately, LyX's
> own internal format isn't LaTeX, and the tex2lyx importer isn't ready
> for this kind of thing. 

Basically, it is easy to offer this feature of latex editing, but the
result would be so dissatisfyng that people would complain endlessly
about it. LyX is only able to _produce_ some restricted form of LaTeX,
not to edit arbitrary latex. 

> But rest assured people keep thinking about it, and JMarc's recent
> work updating tex2lyx, so that it will at least produce the 1.6
> format---I can't remember if this has actually been completely done
> yet---is at least a step in the right direction.

I am not sure it is much of a step in this particular direction. LaTeX
handling will always remain in the import/export dept, that is an
imperfect transformation.

JMarc


Re: footnote problem

2008-12-03 Thread Erez Yerushalmi
Wow, thank Konrad!!  I didn't know that!!

also, thanks rh for explaining this.

Best Regards, Erez



On Wed, Dec 3, 2008 at 10:34 PM, Konrad Hofbauer <[EMAIL PROTECTED]>wrote:

> Erez Yerushalmi wrote:
> > I suddenly wished that LyX had a simple button to switch between
> "regular"
> > lyx view and a Kile-type view. Then Kile would be absolute because LyX
> would
> > be able to do both at the same time.
>
> In LyX, View -> Source.  You cannot edit the Latex code, but you see it.
>
> /Konrad
>
>


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


LaTeX Error: File `prettyref.sty' not found.

2008-12-03 Thread Niko Schwarz
I wrote this lyx file on my mac and it worked fine. then my mac exploded and
now im trying to work with it on my windows box. but the latex compiler
says: "prettyref.sty noot found".
why does it say that? what can i do about it?

cheers,

niko


Re: footnote problem

2008-12-03 Thread Konrad Hofbauer

Erez Yerushalmi wrote:
> I suddenly wished that LyX had a simple button to switch between 
"regular"
> lyx view and a Kile-type view. Then Kile would be absolute because 
LyX would

> be able to do both at the same time.

In LyX, View -> Source.  You cannot edit the Latex code, but you see it.

/Konrad



Re: Find and Replace math

2008-12-03 Thread Richard Heck

Erez Yerushalmi wrote:

I had an idea regarding this issue, which could be useful a wide range of
issues

The easiest option at the moment to find and replace would be to export as
latex into an editor, and find and replace y_{1t}  into  x_{1t}. Then import
it again.

If LyX is an editor for Latex, why don't we have a special button that
enables us to switch from "regular" LyX view to a "programing" editor view?

Then, I would find and replace like I will do now in a programming editor.
Furthermore, this would cover all the latex command possible in one shot.

When I'm done, I press again "regular" lyx view, and continue my work.

Another side benefit would be that it actually helps us to understand what
underlying latex commands were actually used in LyX, which would bring me
back to the basics, closer to the LyX/Latex idea.

  
This is a long-standing desire, for "round trip" LaTeX editing, or the 
ability to edit directly in the View>Source pane. Unfortunately, LyX's 
own internal format isn't LaTeX, and the tex2lyx importer isn't ready 
for this kind of thing. But rest assured people keep thinking about it, 
and JMarc's recent work updating tex2lyx, so that it will at least 
produce the 1.6 format---I can't remember if this has actually been 
completely done yet---is at least a step in the right direction.


rh



Re: footnote problem

2008-12-03 Thread Erez Yerushalmi
Hi,

Just to add to your discussion. I agree with Marcelo completely. That is why
I really love LyX.
Please read my previous mail to JMarc regarding this kind of issue.

I suddenly wished that LyX had a simple button to switch between "regular"
lyx view and a Kile-type view. Then Kile would be absolute because LyX would
be able to do both at the same time.

Talking to many of my friends, I find groups split between those that want
more Latex control and those wanting more freedom to focus on the work and
not the programming.

This type of button I'm suggesting solves the conflict.

Regards,  Erez


On Wed, Dec 3, 2008 at 10:02 PM, Marcelo Acuña <[EMAIL PROTECTED]> wrote:

> > Hi Marcelo,
> > thank you for your answer. The mistake was my own - when
> > defining text parts
> > as quotes i sometimes marked the citations as quotes too,
> > which led to the
> > strange pdf outputs. So there's no problem with lyx at
> > all. It's the user :)!
> > Anyway, I think that it would be a good enshancement for a
> > next version, to
> > make the distinction between different parts of the text
> > more visible on the
> > edit screen. I finally found the mistake in the latex
> > source code (using
> > kile), where the commands are clearly visible (because
> > written).
> > Being a pretty chaotic writer, i'll use kile in future,
> > to avoid problems like
> > this.
> >
> > All the best,
> > Daniel
> >
>  Excuse me. I don´t understand what happened.
>  Quotes may have footnotes.
>  In Lyx quotes appears clearly centered and footnotes appears in an box
> with a button. I have some problems but never have this confusion.
>  For me, a very  chaotic writer, Lyx is a great help in to clarify complex
> text. Without navigation menú, box for footnotes, indicated titles, quotes,
> and so on, a big work is very difficult in plain Latex with my document
> pestered with Latex commands.
>  In any case, good luck with Kile!
>  Regards
> Marcelo
>
>
>
>  Yahoo! Cocina
> Recetas prácticas y comida saludable
> http://ar.mujer.yahoo.com/cocina/
>



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


Re: footnote problem

2008-12-03 Thread Marcelo Acuña
> Hi Marcelo,
> thank you for your answer. The mistake was my own - when
> defining text parts 
> as quotes i sometimes marked the citations as quotes too,
> which led to the 
> strange pdf outputs. So there's no problem with lyx at
> all. It's the user :)! 
> Anyway, I think that it would be a good enshancement for a
> next version, to 
> make the distinction between different parts of the text 
> more visible on the 
> edit screen. I finally found the mistake in the latex
> source code (using 
> kile), where the commands are clearly visible (because
> written).
> Being a pretty chaotic writer, i'll use kile in future,
> to avoid problems like 
> this.
> 
> All the best,
> Daniel
> 
 Excuse me. I don´t understand what happened.
 Quotes may have footnotes.
 In Lyx quotes appears clearly centered and footnotes appears in an box with a 
button. I have some problems but never have this confusion.
 For me, a very  chaotic writer, Lyx is a great help in to clarify complex 
text. Without navigation menú, box for footnotes, indicated titles, quotes, and 
so on, a big work is very difficult in plain Latex with my document pestered 
with Latex commands.
 In any case, good luck with Kile!
 Regards
Marcelo
 


  Yahoo! Cocina
Recetas prácticas y comida saludable
http://ar.mujer.yahoo.com/cocina/


Re: Find and Replace math

2008-12-03 Thread Erez Yerushalmi
Hi JMarc,

Thanks for your answer!
Is it you in youtube??? :-)

I had an idea regarding this issue, which could be useful a wide range of
issues

The easiest option at the moment to find and replace would be to export as
latex into an editor, and find and replace y_{1t}  into  x_{1t}. Then import
it again.

If LyX is an editor for Latex, why don't we have a special button that
enables us to switch from "regular" LyX view to a "programing" editor view?

Then, I would find and replace like I will do now in a programming editor.
Furthermore, this would cover all the latex command possible in one shot.

When I'm done, I press again "regular" lyx view, and continue my work.

Another side benefit would be that it actually helps us to understand what
underlying latex commands were actually used in LyX, which would bring me
back to the basics, closer to the LyX/Latex idea.

The bad part in Scientific Workplace is that they are getting further and
further away from Latex.  I like LyX because it somehow the best of both
worlds.

What do you say??

Best regards,  Erez


On Wed, Dec 3, 2008 at 9:43 PM, Jean-Marc Lasgouttes <[EMAIL PROTECTED]>wrote:

> "Erez Yerushalmi" <[EMAIL PROTECTED]> writes:
>
> > Dear All,
> >
> > I need to change many symbols in a document.
> > In LyX-wiki and in youtube http://www.youtube.com/watch?v=JxjMVvn7d3M
> > I find that I should be able to use the advanced search with
> control-shift-f
> >
> > But this does't work.  Does anyone know why?
>
> It is only available in development trunk (that will become 2.0). But it
> does not work as well as we would like yet.
>
> JMarc
>



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


Re: Find and Replace math

2008-12-03 Thread Jean-Marc Lasgouttes
"Erez Yerushalmi" <[EMAIL PROTECTED]> writes:

> Dear All,
>
> I need to change many symbols in a document.
> In LyX-wiki and in youtube http://www.youtube.com/watch?v=JxjMVvn7d3M
> I find that I should be able to use the advanced search with control-shift-f
>
> But this does't work.  Does anyone know why?

It is only available in development trunk (that will become 2.0). But it
does not work as well as we would like yet.

JMarc


Find and Replace math

2008-12-03 Thread Erez Yerushalmi
Dear All,

I need to change many symbols in a document.
In LyX-wiki and in youtube http://www.youtube.com/watch?v=JxjMVvn7d3M
I find that I should be able to use the advanced search with control-shift-f

But this does't work.  Does anyone know why?

I'm using
lyx 1.6.0
window xp


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


Re: frequent unexpected lyx 1.6.0 crashes - loss of work

2008-12-03 Thread Erez Yerushalmi
OK, Sorry to write this now.

But actually, with Oliver's method,

\alpha  = 2\times \beta 
pressing 6 times ctrl-z

I can 100% a crash.

But, only after I placed in a Section Heading.

So we have probably the same bug.

Best Regards, Erez



On Wed, Dec 3, 2008 at 12:32 PM, Olivier Ripoll <
[EMAIL PROTECTED]> wrote:

> Micha Feigin wrote:
>
>> 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
>>
>>
> I can confirm this crash, but LyX does not seem to dump anything, so I
> cannot use the Debug & Diagnostic tool.
> It's only where there is nothing more to undo inside the equation that it
> "sigsev"es.
> For instance, if you type something like ( is the keyboard space)
>
> \alpha  = 2\times \beta 
>
> it only after pressing 6 times ctrl-z that it crashes.
>
> Best regards,
>
> Olivier.
>
>


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


Re: frequent unexpected lyx 1.6.0 crashes - loss of work

2008-12-03 Thread Erez Yerushalmi
Dear All,

I have been following all your comments quietly. Unfortunately, I don't know
how to contribute to the discussion.

I can reproduce crashes, but I can't find exactly a systematic way to do it.
I just spent 15 min, and made 5 crashes.

What I need to do is the following:

Open up a math box
Write a few latex symbols \alpha \beta
THEN,
start messing wildly around with control x, control c, control z
(and I mean wildly)
and get a crash

I am also able to make a crash in a new file, but only after I added section
and subsection. But I don't know if that is really because of it, or because
I just kept on messing around and increased the probably of hitting it
right.

Unfortunately, I think I'll need to return temporarily to 1.5.7 until this
could be resolved. Thanks to LyX, I stopped writing by hand completely, and
it is a very important tool for me.

If there is anything I can help with, please give me some instructions.

Erez


On Wed, Dec 3, 2008 at 1:20 PM, Jürgen Spitzmüller <[EMAIL PROTECTED]>wrote:

> Micha Feigin wrote:
>
> > 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
>
> OK, then it's the mentioned bug. As said, already fixed,
>
> Jürgen
>
>


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


Re: Suggesting on Math editing and the Toolbar position

2008-12-03 Thread Paul Smith
On Wed, Dec 3, 2008 at 6:25 PM, Richard Heck <[EMAIL PROTECTED]> wrote:
>>> If I want to edit math formula at bottom of the View. When I click the
>>> formula, then ,the math toolbar jumped out and would overlay the math
>>> formula area. I think it is not a convenient manner.
>>>
>>> So, I suggest the whole page will slide ahead a bit to avoid this
>>> problem.
>>>
>>
>> That is quite annoying the problem that you mention. Maybe one should
>> file a bug for that?
>
> I've seen this too, but have been too lazy to file a bug.

Done:

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

Paul


Re: editing problems with 1.6 and mac 10.4 intel

2008-12-03 Thread charles reid
It turns out the issue was, as mentioned, related to a bind file - I was
able to restore functionality by going to LyX > Preferences > Shortcuts and
changing the Bind File field from what it was to "mac.bind".  However, if I
simply deleted or moved my old bind file, it didn't fix the problem.  When
the bind file is empty, or when no bind file is specified, it makes the
functionality of the Shift key even worse (i.e. Shift + page down/up, Shift
+ home/end, etc., which all worked before for me, stop working).


Charles


On Wed, Dec 3, 2008 at 5:27 AM, Konrad Hofbauer <[EMAIL PROTECTED]>wrote:

> Brian Kidd wrote:
>
>> i am a long-time LyX user and big fan of the software. i recently upgraded
>> to 1.6 and noticed a few strange editing problems.
>>
>
> Most likely, you have own customized bind- and/or ui-files from old
> versions in your user-directory, which are copied over to the new version,
> but do not properly work there anymore (and the Mac installer also told you
> that).
>
> A radical cure to fix all problems is to delete ALL Lyx-folders (such as
> LyX, LyX-1.5, LyX-1.6, ...) in /Users/yourusername/Library/Application
> Support (or better: move them to some other directory) and run the
> LyX-Installer from the dmg again.
>
> You will have to redo all your prior configurations, but therefore things
> will work. LyX 1.6 was a major release, so quite some things changed.
>
>  cmd-return does not break the paragraph (nothing happens and LyX displays
>> unknown function in the lower left) and holding down shift to highlight
>> characters or words does not work. in fact, if i have something highlighted,
>> holding shift and moving the cursor to add or remove a character from the
>> highlight causes the entire highlighted section to become unhighlighted.
>>
>
> All works fine here. Above procedure should fix it.
>
>  one other odd thing is i get a small ">" character on the right side of
>> the cursor. this character appears when i'm moving the cursor with the right
>> or left arrow keys or sometimes when i'm typing. it seems like a graphical
>> glitch and is somewhat annoying. is this expected?
>>
>
> Yes, it is a new feature, "Autocompletion". You can turn it off in the
> Preferences.
>
>
>> i'm running LyX on a mac 10.4 intel. previous versions of LyX worked great
>> and didn't have these odd editing problems. the .bind document hasn't
>> changed with the upgrade.
>>
>
> And that is exactly the problem. The installer is not able to do migrate
> the old bind file to the new format. Trash the old one, and define your
> key-bindings again, this time in the GUI (in Preferences).
>
> There are some small limitations currently in the Shortcuts-GUI, if you
> should run into them, search the LyX archive for solutions.
>
> Hope this helps,
> Konrad
>
>


Re: Suggesting on Math editing and the Toolbar position

2008-12-03 Thread Richard Heck

Paul Smith wrote:

On Wed, Dec 3, 2008 at 2:37 PM, asm23 <[EMAIL PROTECTED]> wrote:
  

If I want to edit math formula at bottom of the View. When I click the
formula, then ,the math toolbar jumped out and would overlay the math
formula area. I think it is not a convenient manner.

So, I suggest the whole page will slide ahead a bit to avoid this problem.



That is quite annoying the problem that you mention. Maybe one should
file a bug for that?

  

I've seen this too, but have been too lazy to file a bug.

rh



Re: Suggesting on Math editing and the Toolbar position

2008-12-03 Thread Paul Smith
On Wed, Dec 3, 2008 at 2:37 PM, asm23 <[EMAIL PROTECTED]> wrote:
> If I want to edit math formula at bottom of the View. When I click the
> formula, then ,the math toolbar jumped out and would overlay the math
> formula area. I think it is not a convenient manner.
>
> So, I suggest the whole page will slide ahead a bit to avoid this problem.

That is quite annoying the problem that you mention. Maybe one should
file a bug for that?

Paul


Re: LyX and Docbook/XML

2008-12-03 Thread José Matos
On Wednesday 26 November 2008 20:13:29 Ethan Metsger wrote:
> On Wed, 26 Nov 2008 14:48:26 -0500, José Matos <[EMAIL PROTECTED]> wrote:
> > I would have done before if I had not been victim of a cold. :-)
>
> I'm currently recovering from one, too--no worries about the delay.
>
> > What are the problems that you have encountered. I am interested to fix
> > them
> > in both the stable and the development series.
> >
> > I am specially interested in the problems you are having with the xml
> > generated docbook.
>
> I'll file some bug reports (and throw them back in this thread), but in

Please do.

> general it looks like the  tag is improperly generated (using
> 'lang="EN_US"' appears to be invalid), and I have not been able to get

OK, the right language should be "EN", I thought I had this working, I will 
fix it. The best fix would probably to have a list of supported stylesheet 
languages and if necessary return the nearest.

> graphics properly embedded in the HTML output.  The  section
> is also not properly outputted; I suspect this can be fixed pretty easily
> by layout changes, but I'm not sure.

A better error handling would allow to understand what the error is.

> The user-customized preamble is put into the doctype declaration, too--I
> don't really consider this a bug, but I was a little surprised to find it
> in the output.

The rationale is that is the only place where you can define entities. This is 
more or less the analog of latex preamble although you do more in latex than 
just to define constants.

> LyX is also a few revisions behind in its DocBook support, at least
> according to the doctype (I think 4.4 is the last 4.x revision, and 5.x is
> current; the generated XML says that it's using 4.2).

That can be easily changed in the layout file. I should have updated the 
layout before the last update to 1.6.0. Again one of the problems it that this 
is not documented.

> I've used both the sgmltools package and the sgml2x package.  I'll make
> sure to describe the pertinent information in the bugzilla filings when
> the time comes, as the two seem to work slightly differently.
>
> Thanks again for all your hard work, guys; I really do appreciate it.

Thanks,

> Best,
>
> Ethan
> ([EMAIL PROTECTED])

-- 
José Abílio



Re: editing problems with 1.6 and mac 10.4 intel - fixed

2008-12-03 Thread Brian Kidd
thanks for the suggestions. removing the .bind file worked and i was  
able to create new bindings that match my previous shortcuts.


thanks,
-brian

On Dec 3, 2008, at 4:27 AM, Konrad Hofbauer wrote:


Brian Kidd wrote:
i am a long-time LyX user and big fan of the software. i recently  
upgraded to 1.6 and noticed a few strange editing problems.


Most likely, you have own customized bind- and/or ui-files from old  
versions in your user-directory, which are copied over to the new  
version, but do not properly work there anymore (and the Mac  
installer also told you that).


A radical cure to fix all problems is to delete ALL Lyx-folders  
(such as LyX, LyX-1.5, LyX-1.6, ...) in /Users/yourusername/Library/ 
Application Support (or better: move them to some other directory)  
and run the LyX-Installer from the dmg again.


You will have to redo all your prior configurations, but therefore  
things will work. LyX 1.6 was a major release, so quite some things  
changed.


cmd-return does not break the paragraph (nothing happens and LyX  
displays unknown function in the lower left) and holding down  
shift to highlight characters or words does not work. in fact, if  
i have something highlighted, holding shift and moving the cursor  
to add or remove a character from the highlight causes the entire  
highlighted section to become unhighlighted.


All works fine here. Above procedure should fix it.

one other odd thing is i get a small ">" character on the right  
side of the cursor. this character appears when i'm moving the  
cursor with the right or left arrow keys or sometimes when i'm  
typing. it seems like a graphical glitch and is somewhat annoying.  
is this expected?


Yes, it is a new feature, "Autocompletion". You can turn it off in  
the Preferences.


i'm running LyX on a mac 10.4 intel. previous versions of LyX  
worked great and didn't have these odd editing problems. the .bind  
document hasn't changed with the upgrade.


And that is exactly the problem. The installer is not able to do  
migrate the old bind file to the new format. Trash the old one, and  
define your key-bindings again, this time in the GUI (in Preferences).


There are some small limitations currently in the Shortcuts-GUI, if  
you should run into them, search the LyX archive for solutions.


Hope this helps,
Konrad





Suggesting on Math editing and the Toolbar position

2008-12-03 Thread asm23
If I want to edit math formula at bottom of the View. When I click the 
formula, then ,the math toolbar jumped out and would overlay the math 
formula area. I think it is not a convenient manner.


So, I suggest the whole page will slide ahead a bit to avoid this problem.

Thank you!



Re: Presentation about LyX ?

2008-12-03 Thread asm23

Konrad Hofbauer wrote:

Hello,

has sombody ever made a presentation and/or slides _about_ LyX, for a 
LaTeX-savy scientific audience?


I am thinking about giving one, and it would be nice to have slides to 
start from ...


/Konrad

Do you mean that you want to make some slides or presentation to 
introduce Lyx?


I think http://www.lyx.org/VisualTour is a good place to visit.



Re: Installation on Windows XP and 2000 failes

2008-12-03 Thread asm23

Antonio Costa wrote:

Hi all,

I've tried to install Lyx on Windows2000 and XP. In both cases I get error 
messages:


Error opening file for writing:
MiKTeX2.7SystemAdmin yesPowerUser noSharedSetup unknownBinDir C\Program 
Files\MiKTex2.7\miktex\binOS Microsoft


After that message I get this one:
Printer rundll command failed.
Command: /if /f "C:\Documents and 
Settings\c..\metafile2eps.inf" /r "FILE:" /m "Metafile to EPS Converter". 
Operation could not be completed.


Can anybody give some hints how to fix these errors?

After installation completes it isn't possible to print anything.

Thanks
Antonio




I have no problem installing in windwos xp.
I guess you are not an "administrator" in windows xp or windows 2000.
Ensure that you have the administrator privilege and install it again. 
Good luck.




Re: frequent unexpected lyx 1.6.0 crashes - loss of work

2008-12-03 Thread Jürgen Spitzmüller
Micha Feigin wrote:

> 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

OK, then it's the mentioned bug. As said, already fixed,

Jürgen



Re: problem with fig2pdftex in newest Ubuntu

2008-12-03 Thread Abdelrazak Younes

Martin Vermeer wrote:

Hi,

I just was involuntarily forced to test Ubuntu 8.10 (my power supply
burned out and probably something else too, because we couldn't get
the box back to  life again with a new power supply), and having
problems with XFig figures in LyX.

They come out 90 degs rotated and with the wrong bounding box (?)
i.e., cut off. If I export to LaTeX manually and re-generate the
pdftex_t and pdf files from XFig manually, things work fine.

I though the problem was with Angus' heuristics in fig2pdftex.py and
fig2pstex.py in lib/scripts. However, from the cammand line these
work OK too.

Could somebody please have a look into this? Version is the official
one, 1.5.6. XFig is 3.2 patch level 5,


Hi Martin,

I remember fixing in bug in the 1.6 version of the script in order to 
cleanup the external inset support. This was windows related AFAIR but 
you should have a look in there. I don't think this particular script 
has changed much anyway.


Abdel.



Re: footnote problem

2008-12-03 Thread Marcelo Acuña
> Hi,
> I'm just finishing my thesis and have got some problems
> with a couple of 
> footnotes. some of them are moved somewhat towards the
> middle and there is a 
> pretty large paragraph above it.
> 
> actually i can't really trace the problem, i already
> tried a couple of 
> templates (book, book-memoire, book-komascript)
> it's happening, when directly citing quotations (but
> just sometimes).
> 
> I'd like to stay with the latter, because it fits my
> school's demands the 
> best.
> 
> I'm using lyx 1.5.3 linux, having installed most of the
> texlive packages.
> 
> any help would be highly appreciated (it's just 3
> footnotes or so, but anyway 
> makes the layout somewhat crappy)!
> 
> daniel

 I don´t understand what problem have with this footnotes.
 Can you clarify the problem?

Marcelo
 


  Yahoo! Cocina
Recetas prácticas y comida saludable
http://ar.mujer.yahoo.com/cocina/


Presentation about LyX ?

2008-12-03 Thread Konrad Hofbauer

Hello,

has sombody ever made a presentation and/or slides _about_ LyX, for a 
LaTeX-savy scientific audience?


I am thinking about giving one, and it would be nice to have slides to 
start from ...


/Konrad


Re: frequent unexpected lyx 1.6.0 crashes - loss of work

2008-12-03 Thread Olivier Ripoll

Micha Feigin wrote:

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



I can confirm this crash, but LyX does not seem to dump anything, so I 
cannot use the Debug & Diagnostic tool.
It's only where there is nothing more to undo inside the equation that 
it "sigsev"es.

For instance, if you type something like ( is the keyboard space)

\alpha  = 2\times \beta 

it only after pressing 6 times ctrl-z that it crashes.

Best regards,

Olivier.



Re: editing problems with 1.6 and mac 10.4 intel

2008-12-03 Thread Konrad Hofbauer

Brian Kidd wrote:
i am a long-time LyX user and big fan of the software. i recently 
upgraded to 1.6 and noticed a few strange editing problems.


Most likely, you have own customized bind- and/or ui-files from old 
versions in your user-directory, which are copied over to the new 
version, but do not properly work there anymore (and the Mac installer 
also told you that).


A radical cure to fix all problems is to delete ALL Lyx-folders (such as 
LyX, LyX-1.5, LyX-1.6, ...) in /Users/yourusername/Library/Application 
Support (or better: move them to some other directory) and run the 
LyX-Installer from the dmg again.


You will have to redo all your prior configurations, but therefore 
things will work. LyX 1.6 was a major release, so quite some things changed.


cmd-return 
does not break the paragraph (nothing happens and LyX displays unknown 
function in the lower left) and holding down shift to highlight 
characters or words does not work. in fact, if i have something 
highlighted, holding shift and moving the cursor to add or remove a 
character from the highlight causes the entire highlighted section to 
become unhighlighted. 


All works fine here. Above procedure should fix it.

one other odd thing is i get a small ">" character 
on the right side of the cursor. this character appears when i'm moving 
the cursor with the right or left arrow keys or sometimes when i'm 
typing. it seems like a graphical glitch and is somewhat annoying. is 
this expected?


Yes, it is a new feature, "Autocompletion". You can turn it off in the 
Preferences.




i'm running LyX on a mac 10.4 intel. previous versions of LyX worked 
great and didn't have these odd editing problems. the .bind document 
hasn't changed with the upgrade. 


And that is exactly the problem. The installer is not able to do migrate 
the old bind file to the new format. Trash the old one, and define your 
key-bindings again, this time in the GUI (in Preferences).


There are some small limitations currently in the Shortcuts-GUI, if you 
should run into them, search the LyX archive for solutions.


Hope this helps,
Konrad



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


problem with fig2pdftex in newest Ubuntu

2008-12-03 Thread Martin Vermeer

Hi,

I just was involuntarily forced to test Ubuntu 8.10 (my power supply burned out 
and probably something else too, because we couldn't get the box back to  life 
again with a new power supply), and having problems with XFig figures in LyX.

They come out 90 degs rotated and with the wrong bounding box (?) i.e., cut 
off. If I export to LaTeX manually and re-generate the pdftex_t and pdf files 
from XFig manually, things work fine.

I though the problem was with Angus' heuristics in fig2pdftex.py and 
fig2pstex.py in lib/scripts. However, from the cammand line these work OK too.

Could somebody please have a look into this? Version is the official one, 
1.5.6. XFig is 3.2 patch level 5, 

- Martin


Re: editing problems with 1.6 and mac 10.4 intel

2008-12-03 Thread Jürgen Spitzmüller
charles reid wrote:

> I am using LyX 1.6.0 on OS X 10.5 and I can confirm the behavior of the
> Shift-key problem.  If I use the Shift key plus the left and right arrows,
> no text is selected, and the arrows simply move left and right as though
> Shift were not being held down (same behavior for both left and right
> Shift keys).  However, using the Shift key with the up and down arrows
> works fine.  This issue is not present in 1.5.6 or 1.5.7.

Do you have some configuration files (especially *.ui and *.bind files) from a 
previous version installed in your user directory? If so, try if removing them 
helps.

Jürgen



Re: Macros and Parent/Child Documents in 1.6

2008-12-03 Thread charles reid
I actually experience the same issue, but with macros that take no arguments
as well as with macros that do take arguments.


Charles


On Tue, Dec 2, 2008 at 8:17 AM, James Sutherland
<[EMAIL PROTECTED]>wrote:

>
> On Dec 2, 2008, at 5:49 AM, Stefan Schimanski wrote:
>
>
>> Am 01.12.2008 um 18:59 schrieb James Sutherland:
>>
>>  I have a parent document where I have defined macros.  In the child
>>> document, I have used the macro.
>>>
>>> The compiled output (either from the child, or the parent), is fine.
>>>  However, the LyX preview for the equations using macros is not correct.
>>>  The macros are not expanded when the preview is generated.
>>>
>>> I thought that this was supported in LyX 1.6 (macros defined in parent,
>>> used in child).  Am I mistaken?
>>>
>>
>> No, the preview does not support that (yet). I remember that I looked into
>> this problem. At that time there was a technical reason that this very hard
>> to implement, although I do not remember anymore why.
>>
>> Stefan
>>
>
> I tried the test cases on the wiki page (
> http://wiki.lyx.org/Devel/Macros#toc10) and these macros expand
> appropriately.  The only difference between the test case on the wiki page
> and the problem I am seeing is the use of parameters in the macros.  The
> test macros from the wiki page do not involve parameters while the ones I am
> using do involve parameters.
>
> Is this going to be fixed in 1.6.1?  This seems like an unfortunate
> limitation - previews not working for macros involving parameters...
>
> James
>


Re: editing problems with 1.6 and mac 10.4 intel

2008-12-03 Thread charles reid
I am using LyX 1.6.0 on OS X 10.5 and I can confirm the behavior of the
Shift-key problem.  If I use the Shift key plus the left and right arrows,
no text is selected, and the arrows simply move left and right as though
Shift were not being held down (same behavior for both left and right Shift
keys).  However, using the Shift key with the up and down arrows works
fine.  This issue is not present in 1.5.6 or 1.5.7.


Charles

On Tue, Dec 2, 2008 at 6:53 PM, Brian Kidd <[EMAIL PROTECTED]> wrote:

> hello,
>
> i am a long-time LyX user and big fan of the software. i recently upgraded
> to 1.6 and noticed a few strange editing problems.  cmd-return does not
> break the paragraph (nothing happens and LyX displays unknown function in
> the lower left) and holding down shift to highlight characters or words does
> not work. in fact, if i have something highlighted, holding shift and moving
> the cursor to add or remove a character from the highlight causes the entire
> highlighted section to become unhighlighted. one other odd thing is i get a
> small ">" character on the right side of the cursor. this character appears
> when i'm moving the cursor with the right or left arrow keys or sometimes
> when i'm typing. it seems like a graphical glitch and is somewhat annoying.
> is this expected?
>
> i'm running LyX on a mac 10.4 intel. previous versions of LyX worked great
> and didn't have these odd editing problems. the .bind document hasn't
> changed with the upgrade. are these issues expected there something else i
> can look at or is this a bug?
>
> thanks,
> -brian
>


Re: frequent unexpected lyx 1.6.0 crashes - loss of work

2008-12-03 Thread Jürgen Spitzmüller
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



Re: frequent unexpected lyx 1.6.0 crashes - loss of work

2008-12-03 Thread Jean-Marc Lasgouttes
Micha Feigin <[EMAIL PROTECTED]> writes:
> 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)

This is weird. I would be interested by a recipe and/or a backtrace. Or
did you report it already?

JMarc


Re: Ð in math mode

2008-12-03 Thread Guenter Milde
James Sutherland <[EMAIL PROTECTED]> schrieb:
> On Dec 2, 2008, at 4:46 PM, James Sutherland wrote:

>> This is probably a very simple question: does anyone know how to get  
>> a Ð to show up in math mode?  I can copy and past it, but I don't  
>> know how to get it from a key stroke...  I saw some things on the  
>> web that suggested \DJ should produce this, but it doesn't seem to  
>> work...

> Okay, a \DH or \DJ in an ERT does the job in text mode, but not in  
> math mode.  In math mode I can use \textrm{\DH} - is this the best  
> option???

> Also, is there a way to get the  Ð directly in text mode without doing  
> \DH in an ERT?

Press the Ð key (if there is one at your keyboard or you have configured a
key-combination for this Unicode character.)

Use Insert>Special Chars>Symbols>Latin1-Extended Ð

Bind a key to the function "self-insert Ð" (manually in a bind file, as the
GUI does not (yet) support this).

In LyX 1.6, you can use these Methods also in math mode and you will get a
kursive Ð by default.

Günter