Re: Remaining problems on Win32

2000-05-03 Thread Claus Hentschel

Sheldon F. Oppenheim wrote:
> I took your advice and tried Perl5.005 from the site you gave and I
> restored the original relyxmain.pl and relyx files.
>
> perl is now in file://C/usr/local/bin but now I get this set of errors
>
>
> reLyX, the LaTeX to LyX translator. Revision date 1999/09/27
>
> Can't exec "pwd": No such file or directory at
> /usr/local/lib/perl5/5.00503/Cwd.
> pm line 82.
> Can't exec "pwd": No such file or directory at
> /usr/local/lib/perl5/5.00503/Cwd.
> pm line 82.
> Reading LaTeX command syntax
>
> Can't find input file /latexsample.tex
>
> Exited due to fatal Error!
>
>
> I would note that pwd is in the stated directory.
>
> What next?

Would you please tell me how you have called relyx? Out of a dos box? Out of
a shell? Please write out all environment variables ('set' in dos, 'env' in
a shell)! Most problems on computers are due to a wrong environment ;-(

I do call relyx in a shell. But I have installed the full release of cygwin,
so there may be some files which you do not have. I will try the same as you
and maybe I can find what relyx needs more to run correctly!

Regards
Claus






Re: Hello, fix for you

2000-05-03 Thread Claus Hentschel

Chris Eliasmith wrote:
> hi,
>
> I finally got rid of those 'not found' errors.  When you are
> using MiKTeX with your release, you have to go to the lyxrc file
> and change the '\latex_command' to be 'latex' (instead of latex2e).
>
> I also had the errors that someone else reported to you regarding
> reLyx (file not found errors).  I fixed that by only trying to
> import stuff on the C drive (if you do the D drive, it won't
> find the file - unless you make a symbolic link to D, perhaps).
>
> Lastly, i haven't been able to fix the hash problem for ispell.
> I've got hash tables from the same version of ispell as you included
> with your release.  However, i still get the error "Illegal format hash
> table /usr/local/lib/english.hash - expected magic 0x9602, got 0x296"
> I can't figure this one out.  I've even looked at the table in hex,
> and the first digits *are* x9602.  I get this error from the
> command line too.  The tables I'm using work fine on the same version
> on a unix system. Please help!

Please pick up all ispell binaries from my URL and rehash again. Maybe the
versions do have the same number but still are not the same versions ?!?!?!

For convenience, here is the link again:
http://www.fh-hannover.de/mbau/tim/hentschel/lyx/index.htm

Awaiting your answer ;-)

Regards
Claus





en space in LyX?

2000-05-03 Thread Todd A. Jacobs

After looking through the online help, I still can't figure out how to
enter an en space. Can anyone assist?

-- 
Todd A. Jacobs
Senior Network Consultant




Re: Remaining problems on Win32

2000-05-03 Thread Sheldon F. Oppenheim

I took your advice and tried Perl5.005 from the site you gave and I
restored the original relyxmain.pl and relyx files. 

perl is now in //C/usr/local/bin but now I get this set of errors


reLyX, the LaTeX to LyX translator. Revision date 1999/09/27

Can't exec "pwd": No such file or directory at
/usr/local/lib/perl5/5.00503/Cwd.
pm line 82.
Can't exec "pwd": No such file or directory at
/usr/local/lib/perl5/5.00503/Cwd.
pm line 82.
Reading LaTeX command syntax

Can't find input file /latexsample.tex

Exited due to fatal Error!


I would note that pwd is in the stated directory. 

What next?

Sheldon

Sheldon Oppenheim Ph.D. Chem.Eng.
Room 56-270
Biomaterials Laboratory
MIT
400 Main Street
Cambridge, MA 02139

617-253-3494




Re: pod2lyx importer

2000-05-03 Thread Richard D. Jackson

See comments below..

"Jean-Pierre.Chretien" wrote:
> 
> >>Date: Tue, 02 May 2000 22:26:01 -0500
> >>From: "Richard D. Jackson" <[EMAIL PROTECTED]>
> >>To: LyX-User-List <[EMAIL PROTECTED]>
> >>Subject: pod2lyx importer
> >>
> >>I posed this question over on the dev list but got very little response
> >>so I thought I would see what kind of response I could get on the user
> >>list.
> >>
> >>I'm in the process of creating a format converter that will convert pod
> >>( Perl plain old documentation ) to LyX. Actually I just about have a
> >>base package ready that supports most stuff.
> 
> What is exactly the idea compared to pod2html ? Did you try
> pod2html -> html2latex -> relyX ?
> I think it is interesting if it increases the level of segmentation of the
> actual perl doc: I have indexed the html version of the standard Perl doc
> but this is not very efficient beccause the element of info may be quite
> big (think of builtin functions e.g.); of course this is not tru for
> a geat number of small packages or modules.
> 

