Re: Navigate through a "List of insets" possible?

2008-10-02 Thread Abdelrazak Younes

On 03/10/2008 03:26, rgheck wrote:

Uwe Stöhr wrote:

Nikos Alexandris schrieb:


The best is here to open your LyX file with a text editor and do the
change there.


Hmmm? I might have not been clear in my question: For the Program
Listing inset one can set (in the Settings dialog) the option "Broke
long lines". I would like to know if it is possible to activate this
option in one step for all Program Listing insets in one document.


No. That's why I proposed the text editor solution.


FYI, this feature exists for graphics in 1.6, perhaps you can create an 
an enhancement entry in bugzilla for doing the same with listings.





In case it's not clear, what Uwe means is this. LyX documents are just
text documents, and you can open them in any text editor (notepad, under
windows;


Not Notepad as it doesn't handle unix end of line. Try Wordpad instead.

Abdel.



Re: File open bug persists in 1.6rc3 - Mac

2008-10-02 Thread Abdelrazak Younes

On 02/10/2008 19:20, Johannes Knaus wrote:


Am 02.10.2008 um 18:42 schrieb James Sutherland:


To reproduce this problem (on Mac):

From Finder, right-click (ctrl-click) on a file and choose "Open With"
and then open using 1.6rc3. This opens the file, but the lyx window
that it opens in has none of the toolbars available. The regular LyX
window is also opened, but is empty.

If I close the file and re-open it from the "Open Recent" menu, then
it works fine.

I seem to remember discussion of this topic when rc1 was released. It
persists with rc2 and rc3.

Can any other Mac users verify this???

James


Hello James,

Yes, the bugs in the Mac version I reported some time ago (and added
them to the bugtracker after the rc1or rc2 release) still persist.
Hopefully this will be resolved in the final release. By the way even
rc3 seems not to be very stable on my G4 (Lyx crashed while testing out
if the bugs still remain). However, this is not the final candidate and
I'll stick with 1.5.6 for my thesis. When these little problems will be
resolved in 1.6final, I'll switch immediately, as it has some very nice
features.


The problem is that we have only one Mac developer so it's quite 
difficult for us to fix Mac specific bugs.




The strange thing if I remember well the bug with the strange "special"
menu wasn't there in the early betas before 1.6b4.


Yes, we (I) are aware of that.

Abdel.



math-macro

2008-10-02 Thread anu saxena
This is to thank you . It finally worked even in Lyx 1.4.3 installed on a
linux system . It helped to know that one needs to do alt+X to get the
buffer .


Re: Navigate through a "List of insets" possible?

2008-10-02 Thread rgheck

Uwe Stöhr wrote:

Nikos Alexandris schrieb:

The best is here to open your LyX file with a text editor and do the 
change there.


Hmmm? I might have not been clear in my question: For the Program
Listing inset one can set (in the Settings dialog) the option "Broke
long lines". I would like to know if it is possible to activate this
option in one step for all Program Listing insets in one document.


No. That's why I proposed the text editor solution.

In case it's not clear, what Uwe means is this. LyX documents are just 
text documents, and you can open them in any text editor (notepad, under 
windows; emacs; vi; whatever). Once you do open it, you'll see that the 
listings insets all begin a certain way, and the options that apply to 
the insets will also be there for you to see. So you can do a simple 
search and replace in the text file itself to make this kind of change, 
in case it isn't possible to do it directly in LyX.


WARNING: Make sure you save a backup of the file before you do this!! It 
is very easy to make a mistake that will make it impossible for LyX to 
load the file. It may take a few tries before you get it right! But it 
can be a LOT easier than changing each thing one at a time.


Richard



Re: Navigate through a "List of insets" possible?

2008-10-02 Thread Uwe Stöhr

Nikos Alexandris schrieb:


I already use LyX 1.6.0rc2 under Ubuntu Hardy Heron :-) Yet, I can't
seem to find this function. Could you point-out were is that?


Open the outliner and select there "List of listings". When it is not there, then this feature has 
been added after rc2.



The best is here to open your LyX file with a text editor and do the change 
there.


Hmmm? I might have not been clear in my question: For the Program
Listing inset one can set (in the Settings dialog) the option "Broke
long lines". I would like to know if it is possible to activate this
option in one step for all Program Listing insets in one document.


No. That's why I proposed the text editor solution.
But you can alternatively add the option

breaklines=true

to the document class options in the document settings. This will then for LateX have the same 
effect. But then the option is set for _ALL_ listings in your document. The local setting of 
breaklines in each listings inset is then ignored by LaTeX.


