Re: autocomplete question

2008-11-30 Thread Andre Poenitz
On Sat, Nov 29, 2008 at 10:56:05PM +, Paul Smith wrote:
  [...]
  I really value having the autocompletion feature in LyX. I hope it can get
  an improved memory!
 
 Perhaps, prediction algorithms from Artificial Intelligence could help
 with ranking the autocompletion suggestions.

Ideally, of course, autocompletion should work already with the first
keystroke in a document and produce ready-to-submit papers.

Of course, that still leaves the author at the mercy of the (mostly)
human reviewers...

Andre'


Re: autocomplete question

2008-11-30 Thread Paul Smith
On Sun, Nov 30, 2008 at 9:23 AM, Andre Poenitz
[EMAIL PROTECTED] wrote:
  I really value having the autocompletion feature in LyX. I hope it can get
  an improved memory!

 Perhaps, prediction algorithms from Artificial Intelligence could help
 with ranking the autocompletion suggestions.

 Ideally, of course, autocompletion should work already with the first
 keystroke in a document and produce ready-to-submit papers.

 Of course, that still leaves the author at the mercy of the (mostly)
 human reviewers...

Ideally, of course, we would like to have less ironic and more
constructive LyX developers...

Paul


Re: autocomplete question

2008-11-30 Thread Paul Smith
On Sun, Nov 30, 2008 at 10:23 AM, Paul Smith [EMAIL PROTECTED] wrote:
  I really value having the autocompletion feature in LyX. I hope it can get
  an improved memory!

 Perhaps, prediction algorithms from Artificial Intelligence could help
 with ranking the autocompletion suggestions.

 Ideally, of course, autocompletion should work already with the first
 keystroke in a document and produce ready-to-submit papers.

 Of course, that still leaves the author at the mercy of the (mostly)
 human reviewers...

 Ideally, of course, we would like to have less ironic and more
 constructive LyX developers...

The idea of using machine learning algorithms to the problem of
ranking text autocomplete suggestions is not, in fact, new; it has
been applied to determine the suggestions of urls for Firefox/Mozilla:

http://www.mozilla.org/projects/ml/autocomplete/

Paul


Re: [correction] LyXWinInstaller for LyX 1.6.0

2008-11-30 Thread asm23

Uwe Stöhr wrote:

Hello LyXers,

I uploaded version 4.15 of the LyXWinInstaller that fixes two bugs:
- add missing Python file to be able to import CSV-files to LyX
- fix bug that PDF and EPS images weren't show in LyX

In case you are affected by these bugs, you have to reinstall LyX using 
this new installer version.


The installer can be downloaded from:
https://developer.berlios.de/project/showfiles.php?group_id=5117release_id=15475 


and soon also from
ftp://ftp.lyx.org/pub/lyx/bin/1.6.0
(under the name AltInstaller)

(More infos about the installer can be found here:
 http://wiki.lyx.org/Windows/LyXWinInstaller )

sorry for the inconvenience and regards
Uwe


HI, Uwe. I'm totally annoying of installing the Lyx 1.6.
My system is Windows xp, I have Miktex 2.7 be installed already.

I have tried
LyX-1.6.0-1-Installer.exe
or
LyX-160-4-15-AltInstaller-Small.exe
But none of them can be properly installed.

Here is my problem:
-
If I have the networks.

Every time during the last period of installing, it will connect to the 
internet and downloading something Lyx seems missing.(I think the python 
will do this, and download it behind the screen).


But it takes *several hours*!!! I can't wait it for too long, So, I just 
disconnect my networks, then, the installation finished.


When I first start the Lyx. It will try to reconfigure and try to 
connect to the internet to download something. ( In my task manager, 
cmd.exe, python.exe and latex.exe was running , but No GUI was shown.)
It's also a long long time, there is no progress nor a stop button to 
pause the precessing. So, I just disconnect the networks again. And the 
Lyx screen appeared on my screen. Then, I works fine.


Later, each time I start the Lyx, it will do some annoying configuration 
in console mode(before the main GUI appears), and it will cost an 
endless time. So, I just disconnect the networks to let the main GUI 
window comes out.


-
If I have *no* networks.

The installation can't be finished. The console window will be pending 
until I click the X button.


Every time I start Lyx, I also see the cmd.exe, python.exe and latex.exe 
and Lyx.exe are running in the task manager, But all these programs were 
running behind the screen. No GUI were shown for ever...


-

I thought it was some thing wrong with the Python script, Because it 
will always got the state that the configuration was not finished. So, 
it will run configuration every time lyx started.


I'm hoping you other senior developers can solve this problem.
Thank you very much.




Re: autocomplete question

2008-11-30 Thread Andre Poenitz
On Sun, Nov 30, 2008 at 10:50:48AM +, Paul Smith wrote:
  Ideally, of course, autocompletion should work already with the first
  keystroke in a document and produce ready-to-submit papers.
 
  Of course, that still leaves the author at the mercy of the (mostly)
  human reviewers...
 
  Ideally, of course, we would like to have less ironic and more
  constructive LyX developers...
 
 The idea of using machine learning algorithms to the problem of
 ranking text autocomplete suggestions is not, in fact, new; it has
 been applied to determine the suggestions of urls for Firefox/Mozilla:
 
 http://www.mozilla.org/projects/ml/autocomplete/

The bugzilla example they cite as bad case of conventional
autocompletion can probably be handled well by conventional
autocompletion plus wildcards. To get to the sixth completion
there one would e.g. type

 b, u, g, *, 9

I am not sure about the general merits of machine learning in such
an environtment, though, especially if the input comes from several
users. We all know about the possible outcomes when asking Aunt Google
for LaTeX ;-)

Andre'


Boxed equations in Lyx

2008-11-30 Thread Laura

Hi everyone,

I am a new user of Lyx, and am trying to put some equations into a box. I
have already written the equations, so I was trying to insert some LateX
instructions to add the box to each equation separately. But so far I didn't
manage to get it to work. Any suggestion?

Thanks a lot to anyone who will reply.


-- 
View this message in context: 
http://n2.nabble.com/Boxed-equations-in-Lyx-tp1595091p1595091.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: Boxed equations in Lyx

2008-11-30 Thread Erez Yerushalmi
Hi,

After inserting math  with cnrl-m

Use   \boxed   for a math formula
for example:   \boxed{A\alpha+B}


or  \fbox
\fbox{regular text}
for a math box with regular text

This is found in the help files.
Can't remember exactly where, but easy to find.

Best Regards,  Erez

On Sun, Nov 30, 2008 at 12:29 PM, Laura [EMAIL PROTECTED] wrote:


 Hi everyone,

 I am a new user of Lyx, and am trying to put some equations into a box. I
 have already written the equations, so I was trying to insert some LateX
 instructions to add the box to each equation separately. But so far I
 didn't
 manage to get it to work. Any suggestion?

 Thanks a lot to anyone who will reply.


 --
 View this message in context:
 http://n2.nabble.com/Boxed-equations-in-Lyx-tp1595091p1595091.html
 Sent from the LyX - Users mailing list archive at Nabble.com.




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


Re: Boxed equations in Lyx

2008-11-30 Thread Uwe Stöhr

 am trying to put some equations into a box.
 Any suggestion?

Have a look at the math manual that you find in the Help menu of LyX. It explains you every detail 
about formulas, also formulas within boxes in the corresponding chapter.


regards Uwe


change margins on the first page

2008-11-30 Thread Sophie Vandenbussche

Hy everybody,

I would like to modify the margins on the first page of my thesis (to 
insert a graphic to serve as the cover page).

Is it possible? If yes, could you tell me how?

I hope this is not on the wiki but I did not find it.

Sophie


Re: [correction] LyXWinInstaller for LyX 1.6.0

2008-11-30 Thread Uwe Stöhr

 I'm totally annoying of installing the Lyx 1.6.
 My system is Windows xp, I have Miktex 2.7 be installed already.

 I have tried
 LyX-1.6.0-1-Installer.exe
 or
 LyX-160-4-15-AltInstaller-Small.exe
 But none of them can be properly installed.

 Here is my problem:

 Every time during the last period of installing, it will connect to the 
internet and downloading
 something Lyx seems missing.(I think the python will do this, and download it 
behind the screen).

 But it takes *several hours*!!! I can't wait it for too long, So, I just 
disconnect my networks,
 then, the installation finished.

This was a bad choice. When LyX is installed, its configure script checks the existing LaTeX system. 
So it asks latex.exe if several LaTeX-packages are available. latex.exe then automatically downloads 
the missing packages asked by LyX. Depending on your Internet connection, this can indeed take hours 
(usually it takes 10 minutes with a DSL connection).
When you abort this process, you kill the configuration script of LyX and still have an incomplete 
LaTeX installation and therefore get problems.


So you have to with the time until the downloading and installation is done. The Alternative 
installer therefore displays the current download and installation state in a console Window.


To speed up the installation a bit I suggest to uninstall MiKTeX _completely_ and reinstall it using 
the basic MiKTeX installation you can download from here:

http://miktex.org/2.7/setup
(Then you have the latest version that fixed some nasty bugs. Otherwise the lyX installer would do 
the update for you, but this takes longer than reinstalling MiKTeX.)

Then reinstall LyX and wait the needed time. This is all you can do.

regards Uwe


Again on interrupted lists

2008-11-30 Thread stefano franchi
I am trying really hard to understand how to produce interrupted multi-level
lists in LyX/LaTeX, but I can't seem to find a way to make the wiki
suggestions work. I am preparing lecture notes for a philosophy class and I
need to write down the various steps of various arguments, with main
premises, sub-premises, provisional conclusions, etc. Every once in a while
I need to insert text between the steps to make a more general point before
resuming the argument. For clarity, I need to have the steps labeled with
decimal numbering (i.e.. 1. 1.1, 1.2, etc.)

Here is what I tried:

1. using the paralist package
a. decimal numbering is offered as one of the package options, so no
problems there
b. Could not find a way to interrupt/resume a list. I studied the  package
documentation, but could not find a way. That does not necessarily mean it's
impossible, of course...


2. Using the mdwlist package
a. I redefine the enumerate counters and labels to produce decimal
numbering---no problems there
b. Although the \interrupt \resume commands work from a level 1 item to
standard text, I could not find a way to make it work from a deeper level
item.
That is, I can replicate the example on the wiki::
1. First first level item
2. second first level item
Standard text
3. third first level item

But I *cannot* extend it to do this:
1. First first level item
1.1. First second level item
Standard text
1.2 Second second level item

When I try to adapt the wiki example strategy  to my needs I get LaTex
errors. I am attaching a short sample file below.

Any help appreciated

Cheers,

Stefano
-- 
__
Stefano Franchi
Department of Philosophy  Ph:  (979) 862-2211
Texas AM University  Fax: (979) 845-0458
305B Bolton Hall  [EMAIL PROTECTED]
College Station, TX 77843-4237


simple-numbering-test.lyx
Description: application/lyx


Re: autocomplete question

2008-11-30 Thread Ivan Werning

On Nov 30, 2008, at 5:50 AM, Paul Smith wrote:


On Sun, Nov 30, 2008 at 10:23 AM, Paul Smith [EMAIL PROTECTED] wrote:
I really value having the autocompletion feature in LyX. I hope  
it can get

an improved memory!


Perhaps, prediction algorithms from Artificial Intelligence could  
help

with ranking the autocompletion suggestions.


Ideally, of course, autocompletion should work already with the  
first

keystroke in a document and produce ready-to-submit papers.

Of course, that still leaves the author at the mercy of the (mostly)
human reviewers...


Ideally, of course, we would like to have less ironic and more
constructive LyX developers...


The idea of using machine learning algorithms to the problem of
ranking text autocomplete suggestions is not, in fact, new; it has
been applied to determine the suggestions of urls for Firefox/Mozilla:

http://www.mozilla.org/projects/ml/autocomplete/

Paul


Very interesting. Although using AI would be great, it is probably  
icing on the cake relative to the simple idea, brought up by Stefan,  
of having a rank list that is updated by the history of completions  
chosen.


-Ivan


Re: Again on interrupted lists

2008-11-30 Thread Paul A. Rubin

