Re: Shorttoc tight problem

2010-09-02 Thread Peter Baumgartner
Thanks Steve for your suggestion. But  I wanted a second - but shorter - table
of contents, i.e. a short summary of my table of contents whichs spans several
pages. 

The shorttoc packages promises to provide exactly such thing. And it really
does. The only problem I have with shorttoc: There is a option in this package
to tight this second table of contents, but this option does not work for me. 

The resulting table summary looks ugly as for each section (and I wanted only
chapter and section to be included in this second table of contents) there is an
empty line between.

And I'm not sure if I could use your code snippets as they refer to the standard
table of contents.

Peter



Re: how to add a caption to a Box inset?

2010-09-02 Thread Justin Wood
Thanks for the help, Jürgen. I'm not that great with using LaTeX directly,
but is this on the right track for the boxedminipage style?
\usepackage{boxedminipage} in the preamble; then

 \begin{boxedminipage}[c]{1\columnwidth}

\label{Box: hydrological cycle}Some text, blah blah\end{boxedminipage}


I inserted that as Tex code within LyX. I get a box this way, but I, err,
can't quite see how to use this with a float and/or get a caption (in the
Box 1, or Box 1.1 format). Sorry...

Thanks again!
 ~:Justin Wood:~
PhD candidate, *Energy  Engineering school*, Murdoch
Universityhttp://www.murdoch.edu.au/
2010/8/28 lyx-users-digest-h...@lists.lyx.org

 -- Forwarded message --
 From: Jürgen Spitzmüller sp...@lyx.org
 To: lyx-users@lists.lyx.org
 Date: Sat, 28 Aug 2010 16:48:02 +0800
 Subject: Re: how to add a caption to a Box inset?

 Justin Wood wrote:
  Hi all. I've had a look around but can't seem to find an answer to this
  one... I want to create a regular ole framed box (you know, as a
  self-contained area for 'aside' or 'extra info' type content), but I
 can't
  figure out how to give it a useful automatic identifier. As in, following
  the same naming format that Figure captions do: Box 1, or Box 1.1, etc,
 and
  have this displayed in the top part of the box somewhere.

 You can define a new float in the layout file of you class or (preferably)
 in
 a new module. The syntax is

 Float
 Type  box
 GuiName   Box
 Placement tbp
 Extension lob
 NumberWithin  none
 Style plaintop
 ListName  List of Boxes
 LaTeXBuiltin  false
 End

 Then put a box inside this float.

 There's also a boxed style which puts the float in the box in the first
 place, but it looks different to what you want (caption outside and below
 box).

 HTH,
 Jürgen



Re: LyX and Lilypond

2010-09-02 Thread Torquil Macdonald Sørensen

On 01/09/10 19:51, Etienne Snyman wrote:

Dear friendly LyX-users...

@Julien:
On Tue, 2010-08-31 at 16:11 -0400, Julien Rioux wrote:

These are default (I checked for LyX 1.6.5 specifically), but you do
need a recent version of lilypond installed, as mentioned by the
previous useful message. Once installed, select Tools  Reconfigure from
LyX's menus, and the lilypond converter should get configured
automatically. Do restart LyX after reconfiguration.


Thanks, Julien! You seem to be the general LyX expert for me! That
worked perfectly, although the output is less than desired. At the
moment, it inserts another page with only the single bar of Lilypond
notation on it.


I just checked and got the same problem until I had Lilypond remove the 
autogenerated Engraved by Lilypond (or similar) at the bottom of each page. I 
did it by including


\header {
tagline = 
}

at the top of my lilypond file.

Actually, the Engraved by lilypond was not visible within LyX and I suspect it 
was outside the visible page... But removing it made it possible for lilypond to 
define its bounding box close to the actual music.


Hope this helps!

Torquil



Lyx 2.0 beta?

2010-09-02 Thread Julian Burgos
Hello everyone,

Are there any news about the release of Lyx 2.0 beta?  I need/want to use
Lyx with Sweave and I´m trying to decide if I should go ahead and set up
everything in my current Lyx installation or if I should wait for the beta
release that is supposed to have out of the box tools for literate
programming (i.e Noweb and Sweave).

Thanks!

Julian

-- 
Julian Mariano Burgos
Hafrannsóknastofnunin/Marine Research Institute
Skúlagata 4, 121 Reykjavík, Iceland
Sími/Telephone : +354-5752037
Bréfsími/Telefax:  +354-5752001
Netfang/Email: jul...@hafro.is, jmbur...@uw.edu


Re: Lyx 2.0 beta?

2010-09-02 Thread Pavel Sanda
Julian Burgos wrote:
 Hello everyone,
 
 Are there any news about the release of Lyx 2.0 beta?  I need/want to use
 Lyx with Sweave and I´m trying to decide if I should go ahead and set up
 everything in my current Lyx installation or if I should wait for the beta
 release that is supposed to have out of the box tools for literate
 programming (i.e Noweb and Sweave).

you can try alpha's if you want to check the current devel state of 2.0.
if we have luck then beta1 in october, but we shifted the date so many
times that its better to take this info as a gossip.
pavel



Re: Lyx 2.0 beta?

2010-09-02 Thread obregonmateo
I'm not sure what type of tools you are looking for, but the current LyX 
(1.6.7) manages very well with Sweave. Have you tried it?

Mateo.

On Thursday 02 September 2010, Julian Burgos wrote:
 Hello everyone,
 
 Are there any news about the release of Lyx 2.0 beta?  I need/want to use
 Lyx with Sweave and I´m trying to decide if I should go ahead and set up
 everything in my current Lyx installation or if I should wait for the beta
 release that is supposed to have out of the box tools for literate
 programming (i.e Noweb and Sweave).
 
 Thanks!
 
 Julian
 
 



Re: agutex layout?

2010-09-02 Thread Evan Mason
Uwe Stöhr uwestoehr at web.de writes:

 
 Am 31.08.2010 17:33, schrieb Evan Mason:
 
  It does replace the older ones in that it seems to be the only one they are
  offering now.  It's supposed to work for all the different AGU journals.
  http://www.agu.org/pubs/helpdesk/
 
  Hi, did a new layout file eventually get written for agutex?
 
 I wrote a layout file for agutex. It requires that you have the AguTeX files:
 ftp://ftp.agu.org/journals/latex/journals/Manuscript-Preparation/
 installed to your LaTeX system.
 
 The layout file is attached together with a LyX example file. Please test it
our and report back. If 
 it works for you, we can provide it together with the next LyX version.



Thanks for that.  I was successful using your example (agutex.lyx) but less so
with my own lyx file.  Using your example I have
DocumentsSettingsDocument_class set to agutex, and Class_optionsCustom set to
jgrga (if I remove or change jgrga it breaks.)

I have no prior experience with cls and sty files, but have gained some
information through google and Lyx/Help/Customization.

I created the dir /usr/share/texmf/tex/latex/agutex and placed agu-ps.sty and
agutmpl.tex there, then the command mktexlsr.  I placed agutex.cls and
agutex.layout in ~/.lyx/layouts/ and made soft links to them from my working 
dir.


I then followed the Notes and format in agutex.lyx, adjusting my lyx document
and preamble accordingly.

When I try to compile I simply get:

[ema...@acacia NEA_seas_cycle]$ Warning: Output is empty

An empty output file was generated.


I'd be grateful for any pointers on where I might be going wrong?

Thanks, Evan





install lyx

2010-09-02 Thread Styliani Karra
To whom it might concern,

I am trying to install lyx in my computer and  I am getting an error
saying : Lyx has been closed because of an unexpected situation likely
caused by a flaw in the software.Then if reading the error information
says : Lyx reconfiguring user directory 'import site' failed;use -v for
traceback
Tracebac(most recent call last):
File C:/Program Files/Lyx16/bin/../Resources/configure.py@, line 11, in
module import sys, os, re, shutil, glob
ImportError: No module named os
LyX: Done!
LayourFilelist::Read:unable to find textclass file'. Exiting.
Completed

Can someone help with this error please?

Thanks
Stella


PhD student
Civil,Environmental and Geomatic Engineering Department
s.ka...@ucl.ac.uk




Re: LyX and Lilypond

2010-09-02 Thread Etienne Snyman
Dear LyX-peoples...

On Thu, 2010-09-02 at 10:59 +0200, Torquil Macdonald Sørensen wrote:
 On 01/09/10 19:51, Etienne Snyman wrote:
  . At the
  moment, it inserts another page with only the single bar of Lilypond
  notation on it.
 
 I just checked and got the same problem until I had Lilypond remove the 
 autogenerated Engraved by Lilypond (or similar) at the bottom of each page. 
 I 
 did it by including
 
 \header {
  tagline = 
 }

Thanks, Torquil, that worked perfectly!

Now I just need to work out how to place the notation where I need it...
If anyone has any suggestions, I would greatly appreciate it.

