Re: Lyx problem printing

2010-02-03 Thread Guenter Milde
On 2010-02-02, rgheck wrote:

 The lyx2lyx script is called only to convert files from older versions 
 of LyX to the current format,

This is a common misconception. lyx2lyx is called whenever the file
format of the file differs from the file format used in the running LyX
version. (This will usually work fine with older file formats and fail
with newer ones, hence an old LyX version might see this kind of problems
with contemporary lyx documents.)

Günter



Re: summary

2010-02-03 Thread Jürgen Spitzmüller
Enrico Forestieri wrote:

 A quick search in the archives would have revealed the solution to
 your problem:
 http://www.mail-archive.com/lyx-users%40lists.lyx.org/msg69928.html
 
 Instead of copying the tex4ht folder as suggested there, another
 option is using the junction program you find here:
 http://technet.microsoft.com/en-us/sysinternals/bb896768.aspx
 for creating a reparse point to the MikTeX folder by opening cmd.exe
 and issuing the following two commands:
 md c:/tex4ht
 junction c:/tex4ht/texmf c:/Program Files/MiKTeX 2.7

Should this be documented on the wiki?

Jürgen




Re: summary

2010-02-03 Thread Liviu Andronic
On 2/3/10, 0 the_herd_of_the_hor...@yahoo.com wrote:
 Liviu Andronic and Vincent van Ravesteijn refuse to solve the problem

We refuse to solve your problem? Why should we? Getting help on a
public mailing list relies on the goodwill of its participants, not on
their duties or obligations. With your current approach you will only
manage to turn people off from helping you.
Liviu


 and says it's external tools. Liviu Andronic says it's problematic. 
 Vincent van Ravesteijn says it is certainly not a LyX problem.

  William Seager uses Gentoo and has no such menu in view.

  Tommaso Cucinotta offers to advertise LyX and to send .lyx directly to the 
 recepient.

  Waluyo Adi Siswanto uses Ubuntu 8.10 and exports to ODT fine.
  Liviu Andronic uses Linux and exports to ODT fine.

  I can also use this list as LyX to ODT converter - I can theoretically send 
 a file to you list and get a converted file back ;)


  SO solutions in my priority arrangement are:

  1) I can try installing Ubuntu Linux until my PC crashes or says that it's 
 not possible
  2) I can send the files to the list and ask to convert them back until every 
 list member will remember my math calculus knowledge by heart
  3) I can export to RTF or HTML until I make the recipient angry about the 
 formula quality
  4) I can advertise LyX to the recipient and make him happy with this .odt 
 problem

  Sounds like that the view - opendocument command is really not in its 
 proper place in Windows installation of LyX - it fails to work and should be 
 absent

  --- On Wed, 2/3/10, 0 the_herd_of_the_hor...@yahoo.com wrote:

   From: 0 the_herd_of_the_hor...@yahoo.com
   Subject: help!
   To: lyx-users@lists.lyx.org
   Date: Wednesday, February 3, 2010, 1:11 AM
  
  
From: 0 the_herd_of_the_hor...@yahoo.com
Subject: View - OpenDocument command produces empty
   output - help!
To: lyx-de...@lists.lyx.org,
   lyx-users@lists.lyx.org
Date: Tuesday, February 2, 2010, 7:53 PM
[examples/splash.lyx] is the document
which automatically opens when user runs LyX first
   time
after installation. The problem is that the View -
OpenDocument command produces empty output for me.
   Please
help!
   
OS: Windows XP
LyX: 1.6.5
   
  
  
From: 0 the_herd_of_the_hor...@yahoo.com
Subject: Re: View - OpenDocument command produces
   empty output - help!
To: Vincent van Ravesteijn - TNW v.f.vanraveste...@tudelft.nl,
   lyx-de...@lists.lyx.org,
   lyx-users@lists.lyx.org
Date: Tuesday, February 2, 2010, 8:51 PM
   
dvi and pdf work fine
for me. But I want OpenDocument
because I'm sending the file to another person and
   want
him to be able to edit the file.
  
  
   What can I do to solve my problem?!
  
  
  
  







-- 
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
Do you know how to write?
http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail


Re: How I can add a new button to the tool bar?

2010-02-03 Thread Olivier Ripoll

Uwe Stöhr wrote:

Olivier Ripoll schrieb:

Fuzzy icons when they should be sharp, black lines that are not lines 
nor black any more. Don't tell me you don't see the problem with the 
table float image, it's obvious.


I must admit that I never noticed this. As I now know where to look, I 
see that the lines in this icon are a bit blurred.


Icon designers spend days to get pixel-perfect icons. Bitmap icons 
cannot be scaled.


The question is what size we should design for because right-clicking on 
a toolbar offers you 3 different icon sizes.


I remember that one of the Tango designer, Jimmac, bloggeed about how 
the scalable (svg) icons were not good, but they could still be a solution.
Most desktops follow the freedesktop icon standards. It seems they 
create one folder per size. Could be also a solution.


But anyway, as you identified problematic icons, can you provide a 
better one for e.g. the table float icon? LyX will benefit from this.


I have tried, but this list has restrictions that makes it hard posting 
the result. See the thread
Why this list refuses small zip / 7z archives ? I started a few weeks 
ago, it should contain an image of the Tango icons I use (and a link on 
rapidshare to download it).


At present, my issue in distributing it is about mixed licenses (LyX 
icons are GPL, Tango are public domain, I use part of a gimp icon, 
several icons come from the Tango openoffice.org theme, whose license I 
haven't found yet, but comes with Mandriva free edition).


Best regards

Olivier



regards Uwe





Re: How I can add a new button to the tool bar?

2010-02-03 Thread Uwe Stöhr

Olivier Ripoll schrieb:

The question is what size we should design for because right-clicking 
on a toolbar offers you 3 different icon sizes.


I remember that one of the Tango designer, Jimmac, bloggeed about how 
the scalable (svg) icons were not good, but they could still be a solution.
Most desktops follow the freedesktop icon standards. It seems they 
create one folder per size. Could be also a solution.


That is probably the best solution but requires a lot of work.

But anyway, as you identified problematic icons, can you provide a 
better one for e.g. the table float icon? LyX will benefit from this.


I have tried, but this list has restrictions that makes it hard posting 
the result.


You can send your result to me directly or to po-updatesatlyx-dot-org.

regards Uwe


Re: summary

2010-02-03 Thread Enrico Forestieri
Jürgen Spitzmüller writes:

 Should this be documented on the wiki?

I did it here: http://wiki.lyx.org/Tools/LyX2OpenOffice#sTools.LyX2OpenOffice_5

-- 
Enrico



Re: LyX is a comfortable formula editor. a VERY comfortable one. Math inserts just on the fly of thoughts... But I have to uninstall LyX sorry unfortunately I have no other choice

2010-02-03 Thread William Seager
On  Tuesday 02 February 2010  at  21:28,  Typhoon wrote:
 Install the package tex4ht
 

that got it - many thanks
-- 
William Seager
University of Toronto Scarborough
www.utsc.utoronto.ca/~seager


adding ConvTex to the LyX converters?

2010-02-03 Thread Liviu Andronic
Dear all

On 2/3/10, Enrico Forestieri for...@lyx.org wrote:
 I did it here: 
 http://wiki.lyx.org/Tools/LyX2OpenOffice#sTools.LyX2OpenOffice_5

I wasn't aware of the ConvTex python script. (Thanks for pointing it
out, Enrico!)

Does anyone have experience with it? Reading the ML it seems to be
working, but I was also wondering if someone tried to add it to the
LyX list of converters and if it was working. If so, would it make
sense to implement it in LyX (recognise ConvTex and provide the
appropriate menu entries)?

Thank you
Liviu


Re: htlatex scripts are HTML (but not ODT) aren't they?

2010-02-03 Thread Stefano Franchi
On 02/02/10, 0 the_herd_of_the_hor...@yahoo.com wrote:
 Look in the wiki and in the lists archives for past
 discussions. Here are some options I am familiar with:

 1. convert Lyx to Html, and then read the html file into
 word or openoffice.
 This option uses the htlatex conversion scripts which rely
 on the TeX4ht
 package. The package must be installed on your system. I am
 not sure how easy or how difficult such an installation is
 on  windows system (i'm on linux).
 Here is a link that may help:

 http://facweb.knowlton.ohio-state.edu/pviton/support/tex4ht.html
 ...
 3. convert Lyx directly to openoffice format.
 Can be done again with the htlatex scripts. See (1) above.

I'm afraid didn't see how ODT file can be made with htlatext scripts. I
 understood only that they can make HTMLs.

I think you've got all the answers you need in the long thread, but just to 
repeat: 

1. You need to install TeX4ht on your system

2. TeX4Ht comes with a number of scripts, including htlatex, oolatex, etcetera

3. htlatex converts to html, oolatex converts to openoffice

4. You do not need to be on linux to use TeX4ht

5. See the link above for instructions on how to install TeX4ht on Windows. I 
am on linux and cannot help with installaton

6. Once you have installed TeX4ht and, possibly, Sun Java if needed, LyX's 
command FileExportOpen Document will work

Cheers,

S.







 Hope it helps,

 S.

__
Stefano Franchi
Department of Philosophy  Ph:  (979) 862-2211
Texas AM University  Fax: (979) 845-0458
305B Bolton Hall  fran...@philosophy.tamu.edu
College Station, TX 77843-4237


inserting child file verbatim causes SIGSEGV in epel version (1.6.4) of LyX

2010-02-03 Thread Todd Denniston
I don't see the following type of crash being fixed in the 1.6.5 [1] release 
announcement, so can
anyone replicate the crash on 1.6.5 too?

If not then I guess I'll have to figure out how to get my RH BZ account working 
again so I can bug
Rex into updating those of us on epel. :|


[1] http://www.lyx.org/announce/1_6_5.txt

### method to replicate
start lyx
File - New
Insert - File - Child Document
set Include Type to: Verbatim
click Browse...
Program received signal SIGSEGV, Segmentation fault.
0x07afcf23 in ?? () from /usr/lib/qt4/lib/libQtGui.so.4


###
$ lyx --version
LyX 1.6.4 (2009-08-22)
Built on Aug 26 2009, 14:32:25
Configuration
  Host type:i386-redhat-linux-gnu
  Special build flags:   use-aspell use-ispell
  C   Compiler: gcc
  C   Compiler LyX flags:
  C   Compiler flags:-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 
-fexceptions
-fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic 
-fasynchronous-unwind-tables
  C++ Compiler: g++ (4.1.2)
  C++ Compiler LyX flags:
  C++ Compiler flags:-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 
-fexceptions
-fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic 
-fasynchronous-unwind-tables
  Linker flags:
  Linker user flags:
  Qt 4 Frontend:
  Qt 4 version: 4.2.1
  Packaging:posix
  LyX binary dir:   /usr/bin
  LyX files dir:/usr/share/lyx


### back trace
#0  0x07afcf23 in ?? () from /usr/lib/qt4/lib/libQtGui.so.4
#1  0x07b022e2 in ?? () from /usr/lib/qt4/lib/libQtGui.so.4
#2  0x07b02707 in QFileDialog::setFilters ()
   from /usr/lib/qt4/lib/libQtGui.so.4
#3  0x085c896e in LyXFileDialog (this=0xbf8d15e0, tit...@0xbf8d164c,
pa...@0xbf8d166c, filte...@0xbf8d1730, b...@0x988dc30, b...@0x988dc38)
at LyXFileDialog.cpp:52
#4  0x08465eb5 in lyx::FileDialog::open (this=0xbf8d1648, pa...@0xbf8d166c,
filte...@0xbf8d1730, suggest...@0xbf8d1678) at FileDialog.cpp:145
#5  0x0854f283 in lyx::frontend::browseFile (filena...@0xbf8d16cc,
tit...@0xbf8d1734, filte...@0xbf8d1730, save=false, labe...@0xbf8d1754,
di...@0xbf8d1750, labe...@0xbf8d174c, di...@0xbf8d1748,
fallback_d...@0xbf8d16d0) at GuiPrefs.cpp:118
#6  0x0854fdd4 in lyx::browseRelFile (filena...@0xbf8d1798,
refpa...@0xbf8d172c, tit...@0xbf8d1734, filte...@0xbf8d1730, save=false,
labe...@0xbf8d1754, di...@0xbf8d1750, labe...@0xbf8d174c, di...@0xbf8d1748)
at GuiPrefs.cpp:203
#7  0x0850d76d in lyx::frontend::GuiInclude::browse (this=0x996aed8,
in_na...@0xbf8d1798, in_type=lyx::frontend::GuiInclude::VERBATIM)
at GuiInclude.cpp:332
#8  0x0850db4a in lyx::frontend::GuiInclude::browse (this=0x996aed8)
at GuiInclude.cpp:287
#9  0x0850dc6a in lyx::frontend::GuiInclude::qt_metacall (this=0x996aed8,
_c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbf8d1cdc)
at GuiInclude_moc.cpp:73
#10 0x00c97100 in QMetaObject::activate () from /usr/lib/qt4/lib/libQtCore.so.4
#11 0x00c9735f in QMetaObject::activate () from /usr/lib/qt4/lib/libQtCore.so.4
#12 0x07beeae1 in QAbstractButton::clicked ()
   from /usr/lib/qt4/lib/libQtGui.so.4