Well actually I did not try the pod2html -> html2latex -> relyX. I tied
pod2latex -> relyX.
What I didn't like about this solution is that I ended up having to
fixup the converted LyX file by hand. What I really wanted was an
importer that would not require me to do any editing of the imported
file. The Pod::Lyx class I've written does this (true it is still
missing a few features but it works for what I wanted it to do ). What I
have not finished yet is the pod2lyx program itself, but I'm real close
to having it done. 

> >>

> 
> The rtf-> anything conversion is generally hopeless (up to my own experience)
> because you generally don't control the level of WYSIWYG used in the
> text processor which created it. Just have a look at any HTML export
> and consider the  bunch of  and   inside :-)
> (and I just don't mention what happens with formulas)
> 
> The lyx->rtf (and what is behind) can be solved to a reasonable extent
> throuh html export, because lyx->HTML is quite efficient (apart from the math
> problem), but this has already been discussed in the list.
>

Math is going to be a problem with most things just because most formats
don't handle it. What I'm really after on the rtf->LyX converter is to
get the main body of a document and every thing else that can be
handled. But I would like to say that I've not looked into this very
deeply yet but I will because basically I would find it useful. 

Now onto the LyX->rtf. I would prefer to do this directly verses going
through another translation. Why you ask. Because every time you go
through more than one translation from the original you loose something
even if you just loose something minor you still loose it. I would like
to reduce the loss as much as possible. But then again I may or may not
write this beast because if I want to share something with someone I can
always just send it to them in plain old ASCII :) 

Richard



Re: pod2lyx importer

2000-05-03 Thread Richard D. Jackson

Ned Konz wrote:
> 
> > The question I posed was whether anyone besides myself would use it or
> > would find it useful.
> >
> > So how about it would any of you find this type of tool useful?
> 
> I would!
> I have to document my Perl stuff (Archive::Zip, Algorithm:Diff, etc.)
> Ned Konz

Going from pod to LyX is very strait forward. Going the other direction
will be a little more difficult. But I think at least for me it would be
usfull and maybe for other people such as your self. 


Ricahrd



Re: A new document class?

2000-05-03 Thread Jose Abilio Oliveira Matos

On Wed, May 03, 2000 at 03:33:39PM +0200, Jean-Marc Lasgouttes wrote:
> > "Paul" == Paul Lussier <[EMAIL PROTECTED]> writes:
> 
> Paul> We're using LyX for all our documentation here, and have
> Paul> discussed using the linuxdoc format because that gets us easy
> Paul> exporting to SGML, and from there, easy conversion into several
> Paul> different formats (ps, html, etc.). The only problem is that the
> Paul> linuxdoc template isn't exacly the right format for what we're
> Paul> doing, so we'd like to modify it to fit our needs. Where would I
> Paul> find out how to do this?

  Besides the documentation that Jean-Marc refers to I'm the right person to ask
since I have implemented the layout support for linuxdoc.

  Any question is welcome.
 
> Help->Customization is the right place if you have at least LyX 1.1.4
> (fix3, of course).
> 
> JMarc

-- 
José



Re: That makes two of us

2000-05-03 Thread jdd

On mar, 02 mai 2000, Shawn Boyette à écrit
>jdd writes:
>
> > LyW is a free, nearly gpl (a little library problem), very fast and light,
> > runs on linux (of course) and any unix machine (perhaps), even on windows.
>
>That reminds me, I seem to remember hearing about a conversion of LyX
>from XForms to GTK+. Did I imagine this, or is it true?
>
>I'd be willing to learn GTK and help code for that goal.

if I remember well there is a goal to make Lyx GUI independant. i don't
know how and I'm not able of figure it.

>
>-- 
>Shawn Boyette - Student, Generalist - [EMAIL PROTECTED]
>---
>Reality must take precedence over public relations, for 
>Mother Nature cannot be fooled.  ---  R.P. Feynman
-- 
 