If I could add something to the wish-list for LyX ver2, then it would be
an optional Lilypond plugin, where you can write the Lilypond code in a
small window and then it automatically inserts the code. Is that what
Julien worked on earlier?

Thanks to everyone!

Etienne



Re: install lyx

2010-09-02 Thread Paul A. Rubin

On 9/2/2010 8:38 AM, Styliani Karra wrote:

To whom it might concern,

I am trying to install lyx in my computer and  I am getting an error
saying : Lyx has been closed because of an unexpected situation likely
caused by a flaw in the software.Then if reading the error information
says : Lyx reconfiguring user directory 'import site' failed;use -v for
traceback
Tracebac(most recent call last):
File C:/Program Files/Lyx16/bin/../Resources/configure.py@, line 11, in
module  import sys, os, re, shutil, glob
ImportError: No module named os
LyX: Done!
LayourFilelist::Read:unable to find textclass file'. Exiting.
Completed

Can someone help with this error please?



First check that you have a folder C:\Program Files\Lyx16\bin\Lib, and 
that it contains (among many files) os.py and os.pyc.  LyX installs a 
version of Python (scripting language) in its bin directory.  Apparently 
Python is at least partly installed (else the configuration script would 
not have gotten as far as it did), but it's claiming not to be able to 
find the 'os' module (os.pyc).  So one possibility is that the installer 
somehow failed to install all necessary files.


/Paul




How to install lyx offline? aspell problem

2010-09-02 Thread Michael Trofimov (mt2)
Hi,

I need to install lyx under Windows XP SP2 on PC which is not connected with 
internet. I installed MikTeX, aspell and lyx offline. It works, but I can not 
use spellchecker: The spellchecker could not be started. No word list can be 
found for the language en_US. Please, help me!

-- Michael. 

A bit OT - Jabref and citing web pages in lyx

2010-09-02 Thread Graham Smith
I've got Lyx working with citations largely as I expect it to work, but 
I am struggling with web page citations.


I am collecting references in Zotero, then importing into Jabref which 
has a *.bib file in the same directory I am usng for my Lyx document.


I am then inserting the citations using Lyx, but keeping the *.bib file 
updated with Jabref.


Web page reference exported from Zotero won't import into Jabref. BUT I 
also have Mendeley which syncs with the Zotero database and exports as a 
bib file that Jabref will read. However, there is no web page reference 
option and the misc type that it imports as doesn't have a field for 
last accessed


As this has now a days got to be a common reference type, can anyone 
give me some pointers about how to deal with web page 
references/citations with a lyx/jabref/bibtex combination.


Googlind hasn't helped me any, but if someone has a link to an 
appropriate web site, that would be great.


Many thanks,

Graham


opening two tabs with outline on and closing one, crashes lyx.

2010-09-02 Thread Todd Denniston
OS: Centos 5.5 up to date (equivalent to RHEL 5.5)
LyX: lyx 1.6.7 (lyx-1.6.7-1.el5 from the EPEL repository)
Also affected lyx 1.6.6.1 from the EPEL repository

simple method to cause crash:
1) fire up lyx
2) open a file
3) turn Outline mode on (get the check beside Document - Outline), if it is 
not already on
4) exit lyx
5) fire up lyx
6) File - New (creates newfile2 tab)
7) File - New (creates newfile3 tab)
8) select the tab for the first new file (newfile2)
9) File - Close
10) see
-Begin message
lyx: SIGSEGV signal caught
Sorry, you have found a bug in LyX. Please read the bug-reporting instructions 
in Help-Introduction
and send us a bug report, if necessary. Thanks !
Bye.
Aborted
-End message

So is this affecting current lyx 1.6.x on other distros?

bugzilla's hate me right now, not their fault though, so I am sending to the 
list. :]
-- 
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter


Re: agutex layout?

2010-09-02 Thread Uwe Stöhr

Am 02.09.2010 15:10, schrieb Evan Mason:


The layout file is attached together with a LyX example file. Please test it

our and report back. If

it works for you, we can provide it together with the next LyX version.


Thanks for that.  I was successful using your example (agutex.lyx) but less so
with my own lyx file.  Using your example I have
DocumentsSettingsDocument_class set to agutex, and Class_optionsCustom set to
jgrga (if I remove or change jgrga it breaks.)


You will get a LaTeX error, because the agutex class requires that you 
specify a journal as document class option, see my second yellow note in 
the example file I sent.



I have no prior experience with cls and sty files, but have gained some
information through google and Lyx/Help/Customization.

I created the dir /usr/share/texmf/tex/latex/agutex and placed agu-ps.sty and
agutmpl.tex there, then the command mktexlsr.  I placed agutex.cls and
agutex.layout in ~/.lyx/layouts/ and made soft links to them from my working 
dir.


The location is incorrect. Put the agu-ps.sty and agutex.cls to the folder
tex/latex/agutex
Finally execute the command texhash.

(mktexlsr is only for web2c systems which you most probably don't have. 
Here's a nice description: 
http://en.wikibooks.org/wiki/LaTeX/Packages/Installing_Extra_Packages)


The TeX system on Linux should be TeXLive and TeXLive comes with a 
graphical interface to install LaTeX-packages. So after putting the cls- 
and sty-files to tex/latex/agutex you should be able to use the TeXLive 
package installer GUI to refresh the filename database of TeXLive.


regards Uwe


problem for compiling a presentation - lyx 1.6.7

2010-09-02 Thread Romuald Poteau

Dear lyx users,

I have recently installed the last version of lyx (1.6.7) together with 
opensuse 11.3.


I have a collection of presentations made ages ago with prosper under 
lyx, which I still use and adapt to my new needs. Some of them were 
updated less than one year ago with LyX 1.6.4.1.
Although I believe that I have installed all the necessary 
distributions, libraries and layouts (as usual), I am now unable to 
compile these presentations with the new system / latex distribution / 
lyx version. I get the following message :

! LaTeX Error: \begin{itemize} on input line 95 ended by \end{raggedright}
Does anyone has already experienced that problem ?

Thank you for your help,
Romuald




Re: opening two tabs with outline on and closing one, crashes lyx.

2010-09-02 Thread James C. Sutherland
FWIW, I cannot duplicate this on Mac running LyX 1.6.7.
Also, step 6 creates newfile1 for me, not newfile2
James


On Thu, Sep 2, 2010 at 11:01 AM, Todd Denniston 
todd.dennis...@tsb.cranrdte.navy.mil wrote:

 OS: Centos 5.5 up to date (equivalent to RHEL 5.5)
 LyX: lyx 1.6.7 (lyx-1.6.7-1.el5 from the EPEL repository)
 Also affected lyx 1.6.6.1 from the EPEL repository

 simple method to cause crash:
 1) fire up lyx
 2) open a file
 3) turn Outline mode on (get the check beside Document - Outline), if it
 is not already on
 4) exit lyx
 5) fire up lyx
 6) File - New (creates newfile2 tab)
 7) File - New (creates newfile3 tab)
 8) select the tab for the first new file (newfile2)
 9) File - Close
 10) see
 -Begin message
 lyx: SIGSEGV signal caught
 Sorry, you have found a bug in LyX. Please read the bug-reporting
 instructions in Help-Introduction
 and send us a bug report, if necessary. Thanks !
 Bye.
 Aborted
 -End message

 So is this affecting current lyx 1.6.x on other distros?

 bugzilla's hate me right now, not their fault though, so I am sending to
 the list. :]
 --
 Todd Denniston
 Crane Division, Naval Surface Warfare Center (NSWC Crane)
 Harnessing the Power of Technology for the Warfighter



Re: A bit OT - Jabref and citing web pages in lyx

2010-09-02 Thread Kevin Brubeck Unhammer
010/9/2 Graham Smith graham.sm...@myotis.co.uk:
 I've got Lyx working with citations largely as I expect it to work, but I am
 struggling with web page citations.

 I am collecting references in Zotero, then importing into Jabref which has a
 *.bib file in the same directory I am usng for my Lyx document.

 I am then inserting the citations using Lyx, but keeping the *.bib file
 updated with Jabref.

 Web page reference exported from Zotero won't import into Jabref. BUT I also
 have Mendeley which syncs with the Zotero database and exports as a bib file
 that Jabref will read. However, there is no web page reference option and
 the misc type that it imports as doesn't have a field for last accessed


I haven't tried JabRef, but Zotero does export my web pages as misc
in a format that LyX understands anyway. However, Zotero doesn't
export the lastchecked field, I believe since it's not standard
bibtex.

The user shil88 in
http://forums.zotero.org/discussion/1302/export-bibtex-webpage-specific-fieldsinformation-missing/
describes a hack to make Zotero export the date in the howpublished
field, I don't know of any better solution :-/

best regards,
Kevin Brubeck Unhammer