stefano franchi wrote:
I am trying really hard to understand how to produce interrupted 
multi-level lists in LyX/LaTeX, but I can't seem to find a way to make 
the wiki suggestions work. I am preparing lecture notes for a philosophy 
class and I need to write down the various steps of various arguments, 
with main premises, sub-premises, provisional conclusions, etc. Every 
once in a while I need to insert text between the steps to make a more 
general point before resuming the argument. For clarity, I need to have 
the steps labeled with decimal numbering (i.e.. 1. 1.1, 1.2, etc.)


Here is what I tried:

1. using the paralist package
a. decimal numbering is offered as one of the package options, so no 
problems there
b. Could not find a way to interrupt/resume a list. I studied the  
package documentation, but could not find a way. That does not 
necessarily mean it's impossible, of course...



2. Using the mdwlist package
a. I redefine the enumerate counters and labels to produce decimal 
numbering---no problems there
b. Although the \interrupt \resume commands work from a level 1 item to 
standard text, I could not find a way to make it work from a deeper 
level item.

That is, I can replicate the example on the wiki::
1. First first level item
2. second first level item
Standard text
3. third first level item

But I *cannot* extend it to do this:
1. First first level item
1.1. First second level item
Standard text
1.2 Second second level item

When I try to adapt the wiki example strategy  to my needs I get LaTex 
errors. I am attaching a short sample file below.




Stefano,

Does the attached file do the job?  If so, the use of mdwlist is 
overkill (I took it out); just nesting the extra text under the 
appropriate list level, and making it standard environments (or whatever 
environment you need) should work.


Incidentally, the LaTeX errors were the result of using 
\resume{enumerate} right before \end{enumerate} (i.e., resuming the list 
but then not adding any further items).


/Paul


hacked-simple-numbering-test.lyx
Description: application/lyx


Re: [correction] LyXWinInstaller for LyX 1.6.0

2008-11-30 Thread Asm_gmail

Uwe Stöhr wrote:

 I'm totally annoying of installing the Lyx 1.6.
 My system is Windows xp, I have Miktex 2.7 be installed already.

 I have tried
 LyX-1.6.0-1-Installer.exe
 or
 LyX-160-4-15-AltInstaller-Small.exe
 But none of them can be properly installed.

 Here is my problem:

 Every time during the last period of installing, it will connect to 
the internet and downloading
 something Lyx seems missing.(I think the python will do this, and 
download it behind the screen).


 But it takes *several hours*!!! I can't wait it for too long, So, I 
just disconnect my networks,

 then, the installation finished.

This was a bad choice. When LyX is installed, its configure script 
checks the existing LaTeX system. So it asks latex.exe if several 
LaTeX-packages are available. latex.exe then automatically downloads 
the missing packages asked by LyX. Depending on your Internet 
connection, this can indeed take hours (usually it takes 10 minutes 
with a DSL connection).
When you abort this process, you kill the configuration script of LyX 
and still have an incomplete LaTeX installation and therefore get 
problems.


So you have to with the time until the downloading and installation is 
done. The Alternative installer therefore displays the current 
download and installation state in a console Window.


To speed up the installation a bit I suggest to uninstall MiKTeX 
_completely_ and reinstall it using the basic MiKTeX installation you 
can download from here:

http://miktex.org/2.7/setup
(Then you have the latest version that fixed some nasty bugs. 
Otherwise the lyX installer would do the update for you, but this 
takes longer than reinstalling MiKTeX.)

Then reinstall LyX and wait the needed time. This is all you can do.

regards Uwe


HI, Uwe, Thank you for your reply, and Thank you for your suggestion.

I have found the problem, and find a way to work around it.

Actually, I first installed the latest version of basic MikTex 2.7 . 
During setup, I choose the update option in MikTex's Setting dialog 
Install missing pages, of --- Ask me first.


But when I install the Lyx (both the standard version or the alternative 
installer), the installer will *automatically* change this option to 
Yes. (it seems very strange) So the installation takes a long time if 
I have a low speed of network or even pending when I have No internet 
connection.


So, the trick is : (If you have no network or low speed of networks)

1,kill the last step configuration of installation of Lyx.
2,Setting the MikTex update option  *back* to Ask me first.
3,start Lyx to let it initialize configuration , and When some message 
box prompt to ask whether downloading missing packages. I always choose 
cancel.

4,After step 3, the Lyx can work now.

By the way, Even I make a full installation of basic MikTex 2.7, there 
are still several missing packages required by Lyx. Maybe, They can be 
downloaded when I have a network or a higher speed connection(using the 
reconfigure menu). But without these required packages, the Lyx can 
works well.