#13 0x07a11dc9 in ?? () from /usr/lib/qt4/lib/libQtGui.so.4
#14 0x07a13479 in ?? () from /usr/lib/qt4/lib/libQtGui.so.4
#15 0x07a13692 in QAbstractButton::mouseReleaseEvent ()
   from /usr/lib/qt4/lib/libQtGui.so.4
#16 0x077d0ae1 in QWidget::event () from /usr/lib/qt4/lib/libQtGui.so.4
#17 0x07a12915 in QAbstractButton::event () from /usr/lib/qt4/lib/libQtGui.so.4
#18 0x07a8ba84 in QPushButton::event () from /usr/lib/qt4/lib/libQtGui.so.4
#19 0x07787810 in QApplicationPrivate::notify_helper ()
   from /usr/lib/qt4/lib/libQtGui.so.4
#20 0x0778a293 in QApplication::notify () from /usr/lib/qt4/lib/libQtGui.so.4
#21 0x083f3d1b in lyx::frontend::GuiApplication::notify (this=0x95a8fe0,
receiver=0x9975f18, event=0xbf8d2374) at GuiApplication.cpp:1276
#22 0x077e2dce in ?? () from /usr/lib/qt4/lib/libQtGui.so.4
#23 0x077e23df in QApplication::x11ProcessEvent ()
   from /usr/lib/qt4/lib/libQtGui.so.4
#24 0x07805275 in ?? () from /usr/lib/qt4/lib/libQtGui.so.4
#25 0x00c84ef1 in QEventLoop::processEvents ()
   from /usr/lib/qt4/lib/libQtCore.so.4
#26 0x00c84ffa in QEventLoop::exec () from /usr/lib/qt4/lib/libQtCore.so.4
#27 0x00c8759d in QCoreApplication::exec ()
   from /usr/lib/qt4/lib/libQtCore.so.4
#28 0x07787287 in QApplication::exec () from /usr/lib/qt4/lib/libQtGui.so.4
#29 0x08143cb3 in lyx::LyX::exec (this=0xbf8d2840, ar...@0xbf8d2870,
argv=0xbf8d28f4) at LyX.cpp:343
#30 0x08070039 in main (argc=1, argv=Cannot access memory at address 0x4
) at main.cpp:46



-- 
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter


Re: inserting child file verbatim causes SIGSEGV in epel version (1.6.4) of LyX

2010-02-03 Thread Jürgen Spitzmüller
Todd Denniston wrote:

 I don't see the following type of crash being fixed in the 1.6.5 [1]
 release announcement, so can anyone replicate the crash on 1.6.5 too?

I can't (with 1.6.6.svn, that is).

Jürgen



RE: inserting child file verbatim causes SIGSEGV in epel version (1.6.4) of LyX

2010-02-03 Thread Vincent van Ravesteijn - TNW
 If not then I guess I'll have to figure out how to get my RH BZ
account
 working again so I can bug Rex into updating those of us on epel. :|

I don't know any of the words you're using here :S.. Epel ? Rex ? RH BZ
?


### back trace
#0  0x07afcf23 in ?? () from /usr/lib/qt4/lib/libQtGui.so.4
#1  0x07b022e2 in ?? () from /usr/lib/qt4/lib/libQtGui.so.4
#2  0x07b02707 in QFileDialog::setFilters ()
   from /usr/lib/qt4/lib/libQtGui.so.4
#3  0x085c896e in LyXFileDialog (this=0xbf8d15e0, tit...@0xbf8d164c,
pa...@0xbf8d166c, filte...@0xbf8d1730, b...@0x988dc30,
b...@0x988dc38)
at LyXFileDialog.cpp:52


At a first glance, it looks like it crashes in Qt. Any possibility to
upgrade from 4.2.1 to a newer version (4.6 has already the light) ?

Vincent


Re: inserting child file verbatim causes SIGSEGV in epel version (1.6.4) of LyX

2010-02-03 Thread Stefano Franchi
On 02/03/10, Jürgen Spitzmüller sp...@lyx.org wrote:
Todd Denniston wrote:
 I don't see the following type of crash being fixed in the 1.6.5 [1]
 release announcement, so can anyone replicate the crash on 1.6.5 too?

I can't (with 1.6.6.svn, that is).

Jürgen


I can't replicate it either---Lyx 1.6.5 on Ubuntu 9.10

Cheers,

S.

__
Stefano Franchi
Department of Philosophy  Ph:  (979) 862-2211
Texas AM University  Fax: (979) 845-0458
305B Bolton Hall  fran...@philosophy.tamu.edu
College Station, TX 77843-4237


Re: adding ConvTex to the LyX converters?

2010-02-03 Thread Grahame Blackwood
On Wednesday 03 February 2010 13:00:35 Liviu Andronic wrote:
 Does anyone have experience with it?

Hi Liviu

I use it about once per month to convert a report created in Lyx to OpenOffice 
but I find it chokes on some of Lyx's formatting and I have to run a vim script 
to remove or alter the offending code. 

The list of changes needed increases occasionally as new tables appear in the 
report.

The vim script I use is currently:


:%s/\\LARGE//eg 
:%s/\\Large//eg
:%s/\\large//eg
:%s/{\\raggedright}p{2.3in}/l/eg
:%s/{\\raggedright}p{2.6in}/l/eg
:%s/\\textrm//eg
:%s/\\textendash/ --- /eg
:%s/\\textquoteright/'/eg
:%s/\\textquotedoubleright/''/eg
:%s/\\newpage//eg

I run this script on the .tex produced by exporting the lyx file to latex. Then 
run ConvTex on the altered .tex file to produce a .sxw file that can then be 
read by OO.
 
A bit clumsy but it gets me the result I need.

Cheers

G






OpenDocument export [was Re: too long]

2010-02-03 Thread Ethan Metsger
On Tue, 02 Feb 2010 20:19:54 -0500, Waluyo Adi Siswanto  
was.u...@gmail.com wrote:



I am using Ubuntu(Ubuntu 8.10 and LyX 1.6.5) and I can export to
OpenDocument easily  (from FileExportOpenDocument) and it creates
*,odt. When I open this file using OpenOffice and if I double click
the equations created by LyX it will be in OpenOffice equation, all
equations can be edited and continued in OpenOffice without any
problems.


I can confirm this works out of the box on Ubuntu Karmic.  Whether it  
works on more complicated documents, I don't know.  I also note that  
OO.org has a LaTeX exporter, but regretfully cannot import LaTeX.  It's  
supposed to support DocBook imports, but I haven't tried it.


Best,

Ethan
(emets...@obj-sys.com)


Re: Elsarticle.cls

2010-02-03 Thread Uwe Stöhr

Craig Baudendistel schrieb:

I have a question regarding the elsarticle document class. Elsevier's 
website provides a pdf document that explains the newest elsarticle and 
its options. That website is:


http://www.elsevier.com/framework_authors/misc/elsdoc.pdf

In this document, item number 4 outlines some options for the 
documentclass elsarticle (preprint, review, 1p, 3p, and 5p). I know that 
the journal I am submitting to is of the 5p format. How do I add this 
option to the elsarticle template provided in lyx?


I have tried to place 5p in the custom class options in the document 
settings


This is the correct place.

but end up with an error. Option clash for package geometry. 


This is because elsarticle loads the LaTeX-package geometry by itself 
when you are using the 5p option. LyX always loads the package 
geometry. The problem is that elsarticle loads it with no options while 
LyX loads it with the option corresponding to the document page 
dimensions. Neither elsarticle's nor LyX's loading of geometry can be 
suppressed.


I therefore propose not to use the 5p document class option until your 
paper is ready to be submitted. Just before committing


1. add the 5p option
2. export your document as LaTeX
3. open the exported .tex file with a text editor and delete the line
   \usepackage[xxx]{geometry}
  (xxx is an option depending on the LyX document page dimensions settings)
4. Submit the changed .tex file

I'm forwarding your mail to the lyx-users mailing list in case somebody 
else has a better solution than me.


regards Uwe


Installation on Windows

2010-02-03 Thread Frederick Noronha
Dear all: Need your help. I'm trying to install Lyx on the comps of
two of my (Window-using) friends, because I need to work and transfer
files with them, while editing.

