Bug in xfig and pstex?

2001-05-24 Thread José Luis Gómez Dans

Hi!
I have been trying to put some pstex_t diagarams into lyx
yesterday (brand new 1.1.6fix2). They don't work, and rummaging through
the list (and using previous documents I have), I have used other pstex
files that do work. These figures where created with xfig and exported
using the same procedure as the new ones, so that seems to indicate a
problem in the files, rather than in lyx. I am using the xfig found in
debian unstable (Xfig 3.2 patchlevel 3c (Protocol 3.2)), and there seems
to be a bug opened against this in the debian transfig package. A
description of it is found in 

Can anyone suggest any work arounds until this gets fixed?

Thanks a lot,
José
-- 
José L Gómez Dans   PhD student
Tel: +44 114 222 5582   Radar & Communications Group
FAX; +44 870 132 2990   Department of Electronic Engineering
University of Sheffield UK



Re: sorting tables?

2001-05-24 Thread Joao B. Oliveira

> On Wed, May 23, 2001 at 07:17:08PM +0300, Baruch Even wrote:
> > To follow up on these comments and enthusiasm (and a developers
> > discussion), what is the language of choice for such an embedded
> > scripting language is from your perspective?
> > 
> > Several options that were raised (and I rememeber) include Icon,
> > Lisp, Scheme and Python.

I have a question on this (and I do not work with any of these
languages, so I cannot be accused of being unfair!!):

Before choosing a language that will affect our (happy) LyX lives,
what requirements are really being made on this language? I
mean, what do we really need? If we can decide what kinds of
things are necessary, we can choose the language best supporting
these capabilities... does anyone can give a few details of the
capabilities that the LyX Behavioral Language should have? Do
we need (easy) string capabilities? Environment descriptions?
Macro expansions like TeX? Other things I do not even dream about?

Other question: what about enlarging (if necessary) the language
already used in the minibuffer? It would be nice to have the same
language being used twice.

j. b. 





Style files.

2001-05-24 Thread James Shuttleworth

How are style files created?  Is there a guide out there somewhere?  I've 
been looking, but I haven't foind anything.  If anyone has any idea, 
please let me know.

Thanks tons,

James Shuttleworth.



Re: Style files.

2001-05-24 Thread Herbert Voss

James Shuttleworth wrote:
> 
> How are style files created?  Is there a guide out there somewhere?  I've
> been looking, but I haven't foind anything.  If anyone has any idea,
> please let me know.

what kind of style-files?
the one for latex or do you mean the layout-files
for lyx?

Herbert

-- 
http://www.educat.hu-berlin.de/~voss/lyx/



Re: sorting tables?

2001-05-24 Thread Andre Poenitz

> Other question: what about enlarging (if necessary) the language
> already used in the minibuffer?

I think it's a safe guess that the languange used in the minibuffer will be
replaced by the Chosen Scripting Language at some point of time...

Andre'


-- 
André Pönitz . [EMAIL PROTECTED]



Query: Style Files + W2K +

2001-05-24 Thread Goffredo

Hi All,

Well, I have managed to get LyX installed more or less onto W2K, with some
help from Claus. It is working, it is not crashing when I hit a key, and 
so on.
But ... there is still one glitch ... I have files that I created on LyX 
on Linux,
and tried to edit them on W2K ... but it didn't work out. I was told 
that the
document class didn't exist ... and when I tried to alter line-spacing I 
ended up
being told that some style file (linespace.sty (or something like that)) 
did not
exist. OK. I installed all MikTeX levels up to level 4, and I tried to 
reconfigure
LyX, using the batch file for this puporse. But still no joy! How do I 
get LyX
on W2K to recognise new style files, and document classes? It there some
instruction somewhere? Some advice?

Thanks
Regards
Freddo

PS I will write a little summary of my experiences and post them in the next
day or two, so others will be spared my trouble. (I do think though that the
horrible problems that occur because of W2K accepting spaces in file and
directory names ... I mean because MikTeX in the English version installs
into 'Program Files' by default for example ... this should be mentioned in
the documentation.) 





