Re: Open, take two

2005-09-19 Thread Andre Berger
* Mike Meyer [EMAIL PROTECTED], 2005-09-19 08:20 +0200:
 In [EMAIL PROTECTED], Andre Berger [EMAIL PROTECTED] typed:
  * Mike Meyer [EMAIL PROTECTED], 2005-09-19 06:40 +0200:
   In [EMAIL PROTECTED], Bo Peng [EMAIL PROTECTED] typed:
  [...]
   And under OS X, it's called open, but it's not as powerful as what
   I've written.
  Give it a different name to avoid unnecessary confusion.
 
 Got any suggestions?

opening? A phantasy name?

-Andre


Re: Open, take two

2005-09-19 Thread Bo Peng
 opening? A phantasy name?

Nope, 'opening' sounds like a noun, not a verb. (BTW, I am looking for
a job, if your company has an opening, drop me an email. :-)

I do not have any good idea either. If I have to choose one, maybe 'invoke'?

BTW, all file managers under linux (CDE, konqueror, nautilus etc) have
their own ways of file association, have you looked at their methods?

Bo


Re: Portability to Neo/Open/Star Office?

2005-09-19 Thread Charles de Miramon
Mike Meyer wrote:

 
 I think I've spent enough time on this today. Suggestions on where to
 look for clues would be appreciated.
 

You could try also latex2rtf a commandline latex to rtf converter. It works
quite well. It is less powerful than tex4ht but faster. But I doubt that
revision marks can be exported.

You could try also the commercial Tex2word http://www.word2tex.com/
Cheers,
Charles
-- 
http://www.kde-france.org



[Fwd: IEEE Transactions Template]

2005-09-19 Thread Ekkehart Schlicht




My Lyx (1.3.7cvs) has an IEEE document style. Maybe your Latex
doesn't have it. I include the files and the folder that may be stored
at ~\localtexmf\tex\latex\ieeetran, and the filename databases of Latex
refreshed. Reconfiguring LyX should permit to select Layout-Document-
Document class - article (IEEEtran).

HTH

Ekkehart

attached:
IEEEtran.cls
IEEEtrantools.sty






Re: [Fwd: IEEE Transactions Template]

2005-09-19 Thread Roy Schestowitz

_/ On Mon 19 Sep 2005 15:19:31 BST, [Ekkehart Schlicht] wrote : \_


My Lyx (1.3.7cvs) has an IEEE document style. Maybe your Latex
doesn't have it. I include the files and the folder that may be stored
at ~\localtexmf\tex\latex\ieeetran, and the filename databases of Latex
refreshed. Reconfiguring LyX should permit to select Layout-Document-
Document class - article (IEEEtran).

HTH

Ekkehart

attached:
IEEEtran.cls
IEEEtrantools.sty



Thank you, Ekkehart. You are right, it doesn't seem to exist or simply isn't
installed according to what I can gather.

Many thanks again,

Roy

--
Roy S. Schestowitz
http://Schestowitz.com  |SuSE Linux| PGP-Key: 74572E8E
 4:40pm  up 25 days  4:54,  4 users,  load average: 0.45, 0.61, 0.62




Re: prosper in lyx 1.3.4

2005-09-19 Thread Jose' Matos
On Saturday 17 September 2005 18:17, [EMAIL PROTECTED] wrote:
 Hi,
 i'm currently testing lyx, working together with prosper
 (as i need for a special *.lyx file).
 But lyx (1.3.4) seems not to know the prosper package, also it is
 installed.

 Im using the debian based distro ubuntu and installed via
 apt-get install lyx
 apt-get install prosper

 How can i add the prosper textclass to lyx 1.3.4

  The lyx layout file that comes with beamer is installed in a place that lyx 
can't find.

  One option is to create a symbolic link in your lyx directory to it, i.e., 
to create a symbolic link from ~/.lyx/layouts/beamer.layout to the place 
where beamer.layout is.

  The other option is to download beamer.layout and place it in 
~/.lyx/layouts/

 Thanks
 Tobias

-- 
José Abílio


Copying A Table Float Across Documents

2005-09-19 Thread Rich Shepard

  I want to copy a table -- as a table -- from one document to another, but
my attempts so far have failed.

  I've opened the table in the source document, highlighted the entire table,
used ctrl-c to copy it to the clipboard, switched focus to the destination
document, and used the Edit-External paste feature. I get a solid paragraph,
not a table, with this approach. I've also tried to copy the grey table
from the source to the destination, but get the same non-table results with
this.

  I've also searched on the TeXnik.de and wiki pages without seeing an
answer.

  Is there a way to copy the table from one document to another?

TIA,

Rich

--
Dr. Richard B. Shepard, President |   Author of Quantifying Environmental
Applied Ecosystem Services, Inc. (TM) |  Impact Assessments Using Fuzzy Logic
http://www.appl-ecosys.com Voice: 503-667-4517 Fax: 503-667-8863


Re: Copying A Table Float Across Documents

2005-09-19 Thread Paul Smith
On 9/19/05, Rich Shepard [EMAIL PROTECTED] wrote:
I want to copy a table -- as a table -- from one document to another, but
 my attempts so far have failed.
 
I've opened the table in the source document, highlighted the entire table,
 used ctrl-c to copy it to the clipboard, switched focus to the destination
 document, and used the Edit-External paste feature. I get a solid paragraph,
 not a table, with this approach. I've also tried to copy the grey table
 from the source to the destination, but get the same non-table results with
 this.
 