Somehow, my attempts to install it have so far been unsucessful.

When I took the lighter version of the Windows Lyx download (about
21MB, I think), there were some integrity check issues. On taking
the entire bundle (about 100+ MB), I found that there was some missing
software, and it was taking hours to download.

Any tips for an easy install on Windows? Would be grateful! FN

-- 
FN +91-9822122436 P +91-832-2409490
Updated: http://goabooks.wordpress.com


Missing *.sty and/or *.cls files?

2010-02-03 Thread Virgil Stokes
First, I am trying to get started with LyX (vers. 1.6.4) on a Ubuntu 
(vers. 9.10) platform. I am also very new with Ubuntu trying to migrate 
from Windows.


Second, your work on this package is impressive. It downloaded and 
installed very easily.


Third, I started by looking at some of your templates. Many of these 
would not compile --- gave a rather long error message in a window 
that was labeled


  LyX: Document class not available

I did look at Customization documentation as suggested in the error 
message in this window; however, I still could not understand how to fix 
the problem. Unfortunately, the error message does not give any 
information on what *.sty and/or *.cls files are missing. For example, 
when I tried the template elsarticle.lyx this error message came up. I 
then looked at this file in a text editor and saw


 \textclass elsarticle

But, it is not clear how this is related to the problem.

I would like to use your very interesting LyX package; but, I need some 
help on how to fix such problems. Note,


  Library directory: /usr/share/lyx/
  User directory: ~/.lyx

I would be glad to provide any additional information that you may need.

--V




Re: Missing *.sty and/or *.cls files?

2010-02-03 Thread Rich Shepard

On Wed, 3 Feb 2010, Virgil Stokes wrote:

First, I am trying to get started with LyX (vers. 1.6.4) on a Ubuntu (vers. 
9.10) platform. I am also very new with Ubuntu trying to migrate from 
Windows.


Second, your work on this package is impressive. It downloaded and installed 
very easily.


Third, I started by looking at some of your templates. Many of these would 
not compile --- gave a rather long error message in a window that was 
labeled


  There's nothing to compile.

  Recommendation: take the tutorial. On main menu Help - Tutorial.

Rich


Re: OpenDocument export [was Re: too long]

2010-02-03 Thread Andrew Sullivan
On Wed, Feb 03, 2010 at 10:45:13AM -0500, Ethan Metsger wrote:
 I can confirm this works out of the box on Ubuntu Karmic.  Whether it  
 works on more complicated documents, I don't know.

The latter is the biggest problem.  Cross-references, in particular,
are much worse in every other format compared to LaTeX, because
they're not structured the same way.  So if you use that a lot,
AFAICT, you're hosed.

I never managed to get it to work on MacOS, so I have a VM that runs a
Debian (ancestor of Ubuntu) system just for doing this.  It's not
hard.

A

-- 
Andrew Sullivan
a...@shinkuro.com
Shinkuro, Inc.


Re: Elsarticle.cls

2010-02-03 Thread Julien Rioux
First, you should make sure that your document compiles without any special
class option.

When this is verified, add 5p in the Custom class options in the Document
Settings  Document Class as you already do.

When you get option clashes with the geometry package, the problem can be
avoided by selecting:
  - Default Format under Document Settings  Page Layout.
  - Default Margins under Document Settings  Page Margins.

In other words, you disable the ability to customize the margin spacing, page
size, etc., but this is fine as what you really want is to comply with your
publisher.

Hope this helps,

Julien



Re: Missing *.sty and/or *.cls files?

2010-02-03 Thread Uwe Stöhr

Am 03.02.2010 20:05, schrieb Virgil Stokes:


First, I am trying to get started with LyX (vers. 1.6.4) on a Ubuntu
(vers. 9.10) platform. I am also very new with Ubuntu trying to migrate
from Windows...

LyX: Document class not available


This is because every LaTeX distribution only offers a basic set of document classes in the default 
installation.



I did look at Customization documentation as suggested in the error
message in this window; however, I still could not understand how to fix
the problem. Unfortunately, the error message does not give any
information on what *.sty and/or *.cls files are missing. For example,
when I tried the template elsarticle.lyx this error message came up.


elsarticle is a template for the Elsevier scientific article document class. It is used for journal 
publications in Elsevier journals. If you need to use this document class, you have to install it. 
This is easily done using the TeXLive package manager.


The problem is that Ubuntu still installs by default an old version of the LaTeX distribution 
TeXLive. It is recommended to use TeXLive 2008 or 2009 instead of the predefined version 2007 
because since version 2008 there is a package manager available.


On Windows the package handling is easier than on Ubuntu: When installing LyX, all LaTeX-packages 
supported and used by LyX will automatically also installed. When you later compile a document and 
LaTeX cannot find a package or document class, it will automatically try to install it from the 
Internet without bothering you.


regards Uwe


Re: Elsarticle.cls

2010-02-03 Thread Uwe Stöhr

Am 04.02.2010 00:47, schrieb Julien Rioux:


When you get option clashes with the geometry package, the problem can be
avoided by selecting:
   - Default Format under Document Settings  Page Layout.
   - Default Margins under Document Settings  Page Margins.


Damn me! I did this in the elsarticle template file but forgot to set the default checkmark under 
Document Settings - Page Margins.


I corrected this for the next LyX version. For now the fixed version is attached. (With this version 
you can directly use the 5p option.)


thanks, sorry and regards
Uwe


elsarticle.lyx
Description: application/lyx


Re: Installation on Windows

2010-02-03 Thread Uwe Stöhr

Am 03.02.2010 22:37, schrieb Frederick Noronha:


When I took the lighter version of the Windows Lyx download (about
21MB, I think), there were some integrity check issues. On taking
the entire bundle (about 100+ MB), I found that there was some missing
software, and it was taking hours to download.

Any tips for an easy install on Windows?


Try out the complete variant of the alternative Windows installer:
http://wiki.lyx.org/Windows/LyXWinInstaller

To install LyX open an Internet connection before starting the installer. The installation can take 
up to 15 minutes because also all LaTeX-packages supported by LyX will be installed and this might 
need some time.


regards Uwe


Re: unit package

2010-02-03 Thread Uwe Stöhr

Am 02.02.2010 10:32, schrieb Guenter Milde:


I am using italics for the legends. If they contain units such as (864m),
should they still be upright?


.. [checklist] `SI Unit rules and style conventions`
Check List for Reviewing Manuscripts:
http://physics.nist.gov/cuu/Units/checklist.html


Thanks for this link. I added it now the Appendix A of the LyX Math manual.

regards Uwe


Re: LyX is a comfortable formula editor. a VERY comfortable one. Math inserts just on the fly of thoughts... But I have to uninstall LyX sorry unfortunately I have no other choice

2010-02-03 Thread Pavel Sanda
William Seager wrote:
 I wasn't suggesting you switch to gentoo !! :) Please do stay away.

:))

btw one can look directly into lyx ebuild for dependencies to get an idea
what is possible to install on the top of lyx itself...

pavel


Re: Lyx problem printing

2010-02-03 Thread Guenter Milde
On 2010-02-02, rgheck wrote:

 The lyx2lyx script is called only to convert files from older versions 
 of LyX to the current format,

This is a common misconception. lyx2lyx is called whenever the file
format of the file differs from the file format used in the running LyX
version. (This will usually work fine with older file formats and fail
with newer ones, hence an old LyX version might see this kind of problems
with contemporary lyx documents.)

Günter



Re: summary

2010-02-03 Thread Jürgen Spitzmüller
Enrico Forestieri wrote:

 A quick search in the archives would have revealed the solution to
 your problem:
 http://www.mail-archive.com/lyx-users%40lists.lyx.org/msg69928.html
 
 Instead of copying the tex4ht folder as suggested there, another
 option is using the junction program you find here:
 http://technet.microsoft.com/en-us/sysinternals/bb896768.aspx
 for creating a reparse point to the MikTeX folder by opening cmd.exe
 and issuing the following two commands:
 md c:/tex4ht
 junction c:/tex4ht/texmf c:/Program Files/MiKTeX 2.7

Should this be documented on the wiki?

Jürgen




Re: summary

2010-02-03 Thread Liviu Andronic
On 2/3/10, 0 the_herd_of_the_hor...@yahoo.com wrote:
 Liviu Andronic and Vincent van Ravesteijn refuse to solve the problem

We refuse to solve your problem? Why should we? Getting help on a
public mailing list relies on the goodwill of its participants, not on
their duties or obligations. With your current approach you will only
manage to turn people off from helping you.
Liviu


 and says it's external tools. Liviu Andronic says it's problematic. 
 Vincent van Ravesteijn says it is certainly not a LyX problem.

  William Seager uses Gentoo and has no such menu in view.

  Tommaso Cucinotta offers to advertise LyX and to send .lyx directly to the 
 recepient.

  Waluyo Adi Siswanto uses Ubuntu 8.10 and exports to ODT fine.
  Liviu Andronic uses Linux and exports to ODT fine.

  I can also use this list as LyX to ODT converter - I can theoretically send 
 a file to you list and get a converted file back ;)


  SO solutions in my priority arrangement are:

  1) I can try installing Ubuntu Linux until my PC crashes or says that it's 
 not possible
  2) I can send the files to the list and ask to convert them back until every 
 list member will remember my math calculus knowledge by heart
  3) I can export to RTF or HTML until I make the recipient angry about the 
 formula quality
  4) I can advertise LyX to the recipient and make him happy with this .odt 
 problem

  Sounds like that the view - opendocument command is really not in its 
 proper place in Windows installation of LyX - it fails to work and should be 
 absent

  --- On Wed, 2/3/10, 0 the_herd_of_the_hor...@yahoo.com wrote:

   From: 0 the_herd_of_the_hor...@yahoo.com
   Subject: help!
   To: lyx-users@lists.lyx.org
   Date: Wednesday, February 3, 2010, 1:11 AM
  
  
From: 0 the_herd_of_the_hor...@yahoo.com
Subject: View - OpenDocument command produces empty
   output - help!
To: lyx-de...@lists.lyx.org,
   lyx-users@lists.lyx.org
Date: Tuesday, February 2, 2010, 7:53 PM
[examples/splash.lyx] is the document
which automatically opens when user runs LyX first
   time
after installation. The problem is that the View -
OpenDocument command produces empty output for me.
   Please
help!
   
OS: Windows XP
LyX: 1.6.5
   
  
  
From: 0 the_herd_of_the_hor...@yahoo.com
Subject: Re: View - OpenDocument command produces
   empty output - help!
To: Vincent van Ravesteijn - TNW v.f.vanraveste...@tudelft.nl,
   lyx-de...@lists.lyx.org,
   lyx-users@lists.lyx.org