jpg/png images

2001-05-24 Thread Giorgio Corani


hi, as far as I know, the only supported format for images is eps.
What to do in order to put an other type of image, for example jpg?
I tried to save it as .eps within GIMP but (maybe it's a problem of my
installation) no such filter
was found.
Does the new release maybe support such images?
thanks Giorgio



Re: jpg/png images

2001-05-24 Thread Herbert Voss

Giorgio Corani wrote:
> 
> hi, as far as I know, the only supported format for images is eps.
> What to do in order to put an other type of image, for example jpg?
> I tried to save it as .eps within GIMP but (maybe it's a problem of my
> installation) no such filter
> was found.

use convert my.gif my.eps
it's part of the imagemagic package.

> Does the new release maybe support such images?

yes.

Herbert


-- 
http://www.educat.hu-berlin.de/~voss/lyx/



FOOTER HELP

2001-05-24 Thread Michelle Dukich

I am trying to use footers inside my Document. 
According to the /doc/Extended/lyx, I should go to the
Lyx Preamble from the Layout menu dropdown and then
add the following code:

\lfoot{My Paper on Bugs}
\rfoot{Page /thepage}

Issue I.

When I add the above to the Preamble and then try to
view via DVI, I get 3 error messages, 2 about my
commands not being defined and one that says Missing
\begin{document}.  I tried adding:

\begin{document} above the aforementioned commands,
and it created a 4th error!

Issue II.

I want my footers to have 2 lines.

eg.

__
Title   Page #
NameDraft Date

My guess is that its something like:

\lfoot2{my name}
\rfoot2{draft \thedate}

Thanks in advance.  

Michelle

__
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/



Re: FOOTER HELP

2001-05-24 Thread Herbert Voss

Michelle Dukich wrote:
> 
> I am trying to use footers inside my Document.
> According to the /doc/Extended/lyx, I should go to the
> Lyx Preamble from the Layout menu dropdown and then
> add the following code:
> 
> \lfoot{My Paper on Bugs}
> \rfoot{Page /thepage}

layout->document->pagestyle->fancy

otherwise package fancyhdr isn't loaded.

> __
> Title   Page #
> NameDraft Date
> 
> My guess is that its something like:
> 
\lfoot{my name}
\rfoot{draft \today}


Herbert


-- 
http://www.educat.hu-berlin.de/~voss/lyx/



LyX on lightweight OS (EPOC)

2001-05-24 Thread Dave

I really like LyX, and I use it for all of my writing.  I was considering
buying a Psion Series 5mx, or a series 7 if I could afford it.  I was
wondering if there was a way to port LyX into a lightweight operating
system like EPOC, or Windows CE.  I understand that LaTeX is a large
package...  I was wondering if anybody has though of this, or if there are
some alternatives that are similar (WYSIWYM kind of things.)  Thanks for
your time.

-Dave Woodward
[EMAIL PROTECTED]




Re: LyX on lightweight OS (EPOC)

2001-05-24 Thread Stefano Ghirlanda

Dave <[EMAIL PROTECTED]> writes:

> I really like LyX, and I use it for all of my writing.  I was considering
> buying a Psion Series 5mx, or a series 7 if I could afford it.  I was
> wondering if there was a way to port LyX into a lightweight operating
> system like EPOC, or Windows CE.  I understand that LaTeX is a large
> package...  I was wondering if anybody has though of this, or if there are
> some alternatives that are similar (WYSIWYM kind of things.)  Thanks for
> your time.

Maybe you would only need the WYSIWYM part of LyX on the Psion, LaTeX is
only needed for formatting and printing. 

-- 
Stefano Ghirlanda, Zoologiska Institutionen, Stockholms Universitet
  email: you know it already, tel: +46-8-164055, fax:+46-8-167715
 the free science campaign: http://ethology.zool.su.se/freescience



Re: LyX on lightweight OS (EPOC)

2001-05-24 Thread Baruch Even