Re: A bit OT - Jabref and citing web pages in lyx

2010-09-02 Thread Graham Smith

Kevin,


I haven't tried JabRef, but Zotero does export my web pages as misc
in a format that LyX understands anyway. However, Zotero doesn't
export the lastchecked field, I believe since it's not standard
bibtex.


Ah, I never tried using the Zotero to bibtex direct route, as I couldn't 
get Jabref to import the Zotero exported bibtex file.


I might rethink this


The user shil88 in
http://forums.zotero.org/discussion/1302/export-bibtex-webpage-specific-fieldsinformation-missing/


Thanks, I will have a look at this.

Graham


Re: A bit OT - Jabref and citing web pages in lyx

2010-09-02 Thread Julio Rojas
The best solution is Biblatex. For example:

@ONLINE{Wikipedia2009,
  author = {{Wikipedia, The Free Encyclopedia}},
  title = {Epistemology},
  year = {2009},
  url = {http://en.wikipedia.org/wiki/Epistemology},
  organization = {Wikimedia Foundation},
  owner = {jcredberry},
  timestamp = {2009.08.11},
  urldate = {2009-08-11}
}


Will be perfectly rendered by Biblatex as:
Wikipedia, The Free Encyclopedia (2009). Epistemology. Wikimedia
Foundation. URL: http://en.wikipedia.org/wiki/Epistemology (visited on
08-11-2009).

Best regards.


-
Julio Rojas
jcredbe...@gmail.com



On Thu, Sep 2, 2010 at 9:32 PM, Kevin Brubeck Unhammer
kun...@student.uib.no wrote:
 010/9/2 Graham Smith graham.sm...@myotis.co.uk:
 I've got Lyx working with citations largely as I expect it to work, but I am
 struggling with web page citations.

 I am collecting references in Zotero, then importing into Jabref which has a
 *.bib file in the same directory I am usng for my Lyx document.

 I am then inserting the citations using Lyx, but keeping the *.bib file
 updated with Jabref.

 Web page reference exported from Zotero won't import into Jabref. BUT I also
 have Mendeley which syncs with the Zotero database and exports as a bib file
 that Jabref will read. However, there is no web page reference option and
 the misc type that it imports as doesn't have a field for last accessed


 I haven't tried JabRef, but Zotero does export my web pages as misc
 in a format that LyX understands anyway. However, Zotero doesn't
 export the lastchecked field, I believe since it's not standard
 bibtex.

 The user shil88 in
 http://forums.zotero.org/discussion/1302/export-bibtex-webpage-specific-fieldsinformation-missing/
 describes a hack to make Zotero export the date in the howpublished
 field, I don't know of any better solution :-/

 best regards,
 Kevin Brubeck Unhammer



Re: A bit OT - Jabref and citing web pages in lyx

2010-09-02 Thread Paul Rubin
If you're disinclined to move to Biblatex (per Julio's suggestion), you might
try one of the workarounds at
http://win.ua.ac.be/~nschloe/content/bibtex-how-cite-website.

/Paul




Sweave installation on Windows 7

2010-09-02 Thread John Kane
I thought I'd install Sweave but it's not happy at the moment.

I followed the instructions in the wiki and those that Jeff Laake wrote for 
Vista but without any luck.

When trying out the Norma-01.lyx file I get the error message seen here
http://www.mediafire.com/?clprb8qpw2e242v .

I've tried both both Rweave.bat suggestions that Jeff mentioned.  I'm a Tinn-R 
user so I added -n0-site-file in both cases. 

Any suggestions?






Re: A bit OT - Jabref and citing web pages in lyx

2010-09-02 Thread Graham Smith

Julio


The best solution is Biblatex. For example:


Thanks for this, I was looking for something like this, but couldn't 
find it.


Graham



Re: A bit OT - Jabref and citing web pages in lyx

2010-09-02 Thread Graham Smith

Paul,


If you're disinclined to move to Biblatex (per Julio's suggestion), you might
try one of the workarounds at
http://win.ua.ac.be/~nschloe/content/bibtex-how-cite-website.


Thanks, a lot of helpful info here.

Graham


Re: opening two tabs with outline on and closing one, crashes lyx.

2010-09-02 Thread Paul Rubin
Failed to reproduce on Mint Isadora (essentially Ubuntu 10.04).

/Paul




Re: Sweave installation on Windows 7

2010-09-02 Thread Liviu Andronic
On Thu, Sep 2, 2010 at 10:50 PM, John Kane jrkrid...@yahoo.ca wrote:
 Any suggestions?

Have you tried Gregor's approach? [1] Also try this CRAN README [2].
Liviu

[1] http://sites.google.com/site/gregorgorjanc/lyx-sweave
[2] http://cran.r-project.org/contrib/extra/lyx/README


Re: opening two tabs with outline on and closing one, crashes lyx.

2010-09-02 Thread Pavel Sanda
Todd Denniston wrote:
 So is this affecting current lyx 1.6.x on other distros?

not on gentoo. what qt version do you have installed?
pavel


working with images

2010-09-02 Thread Jack Tanner
When I wrote to this list a couple of weeks ago, I mentioned that I was 
really enjoying LyX. I have to say, I'm enjoying it even more now. It's 
remarkably useful and user-friendly. That said, I have a couple of 
suggestions for making it a bit friendlier yet, both in the area of 
working with images. I wouldn't be surprised if I'm just being dense, 
and LyX is already capable of doing all this.


1. I like being able to control how images display in LyX separately 
from how they show up in the output. However, I've found that I often 
set the two images to the same magnification in both. It'd be nice if it 
was the default to use the same magnification in both so that I wouldn't 
have to enter the number twice.


2. It's not easy to view not shown or small-magnification images at full 
size. I can right-click on an image and edit externally, but I'd 
rather bind the left-click to a fast internal view command (or a view 
externally command, and reserve the image properties dialog for the 
right-click menu.


Re: Shorttoc tight problem

2010-09-02 Thread Peter Baumgartner
Thanks Steve for your suggestion. But  I wanted a second - but shorter - table
of contents, i.e. a short summary of my table of contents whichs spans several
pages. 

The shorttoc packages promises to provide exactly such thing. And it really
does. The only problem I have with shorttoc: There is a option in this package
to tight this second table of contents, but this option does not work for me. 

The resulting table summary looks ugly as for each section (and I wanted only
chapter and section to be included in this second table of contents) there is an
empty line between.

And I'm not sure if I could use your code snippets as they refer to the standard
table of contents.

Peter



Re: how to add a caption to a Box inset?

2010-09-02 Thread Justin Wood
Thanks for the help, Jürgen. I'm not that great with using LaTeX directly,
but is this on the right track for the boxedminipage style?
\usepackage{boxedminipage} in the preamble; then

 \begin{boxedminipage}[c]{1\columnwidth}

\label{Box: hydrological cycle}Some text, blah blah\end{boxedminipage}


I inserted that as Tex code within LyX. I get a box this way, but I, err,
can't quite see how to use this with a float and/or get a caption (in the
Box 1, or Box 1.1 format). Sorry...

Thanks again!
 ~:Justin Wood:~
PhD candidate, *Energy  Engineering school*, Murdoch
Universityhttp://www.murdoch.edu.au/
2010/8/28 lyx-users-digest-h...@lists.lyx.org

 -- Forwarded message --
 From: Jürgen Spitzmüller sp...@lyx.org
 To: lyx-users@lists.lyx.org
 Date: Sat, 28 Aug 2010 16:48:02 +0800
 Subject: Re: how to add a caption to a Box inset?

 Justin Wood wrote:
  Hi all. I've had a look around but can't seem to find an answer to this
  one... I want to create a regular ole framed box (you know, as a
  self-contained area for 'aside' or 'extra info' type content), but I
 can't
  figure out how to give it a useful automatic identifier. As in, following
  the same naming format that Figure captions do: Box 1, or Box 1.1, etc,
 and
  have this displayed in the top part of the box somewhere.

 You can define a new float in the layout file of you class or (preferably)
 in
 a new module. The syntax is

 Float
 Type  box
 GuiName   Box
 Placement tbp
 Extension lob
 NumberWithin  none
 Style plaintop
 ListName  List of Boxes
 LaTeXBuiltin  false
 End

 Then put a box inside this float.

 There's also a boxed style which puts the float in the box in the first
 place, but it looks different to what you want (caption outside and below
 box).

 HTH,
 Jürgen



Re: LyX and Lilypond

2010-09-02 Thread Torquil Macdonald Sørensen

On 01/09/10 19:51, Etienne Snyman wrote:

Dear friendly LyX-users...

@Julien:
On Tue, 2010-08-31 at 16:11 -0400, Julien Rioux wrote:

These are default (I checked for LyX 1.6.5 specifically), but you do
need a recent version of lilypond installed, as mentioned by the
previous useful message. Once installed, select Tools  Reconfigure from
LyX's menus, and the lilypond converter should get configured
automatically. Do restart LyX after reconfiguration.