Date: Tuesday, February 2, 2010, 8:51 PM
   
dvi and pdf work fine
for me. But I want OpenDocument
because I'm sending the file to another person and
   want
him to be able to edit the file.
  
  
   What can I do to solve my problem?!
  
  
  
  







-- 
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
Do you know how to write?
http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail


Re: How I can add a new button to the tool bar?

2010-02-03 Thread Olivier Ripoll

Uwe Stöhr wrote:

Olivier Ripoll schrieb:

Fuzzy icons when they should be sharp, black lines that are not lines 
nor black any more. Don't tell me you don't see the problem with the 
table float image, it's obvious.


I must admit that I never noticed this. As I now know where to look, I 
see that the lines in this icon are a bit blurred.


Icon designers spend days to get pixel-perfect icons. Bitmap icons 
cannot be scaled.


The question is what size we should design for because right-clicking on 
a toolbar offers you 3 different icon sizes.


I remember that one of the Tango designer, Jimmac, bloggeed about how 
the scalable (svg) icons were not good, but they could still be a solution.
Most desktops follow the freedesktop icon standards. It seems they 
create one folder per size. Could be also a solution.


But anyway, as you identified problematic icons, can you provide a 
better one for e.g. the table float icon? LyX will benefit from this.


I have tried, but this list has restrictions that makes it hard posting 
the result. See the thread
Why this list refuses small zip / 7z archives ? I started a few weeks 
ago, it should contain an image of the Tango icons I use (and a link on 
rapidshare to download it).


At present, my issue in distributing it is about mixed licenses (LyX 
icons are GPL, Tango are public domain, I use part of a gimp icon, 
several icons come from the Tango openoffice.org theme, whose license I 
haven't found yet, but comes with Mandriva free edition).


Best regards

Olivier



regards Uwe





Re: How I can add a new button to the tool bar?

2010-02-03 Thread Uwe Stöhr

Olivier Ripoll schrieb:

The question is what size we should design for because right-clicking 
on a toolbar offers you 3 different icon sizes.


I remember that one of the Tango designer, Jimmac, bloggeed about how 
the scalable (svg) icons were not good, but they could still be a solution.
Most desktops follow the freedesktop icon standards. It seems they 
create one folder per size. Could be also a solution.


That is probably the best solution but requires a lot of work.

But anyway, as you identified problematic icons, can you provide a 
better one for e.g. the table float icon? LyX will benefit from this.


I have tried, but this list has restrictions that makes it hard posting 
the result.


You can send your result to me directly or to po-updatesatlyx-dot-org.

regards Uwe


Re: summary

2010-02-03 Thread Enrico Forestieri
Jürgen Spitzmüller writes:

 Should this be documented on the wiki?

I did it here: http://wiki.lyx.org/Tools/LyX2OpenOffice#sTools.LyX2OpenOffice_5

-- 
Enrico



Re: LyX is a comfortable formula editor. a VERY comfortable one. Math inserts just on the fly of thoughts... But I have to uninstall LyX sorry unfortunately I have no other choice

2010-02-03 Thread William Seager
On  Tuesday 02 February 2010  at  21:28,  Typhoon wrote:
 Install the package tex4ht
 

that got it - many thanks
-- 
William Seager
University of Toronto Scarborough
www.utsc.utoronto.ca/~seager


adding ConvTex to the LyX converters?

2010-02-03 Thread Liviu Andronic
Dear all

On 2/3/10, Enrico Forestieri for...@lyx.org wrote:
 I did it here: 
 http://wiki.lyx.org/Tools/LyX2OpenOffice#sTools.LyX2OpenOffice_5

I wasn't aware of the ConvTex python script. (Thanks for pointing it
out, Enrico!)

Does anyone have experience with it? Reading the ML it seems to be
working, but I was also wondering if someone tried to add it to the
LyX list of converters and if it was working. If so, would it make
sense to implement it in LyX (recognise ConvTex and provide the
appropriate menu entries)?

Thank you
Liviu


Re: htlatex scripts are HTML (but not ODT) aren't they?

2010-02-03 Thread Stefano Franchi
On 02/02/10, 0 the_herd_of_the_hor...@yahoo.com wrote:
 Look in the wiki and in the lists archives for past
 discussions. Here are some options I am familiar with:

 1. convert Lyx to Html, and then read the html file into
 word or openoffice.
 This option uses the htlatex conversion scripts which rely
 on the TeX4ht
 package. The package must be installed on your system. I am
 not sure how easy or how difficult such an installation is
 on  windows system (i'm on linux).
 Here is a link that may help:

 http://facweb.knowlton.ohio-state.edu/pviton/support/tex4ht.html
 ...
 3. convert Lyx directly to openoffice format.
 Can be done again with the htlatex scripts. See (1) above.

I'm afraid didn't see how ODT file can be made with htlatext scripts. I
 understood only that they can make HTMLs.

I think you've got all the answers you need in the long thread, but just to 
repeat: 

1. You need to install TeX4ht on your system

2. TeX4Ht comes with a number of scripts, including htlatex, oolatex, etcetera

3. htlatex converts to html, oolatex converts to openoffice

4. You do not need to be on linux to use TeX4ht

5. See the link above for instructions on how to install TeX4ht on Windows. I 
am on linux and cannot help with installaton

6. Once you have installed TeX4ht and, possibly, Sun Java if needed, LyX's 
command FileExportOpen Document will work

Cheers,

S.







 Hope it helps,

 S.

__
Stefano Franchi
Department of Philosophy  Ph:  (979) 862-2211
Texas AM University  Fax: (979) 845-0458
305B Bolton Hall  fran...@philosophy.tamu.edu
College Station, TX 77843-4237


inserting child file verbatim causes SIGSEGV in epel version (1.6.4) of LyX

2010-02-03 Thread Todd Denniston
I don't see the following type of crash being fixed in the 1.6.5 [1] release 
announcement, so can
anyone replicate the crash on 1.6.5 too?

If not then I guess I'll have to figure out how to get my RH BZ account working 
again so I can bug
Rex into updating those of us on epel. :|


[1] http://www.lyx.org/announce/1_6_5.txt

### method to replicate
start lyx
File - New
Insert - File - Child Document
set Include Type to: Verbatim
click Browse...
Program received signal SIGSEGV, Segmentation fault.
0x07afcf23 in ?? () from /usr/lib/qt4/lib/libQtGui.so.4


###
$ lyx --version
LyX 1.6.4 (2009-08-22)
Built on Aug 26 2009, 14:32:25
Configuration
  Host type:i386-redhat-linux-gnu
  Special build flags:   use-aspell use-ispell
  C   Compiler: gcc
  C   Compiler LyX flags:
  C   Compiler flags:-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 
-fexceptions
-fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic 
-fasynchronous-unwind-tables
  C++ Compiler: g++ (4.1.2)
  C++ Compiler LyX flags:
  C++ Compiler flags:-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 
-fexceptions
-fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic 
-fasynchronous-unwind-tables
  Linker flags:
  Linker user flags:
  Qt 4 Frontend:
  Qt 4 version: 4.2.1
  Packaging:posix
  LyX binary dir:   /usr/bin
  LyX files dir:/usr/share/lyx


### back trace
#0  0x07afcf23 in ?? () from /usr/lib/qt4/lib/libQtGui.so.4
#1  0x07b022e2 in ?? () from /usr/lib/qt4/lib/libQtGui.so.4
#2  0x07b02707 in QFileDialog::setFilters ()
   from /usr/lib/qt4/lib/libQtGui.so.4
#3  0x085c896e in LyXFileDialog (this=0xbf8d15e0, tit...@0xbf8d164c,
pa...@0xbf8d166c, filte...@0xbf8d1730, b...@0x988dc30, b...@0x988dc38)
at LyXFileDialog.cpp:52
#4  0x08465eb5 in lyx::FileDialog::open (this=0xbf8d1648, pa...@0xbf8d166c,
filte...@0xbf8d1730, suggest...@0xbf8d1678) at FileDialog.cpp:145
#5  0x0854f283 in lyx::frontend::browseFile (filena...@0xbf8d16cc,
tit...@0xbf8d1734, filte...@0xbf8d1730, save=false, labe...@0xbf8d1754,
di...@0xbf8d1750, labe...@0xbf8d174c, di...@0xbf8d1748,
fallback_d...@0xbf8d16d0) at GuiPrefs.cpp:118
#6  0x0854fdd4 in lyx::browseRelFile (filena...@0xbf8d1798,
refpa...@0xbf8d172c, tit...@0xbf8d1734, filte...@0xbf8d1730, save=false,
labe...@0xbf8d1754, di...@0xbf8d1750, labe...@0xbf8d174c, di...@0xbf8d1748)
at GuiPrefs.cpp:203
#7  0x0850d76d in lyx::frontend::GuiInclude::browse (this=0x996aed8,
in_na...@0xbf8d1798, in_type=lyx::frontend::GuiInclude::VERBATIM)
at GuiInclude.cpp:332
#8  0x0850db4a in lyx::frontend::GuiInclude::browse (this=0x996aed8)
at GuiInclude.cpp:287
#9  0x0850dc6a in lyx::frontend::GuiInclude::qt_metacall (this=0x996aed8,
_c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbf8d1cdc)
at GuiInclude_moc.cpp:73
#10 0x00c97100 in QMetaObject::activate () from /usr/lib/qt4/lib/libQtCore.so.4
#11 0x00c9735f in QMetaObject::activate () from /usr/lib/qt4/lib/libQtCore.so.4
#12 0x07beeae1 in QAbstractButton::clicked ()
   from /usr/lib/qt4/lib/libQtGui.so.4
#13 0x07a11dc9 in ?? () from /usr/lib/qt4/lib/libQtGui.so.4
#14 0x07a13479 in ?? () from /usr/lib/qt4/lib/libQtGui.so.4
#15 0x07a13692 in QAbstractButton::mouseReleaseEvent ()
   from /usr/lib/qt4/lib/libQtGui.so.4
#16 0x077d0ae1 in QWidget::event () from /usr/lib/qt4/lib/libQtGui.so.4
#17 0x07a12915 in QAbstractButton::event () from /usr/lib/qt4/lib/libQtGui.so.4
#18 0x07a8ba84 in QPushButton::event () from /usr/lib/qt4/lib/libQtGui.so.4
#19 0x07787810 in QApplicationPrivate::notify_helper ()
   from /usr/lib/qt4/lib/libQtGui.so.4