I've also searched on the TeXnik.de and wiki pages without seeing an
 answer.
 
Is there a way to copy the table from one document to another?

This is not the cleanest solution, Rich, but your goal may be achieved
by using a text editor to copy the table, without doing it inside LyX.
(I am assuming both documents are LyX ones.)

Paul


Re: Copying A Table Float Across Documents

2005-09-19 Thread Rich Shepard

On Mon, 19 Sep 2005, Paul Smith wrote:


This is not the cleanest solution, Rich, but your goal may be achieved by
using a text editor to copy the table, without doing it inside LyX. (I am
assuming both documents are LyX ones.)


Paul,

  You'd think that after all this time I'd just do that, wouldn't you?

Thanks,

Rich

--
Dr. Richard B. Shepard, President |   Author of Quantifying Environmental
Applied Ecosystem Services, Inc. (TM) |  Impact Assessments Using Fuzzy Logic
http://www.appl-ecosys.com Voice: 503-667-4517 Fax: 503-667-8863


From the ashes www.lyx.org/devel (formely www.devel.lyx.org)

2005-09-19 Thread Lars Gullik Bjønnes

Www.devel.lyx.org is dead (learn to live with it)

Long live www.lyx.org/devel

same contents different wrapping.

Please tell about broken links etc. (especially internal links, or
links that make mirroring harder than necessary)

-- 
Lgb


Re: From the ashes www.lyx.org/devel (formely www.devel.lyx.org)

2005-09-19 Thread Bo Peng
 Please tell about broken links etc. (especially internal links, or
 links that make mirroring harder than necessary)
 

please update the cvs information. 

/cvs/lyx, no such repository.

Bo


Re: From the ashes www.lyx.org/devel (formely www.devel.lyx.org)

2005-09-19 Thread Lars Gullik Bjønnes
Bo Peng [EMAIL PROTECTED] writes:

|  Please tell about broken links etc. (especially internal links, or
|  links that make mirroring harder than necessary)
|  
| 
| please update the cvs information. 
| 
| /cvs/lyx, no such repository.

I'll leave that to the ones that know what the correct patch should
be.

-- 
Lgb



Re: From the ashes www.lyx.org/devel (formely www.devel.lyx.org)

2005-09-19 Thread Kayvan A. Sylvan
On Mon, Sep 19, 2005 at 04:15:22PM +0200, Lars Gullik Bjønnes wrote:
 Bo Peng [EMAIL PROTECTED] writes:
 
 |  Please tell about broken links etc. (especially internal links, or
 |  links that make mirroring harder than necessary)
 |  
 | 
 | please update the cvs information. 
 | 
 | /cvs/lyx, no such repository.

It should now be /var/cvs/lyx

-- 
Kayvan A. Sylvan  | Proud husband of   | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | crown of her husband | Robin Gregory (2/28/92)


Re: Fails to convert image (at preview)

2005-09-19 Thread Koji Yokota

Angus,

Thank you for your advice.

I'm using version 1.3.5 (actually it's CJK-Lyx-1.3.5 but I don't think 
CJK patch is related to this problem) and I'm using the temporary 
directory (/tmp).


Looking at the debug information of 'lyx -dbg graphics', it seems that 
the created script for the conversion of image does not specify the 
output file.  Here is the content of the script (+debug info):


PreviewLoader::finishedInProgress(1): processing failed for 
/usr/local/share/lyx/scripts/lyxpreview2ppm.py 
/tmp/lyx_tmpdir79676GFtWvQ/lyx_tmpbuf0/0lyxpreview.tex 109 ppm

Recognised Fileformat: eps
[GrahicsCacheItem::convertToDisplayFormat]
Attempting to convert image file: /hoge/hoge.eps
with displayed filename: /hoge/hoge.eps
Recognised Fileformat: eps

The file contains eps format data.
Unable to convert from eps to bmp
Unable to convert from eps to gif
Unable to convert from eps to jpg
Unable to convert from eps to pbm
Unable to convert from eps to pgm
Unable to convert from eps to png
Converting it to ppm format.
Converter c-tor:
from_file:  /hoge/hoge.eps
to_file_base: /tmp/lyx_tmpdir79676GFtWvQ/Diamond82-179676XOhtkh
from_format:  eps
to_format:ppm
build_script ... ready!
Conversion script:
--
#!/bin/sh
infile='/hoge/hoge.eps'
infile_base='/hoge'
outfile='/tmp/lyx_tmpdir79676GFtWvQ/gconvert079676yHQsea.ppm'

pstopnm ${infile} ||
{
'rm' -f ${outfile}
exit 1
}

if [ ! -f ${outfile} ]; then
if [ -f ${outfile}.0 ]; then
'mv' -f ${outfile}.0 ${outfile}
'rm' -f ${outfile}.?
else
exit 1
fi
fi

fromfile=${outfile}
tofile='/tmp/lyx_tmpdir79676GFtWvQ/Diamond82-179676XOhtkh.ppm'

'mv' -f ${fromfile} ${tofile} ||
{
'cp' -f ${fromfile} ${tofile} ||
{
exit 1
}
'rm' -f ${fromfile}
}
--
pstopnm: Writing ppmraw file
Image conversion failed.
Unable to find converted file!


I'm using netpbm-10.26.14 on FreeBSD-5.4 and the man page of netpbm says:


If you use the -stdout  option, pstopnm outputs images of all the pages
 