Thanks, Julien! You seem to be the general LyX expert for me! That
worked perfectly, although the output is less than desired. At the
moment, it inserts another page with only the single bar of Lilypond
notation on it.


I just checked and got the same problem until I had Lilypond remove the 
autogenerated Engraved by Lilypond (or similar) at the bottom of each page. I 
did it by including


\header {
tagline = 
}

at the top of my lilypond file.

Actually, the Engraved by lilypond was not visible within LyX and I suspect it 
was outside the visible page... But removing it made it possible for lilypond to 
define its bounding box close to the actual music.


Hope this helps!

Torquil



Lyx 2.0 beta?

2010-09-02 Thread Julian Burgos
Hello everyone,

Are there any news about the release of Lyx 2.0 beta?  I need/want to use
Lyx with Sweave and I´m trying to decide if I should go ahead and set up
everything in my current Lyx installation or if I should wait for the beta
release that is supposed to have out of the box tools for literate
programming (i.e Noweb and Sweave).

Thanks!

Julian

-- 
Julian Mariano Burgos
Hafrannsóknastofnunin/Marine Research Institute
Skúlagata 4, 121 Reykjavík, Iceland
Sími/Telephone : +354-5752037
Bréfsími/Telefax:  +354-5752001
Netfang/Email: jul...@hafro.is, jmbur...@uw.edu


Re: Lyx 2.0 beta?

2010-09-02 Thread Pavel Sanda
Julian Burgos wrote:
 Hello everyone,
 
 Are there any news about the release of Lyx 2.0 beta?  I need/want to use
 Lyx with Sweave and I´m trying to decide if I should go ahead and set up
 everything in my current Lyx installation or if I should wait for the beta
 release that is supposed to have out of the box tools for literate
 programming (i.e Noweb and Sweave).

you can try alpha's if you want to check the current devel state of 2.0.
if we have luck then beta1 in october, but we shifted the date so many
times that its better to take this info as a gossip.
pavel



Re: Lyx 2.0 beta?

2010-09-02 Thread obregonmateo
I'm not sure what type of tools you are looking for, but the current LyX 
(1.6.7) manages very well with Sweave. Have you tried it?

Mateo.

On Thursday 02 September 2010, Julian Burgos wrote:
 Hello everyone,
 
 Are there any news about the release of Lyx 2.0 beta?  I need/want to use
 Lyx with Sweave and I´m trying to decide if I should go ahead and set up
 everything in my current Lyx installation or if I should wait for the beta
 release that is supposed to have out of the box tools for literate
 programming (i.e Noweb and Sweave).
 
 Thanks!
 
 Julian
 
 



Re: agutex layout?

2010-09-02 Thread Evan Mason
Uwe Stöhr uwestoehr at web.de writes:

 
 Am 31.08.2010 17:33, schrieb Evan Mason:
 
  It does replace the older ones in that it seems to be the only one they are
  offering now.  It's supposed to work for all the different AGU journals.
  http://www.agu.org/pubs/helpdesk/
 
  Hi, did a new layout file eventually get written for agutex?
 
 I wrote a layout file for agutex. It requires that you have the AguTeX files:
 ftp://ftp.agu.org/journals/latex/journals/Manuscript-Preparation/
 installed to your LaTeX system.
 
 The layout file is attached together with a LyX example file. Please test it
our and report back. If 
 it works for you, we can provide it together with the next LyX version.



Thanks for that.  I was successful using your example (agutex.lyx) but less so
with my own lyx file.  Using your example I have
DocumentsSettingsDocument_class set to agutex, and Class_optionsCustom set to
jgrga (if I remove or change jgrga it breaks.)

I have no prior experience with cls and sty files, but have gained some
information through google and Lyx/Help/Customization.

I created the dir /usr/share/texmf/tex/latex/agutex and placed agu-ps.sty and
agutmpl.tex there, then the command mktexlsr.  I placed agutex.cls and
agutex.layout in ~/.lyx/layouts/ and made soft links to them from my working 
dir.


I then followed the Notes and format in agutex.lyx, adjusting my lyx document
and preamble accordingly.

When I try to compile I simply get:

[ema...@acacia NEA_seas_cycle]$ Warning: Output is empty

An empty output file was generated.


I'd be grateful for any pointers on where I might be going wrong?

Thanks, Evan





install lyx

2010-09-02 Thread Styliani Karra
To whom it might concern,

I am trying to install lyx in my computer and  I am getting an error
saying : Lyx has been closed because of an unexpected situation likely
caused by a flaw in the software.Then if reading the error information
says : Lyx reconfiguring user directory 'import site' failed;use -v for
traceback
Tracebac(most recent call last):
File C:/Program Files/Lyx16/bin/../Resources/configure.py@, line 11, in
module import sys, os, re, shutil, glob
ImportError: No module named os
LyX: Done!
LayourFilelist::Read:unable to find textclass file'. Exiting.
Completed

Can someone help with this error please?

Thanks
Stella


PhD student
Civil,Environmental and Geomatic Engineering Department
s.ka...@ucl.ac.uk




Re: LyX and Lilypond

2010-09-02 Thread Etienne Snyman
Dear LyX-peoples...

On Thu, 2010-09-02 at 10:59 +0200, Torquil Macdonald Sørensen wrote:
 On 01/09/10 19:51, Etienne Snyman wrote:
  . At the
  moment, it inserts another page with only the single bar of Lilypond
  notation on it.
 
 I just checked and got the same problem until I had Lilypond remove the 
 autogenerated Engraved by Lilypond (or similar) at the bottom of each page. 
 I 
 did it by including
 
 \header {
  tagline = 
 }

Thanks, Torquil, that worked perfectly!

Now I just need to work out how to place the notation where I need it...
If anyone has any suggestions, I would greatly appreciate it.

If I could add something to the wish-list for LyX ver2, then it would be
an optional Lilypond plugin, where you can write the Lilypond code in a
small window and then it automatically inserts the code. Is that what
Julien worked on earlier?

Thanks to everyone!

Etienne



Re: install lyx

2010-09-02 Thread Paul A. Rubin

On 9/2/2010 8:38 AM, Styliani Karra wrote:

To whom it might concern,

I am trying to install lyx in my computer and  I am getting an error
saying : Lyx has been closed because of an unexpected situation likely
caused by a flaw in the software.Then if reading the error information
says : Lyx reconfiguring user directory 'import site' failed;use -v for
traceback
Tracebac(most recent call last):
File C:/Program Files/Lyx16/bin/../Resources/configure.py@, line 11, in
module  import sys, os, re, shutil, glob
ImportError: No module named os
LyX: Done!
LayourFilelist::Read:unable to find textclass file'. Exiting.
Completed

Can someone help with this error please?



First check that you have a folder C:\Program Files\Lyx16\bin\Lib, and 
that it contains (among many files) os.py and os.pyc.  LyX installs a 
version of Python (scripting language) in its bin directory.  Apparently 
Python is at least partly installed (else the configuration script would 
not have gotten as far as it did), but it's claiming not to be able to 
find the 'os' module (os.pyc).  So one possibility is that the installer 
somehow failed to install all necessary files.


/Paul




How to install lyx offline? aspell problem

2010-09-02 Thread Michael Trofimov (mt2)
Hi,

I need to install lyx under Windows XP SP2 on PC which is not connected with 
internet. I installed MikTeX, aspell and lyx offline. It works, but I can not 
use spellchecker: The spellchecker could not be started. No word list can be 
found for the language en_US. Please, help me!

-- Michael. 

A bit OT - Jabref and citing web pages in lyx

2010-09-02 Thread Graham Smith
I've got Lyx working with citations largely as I expect it to work, but 
I am struggling with web page citations.


I am collecting references in Zotero, then importing into Jabref which 
has a *.bib file in the same directory I am usng for my Lyx document.


I am then inserting the citations using Lyx, but keeping the *.bib file 
updated with Jabref.


Web page reference exported from Zotero won't import into Jabref. BUT I 
also have Mendeley which syncs with the Zotero database and exports as a 
bib file that Jabref will read. However, there is no web page reference 
option and the misc type that it imports as doesn't have a field for 
last accessed


As this has now a days got to be a common reference type, can anyone 
give me some pointers about how to deal with web page 
references/citations with a lyx/jabref/bibtex combination.


Googlind hasn't helped me any, but if someone has a link to an 
appropriate web site, that would be great.


Many thanks,

Graham


opening two tabs with outline on and closing one, crashes lyx.

2010-09-02 Thread Todd Denniston
OS: Centos 5.5 up to date (equivalent to RHEL 5.5)
LyX: lyx 1.6.7 (lyx-1.6.7-1.el5 from the EPEL repository)
Also affected lyx 1.6.6.1 from the EPEL repository