QUI EST CET HOMME ? Aidez-moi à le retrouver
WHO'S THAT GUY ? Help me find him.
http://www.dodin.net/serge/index.html




Re: DocBook sgml problems

2000-05-03 Thread Bruce Richardson


On 5/3/00, 12:11:10 PM, Jose Abilio Oliveira Matos 
<[EMAIL PROTECTED]> wrote regarding Re: DocBook sgml problems:


> On Wed, May 03, 2000 at 03:11:19AM +0100, Bruce Richardson wrote:
> > I'm finding problems with the DocBook sgml exported by Lyx 
(1.1.4-fix3).
> > Two examples:
> >  - or the Code environment.  Lyx won't let me type "as 
is" -
> > i.e. as many spaces as I need to line things up.  This is inconvenient 
since
> > the  sgml tag is the only DocBook equivalent to the 

> > tag from LinuxDoc.  I need this to get an ascii directory tree to line 
up
> > and right now I'm having to rewrite that bit in Vi everytime I export 
the
> > html.

Actually, I built Lyx on a machine here at work and it happily let me 
type "as is" in the Code environment in DocBook - although now it's 
putting an extra blank line between each line of code.  Is it 
significant which version of sgmltools is installed when Lyx is built? 
 At work I had sgmltools installed, while at home I had sgml-tools 
installed while Lyx was built and then upgraded to sgmltools.

> >
> > Quotes, tildes and square brackets.  Lyx is exporting these as &ldquo,
> > &tilde and &lsqb but DocBook needs the actual characters.  In other 
words,
> > &ldquo is shown as "&ldquo" in a DocBook document.

>   Is that a problem? Does it show up in the dvi version or the 
resulting html?

It turns out to be a problem with sgmltools.  The postscript and rich 
text format gets the quotes and brackets right but the html output 
doesn't.  As for tildes, if in the code environment they're written as 
"~" and look good in all ouput.  If written in the standard 
environment they're written as "˜" and and all formats (ps, 
html, rtf etc) show just that, instead of the desired character.

I attach a small test sgml file as an example.

--

Bruce 



Title: 
  Title
 
 
]>



 
  
 
  Date 
 
 
  JoeDoe
 
 
 
  Abstract
 
 
 
 
  
  First Section
 
 
  Text with [brackets] and “quotes”.
 
 

 
 /->

 
 | |

 
 | |

 
 |--->
 
 
  cat ˜/mbox
 
 
cat ~/mbox
 
 






The lyx file...

2000-05-03 Thread Bruce Richardson

... would be more useful.

-- 
Bruce


#LyX 1.1 created this file. For more info see http://www.lyx.org/
\lyxformat 2.15
\textclass docbook
\begin_preamble

\end_preamble
\language default
\inputencoding default
\fontscheme default
\graphics default
\paperfontsize default
\spacing single 
\papersize Default
\paperpackage a4
\use_geometry 0
\use_amsmath 0
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default

\layout Title
\added_space_top vfill \added_space_bottom vfill 
Title
\layout Date

Date 
\layout Author


\latex latex 

\latex default 
Joe
\latex latex 

\latex default 
Doe
\latex latex 

\layout Abstract

Abstract
\layout Section

First Section
\layout Standard

Text with [brackets] and 
\begin_inset Quotes eld
\end_inset 

quotes
\begin_inset Quotes erd
\end_inset 

.
\layout Code


\protected_separator 
 
\protected_separator 
 /->
\layout Code


\protected_separator 
 
\protected_separator 
 | |
\layout Code


\protected_separator 
 
\protected_separator 
 | |
\layout Code


\protected_separator 
 
\protected_separator 
 |--->
\layout Standard

cat ~/mbox
\layout Code

cat ~/mbox
\the_end



Re: Problem cant find XpmCreateDataFromImage

2000-05-03 Thread Jean-Marc Lasgouttes

> "Eldad" == Eldad Bettelheim <[EMAIL PROTECTED]> writes:

Eldad> Thank you very much for your reply. My OS system is DIGITAL
Eldad> UNIX V4.0F. Since I sent the e-mail I was able to work around
Eldad> the bug (but still was not able to run lyx ...) by compiling
Eldad> xpm and putting the files libXpm.a and libXpm.so.4.7 in the
Eldad> directory /home/ophelia/eldad/usr/lib and then writing setenv
Eldad> $LD_LIBRARY_PATH
Eldad> .:/home/ophelia/eldad/usr/lib:/freeware/shlib:/usr/local/shlib
Eldad> however when I tried to run lyx I got an 'IOT trap'. So I
Eldad> wonder whether this is related again to the xpm library or the
Eldad> IOT trap is unrelated, how can I find out? Thanks again, Eldad.