as a multi-image file to Standard Output.  Otherwise,  pstopnm  creates
one file for each page in the Postscript document.  The files are named
as follows: If the input file is named psfile.ps, the name of the files
will  be  psfile001.ppm,  psfile002.ppm,  etc.


So, it seems the phenomenon I observed is a natural consequence in my 
current environment.

Do I need to modify lyxpreview2ppm.py?

Angus Leeming wrote:


Koji Yokota wrote:

 


LyX has been failing to show image preview when I insert graphics in
LyX document from some time ago.

LyX simply shows a box which says failed to convert image at the
place I inserted graphics. However, LyX seems successfully
converting the image in the same directory as the document and
image. For example, when the file name of the inserted image is
test.eps, it creates a file test.eps001.ppm which is not broken.
So, the problem looks simply LyX cannot correctly find
test.eps001.ppm.

Can you suggest how to correct the problem? Thank you in advance.
   



* Could you tell us what version of LyX you are using?

* Are you using a temporary directory? To check:

Using the Qt frontend look in the Paths pane of the Edit-Preferences
dialog.

[x] Use temporary directory [/tmp] [Browse...]

Using the XForms frontend look in the Input-Paths tab of the
Edit-Preferences dialog.

Temp dir: [x] [/tmp] [Browse...]


I'm very surprised by the generated filenames too.
lyx -dbg graphics
should dump a whole heap of information to the console to help you
diagnose the problem.

Angus


 



Koji Yokota ([EMAIL PROTECTED])
Department of Economics
Otaru University of Commerce




Re: Copying A Table Float Across Documents

2005-09-19 Thread samar



  I want to copy a table -- as a table -- from one document to another, 
but

my attempts so far have failed.

  I've opened the table in the source document, highlighted the entire 
table,

used ctrl-c to copy it to the clipboard, switched focus to the destination
document, and used the Edit-External paste feature. I get a solid 
paragraph,

not a table, with this approach. I've also tried to copy the grey table
from the source to the destination, but get the same non-table results 
with

this.

  I've also searched on the TeXnik.de and wiki pages without seeing an
answer.

  Is there a way to copy the table from one document to another?


I have used this for some time but have just checked it out to see if it 
also works on 1.3.6


You first need to create  a blank table with the same number of columns and 
rows as the original in your destination document. Ideally the same 
structure


Copy the source into the destination but make sure you have the cursor in 
the top left hand cell.


Sometimes, just sometimes, doing this copies the whole table  as it is, 
ignoring your blank table.


samar




Re: Copying A Table Float Across Documents

2005-09-19 Thread Rich Shepard

On Tue, 20 Sep 2005, samar wrote:


You first need to create  a blank table with the same number of columns and
rows as the original in your destination document. Ideally the same
structure

Copy the source into the destination but make sure you have the cursor in the 
top left hand cell.


Sometimes, just sometimes, doing this copies the whole table  as it is, 
ignoring your blank table.


samar,

  Thanks. I was going to create the table outline then copy each cell
individually.

  What I actually did was open the source .lyx file in one virtual console,
block the whole table, and save that to a separate text file. Then I opened
the destination .lyx file and imported the code at the right place.

  Unfortunately, the destination document is a beamer-class presentation and
the table is far too large to fit on a single slide. Sigh. I'll have to trim
cells off and see what I can get to compile and display.

Rich

--
Dr. Richard B. Shepard, President |   Author of Quantifying Environmental
Applied Ecosystem Services, Inc. (TM) |  Impact Assessments Using Fuzzy Logic
http://www.appl-ecosys.com Voice: 503-667-4517 Fax: 503-667-8863


Re: Open, take two

2005-09-19 Thread Andre Berger
* Mike Meyer [EMAIL PROTECTED], 2005-09-19 08:20 +0200:
 In [EMAIL PROTECTED], Andre Berger [EMAIL PROTECTED] typed:
  * Mike Meyer [EMAIL PROTECTED], 2005-09-19 06:40 +0200:
   In [EMAIL PROTECTED], Bo Peng [EMAIL PROTECTED] typed:
  [...]
   And under OS X, it's called open, but it's not as powerful as what
   I've written.
  Give it a different name to avoid unnecessary confusion.
 
 Got any suggestions?

opening? A phantasy name?

-Andre


Re: Open, take two

2005-09-19 Thread Bo Peng
 opening? A phantasy name?

Nope, 'opening' sounds like a noun, not a verb. (BTW, I am looking for
a job, if your company has an opening, drop me an email. :-)

I do not have any good idea either. If I have to choose one, maybe 'invoke'?

BTW, all file managers under linux (CDE, konqueror, nautilus etc) have
their own ways of file association, have you looked at their methods?

Bo


Re: Portability to Neo/Open/Star Office?

2005-09-19 Thread Charles de Miramon
Mike Meyer wrote:

 
 I think I've spent enough time on this today. Suggestions on where to
 look for clues would be appreciated.
 

You could try also latex2rtf a commandline latex to rtf converter. It works
quite well. It is less powerful than tex4ht but faster. But I doubt that
revision marks can be exported.

You could try also the commercial Tex2word http://www.word2tex.com/
Cheers,
Charles
-- 
http://www.kde-france.org



[Fwd: IEEE Transactions Template]

2005-09-19 Thread Ekkehart Schlicht