* Dave <[EMAIL PROTECTED]> [010524 20:28]:
> I really like LyX, and I use it for all of my writing.  I was considering
> buying a Psion Series 5mx, or a series 7 if I could afford it.  I was
> wondering if there was a way to port LyX into a lightweight operating
> system like EPOC, or Windows CE.  I understand that LaTeX is a large
> package...  I was wondering if anybody has though of this, or if there are
> some alternatives that are similar (WYSIWYM kind of things.)  Thanks for
> your time.

This is currently impossible, to use LyX you need an X-Server which is a
pretty large beast usually and I doubt it was ported to a palm computer.

Hopefully when the GUI Independence will be completed we will be able to
provide versions for other OSes in a simple manner (or at least, simpler
than the current status).

-- 
Baruch Even
http://baruch.ev-en.org/



Re: LyX on lightweight OS (EPOC)

2001-05-24 Thread wojtek

> buying a Psion Series 5mx, or a series 7 if I could afford it.  I was
> wondering if there was a way to port LyX into a lightweight operating
> system like EPOC, or Windows CE.  I understand that LaTeX is a large

you name windows CE "lightweight" ???!!! i assume it was joke.

there are already netbsd (and possibly linux) for some mips,arm and
Super-H based palmtops. with 128MB storage card it should be possible to
keep everything including lyx in that.

> package...  I was wondering if anybody has though of this, or if there are
> some alternatives that are similar (WYSIWYM kind of things.)  Thanks for
> your time.
there exist cut-down versions of latex.




Re: LyX on lightweight OS (EPOC)

2001-05-24 Thread Dave


> > buying a Psion Series 5mx, or a series 7 if I could afford it.  I was
> > wondering if there was a way to port LyX into a lightweight operating
> > system like EPOC, or Windows CE.  I understand that LaTeX is a large
>
> you name windows CE "lightweight" ???!!! i assume it was joke.

Heh, yeah I guess that is a joke.  I just meant "lightweight" in that in
runs on "lightweight" hardware.  Under one pound?  I realize that a spare
isntallation of a BSD or Linux can be considered lightweight.  Maybe I
will try seeing if I could isntall an alternative operatiing system on it.

>
> there are already netbsd (and possibly linux) for some mips,arm and
> Super-H based palmtops. with 128MB storage card it should be possible to
> keep everything including lyx in that.
>
> > package...  I was wondering if anybody has though of this, or if there are
> > some alternatives that are similar (WYSIWYM kind of things.)  Thanks for
> > your time.
> there exist cut-down versions of latex.






lyx 1.1.6fix2 and pdflatex

2001-05-24 Thread Roberto Marabini

Dear all,

  I just installed lyx 1.1.6fix2 in my linux machine (redhat 7.0) using
the rpm binaries. I use pdflatex and acrobat reader to visualize the
documents ( view->pdflatex), this used to work without problems in lyx
1.1.6fix1 but not any longer. The first time pdflatex is used it does
produce the right results but the second time it does not update the
file, instead, the old pdf file is used. The other options, dvi, pdf,
postscript work properly. Does anybody knows what either I or lyx are
doing wrong?

  thanks for the help

Roberto






Defining section name for TOC

2001-05-24 Thread Tarmo Järvi

Hello,

First, I guess this is more LaTeX related, but please help me if you know something 
about this.. Ok, I have a long section name which gets
hyphenated, like this:

A Very Long Section Na-
me

And that's ugly. If I simply add a line break in the middle, everything's ok. Except 
in the TOC, where the section name also has line break although it isn't necessary 
(and it drops last TOC entry to the next page). So, my question is: how I can define  
different names for a section to TOC and to the actual text.

Thanks, TJ.





Re: LyX on lightweight OS (EPOC)

2001-05-24 Thread Andre Berger

* Dave <[EMAIL PROTECTED]>, 2001-05-25 00:08 +0200:
> I really like LyX, and I use it for all of my writing.  I was considering
> buying a Psion Series 5mx, or a series 7 if I could afford it.  I was
> wondering if there was a way to port LyX into a lightweight operating
> system like EPOC, or Windows CE.  I understand that LaTeX is a large
> package...  I was wondering if anybody has though of this, or if there are
> some alternatives that are similar (WYSIWYM kind of things.)  Thanks for
> your time.

