Re: Writing Lyx on a text editor

2005-02-02 Thread chr
On Tue, 1 Feb 2005, Jose Capco wrote:

 output (like lyx claims to produce) on the screen (the
 printed output is pretty much like LaTeX) but its fine
 anyway..
Considering that LyX uses LaTeX to produce the output it should really be 
*exactly* the same..

 Oh by the by.. not related to the topic here. Is there
 a way to view the (most recent!) mailing list posts
 without checking it up in the email (like in a
 newsgroup or a http site.. someone has to put up a lyx
 newsgroup , that way I think its more practical) 

Reading http://wiki.lyx.org/LyX/InternetResources I found the link to the 
gmane interface as follows:
http://news.gmane.org/gmane.editors.lyx.general/

/Christian

-- 
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr




Re: Writing Lyx on a text editor

2005-02-02 Thread Jose' Matos
On Wednesday 02 February 2005 07:30, Jose Capco wrote:

 Oh by the by.. not related to the topic here. Is there
 a way to view the (most recent!) mailing list posts
 without checking it up in the email (like in a
 newsgroup or a http site.. someone has to put up a lyx
 newsgroup , that way I think its more practical)

  Not it is not, IMO. :-)

  But I think that you are searching this:
http://dir.gmane.org/gmane.editors.lyx.general

 Sincerely,
 Jose Capco

-- 
José Abílio


thanks to LyX team

2005-02-02 Thread Olivier Ripoll
Hi all,
I just wanted to thank the LyX team for the work they do. I have written 
my PhD thesis 2 years ago with LyX, and it never failed on me. Even when 
X crashed once (in a 6 month period), LyX managed not to loose a single 
letter of my work.

It may seem late to thank the team now, but since I have now an 
anti-spam email (thanks yahoo) and my thesis have been finally uploaded 
on the web site of the university, I thought better late than ever ;)
The pdf (acrobat-friendly) can be found at:
http://www-optics.unine.ch/publications/theses/Thesis_Ripoll.pdf

Cheers,
Olivier Ripoll.
PS: I know at least two other theses written with LyX at the same 
institute, one of which is also online now:
http://www-optics.unine.ch/publications/theses/Thesis_Gonte.pdf



Re: thanks to LyX team

2005-02-02 Thread Jean-Marc Lasgouttes
 Olivier == Olivier Ripoll [EMAIL PROTECTED] writes:

Olivier Hi all, I just wanted to thank the LyX team for the work they
Olivier do. I have written my PhD thesis 2 years ago with LyX, and it
Olivier never failed on me. Even when X crashed once (in a 6 month
Olivier period), LyX managed not to loose a single letter of my work.

Thanks for your kind words. 

And congratualtions for your thesis, although I am of course 2 years
late...

JMarc



tex2lyx for Linux

2005-02-02 Thread Paul Smith
Dear All

I remember Angus has recently produced a version of tex2lyx for MS
Windows. Is there a Linux version of it to run autonomously, that is,
without having LyX 1.4 cvs installed?

Thanks in advance,

Paul


Re: thanks to LyX team

2005-02-02 Thread samar j. singh
Hi

I would  like to join the applause for the lyx team. Although Lyx was not
around when I  did mine, I use it  very extensively for writing proposals
and just about everything else. I had years of latex and miktex before my
linux days.There is a world of difference when  you have to do
bibliographies and an index apart from all the other  productivity. Coming
to latex was a wonderful leap. Taking to Lyx is a whole new world.

The only problem is  when one has to talk to the rest of the world in .doc

The lyx team has done a grand job and its nice to be able to say thank you
now that  we have been reminded not to take it for granted.

samar

- Original Message - 
From: Jean-Marc Lasgouttes [EMAIL PROTECTED]
To: Olivier Ripoll [EMAIL PROTECTED]
Cc: lyx-users@lists.lyx.org
Sent: Wednesday, February 02, 2005 4:17 PM
Subject: Re: thanks to LyX team


  Olivier == Olivier Ripoll [EMAIL PROTECTED] writes:

 Olivier Hi all, I just wanted to thank the LyX team for the work they
 Olivier do. I have written my PhD thesis 2 years ago with LyX, and it
 Olivier never failed on me. Even when X crashed once (in a 6 month
 Olivier period), LyX managed not to loose a single letter of my work.

 Thanks for your kind words.

 And congratualtions for your thesis, although I am of course 2 years
 late...

 JMarc





Re: tex2lyx for Linux

2005-02-02 Thread Jose Capco
I would be interested too.. I would also be interested
in a tex2lyx standalone (ie. would run without one
having lyx in his system) if this is possible. I just
downloaded Angus's tex2lyx but Im not sure if it works
for window users who installed lyx using cygwin (I
didnt tried other lyx versions for windows ... I
thought since I have cygwin already I will just do
with this version), it wasnt able to find the .ltx
file even if I put it in the sysdir parameter of
tex2lyx. 

... but then again, I dont think this was meant to be
used in cygwin.

Sincerely,
Jose Capco

--- Paul Smith [EMAIL PROTECTED] wrote:

 Dear All
 
 I remember Angus has recently produced a version of
 tex2lyx for MS
 Windows. Is there a Linux version of it to run
 autonomously, that is,
 without having LyX 1.4 cvs installed?
 
 Thanks in advance,
 
 Paul
 




__ 
Do you Yahoo!? 
Yahoo! Mail - Easier than ever with enhanced search. Learn more.
http://info.mail.yahoo.com/mail_250


Re: tex2lyx for Linux

2005-02-02 Thread Angus Leeming
Paul Smith wrote:

 Dear All
 
 I remember Angus has recently produced a version of tex2lyx for MS
 Windows. Is there a Linux version of it to run autonomously, that is,
 without having LyX 1.4 cvs installed?

No, because different flavours of linux have different run time libraries
and a single binary would probably crash mysteriously. It really isn't
that hard to build if you have a compiler installed. I think I did:

./autogen.sh
mkdir build  cd build
../configure
(cd boost  make)
(cd src/support  make)
(cd src/tex2lyx  make install)
(cd lib  make install)

and then pruned the resulting $PREFIX/share/lyx directory to the state I
described in the original mail. Took maybe 10 minutes to do?

Of course, I have a functioning build environment, but that should be a
doddle to set up on a modern linux machine.

-- 
Angus



Re: tex2lyx for Linux

2005-02-02 Thread Angus Leeming
Jose Capco wrote:

 I would be interested too.. I would also be interested
 in a tex2lyx standalone (ie. would run without one
 having lyx in his system) if this is possible. I just
 downloaded Angus's tex2lyx but Im not sure if it works
 for window users who installed lyx using cygwin (I
 didnt tried other lyx versions for windows ... I
 thought since I have cygwin already I will just do
 with this version), it wasnt able to find the .ltx
 file even if I put it in the sysdir parameter of
 tex2lyx.
 
 ... but then again, I dont think this was meant to be
 used in cygwin.
 
 Sincerely,
 Jose Capco

This is a native Windows executable. It doesn't understand Cygwin-style,
posix-ish paths.

Can you run it from a CMD prompt? Ie, pass it Windows-style paths as I did
in the example I posted.

-- 
Angus



Viewing eps/pdf within LyXWin on Windows 2000

2005-02-02 Thread nburgan
Hello All,