#20 0x0778a293 in QApplication::notify () from /usr/lib/qt4/lib/libQtGui.so.4
#21 0x083f3d1b in lyx::frontend::GuiApplication::notify (this=0x95a8fe0,
receiver=0x9975f18, event=0xbf8d2374) at GuiApplication.cpp:1276
#22 0x077e2dce in ?? () from /usr/lib/qt4/lib/libQtGui.so.4
#23 0x077e23df in QApplication::x11ProcessEvent ()
   from /usr/lib/qt4/lib/libQtGui.so.4
#24 0x07805275 in ?? () from /usr/lib/qt4/lib/libQtGui.so.4
#25 0x00c84ef1 in QEventLoop::processEvents ()
   from /usr/lib/qt4/lib/libQtCore.so.4
#26 0x00c84ffa in QEventLoop::exec () from /usr/lib/qt4/lib/libQtCore.so.4
#27 0x00c8759d in QCoreApplication::exec ()
   from /usr/lib/qt4/lib/libQtCore.so.4
#28 0x07787287 in QApplication::exec () from /usr/lib/qt4/lib/libQtGui.so.4
#29 0x08143cb3 in lyx::LyX::exec (this=0xbf8d2840, ar...@0xbf8d2870,
argv=0xbf8d28f4) at LyX.cpp:343
#30 0x08070039 in main (argc=1, argv=Cannot access memory at address 0x4
) at main.cpp:46



-- 
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter


Re: inserting child file verbatim causes SIGSEGV in epel version (1.6.4) of LyX

2010-02-03 Thread Jürgen Spitzmüller
Todd Denniston wrote:

 I don't see the following type of crash being fixed in the 1.6.5 [1]
 release announcement, so can anyone replicate the crash on 1.6.5 too?

I can't (with 1.6.6.svn, that is).

Jürgen



RE: inserting child file verbatim causes SIGSEGV in epel version (1.6.4) of LyX

2010-02-03 Thread Vincent van Ravesteijn - TNW
 If not then I guess I'll have to figure out how to get my RH BZ
account
 working again so I can bug Rex into updating those of us on epel. :|

I don't know any of the words you're using here :S.. Epel ? Rex ? RH BZ
?


### back trace
#0  0x07afcf23 in ?? () from /usr/lib/qt4/lib/libQtGui.so.4
#1  0x07b022e2 in ?? () from /usr/lib/qt4/lib/libQtGui.so.4
#2  0x07b02707 in QFileDialog::setFilters ()
   from /usr/lib/qt4/lib/libQtGui.so.4
#3  0x085c896e in LyXFileDialog (this=0xbf8d15e0, tit...@0xbf8d164c,
pa...@0xbf8d166c, filte...@0xbf8d1730, b...@0x988dc30,
b...@0x988dc38)
at LyXFileDialog.cpp:52


At a first glance, it looks like it crashes in Qt. Any possibility to
upgrade from 4.2.1 to a newer version (4.6 has already the light) ?

Vincent


Re: inserting child file verbatim causes SIGSEGV in epel version (1.6.4) of LyX

2010-02-03 Thread Stefano Franchi
On 02/03/10, Jürgen Spitzmüller sp...@lyx.org wrote:
Todd Denniston wrote:
 I don't see the following type of crash being fixed in the 1.6.5 [1]
 release announcement, so can anyone replicate the crash on 1.6.5 too?

I can't (with 1.6.6.svn, that is).

Jürgen


I can't replicate it either---Lyx 1.6.5 on Ubuntu 9.10

Cheers,

S.

__
Stefano Franchi
Department of Philosophy  Ph:  (979) 862-2211
Texas AM University  Fax: (979) 845-0458
305B Bolton Hall  fran...@philosophy.tamu.edu
College Station, TX 77843-4237


Re: adding ConvTex to the LyX converters?

2010-02-03 Thread Grahame Blackwood
On Wednesday 03 February 2010 13:00:35 Liviu Andronic wrote:
 Does anyone have experience with it?

Hi Liviu

I use it about once per month to convert a report created in Lyx to OpenOffice 
but I find it chokes on some of Lyx's formatting and I have to run a vim script 
to remove or alter the offending code. 

The list of changes needed increases occasionally as new tables appear in the 
report.

The vim script I use is currently:


:%s/\\LARGE//eg 
:%s/\\Large//eg
:%s/\\large//eg
:%s/{\\raggedright}p{2.3in}/l/eg
:%s/{\\raggedright}p{2.6in}/l/eg
:%s/\\textrm//eg
:%s/\\textendash/ --- /eg
:%s/\\textquoteright/'/eg
:%s/\\textquotedoubleright/''/eg
:%s/\\newpage//eg

I run this script on the .tex produced by exporting the lyx file to latex. Then 
run ConvTex on the altered .tex file to produce a .sxw file that can then be 
read by OO.
 
A bit clumsy but it gets me the result I need.

Cheers

G






OpenDocument export [was Re: too long]

2010-02-03 Thread Ethan Metsger
On Tue, 02 Feb 2010 20:19:54 -0500, Waluyo Adi Siswanto  
was.u...@gmail.com wrote:



I am using Ubuntu(Ubuntu 8.10 and LyX 1.6.5) and I can export to
OpenDocument easily  (from FileExportOpenDocument) and it creates
*,odt. When I open this file using OpenOffice and if I double click
the equations created by LyX it will be in OpenOffice equation, all
equations can be edited and continued in OpenOffice without any
problems.


I can confirm this works out of the box on Ubuntu Karmic.  Whether it  
works on more complicated documents, I don't know.  I also note that  
OO.org has a LaTeX exporter, but regretfully cannot import LaTeX.  It's  
supposed to support DocBook imports, but I haven't tried it.


Best,

Ethan
(emets...@obj-sys.com)


Re: Elsarticle.cls

2010-02-03 Thread Uwe Stöhr

Craig Baudendistel schrieb:

I have a question regarding the elsarticle document class. Elsevier's 
website provides a pdf document that explains the newest elsarticle and 
its options. That website is:


http://www.elsevier.com/framework_authors/misc/elsdoc.pdf

In this document, item number 4 outlines some options for the 
documentclass elsarticle (preprint, review, 1p, 3p, and 5p). I know that 
the journal I am submitting to is of the 5p format. How do I add this 
option to the elsarticle template provided in lyx?


I have tried to place 5p in the custom class options in the document 
settings


This is the correct place.

but end up with an error. Option clash for package geometry. 


This is because elsarticle loads the LaTeX-package geometry by itself 
when you are using the 5p option. LyX always loads the package 
geometry. The problem is that elsarticle loads it with no options while 
LyX loads it with the option corresponding to the document page 
dimensions. Neither elsarticle's nor LyX's loading of geometry can be 
suppressed.


I therefore propose not to use the 5p document class option until your 
paper is ready to be submitted. Just before committing


1. add the 5p option
2. export your document as LaTeX
3. open the exported .tex file with a text editor and delete the line
   \usepackage[xxx]{geometry}
  (xxx is an option depending on the LyX document page dimensions settings)
4. Submit the changed .tex file

I'm forwarding your mail to the lyx-users mailing list in case somebody 
else has a better solution than me.


regards Uwe


Installation on Windows

2010-02-03 Thread Frederick Noronha
Dear all: Need your help. I'm trying to install Lyx on the comps of
two of my (Window-using) friends, because I need to work and transfer
files with them, while editing.

Somehow, my attempts to install it have so far been unsucessful.

When I took the lighter version of the Windows Lyx download (about
21MB, I think), there were some integrity check issues. On taking
the entire bundle (about 100+ MB), I found that there was some missing
software, and it was taking hours to download.

Any tips for an easy install on Windows? Would be grateful! FN

-- 
FN +91-9822122436 P +91-832-2409490
Updated: http://goabooks.wordpress.com


Missing *.sty and/or *.cls files?

2010-02-03 Thread Virgil Stokes
First, I am trying to get started with LyX (vers. 1.6.4) on a Ubuntu 
(vers. 9.10) platform. I am also very new with Ubuntu trying to migrate 
from Windows.


Second, your work on this package is impressive. It downloaded and 
installed very easily.


Third, I started by looking at some of your templates. Many of these 
would not compile --- gave a rather long error message in a window 
that was labeled


  LyX: Document class not available

I did look at Customization documentation as suggested in the error 
message in this window; however, I still could not understand how to fix 
the problem. Unfortunately, the error message does not give any 
information on what *.sty and/or *.cls files are missing. For example, 
when I tried the template elsarticle.lyx this error message came up. I 
then looked at this file in a text editor and saw


 \textclass elsarticle

But, it is not clear how this is related to the problem.

I would like to use your very interesting LyX package; but, I need some 
help on how to fix such problems. Note,


  Library directory: /usr/share/lyx/
  User directory: ~/.lyx

I would be glad to provide any additional information that you may need.

--V




Re: Missing *.sty and/or *.cls files?

2010-02-03 Thread Rich Shepard

On Wed, 3 Feb 2010, Virgil Stokes wrote:

First, I am trying to get started with LyX (vers. 1.6.4) on a Ubuntu (vers. 
9.10) platform. I am also very new with Ubuntu trying to migrate from 
Windows.


Second, your work on this package is impressive. It downloaded and installed 
very easily.


Third, I started by looking at some of your templates. Many of these would 
not compile --- gave a rather long error message in a window that was 
labeled


  There's nothing to compile.

  Recommendation: take the tutorial. On main menu Help - Tutorial.

Rich


Re: OpenDocument export [was Re: too long]

2010-02-03 Thread Andrew Sullivan
On Wed, Feb 03, 2010 at 10:45:13AM -0500, Ethan Metsger wrote:
 I can confirm this works out of the box on Ubuntu Karmic.  Whether it  
 works on more complicated documents, I don't know.

The latter is the biggest problem.  Cross-references, in particular,
are much worse in every other format compared to LaTeX, because
they're not structured the same way.  So if you use that a lot,
AFAICT, you're hosed.

I never managed to get it to work on MacOS, so I have a VM that runs a
Debian (ancestor of Ubuntu) system just for doing this.  It's not
hard.

A

-- 
Andrew Sullivan
a...@shinkuro.com
Shinkuro, Inc.


Re: Elsarticle.cls

2010-02-03 Thread Julien Rioux
First, you should make sure that your document compiles without any special
class option.

When this is verified, add 5p in the Custom class options in the Document
Settings  Document Class as you already do.

When you get option clashes with the geometry package, the problem can be
avoided by selecting:
  - Default Format under Document Settings  Page Layout.
  - Default Margins under Document Settings  Page Margins.

In other words, you disable the ability to customize the margin spacing, page
size, etc., but this is fine as what you really want is to comply with your
publisher.

Hope this helps,

Julien



Re: Missing *.sty and/or *.cls files?

2010-02-03 Thread Uwe Stöhr

Am 03.02.2010 20:05, schrieb Virgil Stokes:


First, I am trying to get started with LyX (vers. 1.6.4) on a Ubuntu
(vers. 9.10) platform. I am also very new with Ubuntu trying to migrate
from Windows...

LyX: Document class not available


This is because every LaTeX distribution only offers a basic set of document classes in the default 
installation.



I did look at Customization documentation as suggested in the error
message in this window; however, I still could not understand how to fix
the problem. Unfortunately, the error message does not give any
information on what *.sty and/or *.cls files are missing. For example,
when I tried the template elsarticle.lyx this error message came up.


elsarticle is a template for the Elsevier scientific article document class. It is used for journal 
publications in Elsevier journals. If you need to use this document class, you have to install it. 
This is easily done using the TeXLive package manager.


The problem is that Ubuntu still installs by default an old version of the LaTeX distribution 
TeXLive. It is recommended to use TeXLive 2008 or 2009 instead of the predefined version 2007 
because since version 2008 there is a package manager available.


On Windows the package handling is easier than on Ubuntu: When installing LyX, all LaTeX-packages 
supported and used by LyX will automatically also installed. When you later compile a document and 
LaTeX cannot find a package or document class, it will automatically try to install it from the 
Internet without bothering you.


regards Uwe


Re: Elsarticle.cls

2010-02-03 Thread Uwe Stöhr

Am 04.02.2010 00:47, schrieb Julien Rioux:


When you get option clashes with the geometry package, the problem can be
avoided by selecting:
   - Default Format under Document Settings  Page Layout.
   - Default Margins under Document Settings  Page Margins.


Damn me! I did this in the elsarticle template file but forgot to set the default checkmark under 
Document Settings - Page Margins.


I corrected this for the next LyX version. For now the fixed version is attached. (With this version 
you can directly use the 5p option.)


thanks, sorry and regards
Uwe


elsarticle.lyx
Description: application/lyx


Re: Installation on Windows

2010-02-03 Thread Uwe Stöhr

Am 03.02.2010 22:37, schrieb Frederick Noronha:


When I took the lighter version of the Windows Lyx download (about
21MB, I think), there were some integrity check issues. On taking
the entire bundle (about 100+ MB), I found that there was some missing
software, and it was taking hours to download.

Any tips for an easy install on Windows?


Try out the complete variant of the alternative Windows installer:
http://wiki.lyx.org/Windows/LyXWinInstaller

To install LyX open an Internet connection before starting the installer. The installation can take 
up to 15 minutes because also all LaTeX-packages supported by LyX will be installed and this might 
need some time.


regards Uwe


Re: unit package

2010-02-03 Thread Uwe Stöhr

Am 02.02.2010 10:32, schrieb Guenter Milde:


I am using italics for the legends. If they contain units such as (864m),
should they still be upright?


.. [checklist] `SI Unit rules and style conventions`
Check List for Reviewing Manuscripts:
http://physics.nist.gov/cuu/Units/checklist.html


Thanks for this link. I added it now the Appendix A of the LyX Math manual.

regards Uwe


Re: LyX is a comfortable formula editor. a VERY comfortable one. Math inserts just on the fly of thoughts... But I have to uninstall LyX sorry unfortunately I have no other choice

2010-02-03 Thread Pavel Sanda
William Seager wrote:
 I wasn't suggesting you switch to gentoo !! :) Please do stay away.

:))

btw one can look directly into lyx ebuild for dependencies to get an idea
what is possible to install on the top of lyx itself...

pavel


Re: Lyx problem printing

2010-02-03 Thread Guenter Milde
On 2010-02-02, rgheck wrote:

> The lyx2lyx script is called only to convert files from older versions 
> of LyX to the current format,

This is a common misconception. lyx2lyx is called whenever the file
format of the file differs from the file format used in the running LyX
version. (This will usually work fine with older file formats and fail
with newer ones, hence an old LyX version might see this kind of problems
with "contemporary" lyx documents.)

Günter



Re: summary

2010-02-03 Thread Jürgen Spitzmüller
Enrico Forestieri wrote:

> A quick search in the archives would have revealed the solution to
> your problem:
> http://www.mail-archive.com/lyx-users%40lists.lyx.org/msg69928.html
> 
> Instead of copying the tex4ht folder as suggested there, another
> option is using the junction program you find here:
> http://technet.microsoft.com/en-us/sysinternals/bb896768.aspx
> for creating a reparse point to the MikTeX folder by opening cmd.exe
> and issuing the following two commands:
> md c:/tex4ht
> junction c:/tex4ht/texmf "c:/Program Files/MiKTeX 2.7"

Should this be documented on the wiki?

Jürgen




Re: summary

2010-02-03 Thread Liviu Andronic
On 2/3/10, 0  wrote:
> Liviu Andronic and Vincent van Ravesteijn refuse to solve the problem
>
We "refuse" to solve your problem? Why should we? Getting help on a
public mailing list relies on the goodwill of its participants, not on
their duties or obligations. With your current approach you will only
manage to turn people off from helping you.
Liviu


> and says it's "external tools". Liviu Andronic says "it's problematic". 
> Vincent van Ravesteijn says "it is certainly not a LyX problem".
>
>  William Seager uses Gentoo and has no such menu in "view".
>
>  Tommaso Cucinotta offers to advertise LyX and to send .lyx directly to the 
> recepient.
>
>  Waluyo Adi Siswanto uses Ubuntu 8.10 and exports to ODT fine.
>  Liviu Andronic uses Linux and exports to ODT fine.
>
>  I can also use this list as LyX to ODT converter - I can theoretically send 
> a file to you list and get a converted file back ;)
>
>
>  SO solutions in my priority arrangement are:
>
>  1) I can try installing Ubuntu Linux until my PC crashes or says that it's 
> not possible
>  2) I can send the files to the list and ask to convert them back until every 
> list member will remember my math calculus knowledge by heart
>  3) I can export to RTF or HTML until I make the recipient angry about the 
> formula quality
>  4) I can advertise LyX to the recipient and make him happy with this .odt 
> problem
>
>  Sounds like that the "view - opendocument" command is really not in its 
> proper place in Windows installation of LyX - it fails to work and should be 
> absent
>
>  --- On Wed, 2/3/10, 0  wrote:
>
>  > From: 0 
>  > Subject: help!
>  > To: lyx-users@lists.lyx.org
>  > Date: Wednesday, February 3, 2010, 1:11 AM
>  >
>  >
>  > > From: 0 
>  > > Subject: "View - OpenDocument" command produces empty
>  > output - help!
>  > > To: lyx-de...@lists.lyx.org,
>  > lyx-users@lists.lyx.org
>  > > Date: Tuesday, February 2, 2010, 7:53 PM
>  > > [examples/splash.lyx] is the document
>  > > which automatically opens when user runs LyX first
>  > time
>  > > after installation. The problem is that the "View -
>  > > OpenDocument" command produces empty output for me.
>  > Please
>  > > help!
>  > >
>  > > OS: Windows XP
>  > > LyX: 1.6.5
>  > >
>  >
>  >
>  > > From: 0 
>  > > Subject: Re: "View - OpenDocument" command produces
>  > empty output - help!
>  > > To: "Vincent van Ravesteijn - TNW" ,
>  > lyx-de...@lists.lyx.org,
>  > lyx-users@lists.lyx.org
>  > > Date: Tuesday, February 2, 2010, 8:51 PM
>  > >
>  > > dvi and pdf work fine
>  > > for me. But I want OpenDocument
>  > > because I'm sending the file to another person and
>  > want
>  > > him to be able to edit the file.
>  >
>  >
>  > What can I do to solve my problem?!
>  >
>  >
>  >
>  >
>
>
>
>
>


-- 
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
Do you know how to write?
http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail


Re: How I can add a new button to the tool bar?

2010-02-03 Thread Olivier Ripoll

Uwe Stöhr wrote:

Olivier Ripoll schrieb:

Fuzzy icons when they should be sharp, black lines that are not lines 
nor black any more. Don't tell me you don't see the problem with the 
table float image, it's obvious.


I must admit that I never noticed this. As I now know where to look, I 
see that the lines in this icon are a bit blurred.


Icon designers spend days to get pixel-perfect icons. Bitmap icons 
cannot be scaled.


The question is what size we should design for because right-clicking on 
a toolbar offers you 3 different icon sizes.


I remember that one of the Tango designer, Jimmac, bloggeed about how 
the scalable (svg) icons were not good, but they could still be a solution.
Most desktops follow the freedesktop icon standards. It seems they 
create one folder per size. Could be also a solution.


But anyway, as you identified problematic icons, can you provide a 
better one for e.g. the table float icon? LyX will benefit from this.


I have tried, but this list has restrictions that makes it hard posting 
the result. See the thread
"Why this list refuses small zip / 7z archives ?" I started a few weeks 
ago, it should contain an image of the Tango icons I use (and a link on 
rapidshare to download it).


At present, my issue in distributing it is about mixed licenses (LyX 
icons are GPL, Tango are public domain, I use part of a gimp icon, 
several icons come from the Tango openoffice.org theme, whose license I 
haven't found yet, but comes with Mandriva "free" edition).


Best regards

Olivier



regards Uwe





Re: How I can add a new button to the tool bar?

2010-02-03 Thread Uwe Stöhr

Olivier Ripoll schrieb:

The question is what size we should design for because right-clicking 
on a toolbar offers you 3 different icon sizes.


I remember that one of the Tango designer, Jimmac, bloggeed about how 
the scalable (svg) icons were not good, but they could still be a solution.
Most desktops follow the freedesktop icon standards. It seems they 
create one folder per size. Could be also a solution.


That is probably the best solution but requires a lot of work.

But anyway, as you identified problematic icons, can you provide a 
better one for e.g. the table float icon? LyX will benefit from this.


I have tried, but this list has restrictions that makes it hard posting 
the result.


You can send your result to me directly or to po-updateslyx-dot-org.

regards Uwe


Re: summary

2010-02-03 Thread Enrico Forestieri
Jürgen Spitzmüller writes:

> Should this be documented on the wiki?

I did it here: http://wiki.lyx.org/Tools/LyX2OpenOffice#sTools.LyX2OpenOffice_5

-- 
Enrico



Re: LyX is a comfortable formula editor. a VERY comfortable one. Math inserts just on the fly of thoughts... But I have to uninstall LyX sorry unfortunately I have no other choice

2010-02-03 Thread William Seager
On  Tuesday 02 February 2010  at  21:28,  Typhoon wrote:
> Install the package tex4ht
> 

that got it - many thanks
-- 
William Seager
University of Toronto Scarborough
www.utsc.utoronto.ca/~seager


adding ConvTex to the LyX converters?

2010-02-03 Thread Liviu Andronic
Dear all

On 2/3/10, Enrico Forestieri  wrote:
> I did it here: 
> http://wiki.lyx.org/Tools/LyX2OpenOffice#sTools.LyX2OpenOffice_5
>
I wasn't aware of the ConvTex python script. (Thanks for pointing it
out, Enrico!)