simple method to cause crash:
1) fire up lyx
2) open a file
3) turn Outline mode on (get the check beside Document - Outline), if it is 
not already on
4) exit lyx
5) fire up lyx
6) File - New (creates newfile2 tab)
7) File - New (creates newfile3 tab)
8) select the tab for the first new file (newfile2)
9) File - Close
10) see
-Begin message
lyx: SIGSEGV signal caught
Sorry, you have found a bug in LyX. Please read the bug-reporting instructions 
in Help-Introduction
and send us a bug report, if necessary. Thanks !
Bye.
Aborted
-End message

So is this affecting current lyx 1.6.x on other distros?

bugzilla's hate me right now, not their fault though, so I am sending to the 
list. :]
-- 
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter


Re: agutex layout?

2010-09-02 Thread Uwe Stöhr

Am 02.09.2010 15:10, schrieb Evan Mason:


The layout file is attached together with a LyX example file. Please test it

our and report back. If

it works for you, we can provide it together with the next LyX version.


Thanks for that.  I was successful using your example (agutex.lyx) but less so
with my own lyx file.  Using your example I have
DocumentsSettingsDocument_class set to agutex, and Class_optionsCustom set to
jgrga (if I remove or change jgrga it breaks.)


You will get a LaTeX error, because the agutex class requires that you 
specify a journal as document class option, see my second yellow note in 
the example file I sent.



I have no prior experience with cls and sty files, but have gained some
information through google and Lyx/Help/Customization.

I created the dir /usr/share/texmf/tex/latex/agutex and placed agu-ps.sty and
agutmpl.tex there, then the command mktexlsr.  I placed agutex.cls and
agutex.layout in ~/.lyx/layouts/ and made soft links to them from my working 
dir.


The location is incorrect. Put the agu-ps.sty and agutex.cls to the folder
tex/latex/agutex
Finally execute the command texhash.

(mktexlsr is only for web2c systems which you most probably don't have. 
Here's a nice description: 
http://en.wikibooks.org/wiki/LaTeX/Packages/Installing_Extra_Packages)


The TeX system on Linux should be TeXLive and TeXLive comes with a 
graphical interface to install LaTeX-packages. So after putting the cls- 
and sty-files to tex/latex/agutex you should be able to use the TeXLive 
package installer GUI to refresh the filename database of TeXLive.


regards Uwe


problem for compiling a presentation - lyx 1.6.7

2010-09-02 Thread Romuald Poteau

Dear lyx users,

I have recently installed the last version of lyx (1.6.7) together with 
opensuse 11.3.


I have a collection of presentations made ages ago with prosper under 
lyx, which I still use and adapt to my new needs. Some of them were 
updated less than one year ago with LyX 1.6.4.1.
Although I believe that I have installed all the necessary 
distributions, libraries and layouts (as usual), I am now unable to 
compile these presentations with the new system / latex distribution / 
lyx version. I get the following message :

! LaTeX Error: \begin{itemize} on input line 95 ended by \end{raggedright}
Does anyone has already experienced that problem ?

Thank you for your help,
Romuald




Re: opening two tabs with outline on and closing one, crashes lyx.

2010-09-02 Thread James C. Sutherland
FWIW, I cannot duplicate this on Mac running LyX 1.6.7.
Also, step 6 creates newfile1 for me, not newfile2
James


On Thu, Sep 2, 2010 at 11:01 AM, Todd Denniston 
todd.dennis...@tsb.cranrdte.navy.mil wrote:

 OS: Centos 5.5 up to date (equivalent to RHEL 5.5)
 LyX: lyx 1.6.7 (lyx-1.6.7-1.el5 from the EPEL repository)
 Also affected lyx 1.6.6.1 from the EPEL repository

 simple method to cause crash:
 1) fire up lyx
 2) open a file
 3) turn Outline mode on (get the check beside Document - Outline), if it
 is not already on
 4) exit lyx
 5) fire up lyx
 6) File - New (creates newfile2 tab)
 7) File - New (creates newfile3 tab)
 8) select the tab for the first new file (newfile2)
 9) File - Close
 10) see
 -Begin message
 lyx: SIGSEGV signal caught
 Sorry, you have found a bug in LyX. Please read the bug-reporting
 instructions in Help-Introduction
 and send us a bug report, if necessary. Thanks !
 Bye.
 Aborted
 -End message

 So is this affecting current lyx 1.6.x on other distros?

 bugzilla's hate me right now, not their fault though, so I am sending to
 the list. :]
 --
 Todd Denniston
 Crane Division, Naval Surface Warfare Center (NSWC Crane)
 Harnessing the Power of Technology for the Warfighter



Re: A bit OT - Jabref and citing web pages in lyx

2010-09-02 Thread Kevin Brubeck Unhammer
010/9/2 Graham Smith graham.sm...@myotis.co.uk:
 I've got Lyx working with citations largely as I expect it to work, but I am
 struggling with web page citations.

 I am collecting references in Zotero, then importing into Jabref which has a
 *.bib file in the same directory I am usng for my Lyx document.

 I am then inserting the citations using Lyx, but keeping the *.bib file
 updated with Jabref.

 Web page reference exported from Zotero won't import into Jabref. BUT I also
 have Mendeley which syncs with the Zotero database and exports as a bib file
 that Jabref will read. However, there is no web page reference option and
 the misc type that it imports as doesn't have a field for last accessed


I haven't tried JabRef, but Zotero does export my web pages as misc
in a format that LyX understands anyway. However, Zotero doesn't
export the lastchecked field, I believe since it's not standard
bibtex.

The user shil88 in
http://forums.zotero.org/discussion/1302/export-bibtex-webpage-specific-fieldsinformation-missing/
describes a hack to make Zotero export the date in the howpublished
field, I don't know of any better solution :-/

best regards,
Kevin Brubeck Unhammer


Re: A bit OT - Jabref and citing web pages in lyx

2010-09-02 Thread Graham Smith

Kevin,


I haven't tried JabRef, but Zotero does export my web pages as misc
in a format that LyX understands anyway. However, Zotero doesn't
export the lastchecked field, I believe since it's not standard
bibtex.


Ah, I never tried using the Zotero to bibtex direct route, as I couldn't 
get Jabref to import the Zotero exported bibtex file.


I might rethink this


The user shil88 in
http://forums.zotero.org/discussion/1302/export-bibtex-webpage-specific-fieldsinformation-missing/


Thanks, I will have a look at this.

Graham


Re: A bit OT - Jabref and citing web pages in lyx

2010-09-02 Thread Julio Rojas
The best solution is Biblatex. For example:

@ONLINE{Wikipedia2009,
  author = {{Wikipedia, The Free Encyclopedia}},
  title = {Epistemology},
  year = {2009},
  url = {http://en.wikipedia.org/wiki/Epistemology},
  organization = {Wikimedia Foundation},
  owner = {jcredberry},
  timestamp = {2009.08.11},
  urldate = {2009-08-11}
}


Will be perfectly rendered by Biblatex as:
Wikipedia, The Free Encyclopedia (2009). Epistemology. Wikimedia
Foundation. URL: http://en.wikipedia.org/wiki/Epistemology (visited on
08-11-2009).

Best regards.


-
Julio Rojas
jcredbe...@gmail.com



On Thu, Sep 2, 2010 at 9:32 PM, Kevin Brubeck Unhammer
kun...@student.uib.no wrote:
 010/9/2 Graham Smith graham.sm...@myotis.co.uk:
 I've got Lyx working with citations largely as I expect it to work, but I am
 struggling with web page citations.

 I am collecting references in Zotero, then importing into Jabref which has a
 *.bib file in the same directory I am usng for my Lyx document.

 I am then inserting the citations using Lyx, but keeping the *.bib file
 updated with Jabref.

 Web page reference exported from Zotero won't import into Jabref. BUT I also
 have Mendeley which syncs with the Zotero database and exports as a bib file
 that Jabref will read. However, there is no web page reference option and
 the misc type that it imports as doesn't have a field for last accessed


 I haven't tried JabRef, but Zotero does export my web pages as misc
 in a format that LyX understands anyway. However, Zotero doesn't
 export the lastchecked field, I believe since it's not standard
 bibtex.

 The user shil88 in
 http://forums.zotero.org/discussion/1302/export-bibtex-webpage-specific-fieldsinformation-missing/
 describes a hack to make Zotero export the date in the howpublished
 field, I don't know of any better solution :-/

 best regards,
 Kevin Brubeck Unhammer



Re: A bit OT - Jabref and citing web pages in lyx

2010-09-02 Thread Paul Rubin
If you're disinclined to move to Biblatex (per Julio's suggestion), you might
try one of the workarounds at
http://win.ua.ac.be/~nschloe/content/bibtex-how-cite-website.

/Paul




Sweave installation on Windows 7