I have installed LyXWin ((lyx-1.3.5-win32-nc.exe) on Windows 2000
following the instructions on the LyW WikiWiki – LyX.WindowsSetup webpage.

Despite quite a bit of fiddling around I can’t get .eps or .pdf files to
display within LyX when I insert them into a document. When I insert such
a figure I get the message “Error conveting to loadable format” in the box
where the picture should be displayed. The output DVI is fine though.

When running LyX in debug mode I can see that the problem is

C:/lyx/share/lyx/scripts/convertDefault.sh ERROR
Unable to find file C:/lyx/tmp/lyx_tmpdir1056a00432/aulogo1056a00432.ppm

If I understand it correctly LyX uses ImageMagick (convert) which uses
Ghostscript to display .eps and .pdf images within LyX. When I reconfigure
LyX I can see that it does not see to find “gs”.

checking for Image converter... (convert)
+checking for convert... yes
checking for a Postscript interpreter... (gs)
+checking for gs... no
checking for a Postscript previewer... (gsview32 gv ghostview)
+checking for gsview32... yes
checking for a PDF preview... (acrobat acrord32 gsview32 acroread gv ghost
pdf)
+checking for acrobat... no
+checking for acrord32... yes

It seems that it can’t find the Postscript interpreter “gs”. Shouldn’t
LyXWin be looking for “gswin32” anyway? (The location of gswin32 is in the
path). I have included the whole reconfigure output at the end of this
email.

Any help would be appreciated.
Thanks in advance

Nick Burgan

Reconfigure output


C:/lyx/share/lyx/configure
C:\lyx\share\lyx\..\..\bin;C:\lyx\bin\;c:\gs\gs8.50\bin;c:\ghostgum\gsview
xmf\miktex\bin;c:\program files\adobe\acrobat 6.0\reader;c:\imagemagick-6.
6;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\WINNT\system32\nls;
NT\system32\nls\ENGLISH;C:\Program Files\SSH Communications Security\SSH S
Shell
checking for a LaTeX2e program... (latex latex2e)
+checking for latex... yes
checking for the pdflatex program... (pdflatex)
+checking for pdflatex... yes
checking for a LaTeX - LyX converter... (reLyX)
+checking for reLyX... yes
checking for a Noweb - LyX converter... (noweb2lyx)
+checking for noweb2lyx... yes
checking for a Noweb - LaTeX converter... (noweave)
+checking for noweave... no
checking for a HTML - Latex converter... (html2latex)
+checking for html2latex... no
checking for a MSWord - Latex converter... (wvCleanLatex word2x)
+checking for wvCleanLatex... no
+checking for word2x... no
checking for Image converter... (convert)
+checking for convert... yes
checking for a Postscript interpreter... (gs)
+checking for gs... no
checking for a Postscript previewer... (gsview32 gv ghostview)
+checking for gsview32... yes
checking for a PDF preview... (acrobat acrord32 gsview32 acroread gv ghost
pdf)
+checking for acrobat... no
+checking for acrord32... yes
checking for a DVI previewer... (xdvi windvi yap)
+checking for xdvi... no
+checking for windvi... no
+checking for yap... yes
checking for a HTML previewer... (mozilla file://$$p$$i netscape)
+checking for mozilla... no
+checking for netscape... no
checking for a PS to PDF converter... (ps2pdf)
+checking for ps2pdf... no
checking for a DVI to PS converter... (dvips)
+checking for dvips... yes
checking for a DVI to PDF converter... (dvipdfm)
+checking for dvipdfm... yes
checking for a *roff formatter... ('groff -t -Tlatin1 280FName' nroff)
+checking for groff... no
+checking for nroff... no
checking for ChkTeX... (chktex -n1 -n3 -n6 -n9 -n22 -n25 -n30 -n38)
+checking for chktex... no
checking for a spell-checker... (ispell)
+checking for ispell... no
checking for Octave... (octave)
+checking for octave... no
checking for Maple... (maple)
+checking for maple... no
checking for a fax program... (kdeprintfax ksendfax)
+checking for kdeprintfax... no
+checking for ksendfax... no
checking for SGML-tools 1.x (LinuxDoc)... (sgml2lyx)
+checking for sgml2lyx... no
checking for SGML-tools 2.x (DocBook) or db2x scripts... (sgmltools db2dvi
+checking for sgmltools... no
+checking for db2dvi... no
checking for a spool command... (lp lpr)
+checking for lp... no
+checking for lpr... yes
checking for a LaTeX - HTML converter... (tth latex2html hevea)
+checking for tth... no
+checking for latex2html... no
+checking for hevea... no
checking LaTeX configuration... auto
+Inspecting your LaTeX configuration.
+checking for LaTeX version... 2001/06/01
+checking for default encoding (this may take a long time)
+  checking for ec fonts... yes
+  checking for ec support in LaTeX format... yes
+checking for document class IEEEtran [IEEEtran]... yes
...
+checking for document class svprobth [svjour,svprobth.clo]... no
+checking for package a4 [a4]... yes
...
+checking for package graphicx [graphicx]... yes
+checking for graphics driver... default
+checking for package psnfss [times.sty]... yes
+Inspection done.
+Read the file doc/LaTeXConfig.lyx for more information.
creating packages.lst
creating doc/LaTeXConfig.lyx
sed: file chkconfig.sed line 1: 

Re: Viewing eps/pdf within LyXWin on Windows 2000

2005-02-02 Thread Angus Leeming
[EMAIL PROTECTED] wrote:

 Hello All,
 
 I have installed LyXWin ((lyx-1.3.5-win32-nc.exe) on Windows 2000
 following the instructions on the LyW WikiWiki – LyX.WindowsSetup
 webpage.
 
 Despite quite a bit of fiddling around I can’t get .eps or .pdf files to
 display within LyX when I insert them into a document. When I insert such
 a figure I get the message “Error conveting to loadable format” in the
 box where the picture should be displayed. The output DVI is fine though.
 
 When running LyX in debug mode I can see that the problem is
 
 C:/lyx/share/lyx/scripts/convertDefault.sh ERROR
 Unable to find file
 C:/lyx/tmp/lyx_tmpdir1056a00432/aulogo1056a00432.ppm

This is a weird and wonderful bug to do with the sh.exe on Windows. You
think that temp directory is C:/lyx/tmp. I think it is too. sh.exe
mysteriously uses something else (the  %TMPPATH% environment variable or
somesuch).

The fix is straightforward. Just remove the last few lines of
convertDefault.sh. They're not needed and are screwing things up here.

-# It appears that convert succeeded, but we know better than to trust
it ;-)
-# convert is passed strings in the form FMT:FILENAME, so use the ':' to
-# delimit the two parts.
-# Note that Win32 filenames have the form 'C:\my\file',
-# so use everything from the first ':' to the end of the line.
-FILE=`echo $2 | cut -d ':' -f 2-`
-
-test -f $FILE || {
-   echo $0 ERROR
-   echo Unable to find file \${FILE}\
-   exit 1
-}
-
-echo $0 generated file \${FILE}\ successfully.

-- 
Angus



Re: tex2lyx for Linux

2005-02-02 Thread Jose Capco
No! In fact I even installed Ruurd Reitsma's port just
to test this and it didnt worked 

I installed the windows port in C:\Lyx directory.. and
then extracted the file in the tex2lyx zipfile you
posted today to their respective paths and then after
running I got something like
--
Unable to determine the path to the LyX binary from
the command line tex2lyx


in the shell (I put the bin directory in my path so I
can run tex2lyx anywhere.. but it didnt even worked
when I tried it where it was copied).

Jose Capco


--- Angus Leeming [EMAIL PROTECTED] wrote:
 This is a native Windows executable. It doesn't
 understand Cygwin-style,
 posix-ish paths.
 
 Can you run it from a CMD prompt? Ie, pass it
 Windows-style paths as I did
 in the example I posted.
 
 -- 
 Angus
 
 




__ 
Do you Yahoo!? 
Yahoo! Mail - Easier than ever with enhanced search. Learn more.
http://info.mail.yahoo.com/mail_250


Re: tex2lyx for Linux

2005-02-02 Thread Angus Leeming
On Wednesday 02 February 2005 13:31, you wrote:
 No!

Ach!

 In fact I even installed Ruurd Reitsma's port just 
 to test this and it didnt worked

Why did you think you needed this?

 I installed the windows port in C:\Lyx directory.. and
 then extracted the file in the tex2lyx zipfile you
 posted today to their respective paths and then after
 running I got something like

Just a second. tex2lyx expects to find the support files in a 
directory ..\Resources\lyx relative to the directory holding the 
binary itself. If you have copied only the tex2lyx binary then that's 
not going to work. Please use the whole package. Install it as (say) 
C:\tex2lyx. Whatever.

 --
 Unable to determine the path to the LyX binary from
 the command line tex2lyx
 

What happens if you specify the full path to the binary
   C:\tex2lyx\bin\tex2lyx.exe

(Sorry to sound so silly. It turns out Lars broke lots of file-related 
things on Windows the other day and we're trying to clear up the 
mess.)

 in the shell (I put the bin directory in my path so I
 can run tex2lyx anywhere.. but it didnt even worked
 when I tried it where it was copied).

 Jose Capco
Angus


Re: thanks to LyX team

2005-02-02 Thread R S Ananda Murthy
On 02/02/2005 05:15:11 PM, samar j. singh wrote:
Hi
I would  like to join the applause for the lyx team. Although Lyx was
not
around when I  did mine, I use it  very extensively for writing
proposals
and just about everything else. I had years of latex and miktex  
before
my
linux days.There is a world of difference when  you have to do
bibliographies and an index apart from all the other  productivity.
Coming
to latex was a wonderful leap. Taking to Lyx is a whole new world.

The only problem is  when one has to talk to the rest of the world in
.doc
Please do not talk to the rest of world in *.doc. Instead use pdf. In  
that way your document cannot be modified by anybody and it cannot be  
affected by any macro virus.

Anand
The lyx team has done a grand job and its nice to be able to say  
thank
you
now that  we have been reminded not to take it for granted.

samar
- Original Message -
From: Jean-Marc Lasgouttes [EMAIL PROTECTED]
To: Olivier Ripoll [EMAIL PROTECTED]
Cc: lyx-users@lists.lyx.org
Sent: Wednesday, February 02, 2005 4:17 PM
Subject: Re: thanks to LyX team
  Olivier == Olivier Ripoll [EMAIL PROTECTED]
writes:

 Olivier Hi all, I just wanted to thank the LyX team for the work
they
 Olivier do. I have written my PhD thesis 2 years ago with LyX, and
it
 Olivier never failed on me. Even when X crashed once (in a 6 month
 Olivier period), LyX managed not to loose a single letter of my
work.

 Thanks for your kind words.

 And congratualtions for your thesis, although I am of course 2  
years
 late...

 JMarc








layout for a PhD thesis

2005-02-02 Thread Paolo Valente
Hi everybody,
I'm a new Lyx users and I'd like to use it to write my PhD thesis.
Could someone suggest me a nice layout including
chapter, theorem, lemma, proof environments?
Thanks,
Paolo Valente



Re: tex2lyx for Linux

2005-02-02 Thread Jose Capco
  In fact I even installed Ruurd Reitsma's port just
 
  to test this and it didnt worked
 
 Why did you think you needed this?

you told me that the cygwin thingy isn't recognized.

 Just a second. tex2lyx expects to find the support
 files in a 
 directory ..\Resources\lyx relative to the directory
 holding the 
 binary itself. If you have copied only the tex2lyx
 binary then that's 
 not going to work. Please use the whole package.
 Install it as (say) 
 C:tex2lyx. Whatever.

Nono, I installed the whole stuff... but no need to
worry I got it working, and guess what was the
problem! 
When running the file I need to specify exactly the
location of tex2lyx (like you put it in your example)
I need to type 

c:\lyx\bin\tex2lyx.exe input.tex  input.lyx

I can't get through this by just putting the binaries
for lyx into the path environment and then just type

tex2lyx.exe input... blah

But I still need to figure out how to make lyx2lyx
work.. I tried the way you called lyx2lyx by typing

python C:\LyX\Resources\lyx\lyx2lyx\lyx2lyx test

but got 



'import site' failed; use -v for traceback
Traceback (most recent call last):
  File C:\LyX\Resources\lyx\lyx2lyx\lyx2lyx, line
19, in ?
import getopt
ImportError: No module named getopt

I didn't understand your example, I was however able
to read the output lyx using the recent available
version , I'm not sure if it would be looking the same
had I lyx2lyxed it... it looks .. er not bad if I
don't don't use packages in my LaTeX. I wonder how to
go through newcommand stuffs in the preamble, putting
that in the preamble, I'll try to start all over and
write the preamble in lyx itself and not tex2lyx yet.

could you give me a tex you wrote and know that it
converts to lyx perfectly.. I need to know what to and
what not to put.

Sincerely,
Jose Capco



__ 
Do you Yahoo!? 
The all-new My Yahoo! - What will yours do?
http://my.yahoo.com 


Re: tex2lyx for Linux

2005-02-02 Thread Jose' Matos
On Wednesday 02 February 2005 15:58, Jose Capco wrote:
 'import site' failed; use -v for traceback
 Traceback (most recent call last):
   File C:\LyX\Resources\lyx\lyx2lyx\lyx2lyx, line
 19, in ?
     import getopt
 ImportError: No module named getopt

  Last time we saw this error this was the result of a bad or incomplete 
python installation.

-- 
José Abílio


Re: tex2lyx for Linux

2005-02-02 Thread Sven Schreiber
Jose' Matos wrote:
On Wednesday 02 February 2005 15:58, Jose Capco wrote:
'import site' failed; use -v for traceback
Traceback (most recent call last):
 File C:\LyX\Resources\lyx\lyx2lyx\lyx2lyx, line
19, in ?
   import getopt
ImportError: No module named getopt

  Last time we saw this error this was the result of a bad or incomplete 
python installation.

Actually it's the stripped-down python version always installed by the 
LyxWin package. Due to PATH settings it can get called even though a 
complete python installation is also on the system. In that sense it 
seems that in the LyxWin-package lyx2lyx is doubly broken: first it 
isn't recognized on windows as a python script, and second the included 
python installation cannot handle it.

-sven


Re: Writing Lyx on a text editor

2005-02-02 Thread Matej Cepl
[EMAIL PROTECTED] wrote:
 Reading http://wiki.lyx.org/LyX/InternetResources I found the link to the
 gmane interface as follows:
 http://news.gmane.org/gmane.editors.lyx.general/

And of course it means there is also a Gmane newsgroup (which is what I am
writing into right now) gmane.editors.lyx.general.

Matej

-- 
Matej Cepl, http://www.ceplovi.cz/matej
GPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
I feel so miserable without you, it's almost like having you
here.
  -- Stephen Bishop




Getting LyX to replace custom-defined symbols as if they were standard LaTeX symbols

2005-02-02 Thread Davide Cescato
Hello,
I am writing a draft for an article and I am still unsure about the 
names of some variables I am going to use in my final version. In order 
to handle this situation, in LaTeX I would define

\newcommand{\ntx}{N_T}
\newcommand{\nrx}{N_R}
and then use \ntx and \nrx in my formulas whenever needed. If I later 
decide to use M_T instead of N_T, I can just redefine \ntx 
correspondingly without replacing all occurrencies in the document.

I can do the same in LyX, by adding the commands above to the document 
header or as LaTeX code within the document body.

The point is that if I enter math mode and type \ntx\sigma\nrx , LyX 
will replace the LaTeX standard \sigma command with the Greek character, 
but not my custom-defined symbols, which will only appear with their 
command names in red. This makes my formulas almost as unreadable as if 
they were written in plain LaTeX!

Is there a way to make LyX replace my commands as well, as it does with 
the standard LaTeX ones?

Thanks for your suggestions
D.


Re: thanks to LyX team

2005-02-02 Thread samar j. singh
On 02/02/2005 05:15:11 PM, samar j. singh wrote:
 Hi

 I would  like to join the applause for the lyx team. Although Lyx was
 not
 around when I  did mine, I use it  very extensively for writing
 proposals
 and just about everything else. I had years of latex and miktex
 before
 my
 linux days.There is a world of difference when  you have to do
 bibliographies and an index apart from all the other  productivity.
 Coming
 to latex was a wonderful leap. Taking to Lyx is a whole new world.

 The only problem is  when one has to talk to the rest of the world in
 .doc

Please do not talk to the rest of world in *.doc. Instead use pdf. In
that way your document cannot be modified by anybody and it cannot be
affected by any macro virus.

Anand

There are times when there is no choice, for instance when someone wants to
add or edit what you have written. In practice in such cases, I used
lineno.sty
which prints line numbers on each line and allows people to suggest
changes by line number. However, there are many times when one would like
to be able to produce a word doc for others, but I do realize that word
does not have the wealth of formatting that we have in latex so its an
impossible
dream in all probability.

 The lyx team has done a grand job and its nice to be able to say
 thank
 you
 now that  we have been reminded not to take it for granted.

 samar

 - Original Message -
 From: Jean-Marc Lasgouttes [EMAIL PROTECTED]
 To: Olivier Ripoll [EMAIL PROTECTED]
 Cc: lyx-users@lists.lyx.org
 Sent: Wednesday, February 02, 2005 4:17 PM
 Subject: Re: thanks to LyX team


   Olivier == Olivier Ripoll [EMAIL PROTECTED]
 writes:
 
  Olivier Hi all, I just wanted to thank the LyX team for the work
 they
  Olivier do. I have written my PhD thesis 2 years ago with LyX, and
 it
  Olivier never failed on me. Even when X crashed once (in a 6 month
  Olivier period), LyX managed not to loose a single letter of my
 work.
 
  Thanks for your kind words.
 
  And congratualtions for your thesis, although I am of course 2
 years
  late...
 
  JMarc
 
 









Re: layout for a PhD thesis

2005-02-02 Thread samar j. singh


 Hi everybody,
 I'm a new Lyx users and I'd like to use it to write my PhD thesis.
 Could someone suggest me a nice layout including
 chapter, theorem, lemma, proof environments?
 
 Thanks,
 Paolo Valente
 
 
 Many US universities have latex formats on the website. Take the one
you like, import it into lyx and start writing. You may want to try MIT to 
start with.

samar 


Re: tex2lyx for Linux

2005-02-02 Thread Angus Leeming
Sven Schreiber wrote:
ImportError: No module named getopt
 
 Last time we saw this error this was the result of a bad or incomplete
 python installation.
 
 Actually it's the stripped-down python version always installed by the
 LyxWin package. Due to PATH settings it can get called even though a
 complete python installation is also on the system. In that sense it
 seems that in the LyxWin-package lyx2lyx is doubly broken: first it
 isn't recognized on windows as a python script, and second the included
 python installation cannot handle it.

You might be doing Ruurd a slight disservice there. We're playing here with
the lyx2lyx that is bundled with LyX 1.4.x, not the version that comes
with LyX/Win 1.3.x.

-- 
Angus



Re: Writing Lyx on a text editor

2005-02-02 Thread chr
On Wed, 2 Feb 2005, Jose' Matos wrote:

 On Wednesday 02 February 2005 07:30, Jose Capco wrote:
 
  Oh by the by.. not related to the topic here. Is there
  a way to view the (most recent!) mailing list posts
  without checking it up in the email (like in a
  newsgroup or a http site.. someone has to put up a lyx
  newsgroup , that way I think its more practical)
 
   Not it is not, IMO. :-)

It is in my IMO :-)

/C

-- 
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr




Re: Getting LyX to replace custom-defined symbols as if they were standard LaTeX symbols

2005-02-02 Thread Johan Ingvast
On Wed, 2 Feb 2005, Davide Cescato wrote:

 Hello,
 
 I am writing a draft for an article and I am still unsure about the 
 names of some variables I am going to use in my final version. In order 
 to handle this situation, in LaTeX I would define
 
 \newcommand{\ntx}{N_T}
 \newcommand{\nrx}{N_R}
 
 and then use \ntx and \nrx in my formulas whenever needed. If I later 
 decide to use M_T instead of N_T, I can just redefine \ntx 
 correspondingly without replacing all occurrencies in the document.
 
 I can do the same in LyX, by adding the commands above to the document 
 header or as LaTeX code within the document body.
 
 The point is that if I enter math mode and type \ntx\sigma\nrx , LyX 
 will replace the LaTeX standard \sigma command with the Greek character, 
 but not my custom-defined symbols, which will only appear with their 
 command names in red. This makes my formulas almost as unreadable as if 
 they were written in plain LaTeX!
 
 Is there a way to make LyX replace my commands as well, as it does with 
 the standard LaTeX ones?
I think that math-macro is what you really need. 
Math macro is like \newcommand and some more ...
In the beginning of the document type:
M-x math-macro ntx 0
Then you get a box at the cursor consisting of Macro: ntx and two boxes
In the first box you fill in what shuld be displayed when processed by
latex. The second box is what is shown in the lyx editor when you type \ntx.

You can also add arguments to the math-macro by replacing the 0 to the
number of arguments you want. The arguments are called by #no
I sometimes defines a nicefraction by  M-x math-macro nf 2
\nicefrac{#1}{#2}   % first box
#1/#2   % second box
(with \usepackage{nicefrac} in preamble)
Then i get nice looking fractions in the output when calling \nf

Another maybe simpler solution is to turn on the instant-preview
(in Preferences/Look and freel/graphics (qt-version))
and have your \newcommand's in the preamble. Then you will see the result
in the lyx windown when you leave the equation.

/johan

-- 
Johan Ingvast, PhD student http://www.md.kth.se/~ingvast
Department of Machine Design, Royal Institute of Technology, Sweden
http://www.md.kth.se, http://www.md.kth.se/~cas --- Walking robot proj
tel +46 (0)8 790 95 36  mob. +46 (0)70 34 34 498




Re: Getting LyX to replace custom-defined symbols as if they were standard LaTeX symbols

2005-02-02 Thread Vaclav Smidl
It si probably math-macros what you are looking for.
Basicaly, it is LyX frontend to \newcommand.

It is all well described in the User Guide (MenuHelpUserGuide), Section 5.6 
Usedr defined macros in math mode.

good luck,

Vasek


On Wednesday 02 February 2005 17:10, Davide Cescato wrote:
 Hello,

 I am writing a draft for an article and I am still unsure about the
 names of some variables I am going to use in my final version. In order
 to handle this situation, in LaTeX I would define

 \newcommand{\ntx}{N_T}
 \newcommand{\nrx}{N_R}

 and then use \ntx and \nrx in my formulas whenever needed. If I later
 decide to use M_T instead of N_T, I can just redefine \ntx
 correspondingly without replacing all occurrencies in the document.

 I can do the same in LyX, by adding the commands above to the document
 header or as LaTeX code within the document body.

 The point is that if I enter math mode and type \ntx\sigma\nrx , LyX
 will replace the LaTeX standard \sigma command with the Greek character,
 but not my custom-defined symbols, which will only appear with their
 command names in red. This makes my formulas almost as unreadable as if
 they were written in plain LaTeX!

 Is there a way to make LyX replace my commands as well, as it does with
 the standard LaTeX ones?

 Thanks for your suggestions

 D.

-- 
-
Ing. Vaclav Smidl, Ph.D.tel: +420 26605 2420
AS department,  Institute   web: http://www.utia.cas.cz/AS/smidl/
of Information Theory and Automation,   fax: +420 26605 2068
Prague, Czech Republic


Re: tex2lyx for Linux

2005-02-02 Thread Sven Schreiber
Angus Leeming wrote:
Sven Schreiber wrote:
ImportError: No module named getopt
Last time we saw this error this was the result of a bad or incomplete
python installation.
Actually it's the stripped-down python version always installed by the
LyxWin package. Due to PATH settings it can get called even though a
complete python installation is also on the system. In that sense it
seems that in the LyxWin-package lyx2lyx is doubly broken: first it
isn't recognized on windows as a python script, and second the included
python installation cannot handle it.

You might be doing Ruurd a slight disservice there. We're playing here with
the lyx2lyx that is bundled with LyX 1.4.x, not the version that comes
with LyX/Win 1.3.x.
I didn't intend any offense, it was Ruurd's work that made it possible 
for me to use lyx regularly in the first place, and I very much 
appreciate it. Just wanted to point out where I think the error message 
stems from. And that it seems to me that renaming lyx2lyx to 
lyx2lyx.py as was discussed before will not remedy the fact that the 
bundled-with-Ruurds-lyxwin python doesn't seem to handle it.

btw, another thing I very much appreciate is your tex2lyx snapshot. In 
fact I am using it right now to avoid my earlier relyx-problems. What 
I'm not sure about: Would you like users (like me) to give feedback now, 
or will testing start later on?

cheers,
sven


Re: tex2lyx for Linux

2005-02-02 Thread Georg Baum
Am Mittwoch, 2. Februar 2005 16:58 schrieb Jose Capco:
 I didn't understand your example, I was however able
 to read the output lyx using the recent available
 version , I'm not sure if it would be looking the same
 had I lyx2lyxed it... it looks .. er not bad if I
 don't don't use packages in my LaTeX. I wonder how to
 go through newcommand stuffs in the preamble, putting
 that in the preamble, I'll try to start all over and
 write the preamble in lyx itself and not tex2lyx yet.

If you have lyx2lyx working, you should be able to put everything into the 
preamble that you like. tex2lyx does not really touch the preamble, but 
it extracts certain packages that have builtin LyX support.

 could you give me a tex you wrote and know that it
 converts to lyx perfectly.. I need to know what to and
 what not to put.

Please do it the other way round: get your lyx2lyx woking, and then 
convert your document and tell us what does not work. Apart from certain 
tabular features (i. e. advanced column settings) and some advanced 
expert tex stuff everything should more or less work. If it does not, it 
may be easy to fix, but we need to know about it.


Georg



Re: tex2lyx for Linux

2005-02-02 Thread Jose Capco
ok great.. so I'll just wait until the 1.4.x comes up
and the python er... anyway I'll just let 1.3.x import
the 1.4.x lyxs which are still readable (but
probably... Im not sure though, that after relyxing
things would look better). 

and also, if the owner of this mailing list also reads
this... could you please setup the listbot to send the
emails so that when I hit the reply button it will
send to the list rather than the individul users (I
think that is possible, the listbot did an email
redirection when I first subscribed to the list).

Sincerely,
Jose Capco

--- Sven Schreiber [EMAIL PROTECTED] wrote:

 I didn't intend any offense, it was Ruurd's work
 that made it possible 
 for me to use lyx regularly in the first place, and
 I very much 
 appreciate it. Just wanted to point out where I
 think the error message 
 stems from. And that it seems to me that renaming
 lyx2lyx to 
 lyx2lyx.py as was discussed before will not remedy
 the fact that the 
 bundled-with-Ruurds-lyxwin python doesn't seem to
 handle it.
--- snip
 cheers,
 sven
 




__ 
Do you Yahoo!? 
The all-new My Yahoo! - What will yours do?
http://my.yahoo.com 


Re: tex2lyx for Linux

2005-02-02 Thread Jose Capco
I'd love to be the guinea pig.. the boss cant write
with LaTeX and this is the only way out. I'll send
feedbacks.

Jose Capco

PS: I'll try experimenting on importing packages and
using \newcommands on the preamble.. if anyone knows
that this work then please advise.

--- Georg Baum [EMAIL PROTECTED] wrote:
 Please do it the other way round: get your lyx2lyx
 woking, and then 
 convert your document and tell us what does not
 work. Apart from certain 
 tabular features (i. e. advanced column settings)
 and some advanced 
 expert tex stuff everything should more or less
 work. If it does not, it 
 may be easy to fix, but we need to know about it.
 
 
 Georg
 
 




__ 
Do you Yahoo!? 
Yahoo! Mail - Easier than ever with enhanced search. Learn more.
http://info.mail.yahoo.com/mail_250


install failure lyx-1.3.5

2005-02-02 Thread Wolfgang Engelmann
Somebody out there who ran into an install failure using  
lyx-1.3.5-1suse90_xforms.i586.rpm?
klicking on it calls Yast
which after some time tells me
lyx.rpm install failed:
/root/bashrc: line 45:profile: no such file or dir
error: %post (lyx-1.3.5-1suse90_xforms) scriptlet failed
exit status 1

I used to use 1.3.4-38 SuseLinux Version 9.2 before without problems.
Do I have to de-install this version first?

Help much appreciated

Wolfgang
-- 
-
Wolfgang Engelmann
Schlossgartenstrasse 22
D-72070 Tübingen


Re: layout for a PhD thesis

2005-02-02 Thread Subir Singh Lamba

Some one in Durham university has made a basic thesis layout. You will
have to edit it to suit your needs. If you are unable to find it I can
send it to you.


On Wed, 2 Feb 2005, Paolo Valente wrote:

 Hi everybody,
 I'm a new Lyx users and I'd like to use it to write my PhD thesis.
 Could someone suggest me a nice layout including
 chapter, theorem, lemma, proof environments?
 
 Thanks,
 Paolo Valente
 
 

-- 
Those who desire to give up Freedom in order to gain Security, will not 
have, nor do they deserve, either one. (T. Jefferson or B. Franklin or 
both...)


Re: tex2lyx for Linux

2005-02-02 Thread Angus Leeming
Sven Schreiber wrote:
 btw, another thing I very much appreciate is your tex2lyx snapshot. In
 fact I am using it right now to avoid my earlier relyx-problems. What
 I'm not sure about: Would you like users (like me) to give feedback now,
 or will testing start later on?

Feedback is good. Apart from the obvious file name problem that Jose has
had trouble with, there's a small bug in the latex parser that was
corrected yesterday by Georg Baum. I've posted an updated version to
http://www.devel.lyx.org/~leeming/tex2lyx_win32_02Feb05.zip
but preliminary testings suggest that it is struggling with more file name
problems.

I'm out of town for a week or so as of Friday. I'd hope and expect things
to be better by the time I return.

-- 
Angus



Re: tex2lyx for Linux

2005-02-02 Thread Sven Schreiber
Angus Leeming wrote:
Sven Schreiber wrote:
btw, another thing I very much appreciate is your tex2lyx snapshot. In
fact I am using it right now to avoid my earlier relyx-problems. What
I'm not sure about: Would you like users (like me) to give feedback now,
or will testing start later on?

Feedback is good. Apart from the obvious file name problem that Jose has
had trouble with, there's a small bug in the latex parser that was
corrected yesterday by Georg Baum. I've posted an updated version to
http://www.devel.lyx.org/~leeming/tex2lyx_win32_02Feb05.zip
but preliminary testings suggest that it is struggling with more file name
problems.
I'm out of town for a week or so as of Friday. I'd hope and expect things
to be better by the time I return.
Overall I'm quite impressed! But it still required some corrections 
afterwards, although I suspect some problems may be windows-specific 
(e.g. because of line-ending characters -- although I used an editor to 
try both unixish and windowsish settings without any difference!?). And 
I ended up using absolute paths everywhere for includegraphics as a 
simple workaround, because relative ones didn't work (tex2lyx complained 
couldn't find). Also remember that my comments apply to the whole 
tex2lyx-lyx2lyx-lyx1.3 trip, I cannot say where exactly things are 
happening.

Some other things:
- complains when \includegraphics* (starred variant) is used, while it 
could just be treated as the unstarred version (or am I missing something?)
- I use pdflatex but don't specify the .pdf-extension so that I can 
switch to normal latex (using .eps) seamlessly; tex2lyx applies a 
definite choice, thereby destroying this nice portability. Why?
- I have a \bibliographystyle definition (with natbib), this seems to be 
imported twice: it is specified when I open the bibreferences-inset, but 
it's also displayed as ERT
- imports the \thanks-field inside the \title as ERT
- has problems with my complicated \author-field (can't blame it too 
much, this includes minipages and graphics)
- tables are fine!

so much for that, thanks again for making it available
-sven



Re: Viewing eps/pdf within LyXWin on Windows 2000

2005-02-02 Thread Uwe Stöhr
[EMAIL PROTECTED] wrote:
Despite quite a bit of fiddling around I cant get .eps or .pdf files to
display within LyX when I insert them into a document. When I insert such
a figure I get the message Error conveting to loadable format in the box
where the picture should be displayed. The output DVI is fine though.
This is a ghostview/Imagemagick problem.
Which version of ghostscript and Imagemagick are you using?
If you can see other image formats than .eps, .ps, and .pdf inside LyX, 
an update to the newest Imagemagick version should help.

regards Uwe


Re: tex2lyx for Linux

2005-02-02 Thread Georg Baum
Am Mittwoch, 2. Februar 2005 19:03 schrieb Jose Capco:
 and also, if the owner of this mailing list also reads
 this... could you please setup the listbot to send the
 emails so that when I hit the reply button it will
 send to the list rather than the individul users (I
 think that is possible, the listbot did an email
 redirection when I first subscribed to the list).

It is possible, but not wanted. Read 
http://www.unicom.com/pw/reply-to-harmful.html, and then get a decent 
email program (or news client, if you read the list via gmane). For 
example, I press L in kmail when I want to answer to the list.


Georg



Re: tex2lyx for Linux

2005-02-02 Thread Angus Leeming
Sven Schreiber wrote:
Overall I'm quite impressed! But it still required some corrections 
afterwards, although I suspect some problems may be windows-specific 
(e.g. because of line-ending characters -- although I used an editor to 
try both unixish and windowsish settings without any difference!?). 
Georg has just committed another fix. Apparently a '\n' character became 
 \\n. I'll try and upload a new version.

And I ended up using absolute paths everywhere for includegraphics as a 
simple workaround, because relative ones didn't work (tex2lyx complained 
couldn't find).
Almost certainly this recently-introduced file horkage I've mentioned.
Later,
Angus


Re: tex2lyx for Linux

2005-02-02 Thread Paul Smith
Thanks, Angus, for your reply to my question. Meanwhile, I had the
idea of installing LyX 1.4 cvs and getting tex2lyx. Afterwards, can I
get back to LyX 1.3.5 and using tex2lyx without LyX 1.4? Does my idea
make some sense?

Paul


Re: tex2lyx for Linux

2005-02-02 Thread Georg Baum
Am Mittwoch, 2. Februar 2005 20:37 schrieb Sven Schreiber:

 - complains when \includegraphics* (starred variant) is used, while it 
 could just be treated as the unstarred version (or am I missing 
something?)

\includegraphics* is equivalent to \includegraphics[clip]. I implemented 
\includegraphics* right now, it will appear in CVS soon.
I guess that there are a lot of such simple things that are easy to 
implement (5 lines of code in this case), but that we simply need to be 
aware of.

 - I use pdflatex but don't specify the .pdf-extension so that I can 
 switch to normal latex (using .eps) seamlessly; tex2lyx applies a 
 definite choice, thereby destroying this nice portability. Why?

Because LyX 1.4 _always_ needs the extension: There is always one master 
version of the graphic that is referenced in the .lyx file. The others 
are created by the converter mechanism from the master file if needed. 
LyX will not output the extension in the .tex file to maintain 
portability, but it needs it in the .lyx file.
Therefore tex2lyx looks for existing files and adds the extension if it 
finds one. What is missing here is a commandline switch for tex2lyx that 
tells wether the document is for normal latex or pdflatex. This should 
not be difficult to implement, you are welcome to do that if you know a 
bit of C++ ;-)

 - I have a \bibliographystyle definition (with natbib), this seems to be 
 imported twice: it is specified when I open the bibreferences-inset, but 
 it's also displayed as ERT

This is a known problem. It would be nice if you could add that to the 
wiki page.


Georg



Reading lyx-users via newsgroup/http [Was Re: Writing Lyx on a text editor]

2005-02-02 Thread Kevin Pfeiffer
Jose Capco writes:
 Oh by the by.. not related to the topic here. Is there
 a way to view the (most recent!) mailing list posts
 without checking it up in the email (like in a
 newsgroup or a http site.. someone has to put up a lyx
 newsgroup , that way I think its more practical)

You could probably set this up...

http://www.opensubscriber.com/


-K
-- 
Kevin Pfeiffer [EMAIL PROTECTED]
Tiros-Translations


Re: Writing Lyx on a text editor

2005-02-02 Thread Paul A. Rubin
Jose Capco wrote:
Oh by the by.. not related to the topic here. Is there
a way to view the (most recent!) mailing list posts
without checking it up in the email (like in a
newsgroup or a http site.. someone has to put up a lyx
newsgroup , that way I think its more practical) 
http://dir.gmane.org/gmane.editors.lyx.general
-- Paul


Re: Writing Lyx on a text editor

2005-02-02 Thread Jean-Pierre Chretien

To: lyx-users@lists.lyx.org
From: Paul A. Rubin [EMAIL PROTECTED]
Subject: Re: Writing Lyx on a text editor
Date: Wed, 02 Feb 2005 17:29:27 -0500

Jose Capco wrote:

 Oh by the by.. not related to the topic here. Is there
 a way to view the (most recent!) mailing list posts
 without checking it up in the email (like in a
 newsgroup or a http site.. someone has to put up a lyx
 newsgroup , that way I think its more practical) 

http://dir.gmane.org/gmane.editors.lyx.general

Great, but I can't take a live bookmark on the RSS feeds from Firefox...
Am I doing wrong ?

-- 
Jean-Pierre




Re: Writing Lyx on a text editor

2005-02-02 Thread chr
On Tue, 1 Feb 2005, Jose Capco wrote:

 output (like lyx claims to produce) on the screen (the
 printed output is pretty much like LaTeX) but its fine
 anyway..
Considering that LyX uses LaTeX to produce the output it should really be 
*exactly* the same..

 Oh by the by.. not related to the topic here. Is there
 a way to view the (most recent!) mailing list posts
 without checking it up in the email (like in a
 newsgroup or a http site.. someone has to put up a lyx
 newsgroup , that way I think its more practical) 

Reading http://wiki.lyx.org/LyX/InternetResources I found the link to the 
gmane interface as follows:
http://news.gmane.org/gmane.editors.lyx.general/

/Christian

-- 
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr




Re: Writing Lyx on a text editor

2005-02-02 Thread Jose' Matos
On Wednesday 02 February 2005 07:30, Jose Capco wrote:

 Oh by the by.. not related to the topic here. Is there
 a way to view the (most recent!) mailing list posts
 without checking it up in the email (like in a
 newsgroup or a http site.. someone has to put up a lyx
 newsgroup , that way I think its more practical)

  Not it is not, IMO. :-)

  But I think that you are searching this:
http://dir.gmane.org/gmane.editors.lyx.general

 Sincerely,
 Jose Capco

-- 
José Abílio


thanks to LyX team

2005-02-02 Thread Olivier Ripoll
Hi all,
I just wanted to thank the LyX team for the work they do. I have written 
my PhD thesis 2 years ago with LyX, and it never failed on me. Even when 
X crashed once (in a 6 month period), LyX managed not to loose a single 
letter of my work.

It may seem late to thank the team now, but since I have now an 
anti-spam email (thanks yahoo) and my thesis have been finally uploaded 
on the web site of the university, I thought better late than ever ;)
The pdf (acrobat-friendly) can be found at:
http://www-optics.unine.ch/publications/theses/Thesis_Ripoll.pdf

Cheers,
Olivier Ripoll.
PS: I know at least two other theses written with LyX at the same 
institute, one of which is also online now:
http://www-optics.unine.ch/publications/theses/Thesis_Gonte.pdf



Re: thanks to LyX team

2005-02-02 Thread Jean-Marc Lasgouttes
 Olivier == Olivier Ripoll [EMAIL PROTECTED] writes:

Olivier Hi all, I just wanted to thank the LyX team for the work they
Olivier do. I have written my PhD thesis 2 years ago with LyX, and it
Olivier never failed on me. Even when X crashed once (in a 6 month
Olivier period), LyX managed not to loose a single letter of my work.