My Lyx (1.3.7cvs) has an IEEE document style. Maybe your Latex
doesn't have it. I include the files and the folder that may be stored
at ~\localtexmf\tex\latex\ieeetran, and the filename databases of Latex
refreshed. Reconfiguring LyX should permit to select Layout-Document-
Document class - article (IEEEtran).

HTH

Ekkehart

attached:
IEEEtran.cls
IEEEtrantools.sty






Re: [Fwd: IEEE Transactions Template]

2005-09-19 Thread Roy Schestowitz

_/ On Mon 19 Sep 2005 15:19:31 BST, [Ekkehart Schlicht] wrote : \_


My Lyx (1.3.7cvs) has an IEEE document style. Maybe your Latex
doesn't have it. I include the files and the folder that may be stored
at ~\localtexmf\tex\latex\ieeetran, and the filename databases of Latex
refreshed. Reconfiguring LyX should permit to select Layout-Document-
Document class - article (IEEEtran).

HTH

Ekkehart

attached:
IEEEtran.cls
IEEEtrantools.sty



Thank you, Ekkehart. You are right, it doesn't seem to exist or simply isn't
installed according to what I can gather.

Many thanks again,

Roy

--
Roy S. Schestowitz
http://Schestowitz.com  |SuSE Linux| PGP-Key: 74572E8E
 4:40pm  up 25 days  4:54,  4 users,  load average: 0.45, 0.61, 0.62




Re: prosper in lyx 1.3.4

2005-09-19 Thread Jose' Matos
On Saturday 17 September 2005 18:17, [EMAIL PROTECTED] wrote:
 Hi,
 i'm currently testing lyx, working together with prosper
 (as i need for a special *.lyx file).
 But lyx (1.3.4) seems not to know the prosper package, also it is
 installed.

 Im using the debian based distro ubuntu and installed via
 apt-get install lyx
 apt-get install prosper

 How can i add the prosper textclass to lyx 1.3.4

  The lyx layout file that comes with beamer is installed in a place that lyx 
can't find.

  One option is to create a symbolic link in your lyx directory to it, i.e., 
to create a symbolic link from ~/.lyx/layouts/beamer.layout to the place 
where beamer.layout is.

  The other option is to download beamer.layout and place it in 
~/.lyx/layouts/

 Thanks
 Tobias

-- 
José Abílio


Copying A Table Float Across Documents

2005-09-19 Thread Rich Shepard

  I want to copy a table -- as a table -- from one document to another, but
my attempts so far have failed.

  I've opened the table in the source document, highlighted the entire table,
used ctrl-c to copy it to the clipboard, switched focus to the destination
document, and used the Edit-External paste feature. I get a solid paragraph,
not a table, with this approach. I've also tried to copy the grey table
from the source to the destination, but get the same non-table results with
this.

  I've also searched on the TeXnik.de and wiki pages without seeing an
answer.

  Is there a way to copy the table from one document to another?

TIA,

Rich

--
Dr. Richard B. Shepard, President |   Author of Quantifying Environmental
Applied Ecosystem Services, Inc. (TM) |  Impact Assessments Using Fuzzy Logic
http://www.appl-ecosys.com Voice: 503-667-4517 Fax: 503-667-8863


Re: Copying A Table Float Across Documents

2005-09-19 Thread Paul Smith
On 9/19/05, Rich Shepard [EMAIL PROTECTED] wrote:
I want to copy a table -- as a table -- from one document to another, but
 my attempts so far have failed.
 
I've opened the table in the source document, highlighted the entire table,
 used ctrl-c to copy it to the clipboard, switched focus to the destination
 document, and used the Edit-External paste feature. I get a solid paragraph,
 not a table, with this approach. I've also tried to copy the grey table
 from the source to the destination, but get the same non-table results with
 this.
 
I've also searched on the TeXnik.de and wiki pages without seeing an
 answer.
 
Is there a way to copy the table from one document to another?

This is not the cleanest solution, Rich, but your goal may be achieved
by using a text editor to copy the table, without doing it inside LyX.
(I am assuming both documents are LyX ones.)

Paul


Re: Copying A Table Float Across Documents

2005-09-19 Thread Rich Shepard

On Mon, 19 Sep 2005, Paul Smith wrote:


This is not the cleanest solution, Rich, but your goal may be achieved by
using a text editor to copy the table, without doing it inside LyX. (I am
assuming both documents are LyX ones.)


Paul,

  You'd think that after all this time I'd just do that, wouldn't you?

Thanks,

Rich

--
Dr. Richard B. Shepard, President |   Author of Quantifying Environmental
Applied Ecosystem Services, Inc. (TM) |  Impact Assessments Using Fuzzy Logic
http://www.appl-ecosys.com Voice: 503-667-4517 Fax: 503-667-8863


From the ashes www.lyx.org/devel (formely www.devel.lyx.org)

2005-09-19 Thread Lars Gullik Bjønnes

Www.devel.lyx.org is dead (learn to live with it)

Long live www.lyx.org/devel

same contents different wrapping.

Please tell about broken links etc. (especially internal links, or
links that make mirroring harder than necessary)

-- 
Lgb


Re: From the ashes www.lyx.org/devel (formely www.devel.lyx.org)

2005-09-19 Thread Bo Peng
 Please tell about broken links etc. (especially internal links, or
 links that make mirroring harder than necessary)
 

please update the cvs information. 

/cvs/lyx, no such repository.

Bo


Re: From the ashes www.lyx.org/devel (formely www.devel.lyx.org)