2010-09-02 Thread John Kane
I thought I'd install Sweave but it's not happy at the moment.

I followed the instructions in the wiki and those that Jeff Laake wrote for 
Vista but without any luck.

When trying out the Norma-01.lyx file I get the error message seen here
http://www.mediafire.com/?clprb8qpw2e242v .

I've tried both both Rweave.bat suggestions that Jeff mentioned.  I'm a Tinn-R 
user so I added -n0-site-file in both cases. 

Any suggestions?






Re: A bit OT - Jabref and citing web pages in lyx

2010-09-02 Thread Graham Smith

Julio


The best solution is Biblatex. For example:


Thanks for this, I was looking for something like this, but couldn't 
find it.


Graham



Re: A bit OT - Jabref and citing web pages in lyx

2010-09-02 Thread Graham Smith

Paul,


If you're disinclined to move to Biblatex (per Julio's suggestion), you might
try one of the workarounds at
http://win.ua.ac.be/~nschloe/content/bibtex-how-cite-website.


Thanks, a lot of helpful info here.

Graham


Re: opening two tabs with outline on and closing one, crashes lyx.

2010-09-02 Thread Paul Rubin
Failed to reproduce on Mint Isadora (essentially Ubuntu 10.04).

/Paul




Re: Sweave installation on Windows 7

2010-09-02 Thread Liviu Andronic
On Thu, Sep 2, 2010 at 10:50 PM, John Kane jrkrid...@yahoo.ca wrote:
 Any suggestions?

Have you tried Gregor's approach? [1] Also try this CRAN README [2].
Liviu

[1] http://sites.google.com/site/gregorgorjanc/lyx-sweave
[2] http://cran.r-project.org/contrib/extra/lyx/README


Re: opening two tabs with outline on and closing one, crashes lyx.

2010-09-02 Thread Pavel Sanda
Todd Denniston wrote:
 So is this affecting current lyx 1.6.x on other distros?

not on gentoo. what qt version do you have installed?
pavel


working with images

2010-09-02 Thread Jack Tanner
When I wrote to this list a couple of weeks ago, I mentioned that I was 
really enjoying LyX. I have to say, I'm enjoying it even more now. It's 
remarkably useful and user-friendly. That said, I have a couple of 
suggestions for making it a bit friendlier yet, both in the area of 
working with images. I wouldn't be surprised if I'm just being dense, 
and LyX is already capable of doing all this.


1. I like being able to control how images display in LyX separately 
from how they show up in the output. However, I've found that I often 
set the two images to the same magnification in both. It'd be nice if it 
was the default to use the same magnification in both so that I wouldn't 
have to enter the number twice.


2. It's not easy to view not shown or small-magnification images at full 
size. I can right-click on an image and edit externally, but I'd 
rather bind the left-click to a fast internal view command (or a view 
externally command, and reserve the image properties dialog for the 
right-click menu.


Re: Shorttoc tight problem

2010-09-02 Thread Peter Baumgartner
Thanks Steve for your suggestion. But  I wanted a second - but shorter - table
of contents, i.e. a short summary of my table of contents whichs spans several
pages. 

The shorttoc packages promises to provide exactly such thing. And it really
does. The "only" problem I have with shorttoc: There is a option in this package
to tight this second table of contents, but this option does not work for me. 

The resulting table summary looks ugly as for each section (and I wanted only
chapter and section to be included in this second table of contents) there is an
empty line between.

And I'm not sure if I could use your code snippets as they refer to the standard
table of contents.

Peter



Re: how to add a caption to a Box inset?

2010-09-02 Thread Justin Wood
Thanks for the help, Jürgen. I'm not that great with using LaTeX directly,
but is this on the right track for the boxedminipage style?
\usepackage{boxedminipage} in the preamble; then

 \begin{boxedminipage}[c]{1\columnwidth}

\label{Box: hydrological cycle}Some text, blah blah\end{boxedminipage}


I inserted that as Tex code within LyX. I get a box this way, but I, err,
can't quite see how to use this with a float and/or get a caption (in the
Box 1, or Box 1.1 format). Sorry...

Thanks again!
 ~:Justin Wood:~
PhD candidate, *Energy & Engineering school*, Murdoch
University
2010/8/28 

> -- Forwarded message --
> From: "Jürgen Spitzmüller" 
> To: 
> Date: Sat, 28 Aug 2010 16:48:02 +0800
> Subject: Re: how to add a caption to a Box inset?
>
> Justin Wood wrote:
> > Hi all. I've had a look around but can't seem to find an answer to this
> > one... I want to create a regular ole framed box (you know, as a
> > self-contained area for 'aside' or 'extra info' type content), but I
> can't
> > figure out how to give it a useful automatic identifier. As in, following
> > the same naming format that Figure captions do: Box 1, or Box 1.1, etc,
> and
> > have this displayed in the top part of the box somewhere.
>
> You can define a new float in the layout file of you class or (preferably)
> in
> a new module. The syntax is
>
> Float
> Type  box
> GuiName   Box
> Placement tbp
> Extension lob
> NumberWithin  none
> Style plaintop
> ListName  "List of Boxes"
> LaTeXBuiltin  false
> End
>
> Then put a box inside this float.
>
> There's also a "boxed" style which puts the float in the box in the first
> place, but it looks different to what you want (caption outside and below
> box).
>
> HTH,
> Jürgen
>


Re: LyX and Lilypond

2010-09-02 Thread Torquil Macdonald Sørensen

On 01/09/10 19:51, Etienne Snyman wrote:

Dear friendly LyX-users...

@Julien:
On Tue, 2010-08-31 at 16:11 -0400, Julien Rioux wrote:

These are default (I checked for LyX 1.6.5 specifically), but you do
need a recent version of lilypond installed, as mentioned by the
previous useful message. Once installed, select Tools>  Reconfigure from
LyX's menus, and the lilypond converter should get configured
automatically. Do restart LyX after reconfiguration.


Thanks, Julien! You seem to be the general LyX expert for me! That
worked perfectly, although the output is less than desired. At the
moment, it inserts another page with only the single bar of Lilypond
notation on it.


I just checked and got the same problem until I had Lilypond remove the 
autogenerated "Engraved by Lilypond" (or similar) at the bottom of each page. I 
did it by including


\header {
tagline = ""
}

at the top of my lilypond file.

Actually, the "Engraved by lilypond" was not visible within LyX and I suspect it 
was outside the visible page... But removing it made it possible for lilypond to 
define its bounding box close to the actual music.


Hope this helps!

Torquil



Lyx 2.0 beta?

2010-09-02 Thread Julian Burgos
Hello everyone,

Are there any news about the release of Lyx 2.0 beta?  I need/want to use
Lyx with Sweave and I´m trying to decide if I should go ahead and set up
everything in my current Lyx installation or if I should wait for the beta
release that is supposed to have out of the box tools for literate
programming (i.e Noweb and Sweave).

Thanks!

Julian

-- 
Julian Mariano Burgos
Hafrannsóknastofnunin/Marine Research Institute
Skúlagata 4, 121 Reykjavík, Iceland
Sími/Telephone : +354-5752037
Bréfsími/Telefax:  +354-5752001
Netfang/Email: jul...@hafro.is, jmbur...@uw.edu


Re: Lyx 2.0 beta?

2010-09-02 Thread Pavel Sanda
Julian Burgos wrote:
> Hello everyone,
> 
> Are there any news about the release of Lyx 2.0 beta?  I need/want to use
> Lyx with Sweave and I´m trying to decide if I should go ahead and set up
> everything in my current Lyx installation or if I should wait for the beta
> release that is supposed to have out of the box tools for literate
> programming (i.e Noweb and Sweave).

you can try alpha's if you want to check the current devel state of 2.0.
if we have luck then beta1 in october, but we shifted the date so many
times that its better to take this info as a gossip.
pavel



Re: Lyx 2.0 beta?

2010-09-02 Thread obregonmateo
I'm not sure what type of "tools" you are looking for, but the current LyX 
(1.6.7) manages very well with Sweave. Have you tried it?

Mateo.

On Thursday 02 September 2010, Julian Burgos wrote:
> Hello everyone,
> 
> Are there any news about the release of Lyx 2.0 beta?  I need/want to use
> Lyx with Sweave and I´m trying to decide if I should go ahead and set up
> everything in my current Lyx installation or if I should wait for the beta
> release that is supposed to have out of the box tools for literate
> programming (i.e Noweb and Sweave).
> 
> Thanks!
> 
> Julian
> 
> 



Re: agutex layout?

2010-09-02 Thread Evan Mason
Uwe Stöhr  web.de> writes:

> 
> Am 31.08.2010 17:33, schrieb Evan Mason:
> 
> >> It does replace the older ones in that it seems to be the only one they are
> >> offering now.  It's supposed to work for all the different AGU journals.
> >> http://www.agu.org/pubs/helpdesk/
> >
> > Hi, did a new layout file eventually get written for agutex?
> 
> I wrote a layout file for agutex. It requires that you have the AguTeX files:
> ftp://ftp.agu.org/journals/latex/journals/Manuscript-Preparation/
> installed to your LaTeX system.
> 
> The layout file is attached together with a LyX example file. Please test it
our and report back. If 
> it works for you, we can provide it together with the next LyX version.



Thanks for that.  I was successful using your example (agutex.lyx) but less so
with my own lyx file.  Using your example I have
Documents>Settings>Document_class set to agutex, and Class_options>Custom set to
jgrga (if I remove or change jgrga it breaks.)

I have no prior experience with cls and sty files, but have gained some
information through google and Lyx/Help/Customization.

I created the dir /usr/share/texmf/tex/latex/agutex and placed agu-ps.sty and
agutmpl.tex there, then the command mktexlsr.  I placed agutex.cls and
agutex.layout in ~/.lyx/layouts/ and made soft links to them from my working 
dir.


I then followed the Notes and format in agutex.lyx, adjusting my lyx document
and preamble accordingly.

When I try to compile I simply get:

[ema...@acacia NEA_seas_cycle]$ Warning: Output is empty

An empty output file was generated.


I'd be grateful for any pointers on where I might be going wrong?

Thanks, Evan





install lyx

2010-09-02 Thread Styliani Karra
To whom it might concern,

I am trying to install lyx in my computer and  I am getting an error
saying : Lyx has been closed because of an unexpected situation likely
caused by a flaw in the software.Then if reading the error information
says : Lyx reconfiguring user directory 'import site' failed;use -v for
traceback
Tracebac(most recent call last):
File "C:/Program Files/Lyx16/bin/../Resources/configure.py@", line 11, in
 import sys, os, re, shutil, glob
ImportError: No module named os
LyX: Done!
LayourFilelist::Read:unable to find textclass file'. Exiting.
Completed

Can someone help with this error please?

Thanks
Stella


PhD student
Civil,Environmental and Geomatic Engineering Department
s.ka...@ucl.ac.uk




Re: LyX and Lilypond

2010-09-02 Thread Etienne Snyman
Dear LyX-peoples...

On Thu, 2010-09-02 at 10:59 +0200, Torquil Macdonald Sørensen wrote:
> On 01/09/10 19:51, Etienne Snyman wrote:
> > . At the
> > moment, it inserts another page with only the single bar of Lilypond
> > notation on it.
> 
> I just checked and got the same problem until I had Lilypond remove the 
> autogenerated "Engraved by Lilypond" (or similar) at the bottom of each page. 
> I 
> did it by including
> 
> \header {
>  tagline = ""
> }

Thanks, Torquil, that worked perfectly!

Now I just need to work out how to place the notation where I need it...
If anyone has any suggestions, I would greatly appreciate it.

If I could add something to the wish-list for LyX ver2, then it would be
an optional Lilypond plugin, where you can write the Lilypond code in a
small window and then it automatically inserts the code. Is that what
Julien worked on earlier?

Thanks to everyone!

Etienne



Re: install lyx

2010-09-02 Thread Paul A. Rubin

On 9/2/2010 8:38 AM, Styliani Karra wrote:

To whom it might concern,

I am trying to install lyx in my computer and  I am getting an error
saying : Lyx has been closed because of an unexpected situation likely
caused by a flaw in the software.Then if reading the error information
says : Lyx reconfiguring user directory 'import site' failed;use -v for
traceback
Tracebac(most recent call last):
File "C:/Program Files/Lyx16/bin/../Resources/configure.py@", line 11, in
  import sys, os, re, shutil, glob
ImportError: No module named os
LyX: Done!
LayourFilelist::Read:unable to find textclass file'. Exiting.
Completed

Can someone help with this error please?



First check that you have a folder C:\Program Files\Lyx16\bin\Lib, and 
that it contains (among many files) os.py and os.pyc.  LyX installs a 
version of Python (scripting language) in its bin directory.  Apparently 
Python is at least partly installed (else the configuration script would 
not have gotten as far as it did), but it's claiming not to be able to 
find the 'os' module (os.pyc).  So one possibility is that the installer 
somehow failed to install all necessary files.


/Paul




How to install lyx offline? aspell problem

2010-09-02 Thread Michael Trofimov (mt2)
Hi,

I need to install lyx under Windows XP SP2 on PC which is not connected with 
internet. I installed MikTeX, aspell and lyx offline. It works, but I can not 
use spellchecker: "The spellchecker could not be started. No word list can be 
found for the language "en_US"". Please, help me!

-- Michael. 

A bit OT - Jabref and citing web pages in lyx

2010-09-02 Thread Graham Smith
I've got Lyx working with citations largely as I expect it to work, but 
I am struggling with web page citations.


I am collecting references in Zotero, then importing into Jabref which 
has a *.bib file in the same directory I am usng for my Lyx document.


I am then inserting the citations using Lyx, but keeping the *.bib file 
updated with Jabref.


Web page reference exported from Zotero won't import into Jabref. BUT I 
also have Mendeley which syncs with the Zotero database and exports as a 
bib file that Jabref will read. However, there is no web page reference 
option and the "misc" type that it imports as doesn't have a field for 
"last accessed"


As this has now a days got to be a common reference type, can anyone 
give me some pointers about how to deal with web page 
references/citations with a lyx/jabref/bibtex combination.


Googlind hasn't helped me any, but if someone has a link to an 
appropriate web site, that would be great.


Many thanks,

Graham


opening two tabs with outline on and closing one, crashes lyx.

2010-09-02 Thread Todd Denniston
OS: Centos 5.5 up to date (equivalent to RHEL 5.5)
LyX: lyx 1.6.7 (lyx-1.6.7-1.el5 from the EPEL repository)
Also affected lyx 1.6.6.1 from the EPEL repository

simple method to cause crash:
1) fire up lyx
2) open a file
3) turn Outline mode on (get the check beside Document -> Outline), if it is 
not already on
4) exit lyx
5) fire up lyx
6) File -> New (creates newfile2 tab)
7) File -> New (creates newfile3 tab)
8) select the tab for the first new file (newfile2)
9) File -> Close
10) see
-Begin message
lyx: SIGSEGV signal caught
Sorry, you have found a bug in LyX. Please read the bug-reporting instructions 
in Help->Introduction
and send us a bug report, if necessary. Thanks !
Bye.
Aborted
-End message

So is this affecting current lyx 1.6.x on other distros?

bugzilla's hate me right now, not their fault though, so I am sending to the 
list. :]
-- 
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter


Re: agutex layout?

2010-09-02 Thread Uwe Stöhr

Am 02.09.2010 15:10, schrieb Evan Mason:


The layout file is attached together with a LyX example file. Please test it

our and report back. If

it works for you, we can provide it together with the next LyX version.


Thanks for that.  I was successful using your example (agutex.lyx) but less so
with my own lyx file.  Using your example I have
Documents>Settings>Document_class set to agutex, and Class_options>Custom set to
jgrga (if I remove or change jgrga it breaks.)


You will get a LaTeX error, because the agutex class requires that you 
specify a journal as document class option, see my second yellow note in 
the example file I sent.



I have no prior experience with cls and sty files, but have gained some
information through google and Lyx/Help/Customization.

I created the dir /usr/share/texmf/tex/latex/agutex and placed agu-ps.sty and
agutmpl.tex there, then the command mktexlsr.  I placed agutex.cls and
agutex.layout in ~/.lyx/layouts/ and made soft links to them from my working 
dir.


The location is incorrect. Put the agu-ps.sty and agutex.cls to the folder
tex/latex/agutex
Finally execute the command "texhash".