Does anyone have experience with it? Reading the ML it seems to be
working, but I was also wondering if someone tried to add it to the
LyX list of converters and if it was working. If so, would it make
sense to implement it in LyX (recognise ConvTex and provide the
appropriate menu entries)?

Thank you
Liviu


Re: htlatex scripts are HTML (but not ODT) aren't they?

2010-02-03 Thread Stefano Franchi
On 02/02/10, 0  wrote:
>> Look in the wiki and in the lists archives for past
>> discussions. Here are some options I am familiar with:
>>
>> 1. convert Lyx to Html, and then read the html file into
>> word or openoffice.
>> This option uses the htlatex conversion scripts which rely
>> on the TeX4ht
>> package. The package must be installed on your system. I am
>> not sure how easy or how difficult such an installation is
>> on  windows system (i'm on linux).
>> Here is a link that may help:
>>
>> http://facweb.knowlton.ohio-state.edu/pviton/support/tex4ht.html
>> ...
>> 3. convert Lyx directly to openoffice format.
>> Can be done again with the htlatex scripts. See (1) above.
>
>I'm afraid didn't see how ODT file can be made with htlatext scripts. I
> understood only that they can make HTMLs.

I think you've got all the answers you need in the long thread, but just to 
repeat: 

1. You need to install TeX4ht on your system

2. TeX4Ht comes with a number of scripts, including htlatex, oolatex, etcetera

3. htlatex converts to html, oolatex converts to openoffice

4. You do not need to be on linux to use TeX4ht

5. See the link above for instructions on how to install TeX4ht on Windows. I 
am on linux and cannot help with installaton

6. Once you have installed TeX4ht and, possibly, Sun Java if needed, LyX's 
command File>>Export>>Open Document will work

Cheers,

S.






>
>> Hope it helps,
>>
>> S.
>
__
Stefano Franchi
Department of Philosophy  Ph:  (979) 862-2211
Texas A University  Fax: (979) 845-0458
305B Bolton Hall  fran...@philosophy.tamu.edu
College Station, TX 77843-4237


inserting child file verbatim causes SIGSEGV in epel version (1.6.4) of LyX

2010-02-03 Thread Todd Denniston
I don't see the following type of crash being fixed in the 1.6.5 [1] release 
announcement, so can
anyone replicate the crash on 1.6.5 too?

If not then I guess I'll have to figure out how to get my RH BZ account working 
again so I can bug
Rex into updating those of us on epel. :|


[1] http://www.lyx.org/announce/1_6_5.txt

### method to replicate
start lyx
File -> New
Insert -> File -> Child Document
set Include Type to: Verbatim
click Browse...
Program received signal SIGSEGV, Segmentation fault.
0x07afcf23 in ?? () from /usr/lib/qt4/lib/libQtGui.so.4


###
$ lyx --version
LyX 1.6.4 (2009-08-22)
Built on Aug 26 2009, 14:32:25
Configuration
  Host type:i386-redhat-linux-gnu
  Special build flags:   use-aspell use-ispell
  C   Compiler: gcc
  C   Compiler LyX flags:
  C   Compiler flags:-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 
-fexceptions
-fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic 
-fasynchronous-unwind-tables
  C++ Compiler: g++ (4.1.2)
  C++ Compiler LyX flags:
  C++ Compiler flags:-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 
-fexceptions
-fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic 
-fasynchronous-unwind-tables
  Linker flags:
  Linker user flags:
  Qt 4 Frontend:
  Qt 4 version: 4.2.1
  Packaging:posix
  LyX binary dir:   /usr/bin
  LyX files dir:/usr/share/lyx


### back trace
#0  0x07afcf23 in ?? () from /usr/lib/qt4/lib/libQtGui.so.4
#1  0x07b022e2 in ?? () from /usr/lib/qt4/lib/libQtGui.so.4
#2  0x07b02707 in QFileDialog::setFilters ()
   from /usr/lib/qt4/lib/libQtGui.so.4
#3  0x085c896e in LyXFileDialog (this=0xbf8d15e0, tit...@0xbf8d164c,
pa...@0xbf8d166c, filte...@0xbf8d1730, b...@0x988dc30, b...@0x988dc38)
at LyXFileDialog.cpp:52
#4  0x08465eb5 in lyx::FileDialog::open (this=0xbf8d1648, pa...@0xbf8d166c,
filte...@0xbf8d1730, suggest...@0xbf8d1678) at FileDialog.cpp:145
#5  0x0854f283 in lyx::frontend::browseFile (filena...@0xbf8d16cc,
tit...@0xbf8d1734, filte...@0xbf8d1730, save=false, labe...@0xbf8d1754,
di...@0xbf8d1750, labe...@0xbf8d174c, di...@0xbf8d1748,
fallback_d...@0xbf8d16d0) at GuiPrefs.cpp:118
#6  0x0854fdd4 in lyx::browseRelFile (filena...@0xbf8d1798,
refpa...@0xbf8d172c, tit...@0xbf8d1734, filte...@0xbf8d1730, save=false,
labe...@0xbf8d1754, di...@0xbf8d1750, labe...@0xbf8d174c, di...@0xbf8d1748)
at GuiPrefs.cpp:203
#7  0x0850d76d in lyx::frontend::GuiInclude::browse (this=0x996aed8,
in_na...@0xbf8d1798, in_type=lyx::frontend::GuiInclude::VERBATIM)
at GuiInclude.cpp:332
#8  0x0850db4a in lyx::frontend::GuiInclude::browse (this=0x996aed8)
at GuiInclude.cpp:287
#9  0x0850dc6a in lyx::frontend::GuiInclude::qt_metacall (this=0x996aed8,
_c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbf8d1cdc)
at GuiInclude_moc.cpp:73
#10 0x00c97100 in QMetaObject::activate () from /usr/lib/qt4/lib/libQtCore.so.4
#11 0x00c9735f in QMetaObject::activate () from /usr/lib/qt4/lib/libQtCore.so.4
#12 0x07beeae1 in QAbstractButton::clicked ()
   from /usr/lib/qt4/lib/libQtGui.so.4
#13 0x07a11dc9 in ?? () from /usr/lib/qt4/lib/libQtGui.so.4
#14 0x07a13479 in ?? () from /usr/lib/qt4/lib/libQtGui.so.4
#15 0x07a13692 in QAbstractButton::mouseReleaseEvent ()
   from /usr/lib/qt4/lib/libQtGui.so.4
#16 0x077d0ae1 in QWidget::event () from /usr/lib/qt4/lib/libQtGui.so.4
#17 0x07a12915 in QAbstractButton::event () from /usr/lib/qt4/lib/libQtGui.so.4
#18 0x07a8ba84 in QPushButton::event () from /usr/lib/qt4/lib/libQtGui.so.4
#19 0x07787810 in QApplicationPrivate::notify_helper ()
   from /usr/lib/qt4/lib/libQtGui.so.4
#20 0x0778a293 in QApplication::notify () from /usr/lib/qt4/lib/libQtGui.so.4
#21 0x083f3d1b in lyx::frontend::GuiApplication::notify (this=0x95a8fe0,
receiver=0x9975f18, event=0xbf8d2374) at GuiApplication.cpp:1276
#22 0x077e2dce in ?? () from /usr/lib/qt4/lib/libQtGui.so.4
#23 0x077e23df in QApplication::x11ProcessEvent ()
   from /usr/lib/qt4/lib/libQtGui.so.4
#24 0x07805275 in ?? () from /usr/lib/qt4/lib/libQtGui.so.4
#25 0x00c84ef1 in QEventLoop::processEvents ()
   from /usr/lib/qt4/lib/libQtCore.so.4
#26 0x00c84ffa in QEventLoop::exec () from /usr/lib/qt4/lib/libQtCore.so.4
#27 0x00c8759d in QCoreApplication::exec ()
   from /usr/lib/qt4/lib/libQtCore.so.4
#28 0x07787287 in QApplication::exec () from /usr/lib/qt4/lib/libQtGui.so.4
#29 0x08143cb3 in lyx::LyX::exec (this=0xbf8d2840, ar...@0xbf8d2870,
argv=0xbf8d28f4) at LyX.cpp:343
#30 0x08070039 in main (argc=1, argv=Cannot access memory at address 0x4
) at main.cpp:46



-- 
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter


Re: inserting child file verbatim causes SIGSEGV in epel version (1.6.4) of LyX

2010-02-03 Thread Jürgen Spitzmüller
Todd Denniston wrote:

> I don't see the following type of crash being fixed in the 1.6.5 [1]
> release announcement, so can anyone replicate the crash on 1.6.5 too?

I can't (with 1.6.6.svn, that is).

Jürgen



RE: inserting child file verbatim causes SIGSEGV in epel version (1.6.4) of LyX

2010-02-03 Thread Vincent van Ravesteijn - TNW
> If not then I guess I'll have to figure out how to get my RH BZ
account
> working again so I can bug Rex into updating those of us on epel. :|

I don't know any of the words you're using here :S.. Epel ? Rex ? RH BZ
?


>### back trace
>#0  0x07afcf23 in ?? () from /usr/lib/qt4/lib/libQtGui.so.4
>#1  0x07b022e2 in ?? () from /usr/lib/qt4/lib/libQtGui.so.4
>#2  0x07b02707 in QFileDialog::setFilters ()
>   from /usr/lib/qt4/lib/libQtGui.so.4
>#3  0x085c896e in LyXFileDialog (this=0xbf8d15e0, tit...@0xbf8d164c,
>pa...@0xbf8d166c, filte...@0xbf8d1730, b...@0x988dc30,
b...@0x988dc38)
>at LyXFileDialog.cpp:52


At a first glance, it looks like it crashes in Qt. Any possibility to
upgrade from 4.2.1 to a newer version (4.6 has already the light) ?

Vincent


Re: inserting child file verbatim causes SIGSEGV in epel version (1.6.4) of LyX

2010-02-03 Thread Stefano Franchi
On 02/03/10, Jürgen Spitzmüller  wrote:
>Todd Denniston wrote:
>> I don't see the following type of crash being fixed in the 1.6.5 [1]
>> release announcement, so can anyone replicate the crash on 1.6.5 too?
>
>I can't (with 1.6.6.svn, that is).
>
>Jürgen
>

I can't replicate it either---Lyx 1.6.5 on Ubuntu 9.10

Cheers,

S.

__
Stefano Franchi
Department of Philosophy  Ph:  (979) 862-2211
Texas A University  Fax: (979) 845-0458
305B Bolton Hall  fran...@philosophy.tamu.edu
College Station, TX 77843-4237