2005-09-19 Thread Lars Gullik Bjønnes
Bo Peng [EMAIL PROTECTED] writes:

|  Please tell about broken links etc. (especially internal links, or
|  links that make mirroring harder than necessary)
|  
| 
| please update the cvs information. 
| 
| /cvs/lyx, no such repository.

I'll leave that to the ones that know what the correct patch should
be.

-- 
Lgb



Re: From the ashes www.lyx.org/devel (formely www.devel.lyx.org)

2005-09-19 Thread Kayvan A. Sylvan
On Mon, Sep 19, 2005 at 04:15:22PM +0200, Lars Gullik Bjønnes wrote:
 Bo Peng [EMAIL PROTECTED] writes:
 
 |  Please tell about broken links etc. (especially internal links, or
 |  links that make mirroring harder than necessary)
 |  
 | 
 | please update the cvs information. 
 | 
 | /cvs/lyx, no such repository.

It should now be /var/cvs/lyx

-- 
Kayvan A. Sylvan  | Proud husband of   | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | crown of her husband | Robin Gregory (2/28/92)


Re: Fails to convert image (at preview)

2005-09-19 Thread Koji Yokota

Angus,

Thank you for your advice.

I'm using version 1.3.5 (actually it's CJK-Lyx-1.3.5 but I don't think 
CJK patch is related to this problem) and I'm using the temporary 
directory (/tmp).


Looking at the debug information of 'lyx -dbg graphics', it seems that 
the created script for the conversion of image does not specify the 
output file.  Here is the content of the script (+debug info):


PreviewLoader::finishedInProgress(1): processing failed for 
/usr/local/share/lyx/scripts/lyxpreview2ppm.py 
/tmp/lyx_tmpdir79676GFtWvQ/lyx_tmpbuf0/0lyxpreview.tex 109 ppm

Recognised Fileformat: eps
[GrahicsCacheItem::convertToDisplayFormat]
Attempting to convert image file: /hoge/hoge.eps
with displayed filename: /hoge/hoge.eps
Recognised Fileformat: eps

The file contains eps format data.
Unable to convert from eps to bmp
Unable to convert from eps to gif
Unable to convert from eps to jpg
Unable to convert from eps to pbm
Unable to convert from eps to pgm
Unable to convert from eps to png
Converting it to ppm format.
Converter c-tor:
from_file:  /hoge/hoge.eps
to_file_base: /tmp/lyx_tmpdir79676GFtWvQ/Diamond82-179676XOhtkh
from_format:  eps
to_format:ppm
build_script ... ready!
Conversion script:
--
#!/bin/sh
infile='/hoge/hoge.eps'
infile_base='/hoge'
outfile='/tmp/lyx_tmpdir79676GFtWvQ/gconvert079676yHQsea.ppm'

pstopnm ${infile} ||
{
'rm' -f ${outfile}
exit 1
}

if [ ! -f ${outfile} ]; then
if [ -f ${outfile}.0 ]; then
'mv' -f ${outfile}.0 ${outfile}
'rm' -f ${outfile}.?
else
exit 1
fi
fi

fromfile=${outfile}
tofile='/tmp/lyx_tmpdir79676GFtWvQ/Diamond82-179676XOhtkh.ppm'

'mv' -f ${fromfile} ${tofile} ||
{
'cp' -f ${fromfile} ${tofile} ||
{
exit 1
}
'rm' -f ${fromfile}
}
--
pstopnm: Writing ppmraw file
Image conversion failed.
Unable to find converted file!


I'm using netpbm-10.26.14 on FreeBSD-5.4 and the man page of netpbm says:


If you use the -stdout  option, pstopnm outputs images of all the pages
 


as a multi-image file to Standard Output.  Otherwise,  pstopnm  creates
one file for each page in the Postscript document.  The files are named
as follows: If the input file is named psfile.ps, the name of the files
will  be  psfile001.ppm,  psfile002.ppm,  etc.


So, it seems the phenomenon I observed is a natural consequence in my 
current environment.

Do I need to modify lyxpreview2ppm.py?

Angus Leeming wrote:


Koji Yokota wrote:

 


LyX has been failing to show image preview when I insert graphics in
LyX document from some time ago.

LyX simply shows a box which says failed to convert image at the
place I inserted graphics. However, LyX seems successfully
converting the image in the same directory as the document and
image. For example, when the file name of the inserted image is
test.eps, it creates a file test.eps001.ppm which is not broken.
So, the problem looks simply LyX cannot correctly find
test.eps001.ppm.

Can you suggest how to correct the problem? Thank you in advance.
   



* Could you tell us what version of LyX you are using?

* Are you using a temporary directory? To check:

Using the Qt frontend look in the Paths pane of the Edit-Preferences
dialog.

[x] Use temporary directory [/tmp] [Browse...]

Using the XForms frontend look in the Input-Paths tab of the
Edit-Preferences dialog.

Temp dir: [x] [/tmp] [Browse...]


I'm very surprised by the generated filenames too.
lyx -dbg graphics
should dump a whole heap of information to the console to help you
diagnose the problem.

Angus


 



Koji Yokota ([EMAIL PROTECTED])
Department of Economics
Otaru University of Commerce




Re: Copying A Table Float Across Documents

2005-09-19 Thread samar



  I want to copy a table -- as a table -- from one document to another, 
but

my attempts so far have failed.

  I've opened the table in the source document, highlighted the entire 
table,

used ctrl-c to copy it to the clipboard, switched focus to the destination
document, and used the Edit-External paste feature. I get a solid 
paragraph,