Thanks for your kind words. 

And congratualtions for your thesis, although I am of course 2 years
late...

JMarc



tex2lyx for Linux

2005-02-02 Thread Paul Smith
Dear All

I remember Angus has recently produced a version of tex2lyx for MS
Windows. Is there a Linux version of it to run autonomously, that is,
without having LyX 1.4 cvs installed?

Thanks in advance,

Paul


Re: thanks to LyX team

2005-02-02 Thread samar j. singh
Hi

I would  like to join the applause for the lyx team. Although Lyx was not
around when I  did mine, I use it  very extensively for writing proposals
and just about everything else. I had years of latex and miktex before my
linux days.There is a world of difference when  you have to do
bibliographies and an index apart from all the other  productivity. Coming
to latex was a wonderful leap. Taking to Lyx is a whole new world.

The only problem is  when one has to talk to the rest of the world in .doc

The lyx team has done a grand job and its nice to be able to say thank you
now that  we have been reminded not to take it for granted.

samar

- Original Message - 
From: Jean-Marc Lasgouttes [EMAIL PROTECTED]
To: Olivier Ripoll [EMAIL PROTECTED]
Cc: lyx-users@lists.lyx.org
Sent: Wednesday, February 02, 2005 4:17 PM
Subject: Re: thanks to LyX team


  Olivier == Olivier Ripoll [EMAIL PROTECTED] writes:

 Olivier Hi all, I just wanted to thank the LyX team for the work they
 Olivier do. I have written my PhD thesis 2 years ago with LyX, and it
 Olivier never failed on me. Even when X crashed once (in a 6 month
 Olivier period), LyX managed not to loose a single letter of my work.

 Thanks for your kind words.

 And congratualtions for your thesis, although I am of course 2 years
 late...

 JMarc





Re: tex2lyx for Linux

2005-02-02 Thread Jose Capco
I would be interested too.. I would also be interested
in a tex2lyx standalone (ie. would run without one
having lyx in his system) if this is possible. I just
downloaded Angus's tex2lyx but Im not sure if it works
for window users who installed lyx using cygwin (I
didnt tried other lyx versions for windows ... I
thought since I have cygwin already I will just do
with this version), it wasnt able to find the .ltx
file even if I put it in the sysdir parameter of
tex2lyx. 

... but then again, I dont think this was meant to be
used in cygwin.

Sincerely,
Jose Capco

--- Paul Smith [EMAIL PROTECTED] wrote:

 Dear All
 
 I remember Angus has recently produced a version of
 tex2lyx for MS
 Windows. Is there a Linux version of it to run
 autonomously, that is,
 without having LyX 1.4 cvs installed?
 
 Thanks in advance,
 
 Paul
 




__ 
Do you Yahoo!? 
Yahoo! Mail - Easier than ever with enhanced search. Learn more.
http://info.mail.yahoo.com/mail_250


Re: tex2lyx for Linux

2005-02-02 Thread Angus Leeming
Paul Smith wrote:

 Dear All
 
 I remember Angus has recently produced a version of tex2lyx for MS
 Windows. Is there a Linux version of it to run autonomously, that is,
 without having LyX 1.4 cvs installed?

No, because different flavours of linux have different run time libraries
and a single binary would probably crash mysteriously. It really isn't
that hard to build if you have a compiler installed. I think I did:

./autogen.sh
mkdir build  cd build
../configure
(cd boost  make)
(cd src/support  make)
(cd src/tex2lyx  make install)
(cd lib  make install)

and then pruned the resulting $PREFIX/share/lyx directory to the state I
described in the original mail. Took maybe 10 minutes to do?

Of course, I have a functioning build environment, but that should be a
doddle to set up on a modern linux machine.

-- 
Angus



Re: tex2lyx for Linux

2005-02-02 Thread Angus Leeming
Jose Capco wrote:

 I would be interested too.. I would also be interested
 in a tex2lyx standalone (ie. would run without one
 having lyx in his system) if this is possible. I just
 downloaded Angus's tex2lyx but Im not sure if it works
 for window users who installed lyx using cygwin (I
 didnt tried other lyx versions for windows ... I
 thought since I have cygwin already I will just do
 with this version), it wasnt able to find the .ltx
 file even if I put it in the sysdir parameter of
 tex2lyx.
 
 ... but then again, I dont think this was meant to be
 used in cygwin.
 
 Sincerely,
 Jose Capco

This is a native Windows executable. It doesn't understand Cygwin-style,
posix-ish paths.

Can you run it from a CMD prompt? Ie, pass it Windows-style paths as I did
in the example I posted.

-- 
Angus



Viewing eps/pdf within LyXWin on Windows 2000

2005-02-02 Thread nburgan
Hello All,