You have to make sure that the header file xpm.h (which version is
shown by configure), the library used when compiling and the library
used when running are all the same. I also have a lot of problems with
the xpm library on DU 4.0 :(

JMarc



Re: Remaining problems on Win32

2000-05-03 Thread Claus Hentschel

Sheldon F. Oppenheim wrote:
> Perl is installed at file://C/usr/local/perl/
>
> The executable is in file://C/usr/local/perl/bin/
>
> This is reflected in my path statement (c:\usr\local\perl and
> c:\usr\local\perl\bin)  Further, I changed reLyXmain.pl (1st line) to
> reflect this. I also changed the first line of reLyX (found in the
> file://C/apps/lyx114/bin) to reflect this path.  If I use just the path
reLyX
> will not run.  If just reLyX is changed then I get permission denied.
> When both changes are made then the previous error is generated (found in
> other postings).
>
> As for the version of perl, I use active perl 5.6 build 613 found at
>
> http://www.activestate.com/ActivePerl/download.htm.
>
> That's all the info I have.

I'am using perl 5.005 v1.4 for the cygwin environment (b20) and have
successfully relyxed some latex files without changing anything in relyx!
You can find this version at:

http://cygutils.netpedia.net/B20/index.html

Furthermore you can get there a perl 5.6 version for the NEW cygwin 1.1
release. Look at

http://cygutils.netpedia.net/V1.1/index.html

for details:

I propose to first install the 5.005 version and try relyxing with the
original relyx file from the distribution! If this works fine, than try to
install perl 5.6. Remember to put a new cygwin.dll from release 1.1 into the
same directory where you install perl 5.6 and change the path so that '.'
(dot) is set as the first entry in $path!

Try relyxing first from the command line to ensure/check it works fine!

Good luck
Claus




Re: Word fig to lyx

2000-05-03 Thread Jean-Pierre.Chretien


>>Date: Wed, 03 May 2000 15:46:13 +0200
>>From: Ramin Yasdi <[EMAIL PROTECTED]>
>>To: [EMAIL PROTECTED]
>>Subject: Word fig to lyx
>>
>>
>>Hello LyX user,
>>
>>How can I tarnsfer figures from Word to LyX (eps) ?
>>
>>Ramin
>>
>>
>>
Any graphics manipulation package (ImageMagick, Gimp,...)
If you need it often, you may prefer a batch version of the converter,
like ImageMagick's convert command.
If the original figure is of vector kind, you will also
prefer to stick to it, which can be more difficult (IM provides
bitmapped versions of PS, which may rescale badly).
Lastly, most Word implementations HAVE an eps driver (this is 
compulsory if the printer is a PS one), so that checking Print in a file +
Encapsulated PS produces an eps file if there in less than one page.

I should say, *almost* an eps file, because there may remain
forbidden constructs (setpagedevice e.g.) and unnecessary stuff
before and after the PSfile markers. You must filter these out
to be able to use the eps in LyX.

Regards

-- 
JPierre




Word fig to lyx

2000-05-03 Thread Ramin Yasdi


Hello LyX user,

How can I tarnsfer figures from Word to LyX (eps) ?

Ramin






Re: A new document class?

2000-05-03 Thread Jean-Marc Lasgouttes

> "Paul" == Paul Lussier <[EMAIL PROTECTED]> writes:

Paul> We're using LyX for all our documentation here, and have
Paul> discussed using the linuxdoc format because that gets us easy
Paul> exporting to SGML, and from there, easy conversion into several
Paul> different formats (ps, html, etc.). The only problem is that the
Paul> linuxdoc template isn't exacly the right format for what we're
Paul> doing, so we'd like to modify it to fit our needs. Where would I
Paul> find out how to do this?

Help->Customization is the right place if you have at least LyX 1.1.4
(fix3, of course).

JMarc




Re: A new document class?

2000-05-03 Thread Paul Lussier


In a message dated: Wed, 03 May 2000 13:57:57 -
Stefano Bianchi said:

>I'd like to use Lyx with the document class of a scientifical journal,
>the MNRAS. I have the .cls file that works fine in latex, but Lyx asks
>me a .layout file. What do I have to do to make it work?

This reminds me :)

Can someone point me to the proper docs that explain how to create new 
templates or document classes?

We're using LyX for all our documentation here, and have discussed using the 
linuxdoc format because that gets us easy exporting to SGML, and from there, 
easy conversion into several different formats (ps, html, etc.).  The only 
problem is that the linuxdoc template isn't exacly the right format for what 
we're doing, so we'd like to modify it to fit our needs.  Where would I find 
out how to do this?

Thanks,
-- 
Seeya,
Paul

"I always explain our company via interpretive dance.
 I meet lots of interesting people that way."
  Niall Kavanagh, 10 April, 2000

 If you're not having fun, you're not doing it right!





Re: A new document class?

2000-05-03 Thread Jean-Marc Lasgouttes

> "Stefano" == Stefano Bianchi <[EMAIL PROTECTED]> writes:

Stefano> I'd like to use Lyx with the document class of a scientifical
Stefano> journal, the MNRAS. I have the .cls file that works fine in
Stefano> latex, but Lyx asks me a .layout file. What do I have to do
Stefano> to make it work? Thanks, Stefano

If you have LyX 1.1.4, the Help->Customization document explains what
steps you should take to use your .cls file with LyX. 

JMarc



A new document class?

2000-05-03 Thread Stefano Bianchi

I'd like to use Lyx with the document class of a scientifical journal,
the MNRAS. I have the .cls file that works fine in latex, but Lyx asks
me a .layout file. What do I have to do to make it work?
Thanks, Stefano




Re: ~ disappears in postscript

2000-05-03 Thread Jose Abilio Oliveira Matos

On Mon, Apr 17, 2000 at 02:31:48AM +0100, Bruce Richardson wrote:
> I'm writing a LinuxDoc document using Lyx 1.1.4fix3.  If I export the
> document to postscript, any ~ character in a code environment disappears.
> Since I'm using a lot of command line examples, this isn't ideal!  Any
> clues?

  I will look to it. The problem seems to be related with the latex interpretation
of the ~. I will look in the code, the alternative should be to export the tilde
as ˜
 
> -- 
> Bruce
> 
> It is impolite to tell a man who is carrying you on his shoulders that
> his head smells.

-- 
José



Re: DocBook sgml problems

2000-05-03 Thread Jose Abilio Oliveira Matos

On Wed, May 03, 2000 at 03:11:19AM +0100, Bruce Richardson wrote:
> I'm finding problems with the DocBook sgml exported by Lyx (1.1.4-fix3).
> Two examples:
>  - or the Code environment.  Lyx won't let me type "as is" -
> i.e. as many spaces as I need to line things up.  This is inconvenient since
> the  sgml tag is the only DocBook equivalent to the 
> tag from LinuxDoc.  I need this to get an ascii directory tree to line up
> and right now I'm having to rewrite that bit in Vi everytime I export the
> html.
> 
> Quotes, tildes and square brackets.  Lyx is exporting these as &ldquo,
> &tilde and &lsqb but DocBook needs the actual characters.  In other words,
> &ldquo is shown as "&ldquo" in a DocBook document.
 
  Is that a problem? Does it show up in the dvi version or the resulting html?

> Is anybody else finding these problems or is there something wrong with my
> set-up.

  Could please send me a small example file where that happens? I'm unable
to reproduce that. I'm unsing the latest CVS, but nothing changed in between
in that code.
 
> -- 
> Bruce
> 
> If the universe were simple enough to be understood, we would be too
> simple to understand it.

-- 
José



Re: pod2lyx importer

2000-05-03 Thread Stephan E. Schlierf

On Tue, 2 May 2000, Richard D. Jackson wrote:

> I posed this question over on the dev list but got very little response
> so I thought I would see what kind of response I could get on the user
> list.
> 
---snip---

> 2) rtf2lyx ( rich text format to LyX ) format converter. And maybe the
> other way around as well.

I really would welcome such a converter. I think it would be especially
helpful for all those people who still have to communicate with M$-users
(and maybe it could help to convince one or the other to use what I call a
"real word processor" - LyX :-)

Regards,

Stephan 

--
Stephan E. Schlierf M.A.
-  Product Management  -
PHONE:  ++49 9254 960632
FAX:++49 9254 960159
CSE GmbH Germany