not a table, with this approach. I've also tried to copy the grey table
from the source to the destination, but get the same non-table results 
with

this.

  I've also searched on the TeXnik.de and wiki pages without seeing an
answer.

  Is there a way to copy the table from one document to another?


I have used this for some time but have just checked it out to see if it 
also works on 1.3.6


You first need to create  a blank table with the same number of columns and 
rows as the original in your destination document. Ideally the same 
structure


Copy the source into the destination but make sure you have the cursor in 
the top left hand cell.


Sometimes, just sometimes, doing this copies the whole table  as it is, 
ignoring your blank table.


samar




Re: Copying A Table Float Across Documents

2005-09-19 Thread Rich Shepard

On Tue, 20 Sep 2005, samar wrote:


You first need to create  a blank table with the same number of columns and
rows as the original in your destination document. Ideally the same
structure

Copy the source into the destination but make sure you have the cursor in the 
top left hand cell.


Sometimes, just sometimes, doing this copies the whole table  as it is, 
ignoring your blank table.


samar,

  Thanks. I was going to create the table outline then copy each cell
individually.

  What I actually did was open the source .lyx file in one virtual console,
block the whole table, and save that to a separate text file. Then I opened
the destination .lyx file and imported the code at the right place.

  Unfortunately, the destination document is a beamer-class presentation and
the table is far too large to fit on a single slide. Sigh. I'll have to trim
cells off and see what I can get to compile and display.

Rich

--
Dr. Richard B. Shepard, President |   Author of Quantifying Environmental
Applied Ecosystem Services, Inc. (TM) |  Impact Assessments Using Fuzzy Logic
http://www.appl-ecosys.com Voice: 503-667-4517 Fax: 503-667-8863


Re: Open, take two

2005-09-19 Thread Andre Berger
* Mike Meyer <[EMAIL PROTECTED]>, 2005-09-19 08:20 +0200:
> In <[EMAIL PROTECTED]>, Andre Berger <[EMAIL PROTECTED]> typed:
> > * Mike Meyer <[EMAIL PROTECTED]>, 2005-09-19 06:40 +0200:
> > > In <[EMAIL PROTECTED]>, Bo Peng <[EMAIL PROTECTED]> typed:
> > [...]
> > > And under OS X, it's called open, but it's not as powerful as what
> > > I've written.
> > Give it a different name to avoid unnecessary confusion.
> 
> Got any suggestions?

"opening"? A phantasy name?

-Andre


Re: Open, take two

2005-09-19 Thread Bo Peng
> "opening"? A phantasy name?

Nope, 'opening' sounds like a noun, not a verb. (BTW, I am looking for
a job, if your company has an opening, drop me an email. :-)

I do not have any good idea either. If I have to choose one, maybe 'invoke'?

BTW, all file managers under linux (CDE, konqueror, nautilus etc) have
their own ways of file association, have you looked at their methods?

Bo


Re: Portability to Neo/Open/Star Office?

2005-09-19 Thread Charles de Miramon
Mike Meyer wrote:

 
> I think I've spent enough time on this today. Suggestions on where to
> look for clues would be appreciated.
> 

You could try also latex2rtf a commandline latex to rtf converter. It works
quite well. It is less powerful than tex4ht but faster. But I doubt that
revision marks can be exported.

You could try also the commercial Tex2word http://www.word2tex.com/
Cheers,
Charles
-- 
http://www.kde-france.org



[Fwd: IEEE Transactions Template]

2005-09-19 Thread Ekkehart Schlicht




My Lyx (1.3.7cvs) has an IEEE document style. Maybe your Latex
doesn't have it. I include the files and the folder that may be stored
at ~\localtexmf\tex\latex\ieeetran, and the filename databases of Latex
refreshed. Reconfiguring LyX should permit to select Layout->Document->
Document class -> article (IEEEtran).

HTH

Ekkehart

attached:
IEEEtran.cls
IEEEtrantools.sty






Re: [Fwd: IEEE Transactions Template]

2005-09-19 Thread Roy Schestowitz

_/ On Mon 19 Sep 2005 15:19:31 BST, [Ekkehart Schlicht] wrote : \_


My Lyx (1.3.7cvs) has an IEEE document style. Maybe your Latex
doesn't have it. I include the files and the folder that may be stored
at ~\localtexmf\tex\latex\ieeetran, and the filename databases of Latex
refreshed. Reconfiguring LyX should permit to select Layout->Document->
Document class -> article (IEEEtran).

HTH

Ekkehart

attached:
IEEEtran.cls
IEEEtrantools.sty



Thank you, Ekkehart. You are right, it doesn't seem to exist or simply isn't
installed according to what I can gather.

Many thanks again,

Roy

--
Roy S. Schestowitz
http://Schestowitz.com  |SuSE Linux| PGP-Key: 74572E8E
 4:40pm  up 25 days  4:54,  4 users,  load average: 0.45, 0.61, 0.62




Re: prosper in lyx 1.3.4

2005-09-19 Thread Jose' Matos
On Saturday 17 September 2005 18:17, [EMAIL PROTECTED] wrote:
> Hi,
> i'm currently testing lyx, working together with prosper
> (as i need for a special *.lyx file).
> But lyx (1.3.4) seems not to know the prosper package, also it is
> installed.
>
> Im using the debian based distro ubuntu and installed via
> apt-get install lyx
> apt-get install prosper
>
> How can i add the prosper textclass to lyx 1.3.4

  The lyx layout file that comes with beamer is installed in a place that lyx 