I have installed LyXWin ((lyx-1.3.5-win32-nc.exe) on Windows 2000
following the instructions on the LyW WikiWiki – LyX.WindowsSetup webpage.

Despite quite a bit of fiddling around I can’t get .eps or .pdf files to
display within LyX when I insert them into a document. When I insert such
a figure I get the message “Error conveting to loadable format” in the box
where the picture should be displayed. The output DVI is fine though.

When running LyX in debug mode I can see that the problem is

C:/lyx/share/lyx/scripts/convertDefault.sh ERROR
Unable to find file C:/lyx/tmp/lyx_tmpdir1056a00432/aulogo1056a00432.ppm

If I understand it correctly LyX uses ImageMagick (convert) which uses
Ghostscript to display .eps and .pdf images within LyX. When I reconfigure
LyX I can see that it does not see to find “gs”.

checking for Image converter... (convert)
+checking for convert... yes
checking for a Postscript interpreter... (gs)
+checking for gs... no
checking for a Postscript previewer... (gsview32 gv ghostview)
+checking for gsview32... yes
checking for a PDF preview... (acrobat acrord32 gsview32 acroread gv ghost
pdf)
+checking for acrobat... no
+checking for acrord32... yes

It seems that it can’t find the Postscript interpreter “gs”. Shouldn’t
LyXWin be looking for “gswin32” anyway? (The location of gswin32 is in the
path). I have included the whole reconfigure output at the end of this
email.

Any help would be appreciated.
Thanks in advance

Nick Burgan

Reconfigure output


C:/lyx/share/lyx/configure
C:\lyx\share\lyx\..\..\bin;C:\lyx\bin\;c:\gs\gs8.50\bin;c:\ghostgum\gsview
xmf\miktex\bin;c:\program files\adobe\acrobat 6.0\reader;c:\imagemagick-6.
6;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\WINNT\system32\nls;
NT\system32\nls\ENGLISH;C:\Program Files\SSH Communications Security\SSH S
Shell
checking for a LaTeX2e program... (latex latex2e)
+checking for latex... yes
checking for the pdflatex program... (pdflatex)
+checking for pdflatex... yes
checking for a LaTeX - LyX converter... (reLyX)
+checking for reLyX... yes
checking for a Noweb - LyX converter... (noweb2lyx)
+checking for noweb2lyx... yes
checking for a Noweb - LaTeX converter... (noweave)
+checking for noweave... no
checking for a HTML - Latex converter... (html2latex)
+checking for html2latex... no
checking for a MSWord - Latex converter... (wvCleanLatex word2x)
+checking for wvCleanLatex... no
+checking for word2x... no
checking for Image converter... (convert)
+checking for convert... yes
checking for a Postscript interpreter... (gs)
+checking for gs... no
checking for a Postscript previewer... (gsview32 gv ghostview)
+checking for gsview32... yes
checking for a PDF preview... (acrobat acrord32 gsview32 acroread gv ghost
pdf)
+checking for acrobat... no
+checking for acrord32... yes
checking for a DVI previewer... (xdvi windvi yap)
+checking for xdvi... no
+checking for windvi... no
+checking for yap... yes
checking for a HTML previewer... (mozilla file://$$p$$i netscape)
+checking for mozilla... no
+checking for netscape... no
checking for a PS to PDF converter... (ps2pdf)
+checking for ps2pdf... no
checking for a DVI to PS converter... (dvips)
+checking for dvips... yes
checking for a DVI to PDF converter... (dvipdfm)
+checking for dvipdfm... yes
checking for a *roff formatter... ('groff -t -Tlatin1 280FName' nroff)
+checking for groff... no
+checking for nroff... no
checking for ChkTeX... (chktex -n1 -n3 -n6 -n9 -n22 -n25 -n30 -n38)
+checking for chktex... no
checking for a spell-checker... (ispell)
+checking for ispell... no
checking for Octave... (octave)
+checking for octave... no
checking for Maple... (maple)
+checking for maple... no
checking for a fax program... (kdeprintfax ksendfax)
+checking for kdeprintfax... no
+checking for ksendfax... no
checking for SGML-tools 1.x (LinuxDoc)... (sgml2lyx)
+checking for sgml2lyx... no
checking for SGML-tools 2.x (DocBook) or db2x scripts... (sgmltools db2dvi
+checking for sgmltools... no
+checking for db2dvi... no
checking for a spool command... (lp lpr)
+checking for lp... no
+checking for lpr... yes
checking for a LaTeX - HTML converter... (tth latex2html hevea)
+checking for tth... no
+checking for latex2html... no
+checking for hevea... no
checking LaTeX configuration... auto
+Inspecting your LaTeX configuration.
+checking for LaTeX version... 2001/06/01
+checking for default encoding (this may take a long time)
+  checking for ec fonts... yes
+  checking for ec support in LaTeX format... yes
+checking for document class IEEEtran [IEEEtran]... yes
...
+checking for document class svprobth [svjour,svprobth.clo]... no
+checking for package a4 [a4]... yes
...
+checking for package graphicx [graphicx]... yes
+checking for graphics driver... default
+checking for package psnfss [times.sty]... yes
+Inspection done.
+Read the file doc/LaTeXConfig.lyx for more information.
creating packages.lst
creating doc/LaTeXConfig.lyx
sed: file chkconfig.sed line 1: 

Re: Viewing eps/pdf within LyXWin on Windows 2000

2005-02-02 Thread Angus Leeming
[EMAIL PROTECTED] wrote:

 Hello All,
 
 I have installed LyXWin ((lyx-1.3.5-win32-nc.exe) on Windows 2000
 following the instructions on the LyW WikiWiki – LyX.WindowsSetup
 webpage.
 
 Despite quite a bit of fiddling around I can’t get .eps or .pdf files to
 display within LyX when I insert them into a document. When I insert such
 a figure I get the message “Error conveting to loadable format” in the
 box where the picture should be displayed. The output DVI is fine though.
 
 When running LyX in debug mode I can see that the problem is
 
 C:/lyx/share/lyx/scripts/convertDefault.sh ERROR
 Unable to find file
 C:/lyx/tmp/lyx_tmpdir1056a00432/aulogo1056a00432.ppm

This is a weird and wonderful bug to do with the sh.exe on Windows. You
think that temp directory is C:/lyx/tmp. I think it is too. sh.exe
mysteriously uses something else (the  %TMPPATH% environment variable or
somesuch).

The fix is straightforward. Just remove the last few lines of
convertDefault.sh. They're not needed and are screwing things up here.

-# It appears that convert succeeded, but we know better than to trust
it ;-)
-# convert is passed strings in the form FMT:FILENAME, so use the ':' to
-# delimit the two parts.
-# Note that Win32 filenames have the form 'C:\my\file',
-# so use everything from the first ':' to the end of the line.
-FILE=`echo $2 | cut -d ':' -f 2-`
-
-test -f $FILE || {
-   echo $0 ERROR
-   echo Unable to find file \${FILE}\
-   exit 1
-}
-
-echo $0 generated file \${FILE}\ successfully.

-- 
Angus



Re: tex2lyx for Linux

2005-02-02 Thread Jose Capco
No! In fact I even installed Ruurd Reitsma's port just
to test this and it didnt worked 

I installed the windows port in C:\Lyx directory.. and
then extracted the file in the tex2lyx zipfile you
posted today to their respective paths and then after
running I got something like
--
Unable to determine the path to the LyX binary from
the command line tex2lyx


in the shell (I put the bin directory in my path so I
can run tex2lyx anywhere.. but it didnt even worked
when I tried it where it was copied).

Jose Capco


--- Angus Leeming [EMAIL PROTECTED] wrote:
 This is a native Windows executable. It doesn't
 understand Cygwin-style,
 posix-ish paths.
 
 Can you run it from a CMD prompt? Ie, pass it
 Windows-style paths as I did
 in the example I posted.
 
 -- 
 Angus
 
 




__ 
Do you Yahoo!? 
Yahoo! Mail - Easier than ever with enhanced search. Learn more.
http://info.mail.yahoo.com/mail_250


Re: tex2lyx for Linux

2005-02-02 Thread Angus Leeming
On Wednesday 02 February 2005 13:31, you wrote:
 No!

Ach!

 In fact I even installed Ruurd Reitsma's port just 
 to test this and it didnt worked

Why did you think you needed this?

 I installed the windows port in C:\Lyx directory.. and
 then extracted the file in the tex2lyx zipfile you
 posted today to their respective paths and then after
 running I got something like

Just a second. tex2lyx expects to find the support files in a 
directory ..\Resources\lyx relative to the directory holding the 
binary itself. If you have copied only the tex2lyx binary then that's 
not going to work. Please use the whole package. Install it as (say) 
C:\tex2lyx. Whatever.

 --
 Unable to determine the path to the LyX binary from
 the command line tex2lyx
 

What happens if you specify the full path to the binary
   C:\tex2lyx\bin\tex2lyx.exe

(Sorry to sound so silly. It turns out Lars broke lots of file-related 
things on Windows the other day and we're trying to clear up the 
mess.)

 in the shell (I put the bin directory in my path so I
 can run tex2lyx anywhere.. but it didnt even worked
 when I tried it where it was copied).

 Jose Capco
Angus


Re: thanks to LyX team

2005-02-02 Thread R S Ananda Murthy
On 02/02/2005 05:15:11 PM, samar j. singh wrote:
Hi
I would  like to join the applause for the lyx team. Although Lyx was
not
around when I  did mine, I use it  very extensively for writing
proposals
and just about everything else. I had years of latex and miktex  
before
my
linux days.There is a world of difference when  you have to do
bibliographies and an index apart from all the other  productivity.
Coming
to latex was a wonderful leap. Taking to Lyx is a whole new world.

The only problem is  when one has to talk to the rest of the world in
.doc
Please do not talk to the rest of world in *.doc. Instead use pdf. In  
that way your document cannot be modified by anybody and it cannot be  
affected by any macro virus.

Anand
The lyx team has done a grand job and its nice to be able to say  
thank
you
now that  we have been reminded not to take it for granted.

samar
- Original Message -
From: Jean-Marc Lasgouttes [EMAIL PROTECTED]
To: Olivier Ripoll [EMAIL PROTECTED]
Cc: lyx-users@lists.lyx.org
Sent: Wednesday, February 02, 2005 4:17 PM
Subject: Re: thanks to LyX team
  Olivier == Olivier Ripoll [EMAIL PROTECTED]
writes:

 Olivier Hi all, I just wanted to thank the LyX team for the work
they
 Olivier do. I have written my PhD thesis 2 years ago with LyX, and
it
 Olivier never failed on me. Even when X crashed once (in a 6 month
 Olivier period), LyX managed not to loose a single letter of my
work.

 Thanks for your kind words.

 And congratualtions for your thesis, although I am of course 2  
years
 late...

 JMarc








layout for a PhD thesis

2005-02-02 Thread Paolo Valente
Hi everybody,
I'm a new Lyx users and I'd like to use it to write my PhD thesis.
Could someone suggest me a nice layout including
chapter, theorem, lemma, proof environments?
Thanks,
Paolo Valente



Re: tex2lyx for Linux

2005-02-02 Thread Jose Capco
  In fact I even installed Ruurd Reitsma's port just
 
  to test this and it didnt worked
 
 Why did you think you needed this?

you told me that the cygwin thingy isn't recognized.

 Just a second. tex2lyx expects to find the support
 files in a 
 directory ..\Resources\lyx relative to the directory
 holding the 
 binary itself. If you have copied only the tex2lyx
 binary then that's 
 not going to work. Please use the whole package.
 Install it as (say) 
 C:tex2lyx. Whatever.

Nono, I installed the whole stuff... but no need to
worry I got it working, and guess what was the
problem! 
When running the file I need to specify exactly the
location of tex2lyx (like you put it in your example)
I need to type 

c:\lyx\bin\tex2lyx.exe input.tex  input.lyx

I can't get through this by just putting the binaries
for lyx into the path environment and then just type

tex2lyx.exe input... blah

But I still need to figure out how to make lyx2lyx
work.. I tried the way you called lyx2lyx by typing

python C:\LyX\Resources\lyx\lyx2lyx\lyx2lyx test

but got 



'import site' failed; use -v for traceback
Traceback (most recent call last):
  File C:\LyX\Resources\lyx\lyx2lyx\lyx2lyx, line
19, in ?
import getopt
ImportError: No module named getopt

I didn't understand your example, I was however able
to read the output lyx using the recent available
version , I'm not sure if it would be looking the same
had I lyx2lyxed it... it looks .. er not bad if I
don't don't use packages in my LaTeX. I wonder how to
go through newcommand stuffs in the preamble, putting
that in the preamble, I'll try to start all over and
write the preamble in lyx itself and not tex2lyx yet.

could you give me a tex you wrote and know that it
converts to lyx perfectly.. I need to know what to and
what not to put.

Sincerely,
Jose Capco



__ 
Do you Yahoo!? 
The all-new My Yahoo! - What will yours do?
http://my.yahoo.com 


Re: tex2lyx for Linux

2005-02-02 Thread Jose' Matos
On Wednesday 02 February 2005 15:58, Jose Capco wrote:
 'import site' failed; use -v for traceback
 Traceback (most recent call last):
   File C:\LyX\Resources\lyx\lyx2lyx\lyx2lyx, line
 19, in ?
     import getopt
 ImportError: No module named getopt

  Last time we saw this error this was the result of a bad or incomplete 
python installation.

-- 
José Abílio


Re: tex2lyx for Linux

2005-02-02 Thread Sven Schreiber
Jose' Matos wrote:
On Wednesday 02 February 2005 15:58, Jose Capco wrote:
'import site' failed; use -v for traceback
Traceback (most recent call last):
 File C:\LyX\Resources\lyx\lyx2lyx\lyx2lyx, line
19, in ?
   import getopt
ImportError: No module named getopt

  Last time we saw this error this was the result of a bad or incomplete 
python installation.

Actually it's the stripped-down python version always installed by the 
LyxWin package. Due to PATH settings it can get called even though a 
complete python installation is also on the system. In that sense it 
seems that in the LyxWin-package lyx2lyx is doubly broken: first it 
isn't recognized on windows as a python script, and second the included 
python installation cannot handle it.

-sven


Re: Writing Lyx on a text editor

2005-02-02 Thread Matej Cepl
[EMAIL PROTECTED] wrote:
 Reading http://wiki.lyx.org/LyX/InternetResources I found the link to the
 gmane interface as follows:
 http://news.gmane.org/gmane.editors.lyx.general/

And of course it means there is also a Gmane newsgroup (which is what I am
writing into right now) gmane.editors.lyx.general.

Matej

-- 
Matej Cepl, http://www.ceplovi.cz/matej
GPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
I feel so miserable without you, it's almost like having you
here.
  -- Stephen Bishop




Getting LyX to replace custom-defined symbols as if they were standard LaTeX symbols

2005-02-02 Thread Davide Cescato
Hello,
I am writing a draft for an article and I am still unsure about the 
names of some variables I am going to use in my final version. In order 
to handle this situation, in LaTeX I would define

\newcommand{\ntx}{N_T}
\newcommand{\nrx}{N_R}
and then use \ntx and \nrx in my formulas whenever needed. If I later 
decide to use M_T instead of N_T, I can just redefine \ntx 
correspondingly without replacing all occurrencies in the document.

I can do the same in LyX, by adding the commands above to the document 
header or as LaTeX code within the document body.

The point is that if I enter math mode and type \ntx\sigma\nrx , LyX 
will replace the LaTeX standard \sigma command with the Greek character, 
but not my custom-defined symbols, which will only appear with their 
command names in red. This makes my formulas almost as unreadable as if 
they were written in plain LaTeX!

Is there a way to make LyX replace my commands as well, as it does with 
the standard LaTeX ones?

Thanks for your suggestions
D.


Re: thanks to LyX team

2005-02-02 Thread samar j. singh
On 02/02/2005 05:15:11 PM, samar j. singh wrote:
 Hi

 I would  like to join the applause for the lyx team. Although Lyx was
 not
 around when I  did mine, I use it  very extensively for writing
 proposals
 and just about everything else. I had years of latex and miktex
 before
 my
 linux days.There is a world of difference when  you have to do
 bibliographies and an index apart from all the other  productivity.
 Coming
 to latex was a wonderful leap. Taking to Lyx is a whole new world.

 The only problem is  when one has to talk to the rest of the world in
 .doc

Please do not talk to the rest of world in *.doc. Instead use pdf. In
that way your document cannot be modified by anybody and it cannot be
affected by any macro virus.

Anand

There are times when there is no choice, for instance when someone wants to
add or edit what you have written. In practice in such cases, I used
lineno.sty
which prints line numbers on each line and allows people to suggest
changes by line number. However, there are many times when one would like
to be able to produce a word doc for others, but I do realize that word
does not have the wealth of formatting that we have in latex so its an
impossible
dream in all probability.

 The lyx team has done a grand job and its nice to be able to say
 thank
 you
 now that  we have been reminded not to take it for granted.

 samar

 - Original Message -
 From: Jean-Marc Lasgouttes [EMAIL PROTECTED]
 To: Olivier Ripoll [EMAIL PROTECTED]
 Cc: lyx-users@lists.lyx.org
 Sent: Wednesday, February 02, 2005 4:17 PM
 Subject: Re: thanks to LyX team


   Olivier == Olivier Ripoll [EMAIL PROTECTED]
 writes:
 
  Olivier Hi all, I just wanted to thank the LyX team for the work
 they
  Olivier do. I have written my PhD thesis 2 years ago with LyX, and
 it
  Olivier never failed on me. Even when X crashed once (in a 6 month
  Olivier period), LyX managed not to loose a single letter of my
 work.
 
  Thanks for your kind words.
 
  And congratualtions for your thesis, although I am of course 2
 years
  late...
 
  JMarc
 
 









Re: layout for a PhD thesis

2005-02-02 Thread samar j. singh


 Hi everybody,
 I'm a new Lyx users and I'd like to use it to write my PhD thesis.
 Could someone suggest me a nice layout including
 chapter, theorem, lemma, proof environments?
 
 Thanks,
 Paolo Valente
 
 
 Many US universities have latex formats on the website. Take the one
you like, import it into lyx and start writing. You may want to try MIT to 
start with.

samar 


Re: tex2lyx for Linux

2005-02-02 Thread Angus Leeming
Sven Schreiber wrote:
ImportError: No module named getopt
 
 Last time we saw this error this was the result of a bad or incomplete
 python installation.
 
 Actually it's the stripped-down python version always installed by the
 LyxWin package. Due to PATH settings it can get called even though a
 complete python installation is also on the system. In that sense it
 seems that in the LyxWin-package lyx2lyx is doubly broken: first it
 isn't recognized on windows as a python script, and second the included
 python installation cannot handle it.

You might be doing Ruurd a slight disservice there. We're playing here with
the lyx2lyx that is bundled with LyX 1.4.x, not the version that comes
with LyX/Win 1.3.x.

-- 
Angus



Re: Writing Lyx on a text editor

2005-02-02 Thread chr
On Wed, 2 Feb 2005, Jose' Matos wrote:

 On Wednesday 02 February 2005 07:30, Jose Capco wrote:
 
  Oh by the by.. not related to the topic here. Is there
  a way to view the (most recent!) mailing list posts
  without checking it up in the email (like in a
  newsgroup or a http site.. someone has to put up a lyx
  newsgroup , that way I think its more practical)
 
   Not it is not, IMO. :-)

It is in my IMO :-)

/C

-- 
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr




Re: Getting LyX to replace custom-defined symbols as if they were standard LaTeX symbols

2005-02-02 Thread Johan Ingvast
On Wed, 2 Feb 2005, Davide Cescato wrote:

 Hello,
 
 I am writing a draft for an article and I am still unsure about the 
 names of some variables I am going to use in my final version. In order 
 to handle this situation, in LaTeX I would define
 
 \newcommand{\ntx}{N_T}
 \newcommand{\nrx}{N_R}
 
 and then use \ntx and \nrx in my formulas whenever needed. If I later 
 decide to use M_T instead of N_T, I can just redefine \ntx 
 correspondingly without replacing all occurrencies in the document.
 
 I can do the same in LyX, by adding the commands above to the document 
 header or as LaTeX code within the document body.
 
 The point is that if I enter math mode and type \ntx\sigma\nrx , LyX 
 will replace the LaTeX standard \sigma command with the Greek character, 
 but not my custom-defined symbols, which will only appear with their 
 command names in red. This makes my formulas almost as unreadable as if 
 they were written in plain LaTeX!
 
 Is there a way to make LyX replace my commands as well, as it does with 
 the standard LaTeX ones?
I think that math-macro is what you really need. 
Math macro is like \newcommand and some more ...
In the beginning of the document type:
M-x math-macro ntx 0
Then you get a box at the cursor consisting of Macro: ntx and two boxes
In the first box you fill in what shuld be displayed when processed by
latex. The second box is what is shown in the lyx editor when you type \ntx.

You can also add arguments to the math-macro by replacing the 0 to the
number of arguments you want. The arguments are called by #no
I sometimes defines a nicefraction by  M-x math-macro nf 2
\nicefrac{#1}{#2}   % first box
#1/#2   % second box
(with \usepackage{nicefrac} in preamble)
Then i get nice looking fractions in the output when calling \nf

Another maybe simpler solution is to turn on the instant-preview
(in Preferences/Look and freel/graphics (qt-version))
and have your \newcommand's in the preamble. Then you will see the result
in the lyx windown when you leave the equation.

/johan

-- 
Johan Ingvast, PhD student http://www.md.kth.se/~ingvast
Department of Machine Design, Royal Institute of Technology, Sweden
http://www.md.kth.se, http://www.md.kth.se/~cas --- Walking robot proj
tel +46 (0)8 790 95 36  mob. +46 (0)70 34 34 498




Re: Getting LyX to replace custom-defined symbols as if they were standard LaTeX symbols

2005-02-02 Thread Vaclav Smidl
It si probably math-macros what you are looking for.
Basicaly, it is LyX frontend to \newcommand.

It is all well described in the User Guide (MenuHelpUserGuide), Section 5.6 
Usedr defined macros in math mode.

good luck,

Vasek


On Wednesday 02 February 2005 17:10, Davide Cescato wrote:
 Hello,

 I am writing a draft for an article and I am still unsure about the
 names of some variables I am going to use in my final version. In order
 to handle this situation, in LaTeX I would define

 \newcommand{\ntx}{N_T}
 \newcommand{\nrx}{N_R}

 and then use \ntx and \nrx in my formulas whenever needed. If I later
 decide to use M_T instead of N_T, I can just redefine \ntx
 correspondingly without replacing all occurrencies in the document.

 I can do the same in LyX, by adding the commands above to the document
 header or as LaTeX code within the document body.

 The point is that if I enter math mode and type \ntx\sigma\nrx , LyX
 will replace the LaTeX standard \sigma command with the Greek character,
 but not my custom-defined symbols, which will only appear with their
 command names in red. This makes my formulas almost as unreadable as if
 they were written in plain LaTeX!

 Is there a way to make LyX replace my commands as well, as it does with
 the standard LaTeX ones?

 Thanks for your suggestions

 D.

-- 
-
Ing. Vaclav Smidl, Ph.D.tel: +420 26605 2420
AS department,  Institute   web: http://www.utia.cas.cz/AS/smidl/
of Information Theory and Automation,   fax: +420 26605 2068
Prague, Czech Republic


Re: tex2lyx for Linux

2005-02-02 Thread Sven Schreiber
Angus Leeming wrote:
Sven Schreiber wrote:
ImportError: No module named getopt
Last time we saw this error this was the result of a bad or incomplete
python installation.
Actually it's the stripped-down python version always installed by the
LyxWin package. Due to PATH settings it can get called even though a
complete python installation is also on the system. In that sense it
seems that in the LyxWin-package lyx2lyx is doubly broken: first it
isn't recognized on windows as a python script, and second the included
python installation cannot handle it.

You might be doing Ruurd a slight disservice there. We're playing here with
the lyx2lyx that is bundled with LyX 1.4.x, not the version that comes
with LyX/Win 1.3.x.
I didn't intend any offense, it was Ruurd's work that made it possible 
for me to use lyx regularly in the first place, and I very much 
appreciate it. Just wanted to point out where I think the error message 
stems from. And that it seems to me that renaming lyx2lyx to 
lyx2lyx.py as was discussed before will not remedy the fact that the 
bundled-with-Ruurds-lyxwin python doesn't seem to handle it.

btw, another thing I very much appreciate is your tex2lyx snapshot. In 
fact I am using it right now to avoid my earlier relyx-problems. What 
I'm not sure about: Would you like users (like me) to give feedback now, 
or will testing start later on?

cheers,
sven


Re: tex2lyx for Linux

2005-02-02 Thread Georg Baum
Am Mittwoch, 2. Februar 2005 16:58 schrieb Jose Capco:
 I didn't understand your example, I was however able
 to read the output lyx using the recent available
 version , I'm not sure if it would be looking the same
 had I lyx2lyxed it... it looks .. er not bad if I
 don't don't use packages in my LaTeX. I wonder how to
 go through newcommand stuffs in the preamble, putting
 that in the preamble, I'll try to start all over and
 write the preamble in lyx itself and not tex2lyx yet.

If you have lyx2lyx working, you should be able to put everything into the 
preamble that you like. tex2lyx does not really touch the preamble, but 
it extracts certain packages that have builtin LyX support.

 could you give me a tex you wrote and know that it
 converts to lyx perfectly.. I need to know what to and
 what not to put.

Please do it the other way round: get your lyx2lyx woking, and then 
convert your document and tell us what does not work. Apart from certain 
tabular features (i. e. advanced column settings) and some advanced 
expert tex stuff everything should more or less work. If it does not, it 
may be easy to fix, but we need to know about it.


Georg



Re: tex2lyx for Linux

2005-02-02 Thread Jose Capco
ok great.. so I'll just wait until the 1.4.x comes up
and the python er... anyway I'll just let 1.3.x import
the 1.4.x lyxs which are still readable (but
probably... Im not sure though, that after relyxing
things would look better). 

and also, if the owner of this mailing list also reads
this... could you please setup the listbot to send the
emails so that when I hit the reply button it will
send to the list rather than the individul users (I
think that is possible, the listbot did an email
redirection when I first subscribed to the list).

Sincerely,
Jose Capco

--- Sven Schreiber [EMAIL PROTECTED] wrote:

 I didn't intend any offense, it was Ruurd's work
 that made it possible 
 for me to use lyx regularly in the first place, and
 I very much 
 appreciate it. Just wanted to point out where I
 think the error message 
 stems from. And that it seems to me that renaming
 lyx2lyx to 
 lyx2lyx.py as was discussed before will not remedy
 the fact that the 
 bundled-with-Ruurds-lyxwin python doesn't seem to
 handle it.
--- snip
 cheers,
 sven
 




__ 
Do you Yahoo!? 
The all-new My Yahoo! - What will yours do?
http://my.yahoo.com 


Re: tex2lyx for Linux

2005-02-02 Thread Jose Capco
I'd love to be the guinea pig.. the boss cant write
with LaTeX and this is the only way out. I'll send
feedbacks.

Jose Capco

PS: I'll try experimenting on importing packages and
using \newcommands on the preamble.. if anyone knows
that this work then please advise.

--- Georg Baum [EMAIL PROTECTED] wrote:
 Please do it the other way round: get your lyx2lyx
 woking, and then 
 convert your document and tell us what does not
 work. Apart from certain 
 tabular features (i. e. advanced column settings)
 and some advanced 
 expert tex stuff everything should more or less
 work. If it does not, it 
 may be easy to fix, but we need to know about it.
 
 
 Georg
 
 




__ 
Do you Yahoo!? 
Yahoo! Mail - Easier than ever with enhanced search. Learn more.
http://info.mail.yahoo.com/mail_250


install failure lyx-1.3.5

2005-02-02 Thread Wolfgang Engelmann
Somebody out there who ran into an install failure using  
lyx-1.3.5-1suse90_xforms.i586.rpm?
klicking on it calls Yast
which after some time tells me
lyx.rpm install failed:
/root/bashrc: line 45:profile: no such file or dir
error: %post (lyx-1.3.5-1suse90_xforms) scriptlet failed
exit status 1

I used to use 1.3.4-38 SuseLinux Version 9.2 before without problems.
Do I have to de-install this version first?

Help much appreciated

Wolfgang
-- 
-
Wolfgang Engelmann
Schlossgartenstrasse 22
D-72070 Tübingen


Re: layout for a PhD thesis

2005-02-02 Thread Subir Singh Lamba

Some one in Durham university has made a basic thesis layout. You will
have to edit it to suit your needs. If you are unable to find it I can
send it to you.


On Wed, 2 Feb 2005, Paolo Valente wrote:

 Hi everybody,
 I'm a new Lyx users and I'd like to use it to write my PhD thesis.
 Could someone suggest me a nice layout including
 chapter, theorem, lemma, proof environments?
 
 Thanks,
 Paolo Valente
 
 

-- 
Those who desire to give up Freedom in order to gain Security, will not 
have, nor do they deserve, either one. (T. Jefferson or B. Franklin or 
both...)


Re: tex2lyx for Linux

2005-02-02 Thread Angus Leeming
Sven Schreiber wrote:
 btw, another thing I very much appreciate is your tex2lyx snapshot. In
 fact I am using it right now to avoid my earlier relyx-problems. What
 I'm not sure about: Would you like users (like me) to give feedback now,
 or will testing start later on?

Feedback is good. Apart from the obvious file name problem that Jose has
had trouble with, there's a small bug in the latex parser that was
corrected yesterday by Georg Baum. I've posted an updated version to
http://www.devel.lyx.org/~leeming/tex2lyx_win32_02Feb05.zip
but preliminary testings suggest that it is struggling with more file name
problems.

I'm out of town for a week or so as of Friday. I'd hope and expect things
to be better by the time I return.

-- 
Angus



Re: tex2lyx for Linux

2005-02-02 Thread Sven Schreiber
Angus Leeming wrote:
Sven Schreiber wrote:
btw, another thing I very much appreciate is your tex2lyx snapshot. In
fact I am using it right now to avoid my earlier relyx-problems. What
I'm not sure about: Would you like users (like me) to give feedback now,
or will testing start later on?

Feedback is good. Apart from the obvious file name problem that Jose has
had trouble with, there's a small bug in the latex parser that was
corrected yesterday by Georg Baum. I've posted an updated version to
http://www.devel.lyx.org/~leeming/tex2lyx_win32_02Feb05.zip
but preliminary testings suggest that it is struggling with more file name
problems.
I'm out of town for a week or so as of Friday. I'd hope and expect things
to be better by the time I return.
Overall I'm quite impressed! But it still required some corrections 
afterwards, although I suspect some problems may be windows-specific 
(e.g. because of line-ending characters -- although I used an editor to 
try both unixish and windowsish settings without any difference!?). And 
I ended up using absolute paths everywhere for includegraphics as a 
simple workaround, because relative ones didn't work (tex2lyx complained 
couldn't find). Also remember that my comments apply to the whole 
tex2lyx-lyx2lyx-lyx1.3 trip, I cannot say where exactly things are 
happening.

Some other things:
- complains when \includegraphics* (starred variant) is used, while it 
could just be treated as the unstarred version (or am I missing something?)
- I use pdflatex but don't specify the .pdf-extension so that I can 
switch to normal latex (using .eps) seamlessly; tex2lyx applies a 
definite choice, thereby destroying this nice portability. Why?
- I have a \bibliographystyle definition (with natbib), this seems to be 
imported twice: it is specified when I open the bibreferences-inset, but 
it's also displayed as ERT
- imports the \thanks-field inside the \title as ERT
- has problems with my complicated \author-field (can't blame it too 
much, this includes minipages and graphics)
- tables are fine!

so much for that, thanks again for making it available
-sven



Re: Viewing eps/pdf within LyXWin on Windows 2000

2005-02-02 Thread Uwe Stöhr
[EMAIL PROTECTED] wrote:
Despite quite a bit of fiddling around I cant get .eps or .pdf files to
display within LyX when I insert them into a document. When I insert such
a figure I get the message Error conveting to loadable format in the box
where the picture should be displayed. The output DVI is fine though.
This is a ghostview/Imagemagick problem.
Which version of ghostscript and Imagemagick are you using?
If you can see other image formats than .eps, .ps, and .pdf inside LyX, 
an update to the newest Imagemagick version should help.

regards Uwe


Re: tex2lyx for Linux

2005-02-02 Thread Georg Baum
Am Mittwoch, 2. Februar 2005 19:03 schrieb Jose Capco:
 and also, if the owner of this mailing list also reads
 this... could you please setup the listbot to send the
 emails so that when I hit the reply button it will
 send to the list rather than the individul users (I
 think that is possible, the listbot did an email
 redirection when I first subscribed to the list).

It is possible, but not wanted. Read 
http://www.unicom.com/pw/reply-to-harmful.html, and then get a decent 
email program (or news client, if you read the list via gmane). For 
example, I press L in kmail when I want to answer to the list.


Georg



Re: tex2lyx for Linux

2005-02-02 Thread Angus Leeming
Sven Schreiber wrote:
Overall I'm quite impressed! But it still required some corrections 
afterwards, although I suspect some problems may be windows-specific 
(e.g. because of line-ending characters -- although I used an editor to 
try both unixish and windowsish settings without any difference!?). 
Georg has just committed another fix. Apparently a '\n' character became 
 \\n. I'll try and upload a new version.

And I ended up using absolute paths everywhere for includegraphics as a 
simple workaround, because relative ones didn't work (tex2lyx complained 
couldn't find).
Almost certainly this recently-introduced file horkage I've mentioned.
Later,
Angus


Re: tex2lyx for Linux

2005-02-02 Thread Paul Smith
Thanks, Angus, for your reply to my question. Meanwhile, I had the
idea of installing LyX 1.4 cvs and getting tex2lyx. Afterwards, can I
get back to LyX 1.3.5 and using tex2lyx without LyX 1.4? Does my idea
make some sense?

Paul


Re: tex2lyx for Linux

2005-02-02 Thread Georg Baum
Am Mittwoch, 2. Februar 2005 20:37 schrieb Sven Schreiber:

 - complains when \includegraphics* (starred variant) is used, while it 
 could just be treated as the unstarred version (or am I missing 
something?)

\includegraphics* is equivalent to \includegraphics[clip]. I implemented 
\includegraphics* right now, it will appear in CVS soon.
I guess that there are a lot of such simple things that are easy to 
implement (5 lines of code in this case), but that we simply need to be 
aware of.

 - I use pdflatex but don't specify the .pdf-extension so that I can 
 switch to normal latex (using .eps) seamlessly; tex2lyx applies a 
 definite choice, thereby destroying this nice portability. Why?

Because LyX 1.4 _always_ needs the extension: There is always one master 
version of the graphic that is referenced in the .lyx file. The others 
are created by the converter mechanism from the master file if needed. 
LyX will not output the extension in the .tex file to maintain 
portability, but it needs it in the .lyx file.
Therefore tex2lyx looks for existing files and adds the extension if it 
finds one. What is missing here is a commandline switch for tex2lyx that 
tells wether the document is for normal latex or pdflatex. This should 
not be difficult to implement, you are welcome to do that if you know a 
bit of C++ ;-)

 - I have a \bibliographystyle definition (with natbib), this seems to be 
 imported twice: it is specified when I open the bibreferences-inset, but 
 it's also displayed as ERT

This is a known problem. It would be nice if you could add that to the 
wiki page.


Georg



Reading lyx-users via newsgroup/http [Was Re: Writing Lyx on a text editor]

2005-02-02 Thread Kevin Pfeiffer
Jose Capco writes:
 Oh by the by.. not related to the topic here. Is there
 a way to view the (most recent!) mailing list posts
 without checking it up in the email (like in a
 newsgroup or a http site.. someone has to put up a lyx
 newsgroup , that way I think its more practical)

You could probably set this up...

http://www.opensubscriber.com/


-K
-- 
Kevin Pfeiffer [EMAIL PROTECTED]
Tiros-Translations


Re: Writing Lyx on a text editor

2005-02-02 Thread Paul A. Rubin
Jose Capco wrote:
Oh by the by.. not related to the topic here. Is there
a way to view the (most recent!) mailing list posts
without checking it up in the email (like in a
newsgroup or a http site.. someone has to put up a lyx
newsgroup , that way I think its more practical) 
http://dir.gmane.org/gmane.editors.lyx.general
-- Paul


Re: Writing Lyx on a text editor

2005-02-02 Thread Jean-Pierre Chretien

To: lyx-users@lists.lyx.org
From: Paul A. Rubin [EMAIL PROTECTED]
Subject: Re: Writing Lyx on a text editor
Date: Wed, 02 Feb 2005 17:29:27 -0500

Jose Capco wrote:

 Oh by the by.. not related to the topic here. Is there
 a way to view the (most recent!) mailing list posts
 without checking it up in the email (like in a
 newsgroup or a http site.. someone has to put up a lyx
 newsgroup , that way I think its more practical) 

http://dir.gmane.org/gmane.editors.lyx.general

Great, but I can't take a live bookmark on the RSS feeds from Firefox...
Am I doing wrong ?

-- 
Jean-Pierre




Re: Writing Lyx on a text editor

2005-02-02 Thread chr
On Tue, 1 Feb 2005, Jose Capco wrote:

> output (like lyx claims to produce) on the screen (the
> printed output is pretty much like LaTeX) but its fine
> anyway..
Considering that LyX uses LaTeX to produce the output it should really be 
*exactly* the same..

> Oh by the by.. not related to the topic here. Is there
> a way to view the (most recent!) mailing list posts
> without checking it up in the email (like in a
> newsgroup or a http site.. someone has to put up a lyx
> newsgroup , that way I think its more practical) 

Reading http://wiki.lyx.org/LyX/InternetResources I found the link to the 
gmane interface as follows:
http://news.gmane.org/gmane.editors.lyx.general/

/Christian

-- 
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr




Re: Writing Lyx on a text editor

2005-02-02 Thread Jose' Matos
On Wednesday 02 February 2005 07:30, Jose Capco wrote:
>
> Oh by the by.. not related to the topic here. Is there
> a way to view the (most recent!) mailing list posts
> without checking it up in the email (like in a
> newsgroup or a http site.. someone has to put up a lyx
> newsgroup , that way I think its more practical)

  Not it is not, IMO. :-)

  But I think that you are searching this:
http://dir.gmane.org/gmane.editors.lyx.general

> Sincerely,
> Jose Capco

-- 
José Abílio


thanks to LyX team

2005-02-02 Thread Olivier Ripoll
Hi all,
I just wanted to thank the LyX team for the work they do. I have written 
my PhD thesis 2 years ago with LyX, and it never failed on me. Even when 
X crashed once (in a 6 month period), LyX managed not to loose a single 
letter of my work.

It may seem late to thank the team now, but since I have now an 
anti-spam email (thanks yahoo) and my thesis have been finally uploaded 
on the web site of the university, I thought better late than ever ;)
The pdf (acrobat-friendly) can be found at:
http://www-optics.unine.ch/publications/theses/Thesis_Ripoll.pdf

Cheers,
Olivier Ripoll.
PS: I know at least two other theses written with LyX at the same 
institute, one of which is also online now:
http://www-optics.unine.ch/publications/theses/Thesis_Gonte.pdf



Re: thanks to LyX team

2005-02-02 Thread Jean-Marc Lasgouttes
> "Olivier" == Olivier Ripoll <[EMAIL PROTECTED]> writes:

Olivier> Hi all, I just wanted to thank the LyX team for the work they
Olivier> do. I have written my PhD thesis 2 years ago with LyX, and it
Olivier> never failed on me. Even when X crashed once (in a 6 month
Olivier> period), LyX managed not to loose a single letter of my work.