regards Uwe


Re: Lyx's strange table numbering

2008-10-02 Thread yehya

I've the same annoying problem. Was it solved?

Yehya

-- 
View this message in context: 
http://n2.nabble.com/Lyx%27s-strange-table-numbering-tp481291p1140559.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: Navigate through a "List of insets" possible?

2008-10-02 Thread Nikos Alexandris
Dear Uwe,
thank you for your time.

On Fri, 2008-10-03 at 01:14 +0200, Uwe Stöhr wrote:
> Nikos Alexandris schrieb:
> 
> > 1. Is it possible to navigate in a "List of Program Listings" (or other
> > insets)?
> 
> This will be possible in the upcoming new LyX 1.6.0.
> Moreover in LyX 1.6.0 you can also use directly tabulators instead of
> multiple spaces in listings. When you want to test out LyX 1.6.0RC3,
> you find a Windows-installer here:
> http://developer.berlios.de/project/showfiles.php?group_id=5117&release_id=15204

I already use LyX 1.6.0rc2 under Ubuntu Hardy Heron :-) Yet, I can't
seem to find this function. Could you point-out were is that?

> 
> > 2. In addition, is it possible to loop over all "Program Listings" and
> > set for them common "Settings"? (I have so many PL's for which I would
> > like to set "Break long lines" that it seems like never ending to do it
> > for each inset separately!)
> 
> The best is here to open your LyX file with a text editor and do the change 
> there.

Hmmm? I might have not been clear in my question: For the Program
Listing inset one can set (in the Settings dialog) the option "Broke
long lines". I would like to know if it is possible to activate this
option in one step for all Program Listing insets in one document.

> 
> regards Uwe

Kind regards,
Nikos



Re: Navigate through a "List of insets" possible?

2008-10-02 Thread Uwe Stöhr

Nikos Alexandris schrieb:


1. Is it possible to navigate in a "List of Program Listings" (or other
insets)?


This will be possible in the upcoming new LyX 1.6.0.
Moreover in LyX 1.6.0 you can also use directly tabulators instead of
multiple spaces in listings. When you want to test out LyX 1.6.0RC3,
you find a Windows-installer here:
http://developer.berlios.de/project/showfiles.php?group_id=5117&release_id=15204


2. In addition, is it possible to loop over all "Program Listings" and
set for them common "Settings"? (I have so many PL's for which I would
like to set "Break long lines" that it seems like never ending to do it
for each inset separately!)


The best is here to open your LyX file with a text editor and do the change 
there.

regards Uwe


Navigate through a "List of insets" possible?

2008-10-02 Thread Nikos Alexandris
1. Is it possible to navigate in a "List of Program Listings" (or other
insets)?

2. In addition, is it possible to loop over all "Program Listings" and
set for them common "Settings"? (I have so many PL's for which I would
like to set "Break long lines" that it seems like never ending to do it
for each inset separately!)

Thank you,
Nikos



Re: math macro

2008-10-02 Thread rgheck

anu saxena wrote:

I may mention that I have done Lyx version 1.4.3

  
Oh, well, in that case, you should upgrade to a more recent version. 
That's very old now.


Richard



Re: math macro

2008-10-02 Thread anu saxena
I may mention that I have done


 Lyx version 1.4.3

On Fri, Oct 3, 2008 at 2:26 AM, anu saxena <[EMAIL PROTECTED]> wrote:

> Thanks for taking the time out . Please find a file attached .You wrote
> '*Put the cursor in the first of the boxes, and type: \#1\times\#1,  just
> as written, then a space.
>
> You should then see the second shot* .'
> I do not get the second shot on typing \#1\times\#1 and then a space
> Please note I have done this in Lyx version 1.4.3
>
> On Thu, Oct 2, 2008 at 11:03 PM, rgheck <[EMAIL PROTECTED]> wrote:
>
>> anu saxena wrote:
>>
>>> Hi Richard
>>> Once only I got four boxes as displayed in the guide and it worked .
>>> Every other time when I got just two boxes (Guide shows four boxes ) I tried
>>> just what you have written and that is what the guide also says, nothing
>>> happened .
>>>
>>>  Oh, I see what you mean about the four boxes. I think. Once a macro with
>> three arguments has been properly defined and then you use it, you'll get
>> the four boxes: One that shows your formula, and one for each argument. But
>> the macro definition itself will show only two, as I said.
>>
>> But what do you mean "nothing happened"? When did nothing happen?
>>
>> Maybe we should start with a simple case. Do this. Exactly.
>>
>> Alt-x to open the mini-buffer
>> Type: math-macro test 1, return.
>>
>> You should see the first screenshot below.
>>
>> Put the cursor in the first of the boxes, and type: \#1\times\#1, just as
>> written, then a space.
>>
>> You should then see the second shot.
>>
>> Now enter a new line, type Ctrl-M to get a math formula, and type: \test
>>
>> You should now see screenshot three.
>>
>> Now you can enter an argument in the argument box. Type: \alpha, then a
>> space.
>>
>> Screenshot four shows the result.
>>
>> Richard
>>
>> PS Please reply to the list in case others are following the thread.
>>
>>  Thanks
>>> anu
>>>
>>> On Thu, Oct 2, 2008 at 3:29 AM, Richard Heck <[EMAIL PROTECTED]>> [EMAIL PROTECTED]>> wrote:
>>>
>>>anu saxena schrieb:
>>>
>>>I am trying to create a math macro as described in the
>>>User's guide of the
>>>documentation . when I execute the command math-macro name
>>>3 in the
>>>mini-buffer I do not get four red boxes instead I get only
>>>two .
>>>
>>>You shouldn't get four boxes, just the two. Then you enter the
>>>formula you want in the first box. Use "\#n" for the nth argument
>>>of the macro. (You won't see the "\", but it's need to signal to
>>>LyX that what follows isn't a literal "#".) You can optionally
>>>enter something else to be displayed in LyX in the second box, if
>>>the thing in the first is too complicated and you don't need to
>>>see it. Usually, you just leave the second box empty, in which
>>>case LyX displays what is in the first box.
>>>
>>>Richard
>>>
>>>
>>>
>>
>


Re: math macro

2008-10-02 Thread anu saxena
Thanks for taking the time out . Please find a file attached .You wrote
'*Put the cursor in the first of the boxes, and type: \#1\times\#1,  just as
written, then a space.

You should then see the second shot* .'
I do not get the second shot on typing \#1\times\#1 and then a space


On Thu, Oct 2, 2008 at 11:03 PM, rgheck <[EMAIL PROTECTED]> wrote:

> anu saxena wrote:
>
>> Hi Richard
>> Once only I got four boxes as displayed in the guide and it worked . Every
>> other time when I got just two boxes (Guide shows four boxes ) I tried just
>> what you have written and that is what the guide also says, nothing happened
>> .
>>
>>  Oh, I see what you mean about the four boxes. I think. Once a macro with
> three arguments has been properly defined and then you use it, you'll get
> the four boxes: One that shows your formula, and one for each argument. But
> the macro definition itself will show only two, as I said.
>
> But what do you mean "nothing happened"? When did nothing happen?
>
> Maybe we should start with a simple case. Do this. Exactly.
>
> Alt-x to open the mini-buffer
> Type: math-macro test 1, return.
>
> You should see the first screenshot below.
>
> Put the cursor in the first of the boxes, and type: \#1\times\#1, just as
> written, then a space.
>
> You should then see the second shot.
>
> Now enter a new line, type Ctrl-M to get a math formula, and type: \test
>
> You should now see screenshot three.
>
> Now you can enter an argument in the argument box. Type: \alpha, then a
> space.
>
> Screenshot four shows the result.
>
> Richard
>
> PS Please reply to the list in case others are following the thread.
>
>  Thanks
>> anu
>>
>> On Thu, Oct 2, 2008 at 3:29 AM, Richard Heck <[EMAIL PROTECTED]> [EMAIL PROTECTED]>> wrote:
>>
>>anu saxena schrieb:
>>
>>I am trying to create a math macro as described in the
>>User's guide of the
>>documentation . when I execute the command math-macro name
>>3 in the
>>mini-buffer I do not get four red boxes instead I get only
>>two .
>>
>>You shouldn't get four boxes, just the two. Then you enter the
>>formula you want in the first box. Use "\#n" for the nth argument
>>of the macro. (You won't see the "\", but it's need to signal to
>>LyX that what follows isn't a literal "#".) You can optionally
>>enter something else to be displayed in LyX in the second box, if
>>the thing in the first is too complicated and you don't need to
>>see it. Usually, you just leave the second box empty, in which
>>case LyX displays what is in the first box.
>>
>>Richard
>>
>>
>>
>


Re: File open bug persists in 1.6rc3 - Mac

2008-10-02 Thread Johannes Knaus


Am 02.10.2008 um 18:42 schrieb James Sutherland:


To reproduce this problem (on Mac):

 From Finder, right-click (ctrl-click) on a file and choose "Open  
With" and then open using 1.6rc3.  This opens the file, but the lyx  
window that it opens in has none of the toolbars available.  The  
regular LyX window is also opened, but is empty.


If I close the file and re-open it from the "Open Recent" menu, then  
it works fine.


I seem to remember discussion of this topic when rc1 was released.   
It persists with rc2 and rc3.


Can any other Mac users verify this???

James


Hello James,

Yes, the bugs in the Mac version I reported some time ago (and added  
them to the bugtracker after the rc1or rc2 release) still persist.  
Hopefully this will be resolved in the final release. By the way even  
rc3 seems not to be very stable on my G4 (Lyx crashed while testing  
out if the bugs still remain). However, this is not the final  
candidate and I'll stick with 1.5.6 for my thesis.  When these little  
problems will be resolved in 1.6final, I'll switch immediately, as it  
has some very nice features.


The strange thing if I remember well the bug with the strange  
"special" menu wasn't there in the early betas before 1.6b4.


Johannes



Hello,

I've recognized some Problems in both Lyx 1.6b4 and rc1 on MacOS  
10.5 which I would like to report here. I don't know if these are  
bugs and/or platform specific; so here they are:


- When I start Lyx 1.6 and costumize the appearance settings via  
the "Preferences..." dialogue and then click on the "Apply" button  
or the "Save" button, a new item appears in the OSX menu bar  
labelled "special" with the menu items "Preferences", "About  
Lyx" (both greyed out) and "Quit Lyx". In the normal "Lyx" menu  
"Reconfigure" now appears two times and "Preferences..." isn't  
responsive any more. The only solution is to quit and restart Lyx  
via the "special" menu. Changes of preferences are lost then if you  
clicked "Apply" only.


- When I open a Lyx file by dragging it on the Lyx icon in the Dock  
the file is opened in an extra window without any toolbars and a  
second window opens with the toolbars in default arrangement (not  
the one costumized) but without any document in it. After this all  
costumized menu bar arrangements and prior window sizes are lost  
when restarting Lyx. The same thing happens when I open a Lyx file  
by doubleclicking on it.


But now some praise: The new autocompletion thing is really great!

Cheers,
Johannes




File open bug persists in 1.6rc3 - Mac

2008-10-02 Thread James Sutherland

To reproduce this problem (on Mac):

  From Finder, right-click (ctrl-click) on a file and choose "Open  
With" and then open using 1.6rc3.  This opens the file, but the lyx  
window that it opens in has none of the toolbars available.  The  
regular LyX window is also opened, but is empty.


If I close the file and re-open it from the "Open Recent" menu, then  
it works fine.


I seem to remember discussion of this topic when rc1 was released.  It  
persists with rc2 and rc3.


Can any other Mac users verify this???

James


Re: Why rc2 don't output .pdf file in the same folder of .lyx file?

2008-10-02 Thread Huaming Wu
1. My temporary folder is "s:\temp", and lyx is installed in
"C:\Programme\LyX16", and the lyx file I want to export is under "c:\"
for test, so I don't think it is caused by the path name in my case;
2. Actually this problem appears when I reinstalled rc2 yesterday,
there is no such problem before that;
3. rc3 still has the problem in my computer.


On Thu, Oct 2, 2008 at 3:35 PM, Uwe Stöhr <[EMAIL PROTECTED]> wrote:
> Huaming Wu schrieb:
>
>> Thanks, but the method doesn't work. I generate the preference file in
>> user directory, which contains a '\temp_dir setting'. I even cut the
>> preference file to the resource folder, but LyX still exports pdf in
>> temporary folder only.
>
> You don't need to generate a preferences file manually. Try to delete yours,
> then restart LyX, open the preferences dialog, click there OK after a
> change, finally restart LyX again. When this doesn't solve the problem, then
> you might suffer from the bug that LyX currently cannot handle paths with
> non-ASCII and multibyte characters. We are working on both problems to get
> it to work for the next release candidate.
>
> Btw. LyX 1.6.0rc3 has been release yesterday. You can download a Windows
> installer from here:
>
> https://developer.berlios.de/project/showfiles.php?group_id=5117&release_id=15204
>
> regards Uwe
>

Best regards,
Huaming Wu


LyX/Mac 1.6.0rc1 released

2008-10-02 Thread Konrad Hofbauer

Hello,

LyX/Mac 1.6.0rc3, a preview of the Mac OS X version of the upcoming
LyX 1.6, has now been released and is available for download here:

ftp://ftp.devel.lyx.org/pub/lyx/pre/LyX-1.6.0rc3-Mac-Universal.dmg

LyX 1.6rc3 is not a stable release! This means it is good for
testing, but expect inconsistencies, regressions, and bugs. This preview
release is built for interested LyX users who want to test the new
features of LyX. We advise to backup your files and not to use this
version for anything else but testing.

Please report bugs to [EMAIL PROTECTED]

Best regards,
Konrad



Re: Bis : Why rc2 don't output .pdf file in the same folder of .lyx file?

2008-10-02 Thread rgheck

jouke hijlkema wrote:
I noticed something similar. When I use the GUI everything works and I 
can export to pdf however, when I use the command line and type lyx -e 
pdf2 Doc_LP10_31.lyx, lyx does it's business (no errors when using 
-dbg) but the pdf file does not appear in the directory containing 
Doc_LP10_31.pdf


I think there was a recent report about this problem. Check bugzilla, 
please.


rh



Re: Why rc2 don't output .pdf file in the same folder of .lyx file?

2008-10-02 Thread Uwe Stöhr

Huaming Wu schrieb:


Thanks, but the method doesn't work. I generate the preference file in
user directory, which contains a '\temp_dir setting'. I even cut the
preference file to the resource folder, but LyX still exports pdf in
temporary folder only.


You don't need to generate a preferences file manually. Try to delete yours, then restart LyX, open 
the preferences dialog, click there OK after a change, finally restart LyX again. When this doesn't 
solve the problem, then you might suffer from the bug that LyX currently cannot handle paths with 
non-ASCII and multibyte characters. We are working on both problems to get it to work for the next 
release candidate.


Btw. LyX 1.6.0rc3 has been release yesterday. You can download a Windows 
installer from here:

https://developer.berlios.de/project/showfiles.php?group_id=5117&release_id=15204

regards Uwe


Re: Export to Latex w/ or w/o pdflatex

2008-10-02 Thread Helge Hafting

Martin Görg wrote:

On Mon, 29 Sep 2008 13:31:43 +0200, Martin Görg wrote:


can anyone please tell me what the difference between exporting to LaTeX
(plain) and exporting to LaTeX (pdflatex) is? 


Using a file compare tool (Total Commander), I realize that the two
generated files (plain and pdflatex) are identical. Is that correct?


They will be identical for a simple document - yes.

A file exported to latex(plain) is supposed to work well
with the command 'latex', no matter how complicated the document is.

A file exported to latex(pdflatex) is supposed to work well with
the command 'pdflatex'.

'latex' and 'pdflatex are the same for plain text. They differ in
some special cases, for example in how they handle images.

'latex' understands images in .eps form, other images are converted
to .eps format first.

'pdflatex' also understand jpg and png, so such files are not converted
when using pdflatex.

Also, "external material" may be handled differently for 'latex' and
'pdflatex'. pdflatex can import pdf files, so external software is 
usually told to export a .pdf file when preparing material for a 
pdflatex run. A latex run will use postscript (.eps) instead.


So, you will see differences if your document contains images
or stuff like lilypond sheet music.  There may be some other cases as well.

Helge Hafting


Bis : Why rc2 don't output .pdf file in the same folder of .lyx file?

2008-10-02 Thread jouke hijlkema
I noticed something similar. When I use the GUI everything works and I 
can export to pdf however, when I use the command line and type lyx -e 
pdf2 Doc_LP10_31.lyx, lyx does it's business (no errors when using -dbg) 
but the pdf file does not appear in the directory containing 
Doc_LP10_31.pdf


Cheers,

Jouke

PS. I'm very happy with the new interface!!


Re: Why rc2 don't output .pdf file in the same folder of .lyx file?

2008-10-02 Thread Huaming Wu
Thanks, but the method doesn't work. I generate the preference file in
user directory, which contains a '\temp_dir setting'. I even cut the
preference file to the resource folder, but LyX still exports pdf in
temporary folder only.


On Thu, Oct 2, 2008 at 2:58 AM, Uwe Stöhr <[EMAIL PROTECTED]> wrote:
> Uwe Stöhr schrieb:
>
>> There is no problem of the whole process, except that the output pdf
>> file is exported in the tempory folder, e.g.
>> "S:\TEMP\lyx_tmpdir.qHp428\lyx_tmpbuf0", in stead of in the same
>> folder with the original .lyx.
>> Does anybody know what's going go?
>
> This is bug 4693: http://bugzilla.lyx.org/show_bug.cgi?id=4693
>
> Workaround: open the preferences dialog, make there a change (you can later
> reset this change) and press OK. Then restart LyX.
>
> regards Uwe
>

Best regards,
Huaming Wu