I'm struggling with this installation problem for about 24 Hours, All 
what I can do is install and reinstall of different packages again 
and again :-(
So, you can think how depressed I feel. Anyway, I surely solved this 
problem at last.










Photos for offset printing

2008-11-30 Thread Frederick Noronha [फ़रेदरिक नोरोनया]
Sorry to raise what might be an off-topic query here. Is there any
tutorial (Lyx- or Free Software-connected) tutorial on how to prepare
your photos for offset printing? Many thanks. FN
-- 
FN * Independent Journalist http://fn.goa-india.org
M: +91-9822122436 P: +91-832-2409490


Re: [correction] LyXWinInstaller for LyX 1.6.0

2008-11-30 Thread Uwe Stöhr

Asm_gmail schrieb:


I have found the problem, and find a way to work around it.

Actually, I first installed the latest version of basic MikTex 2.7 . 
During setup, I choose the update option in MikTex's Setting dialog 
Install missing pages, of --- Ask me first.


But when I install the Lyx (both the standard version or the alternative 
installer), the installer will *automatically* change this option to 
Yes. (it seems very strange)


This is done purposely Otherwise you will be prompted about 40 times to agree to the package 
installation. By omitting the prompt, you can go drinking a coffee while the packages are installed 
consecutively.



So, the trick is : (If you have no network or low speed of networks)

1,kill the last step configuration of installation of Lyx.
2,Setting the MikTex update option  *back* to Ask me first.
3,start Lyx to let it initialize configuration , and When some message 
box prompt to ask whether downloading missing packages. I always choose 
cancel.

4,After step 3, the Lyx can work now.


This is not working. Because then you don't have a fully working LyX installation. You are then for 
example not able to compile the documentation files like LyX's User's Guide and you cannot use all 
LyX features, for example subfloats and other key features.


By the way, Even I make a full installation of basic MikTex 2.7, there 
are still several missing packages required by Lyx.


These are packages only available at special inter pages, mostly class and style files for 
scientific journals.


I'm struggling with this installation problem for about 24 Hours, All 
what I can do is install and reinstall of different packages again 
and again :-(
So, you can think how depressed I feel. Anyway, I surely solved this 
problem at last.


I don't understand why you cannot just wait untill all missing LaTeX-packages are installed. I mean 
you don't need to sit in front of your computer while this is done, you can also do other things in 
the meantime.


regards Uwe


Re: Fast typing - LyX follows slowly only [solved - not yet]

2008-11-30 Thread [EMAIL PROTECTED]
Am Sat, 29 Nov 2008 13:20:16 +0100
schrieb [EMAIL PROTECTED] [EMAIL PROTECTED]:

 Am Fri, 28 Nov 2008 17:55:40 +0100
 schrieb [EMAIL PROTECTED] [EMAIL PROTECTED]:
 
  Hello,
  
  For a long time I valued LyX for its swiftness when typing. 
  Something changed recently, however and I do not
  have an idea what is causing this.
  
  When I type the letters only show up slowly on the screen. This
  makes working with LyX really cumbersome.
  
  I assumed this could have something to do with Auto Completion.
  But nothing changed when I switched this feature of.
  
  Version: LyX 1.6.0 (7 November 2008) - compiled binary on Ubuntu
  8.10
  
  Any ideas?
  
  Regards,
  seacyd
 
 I solved it, however, without knowing what was the original cause.
 
 Here is what I did:
 
 1. removed the lyx ubuntu package 1.5.6 from my system (wajig remove
 lyx)
 
 2. installed the same package again (wajig install lyx) - I did want
 to test with the old version to see if the slowness also occurs there.
 
 3. I started lyx 1.5.6 everything worked fine  the positive suprise
 was, when I started lyx 1.6.0 the so much appreciated responsiveness
 of lyx is back.
 
 So maybe when compiling the source code some different
 versions of libraries get installed then with the standard Ubuntu
 package?
 
 Regards,
 seacyd


Unfortunately, this actually did not solve it.

I have found another behaviour that might be relevant for experts to
solve this:

* Large window size of lyx (e.g., full screen or maximized)
 - LyX is slow

* Make the window minimal (only show a few lines and columns) - LyX is
  fast

Thus, could it be that the library is overpowering my computer
(Intel 2.80 GHZ  / 1024 RAM)?

Regards,
seacyd







Re: Again on interrupted lists

2008-11-30 Thread Guenter Milde
On 2008-11-30, stefano franchi wrote:

 I am trying really hard to understand how to produce interrupted multi-level
 lists in LyX/LaTeX,
...
 Every once in a while I need to insert text between the steps to make a
 more general point before resuming the argument. For clarity, I need to
 have the steps labeled with decimal numbering (i.e.. 1. 1.1, 1.2, etc.)

 Here is what I tried:

 1. using the paralist package

 2. Using the mdwlist package

I recommend the enumitem package (if you are using LyX 1.6, you can use
the attached enumitem module.

No need to explicitely \interrupt an enumeration. It just takes of the
last one *of the corresponding level* with the [resume] optional argument
(or with the Enumerate-Resume Style provided by the module).

Günter

enumitem.module:


#\DeclareLyXModule[enumitem.sty]{Customisable Lists (enumitem)}
#DescriptionBegin
# Control the layout of enumerate, itemize and description
# with an optional argument.
# See http://dante.ctan.org/CTAN/macros/latex/contrib/enumitem/enumitem.pdf
#DescriptionEnd
# Author: Günter Milde [EMAIL PROTECTED]

Format 11

# The package enumitem provides user control over the layout of the three
# basic list environments: enumerate, itemize and description. It supersedes
# both enumerate and mdwlist (providing well-structured replacements for all
# their funtionality), and in addition provides functions to compute the
# layout of labels, and to ‘clone’ the standard environments, to create new
# environments with counters of their own.
#
# - fancy labels and fancy refs,
# - leftmargin, labelsep and labelwidth automatically set,
# - changes applied globally or only in one of the three
#   types or even in a single list (including topsep) by
#   means of a sort of inheritance,
# - several description styles (which fix some bad
#   spacing, too),
# - starting value and counter resuming,
# - trivlists properly formatted,
# - control on page breaking
#
# Styling the basic lists is possible 
#
# a) generally in the LaTeX preamble and 
# b) per environment with optional arguments
#
# See enumitem.pdf_ for details and examples.

AddToPreamble
\usepackage{enumitem}
EndPreamble

# ensure the stdlist layouts are present (unmodified) 
# (as e.g. the KOMA script classes obsolete lyx-list with labeling)
# TODO: is this secure?

Input stdlists.inc

# Customizable Basic Lists
# 

# With enumitem, the three standard list environments take an optional
# argument. See enumitem.pdf_ for possible values.

Style Itemize
OptionalArgs  1
End

Style Enumerate
OptionalArgs  1
End

Style Description
OptionalArgs  1
End

# List Variants
# -
#
# Styles with pre-defined optional arguments for ease of use

Style Enumerate-Resume
CopyStyle Enumerate
LatexParam[resume]
#   LatexParam[resume*] # reuse optional arguments
OptionalArgs  0
# a blue label to indicate that this is not a WYSIWYG label
# (the numbering differs in the output)
LabelFont
  Color   blue
EndFont

End

# Add compact lists here...

# References
# --
#
# .. _enumitem.pdf:
#http://dante.ctan.org/CTAN/macros/latex/contrib/enumitem/enumitem.pdf




Re: Again on interrupted lists

2008-11-30 Thread Christian Liesen

Maybe you will also find the following link helpful: 
http://www.tex.ac.uk/cgi-bin/texfaq2html?label=interruptlist

As Günter said, enumlist is clearly to be recommended for interrupted  
list.


-- Christian



Am 30.11.2008 um 22:34 schrieb Guenter Milde:


On 2008-11-30, stefano franchi wrote:

I am trying really hard to understand how to produce interrupted  
multi-level

lists in LyX/LaTeX,

...
Every once in a while I need to insert text between the steps to  
make a
more general point before resuming the argument. For clarity, I  
need to
have the steps labeled with decimal numbering (i.e.. 1. 1.1, 1.2,  
etc.)



Here is what I tried:



1. using the paralist package



2. Using the mdwlist package


I recommend the enumitem package (if you are using LyX 1.6, you can  
use

the attached enumitem module.

No need to explicitely \interrupt an enumeration. It just takes of the
last one *of the corresponding level* with the [resume] optional  
argument

(or with the Enumerate-Resume Style provided by the module).

Günter

enumitem.module:


#\DeclareLyXModule[enumitem.sty]{Customisable Lists (enumitem)}
#DescriptionBegin
# Control the layout of enumerate, itemize and description
# with an optional argument.
# See http://dante.ctan.org/CTAN/macros/latex/contrib/enumitem/enumitem.pdf
#DescriptionEnd
# Author: Günter Milde [EMAIL PROTECTED]

Format 11

# The package enumitem provides user control over the layout of the  
three
# basic list environments: enumerate, itemize and description. It  
supersedes
# both enumerate and mdwlist (providing well-structured replacements  
for all
# their funtionality), and in addition provides functions to compute  
the
# layout of labels, and to ‘clone’ the standard environments, to  
create new

# environments with counters of their own.
#
# - fancy labels and fancy refs,
# - leftmargin, labelsep and labelwidth automatically set,
# - changes applied globally or only in one of the three
#   types or even in a single list (including topsep) by
#   means of a sort of inheritance,
# - several description styles (which fix some bad
#   spacing, too),
# - starting value and counter resuming,
# - trivlists properly formatted,
# - control on page breaking
#
# Styling the basic lists is possible
#
# a) generally in the LaTeX preamble and
# b) per environment with optional arguments
#
# See enumitem.pdf_ for details and examples.

AddToPreamble
\usepackage{enumitem}
EndPreamble

# ensure the stdlist layouts are present (unmodified)
# (as e.g. the KOMA script classes obsolete lyx-list with labeling)
# TODO: is this secure?

Input stdlists.inc

# Customizable Basic Lists
# 

# With enumitem, the three standard list environments take an optional
# argument. See enumitem.pdf_ for possible values.

Style Itemize
OptionalArgs  1
End

Style Enumerate
OptionalArgs  1
End

Style Description
OptionalArgs  1
End

# List Variants
# -
#
# Styles with pre-defined optional arguments for ease of use

Style Enumerate-Resume
   CopyStyle Enumerate
LatexParam[resume]
#   LatexParam[resume*] # reuse optional arguments
OptionalArgs  0
# a blue label to indicate that this is not a WYSIWYG label
# (the numbering differs in the output)
LabelFont
  Color   blue
EndFont

End

# Add compact lists here...

# References
# --
#
# .. _enumitem.pdf:
#http://dante.ctan.org/CTAN/macros/latex/contrib/enumitem/enumitem.pdf






Re: Building LyX layout for Copernicus Journals, class definition and estimate of time span?

2008-11-30 Thread Uwe Stöhr

Maarten Smoorenburg schrieb:


I am trying to submit an article for publication by using the copernicus.cls
class. This class is used by many journals that are published by the
European Geophysical Union (EGU) and I would like to publish in HESS. I jsut
wrote the article in a simple article layout and now want to use the
copernicus.cls class for publishing

Currently, there is no layout file available for the copernicus.cls 


I have now built a layout file for copernicus:

Please test it out and report back. If it works, I'll include it to the next 
LyX release.

The latest version of the copernicus.cls file contains a bug regarding BibTeX. When a document uses 
one of the LaTeX commands \cite, \citep, or \citet to reference an entry of a BibTeX file, latex.exe 
is send to an infinite loop.


regards Uwe


Re: [correction] LyXWinInstaller for LyX 1.6.0

2008-11-30 Thread asm23

Uwe Stöhr wrote:

Asm_gmail schrieb:


I have found the problem, and find a way to work around it.

Actually, I first installed the latest version of basic MikTex 2.7 . 
During setup, I choose the update option in MikTex's Setting dialog 
Install missing pages, of --- Ask me first.


But when I install the Lyx (both the standard version or the 
alternative installer), the installer will *automatically* change this 
option to Yes. (it seems very strange)


This is done purposely Otherwise you will be prompted about 40 times to 
agree to the package installation. By omitting the prompt, you can go 
drinking a coffee while the packages are installed consecutively.



So, the trick is : (If you have no network or low speed of networks)

1,kill the last step configuration of installation of Lyx.
2,Setting the MikTex update option  *back* to Ask me first.
3,start Lyx to let it initialize configuration , and When some message 
box prompt to ask whether downloading missing packages. I always 
choose cancel.

4,After step 3, the Lyx can work now.


This is not working. Because then you don't have a fully working LyX 
installation. You are then for example not able to compile the 
documentation files like LyX's User's Guide and you cannot use all LyX 
features, for example subfloats and other key features.


By the way, Even I make a full installation of basic MikTex 2.7, 
there are still several missing packages required by Lyx.


These are packages only available at special inter pages, mostly class 
and style files for scientific journals.


I'm struggling with this installation problem for about 24 Hours, All 
what I can do is install and reinstall of different packages again 
and again :-(
So, you can think how depressed I feel. Anyway, I surely solved this 
problem at last.


I don't understand why you cannot just wait untill all missing 
LaTeX-packages are installed. I mean you don't need to sit in front of 
your computer while this is done, you can also do other things in the 
meantime.


regards Uwe

Thanks, follow your advice, I completely updated the whole missing 
packages of Lyx, it takes *One hour*.(  a lot of patience need..)


But still I can't compile the tutorial.lyx.

A MessageBox reported that File does not exist..pdf, so, What's 
wrong with this problem? Thanks.




Re: view pdf error: the file doesn't exist - what to do?

2008-11-30 Thread asm23

Joachim Kreimer-de Fries wrote:

Moin Lyxers,

not for the first time I got today an LyX when clicking show pdf an 
error message:


Die Datei existiert nicht:
(I suppose in english: The file doesn't exist:)
/tmp/lyx_tmpdir.L12205/lyx_tmpbuf1/Lyra-Pracher-odt-teil.pdf

That was after adding an TeX code for another footnoteB (from the - 
loaded - manyfoot package), because I'm using for that the handout 
(tufte) layout because of the many sidenotes I need.


But because - at a certain point, when LaTeX (via LyX) said too many 
floats - I changed to the TeX-box \footnoteB command to get a real 
footnote. Which normally gives the planned result.


If the error message The file doesn't exist ... .pdf is a known 
problem, I ask:


== how to come out of this situation best?

I found out by trial and error, that I deleted the last TeX inset 
\footnoteB{...}, (but after many other trials, even after clothing and 
reopening LyX, after deleting the LyX - /tmp ... xyz-files and so on).


Regained functionality of LyX in making and showing a pdf result, I 
reintroduced the TeX-inset \footnoteB and it worked.


Fine for the project. But Question:

= are there reasons for that behaviour of LyX and/or other ways than 
just trying out, deleting the last inset(s) and remaking them?


== What might be the reason of the LaTeX-error about too many flouts 
when inserting footnotes = sidenotes in the handout (tufte) class, 
even if on the page where I am working and on the horizontal space on 
the margin there is place enough for another footnote=sidenote?


Goutgaun! joachim
--
MacTeXLive 200 - TeXShop 2.14-svn - LyX 1.6
MacBook Pro OSX 10.4.11 Tiger





I also meet this problem when I'm compiling the Tutorial.lyx.
It reported that the it can't find the pdf file to open.
I added the screen shot of this dialog.
inline: Snap1.jpg

Re: [correction] LyXWinInstaller for LyX 1.6.0

2008-11-30 Thread asm23

Another bug is that after reconfigure of Lyx.
The MiKTex server will always be *modified* to 
ftp://ftp.tu-chemnitz.de/..;


So, I need to manually choose another faster one.



Re: autocomplete question

2008-11-30 Thread Andre Poenitz
On Sat, Nov 29, 2008 at 10:56:05PM +, Paul Smith wrote:
  [...]
  I really value having the autocompletion feature in LyX. I hope it can get
  an improved memory!
 
 Perhaps, prediction algorithms from Artificial Intelligence could help
 with ranking the autocompletion suggestions.

Ideally, of course, autocompletion should work already with the first
keystroke in a document and produce ready-to-submit papers.

Of course, that still leaves the author at the mercy of the (mostly)
human reviewers...

Andre'


Re: autocomplete question

2008-11-30 Thread Paul Smith
On Sun, Nov 30, 2008 at 9:23 AM, Andre Poenitz
[EMAIL PROTECTED] wrote:
  I really value having the autocompletion feature in LyX. I hope it can get
  an improved memory!

 Perhaps, prediction algorithms from Artificial Intelligence could help
 with ranking the autocompletion suggestions.

 Ideally, of course, autocompletion should work already with the first
 keystroke in a document and produce ready-to-submit papers.

 Of course, that still leaves the author at the mercy of the (mostly)
 human reviewers...

Ideally, of course, we would like to have less ironic and more
constructive LyX developers...

Paul


Re: autocomplete question

2008-11-30 Thread Paul Smith
On Sun, Nov 30, 2008 at 10:23 AM, Paul Smith [EMAIL PROTECTED] wrote:
  I really value having the autocompletion feature in LyX. I hope it can get
  an improved memory!

 Perhaps, prediction algorithms from Artificial Intelligence could help
 with ranking the autocompletion suggestions.

 Ideally, of course, autocompletion should work already with the first
 keystroke in a document and produce ready-to-submit papers.

 Of course, that still leaves the author at the mercy of the (mostly)
 human reviewers...

 Ideally, of course, we would like to have less ironic and more
 constructive LyX developers...

The idea of using machine learning algorithms to the problem of
ranking text autocomplete suggestions is not, in fact, new; it has
been applied to determine the suggestions of urls for Firefox/Mozilla:

http://www.mozilla.org/projects/ml/autocomplete/

Paul


Re: [correction] LyXWinInstaller for LyX 1.6.0

2008-11-30 Thread asm23

Uwe Stöhr wrote:

Hello LyXers,

I uploaded version 4.15 of the LyXWinInstaller that fixes two bugs:
- add missing Python file to be able to import CSV-files to LyX
- fix bug that PDF and EPS images weren't show in LyX

In case you are affected by these bugs, you have to reinstall LyX using 
this new installer version.


The installer can be downloaded from:
https://developer.berlios.de/project/showfiles.php?group_id=5117release_id=15475 


and soon also from
ftp://ftp.lyx.org/pub/lyx/bin/1.6.0
(under the name AltInstaller)

(More infos about the installer can be found here:
 http://wiki.lyx.org/Windows/LyXWinInstaller )

sorry for the inconvenience and regards
Uwe


HI, Uwe. I'm totally annoying of installing the Lyx 1.6.
My system is Windows xp, I have Miktex 2.7 be installed already.

I have tried
LyX-1.6.0-1-Installer.exe
or
LyX-160-4-15-AltInstaller-Small.exe
But none of them can be properly installed.

Here is my problem:
-
If I have the networks.

Every time during the last period of installing, it will connect to the 
internet and downloading something Lyx seems missing.(I think the python 
will do this, and download it behind the screen).


But it takes *several hours*!!! I can't wait it for too long, So, I just 
disconnect my networks, then, the installation finished.


When I first start the Lyx. It will try to reconfigure and try to 
connect to the internet to download something. ( In my task manager, 
cmd.exe, python.exe and latex.exe was running , but No GUI was shown.)
It's also a long long time, there is no progress nor a stop button to 
pause the precessing. So, I just disconnect the networks again. And the 
Lyx screen appeared on my screen. Then, I works fine.


Later, each time I start the Lyx, it will do some annoying configuration 
in console mode(before the main GUI appears), and it will cost an 
endless time. So, I just disconnect the networks to let the main GUI 
window comes out.


-
If I have *no* networks.

The installation can't be finished. The console window will be pending 
until I click the X button.


Every time I start Lyx, I also see the cmd.exe, python.exe and latex.exe 
and Lyx.exe are running in the task manager, But all these programs were 
running behind the screen. No GUI were shown for ever...


-

I thought it was some thing wrong with the Python script, Because it 
will always got the state that the configuration was not finished. So, 
it will run configuration every time lyx started.


I'm hoping you other senior developers can solve this problem.
Thank you very much.




Re: autocomplete question

2008-11-30 Thread Andre Poenitz
On Sun, Nov 30, 2008 at 10:50:48AM +, Paul Smith wrote:
  Ideally, of course, autocompletion should work already with the first
  keystroke in a document and produce ready-to-submit papers.
 
  Of course, that still leaves the author at the mercy of the (mostly)
  human reviewers...
 
  Ideally, of course, we would like to have less ironic and more
  constructive LyX developers...
 
 The idea of using machine learning algorithms to the problem of
 ranking text autocomplete suggestions is not, in fact, new; it has
 been applied to determine the suggestions of urls for Firefox/Mozilla:
 
 http://www.mozilla.org/projects/ml/autocomplete/

The bugzilla example they cite as bad case of conventional
autocompletion can probably be handled well by conventional
autocompletion plus wildcards. To get to the sixth completion
there one would e.g. type

 b, u, g, *, 9

I am not sure about the general merits of machine learning in such
an environtment, though, especially if the input comes from several
users. We all know about the possible outcomes when asking Aunt Google
for LaTeX ;-)

Andre'


Boxed equations in Lyx

2008-11-30 Thread Laura

Hi everyone,

I am a new user of Lyx, and am trying to put some equations into a box. I
have already written the equations, so I was trying to insert some LateX
instructions to add the box to each equation separately. But so far I didn't
manage to get it to work. Any suggestion?

Thanks a lot to anyone who will reply.


-- 
View this message in context: 
http://n2.nabble.com/Boxed-equations-in-Lyx-tp1595091p1595091.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: Boxed equations in Lyx

2008-11-30 Thread Erez Yerushalmi
Hi,

After inserting math  with cnrl-m

Use   \boxed   for a math formula
for example:   \boxed{A\alpha+B}


or  \fbox
\fbox{regular text}
for a math box with regular text

This is found in the help files.
Can't remember exactly where, but easy to find.

Best Regards,  Erez

On Sun, Nov 30, 2008 at 12:29 PM, Laura [EMAIL PROTECTED] wrote:


 Hi everyone,

 I am a new user of Lyx, and am trying to put some equations into a box. I
 have already written the equations, so I was trying to insert some LateX
 instructions to add the box to each equation separately. But so far I
 didn't
 manage to get it to work. Any suggestion?

 Thanks a lot to anyone who will reply.


 --
 View this message in context:
 http://n2.nabble.com/Boxed-equations-in-Lyx-tp1595091p1595091.html
 Sent from the LyX - Users mailing list archive at Nabble.com.




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


Re: Boxed equations in Lyx

2008-11-30 Thread Uwe Stöhr

 am trying to put some equations into a box.
 Any suggestion?

Have a look at the math manual that you find in the Help menu of LyX. It explains you every detail 
about formulas, also formulas within boxes in the corresponding chapter.


regards Uwe


change margins on the first page

2008-11-30 Thread Sophie Vandenbussche

Hy everybody,

I would like to modify the margins on the first page of my thesis (to 
insert a graphic to serve as the cover page).

Is it possible? If yes, could you tell me how?

I hope this is not on the wiki but I did not find it.

Sophie


Re: [correction] LyXWinInstaller for LyX 1.6.0

2008-11-30 Thread Uwe Stöhr

 I'm totally annoying of installing the Lyx 1.6.
 My system is Windows xp, I have Miktex 2.7 be installed already.

 I have tried
 LyX-1.6.0-1-Installer.exe
 or
 LyX-160-4-15-AltInstaller-Small.exe
 But none of them can be properly installed.

 Here is my problem:

 Every time during the last period of installing, it will connect to the 
internet and downloading
 something Lyx seems missing.(I think the python will do this, and download it 
behind the screen).

 But it takes *several hours*!!! I can't wait it for too long, So, I just 
disconnect my networks,
 then, the installation finished.

This was a bad choice. When LyX is installed, its configure script checks the existing LaTeX system. 
So it asks latex.exe if several LaTeX-packages are available. latex.exe then automatically downloads 
the missing packages asked by LyX. Depending on your Internet connection, this can indeed take hours 
(usually it takes 10 minutes with a DSL connection).
When you abort this process, you kill the configuration script of LyX and still have an incomplete 
LaTeX installation and therefore get problems.


So you have to with the time until the downloading and installation is done. The Alternative 
installer therefore displays the current download and installation state in a console Window.


To speed up the installation a bit I suggest to uninstall MiKTeX _completely_ and reinstall it using 
the basic MiKTeX installation you can download from here:

http://miktex.org/2.7/setup
(Then you have the latest version that fixed some nasty bugs. Otherwise the lyX installer would do 
the update for you, but this takes longer than reinstalling MiKTeX.)

Then reinstall LyX and wait the needed time. This is all you can do.

regards Uwe


Again on interrupted lists

2008-11-30 Thread stefano franchi
I am trying really hard to understand how to produce interrupted multi-level
lists in LyX/LaTeX, but I can't seem to find a way to make the wiki
suggestions work. I am preparing lecture notes for a philosophy class and I
need to write down the various steps of various arguments, with main
premises, sub-premises, provisional conclusions, etc. Every once in a while
I need to insert text between the steps to make a more general point before
resuming the argument. For clarity, I need to have the steps labeled with
decimal numbering (i.e.. 1. 1.1, 1.2, etc.)

Here is what I tried:

1. using the paralist package
a. decimal numbering is offered as one of the package options, so no
problems there
b. Could not find a way to interrupt/resume a list. I studied the  package
documentation, but could not find a way. That does not necessarily mean it's
impossible, of course...


2. Using the mdwlist package
a. I redefine the enumerate counters and labels to produce decimal
numbering---no problems there
b. Although the \interrupt \resume commands work from a level 1 item to
standard text, I could not find a way to make it work from a deeper level
item.
That is, I can replicate the example on the wiki::
1. First first level item
2. second first level item
Standard text
3. third first level item

But I *cannot* extend it to do this:
1. First first level item
1.1. First second level item
Standard text
1.2 Second second level item

When I try to adapt the wiki example strategy  to my needs I get LaTex
errors. I am attaching a short sample file below.

Any help appreciated

Cheers,

Stefano
-- 
__
Stefano Franchi
Department of Philosophy  Ph:  (979) 862-2211
Texas AM University  Fax: (979) 845-0458
305B Bolton Hall  [EMAIL PROTECTED]
College Station, TX 77843-4237


simple-numbering-test.lyx
Description: application/lyx


Re: autocomplete question

2008-11-30 Thread Ivan Werning

On Nov 30, 2008, at 5:50 AM, Paul Smith wrote:


On Sun, Nov 30, 2008 at 10:23 AM, Paul Smith [EMAIL PROTECTED] wrote:
I really value having the autocompletion feature in LyX. I hope  
it can get

an improved memory!


Perhaps, prediction algorithms from Artificial Intelligence could  
help

with ranking the autocompletion suggestions.


Ideally, of course, autocompletion should work already with the  
first

keystroke in a document and produce ready-to-submit papers.

Of course, that still leaves the author at the mercy of the (mostly)
human reviewers...


Ideally, of course, we would like to have less ironic and more
constructive LyX developers...


The idea of using machine learning algorithms to the problem of
ranking text autocomplete suggestions is not, in fact, new; it has
been applied to determine the suggestions of urls for Firefox/Mozilla:

http://www.mozilla.org/projects/ml/autocomplete/

Paul


Very interesting. Although using AI would be great, it is probably  
icing on the cake relative to the simple idea, brought up by Stefan,  
of having a rank list that is updated by the history of completions  
chosen.


-Ivan


Re: Again on interrupted lists

2008-11-30 Thread Paul A. Rubin

stefano franchi wrote:
I am trying really hard to understand how to produce interrupted 
multi-level lists in LyX/LaTeX, but I can't seem to find a way to make 
the wiki suggestions work. I am preparing lecture notes for a philosophy 
class and I need to write down the various steps of various arguments, 
with main premises, sub-premises, provisional conclusions, etc. Every 
once in a while I need to insert text between the steps to make a more 
general point before resuming the argument. For clarity, I need to have 
the steps labeled with decimal numbering (i.e.. 1. 1.1, 1.2, etc.)


Here is what I tried:

1. using the paralist package
a. decimal numbering is offered as one of the package options, so no 
problems there
b. Could not find a way to interrupt/resume a list. I studied the  
package documentation, but could not find a way. That does not 
necessarily mean it's impossible, of course...



2. Using the mdwlist package
a. I redefine the enumerate counters and labels to produce decimal 
numbering---no problems there
b. Although the \interrupt \resume commands work from a level 1 item to 
standard text, I could not find a way to make it work from a deeper 
level item.

That is, I can replicate the example on the wiki::
1. First first level item
2. second first level item
Standard text
3. third first level item

But I *cannot* extend it to do this:
1. First first level item
1.1. First second level item
Standard text
1.2 Second second level item

When I try to adapt the wiki example strategy  to my needs I get LaTex 
errors. I am attaching a short sample file below.




Stefano,

Does the attached file do the job?  If so, the use of mdwlist is 
overkill (I took it out); just nesting the extra text under the 
appropriate list level, and making it standard environments (or whatever 
environment you need) should work.


Incidentally, the LaTeX errors were the result of using 
\resume{enumerate} right before \end{enumerate} (i.e., resuming the list 
but then not adding any further items).


/Paul


hacked-simple-numbering-test.lyx
Description: application/lyx


Re: [correction] LyXWinInstaller for LyX 1.6.0

2008-11-30 Thread Asm_gmail

Uwe Stöhr wrote:

 I'm totally annoying of installing the Lyx 1.6.
 My system is Windows xp, I have Miktex 2.7 be installed already.

 I have tried
 LyX-1.6.0-1-Installer.exe
 or
 LyX-160-4-15-AltInstaller-Small.exe
 But none of them can be properly installed.

 Here is my problem:

 Every time during the last period of installing, it will connect to 
the internet and downloading
 something Lyx seems missing.(I think the python will do this, and 
download it behind the screen).


 But it takes *several hours*!!! I can't wait it for too long, So, I 
just disconnect my networks,

 then, the installation finished.

This was a bad choice. When LyX is installed, its configure script 
checks the existing LaTeX system. So it asks latex.exe if several 
LaTeX-packages are available. latex.exe then automatically downloads 
the missing packages asked by LyX. Depending on your Internet 
connection, this can indeed take hours (usually it takes 10 minutes 
with a DSL connection).
When you abort this process, you kill the configuration script of LyX 
and still have an incomplete LaTeX installation and therefore get 
problems.


So you have to with the time until the downloading and installation is 
done. The Alternative installer therefore displays the current 
download and installation state in a console Window.


To speed up the installation a bit I suggest to uninstall MiKTeX 
_completely_ and reinstall it using the basic MiKTeX installation you 
can download from here:

http://miktex.org/2.7/setup
(Then you have the latest version that fixed some nasty bugs. 
Otherwise the lyX installer would do the update for you, but this 
takes longer than reinstalling MiKTeX.)

Then reinstall LyX and wait the needed time. This is all you can do.

regards Uwe


HI, Uwe, Thank you for your reply, and Thank you for your suggestion.

I have found the problem, and find a way to work around it.

Actually, I first installed the latest version of basic MikTex 2.7 . 
During setup, I choose the update option in MikTex's Setting dialog 
Install missing pages, of --- Ask me first.


But when I install the Lyx (both the standard version or the alternative 
installer), the installer will *automatically* change this option to 
Yes. (it seems very strange) So the installation takes a long time if 
I have a low speed of network or even pending when I have No internet 
connection.


So, the trick is : (If you have no network or low speed of networks)

1,kill the last step configuration of installation of Lyx.
2,Setting the MikTex update option  *back* to Ask me first.
3,start Lyx to let it initialize configuration , and When some message 
box prompt to ask whether downloading missing packages. I always choose 
cancel.

4,After step 3, the Lyx can work now.

By the way, Even I make a full installation of basic MikTex 2.7, there 
are still several missing packages required by Lyx. Maybe, They can be 
downloaded when I have a network or a higher speed connection(using the 
reconfigure menu). But without these required packages, the Lyx can 
works well.



I'm struggling with this installation problem for about 24 Hours, All 
what I can do is install and reinstall of different packages again 
and again :-(
So, you can think how depressed I feel. Anyway, I surely solved this 
problem at last.










Photos for offset printing

2008-11-30 Thread Frederick Noronha [फ़रेदरिक नोरोनया]
Sorry to raise what might be an off-topic query here. Is there any
tutorial (Lyx- or Free Software-connected) tutorial on how to prepare
your photos for offset printing? Many thanks. FN
-- 
FN * Independent Journalist http://fn.goa-india.org
M: +91-9822122436 P: +91-832-2409490


Re: [correction] LyXWinInstaller for LyX 1.6.0

2008-11-30 Thread Uwe Stöhr

Asm_gmail schrieb:


I have found the problem, and find a way to work around it.

Actually, I first installed the latest version of basic MikTex 2.7 . 
During setup, I choose the update option in MikTex's Setting dialog 
Install missing pages, of --- Ask me first.


But when I install the Lyx (both the standard version or the alternative 
installer), the installer will *automatically* change this option to 
Yes. (it seems very strange)


This is done purposely Otherwise you will be prompted about 40 times to agree to the package 
installation. By omitting the prompt, you can go drinking a coffee while the packages are installed 
consecutively.



So, the trick is : (If you have no network or low speed of networks)

1,kill the last step configuration of installation of Lyx.
2,Setting the MikTex update option  *back* to Ask me first.
3,start Lyx to let it initialize configuration , and When some message 
box prompt to ask whether downloading missing packages. I always choose 
cancel.

4,After step 3, the Lyx can work now.


This is not working. Because then you don't have a fully working LyX installation. You are then for 
example not able to compile the documentation files like LyX's User's Guide and you cannot use all 
LyX features, for example subfloats and other key features.


By the way, Even I make a full installation of basic MikTex 2.7, there 
are still several missing packages required by Lyx.


These are packages only available at special inter pages, mostly class and style files for 
scientific journals.


I'm struggling with this installation problem for about 24 Hours, All 
what I can do is install and reinstall of different packages again 
and again :-(
So, you can think how depressed I feel. Anyway, I surely solved this 
problem at last.


I don't understand why you cannot just wait untill all missing LaTeX-packages are installed. I mean 
you don't need to sit in front of your computer while this is done, you can also do other things in 
the meantime.


regards Uwe


Re: Fast typing - LyX follows slowly only [solved - not yet]

2008-11-30 Thread [EMAIL PROTECTED]
Am Sat, 29 Nov 2008 13:20:16 +0100
schrieb [EMAIL PROTECTED] [EMAIL PROTECTED]:

 Am Fri, 28 Nov 2008 17:55:40 +0100
 schrieb [EMAIL PROTECTED] [EMAIL PROTECTED]:
 
  Hello,
  
  For a long time I valued LyX for its swiftness when typing. 
  Something changed recently, however and I do not
  have an idea what is causing this.
  
  When I type the letters only show up slowly on the screen. This
  makes working with LyX really cumbersome.
  
  I assumed this could have something to do with Auto Completion.
  But nothing changed when I switched this feature of.
  
  Version: LyX 1.6.0 (7 November 2008) - compiled binary on Ubuntu
  8.10
  
  Any ideas?
  
  Regards,
  seacyd
 
 I solved it, however, without knowing what was the original cause.
 
 Here is what I did:
 
 1. removed the lyx ubuntu package 1.5.6 from my system (wajig remove
 lyx)
 
 2. installed the same package again (wajig install lyx) - I did want
 to test with the old version to see if the slowness also occurs there.
 
 3. I started lyx 1.5.6 everything worked fine  the positive suprise
 was, when I started lyx 1.6.0 the so much appreciated responsiveness
 of lyx is back.
 
 So maybe when compiling the source code some different
 versions of libraries get installed then with the standard Ubuntu
 package?
 
 Regards,
 seacyd


Unfortunately, this actually did not solve it.

I have found another behaviour that might be relevant for experts to
solve this:

* Large window size of lyx (e.g., full screen or maximized)
 - LyX is slow

* Make the window minimal (only show a few lines and columns) - LyX is
  fast

Thus, could it be that the library is overpowering my computer
(Intel 2.80 GHZ  / 1024 RAM)?

Regards,
seacyd







Re: Again on interrupted lists

2008-11-30 Thread Guenter Milde
On 2008-11-30, stefano franchi wrote:

 I am trying really hard to understand how to produce interrupted multi-level
 lists in LyX/LaTeX,
...
 Every once in a while I need to insert text between the steps to make a
 more general point before resuming the argument. For clarity, I need to
 have the steps labeled with decimal numbering (i.e.. 1. 1.1, 1.2, etc.)

 Here is what I tried:

 1. using the paralist package

 2. Using the mdwlist package

I recommend the enumitem package (if you are using LyX 1.6, you can use
the attached enumitem module.

No need to explicitely \interrupt an enumeration. It just takes of the
last one *of the corresponding level* with the [resume] optional argument
(or with the Enumerate-Resume Style provided by the module).

Günter

enumitem.module:


#\DeclareLyXModule[enumitem.sty]{Customisable Lists (enumitem)}
#DescriptionBegin
# Control the layout of enumerate, itemize and description
# with an optional argument.
# See http://dante.ctan.org/CTAN/macros/latex/contrib/enumitem/enumitem.pdf
#DescriptionEnd
# Author: Günter Milde [EMAIL PROTECTED]

Format 11

# The package enumitem provides user control over the layout of the three
# basic list environments: enumerate, itemize and description. It supersedes
# both enumerate and mdwlist (providing well-structured replacements for all
# their funtionality), and in addition provides functions to compute the
# layout of labels, and to ‘clone’ the standard environments, to create new
# environments with counters of their own.
#
# - fancy labels and fancy refs,
# - leftmargin, labelsep and labelwidth automatically set,
# - changes applied globally or only in one of the three
#   types or even in a single list (including topsep) by
#   means of a sort of inheritance,
# - several description styles (which fix some bad
#   spacing, too),
# - starting value and counter resuming,
# - trivlists properly formatted,
# - control on page breaking
#
# Styling the basic lists is possible 
#
# a) generally in the LaTeX preamble and 
# b) per environment with optional arguments
#
# See enumitem.pdf_ for details and examples.

AddToPreamble
\usepackage{enumitem}
EndPreamble

# ensure the stdlist layouts are present (unmodified) 
# (as e.g. the KOMA script classes obsolete lyx-list with labeling)
# TODO: is this secure?

Input stdlists.inc

# Customizable Basic Lists
# 

# With enumitem, the three standard list environments take an optional
# argument. See enumitem.pdf_ for possible values.

Style Itemize
OptionalArgs  1
End

Style Enumerate
OptionalArgs  1
End

Style Description
OptionalArgs  1
End

# List Variants
# -
#
# Styles with pre-defined optional arguments for ease of use

Style Enumerate-Resume
CopyStyle Enumerate
LatexParam[resume]
#   LatexParam[resume*] # reuse optional arguments
OptionalArgs  0
# a blue label to indicate that this is not a WYSIWYG label
# (the numbering differs in the output)
LabelFont
  Color   blue
EndFont

End

# Add compact lists here...

# References
# --
#
# .. _enumitem.pdf:
#http://dante.ctan.org/CTAN/macros/latex/contrib/enumitem/enumitem.pdf




Re: Again on interrupted lists

2008-11-30 Thread Christian Liesen

Maybe you will also find the following link helpful: 
http://www.tex.ac.uk/cgi-bin/texfaq2html?label=interruptlist

As Günter said, enumlist is clearly to be recommended for interrupted  
list.


-- Christian



Am 30.11.2008 um 22:34 schrieb Guenter Milde:


On 2008-11-30, stefano franchi wrote:

I am trying really hard to understand how to produce interrupted  
multi-level

lists in LyX/LaTeX,

...
Every once in a while I need to insert text between the steps to  
make a
more general point before resuming the argument. For clarity, I  
need to
have the steps labeled with decimal numbering (i.e.. 1. 1.1, 1.2,  
etc.)



Here is what I tried:



1. using the paralist package



2. Using the mdwlist package


I recommend the enumitem package (if you are using LyX 1.6, you can  
use

the attached enumitem module.

No need to explicitely \interrupt an enumeration. It just takes of the
last one *of the corresponding level* with the [resume] optional  
argument

(or with the Enumerate-Resume Style provided by the module).

Günter

enumitem.module:


#\DeclareLyXModule[enumitem.sty]{Customisable Lists (enumitem)}
#DescriptionBegin
# Control the layout of enumerate, itemize and description
# with an optional argument.
# See http://dante.ctan.org/CTAN/macros/latex/contrib/enumitem/enumitem.pdf
#DescriptionEnd
# Author: Günter Milde [EMAIL PROTECTED]

Format 11

# The package enumitem provides user control over the layout of the  
three
# basic list environments: enumerate, itemize and description. It  
supersedes
# both enumerate and mdwlist (providing well-structured replacements  
for all
# their funtionality), and in addition provides functions to compute  
the
# layout of labels, and to ‘clone’ the standard environments, to  
create new

# environments with counters of their own.
#
# - fancy labels and fancy refs,
# - leftmargin, labelsep and labelwidth automatically set,
# - changes applied globally or only in one of the three
#   types or even in a single list (including topsep) by
#   means of a sort of inheritance,
# - several description styles (which fix some bad
#   spacing, too),
# - starting value and counter resuming,
# - trivlists properly formatted,
# - control on page breaking
#
# Styling the basic lists is possible
#
# a) generally in the LaTeX preamble and
# b) per environment with optional arguments
#
# See enumitem.pdf_ for details and examples.

AddToPreamble
\usepackage{enumitem}
EndPreamble

# ensure the stdlist layouts are present (unmodified)
# (as e.g. the KOMA script classes obsolete lyx-list with labeling)
# TODO: is this secure?

Input stdlists.inc

# Customizable Basic Lists
# 

# With enumitem, the three standard list environments take an optional
# argument. See enumitem.pdf_ for possible values.

Style Itemize
OptionalArgs  1
End

Style Enumerate
OptionalArgs  1
End

Style Description
OptionalArgs  1
End

# List Variants
# -
#
# Styles with pre-defined optional arguments for ease of use

Style Enumerate-Resume
   CopyStyle Enumerate
LatexParam[resume]
#   LatexParam[resume*] # reuse optional arguments
OptionalArgs  0
# a blue label to indicate that this is not a WYSIWYG label
# (the numbering differs in the output)
LabelFont
  Color   blue
EndFont

End

# Add compact lists here...

# References
# --
#
# .. _enumitem.pdf:
#http://dante.ctan.org/CTAN/macros/latex/contrib/enumitem/enumitem.pdf






Re: Building LyX layout for Copernicus Journals, class definition and estimate of time span?

2008-11-30 Thread Uwe Stöhr

Maarten Smoorenburg schrieb:


I am trying to submit an article for publication by using the copernicus.cls
class. This class is used by many journals that are published by the
European Geophysical Union (EGU) and I would like to publish in HESS. I jsut
wrote the article in a simple article layout and now want to use the
copernicus.cls class for publishing

Currently, there is no layout file available for the copernicus.cls 


I have now built a layout file for copernicus:

Please test it out and report back. If it works, I'll include it to the next 
LyX release.

The latest version of the copernicus.cls file contains a bug regarding BibTeX. When a document uses 
one of the LaTeX commands \cite, \citep, or \citet to reference an entry of a BibTeX file, latex.exe 
is send to an infinite loop.


regards Uwe


Re: [correction] LyXWinInstaller for LyX 1.6.0

2008-11-30 Thread asm23

Uwe Stöhr wrote:

Asm_gmail schrieb:


I have found the problem, and find a way to work around it.

Actually, I first installed the latest version of basic MikTex 2.7 . 
During setup, I choose the update option in MikTex's Setting dialog 
Install missing pages, of --- Ask me first.


But when I install the Lyx (both the standard version or the 
alternative installer), the installer will *automatically* change this 
option to Yes. (it seems very strange)


This is done purposely Otherwise you will be prompted about 40 times to 
agree to the package installation. By omitting the prompt, you can go 
drinking a coffee while the packages are installed consecutively.



So, the trick is : (If you have no network or low speed of networks)

1,kill the last step configuration of installation of Lyx.
2,Setting the MikTex update option  *back* to Ask me first.
3,start Lyx to let it initialize configuration , and When some message 
box prompt to ask whether downloading missing packages. I always 
choose cancel.

4,After step 3, the Lyx can work now.


This is not working. Because then you don't have a fully working LyX 
installation. You are then for example not able to compile the 
documentation files like LyX's User's Guide and you cannot use all LyX 
features, for example subfloats and other key features.


By the way, Even I make a full installation of basic MikTex 2.7, 
there are still several missing packages required by Lyx.


These are packages only available at special inter pages, mostly class 
and style files for scientific journals.


I'm struggling with this installation problem for about 24 Hours, All 
what I can do is install and reinstall of different packages again 
and again :-(
So, you can think how depressed I feel. Anyway, I surely solved this 
problem at last.


I don't understand why you cannot just wait untill all missing 
LaTeX-packages are installed. I mean you don't need to sit in front of 
your computer while this is done, you can also do other things in the 
meantime.


regards Uwe

Thanks, follow your advice, I completely updated the whole missing 
packages of Lyx, it takes *One hour*.(  a lot of patience need..)


But still I can't compile the tutorial.lyx.

A MessageBox reported that File does not exist..pdf, so, What's 
wrong with this problem? Thanks.




Re: view pdf error: the file doesn't exist - what to do?

2008-11-30 Thread asm23

Joachim Kreimer-de Fries wrote:

Moin Lyxers,

not for the first time I got today an LyX when clicking show pdf an 
error message:


Die Datei existiert nicht:
(I suppose in english: The file doesn't exist:)
/tmp/lyx_tmpdir.L12205/lyx_tmpbuf1/Lyra-Pracher-odt-teil.pdf

That was after adding an TeX code for another footnoteB (from the - 
loaded - manyfoot package), because I'm using for that the handout 
(tufte) layout because of the many sidenotes I need.


But because - at a certain point, when LaTeX (via LyX) said too many 
floats - I changed to the TeX-box \footnoteB command to get a real 
footnote. Which normally gives the planned result.


If the error message The file doesn't exist ... .pdf is a known 
problem, I ask:


== how to come out of this situation best?

I found out by trial and error, that I deleted the last TeX inset 
\footnoteB{...}, (but after many other trials, even after clothing and 
reopening LyX, after deleting the LyX - /tmp ... xyz-files and so on).


Regained functionality of LyX in making and showing a pdf result, I 
reintroduced the TeX-inset \footnoteB and it worked.


Fine for the project. But Question:

= are there reasons for that behaviour of LyX and/or other ways than 
just trying out, deleting the last inset(s) and remaking them?


== What might be the reason of the LaTeX-error about too many flouts 
when inserting footnotes = sidenotes in the handout (tufte) class, 
even if on the page where I am working and on the horizontal space on 
the margin there is place enough for another footnote=sidenote?


Goutgaun! joachim
--
MacTeXLive 200 - TeXShop 2.14-svn - LyX 1.6
MacBook Pro OSX 10.4.11 Tiger





I also meet this problem when I'm compiling the Tutorial.lyx.
It reported that the it can't find the pdf file to open.
I added the screen shot of this dialog.
inline: Snap1.jpg

Re: [correction] LyXWinInstaller for LyX 1.6.0

2008-11-30 Thread asm23

Another bug is that after reconfigure of Lyx.
The MiKTex server will always be *modified* to 
ftp://ftp.tu-chemnitz.de/..;


So, I need to manually choose another faster one.



Re: autocomplete question

2008-11-30 Thread Andre Poenitz
On Sat, Nov 29, 2008 at 10:56:05PM +, Paul Smith wrote:
> > [...]
> > I really value having the autocompletion feature in LyX. I hope it can get
> > an improved memory!
> 
> Perhaps, prediction algorithms from Artificial Intelligence could help
> with ranking the autocompletion suggestions.

Ideally, of course, autocompletion should work already with the first
keystroke in a document and produce ready-to-submit papers.

Of course, that still leaves the author at the mercy of the (mostly)
human reviewers...

Andre'


Re: autocomplete question

2008-11-30 Thread Paul Smith
On Sun, Nov 30, 2008 at 9:23 AM, Andre Poenitz
<[EMAIL PROTECTED]> wrote:
>> > I really value having the autocompletion feature in LyX. I hope it can get
>> > an improved memory!
>>
>> Perhaps, prediction algorithms from Artificial Intelligence could help
>> with ranking the autocompletion suggestions.
>
> Ideally, of course, autocompletion should work already with the first
> keystroke in a document and produce ready-to-submit papers.
>
> Of course, that still leaves the author at the mercy of the (mostly)
> human reviewers...

Ideally, of course, we would like to have less ironic and more
constructive LyX developers...

Paul


Re: autocomplete question

2008-11-30 Thread Paul Smith
On Sun, Nov 30, 2008 at 10:23 AM, Paul Smith <[EMAIL PROTECTED]> wrote:
>>> > I really value having the autocompletion feature in LyX. I hope it can get
>>> > an improved memory!
>>>
>>> Perhaps, prediction algorithms from Artificial Intelligence could help
>>> with ranking the autocompletion suggestions.
>>
>> Ideally, of course, autocompletion should work already with the first
>> keystroke in a document and produce ready-to-submit papers.
>>
>> Of course, that still leaves the author at the mercy of the (mostly)
>> human reviewers...
>
> Ideally, of course, we would like to have less ironic and more
> constructive LyX developers...

The idea of using machine learning algorithms to the problem of
ranking text autocomplete suggestions is not, in fact, new; it has
been applied to determine the suggestions of urls for Firefox/Mozilla:

http://www.mozilla.org/projects/ml/autocomplete/

Paul


Re: [correction] LyXWinInstaller for LyX 1.6.0

2008-11-30 Thread asm23

Uwe Stöhr wrote:

Hello LyXers,

I uploaded version 4.15 of the LyXWinInstaller that fixes two bugs:
- add missing Python file to be able to import CSV-files to LyX
- fix bug that PDF and EPS images weren't show in LyX

In case you are affected by these bugs, you have to reinstall LyX using 
this new installer version.


The installer can be downloaded from:
https://developer.berlios.de/project/showfiles.php?group_id=5117_id=15475 


and soon also from
ftp://ftp.lyx.org/pub/lyx/bin/1.6.0
(under the name AltInstaller)

(More infos about the installer can be found here:
 http://wiki.lyx.org/Windows/LyXWinInstaller )

sorry for the inconvenience and regards
Uwe


HI, Uwe. I'm totally annoying of installing the Lyx 1.6.
My system is Windows xp, I have Miktex 2.7 be installed already.

I have tried
"LyX-1.6.0-1-Installer.exe"
or
"LyX-160-4-15-AltInstaller-Small.exe"
But none of them can be properly installed.

Here is my problem:
-
If I have the networks.

Every time during the last period of installing, it will connect to the 
internet and downloading something Lyx seems missing.(I think the python 
will do this, and download it behind the screen).


But it takes *several hours*!!! I can't wait it for too long, So, I just 
disconnect my networks, then, the installation finished.


When I first start the Lyx. It will try to reconfigure and try to 
connect to the internet to download something. ( In my task manager, 
cmd.exe, python.exe and latex.exe was running , but No GUI was shown.)
It's also a long long time, there is no progress nor a "stop" button to 
pause the precessing. So, I just disconnect the networks again. And the 
Lyx screen appeared on my screen. Then, I works fine.


Later, each time I start the Lyx, it will do some annoying configuration 
in console mode(before the main GUI appears), and it will cost an 
endless time. So, I just disconnect the networks to let the main GUI 
window comes out.


-
If I have *no* networks.

The installation can't be finished. The console window will be pending 
until I click the "X" button.


Every time I start Lyx, I also see the cmd.exe, python.exe and latex.exe 
and Lyx.exe are running in the task manager, But all these programs were 
running behind the screen. No GUI were shown for ever...


-

I thought it was some thing wrong with the Python script, Because it 
will always got the state that the configuration was not finished. So, 
it will run configuration every time lyx started.


I'm hoping you other senior developers can solve this problem.
Thank you very much.




Re: autocomplete question

2008-11-30 Thread Andre Poenitz
On Sun, Nov 30, 2008 at 10:50:48AM +, Paul Smith wrote:
> >> Ideally, of course, autocompletion should work already with the first
> >> keystroke in a document and produce ready-to-submit papers.
> >>
> >> Of course, that still leaves the author at the mercy of the (mostly)
> >> human reviewers...
> >
> > Ideally, of course, we would like to have less ironic and more
> > constructive LyX developers...
> 
> The idea of using machine learning algorithms to the problem of
> ranking text autocomplete suggestions is not, in fact, new; it has
> been applied to determine the suggestions of urls for Firefox/Mozilla:
> 
> http://www.mozilla.org/projects/ml/autocomplete/

The "bugzilla example" they cite as bad case of conventional
autocompletion can probably be handled well by "conventional
autocompletion plus wildcards". To get to the sixth completion
there one would e.g. type

 b, u, g, *, 9

I am not sure about the general merits of machine learning in such
an environtment, though, especially if the input comes from several
users. We all know about the possible outcomes when asking Aunt Google
for LaTeX ;-)

Andre'


Boxed equations in Lyx

2008-11-30 Thread Laura

Hi everyone,

I am a new user of Lyx, and am trying to put some equations into a box. I
have already written the equations, so I was trying to insert some LateX
instructions to add the box to each equation separately. But so far I didn't
manage to get it to work. Any suggestion?

Thanks a lot to anyone who will reply.


-- 
View this message in context: 
http://n2.nabble.com/Boxed-equations-in-Lyx-tp1595091p1595091.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: Boxed equations in Lyx

2008-11-30 Thread Erez Yerushalmi
Hi,

After inserting math  with cnrl-m

Use   \boxed   for a math formula
for example:   \boxed{A\alpha+B}


or  \fbox
\fbox{regular text}
for a math box with regular text

This is found in the help files.
Can't remember exactly where, but easy to find.

Best Regards,  Erez

On Sun, Nov 30, 2008 at 12:29 PM, Laura <[EMAIL PROTECTED]> wrote:

>
> Hi everyone,
>
> I am a new user of Lyx, and am trying to put some equations into a box. I
> have already written the equations, so I was trying to insert some LateX
> instructions to add the box to each equation separately. But so far I
> didn't
> manage to get it to work. Any suggestion?
>
> Thanks a lot to anyone who will reply.
>
>
> --
> View this message in context:
> http://n2.nabble.com/Boxed-equations-in-Lyx-tp1595091p1595091.html
> Sent from the LyX - Users mailing list archive at Nabble.com.
>
>


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


Re: Boxed equations in Lyx

2008-11-30 Thread Uwe Stöhr

> am trying to put some equations into a box.
> Any suggestion?

Have a look at the math manual that you find in the Help menu of LyX. It explains you every detail 
about formulas, also formulas within boxes in the corresponding chapter.


regards Uwe


change margins on the first page

2008-11-30 Thread Sophie Vandenbussche

Hy everybody,

I would like to modify the margins on the first page of my thesis (to 
insert a graphic to serve as the cover page).

Is it possible? If yes, could you tell me how?

I hope this is not on the wiki but I did not find it.

Sophie


Re: [correction] LyXWinInstaller for LyX 1.6.0

2008-11-30 Thread Uwe Stöhr

> I'm totally annoying of installing the Lyx 1.6.
> My system is Windows xp, I have Miktex 2.7 be installed already.
>
> I have tried
> "LyX-1.6.0-1-Installer.exe"
> or
> "LyX-160-4-15-AltInstaller-Small.exe"
> But none of them can be properly installed.
>
> Here is my problem:
>
> Every time during the last period of installing, it will connect to the 
internet and downloading
> something Lyx seems missing.(I think the python will do this, and download it 
behind the screen).
>
> But it takes *several hours*!!! I can't wait it for too long, So, I just 
disconnect my networks,
> then, the installation finished.

This was a bad choice. When LyX is installed, its configure script checks the existing LaTeX system. 
So it asks latex.exe if several LaTeX-packages are available. latex.exe then automatically downloads 
the missing packages asked by LyX. Depending on your Internet connection, this can indeed take hours 
(usually it takes 10 minutes with a DSL connection).
When you abort this process, you kill the configuration script of LyX and still have an incomplete 
LaTeX installation and therefore get problems.


So you have to with the time until the downloading and installation is done. The Alternative 
installer therefore displays the current download and installation state in a console Window.


To speed up the installation a bit I suggest to uninstall MiKTeX _completely_ and reinstall it using 
the basic MiKTeX installation you can download from here:

http://miktex.org/2.7/setup
(Then you have the latest version that fixed some nasty bugs. Otherwise the lyX installer would do 
the update for you, but this takes longer than reinstalling MiKTeX.)

Then reinstall LyX and wait the needed time. This is all you can do.

regards Uwe


Again on interrupted lists

2008-11-30 Thread stefano franchi
I am trying really hard to understand how to produce interrupted multi-level
lists in LyX/LaTeX, but I can't seem to find a way to make the wiki
suggestions work. I am preparing lecture notes for a philosophy class and I
need to write down the various steps of various arguments, with main
premises, sub-premises, provisional conclusions, etc. Every once in a while
I need to insert text between the steps to make a more general point before
resuming the argument. For clarity, I need to have the steps labeled with
decimal numbering (i.e.. 1. 1.1, 1.2, etc.)

Here is what I tried:

1. using the paralist package
a. decimal numbering is offered as one of the package options, so no
problems there
b. Could not find a way to interrupt/resume a list. I studied the  package
documentation, but could not find a way. That does not necessarily mean it's
impossible, of course...


2. Using the mdwlist package
a. I redefine the enumerate counters and labels to produce decimal
numbering---no problems there
b. Although the \interrupt \resume commands work from a level 1 item to
standard text, I could not find a way to make it work from a deeper level
item.
That is, I can replicate the example on the wiki::
1. First first level item
2. second first level item
Standard text
3. third first level item

But I *cannot* extend it to do this:
1. First first level item
1.1. First second level item
Standard text
1.2 Second second level item

When I try to adapt the wiki example strategy  to my needs I get LaTex
errors. I am attaching a short sample file below.

Any help appreciated

Cheers,

Stefano
-- 
__
Stefano Franchi
Department of Philosophy  Ph:  (979) 862-2211
Texas A University  Fax: (979) 845-0458
305B Bolton Hall  [EMAIL PROTECTED]
College Station, TX 77843-4237


simple-numbering-test.lyx
Description: application/lyx


Re: autocomplete question

2008-11-30 Thread Ivan Werning

On Nov 30, 2008, at 5:50 AM, Paul Smith wrote:


On Sun, Nov 30, 2008 at 10:23 AM, Paul Smith <[EMAIL PROTECTED]> wrote:
I really value having the autocompletion feature in LyX. I hope  
it can get

an improved memory!


Perhaps, prediction algorithms from Artificial Intelligence could  
help

with ranking the autocompletion suggestions.


Ideally, of course, autocompletion should work already with the  
first

keystroke in a document and produce ready-to-submit papers.

Of course, that still leaves the author at the mercy of the (mostly)
human reviewers...


Ideally, of course, we would like to have less ironic and more
constructive LyX developers...


The idea of using machine learning algorithms to the problem of
ranking text autocomplete suggestions is not, in fact, new; it has
been applied to determine the suggestions of urls for Firefox/Mozilla:

http://www.mozilla.org/projects/ml/autocomplete/

Paul


Very interesting. Although using AI would be great, it is probably  
icing on the cake relative to the simple idea, brought up by Stefan,  
of having a rank list that is updated by the history of completions  
chosen.


-Ivan


Re: Again on interrupted lists

2008-11-30 Thread Paul A. Rubin

stefano franchi wrote:
I am trying really hard to understand how to produce interrupted 
multi-level lists in LyX/LaTeX, but I can't seem to find a way to make 
the wiki suggestions work. I am preparing lecture notes for a philosophy 
class and I need to write down the various steps of various arguments, 
with main premises, sub-premises, provisional conclusions, etc. Every 
once in a while I need to insert text between the steps to make a more 
general point before resuming the argument. For clarity, I need to have 
the steps labeled with decimal numbering (i.e.. 1. 1.1, 1.2, etc.)


Here is what I tried:

1. using the paralist package
a. decimal numbering is offered as one of the package options, so no 
problems there
b. Could not find a way to interrupt/resume a list. I studied the  
package documentation, but could not find a way. That does not 
necessarily mean it's impossible, of course...



2. Using the mdwlist package
a. I redefine the enumerate counters and labels to produce decimal 
numbering---no problems there
b. Although the \interrupt \resume commands work from a level 1 item to 
standard text, I could not find a way to make it work from a deeper 
level item.

That is, I can replicate the example on the wiki::
1. First first level item
2. second first level item
Standard text
3. third first level item

But I *cannot* extend it to do this:
1. First first level item
1.1. First second level item
Standard text
1.2 Second second level item

When I try to adapt the wiki example strategy  to my needs I get LaTex 
errors. I am attaching a short sample file below.




Stefano,

Does the attached file do the job?  If so, the use of mdwlist is 
overkill (I took it out); just nesting the extra text under the 
appropriate list level, and making it standard environments (or whatever 
environment you need) should work.


Incidentally, the LaTeX errors were the result of using 
\resume{enumerate} right before \end{enumerate} (i.e., resuming the list 
but then not adding any further items).


/Paul


hacked-simple-numbering-test.lyx
Description: application/lyx


Re: [correction] LyXWinInstaller for LyX 1.6.0

2008-11-30 Thread Asm_gmail

Uwe Stöhr wrote:

> I'm totally annoying of installing the Lyx 1.6.
> My system is Windows xp, I have Miktex 2.7 be installed already.
>
> I have tried
> "LyX-1.6.0-1-Installer.exe"
> or
> "LyX-160-4-15-AltInstaller-Small.exe"
> But none of them can be properly installed.
>
> Here is my problem:
>
> Every time during the last period of installing, it will connect to 
the internet and downloading
> something Lyx seems missing.(I think the python will do this, and 
download it behind the screen).

>
> But it takes *several hours*!!! I can't wait it for too long, So, I 
just disconnect my networks,

> then, the installation finished.

This was a bad choice. When LyX is installed, its configure script 
checks the existing LaTeX system. So it asks latex.exe if several 
LaTeX-packages are available. latex.exe then automatically downloads 
the missing packages asked by LyX. Depending on your Internet 
connection, this can indeed take hours (usually it takes 10 minutes 
with a DSL connection).
When you abort this process, you kill the configuration script of LyX 
and still have an incomplete LaTeX installation and therefore get 
problems.


So you have to with the time until the downloading and installation is 
done. The Alternative installer therefore displays the current 
download and installation state in a console Window.


To speed up the installation a bit I suggest to uninstall MiKTeX 
_completely_ and reinstall it using the basic MiKTeX installation you 
can download from here:

http://miktex.org/2.7/setup
(Then you have the latest version that fixed some nasty bugs. 
Otherwise the lyX installer would do the update for you, but this 
takes longer than reinstalling MiKTeX.)

Then reinstall LyX and wait the needed time. This is all you can do.

regards Uwe


HI, Uwe, Thank you for your reply, and Thank you for your suggestion.

I have found the problem, and find a way to work around it.

Actually, I first installed the latest version of basic MikTex 2.7 . 
During setup, I choose the update option in MikTex's Setting dialog 
"Install missing pages", of ---> "Ask me first".


But when I install the Lyx (both the standard version or the alternative 
installer), the installer will *automatically* change this option to 
"Yes". (it seems very strange) So the installation takes a long time if 
I have a low speed of network or even pending when I have No internet 
connection.


So, the trick is : (If you have no network or low speed of networks)

1,kill the last step configuration of installation of Lyx.
2,Setting the MikTex update option  *back* to "Ask me first".
3,start Lyx to let it initialize configuration , and When some message 
box prompt to ask whether downloading missing packages. I always choose 
"cancel".

4,After step 3, the Lyx can work now.

By the way, Even I make a full installation of "basic MikTex 2.7", there 
are still several missing packages required by Lyx. Maybe, They can be 
downloaded when I have a network or a higher speed connection(using the 
reconfigure menu). But without these "required packages", the Lyx can 
works well.



I'm struggling with this installation problem for about 24 Hours, All 
what I can do is "install" and "reinstall" of different packages again 
and again :-(
So, you can think how depressed I feel. Anyway, I surely solved this 
problem at last.










Photos for offset printing

2008-11-30 Thread Frederick Noronha [फ़रेदरिक नोरोनया]
Sorry to raise what might be an off-topic query here. Is there any
tutorial (Lyx- or Free Software-connected) tutorial on how to prepare
your photos for offset printing? Many thanks. FN
-- 
FN * Independent Journalist http://fn.goa-india.org
M: +91-9822122436 P: +91-832-2409490


Re: [correction] LyXWinInstaller for LyX 1.6.0

2008-11-30 Thread Uwe Stöhr

Asm_gmail schrieb:


I have found the problem, and find a way to work around it.

Actually, I first installed the latest version of basic MikTex 2.7 . 
During setup, I choose the update option in MikTex's Setting dialog 
"Install missing pages", of ---> "Ask me first".


But when I install the Lyx (both the standard version or the alternative 
installer), the installer will *automatically* change this option to 
"Yes". (it seems very strange)


This is done purposely Otherwise you will be prompted about 40 times to agree to the package 
installation. By omitting the prompt, you can go drinking a coffee while the packages are installed 
consecutively.



So, the trick is : (If you have no network or low speed of networks)

1,kill the last step configuration of installation of Lyx.
2,Setting the MikTex update option  *back* to "Ask me first".
3,start Lyx to let it initialize configuration , and When some message 
box prompt to ask whether downloading missing packages. I always choose 
"cancel".

4,After step 3, the Lyx can work now.


This is not working. Because then you don't have a fully working LyX installation. You are then for 
example not able to compile the documentation files like LyX's User's Guide and you cannot use all 
LyX features, for example subfloats and other key features.


By the way, Even I make a full installation of "basic MikTex 2.7", there 
are still several missing packages required by Lyx.


These are packages only available at special inter pages, mostly class and style files for 
scientific journals.


I'm struggling with this installation problem for about 24 Hours, All 
what I can do is "install" and "reinstall" of different packages again 
and again :-(
So, you can think how depressed I feel. Anyway, I surely solved this 
problem at last.


I don't understand why you cannot just wait untill all missing LaTeX-packages are installed. I mean 
you don't need to sit in front of your computer while this is done, you can also do other things in 
the meantime.


regards Uwe


Re: Fast typing - LyX follows slowly only [solved - not yet]

2008-11-30 Thread [EMAIL PROTECTED]
Am Sat, 29 Nov 2008 13:20:16 +0100
schrieb "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>:

> Am Fri, 28 Nov 2008 17:55:40 +0100
> schrieb "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>:
> 
> > Hello,
> > 
> > For a long time I valued LyX for its swiftness when typing. 
> > Something changed recently, however and I do not
> > have an idea what is causing this.
> > 
> > When I type the letters only show up slowly on the screen. This
> > makes working with LyX really cumbersome.
> > 
> > I assumed this could have something to do with "Auto Completion".
> > But nothing changed when I switched this feature of.
> > 
> > Version: LyX 1.6.0 (7 November 2008) - compiled binary on Ubuntu
> > 8.10
> > 
> > Any ideas?
> > 
> > Regards,
> > seacyd
> 
> I solved it, however, without knowing what was the original cause.
> 
> Here is what I did:
> 
> 1. removed the lyx ubuntu package 1.5.6 from my system (wajig remove
> lyx)
> 
> 2. installed the same package again (wajig install lyx) - I did want
> to test with the old version to see if the slowness also occurs there.
> 
> 3. I started lyx 1.5.6 everything worked fine & the positive suprise
> was, when I started lyx 1.6.0 the so much appreciated responsiveness
> of lyx is back.
> 
> So maybe when compiling the source code some different
> versions of libraries get installed then with the standard Ubuntu
> package?
> 
> Regards,
> seacyd


Unfortunately, this actually did not solve it.

I have found another behaviour that might be relevant for experts to
solve this:

* Large window size of lyx (e.g., full screen or maximized)
 -> LyX is slow

* Make the window minimal (only show a few lines and columns) -> LyX is
  fast

Thus, could it be that the library is overpowering my computer
(Intel 2.80 GHZ  / 1024 RAM)?

Regards,
seacyd







Re: Again on interrupted lists

2008-11-30 Thread Guenter Milde
On 2008-11-30, stefano franchi wrote:

> I am trying really hard to understand how to produce interrupted multi-level
> lists in LyX/LaTeX,
...
> Every once in a while I need to insert text between the steps to make a
> more general point before resuming the argument. For clarity, I need to
> have the steps labeled with decimal numbering (i.e.. 1. 1.1, 1.2, etc.)

> Here is what I tried:

> 1. using the paralist package

> 2. Using the mdwlist package

I recommend the enumitem package (if you are using LyX 1.6, you can use
the attached enumitem module.

No need to explicitely \interrupt an enumeration. It just takes of the
last one *of the corresponding level* with the [resume] optional argument
(or with the Enumerate-Resume Style provided by the module).

Günter

enumitem.module:


#\DeclareLyXModule[enumitem.sty]{Customisable Lists (enumitem)}
#DescriptionBegin
# Control the layout of enumerate, itemize and description
# with an optional argument.
# See http://dante.ctan.org/CTAN/macros/latex/contrib/enumitem/enumitem.pdf
#DescriptionEnd
# Author: Günter Milde <[EMAIL PROTECTED]>

Format 11

# The package enumitem provides user control over the layout of the three
# basic list environments: enumerate, itemize and description. It supersedes
# both enumerate and mdwlist (providing well-structured replacements for all
# their funtionality), and in addition provides functions to compute the
# layout of labels, and to ‘clone’ the standard environments, to create new
# environments with counters of their own.
#
# - fancy labels and fancy refs,
# - leftmargin, labelsep and labelwidth automatically set,
# - changes applied globally or only in one of the three
#   types or even in a single list (including topsep) by
#   means of a sort of "inheritance",
# - several description styles (which fix some bad
#   spacing, too),
# - starting value and counter resuming,
# - trivlists properly formatted,
# - control on page breaking
#
# Styling the basic lists is possible 
#
# a) generally in the LaTeX preamble and 
# b) per environment with optional arguments
#
# See enumitem.pdf_ for details and examples.

AddToPreamble
\usepackage{enumitem}
EndPreamble

# ensure the stdlist layouts are present (unmodified) 
# (as e.g. the KOMA script classes obsolete lyx-list with labeling)
# TODO: is this secure?

Input stdlists.inc

# Customizable Basic Lists
# 

# With enumitem, the three standard list environments take an optional
# argument. See enumitem.pdf_ for possible values.

Style Itemize
OptionalArgs  1
End

Style Enumerate
OptionalArgs  1
End

Style Description
OptionalArgs  1
End

# List Variants
# -
#
# Styles with pre-defined optional arguments for ease of use

Style Enumerate-Resume
CopyStyle Enumerate
LatexParam[resume]
#   LatexParam[resume*] # reuse optional arguments
OptionalArgs  0
# a blue label to indicate that this is not a WYSIWYG label
# (the numbering differs in the output)
LabelFont
  Color   blue
EndFont

End

# Add compact lists here...

# References
# --
#
# .. _enumitem.pdf:
#http://dante.ctan.org/CTAN/macros/latex/contrib/enumitem/enumitem.pdf




Re: Again on interrupted lists

2008-11-30 Thread Christian Liesen

Maybe you will also find the following link helpful: 
http://www.tex.ac.uk/cgi-bin/texfaq2html?label=interruptlist

As Günter said, enumlist is clearly to be recommended for interrupted  
list.


-- Christian



Am 30.11.2008 um 22:34 schrieb Guenter Milde:


On 2008-11-30, stefano franchi wrote:

I am trying really hard to understand how to produce interrupted  
multi-level

lists in LyX/LaTeX,

...
Every once in a while I need to insert text between the steps to  
make a
more general point before resuming the argument. For clarity, I  
need to
have the steps labeled with decimal numbering (i.e.. 1. 1.1, 1.2,  
etc.)



Here is what I tried:



1. using the paralist package



2. Using the mdwlist package


I recommend the enumitem package (if you are using LyX 1.6, you can  
use

the attached enumitem module.

No need to explicitely \interrupt an enumeration. It just takes of the
last one *of the corresponding level* with the [resume] optional  
argument

(or with the Enumerate-Resume Style provided by the module).

Günter

enumitem.module:


#\DeclareLyXModule[enumitem.sty]{Customisable Lists (enumitem)}
#DescriptionBegin
# Control the layout of enumerate, itemize and description
# with an optional argument.
# See http://dante.ctan.org/CTAN/macros/latex/contrib/enumitem/enumitem.pdf
#DescriptionEnd
# Author: Günter Milde <[EMAIL PROTECTED]>

Format 11

# The package enumitem provides user control over the layout of the  
three
# basic list environments: enumerate, itemize and description. It  
supersedes
# both enumerate and mdwlist (providing well-structured replacements  
for all
# their funtionality), and in addition provides functions to compute  
the
# layout of labels, and to ‘clone’ the standard environments, to  
create new

# environments with counters of their own.
#
# - fancy labels and fancy refs,
# - leftmargin, labelsep and labelwidth automatically set,
# - changes applied globally or only in one of the three
#   types or even in a single list (including topsep) by
#   means of a sort of "inheritance",
# - several description styles (which fix some bad
#   spacing, too),
# - starting value and counter resuming,
# - trivlists properly formatted,
# - control on page breaking
#
# Styling the basic lists is possible
#
# a) generally in the LaTeX preamble and
# b) per environment with optional arguments
#
# See enumitem.pdf_ for details and examples.

AddToPreamble
\usepackage{enumitem}
EndPreamble

# ensure the stdlist layouts are present (unmodified)
# (as e.g. the KOMA script classes obsolete lyx-list with labeling)
# TODO: is this secure?

Input stdlists.inc

# Customizable Basic Lists
# 

# With enumitem, the three standard list environments take an optional
# argument. See enumitem.pdf_ for possible values.

Style Itemize
OptionalArgs  1
End

Style Enumerate
OptionalArgs  1
End

Style Description
OptionalArgs  1
End

# List Variants
# -
#
# Styles with pre-defined optional arguments for ease of use

Style Enumerate-Resume
   CopyStyle Enumerate
LatexParam[resume]
#   LatexParam[resume*] # reuse optional arguments
OptionalArgs  0
# a blue label to indicate that this is not a WYSIWYG label
# (the numbering differs in the output)
LabelFont
  Color   blue
EndFont

End

# Add compact lists here...

# References
# --
#
# .. _enumitem.pdf:
#http://dante.ctan.org/CTAN/macros/latex/contrib/enumitem/enumitem.pdf






Re: Building LyX layout for Copernicus Journals, class definition and estimate of time span?

2008-11-30 Thread Uwe Stöhr

Maarten Smoorenburg schrieb:


I am trying to submit an article for publication by using the copernicus.cls
class. This class is used by many journals that are published by the
European Geophysical Union (EGU) and I would like to publish in HESS. I jsut
wrote the article in a simple article layout and now want to use the
copernicus.cls class for publishing

Currently, there is no layout file available for the copernicus.cls 


I have now built a layout file for copernicus:

Please test it out and report back. If it works, I'll include it to the next 
LyX release.

The latest version of the copernicus.cls file contains a bug regarding BibTeX. When a document uses 
one of the LaTeX commands \cite, \citep, or \citet to reference an entry of a BibTeX file, latex.exe 
is send to an infinite loop.


regards Uwe


Re: [correction] LyXWinInstaller for LyX 1.6.0

2008-11-30 Thread asm23

Uwe Stöhr wrote:

Asm_gmail schrieb:


I have found the problem, and find a way to work around it.

Actually, I first installed the latest version of basic MikTex 2.7 . 
During setup, I choose the update option in MikTex's Setting dialog 
"Install missing pages", of ---> "Ask me first".


But when I install the Lyx (both the standard version or the 
alternative installer), the installer will *automatically* change this 
option to "Yes". (it seems very strange)


This is done purposely Otherwise you will be prompted about 40 times to 
agree to the package installation. By omitting the prompt, you can go 
drinking a coffee while the packages are installed consecutively.



So, the trick is : (If you have no network or low speed of networks)

1,kill the last step configuration of installation of Lyx.
2,Setting the MikTex update option  *back* to "Ask me first".
3,start Lyx to let it initialize configuration , and When some message 
box prompt to ask whether downloading missing packages. I always 
choose "cancel".

4,After step 3, the Lyx can work now.


This is not working. Because then you don't have a fully working LyX 
installation. You are then for example not able to compile the 
documentation files like LyX's User's Guide and you cannot use all LyX 
features, for example subfloats and other key features.


By the way, Even I make a full installation of "basic MikTex 2.7", 
there are still several missing packages required by Lyx.


These are packages only available at special inter pages, mostly class 
and style files for scientific journals.


I'm struggling with this installation problem for about 24 Hours, All 
what I can do is "install" and "reinstall" of different packages again 
and again :-(
So, you can think how depressed I feel. Anyway, I surely solved this 
problem at last.


I don't understand why you cannot just wait untill all missing 
LaTeX-packages are installed. I mean you don't need to sit in front of 
your computer while this is done, you can also do other things in the 
meantime.


regards Uwe

Thanks, follow your advice, I completely updated the whole missing 
packages of Lyx, it takes *One hour*.(  a lot of patience need..)


But still I can't compile the "tutorial.lyx".

A MessageBox reported that" File does not exist..pdf", so, What's 
wrong with this problem? Thanks.




Re: "view pdf" error: "the file doesn't exist" - what to do?

2008-11-30 Thread asm23

Joachim Kreimer-de Fries wrote:

Moin Lyxers,

not for the first time I got today an LyX when clicking "show pdf" an 
error message:


Die Datei existiert nicht:
(I suppose in english: The file doesn't exist:)
/tmp/lyx_tmpdir.L12205/lyx_tmpbuf1/Lyra-Pracher-odt-teil.pdf

That was after adding an TeX code for another "footnoteB" (from the - 
loaded - manyfoot package), because I'm using for that the "handout 
(tufte)" layout because of the many sidenotes I need.


But because - at a certain point, when LaTeX (via LyX) said "too many 
floats" - I changed to the TeX-box \footnoteB command to get a real 
footnote. Which normally gives the planned result.


If the error message "The file doesn't exist ... .pdf" is a known 
problem, I ask:


==> how to come out of this situation best?

I found out by trial and error, that I deleted the last TeX inset 
\footnoteB{...}, (but after many other trials, even after clothing and 
reopening LyX, after deleting the LyX - /tmp ... xyz-files and so on).


Regained functionality of LyX in making and showing a pdf result, I 
reintroduced the TeX-inset \footnoteB and it worked.


Fine for the project. But Question:

=> are there reasons for that behaviour of LyX and/or other ways than 
just trying out, deleting the last inset(s) and remaking them?


==> What might be the reason of the LaTeX-error about "too many flouts" 
when inserting "footnotes" = sidenotes in the "handout (tufte)" class, 
even if on the page where I am working and on the horizontal space on 
the margin there is place enough for another "footnote"=sidenote?


Goutgaun! joachim
--
MacTeXLive 200 - TeXShop 2.14-svn - LyX 1.6
MacBook Pro OSX 10.4.11 Tiger





I also meet this problem when I'm compiling the Tutorial.lyx.
It reported that the it can't find the pdf file to open.
I added the screen shot of this dialog.
<>

Re: [correction] LyXWinInstaller for LyX 1.6.0

2008-11-30 Thread asm23

Another bug is that after reconfigure of Lyx.
The MiKTex server will always be *modified* to 
"ftp://ftp.tu-chemnitz.de/..;


So, I need to manually choose another faster one.