Thanks for your kind words. 

And congratualtions for your thesis, although I am of course 2 years
late...

JMarc



tex2lyx for Linux

2005-02-02 Thread Paul Smith
Dear All

I remember Angus has recently produced a version of tex2lyx for MS
Windows. Is there a Linux version of it to run autonomously, that is,
without having LyX 1.4 cvs installed?

Thanks in advance,

Paul


Re: thanks to LyX team

2005-02-02 Thread samar j. singh
Hi

I would  like to join the applause for the lyx team. Although Lyx was not
around when I  did mine, I use it  very extensively for writing proposals
and just about everything else. I had years of latex and miktex before my
linux days.There is a world of difference when  you have to do
bibliographies and an index apart from all the other  productivity. Coming
to latex was a wonderful leap. Taking to Lyx is a whole new world.

The only problem is  when one has to talk to the rest of the world in .doc

The lyx team has done a grand job and its nice to be able to say thank you
now that  we have been reminded not to take it for granted.

samar

- Original Message - 
From: "Jean-Marc Lasgouttes" <[EMAIL PROTECTED]>
To: "Olivier Ripoll" <[EMAIL PROTECTED]>
Cc: 
Sent: Wednesday, February 02, 2005 4:17 PM
Subject: Re: thanks to LyX team


> > "Olivier" == Olivier Ripoll <[EMAIL PROTECTED]> writes:
>
> Olivier> Hi all, I just wanted to thank the LyX team for the work they
> Olivier> do. I have written my PhD thesis 2 years ago with LyX, and it
> Olivier> never failed on me. Even when X crashed once (in a 6 month
> Olivier> period), LyX managed not to loose a single letter of my work.
>
> Thanks for your kind words.
>
> And congratualtions for your thesis, although I am of course 2 years
> late...
>
> JMarc
>
>



Re: tex2lyx for Linux

2005-02-02 Thread Jose Capco
I would be interested too.. I would also be interested
in a tex2lyx standalone (ie. would run without one
having lyx in his system) if this is possible. I just
downloaded Angus's tex2lyx but Im not sure if it works
for window users who installed lyx using cygwin (I
didnt tried other lyx versions for windows ... I
thought since I have cygwin already I will just do
with this version), it wasnt able to find the .ltx
file even if I put it in the sysdir parameter of
tex2lyx. 

... but then again, I dont think this was meant to be
used in cygwin.

Sincerely,
Jose Capco

--- Paul Smith <[EMAIL PROTECTED]> wrote:

> Dear All
> 
> I remember Angus has recently produced a version of
> tex2lyx for MS
> Windows. Is there a Linux version of it to run
> autonomously, that is,
> without having LyX 1.4 cvs installed?
> 
> Thanks in advance,
> 
> Paul
> 




__ 
Do you Yahoo!? 
Yahoo! Mail - Easier than ever with enhanced search. Learn more.
http://info.mail.yahoo.com/mail_250


Re: tex2lyx for Linux

2005-02-02 Thread Angus Leeming
Paul Smith wrote:

> Dear All
> 
> I remember Angus has recently produced a version of tex2lyx for MS
> Windows. Is there a Linux version of it to run autonomously, that is,
> without having LyX 1.4 cvs installed?

No, because different flavours of linux have different run time libraries
and a single binary would probably crash mysteriously. It really isn't
that hard to build if you have a compiler installed. I think I did:

./autogen.sh
mkdir build && cd build
../configure
(cd boost && make)
(cd src/support && make)
(cd src/tex2lyx && make install)
(cd lib && make install)

and then pruned the resulting $PREFIX/share/lyx directory to the state I
described in the original mail. Took maybe 10 minutes to do?

Of course, I have a functioning build environment, but that should be a
doddle to set up on a modern linux machine.

-- 
Angus



Re: tex2lyx for Linux

2005-02-02 Thread Angus Leeming
Jose Capco wrote:

> I would be interested too.. I would also be interested
> in a tex2lyx standalone (ie. would run without one
> having lyx in his system) if this is possible. I just
> downloaded Angus's tex2lyx but Im not sure if it works
> for window users who installed lyx using cygwin (I
> didnt tried other lyx versions for windows ... I
> thought since I have cygwin already I will just do
> with this version), it wasnt able to find the .ltx
> file even if I put it in the sysdir parameter of
> tex2lyx.
> 
> ... but then again, I dont think this was meant to be
> used in cygwin.
> 
> Sincerely,
> Jose Capco