can't find.

  One option is to create a symbolic link in your lyx directory to it, i.e., 
to create a symbolic link from ~/.lyx/layouts/beamer.layout to the place 
where beamer.layout is.

  The other option is to download beamer.layout and place it in 
~/.lyx/layouts/

> Thanks
> Tobias

-- 
José Abílio


Copying A Table Float Across Documents

2005-09-19 Thread Rich Shepard

  I want to copy a table -- as a table -- from one document to another, but
my attempts so far have failed.

  I've opened the table in the source document, highlighted the entire table,
used ctrl-c to copy it to the clipboard, switched focus to the destination
document, and used the Edit->External paste feature. I get a solid paragraph,
not a table, with this approach. I've also tried to copy the grey "table"
from the source to the destination, but get the same non-table results with
this.

  I've also searched on the TeXnik.de and wiki pages without seeing an
answer.

  Is there a way to copy the table from one document to another?

TIA,

Rich

--
Dr. Richard B. Shepard, President |   Author of "Quantifying Environmental
Applied Ecosystem Services, Inc. (TM) |  Impact Assessments Using Fuzzy Logic"
 Voice: 503-667-4517 Fax: 503-667-8863


Re: Copying A Table Float Across Documents

2005-09-19 Thread Paul Smith
On 9/19/05, Rich Shepard <[EMAIL PROTECTED]> wrote:
>I want to copy a table -- as a table -- from one document to another, but
> my attempts so far have failed.
> 
>I've opened the table in the source document, highlighted the entire table,
> used ctrl-c to copy it to the clipboard, switched focus to the destination
> document, and used the Edit->External paste feature. I get a solid paragraph,
> not a table, with this approach. I've also tried to copy the grey "table"
> from the source to the destination, but get the same non-table results with
> this.
> 
>I've also searched on the TeXnik.de and wiki pages without seeing an
> answer.
> 
>Is there a way to copy the table from one document to another?

This is not the cleanest solution, Rich, but your goal may be achieved
by using a text editor to copy the table, without doing it inside LyX.
(I am assuming both documents are LyX ones.)

Paul


Re: Copying A Table Float Across Documents

2005-09-19 Thread Rich Shepard

On Mon, 19 Sep 2005, Paul Smith wrote:


This is not the cleanest solution, Rich, but your goal may be achieved by
using a text editor to copy the table, without doing it inside LyX. (I am
assuming both documents are LyX ones.)


Paul,

  You'd think that after all this time I'd just do that, wouldn't you?

Thanks,

Rich

--
Dr. Richard B. Shepard, President |   Author of "Quantifying Environmental
Applied Ecosystem Services, Inc. (TM) |  Impact Assessments Using Fuzzy Logic"
 Voice: 503-667-4517 Fax: 503-667-8863


From the ashes www.lyx.org/devel (formely www.devel.lyx.org)

2005-09-19 Thread Lars Gullik Bjønnes

Www.devel.lyx.org is dead (learn to live with it)

Long live www.lyx.org/devel

same contents different wrapping.

Please tell about broken links etc. (especially internal links, or
links that make mirroring harder than necessary)

-- 
Lgb


Re: From the ashes www.lyx.org/devel (formely www.devel.lyx.org)

2005-09-19 Thread Bo Peng
> Please tell about broken links etc. (especially internal links, or
> links that make mirroring harder than necessary)
> 

please update the cvs information. 

/cvs/lyx, no such repository.

Bo


Re: From the ashes www.lyx.org/devel (formely www.devel.lyx.org)

2005-09-19 Thread Lars Gullik Bjønnes
Bo Peng <[EMAIL PROTECTED]> writes:

| > Please tell about broken links etc. (especially internal links, or
| > links that make mirroring harder than necessary)
| > 
| 
| please update the cvs information. 
| 
| /cvs/lyx, no such repository.

I'll leave that to the ones that know what the correct patch should
be.

-- 
Lgb



Re: From the ashes www.lyx.org/devel (formely www.devel.lyx.org)

2005-09-19 Thread Kayvan A. Sylvan
On Mon, Sep 19, 2005 at 04:15:22PM +0200, Lars Gullik Bjønnes wrote:
> Bo Peng <[EMAIL PROTECTED]> writes:
> 
> | > Please tell about broken links etc. (especially internal links, or
> | > links that make mirroring harder than necessary)
> | > 
> | 
> | please update the cvs information. 
> | 
> | /cvs/lyx, no such repository.

It should now be /var/cvs/lyx

-- 
Kayvan A. Sylvan  | Proud husband of   | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)


Re: Fails to convert image (at preview)

2005-09-19 Thread Koji Yokota

Angus,

Thank you for your advice.

I'm using version 1.3.5 (actually it's CJK-Lyx-1.3.5 but I don't think 
CJK patch is related to this problem) and I'm using the temporary 
directory (/tmp).


Looking at the debug information of 'lyx -dbg graphics', it seems that 
the created script for the conversion of image does not specify the 
output file.  Here is the content of the script (+debug info):


PreviewLoader::finishedInProgress(1): processing failed for 
/usr/local/share/lyx/scripts/lyxpreview2ppm.py 
/tmp/lyx_tmpdir79676GFtWvQ/lyx_tmpbuf0/0lyxpreview.tex 109 ppm