Re: adding ConvTex to the LyX converters?

2010-02-03 Thread Grahame Blackwood
On Wednesday 03 February 2010 13:00:35 Liviu Andronic wrote:
> Does anyone have experience with it?

Hi Liviu

I use it about once per month to convert a report created in Lyx to OpenOffice 
but I find it chokes on some of Lyx's formatting and I have to run a vim script 
to remove or alter the offending code. 

The list of changes needed increases occasionally as new tables appear in the 
report.

The vim script I use is currently:


:%s/\\LARGE//eg 
:%s/\\Large//eg
:%s/\\large//eg
:%s/>{\\raggedright}p{2.3in}/l/eg
:%s/>{\\raggedright}p{2.6in}/l/eg
:%s/\\textrm//eg
:%s/\\textendash/ --- /eg
:%s/\\textquoteright/'/eg
:%s/\\textquotedoubleright/''/eg
:%s/\\newpage//eg

I run this script on the .tex produced by exporting the lyx file to latex. Then 
run ConvTex on the altered .tex file to produce a .sxw file that can then be 
read by OO.
 
A bit clumsy but it gets me the result I need.

Cheers

G






OpenDocument export [was Re: too long]

2010-02-03 Thread Ethan Metsger
On Tue, 02 Feb 2010 20:19:54 -0500, Waluyo Adi Siswanto  
 wrote:



I am using Ubuntu(Ubuntu 8.10 and LyX 1.6.5) and I can export to
OpenDocument easily  (from File>Export>OpenDocument) and it creates
*,odt. When I open this file using OpenOffice and if I double click
the equations created by LyX it will be in OpenOffice equation, all
equations can be edited and continued in OpenOffice without any
problems.


I can confirm this works out of the box on Ubuntu Karmic.  Whether it  
works on more complicated documents, I don't know.  I also note that  
OO.org has a LaTeX exporter, but regretfully cannot import LaTeX.  It's  
supposed to support DocBook imports, but I haven't tried it.


Best,

Ethan
(emets...@obj-sys.com)


Re: Elsarticle.cls

2010-02-03 Thread Uwe Stöhr

Craig Baudendistel schrieb:

I have a question regarding the elsarticle document class. Elsevier's 
website provides a pdf document that explains the newest elsarticle and 
its options. That website is:


http://www.elsevier.com/framework_authors/misc/elsdoc.pdf

In this document, item number 4 outlines some options for the 
documentclass elsarticle (preprint, review, 1p, 3p, and 5p). I know that 
the journal I am submitting to is of the "5p" format. How do I add this 
option to the elsarticle template provided in lyx?


I have tried to place "5p" in the custom class options in the document 
settings


This is the correct place.

but end up with an error. "Option clash for package geometry". 


This is because elsarticle loads the LaTeX-package "geometry" by itself 
when you are using the "5p" option. LyX always loads the package 
geometry. The problem is that elsarticle loads it with no options while 
LyX loads it with the option corresponding to the document page 
dimensions. Neither elsarticle's nor LyX's loading of geometry can be 
suppressed.


I therefore propose not to use the "5p" document class option until your 
paper is ready to be submitted. Just before committing


1. add the "5p" option
2. export your document as LaTeX
3. open the exported .tex file with a text editor and delete the line
   \usepackage[xxx]{geometry}
  (xxx is an option depending on the LyX document page dimensions settings)
4. Submit the changed .tex file

I'm forwarding your mail to the lyx-users mailing list in case somebody 
else has a better solution than me.


regards Uwe


Installation on Windows

2010-02-03 Thread Frederick Noronha
Dear all: Need your help. I'm trying to install Lyx on the comps of
two of my (Window-using) friends, because I need to work and transfer
files with them, while editing.

Somehow, my attempts to install it have so far been unsucessful.

When I took the lighter version of the Windows Lyx download (about
21MB, I think), there were some "integrity check" issues. On taking
the entire bundle (about 100+ MB), I found that there was some missing
software, and it was taking hours to download.

Any tips for an easy install on Windows? Would be grateful! FN

-- 
FN +91-9822122436 P +91-832-2409490
Updated: http://goabooks.wordpress.com


Missing *.sty and/or *.cls files?

2010-02-03 Thread Virgil Stokes
First, I am trying to get started with LyX (vers. 1.6.4) on a Ubuntu 
(vers. 9.10) platform. I am also very new with Ubuntu trying to migrate 
from Windows.


Second, your work on this package is impressive. It downloaded and 
installed very easily.


Third, I started by looking at some of your templates. Many of these 
would not "compile" --- gave a rather long error message in a window 
that was labeled


  LyX: Document class not available

I did look at Customization documentation as suggested in the error 
message in this window; however, I still could not understand how to fix 
the problem. Unfortunately, the error message does not give any 
information on what *.sty and/or *.cls files are missing. For example, 
when I tried the template elsarticle.lyx this error message came up. I 
then looked at this file in a text editor and saw


 \textclass elsarticle

But, it is not clear how this is related to the problem.

I would like to use your very interesting LyX package; but, I need some 
help on how to fix such problems. Note,


  Library directory: /usr/share/lyx/
  User directory: ~/.lyx

I would be glad to provide any additional information that you may need.

--V




Re: Missing *.sty and/or *.cls files?

2010-02-03 Thread Rich Shepard

On Wed, 3 Feb 2010, Virgil Stokes wrote:

First, I am trying to get started with LyX (vers. 1.6.4) on a Ubuntu (vers. 
9.10) platform. I am also very new with Ubuntu trying to migrate from 
Windows.


Second, your work on this package is impressive. It downloaded and installed 
very easily.


Third, I started by looking at some of your templates. Many of these would 
not "compile" --- gave a rather long error message in a window that was 
labeled


  There's nothing to compile.

  Recommendation: take the tutorial. On main menu Help -> Tutorial.

Rich


Re: OpenDocument export [was Re: too long]

2010-02-03 Thread Andrew Sullivan
On Wed, Feb 03, 2010 at 10:45:13AM -0500, Ethan Metsger wrote:
> I can confirm this works out of the box on Ubuntu Karmic.  Whether it  
> works on more complicated documents, I don't know.

The latter is the biggest problem.  Cross-references, in particular,
are much worse in every other format compared to LaTeX, because
they're not structured the same way.  So if you use that a lot,
AFAICT, you're hosed.

I never managed to get it to work on MacOS, so I have a VM that runs a
Debian (ancestor of Ubuntu) system just for doing this.  It's not
hard.

A

-- 
Andrew Sullivan
a...@shinkuro.com
Shinkuro, Inc.


Re: Elsarticle.cls

2010-02-03 Thread Julien Rioux
First, you should make sure that your document compiles without any special
class option.

When this is verified, add "5p" in the "Custom" class options in the "Document
Settings" > "Document Class" as you already do.

When you get option clashes with the geometry package, the problem can be
avoided by selecting:
  - "Default Format" under "Document Settings" > "Page Layout".
  - "Default Margins" under "Document Settings" > "Page Margins".

In other words, you disable the ability to customize the margin spacing, page
size, etc., but this is fine as what you really want is to comply with your
publisher.

Hope this helps,

Julien



Re: Missing *.sty and/or *.cls files?

2010-02-03 Thread Uwe Stöhr

Am 03.02.2010 20:05, schrieb Virgil Stokes:


First, I am trying to get started with LyX (vers. 1.6.4) on a Ubuntu
(vers. 9.10) platform. I am also very new with Ubuntu trying to migrate
from Windows...

LyX: Document class not available


This is because every LaTeX distribution only offers a basic set of document classes in the default 
installation.



I did look at Customization documentation as suggested in the error
message in this window; however, I still could not understand how to fix
the problem. Unfortunately, the error message does not give any
information on what *.sty and/or *.cls files are missing. For example,
when I tried the template elsarticle.lyx this error message came up.


elsarticle is a template for the Elsevier scientific article document class. It is used for journal 
publications in Elsevier journals. If you need to use this document class, you have to install it. 
This is easily done using the TeXLive package manager.


The problem is that Ubuntu still installs by default an old version of the LaTeX distribution 
TeXLive. It is recommended to use TeXLive 2008 or 2009 instead of the predefined version 2007 
because since version 2008 there is a package manager available.


On Windows the package handling is easier than on Ubuntu: When installing LyX, all LaTeX-packages 
supported and used by LyX will automatically also installed. When you later compile a document and 
LaTeX cannot find a package or document class, it will automatically try to install it from the 
Internet without bothering you.


regards Uwe


Re: Elsarticle.cls

2010-02-03 Thread Uwe Stöhr

Am 04.02.2010 00:47, schrieb Julien Rioux:


When you get option clashes with the geometry package, the problem can be
avoided by selecting:
   - "Default Format" under "Document Settings">  "Page Layout".
   - "Default Margins" under "Document Settings">  "Page Margins".


Damn me! I did this in the elsarticle template file but forgot to set the default checkmark under 
Document Settings -> Page Margins.


I corrected this for the next LyX version. For now the fixed version is attached. (With this version 
you can directly use the "5p" option.)


thanks, sorry and regards
Uwe


elsarticle.lyx
Description: application/lyx


Re: Installation on Windows

2010-02-03 Thread Uwe Stöhr

Am 03.02.2010 22:37, schrieb Frederick Noronha:


When I took the lighter version of the Windows Lyx download (about
21MB, I think), there were some "integrity check" issues. On taking
the entire bundle (about 100+ MB), I found that there was some missing
software, and it was taking hours to download.

Any tips for an easy install on Windows?


Try out the complete variant of the alternative Windows installer:
http://wiki.lyx.org/Windows/LyXWinInstaller

To install LyX open an Internet connection before starting the installer. The installation can take 
up to 15 minutes because also all LaTeX-packages supported by LyX will be installed and this might 
need some time.


regards Uwe


Re: unit package

2010-02-03 Thread Uwe Stöhr

Am 02.02.2010 10:32, schrieb Guenter Milde:


I am using italics for the legends. If they contain units such as (864m),
should they still be upright?


.. [checklist] `SI Unit rules and style conventions`
Check List for Reviewing Manuscripts:
http://physics.nist.gov/cuu/Units/checklist.html


Thanks for this link. I added it now the Appendix A of the LyX Math manual.

regards Uwe


Re: LyX is a comfortable formula editor. a VERY comfortable one. Math inserts just on the fly of thoughts... But I have to uninstall LyX sorry unfortunately I have no other choice

2010-02-03 Thread Pavel Sanda
William Seager wrote:
> I wasn't suggesting you switch to gentoo !! :) Please do stay away.

:))

btw one can look directly into lyx ebuild for dependencies to get an idea
what is possible to install on the top of lyx itself...

pavel