I use "psiconv" from http://huizen.dds.nl/~frodol/psiconv/, on my
Psion S5; apart from psiconv, get Jim Ottaway's "psi2latex" (follow
the related links on the psiconv page); and maybe also the PS printer
drivers for EPOC (sorry no URL, search Google...).

psi2latex, which makes use of psiconv, lets you write LaTeX docs with
PsiWord (which is GUI in the same respect as M$ Word is). It uses
PsiWord's style files and visual formatting (italics etc.). You can
create your own styles (for example, I have a "Zitat" environment in
LaTeX and a corresponding PsiWord style). 

LaTeX itself is not provided, so the .tex files must be compiled on
another machine. There's an x86-emulator for EPOC which would
theoretically allow to run LaTeX on an emulated DOS, but that's of
course theory.

A. B.   [[EMAIL PROTECTED]]

 PGP signature


Re: jpg/png images

2001-05-24 Thread Kathryn Andersen

On Thu, May 24, 2001 at 05:44:55PM +0200, Giorgio Corani wrote:
> 
> hi, as far as I know, the only supported format for images is eps.
> What to do in order to put an other type of image, for example jpg?
> I tried to save it as .eps within GIMP but (maybe it's a problem of my
> installation) no such filter was found.

I think it's a problem with your installation, because I haven't had any
problems saving a file as .eps from within GIMP.
(I'm using GIMP 1.2 on RedHat 7.1, however.  YMMV)

> Does the new release maybe support such images?

There is also the Insert->External Material command, which uses
external filters to put other types of files into your document,
and one of the ones is "Rasterimage", which you could use to put
a jpg file there.

However, I suspect that if your GIMP doesn't know about .eps files,
then this won't work for you either, because the filter uses GIMP
and ImageMagick... and I wouldn't be surprised if your problem is
with either a lack of a full GIMP, or a lack of a full ImageMagick.

The other disadvantage is that (so far as I can tell) if you use
an external image file, you can't do any transformations on it,
such as scaling it to the width of the page, like you can do with .eps
files.  And of course, you can't see it inside LyX either, only when you
view the result.

Kathryn Andersen
-=-=-=-=-=-=-=-=-
The future isn't what it used to be. (It never was.)
-- 
 _--_|\ | Kathryn Andersen  <[EMAIL PROTECTED]>
/  \|   
\_.--.*/|   
  v | #include "standard/disclaimer.h"
| Melbourne -> Victoria -> Australia -> Southern Hemisphere
Maranatha!  |   -> Earth -> Sol -> Milky Way Galaxy -> Universe



Re: LyX on lightweight OS (EPOC)

2001-05-24 Thread Sasa Janiska

On Today, -0500, Dave wrote:

Hello Dave!
> I really like LyX, and I use it for all of my writing.  I was considering
> buying a Psion Series 5mx, or a series 7 if I could afford it.  I was
> wondering if there was a way to port LyX into a lightweight operating
> system like EPOC, or Windows CE.  I understand that LaTeX is a large
> package...  I was wondering if anybody has though of this, or if there are
> some alternatives that are similar (WYSIWYM kind of things.)  Thanks for
> your time.
>

If you find something interesting for the Psion, I'd also be very
interested in it.

Having become accustomed to LyX, I'd be very happy having an
opoportunity to use it under EPOC.

Later, when developers will finish GUII, maybe we can see text version
of LyX.

There were some ideas about it in the past.

Sincerely,
Sasa





csv2lyx (was Re: sorting tables?)

2001-05-24 Thread A.Gulino

"Joao B. Oliveira" wrote:
> Antonio wrote:
>>"Joao B. Oliveira" wrote:
>>> See? Does not look that bad, but an even better solution would be
>>> *other* feature: import .cvs files directly as tables. 
>>I have a little perlscript that produce a floattable (or a simple table) in
>>lyx-format from a tab-separated-value file. (or comma separteded or "!"
>>separated, how you like) (for 4fix1 and 6fix1)
> I really think that such a script for converting tables would be really
> useful! Why don't you publish it on our list? It is always a nice tool
> to have (and if we don't have it, it is nice to know where to find it!)

Hi folks,
I send you my very little perlscript. If you think it is long, its not true.
there are a only 30 codelines, the rest is documentation.

Documentation? 
Yes. pod (perl|poor|pretty old documentation).
on Linux do this: name@host ~/> pod2html csv2lyx > csv2lyx.html

how use it? look the documentation! 
ok, ok. a little help (from the documentation :-)
Sorry for my english (if you want I can translate it to italian, german or
french)

ciao, antonio
(my home e-mail: mailto:[EMAIL PROTECTED])

csv2lyx  - converter from csv-file to a LyX table 
===
HOW USE IT (under Linux):
=
 antonio@bidone:~ >cat mycsvfile | csv2lyx > mytmptable.lyx

Then in LyX: Insert->LyXfile mytmptable.lyx

If you don't want a float table, then can you delete the default-title, the word
"Senseless" will are delete.

If you want a float table, then mark the title _and_ the table and then insert a
floattable

 Insert->LyX File mytmptable.lyx
 [mark the title and the table]
 Insert->Float->Float table

the word "Senseless" will change to "Table"

Options
===

 --separator="what you want" (default: "\t" for a tab-sep-value file)
 --title="A pretty title for a pretty table" (default:"Title of the LyX table")

==
==

#! /usr/bin/perl
# csv2lyx
# Copyright (C) 2001 Antonio Gulino
# This program is free software; you can redistribute it and/or modify it under
# the term of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or any later version.

=pod
=head1 NAME

csv2lyx - converter from csv-file to a LyX table

Converts a Comma Separated Value file to a float table in LyX format.
Good for LyX version 1.1.4fix1 and other.

=head1 HOW USE IT

under Linux:

 antonio@bidone:~ >cat mycsvfile | csv2lyx > mytmptable.lyx

Then in LyX: Insert->LyXfile mytmptable.lyx

If you don't want a float table, then can you delete the default-title, the word 
"Senseless"
will are delete.

If you want a float table, then mark the title and the table and then insert a 
floattable

 Insert->LyX File mytmptable.lyx
 [mark the title and the table]
 Insert->Float->Float table

=head2 Options

 --separator="what you want" (default: "\t" for a tab-sep-value file)
 --title="A pretty title for a pretty table" (default:"Title of the LyX table")


=head1 AUTHOR and COPYLEFT

Copyright (C) 2001, Antonio Gulino <[EMAIL PROTECTED]>

This program is free software; you can redistribute it and/or modify it under
the term of the GNU General Public License as published by the Free Software
Foundation; either version 2 of the License, or any later version.

=cut

# l'input non e' il nome di un file, ma il file stesso
# l'output avviene sullo schermo
# dunque l'utilizzo e' cosi:
# antonio@bidone > cat filecsv.csv | csv2lyx | filedioutput

# di default il separatore e' un tabulatore

use Getopt::Long;
$OPT_separator = "\t";
$OPT_title = 'Title of the LyX table';
&GetOptions( "separator=s" => \$OPT_separator,
 "title=s" => \$OPT_title,);

@csv = <>;
chomp(@csv);
# vediamo quante righe ci sono
# how many row (=righe) are there?
$righe = $#csv + 1;

# adesso leggo l'intero array e creo una matrice: @matrix
# contemporaneamente calcolo il numero massimo di campi, per sapere quante colonne mi 
servono
# now i read the whole array and put it into a matrix : @matrix
# at the same time i look how many column (=colonne) have the biggest row
$col = 0;
foreach my $r (@csv) {
my @r = split $OPT_separator, $r;
$colonne = $#r + 1 if $colonne <= $#r;
push @matrix, [@r];
}

# adesso stampo il codice lyx. l'allineamento avviene a destra (immagino che di solito 
siano cifre)
# produco automaticamente una float table,
# versione funzionante per la 1.1.4fix1
# now I print the LyX format. Align=right (I think this is a matrix of numbers)
# dafault: a float table

print <