This is a native Windows executable. It doesn't understand Cygwin-style,
posix-ish paths.

Can you run it from a CMD prompt? Ie, pass it Windows-style paths as I did
in the example I posted.

-- 
Angus



Viewing eps/pdf within LyXWin on Windows 2000

2005-02-02 Thread nburgan
Hello All,

I have installed LyXWin ((lyx-1.3.5-win32-nc.exe) on Windows 2000
following the instructions on the LyW WikiWiki – LyX.WindowsSetup webpage.

Despite quite a bit of fiddling around I can’t get .eps or .pdf files to
display within LyX when I insert them into a document. When I insert such
a figure I get the message “Error conveting to loadable format” in the box
where the picture should be displayed. The output DVI is fine though.

When running LyX in debug mode I can see that the problem is

C:/lyx/share/lyx/scripts/convertDefault.sh ERROR
Unable to find file "C:/lyx/tmp/lyx_tmpdir1056a00432/aulogo1056a00432.ppm"

If I understand it correctly LyX uses ImageMagick (convert) which uses
Ghostscript to display .eps and .pdf images within LyX. When I reconfigure
LyX I can see that it does not see to find “gs”.

checking for Image converter... (convert)
+checking for "convert"... yes
checking for a Postscript interpreter... (gs)
+checking for "gs"... no
checking for a Postscript previewer... (gsview32 gv ghostview)
+checking for "gsview32"... yes
checking for a PDF preview... (acrobat acrord32 gsview32 acroread gv ghost
pdf)
+checking for "acrobat"... no
+checking for "acrord32"... yes

It seems that it can’t find the Postscript interpreter “gs”. Shouldn’t
LyXWin be looking for “gswin32” anyway? (The location of gswin32 is in the
path). I have included the whole reconfigure output at the end of this
email.

Any help would be appreciated.
Thanks in advance

Nick Burgan

Reconfigure output


C:/lyx/share/lyx/configure
C:\lyx\share\lyx\..\..\bin;C:\lyx\bin\;c:\gs\gs8.50\bin;c:\ghostgum\gsview
xmf\miktex\bin;c:\program files\adobe\acrobat 6.0\reader;c:\imagemagick-6.
6;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\WINNT\system32\nls;
NT\system32\nls\ENGLISH;C:\Program Files\SSH Communications Security\SSH S
Shell
checking for a LaTeX2e program... (latex latex2e)
+checking for "latex"... yes
checking for the pdflatex program... (pdflatex)
+checking for "pdflatex"... yes
checking for a LaTeX -> LyX converter... (reLyX)
+checking for "reLyX"... yes
checking for a Noweb -> LyX converter... (noweb2lyx)
+checking for "noweb2lyx"... yes
checking for a Noweb -> LaTeX converter... (noweave)
+checking for "noweave"... no
checking for a HTML -> Latex converter... (html2latex)
+checking for "html2latex"... no
checking for a MSWord -> Latex converter... (wvCleanLatex word2x)
+checking for "wvCleanLatex"... no
+checking for "word2x"... no
checking for Image converter... (convert)
+checking for "convert"... yes
checking for a Postscript interpreter... (gs)
+checking for "gs"... no
checking for a Postscript previewer... (gsview32 gv ghostview)
+checking for "gsview32"... yes
checking for a PDF preview... (acrobat acrord32 gsview32 acroread gv ghost
pdf)
+checking for "acrobat"... no
+checking for "acrord32"... yes
checking for a DVI previewer... (xdvi windvi yap)
+checking for "xdvi"... no
+checking for "windvi"... no
+checking for "yap"... yes
checking for a HTML previewer... (mozilla file://$$p$$i netscape)
+checking for "mozilla"... no
+checking for "netscape"... no
checking for a PS to PDF converter... (ps2pdf)
+checking for "ps2pdf"... no
checking for a DVI to PS converter... (dvips)
+checking for "dvips"... yes
checking for a DVI to PDF converter... (dvipdfm)
+checking for "dvipdfm"... yes
checking for a *roff formatter... ('groff -t -Tlatin1 280FName' nroff)
+checking for "groff"... no
+checking for "nroff"... no
checking for ChkTeX... (chktex -n1 -n3 -n6 -n9 -n22 -n25 -n30 -n38)
+checking for "chktex"... no
checking for a spell-checker... (ispell)
+checking for "ispell"... no
checking for Octave... (octave)
+checking for "octave"... no
checking for Maple... (maple)
+checking for "maple"... no
checking for a fax program... (kdeprintfax ksendfax)
+checking for "kdeprintfax"... no
+checking for "ksendfax"... no
checking for SGML-tools 1.x (LinuxDoc)... (sgml2lyx)
+checking for "sgml2lyx"... no
checking for SGML-tools 2.x (DocBook) or db2x scripts... (sgmltools db2dvi
+checking for "sgmltools"... no
+checking for "db2dvi"... no
checking for a spool command... (lp lpr)
+checking for "lp"... no
+checking for "lpr"... yes
checking for a LaTeX -> HTML converter... (tth latex2html hevea)
+checking for "tth"... no
+checking for "latex2html"... no
+checking for "hevea"... no
checking LaTeX configuration... auto
+Inspecting your LaTeX configuration.
+checking for LaTeX version... 2001/06/01
+checking for default encoding (this may take a long time)
+  checking for ec fonts... yes
+  checking for ec support in LaTeX format... yes
+checking for document class IEEEtran [IEEEtran]... yes
...
+checking for document class svprobth [svjour,svprobth.clo]... no
+checking for package a4 [a4]... yes
...
+checking for package graphicx [graphicx]... yes
+checking for graphics driver... default
+checking for package psnfss [times.sty]... yes
+Inspection done.
+Read the file doc/LaTeXConfig.lyx for more 

Re: Viewing eps/pdf within LyXWin on Windows 2000

2005-02-02 Thread Angus Leeming
[EMAIL PROTECTED] wrote:

> Hello All,
> 
> I have installed LyXWin ((lyx-1.3.5-win32-nc.exe) on Windows 2000
> following the instructions on the LyW WikiWiki – LyX.WindowsSetup
> webpage.
> 
> Despite quite a bit of fiddling around I can’t get .eps or .pdf files to
> display within LyX when I insert them into a document. When I insert such
> a figure I get the message “Error conveting to loadable format” in the
> box where the picture should be displayed. The output DVI is fine though.
> 
> When running LyX in debug mode I can see that the problem is
> 
> C:/lyx/share/lyx/scripts/convertDefault.sh ERROR
> Unable to find file
> "C:/lyx/tmp/lyx_tmpdir1056a00432/aulogo1056a00432.ppm"

This is a weird and wonderful bug to do with the sh.exe on Windows. You
think that temp directory is C:/lyx/tmp. I think it is too. sh.exe
mysteriously uses something else (the  %TMPPATH% environment variable or
somesuch).

The fix is straightforward. Just remove the last few lines of
convertDefault.sh. They're not needed and are screwing things up here.

-# It appears that convert succeeded, but we know better than to trust
it ;-)
-# convert is passed strings in the form "FMT:FILENAME", so use the ':' to
-# delimit the two parts.
-# Note that Win32 filenames have the form 'C:\my\file',
-# so use everything from the first ':' to the end of the line.
-FILE=`echo "$2" | cut -d ':' -f 2-`
-
-test -f "$FILE" || {
-   echo "$0 ERROR"
-   echo "Unable to find file \"${FILE}\""
-   exit 1
-}
-
-echo "$0 generated file \"${FILE}\" successfully."

-- 
Angus



Re: tex2lyx for Linux

2005-02-02 Thread Jose Capco
No! In fact I even installed Ruurd Reitsma's port just
to test this and it didnt worked 

I installed the windows port in C:\Lyx directory.. and
then extracted the file in the tex2lyx zipfile you
posted today to their respective paths and then after
running I got something like
--
Unable to determine the path to the LyX binary from
the command line tex2lyx


in the shell (I put the bin directory in my path so I
can run tex2lyx anywhere.. but it didnt even worked
when I tried it where it was copied).

Jose Capco


--- Angus Leeming <[EMAIL PROTECTED]> wrote:
> This is a native Windows executable. It doesn't
> understand Cygwin-style,
> posix-ish paths.
> 
> Can you run it from a CMD prompt? Ie, pass it
> Windows-style paths as I did
> in the example I posted.
> 
> -- 
> Angus
> 
> 




__ 
Do you Yahoo!? 
Yahoo! Mail - Easier than ever with enhanced search. Learn more.
http://info.mail.yahoo.com/mail_250


Re: tex2lyx for Linux

2005-02-02 Thread Angus Leeming
On Wednesday 02 February 2005 13:31, you wrote:
> No!

Ach!

> In fact I even installed Ruurd Reitsma's port just 
> to test this and it didnt worked

Why did you think you needed this?

> I installed the windows port in C:\Lyx directory.. and
> then extracted the file in the tex2lyx zipfile you
> posted today to their respective paths and then after
> running I got something like

Just a second. tex2lyx expects to find the support files in a 
directory ..\Resources\lyx relative to the directory holding the 
binary itself. If you have copied only the tex2lyx binary then that's 
not going to work. Please use the whole package. Install it as (say) 
C:\tex2lyx. Whatever.

> --
> Unable to determine the path to the LyX binary from
> the command line tex2lyx
> 

What happens if you specify the full path to the binary
   C:\tex2lyx\bin\tex2lyx.exe

(Sorry to sound so silly. It turns out Lars broke lots of file-related 
things on Windows the other day and we're trying to clear up the 
mess.)

> in the shell (I put the bin directory in my path so I
> can run tex2lyx anywhere.. but it didnt even worked
> when I tried it where it was copied).
>
> Jose Capco
Angus


Re: thanks to LyX team

2005-02-02 Thread R S Ananda Murthy
On 02/02/2005 05:15:11 PM, samar j. singh wrote:
Hi
I would  like to join the applause for the lyx team. Although Lyx was
not
around when I  did mine, I use it  very extensively for writing
proposals
and just about everything else. I had years of latex and miktex  
before
my
linux days.There is a world of difference when  you have to do
bibliographies and an index apart from all the other  productivity.
Coming
to latex was a wonderful leap. Taking to Lyx is a whole new world.

The only problem is  when one has to talk to the rest of the world in
.doc
Please do not talk to the rest of world in *.doc. Instead use pdf. In  
that way your document cannot be modified by anybody and it cannot be  
affected by any macro virus.

Anand
The lyx team has done a grand job and its nice to be able to say  
thank
you
now that  we have been reminded not to take it for granted.

samar
- Original Message -
From: "Jean-Marc Lasgouttes" <[EMAIL PROTECTED]>
To: "Olivier Ripoll" <[EMAIL PROTECTED]>
Cc: 
Sent: Wednesday, February 02, 2005 4:17 PM
Subject: Re: thanks to LyX team
> > "Olivier" == Olivier Ripoll <[EMAIL PROTECTED]>
writes:
>
> Olivier> Hi all, I just wanted to thank the LyX team for the work
they
> Olivier> do. I have written my PhD thesis 2 years ago with LyX, and
it
> Olivier> never failed on me. Even when X crashed once (in a 6 month
> Olivier> period), LyX managed not to loose a single letter of my
work.
>
> Thanks for your kind words.
>
> And congratualtions for your thesis, although I am of course 2  
years
> late...
>
> JMarc
>
>






layout for a PhD thesis

2005-02-02 Thread Paolo Valente
Hi everybody,
I'm a new Lyx users and I'd like to use it to write my PhD thesis.
Could someone suggest me a nice layout including
chapter, theorem, lemma, proof environments?
Thanks,
Paolo Valente



Re: tex2lyx for Linux

2005-02-02 Thread Jose Capco
> > In fact I even installed Ruurd Reitsma's port just
> 
> > to test this and it didnt worked
> 
> Why did you think you needed this?

you told me that the cygwin thingy isn't recognized.

> Just a second. tex2lyx expects to find the support
> files in a 
> directory ..\Resources\lyx relative to the directory
> holding the 
> binary itself. If you have copied only the tex2lyx
> binary then that's 
> not going to work. Please use the whole package.
> Install it as (say) 
> C:tex2lyx. Whatever.

Nono, I installed the whole stuff... but no need to
worry I got it working, and guess what was the
problem! 
When running the file I need to specify exactly the
location of tex2lyx (like you put it in your example)
I need to type 

c:\lyx\bin\tex2lyx.exe input.tex > input.lyx

I can't get through this by just putting the binaries
for lyx into the path environment and then just type

tex2lyx.exe input... blah

But I still need to figure out how to make lyx2lyx
work.. I tried the way you called lyx2lyx by typing

python C:\LyX\Resources\lyx\lyx2lyx\lyx2lyx test

but got 



'import site' failed; use -v for traceback
Traceback (most recent call last):
  File "C:\LyX\Resources\lyx\lyx2lyx\lyx2lyx", line
19, in ?
import getopt
ImportError: No module named getopt

I didn't understand your example, I was however able
to read the output lyx using the recent available
version , I'm not sure if it would be looking the same
had I lyx2lyxed it... it looks .. er not bad if I
don't don't use packages in my LaTeX. I wonder how to
go through newcommand stuffs in the preamble, putting
that in the preamble, I'll try to start all over and
write the preamble in lyx itself and not tex2lyx yet.

could you give me a tex you wrote and know that it
converts to lyx perfectly.. I need to know what to and
what not to put.

Sincerely,
Jose Capco



__ 
Do you Yahoo!? 
The all-new My Yahoo! - What will yours do?
http://my.yahoo.com 


  1   2   >