(mktexlsr is only for web2c systems which you most probably don't have. 
Here's a nice description: 
http://en.wikibooks.org/wiki/LaTeX/Packages/Installing_Extra_Packages)


The TeX system on Linux should be TeXLive and TeXLive comes with a 
graphical interface to install LaTeX-packages. So after putting the cls- 
and sty-files to tex/latex/agutex you should be able to use the TeXLive 
package installer GUI to refresh the filename database of TeXLive.


regards Uwe


problem for compiling a presentation - lyx 1.6.7

2010-09-02 Thread Romuald Poteau

Dear lyx users,

I have recently installed the last version of lyx (1.6.7) together with 
opensuse 11.3.


I have a collection of presentations made ages ago with prosper under 
lyx, which I still use and adapt to my new needs. Some of them were 
updated less than one year ago with LyX 1.6.4.1.
Although I believe that I have installed all the necessary 
distributions, libraries and layouts (as usual), I am now unable to 
compile these presentations with the new system / latex distribution / 
lyx version. I get the following message :

! LaTeX Error: \begin{itemize} on input line 95 ended by \end{raggedright}
Does anyone has already experienced that problem ?

Thank you for your help,
Romuald




Re: opening two tabs with outline on and closing one, crashes lyx.

2010-09-02 Thread James C. Sutherland
FWIW, I cannot duplicate this on Mac running LyX 1.6.7.
Also, step 6 creates "newfile1" for me, not "newfile2"
James


On Thu, Sep 2, 2010 at 11:01 AM, Todd Denniston <
todd.dennis...@tsb.cranrdte.navy.mil> wrote:

> OS: Centos 5.5 up to date (equivalent to RHEL 5.5)
> LyX: lyx 1.6.7 (lyx-1.6.7-1.el5 from the EPEL repository)
> Also affected lyx 1.6.6.1 from the EPEL repository
>
> simple method to cause crash:
> 1) fire up lyx
> 2) open a file
> 3) turn Outline mode on (get the check beside Document -> Outline), if it
> is not already on
> 4) exit lyx
> 5) fire up lyx
> 6) File -> New (creates newfile2 tab)
> 7) File -> New (creates newfile3 tab)
> 8) select the tab for the first new file (newfile2)
> 9) File -> Close
> 10) see
> -Begin message
> lyx: SIGSEGV signal caught
> Sorry, you have found a bug in LyX. Please read the bug-reporting
> instructions in Help->Introduction
> and send us a bug report, if necessary. Thanks !
> Bye.
> Aborted
> -End message
>
> So is this affecting current lyx 1.6.x on other distros?
>
> bugzilla's hate me right now, not their fault though, so I am sending to
> the list. :]
> --
> Todd Denniston
> Crane Division, Naval Surface Warfare Center (NSWC Crane)
> Harnessing the Power of Technology for the Warfighter
>


Re: A bit OT - Jabref and citing web pages in lyx

2010-09-02 Thread Kevin Brubeck Unhammer
010/9/2 Graham Smith :
> I've got Lyx working with citations largely as I expect it to work, but I am
> struggling with web page citations.
>
> I am collecting references in Zotero, then importing into Jabref which has a
> *.bib file in the same directory I am usng for my Lyx document.
>
> I am then inserting the citations using Lyx, but keeping the *.bib file
> updated with Jabref.
>
> Web page reference exported from Zotero won't import into Jabref. BUT I also
> have Mendeley which syncs with the Zotero database and exports as a bib file
> that Jabref will read. However, there is no web page reference option and
> the "misc" type that it imports as doesn't have a field for "last accessed"
>

I haven't tried JabRef, but Zotero does export my web pages as "misc"
in a format that LyX understands anyway. However, Zotero doesn't
export the "lastchecked" field, I believe since it's not "standard"
bibtex.

The user shil88 in
http://forums.zotero.org/discussion/1302/export-bibtex-webpage-specific-fieldsinformation-missing/
describes a hack to make Zotero export the date in the "howpublished"
field, I don't know of any better solution :-/

best regards,
Kevin Brubeck Unhammer


Re: A bit OT - Jabref and citing web pages in lyx

2010-09-02 Thread Graham Smith

Kevin,


I haven't tried JabRef, but Zotero does export my web pages as "misc"
in a format that LyX understands anyway. However, Zotero doesn't
export the "lastchecked" field, I believe since it's not "standard"
bibtex.


Ah, I never tried using the Zotero to bibtex direct route, as I couldn't 
get Jabref to import the Zotero exported bibtex file.


I might rethink this


The user shil88 in
http://forums.zotero.org/discussion/1302/export-bibtex-webpage-specific-fieldsinformation-missing/


Thanks, I will have a look at this.

Graham


Re: A bit OT - Jabref and citing web pages in lyx

2010-09-02 Thread Julio Rojas
The best solution is Biblatex. For example:

@ONLINE{Wikipedia2009,
  author = {{Wikipedia, The Free Encyclopedia}},
  title = {Epistemology},
  year = {2009},
  url = {http://en.wikipedia.org/wiki/Epistemology},
  organization = {Wikimedia Foundation},
  owner = {jcredberry},
  timestamp = {2009.08.11},
  urldate = {2009-08-11}
}


Will be perfectly rendered by Biblatex as:
Wikipedia, The Free Encyclopedia (2009). Epistemology. Wikimedia
Foundation. URL: http://en.wikipedia.org/wiki/Epistemology (visited on
08-11-2009).

Best regards.


-
Julio Rojas
jcredbe...@gmail.com



On Thu, Sep 2, 2010 at 9:32 PM, Kevin Brubeck Unhammer
 wrote:
> 010/9/2 Graham Smith :
>> I've got Lyx working with citations largely as I expect it to work, but I am
>> struggling with web page citations.
>>
>> I am collecting references in Zotero, then importing into Jabref which has a
>> *.bib file in the same directory I am usng for my Lyx document.
>>
>> I am then inserting the citations using Lyx, but keeping the *.bib file
>> updated with Jabref.
>>
>> Web page reference exported from Zotero won't import into Jabref. BUT I also
>> have Mendeley which syncs with the Zotero database and exports as a bib file
>> that Jabref will read. However, there is no web page reference option and
>> the "misc" type that it imports as doesn't have a field for "last accessed"
>>
>
> I haven't tried JabRef, but Zotero does export my web pages as "misc"
> in a format that LyX understands anyway. However, Zotero doesn't
> export the "lastchecked" field, I believe since it's not "standard"
> bibtex.
>
> The user shil88 in
> http://forums.zotero.org/discussion/1302/export-bibtex-webpage-specific-fieldsinformation-missing/
> describes a hack to make Zotero export the date in the "howpublished"
> field, I don't know of any better solution :-/
>
> best regards,
> Kevin Brubeck Unhammer
>


Re: A bit OT - Jabref and citing web pages in lyx

2010-09-02 Thread Paul Rubin
If you're disinclined to move to Biblatex (per Julio's suggestion), you might
try one of the workarounds at
http://win.ua.ac.be/~nschloe/content/bibtex-how-cite-website.

/Paul




Sweave installation on Windows 7

2010-09-02 Thread John Kane
I thought I'd install Sweave but it's not happy at the moment.

I followed the instructions in the wiki and those that Jeff Laake wrote for 
Vista but without any luck.

When trying out the Norma-01.lyx file I get the error message seen here
http://www.mediafire.com/?clprb8qpw2e242v .

I've tried both both Rweave.bat suggestions that Jeff mentioned.  I'm a Tinn-R 
user so I added "-n0-site-file" in both cases. 

Any suggestions?






Re: A bit OT - Jabref and citing web pages in lyx

2010-09-02 Thread Graham Smith

Julio


The best solution is Biblatex. For example:


Thanks for this, I was looking for something like this, but couldn't 
find it.


Graham



Re: A bit OT - Jabref and citing web pages in lyx

2010-09-02 Thread Graham Smith

Paul,


If you're disinclined to move to Biblatex (per Julio's suggestion), you might
try one of the workarounds at
http://win.ua.ac.be/~nschloe/content/bibtex-how-cite-website.


Thanks, a lot of helpful info here.

Graham


Re: opening two tabs with outline on and closing one, crashes lyx.

2010-09-02 Thread Paul Rubin
Failed to reproduce on Mint Isadora (essentially Ubuntu 10.04).

/Paul




Re: Sweave installation on Windows 7

2010-09-02 Thread Liviu Andronic
On Thu, Sep 2, 2010 at 10:50 PM, John Kane  wrote:
> Any suggestions?
>
Have you tried Gregor's approach? [1] Also try this CRAN README [2].
Liviu

[1] http://sites.google.com/site/gregorgorjanc/lyx-sweave
[2] http://cran.r-project.org/contrib/extra/lyx/README


Re: opening two tabs with outline on and closing one, crashes lyx.

2010-09-02 Thread Pavel Sanda
Todd Denniston wrote:
> So is this affecting current lyx 1.6.x on other distros?

not on gentoo. what qt version do you have installed?
pavel


working with images

2010-09-02 Thread Jack Tanner
When I wrote to this list a couple of weeks ago, I mentioned that I was 
really enjoying LyX. I have to say, I'm enjoying it even more now. It's 
remarkably useful and user-friendly. That said, I have a couple of 
suggestions for making it a bit friendlier yet, both in the area of 
working with images. I wouldn't be surprised if I'm just being dense, 
and LyX is already capable of doing all this.


1. I like being able to control how images display in LyX separately 
from how they show up in the output. However, I've found that I often 
set the two images to the same magnification in both. It'd be nice if it 
was the default to use the same magnification in both so that I wouldn't 
have to enter the number twice.


2. It's not easy to view not shown or small-magnification images at full 
size. I can right-click on an image and "edit externally", but I'd 
rather bind the left-click to a fast internal "view" command (or a "view 
externally" command, and reserve the image properties dialog for the 
right-click menu.