Recognised Fileformat: eps
[GrahicsCacheItem::convertToDisplayFormat]
Attempting to convert image file: /hoge/hoge.eps
with displayed filename: /hoge/hoge.eps
Recognised Fileformat: eps

The file contains eps format data.
Unable to convert from eps to bmp
Unable to convert from eps to gif
Unable to convert from eps to jpg
Unable to convert from eps to pbm
Unable to convert from eps to pgm
Unable to convert from eps to png
Converting it to ppm format.
Converter c-tor:
from_file:  /hoge/hoge.eps
to_file_base: /tmp/lyx_tmpdir79676GFtWvQ/Diamond82-179676XOhtkh
from_format:  eps
to_format:ppm
build_script ... ready!
Conversion script:
--
#!/bin/sh
infile='/hoge/hoge.eps'
infile_base='/hoge'
outfile='/tmp/lyx_tmpdir79676GFtWvQ/gconvert079676yHQsea.ppm'

pstopnm "${infile}" ||
{
'rm' -f "${outfile}"
exit 1
}

if [ ! -f "${outfile}" ]; then
if [ -f "${outfile}".0 ]; then
'mv' -f "${outfile}".0 "${outfile}"
'rm' -f "${outfile}".?
else
exit 1
fi
fi

fromfile="${outfile}"
tofile='/tmp/lyx_tmpdir79676GFtWvQ/Diamond82-179676XOhtkh.ppm'

'mv' -f "${fromfile}" "${tofile}" ||
{
'cp' -f "${fromfile}" "${tofile}" ||
{
exit 1
}
'rm' -f "${fromfile}"
}
--
pstopnm: Writing ppmraw file
Image conversion failed.
Unable to find converted file!


I'm using netpbm-10.26.14 on FreeBSD-5.4 and the man page of netpbm says:


If you use the -stdout  option, pstopnm outputs images of all the pages
 


as a multi-image file to Standard Output.  Otherwise,  pstopnm  creates
one file for each page in the Postscript document.  The files are named
as follows: If the input file is named psfile.ps, the name of the files
will  be  psfile001.ppm,  psfile002.ppm,  etc.


So, it seems the phenomenon I observed is a natural consequence in my 
current environment.

Do I need to modify lyxpreview2ppm.py?

Angus Leeming wrote:


Koji Yokota wrote:

 


LyX has been failing to show image preview when I insert graphics in
LyX document from some time ago.

LyX simply shows a box which says "failed to convert image" at the
place I inserted graphics. However, LyX seems successfully
converting the image in the same directory as the document and
image. For example, when the file name of the inserted image is
"test.eps", it creates a file "test.eps001.ppm" which is not broken.
So, the problem looks simply LyX cannot correctly find
"test.eps001.ppm".

Can you suggest how to correct the problem? Thank you in advance.
   



* Could you tell us what version of LyX you are using?

* Are you using a temporary directory? To check:

Using the Qt frontend look in the Paths pane of the Edit->Preferences
dialog.

[x] Use temporary directory [/tmp] [Browse...]

Using the XForms frontend look in the Input->Paths tab of the
Edit->Preferences dialog.

Temp dir: [x] [/tmp] [Browse...]


I'm very surprised by the generated filenames too.
lyx -dbg graphics
should dump a whole heap of information to the console to help you
diagnose the problem.

Angus


 



Koji Yokota ([EMAIL PROTECTED])
Department of Economics
Otaru University of Commerce




Re: Copying A Table Float Across Documents

2005-09-19 Thread samar



  I want to copy a table -- as a table -- from one document to another, 
but

my attempts so far have failed.

  I've opened the table in the source document, highlighted the entire 
table,

used ctrl-c to copy it to the clipboard, switched focus to the destination
document, and used the Edit->External paste feature. I get a solid 
paragraph,

not a table, with this approach. I've also tried to copy the grey "table"
from the source to the destination, but get the same non-table results 
with

this.

  I've also searched on the TeXnik.de and wiki pages without seeing an
answer.

  Is there a way to copy the table from one document to another?


I have used this for some time but have just checked it out to see if it 
also works on 1.3.6


You first need to create  a blank table with the same number of columns and 
rows as the original in your destination document. Ideally the same 
structure


Copy the source into the destination but make sure you have the cursor in 
the top left hand cell.


Sometimes, just sometimes, doing this copies the whole table  as it is, 
ignoring your blank table.


samar




Re: Copying A Table Float Across Documents

2005-09-19 Thread Rich Shepard

On Tue, 20 Sep 2005, samar wrote:


You first need to create  a blank table with the same number of columns and
rows as the original in your destination document. Ideally the same
structure

Copy the source into the destination but make sure you have the cursor in the 
top left hand cell.


Sometimes, just sometimes, doing this copies the whole table  as it is, 
ignoring your blank table.


samar,

  Thanks. I was going to create the table outline then copy each cell
individually.

  What I actually did was open the source .lyx file in one virtual console,
block the whole table, and save that to a separate text file. Then I opened
the destination .lyx file and imported the code at the right place.

  Unfortunately, the destination document is a beamer-class presentation and
the table is far too large to fit on a single slide. Sigh. I'll have to trim
cells off and see what I can get to compile and display.

Rich

--
Dr. Richard B. Shepard, President |   Author of "Quantifying Environmental
Applied Ecosystem Services, Inc. (TM) |  Impact Assessments Using Fuzzy Logic"
 Voice: 503-667-4517 Fax: 503-667-8863