csv2lyx-0.0.1fix1 :-)

2001-05-31 Thread A.Gulino


Hi LyX friends,
csv2lyx-0.0.1fix1 is released !

a bugfix: now is the output a good LyX-file. No problems with Senseless and
so.

new features (for more infos, as  usual under Linux: pod2html csv2lyx 
csv2lyx.html )
--header 
--border
--label='label for crossreferences'
--output='outputfilename'
csv2lyx -h -b --label='ALabel' csvfile.csv  outputfilename
or ... (look on the pod)

Guenter give me good ideas. But I read the list at work (only in the
morning=CEST), and ... work with LyX and Perl at home.

Here a contest:
what is better: --title or --caption
is the following option a good idea: --grid (each cell have a border)

Thank you for suggestions.

ciao, antonio



Re: csv2lyx-0.0.1fix1 :-)

2001-05-31 Thread Roman Maurer

"A.Gulino" wrote:
 
 csv2lyx-0.0.1fix1 is released !

What does it do?  Creates LyX tables out of comma separated
spreadsheets?
-- 
Regards,
  Roman



Re: thanks and pstopdf-question

2001-05-31 Thread Andre Berger

* Paul Borgermans [EMAIL PROTECTED], 2001-05-31 01:00 +0200:
   So my question is how can I specifie this -Ppdf inside Lyx?
 
 I added this option in LyX 1.1.6fix2 preferences 
 (Converters-Converters), with LyX  1.1.5fix1 this should be possible 
 by defining \dvi_to_ps_command dvips -Ppdf in ~/.lyx/lyxrc
 
 With this change, other problems are introduced! For example, 
 fi character sequences in normal text became a pound sterling sign 

This has been discussed by the font guru Walter Schmidt on
[EMAIL PROTECTED] recently. I'll try to give a summary in
English here.

-Ppdf reads config.pdf; inside is an option G1 which should really
be set to G0. If you don't want to mess with this configuration
file, use dvips -Ppdf -G0. You can also use dvips -Pcms (or dvips
-Pwww if the latter doesn't work), this way you'll get TrueType
Fonts.

G0 turns off the non-standard features of config.pdf. The reason why
G1 is set is a bug with acroread  4.05 and PCL printers. The
behaviour you noticed is a side effect of a not well-documented
work-around.

I hope this helps!

A. B.   [[EMAIL PROTECTED]]

 PGP signature


Pb: Export to ps

2001-05-31 Thread Yann Collete

Hello,

I've got a problem with lyx-1.1.6fix{1,2}.
When I try to export a file to ps, lyx freeze and the only
solution I've got to leave lyx is to kill it.
I launch lyx with the 65536 dbg code, here's the last line:

lyx header finished
preamble finished, now the body.
Finished making latex file.
Converting from  latex to dvi
Running latex
Dependency file does not exist
Found file: Synthese.tex
Tmpdir TeX file: Synthese.tex


When I go to the lyx temp dir, I can see a .dvi file.
I can convert it to ps and, when I visualize it, the TOC
is not there and, all references (cross references and
citation) are missing.
There's no errors during to latex compilation.

If I export the lyx file to latex and launch latex manually,
the file is correctly translated to dvi and, after a dvips, to ps.
If I try to export a file without any figure to ps within lyx, it works.

After some manipulations, I think the problem is due to:
- figures or/and
- cross references.


What can I do ?

Yann COLLETTE




Re: csv2lyx-0.0.1fix1 :-)

2001-05-31 Thread A.Gulino

Sorry! I have pressed the wrong buttom, and so the mail is started, but not
completed :-(
---
csv2lyx is a Perl-script:

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.

Extract from the pod (documentation of perlscripts):

How to use:
 antonio@bidone:~  csv2lyx mycsvfile  mytmptable.lyx

Options

 -s or --separator=what you want (default: \t for a tab-sep-value file)
 -t or --title=A pretty title for a pretty table (default:Title of the LyX
table)
 -o or --output='A filename, please!' (default: STDOUT aka Screen)
 -b or --border(a line around the table. Default: noborder)
 -h or --header(a line unter the first row. Default: noheader)
 -l or --label='A label for crossreference to the table'

Ideas:
 --grid ... A line between two columns. A line between two rows. Two line
between the first and the second row if --header
 --nofloat ... If you dont want a float table
 --header='1211231' ... for multicolumn in the header
 --format=|p{3cm}|c| ... formatting the column, with the same Syntax of LaTeX


I don't know if it is a good idea to post the Perl-script in the mailinglist,
because it is (with documentation) 300 lines long. And the code is very young
but it does its work, really :-)
=
If you want the script, I will send it. No problems!
=
You can produce from a csv-file a lyx-file, and include or insert it in your LyX
document.
For me is the advantage, that I can change the data in the table, without open
the LyX-document itself.
Guenter Milde have posted two mails with wishes and ideas (yesterday, 30 june,
at 9.30 and 15.30)

Roman Maurer wrote:
 
 What does it do?  Creates LyX tables out of comma separated
 spreadsheets?
From Spreadsheets or whatever you want.
I use a tabulator-separeted-values format, but the script allow you to change
it
--separator=';'
par example.
I like tabulator because, sometimes, in the text are commas (,;:) and i don't
like make a control about a character_in_text=separator_in_csv.

  Guenter Milde wrote:
   could this script be called from the external inset? Would the table then appear
   in the GUI or just a [external inset] button?
  
 Antonio wrote:
  ??? Sorry !
 
 Guenter Milde wrote:
 The external inset is a new feature of lyx 1.1.6! It allows you to define
 input filters for any kind of data (e.g. raster images).
 
 Falls csv2lyx für External-inset angepaßt würde, könnten wir (in 1.1.6) so etwas 
machen  wie
  Einfügen|Externaes_Material|CSV_Tabelle 
 und dann die Tabelle (als *.csv) anwählen - LyX startet csv2lyx und importiert das
 Ergebnis! (Die Feinheiten der Formatierung würde ich dann in LyX machen)
 
 Da fällt mir noch ein: hast Du schon probiert, ob statt einer temporären Datei
 auch die .lyxpipe geht? - z.B. tkbibtex kann Zitate direkt nach LyX exportieren.

I think, I must ask someone what a .lyxpipe is.
My idea is, that I can use csv2lyx directly from LyX-1.1.4fix1. for example
Insert -- LyXfile (cat csvfile | csv2lyx)
maybe, the .lyxpipe is the solution! but: what's a .lyxpipe?
I must try. with 1.1.4fix1.
My problem is: I write my thesis in economics with LyX, *about* LyX, under
Linux. And I work. So I must learn at the same time: Linux, installing software,
programming perl (I'm not a developer), write a good italian text, hacking  my
second-hand-hardware, learning english ... and now is summer, the water in the
lake is wunderful,...
That mean, that 
- I can not install more version of LyX, because, if then I lost my thesis...
- I can not change my Linux, because, if I lost my data...
- I dont like touching my hardware, because each time I destroy somethings else
(now I'm without floppy. if the modem is destroyed, my computer is isolated,
argghh!)
So I can make only a little bit of experiments.



Re: Pb: Export to ps

2001-05-31 Thread Jean-Marc Lasgouttes

 Yann == Yann Collete [EMAIL PROTECTED] writes:

Yann Hello, I've got a problem with lyx-1.1.6fix{1,2}. When I try to
Yann export a file to ps, lyx freeze and the only solution I've got
Yann to leave lyx is to kill it. I launch lyx with the 65536 dbg
Yann code, here's the last line:

What OS are you using? If you are using a recent debian linux, it
seems that the solution is to wait a few minutes until some stupid STL
function terminates :) Alternatively, you can #undef HAVE_SSTREAM in
src/config.h and recompile.

This is supposed to be fixed in cvs and will probably be fixed in next
1.1.6 release (if there is such a release).

Yann After some manipulations, I think the problem is due to: -
Yann figures or/and - cross references.

Actually, the problem is due to the time LyX takes to do dependency
tracking (it does some checksums to ensure that files have not
changed).

JMarc



Re: Re: thanks and pstopdf-question

2001-05-31 Thread Wolfgang Kilian

Hello 

 I noticed the same problem when printing gs6.x generated 
 pdf files to 
 postscript and non-postscript printers with acrobat reader  in Windows. 
 The minus symbols were present on-screen though! No 
 problems with 
 printing to postscript printers under Linux. 

Every system is different. Without the '-Ppdf' the minus symbols were not present 
on-screen

 (Converters-Converters), with LyX  1.1.5fix1 this should 
 be possible by defining 
 \dvi_to_ps_command dvips -Ppdf 

So is it simply putting this last line into /.lyx/lyxrc?
 
 With this change, other problems are introduced! For 
 example, 
 fi character sequences in normal text became a pound 
 sterling sign 
 
 Conclusion: do not use gs_6.x for distributing LyX 
 generated (through ps2pdf)  acrobat  documents

Yes I also got this ligature problem (fi, ff). But a friend of mine has already found 
the solution.
In the 'config.pdf' file (in my system to be found in 
'/var/lib/texmf/dvips/config/') there is the Letter 'G' which has to be commented out. 
Then the ligatures come as they should and hopefully no other problems arise.

Will see if this ps-pdf thing will become transparent some day.

Greetings
Wolfgang



__
Sie surfen im Internet statt im Meer? Selbst schuld!
Auf zum Strand: http://lastminute.de/?PP=1-0-100-105-1




Re: Re: thanks and pstopdf-question

2001-05-31 Thread stephan . schlierf


You shouldn´t put this
 \dvi_to_ps_command dvips -Ppdf
into .lyxrc
Below you find an extract from my ~/.lyx/preferences file
---snip---
#
# EXPORT SECTION 
#
\custom_export_command ps2pdf '$$FName' `basename '$$FName' .ps_tmp`.pdf

HTH
Stephan
--
Stephan E. Schlierf M.A.
- chief concept  design developer -
speed2web GmbH Germany
FON: +49 921 99 00 86 12
FAX: +49 921 99 00 86 70
http://www.speed2web.de


   
 
Wolfgang  
 
Kilian  To: [EMAIL PROTECTED]
 
w-kilian@webcc: [EMAIL PROTECTED]   
 
.de Subject: Re: Re: thanks and 
pstopdf-question   
   
 
05/31/01   
 
10:39 AM   
 
   
 
   
 




Hello

 I noticed the same problem when printing gs6.x generated
 pdf files to
 postscript and non-postscript printers with acrobat reader  in Windows.
 The minus symbols were present on-screen though! No
 problems with
 printing to postscript printers under Linux.

Every system is different. Without the '-Ppdf' the minus symbols were not
present on-screen

 (Converters-Converters), with LyX  1.1.5fix1 this should
 be possible by defining
 \dvi_to_ps_command dvips -Ppdf

So is it simply putting this last line into /.lyx/lyxrc?

 With this change, other problems are introduced! For
 example,
 fi character sequences in normal text became a pound
 sterling sign 

 Conclusion: do not use gs_6.x for distributing LyX
 generated (through ps2pdf)  acrobat  documents

Yes I also got this ligature problem (fi, ff). But a friend of mine has
already found the solution.
In the 'config.pdf' file (in my system to be found in
'/var/lib/texmf/dvips/config/') there is the Letter 'G' which has to be
commented out. Then the ligatures come as they should and hopefully no
other problems arise.

Will see if this ps-pdf thing will become transparent some day.

Greetings
 Wolfgang



__

Sie surfen im Internet statt im Meer? Selbst schuld!
Auf zum Strand: http://lastminute.de/?PP=1-0-100-105-1








Re: ScreenFonts

2001-05-31 Thread Tuukka Toivonen

On Wed, 30 May 2001, Michelle Dukich wrote:

 Is there any way to use TrueType fonts for the screen?

Yes, I'm doing that. If you have 4.x version of XFree, it should support
TrueType fonts already, otherwise you have to use some truetype font
server such as xfsft or xfstt. I'm using the latter one.




lyx-server examples

2001-05-31 Thread Guenter Milde

Dear LyXers,

Following the insert csv-tables thread, I wondered, whether the csv2lyx
script could speak to the lyxpipe.

Looking in the tkbibtex source to see how the push to LyX feature is
implemented, I found

# Interface to Lyx based on development/LyXserver/sampleclient.tcl
# =
#   File: sampleclient.tcl, chb, Sun 05.11.1995 (19:24)
#   sampleclient.tcl,v 1.1.1.1 1996/08/19 14:39:38 larsbj Exp
#   This file contains examples for communicating to LyX via the
#   LyXserver interface. It contains a panel of shortcuts to
#   demonstrate how users can define their own macros. It also shows
#   how new commands can be built into LyX using the 'notify' mechanism.
# =


Does anybody know, where I can find this file and whether there are
examplefiles also for other scripting languages (perl, slang, python)?

Thanks Guenter


--
[EMAIL PROTECTED]




Re: lyx-server examples

2001-05-31 Thread Stefano Ghirlanda

Guenter Milde [EMAIL PROTECTED] writes:

 Does anybody know, where I can find this file

It's in the LyX source distribution.

 and whether there are examplefiles also for other scripting
 languages (perl, slang, python)?

I have written a Perl class some time ago for this. Here is an example
of the usage:

use LyX::Client; 
$lyx-new(clientname); 
$lyx-command(self-insert, this should appear in LyX); 

It can be downloaded from: 

http://ethology.zool.su.se/~stefano/software/#client

NOTE that I have currently no time to maintain it. It has worked for
me on a number of occasions but there is no guarantee that it will
work for you. I know for sure that it does not work on Solaris due to
file locking issues. 

Also, I wrote LyX::Client as part of a much bigger project (still in
the design stage unfortunately). For this reason it tries to be as
robust as possible (e.g. error detection, supports multiple clients
reading and writing to the lyxpipes), which also mean that it might be
overkill for some purposes. For very simple operation something like

 echo $COMMAND  ~/.lyxpipe.in

(or its equivalnet in your favourite language) might be enough.

This said, you are welcome to download LyX::Client and tell me if it
works for you. It's GPL, so you can modify it at your own will. There
is also a fairly complete manual page.

Now that I think of it, I know the lyxrc file format has changed since
when I wrote the client. This may or may not cause trouble, I haven't
tried. It should not be difficult to modify the lyxrc function in
LyX::Client to reflect these changes.

-- 
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



ghostscript easy question

2001-05-31 Thread Myriam Abramson


Hi!

What's the difference between Alladin Ghostscript and Gnu Ghostscript? 
I'm using Redhat 6.2 and I want to use Prosper to make slides. 

-- 
   myriam
IM: tokujawa

Go Proverb:

Corner, side, centre.



Re: Pb: Export to ps

2001-05-31 Thread Yann Collete

Hello,

thanks for the advice. It works better now.
I still a a problem with a big file. Lyx launch the latex
program but the process seems to go in an infinite loop.
The process doesn't want to stop. I had waited for 5 minutes
on a 600 Mhz pc with linux debian 2.2.

But thanks a lot again (- font size 350), some of the files I have to process
works.

Yann COLLETTE
 Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
 X-No-Archive: yes
 List-Post: mailto:[EMAIL PROTECTED]
 List-Help: mailto:[EMAIL PROTECTED]
 List-Unsubscribe: 
mailto:[EMAIL PROTECTED]
 Delivered-To: mailing list [EMAIL PROTECTED]
 To: Yann Collete [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 Subject: Re: Pb: Export to ps
 From: Jean-Marc Lasgouttes [EMAIL PROTECTED]
 Date: 31 May 2001 10:24:56 +0200
 
  Yann == Yann Collete [EMAIL PROTECTED] writes:
 
 Yann Hello, I've got a problem with lyx-1.1.6fix{1,2}. When I try to
 Yann export a file to ps, lyx freeze and the only solution I've got
 Yann to leave lyx is to kill it. I launch lyx with the 65536 dbg
 Yann code, here's the last line:
 
 What OS are you using? If you are using a recent debian linux, it
 seems that the solution is to wait a few minutes until some stupid STL
 function terminates :) Alternatively, you can #undef HAVE_SSTREAM in
 src/config.h and recompile.
 
 This is supposed to be fixed in cvs and will probably be fixed in next
 1.1.6 release (if there is such a release).
 
 Yann After some manipulations, I think the problem is due to: -
 Yann figures or/and - cross references.
 
 Actually, the problem is due to the time LyX takes to do dependency
 tracking (it does some checksums to ensure that files have not
 changed).
 
 JMarc




Prosper question

2001-05-31 Thread Myriam Abramson


Hi!

I'm using Prosper with the layout provided by Dekel Tsur (thanks). 
How do I specify the transition effect from slide to slide in lyx? 

-- 
   myriam


As seen in a coffee shop in Monterey, CA,
George W. Bush's counter:

1330 days left till he's gone



Re: ghostscript easy question

2001-05-31 Thread Tuukka Toivonen

On 31 May 2001, Myriam Abramson wrote:

 What's the difference between Alladin Ghostscript and Gnu Ghostscript? 

Old versions of Aladdin Ghostscript are released as GNU Ghostscript. GNU
Ghostscript is licensed under GPL terms, Aladdin gs is licensed under
Aladdin's own license. GNU ghostscript is therefore also older than the
most recent Aladdin ghostscript.




using other PostScript fonts

2001-05-31 Thread Beyer, Marcus


Hi all,

I have just read the explanations of Kathryn Andersen
(thanks a lot!) and would now like to try out some
PostScript fonts. 

For one font (Garamond) I have now files with suffixes
afm, pfm and pfb, which seem to be metrics and outlines:

Garamdn.afm, Garamdni.afm, Garamdnc.afm
Garamdn.pfm, Garamdni.pfm, Garamdnc.pdm
Garamdn.pfb, Garamdni.pfb, Garamdnc.pfb

What do I have to do to use these font in my documents?
Is there a good documentation available?

I am using LyX 1.1.6fix1 on NT4 
with pdfTeX 3.14159-13d from MiKTeX 1.20e.

Should I upgrade to a newer MiKTeX?

Best Regards
Marcus Beyer

   _
Dipl.-Inform. Marcus Beyer   [[EMAIL PROTECTED]]
Abt. Medizinische Informatik - Universitätsklinikum
Stefan-Meier-Straße 26 D-79104 Freiburg
Tel. +49/761/203-6698  Fax +49/761/203-6711
   _ http://www.Stormlight.de __



Re: acknowledgements environment

2001-05-31 Thread Dekel Tsur

On Wed, May 30, 2001 at 08:17:20PM +0300, Dekel Tsur wrote:
 Assuming you want the acknowledgement paragraph to be similar to abstract,
 you need following lines:

I forgot about CopyStyle.
What you need is just

Style Acknowledgement
  CopyStyle   Abstract
  LatexName   ack
  LabelString Acknowledgements
  Preamble
\newenvironment{ack}%
  {\renewcommand{\abstractname}{Acknowledgements}\begin{abstract}}%
  {\end{abstract}}
  EndPreamble
End



Re: PostScript or TrueType?

2001-05-31 Thread Dekel Tsur

On Wed, May 30, 2001 at 02:48:21PM +0200, Beyer, Marcus wrote:
 
 Dear LyX-Users,
 
 I would like to try some other fonts like Garamond
 and Gill. I have the font Garamond in both
 PostScript and TrueType flavours. 
 Which one (PS or TT) is easier/better to use with LyX?
 
 I am using LyX 1.1.6fix1 on NT4 with pdfLaTeX (MiKTeX).

See http://www.radamir.com/tex/ for using TTF fonts with (pdf)latex.



Re: thanks and pstopdf-question

2001-05-31 Thread Dekel Tsur

On Wed, May 30, 2001 at 10:45:04PM +0200, Paul Borgermans wrote:
   So my question is how can I specifie this -Ppdf inside Lyx?
 
 I added this option in LyX 1.1.6fix2 preferences 
 (Converters-Converters), with LyX  1.1.5fix1 this should be possible 
 by defining \dvi_to_ps_command dvips -Ppdf in ~/.lyx/lyxrc

Is is also possible to copy config.pdf into ~/.dvipsrc, and then
dvips will always use the PDF options.
As noted by Andre Berger, you should remove the G option from the config
file. In it is enough to put in ~/.dvipsrc only the following lines:

p +bsr.map
p +bsr-interpolated.map
p +hoekwater.map



Re: Does LyX complain about broken label or citation references?

2001-05-31 Thread Dekel Tsur

On Wed, May 30, 2001 at 09:44:47AM -0700, Ramon Felciano wrote:
 Hi --
 
 I've noticed that LyX (or LaTeX I guess) doesn't seem to complain about
 broken label references. Instead, the reference gets printed with a ?
 indicating that the target couldn't be found. Is there any way to do a
 pre-flight of a LyX (LaTeX) document to check the references and make sure
 they are all present and accessible?

Look at the latex log. If there are undefined references, then at the end of
the file there will be a line

LaTeX Warning: There were undefined references.



Re: Pb: Export to ps

2001-05-31 Thread Herbert Voss

Yann Collete wrote:
 
 I still a a problem with a big file. Lyx launch the latex
 program but the process seems to go in an infinite loop.
 The process doesn't want to stop. I had waited for 5 minutes
 on a 600 Mhz pc with linux debian 2.2.

what does the logfile says?
you can get endless loops when fonts cannot be build.

Herbert

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




subscripted text in math equations.

2001-05-31 Thread Ralph Boland

In my thesis I sometimes write things such as  ydoor(x)  in math mode where  door 
needs to be in normal font.
To write this I

  1) go into math mode,  and type y
  2) go into math mode again to toggle the text to normal format and type  door
  3) go into math mode again to toggle the text to math format
  4) type the rest of my equation.
  5) exit math mode.

This works find unless I use  door(x) in a subscript or superscript.  In the latter 
cases the
word door is subscripted or superscripted ok but is not shrunk in size like it should 
be.
Furthermore, lyx won't let me shrink it manually.

Is there an easier way to do this than using tex to define door like, say,  sin or cos.
I don't know how to do this in tex but I can look it up.
I do hope there is an easier way.

Thanks

Ralph Boland




Re: subscripted text in math equations.

2001-05-31 Thread Tuukka Toivonen

On Thu, 31 May 2001, Ralph Boland wrote:

 word door is subscripted or superscripted ok but is not shrunk in size like it 
should be.

I had the same problem and fortunately the solution is very simple:
Layout/Document Layout/Extra/Use AMS Math
set this on and it'll be perfect!




compiling lyx on aix

2001-05-31 Thread Sailesh Krishnamurthy

Hi folks

I have the AIX toolbox for Linux apps installed on my aix 4.3.3 box and I have
g++ 2.9 installed using this. 

I'm trying to compile lyx-1.1.3 .. I ran into a few errors which I managed to
surmount using other people's tips:

1. The files figinset.C FontInfo.C and FontLoader.C cause a clash with some
exception class in the system headers. The old archive message suggested the
kludge (#define _MATH_H 1). In AIX this has to be (#define _H_MATH 1). In
addition, in figinset.C I had to have this (trial and error cut-paste from
/usr/include/math.h :-)

 extern double ceil(double); 

2. The explicit cast of putenv in filetools.C 

Finally though I have the following problem:

LyxView.C:250: Internal compiler error 19991203.
LyxView.C:250: Please submit a Problem Report to Cygnus Solutions with send-pr

Has anybody else encountered this ? Know how to fix it ? 

Thanks ! 

=
Toodle-pip
Sailesh 
http://www.pipedream.org/~sailesh
Ph: (408) 225-8035 [H]
(408) 927-1913 [W]

__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/



marking text doesn't work

2001-05-31 Thread Gerhard Schuck

Hi,

I've installed lyx 1.1.6-fix2 with rpm on SuSE 7.1 and can't mark text with 
the keyboard. It only works with the mouse. Default language is german.

Any idea?

Gerhard Schuck
[EMAIL PROTECTED]



csv2lyx-0.0.1fix1 :-)

2001-05-31 Thread A.Gulino


Hi LyX friends,
csv2lyx-0.0.1fix1 is released !

a bugfix: now is the output a good LyX-file. No problems with Senseless and
so.

new features (for more infos, as  usual under Linux: pod2html csv2lyx 
csv2lyx.html )
--header 
--border
--label='label for crossreferences'
--output='outputfilename'
csv2lyx -h -b --label='ALabel' csvfile.csv  outputfilename
or ... (look on the pod)

Guenter give me good ideas. But I read the list at work (only in the
morning=CEST), and ... work with LyX and Perl at home.

Here a contest:
what is better: --title or --caption
is the following option a good idea: --grid (each cell have a border)

Thank you for suggestions.

ciao, antonio



Re: csv2lyx-0.0.1fix1 :-)

2001-05-31 Thread Roman Maurer

"A.Gulino" wrote:
 
 csv2lyx-0.0.1fix1 is released !

What does it do?  Creates LyX tables out of comma separated
spreadsheets?
-- 
Regards,
  Roman



Re: thanks and pstopdf-question

2001-05-31 Thread Andre Berger

* Paul Borgermans [EMAIL PROTECTED], 2001-05-31 01:00 +0200:
   So my question is how can I specifie this -Ppdf inside Lyx?
 
 I added this option in LyX 1.1.6fix2 preferences 
 (Converters-Converters), with LyX  1.1.5fix1 this should be possible 
 by defining \dvi_to_ps_command dvips -Ppdf in ~/.lyx/lyxrc
 
 With this change, other problems are introduced! For example, 
 fi character sequences in normal text became a pound sterling sign 

This has been discussed by the font guru Walter Schmidt on
[EMAIL PROTECTED] recently. I'll try to give a summary in
English here.

-Ppdf reads config.pdf; inside is an option G1 which should really
be set to G0. If you don't want to mess with this configuration
file, use dvips -Ppdf -G0. You can also use dvips -Pcms (or dvips
-Pwww if the latter doesn't work), this way you'll get TrueType
Fonts.

G0 turns off the non-standard features of config.pdf. The reason why
G1 is set is a bug with acroread  4.05 and PCL printers. The
behaviour you noticed is a side effect of a not well-documented
work-around.

I hope this helps!

A. B.   [[EMAIL PROTECTED]]

 PGP signature


Pb: Export to ps

2001-05-31 Thread Yann Collete

Hello,

I've got a problem with lyx-1.1.6fix{1,2}.
When I try to export a file to ps, lyx freeze and the only
solution I've got to leave lyx is to kill it.
I launch lyx with the 65536 dbg code, here's the last line:

lyx header finished
preamble finished, now the body.
Finished making latex file.
Converting from  latex to dvi
Running latex
Dependency file does not exist
Found file: Synthese.tex
Tmpdir TeX file: Synthese.tex


When I go to the lyx temp dir, I can see a .dvi file.
I can convert it to ps and, when I visualize it, the TOC
is not there and, all references (cross references and
citation) are missing.
There's no errors during to latex compilation.

If I export the lyx file to latex and launch latex manually,
the file is correctly translated to dvi and, after a dvips, to ps.
If I try to export a file without any figure to ps within lyx, it works.

After some manipulations, I think the problem is due to:
- figures or/and
- cross references.


What can I do ?

Yann COLLETTE




Re: csv2lyx-0.0.1fix1 :-)

2001-05-31 Thread A.Gulino

Sorry! I have pressed the wrong buttom, and so the mail is started, but not
completed :-(
---
csv2lyx is a Perl-script:

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.

Extract from the pod (documentation of perlscripts):

How to use:
 antonio@bidone:~  csv2lyx mycsvfile  mytmptable.lyx

Options

 -s or --separator=what you want (default: \t for a tab-sep-value file)
 -t or --title=A pretty title for a pretty table (default:Title of the LyX
table)
 -o or --output='A filename, please!' (default: STDOUT aka Screen)
 -b or --border(a line around the table. Default: noborder)
 -h or --header(a line unter the first row. Default: noheader)
 -l or --label='A label for crossreference to the table'

Ideas:
 --grid ... A line between two columns. A line between two rows. Two line
between the first and the second row if --header
 --nofloat ... If you dont want a float table
 --header='1211231' ... for multicolumn in the header
 --format=|p{3cm}|c| ... formatting the column, with the same Syntax of LaTeX


I don't know if it is a good idea to post the Perl-script in the mailinglist,
because it is (with documentation) 300 lines long. And the code is very young
but it does its work, really :-)
=
If you want the script, I will send it. No problems!
=
You can produce from a csv-file a lyx-file, and include or insert it in your LyX
document.
For me is the advantage, that I can change the data in the table, without open
the LyX-document itself.
Guenter Milde have posted two mails with wishes and ideas (yesterday, 30 june,
at 9.30 and 15.30)

Roman Maurer wrote:
 
 What does it do?  Creates LyX tables out of comma separated
 spreadsheets?
From Spreadsheets or whatever you want.
I use a tabulator-separeted-values format, but the script allow you to change
it
--separator=';'
par example.
I like tabulator because, sometimes, in the text are commas (,;:) and i don't
like make a control about a character_in_text=separator_in_csv.

  Guenter Milde wrote:
   could this script be called from the external inset? Would the table then appear
   in the GUI or just a [external inset] button?
  
 Antonio wrote:
  ??? Sorry !
 
 Guenter Milde wrote:
 The external inset is a new feature of lyx 1.1.6! It allows you to define
 input filters for any kind of data (e.g. raster images).
 
 Falls csv2lyx für External-inset angepaßt würde, könnten wir (in 1.1.6) so etwas 
machen  wie
  Einfügen|Externaes_Material|CSV_Tabelle 
 und dann die Tabelle (als *.csv) anwählen - LyX startet csv2lyx und importiert das
 Ergebnis! (Die Feinheiten der Formatierung würde ich dann in LyX machen)
 
 Da fällt mir noch ein: hast Du schon probiert, ob statt einer temporären Datei
 auch die .lyxpipe geht? - z.B. tkbibtex kann Zitate direkt nach LyX exportieren.

I think, I must ask someone what a .lyxpipe is.
My idea is, that I can use csv2lyx directly from LyX-1.1.4fix1. for example
Insert -- LyXfile (cat csvfile | csv2lyx)
maybe, the .lyxpipe is the solution! but: what's a .lyxpipe?
I must try. with 1.1.4fix1.
My problem is: I write my thesis in economics with LyX, *about* LyX, under
Linux. And I work. So I must learn at the same time: Linux, installing software,
programming perl (I'm not a developer), write a good italian text, hacking  my
second-hand-hardware, learning english ... and now is summer, the water in the
lake is wunderful,...
That mean, that 
- I can not install more version of LyX, because, if then I lost my thesis...
- I can not change my Linux, because, if I lost my data...
- I dont like touching my hardware, because each time I destroy somethings else
(now I'm without floppy. if the modem is destroyed, my computer is isolated,
argghh!)
So I can make only a little bit of experiments.



Re: Pb: Export to ps

2001-05-31 Thread Jean-Marc Lasgouttes

 Yann == Yann Collete [EMAIL PROTECTED] writes:

Yann Hello, I've got a problem with lyx-1.1.6fix{1,2}. When I try to
Yann export a file to ps, lyx freeze and the only solution I've got
Yann to leave lyx is to kill it. I launch lyx with the 65536 dbg
Yann code, here's the last line:

What OS are you using? If you are using a recent debian linux, it
seems that the solution is to wait a few minutes until some stupid STL
function terminates :) Alternatively, you can #undef HAVE_SSTREAM in
src/config.h and recompile.

This is supposed to be fixed in cvs and will probably be fixed in next
1.1.6 release (if there is such a release).

Yann After some manipulations, I think the problem is due to: -
Yann figures or/and - cross references.

Actually, the problem is due to the time LyX takes to do dependency
tracking (it does some checksums to ensure that files have not
changed).

JMarc



Re: Re: thanks and pstopdf-question

2001-05-31 Thread Wolfgang Kilian

Hello 

 I noticed the same problem when printing gs6.x generated 
 pdf files to 
 postscript and non-postscript printers with acrobat reader  in Windows. 
 The minus symbols were present on-screen though! No 
 problems with 
 printing to postscript printers under Linux. 

Every system is different. Without the '-Ppdf' the minus symbols were not present 
on-screen

 (Converters-Converters), with LyX  1.1.5fix1 this should 
 be possible by defining 
 \dvi_to_ps_command dvips -Ppdf 

So is it simply putting this last line into /.lyx/lyxrc?
 
 With this change, other problems are introduced! For 
 example, 
 fi character sequences in normal text became a pound 
 sterling sign 
 
 Conclusion: do not use gs_6.x for distributing LyX 
 generated (through ps2pdf)  acrobat  documents

Yes I also got this ligature problem (fi, ff). But a friend of mine has already found 
the solution.
In the 'config.pdf' file (in my system to be found in 
'/var/lib/texmf/dvips/config/') there is the Letter 'G' which has to be commented out. 
Then the ligatures come as they should and hopefully no other problems arise.

Will see if this ps-pdf thing will become transparent some day.

Greetings
Wolfgang



__
Sie surfen im Internet statt im Meer? Selbst schuld!
Auf zum Strand: http://lastminute.de/?PP=1-0-100-105-1




Re: Re: thanks and pstopdf-question

2001-05-31 Thread stephan . schlierf


You shouldn´t put this
 \dvi_to_ps_command dvips -Ppdf
into .lyxrc
Below you find an extract from my ~/.lyx/preferences file
---snip---
#
# EXPORT SECTION 
#
\custom_export_command ps2pdf '$$FName' `basename '$$FName' .ps_tmp`.pdf

HTH
Stephan
--
Stephan E. Schlierf M.A.
- chief concept  design developer -
speed2web GmbH Germany
FON: +49 921 99 00 86 12
FAX: +49 921 99 00 86 70
http://www.speed2web.de


   
 
Wolfgang  
 
Kilian  To: [EMAIL PROTECTED]
 
w-kilian@webcc: [EMAIL PROTECTED]   
 
.de Subject: Re: Re: thanks and 
pstopdf-question   
   
 
05/31/01   
 
10:39 AM   
 
   
 
   
 




Hello

 I noticed the same problem when printing gs6.x generated
 pdf files to
 postscript and non-postscript printers with acrobat reader  in Windows.
 The minus symbols were present on-screen though! No
 problems with
 printing to postscript printers under Linux.

Every system is different. Without the '-Ppdf' the minus symbols were not
present on-screen

 (Converters-Converters), with LyX  1.1.5fix1 this should
 be possible by defining
 \dvi_to_ps_command dvips -Ppdf

So is it simply putting this last line into /.lyx/lyxrc?

 With this change, other problems are introduced! For
 example,
 fi character sequences in normal text became a pound
 sterling sign 

 Conclusion: do not use gs_6.x for distributing LyX
 generated (through ps2pdf)  acrobat  documents

Yes I also got this ligature problem (fi, ff). But a friend of mine has
already found the solution.
In the 'config.pdf' file (in my system to be found in
'/var/lib/texmf/dvips/config/') there is the Letter 'G' which has to be
commented out. Then the ligatures come as they should and hopefully no
other problems arise.

Will see if this ps-pdf thing will become transparent some day.

Greetings
 Wolfgang



__

Sie surfen im Internet statt im Meer? Selbst schuld!
Auf zum Strand: http://lastminute.de/?PP=1-0-100-105-1








Re: ScreenFonts

2001-05-31 Thread Tuukka Toivonen

On Wed, 30 May 2001, Michelle Dukich wrote:

 Is there any way to use TrueType fonts for the screen?

Yes, I'm doing that. If you have 4.x version of XFree, it should support
TrueType fonts already, otherwise you have to use some truetype font
server such as xfsft or xfstt. I'm using the latter one.




lyx-server examples

2001-05-31 Thread Guenter Milde

Dear LyXers,

Following the insert csv-tables thread, I wondered, whether the csv2lyx
script could speak to the lyxpipe.

Looking in the tkbibtex source to see how the push to LyX feature is
implemented, I found

# Interface to Lyx based on development/LyXserver/sampleclient.tcl
# =
#   File: sampleclient.tcl, chb, Sun 05.11.1995 (19:24)
#   sampleclient.tcl,v 1.1.1.1 1996/08/19 14:39:38 larsbj Exp
#   This file contains examples for communicating to LyX via the
#   LyXserver interface. It contains a panel of shortcuts to
#   demonstrate how users can define their own macros. It also shows
#   how new commands can be built into LyX using the 'notify' mechanism.
# =


Does anybody know, where I can find this file and whether there are
examplefiles also for other scripting languages (perl, slang, python)?

Thanks Guenter


--
[EMAIL PROTECTED]




Re: lyx-server examples

2001-05-31 Thread Stefano Ghirlanda

Guenter Milde [EMAIL PROTECTED] writes:

 Does anybody know, where I can find this file

It's in the LyX source distribution.

 and whether there are examplefiles also for other scripting
 languages (perl, slang, python)?

I have written a Perl class some time ago for this. Here is an example
of the usage:

use LyX::Client; 
$lyx-new(clientname); 
$lyx-command(self-insert, this should appear in LyX); 

It can be downloaded from: 

http://ethology.zool.su.se/~stefano/software/#client

NOTE that I have currently no time to maintain it. It has worked for
me on a number of occasions but there is no guarantee that it will
work for you. I know for sure that it does not work on Solaris due to
file locking issues. 

Also, I wrote LyX::Client as part of a much bigger project (still in
the design stage unfortunately). For this reason it tries to be as
robust as possible (e.g. error detection, supports multiple clients
reading and writing to the lyxpipes), which also mean that it might be
overkill for some purposes. For very simple operation something like

 echo $COMMAND  ~/.lyxpipe.in

(or its equivalnet in your favourite language) might be enough.

This said, you are welcome to download LyX::Client and tell me if it
works for you. It's GPL, so you can modify it at your own will. There
is also a fairly complete manual page.

Now that I think of it, I know the lyxrc file format has changed since
when I wrote the client. This may or may not cause trouble, I haven't
tried. It should not be difficult to modify the lyxrc function in
LyX::Client to reflect these changes.

-- 
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



ghostscript easy question

2001-05-31 Thread Myriam Abramson


Hi!

What's the difference between Alladin Ghostscript and Gnu Ghostscript? 
I'm using Redhat 6.2 and I want to use Prosper to make slides. 

-- 
   myriam
IM: tokujawa

Go Proverb:

Corner, side, centre.



Re: Pb: Export to ps

2001-05-31 Thread Yann Collete

Hello,

thanks for the advice. It works better now.
I still a a problem with a big file. Lyx launch the latex
program but the process seems to go in an infinite loop.
The process doesn't want to stop. I had waited for 5 minutes
on a 600 Mhz pc with linux debian 2.2.

But thanks a lot again (- font size 350), some of the files I have to process
works.

Yann COLLETTE
 Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
 X-No-Archive: yes
 List-Post: mailto:[EMAIL PROTECTED]
 List-Help: mailto:[EMAIL PROTECTED]
 List-Unsubscribe: 
mailto:[EMAIL PROTECTED]
 Delivered-To: mailing list [EMAIL PROTECTED]
 To: Yann Collete [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 Subject: Re: Pb: Export to ps
 From: Jean-Marc Lasgouttes [EMAIL PROTECTED]
 Date: 31 May 2001 10:24:56 +0200
 
  Yann == Yann Collete [EMAIL PROTECTED] writes:
 
 Yann Hello, I've got a problem with lyx-1.1.6fix{1,2}. When I try to
 Yann export a file to ps, lyx freeze and the only solution I've got
 Yann to leave lyx is to kill it. I launch lyx with the 65536 dbg
 Yann code, here's the last line:
 
 What OS are you using? If you are using a recent debian linux, it
 seems that the solution is to wait a few minutes until some stupid STL
 function terminates :) Alternatively, you can #undef HAVE_SSTREAM in
 src/config.h and recompile.
 
 This is supposed to be fixed in cvs and will probably be fixed in next
 1.1.6 release (if there is such a release).
 
 Yann After some manipulations, I think the problem is due to: -
 Yann figures or/and - cross references.
 
 Actually, the problem is due to the time LyX takes to do dependency
 tracking (it does some checksums to ensure that files have not
 changed).
 
 JMarc




Prosper question

2001-05-31 Thread Myriam Abramson


Hi!

I'm using Prosper with the layout provided by Dekel Tsur (thanks). 
How do I specify the transition effect from slide to slide in lyx? 

-- 
   myriam


As seen in a coffee shop in Monterey, CA,
George W. Bush's counter:

1330 days left till he's gone



Re: ghostscript easy question

2001-05-31 Thread Tuukka Toivonen

On 31 May 2001, Myriam Abramson wrote:

 What's the difference between Alladin Ghostscript and Gnu Ghostscript? 

Old versions of Aladdin Ghostscript are released as GNU Ghostscript. GNU
Ghostscript is licensed under GPL terms, Aladdin gs is licensed under
Aladdin's own license. GNU ghostscript is therefore also older than the
most recent Aladdin ghostscript.




using other PostScript fonts

2001-05-31 Thread Beyer, Marcus


Hi all,

I have just read the explanations of Kathryn Andersen
(thanks a lot!) and would now like to try out some
PostScript fonts. 

For one font (Garamond) I have now files with suffixes
afm, pfm and pfb, which seem to be metrics and outlines:

Garamdn.afm, Garamdni.afm, Garamdnc.afm
Garamdn.pfm, Garamdni.pfm, Garamdnc.pdm
Garamdn.pfb, Garamdni.pfb, Garamdnc.pfb

What do I have to do to use these font in my documents?
Is there a good documentation available?

I am using LyX 1.1.6fix1 on NT4 
with pdfTeX 3.14159-13d from MiKTeX 1.20e.

Should I upgrade to a newer MiKTeX?

Best Regards
Marcus Beyer

   _
Dipl.-Inform. Marcus Beyer   [[EMAIL PROTECTED]]
Abt. Medizinische Informatik - Universitätsklinikum
Stefan-Meier-Straße 26 D-79104 Freiburg
Tel. +49/761/203-6698  Fax +49/761/203-6711
   _ http://www.Stormlight.de __



Re: acknowledgements environment

2001-05-31 Thread Dekel Tsur

On Wed, May 30, 2001 at 08:17:20PM +0300, Dekel Tsur wrote:
 Assuming you want the acknowledgement paragraph to be similar to abstract,
 you need following lines:

I forgot about CopyStyle.
What you need is just

Style Acknowledgement
  CopyStyle   Abstract
  LatexName   ack
  LabelString Acknowledgements
  Preamble
\newenvironment{ack}%
  {\renewcommand{\abstractname}{Acknowledgements}\begin{abstract}}%
  {\end{abstract}}
  EndPreamble
End



Re: PostScript or TrueType?

2001-05-31 Thread Dekel Tsur

On Wed, May 30, 2001 at 02:48:21PM +0200, Beyer, Marcus wrote:
 
 Dear LyX-Users,
 
 I would like to try some other fonts like Garamond
 and Gill. I have the font Garamond in both
 PostScript and TrueType flavours. 
 Which one (PS or TT) is easier/better to use with LyX?
 
 I am using LyX 1.1.6fix1 on NT4 with pdfLaTeX (MiKTeX).

See http://www.radamir.com/tex/ for using TTF fonts with (pdf)latex.



Re: thanks and pstopdf-question

2001-05-31 Thread Dekel Tsur

On Wed, May 30, 2001 at 10:45:04PM +0200, Paul Borgermans wrote:
   So my question is how can I specifie this -Ppdf inside Lyx?
 
 I added this option in LyX 1.1.6fix2 preferences 
 (Converters-Converters), with LyX  1.1.5fix1 this should be possible 
 by defining \dvi_to_ps_command dvips -Ppdf in ~/.lyx/lyxrc

Is is also possible to copy config.pdf into ~/.dvipsrc, and then
dvips will always use the PDF options.
As noted by Andre Berger, you should remove the G option from the config
file. In it is enough to put in ~/.dvipsrc only the following lines:

p +bsr.map
p +bsr-interpolated.map
p +hoekwater.map



Re: Does LyX complain about broken label or citation references?

2001-05-31 Thread Dekel Tsur

On Wed, May 30, 2001 at 09:44:47AM -0700, Ramon Felciano wrote:
 Hi --
 
 I've noticed that LyX (or LaTeX I guess) doesn't seem to complain about
 broken label references. Instead, the reference gets printed with a ?
 indicating that the target couldn't be found. Is there any way to do a
 pre-flight of a LyX (LaTeX) document to check the references and make sure
 they are all present and accessible?

Look at the latex log. If there are undefined references, then at the end of
the file there will be a line

LaTeX Warning: There were undefined references.



Re: Pb: Export to ps

2001-05-31 Thread Herbert Voss

Yann Collete wrote:
 
 I still a a problem with a big file. Lyx launch the latex
 program but the process seems to go in an infinite loop.
 The process doesn't want to stop. I had waited for 5 minutes
 on a 600 Mhz pc with linux debian 2.2.

what does the logfile says?
you can get endless loops when fonts cannot be build.

Herbert

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




subscripted text in math equations.

2001-05-31 Thread Ralph Boland

In my thesis I sometimes write things such as  ydoor(x)  in math mode where  door 
needs to be in normal font.
To write this I

  1) go into math mode,  and type y
  2) go into math mode again to toggle the text to normal format and type  door
  3) go into math mode again to toggle the text to math format
  4) type the rest of my equation.
  5) exit math mode.

This works find unless I use  door(x) in a subscript or superscript.  In the latter 
cases the
word door is subscripted or superscripted ok but is not shrunk in size like it should 
be.
Furthermore, lyx won't let me shrink it manually.

Is there an easier way to do this than using tex to define door like, say,  sin or cos.
I don't know how to do this in tex but I can look it up.
I do hope there is an easier way.

Thanks

Ralph Boland




Re: subscripted text in math equations.

2001-05-31 Thread Tuukka Toivonen

On Thu, 31 May 2001, Ralph Boland wrote:

 word door is subscripted or superscripted ok but is not shrunk in size like it 
should be.

I had the same problem and fortunately the solution is very simple:
Layout/Document Layout/Extra/Use AMS Math
set this on and it'll be perfect!




compiling lyx on aix

2001-05-31 Thread Sailesh Krishnamurthy

Hi folks

I have the AIX toolbox for Linux apps installed on my aix 4.3.3 box and I have
g++ 2.9 installed using this. 

I'm trying to compile lyx-1.1.3 .. I ran into a few errors which I managed to
surmount using other people's tips:

1. The files figinset.C FontInfo.C and FontLoader.C cause a clash with some
exception class in the system headers. The old archive message suggested the
kludge (#define _MATH_H 1). In AIX this has to be (#define _H_MATH 1). In
addition, in figinset.C I had to have this (trial and error cut-paste from
/usr/include/math.h :-)

 extern double ceil(double); 

2. The explicit cast of putenv in filetools.C 

Finally though I have the following problem:

LyxView.C:250: Internal compiler error 19991203.
LyxView.C:250: Please submit a Problem Report to Cygnus Solutions with send-pr

Has anybody else encountered this ? Know how to fix it ? 

Thanks ! 

=
Toodle-pip
Sailesh 
http://www.pipedream.org/~sailesh
Ph: (408) 225-8035 [H]
(408) 927-1913 [W]

__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/



marking text doesn't work

2001-05-31 Thread Gerhard Schuck

Hi,

I've installed lyx 1.1.6-fix2 with rpm on SuSE 7.1 and can't mark text with 
the keyboard. It only works with the mouse. Default language is german.

Any idea?

Gerhard Schuck
[EMAIL PROTECTED]



csv2lyx-0.0.1fix1 :-)

2001-05-31 Thread A.Gulino


Hi LyX friends,
csv2lyx-0.0.1fix1 is released !

a bugfix: now is the output a good LyX-file. No problems with "Senseless" and
so.

new features (for more infos, as  usual under Linux: pod2html csv2lyx >
csv2lyx.html )
--header 
--border
--label='label for crossreferences'
--output='outputfilename'
csv2lyx -h -b --label='ALabel' csvfile.csv > outputfilename
or ... (look on the pod)

Guenter give me good ideas. But I read the list at work (only in the
morning=CEST), and ... work with LyX and Perl at home.

Here a contest:
what is better: --title or --caption
is the following option a good idea: --grid (each cell have a border)

Thank you for suggestions.

ciao, antonio



Re: csv2lyx-0.0.1fix1 :-)

2001-05-31 Thread Roman Maurer

"A.Gulino" wrote:
> 
> csv2lyx-0.0.1fix1 is released !

What does it do?  Creates LyX tables out of comma separated
spreadsheets?
-- 
Regards,
  Roman



Re: thanks and pstopdf-question

2001-05-31 Thread Andre Berger

* Paul Borgermans <[EMAIL PROTECTED]>, 2001-05-31 01:00 +0200:
> >  So my question is how can I specifie this "-Ppdf" inside Lyx?
> 
> I added this option in LyX 1.1.6fix2 preferences 
> (Converters->Converters), with LyX  1.1.5fix1 this should be possible 
> by defining \dvi_to_ps_command "dvips -Ppdf" in ~/.lyx/lyxrc
> 
> With this change, other problems are introduced! For example, 
> fi character sequences in normal text became a pound sterling sign 

This has been discussed by the font guru Walter Schmidt on
[EMAIL PROTECTED] recently. I'll try to give a summary in
English here.

"-Ppdf" reads config.pdf; inside is an option "G1" which should really
be set to "G0". If you don't want to mess with this configuration
file, use "dvips -Ppdf -G0". You can also use "dvips -Pcms" (or "dvips
-Pwww" if the latter doesn't work), this way you'll get TrueType
Fonts.

"G0" turns off the non-standard features of config.pdf. The reason why
"G1" is set is a bug with acroread < 4.05 and PCL printers. The
behaviour you noticed is a side effect of a not well-documented
work-around.

I hope this helps!

A. B.   [[EMAIL PROTECTED]]

 PGP signature


Pb: Export to ps

2001-05-31 Thread Yann Collete

Hello,

I've got a problem with lyx-1.1.6fix{1,2}.
When I try to export a file to ps, lyx freeze and the only
solution I've got to leave lyx is to kill it.
I launch lyx with the 65536 dbg code, here's the last line:

lyx header finished
preamble finished, now the body.
Finished making latex file.
Converting from  latex to dvi
Running latex
Dependency file does not exist
Found file: Synthese.tex
Tmpdir TeX file: Synthese.tex


When I go to the lyx temp dir, I can see a .dvi file.
I can convert it to ps and, when I visualize it, the TOC
is not there and, all references (cross references and
citation) are missing.
There's no errors during to latex compilation.

If I export the lyx file to latex and launch latex manually,
the file is correctly translated to dvi and, after a dvips, to ps.
If I try to export a file without any figure to ps within lyx, it works.

After some manipulations, I think the problem is due to:
- figures or/and
- cross references.


What can I do ?

Yann COLLETTE




Re: csv2lyx-0.0.1fix1 :-)

2001-05-31 Thread A.Gulino

Sorry! I have pressed the wrong buttom, and so the mail is started, but not
completed :-(
---
csv2lyx is a Perl-script:

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.

Extract from the pod (documentation of perlscripts):

How to use:
 antonio@bidone:~ > csv2lyx mycsvfile > mytmptable.lyx

Options

 -s or --separator="what you want" (default: "\t" for a tab-sep-value file)
 -t or --title="A pretty title for a pretty table" (default:"Title of the LyX
table")
 -o or --output='A filename, please!' (default: STDOUT aka Screen)
 -b or --border(a line around the table. Default: noborder)
 -h or --header(a line unter the first row. Default: noheader)
 -l or --label='A label for crossreference to the table'

Ideas:
 --grid ... A line between two columns. A line between two rows. Two line
between the first and the second row if --header
 --nofloat ... If you dont want a float table
 --header='1211231' ... for multicolumn in the header
 --format="|p{3cm}|c|" ... formatting the column, with the same Syntax of LaTeX


I don't know if it is a good idea to post the Perl-script in the mailinglist,
because it is (with documentation) 300 lines long. And the code is very "young"
but it does its work, really :-)
=
If you want the script, I will send it. No problems!
=
You can produce from a csv-file a lyx-file, and include or insert it in your LyX
document.
For me is the advantage, that I can change the data in the table, without open
the LyX-document itself.
Guenter Milde have posted two mails with wishes and ideas (yesterday, 30 june,
at 9.30 and 15.30)

Roman Maurer wrote:
> 
> What does it do?  Creates LyX tables out of comma separated
> spreadsheets?
>From Spreadsheets or whatever you want.
I use a "tabulator-separeted-values" format, but the script allow you to change
it
--separator=';'
par example.
I like "tabulator" because, sometimes, in the text are commas (,;:) and i don't
like make a control about a character_in_text=separator_in_csv.

> > Guenter Milde wrote:
> > > could this script be called from the external inset? Would the table then appear
> > > in the GUI or just a [external inset] button?
> > 
> Antonio wrote:
> > ??? Sorry !
> 
> Guenter Milde wrote:
> The external inset is a new feature of lyx 1.1.6! It allows you to define
> input filters for any kind of data (e.g. raster images).
> 
> Falls csv2lyx für External-inset angepaßt würde, könnten wir (in 1.1.6) so etwas 
>machen  wie
>  Einfügen|Externaes_Material|CSV_Tabelle 
> und dann die Tabelle (als *.csv) anwählen -> LyX startet csv2lyx und importiert das
> Ergebnis! (Die Feinheiten der Formatierung würde ich dann in LyX machen)
> 
> Da fällt mir noch ein: hast Du schon probiert, ob statt einer temporären Datei
> auch die .lyxpipe geht? - z.B. tkbibtex kann Zitate direkt nach LyX exportieren.

I think, I must ask someone what a .lyxpipe is.
My idea is, that I can use csv2lyx directly from LyX-1.1.4fix1. for example
Insert --> LyXfile (cat csvfile | csv2lyx)
maybe, the .lyxpipe is the solution! but: what's a .lyxpipe?
I must try. with 1.1.4fix1.
My problem is: I write my thesis in economics with LyX, *about* LyX, under
Linux. And I work. So I must learn at the same time: Linux, installing software,
programming perl (I'm not a developer), write a good italian text, "hacking"  my
second-hand-hardware, learning english ... and now is summer, the water in the
lake is wunderful,...
That mean, that 
- I can not install more version of LyX, because, if then I lost my thesis...
- I can not change my Linux, because, if I lost my data...
- I dont like touching my hardware, because each time I destroy somethings else
(now I'm without floppy. if the modem is destroyed, my computer is isolated,
argghh!)
So I can make only a little bit of experiments.



Re: Pb: Export to ps

2001-05-31 Thread Jean-Marc Lasgouttes

> "Yann" == Yann Collete <[EMAIL PROTECTED]> writes:

Yann> Hello, I've got a problem with lyx-1.1.6fix{1,2}. When I try to
Yann> export a file to ps, lyx freeze and the only solution I've got
Yann> to leave lyx is to kill it. I launch lyx with the 65536 dbg
Yann> code, here's the last line:

What OS are you using? If you are using a recent debian linux, it
seems that the solution is to wait a few minutes until some stupid STL
function terminates :) Alternatively, you can #undef HAVE_SSTREAM in
src/config.h and recompile.

This is supposed to be fixed in cvs and will probably be fixed in next
1.1.6 release (if there is such a release).

Yann> After some manipulations, I think the problem is due to: -
Yann> figures or/and - cross references.

Actually, the problem is due to the time LyX takes to do dependency
tracking (it does some checksums to ensure that files have not
changed).

JMarc



Re: Re: thanks and pstopdf-question

2001-05-31 Thread Wolfgang Kilian

Hello 

> I noticed the same problem when printing gs6.x generated 
> pdf files to 
> postscript and non-postscript printers with acrobat reader > in Windows. 
> The minus symbols were present on-screen though! No 
> problems with 
> printing to postscript printers under Linux. 

Every system is different. Without the '-Ppdf' the minus symbols were not present 
on-screen

> (Converters->Converters), with LyX  1.1.5fix1 this should 
> be possible by defining 
> \dvi_to_ps_command "dvips -Ppdf" 

So is it simply putting this last line into /.lyx/lyxrc?
 
> With this change, other problems are introduced! For 
> example, 
> fi character sequences in normal text became a pound 
> sterling sign 
> 
> Conclusion: do not use gs_6.x for distributing LyX 
> generated (through ps2pdf)  acrobat  documents

Yes I also got this ligature problem (fi, ff). But a friend of mine has already found 
the solution.
In the 'config.pdf' file (in my system to be found in 
'/var/lib/texmf/dvips/config/') there is the Letter 'G' which has to be commented out. 
Then the ligatures come as they should and hopefully no other problems arise.

Will see if this ps->pdf thing will become transparent some day.

Greetings
Wolfgang



__
Sie surfen im Internet statt im Meer? Selbst schuld!
Auf zum Strand: http://lastminute.de/?PP=1-0-100-105-1




Re: Re: thanks and pstopdf-question

2001-05-31 Thread stephan . schlierf


You shouldn´t put this
> \dvi_to_ps_command "dvips -Ppdf"
into .lyxrc
Below you find an extract from my ~/.lyx/preferences file
---snip---
#
# EXPORT SECTION 
#
\custom_export_command "ps2pdf '$$FName' `basename '$$FName' .ps_tmp`.pdf"

HTH
Stephan
--
Stephan E. Schlierf M.A.
- chief concept & design developer -
speed2web GmbH Germany
FON: +49 921 99 00 86 12
FAX: +49 921 99 00 86 70
http://www.speed2web.de


   
 
"Wolfgang  
 
Kilian"  To: [EMAIL PROTECTED]
 
 Subject: Re: Re: thanks and 
pstopdf-question   
   
 
05/31/01   
 
10:39 AM   
 
   
 
   
 




Hello

> I noticed the same problem when printing gs6.x generated
> pdf files to
> postscript and non-postscript printers with acrobat reader > in Windows.
> The minus symbols were present on-screen though! No
> problems with
> printing to postscript printers under Linux.

Every system is different. Without the '-Ppdf' the minus symbols were not
present on-screen

> (Converters->Converters), with LyX  1.1.5fix1 this should
> be possible by defining
> \dvi_to_ps_command "dvips -Ppdf"

So is it simply putting this last line into /.lyx/lyxrc?

> With this change, other problems are introduced! For
> example,
> fi character sequences in normal text became a pound
> sterling sign 
>
> Conclusion: do not use gs_6.x for distributing LyX
> generated (through ps2pdf)  acrobat  documents

Yes I also got this ligature problem (fi, ff). But a friend of mine has
already found the solution.
In the 'config.pdf' file (in my system to be found in
'/var/lib/texmf/dvips/config/') there is the Letter 'G' which has to be
commented out. Then the ligatures come as they should and hopefully no
other problems arise.

Will see if this ps->pdf thing will become transparent some day.

Greetings
 Wolfgang



__

Sie surfen im Internet statt im Meer? Selbst schuld!
Auf zum Strand: http://lastminute.de/?PP=1-0-100-105-1








Re: ScreenFonts

2001-05-31 Thread Tuukka Toivonen

On Wed, 30 May 2001, Michelle Dukich wrote:

> Is there any way to use TrueType fonts for the screen?

Yes, I'm doing that. If you have 4.x version of XFree, it should support
TrueType fonts already, otherwise you have to use some truetype font
server such as xfsft or xfstt. I'm using the latter one.




lyx-server examples

2001-05-31 Thread Guenter Milde

Dear LyXers,

Following the "insert csv-tables" thread, I wondered, whether the csv2lyx
script could speak to the lyxpipe.

Looking in the tkbibtex source to see how the "push to LyX" feature is
implemented, I found

# Interface to Lyx based on development/LyXserver/sampleclient.tcl
# =
#   File: sampleclient.tcl, chb, Sun 05.11.1995 (19:24)
#   sampleclient.tcl,v 1.1.1.1 1996/08/19 14:39:38 larsbj Exp
#   This file contains examples for communicating to LyX via the
#   LyXserver interface. It contains a panel of shortcuts to
#   demonstrate how users can define their own macros. It also shows
#   how new commands can be built into LyX using the 'notify' mechanism.
# =


Does anybody know, where I can find this file and whether there are
examplefiles also for other scripting languages (perl, slang, python)?

Thanks Guenter


--
[EMAIL PROTECTED]




Re: lyx-server examples

2001-05-31 Thread Stefano Ghirlanda

Guenter Milde <[EMAIL PROTECTED]> writes:

> Does anybody know, where I can find this file

It's in the LyX source distribution.

> and whether there are examplefiles also for other scripting
> languages (perl, slang, python)?

I have written a Perl class some time ago for this. Here is an example
of the usage:

use LyX::Client; 
$lyx->new("clientname"); 
$lyx->command("self-insert", "this should appear in LyX"); 

It can be downloaded from: 

http://ethology.zool.su.se/~stefano/software/#client

NOTE that I have currently no time to maintain it. It has worked for
me on a number of occasions but there is no guarantee that it will
work for you. I know for sure that it does not work on Solaris due to
file locking issues. 

Also, I wrote LyX::Client as part of a much bigger project (still in
the design stage unfortunately). For this reason it tries to be as
robust as possible (e.g. error detection, supports multiple clients
reading and writing to the lyxpipes), which also mean that it might be
overkill for some purposes. For very simple operation something like

 echo $COMMAND > ~/.lyxpipe.in

(or its equivalnet in your favourite language) might be enough.

This said, you are welcome to download LyX::Client and tell me if it
works for you. It's GPL, so you can modify it at your own will. There
is also a fairly complete manual page.

Now that I think of it, I know the lyxrc file format has changed since
when I wrote the client. This may or may not cause trouble, I haven't
tried. It should not be difficult to modify the lyxrc function in
LyX::Client to reflect these changes.

-- 
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



ghostscript easy question

2001-05-31 Thread Myriam Abramson


Hi!

What's the difference between Alladin Ghostscript and Gnu Ghostscript? 
I'm using Redhat 6.2 and I want to use Prosper to make slides. 

-- 
   myriam
IM: tokujawa

Go Proverb:

Corner, side, centre.



Re: Pb: Export to ps

2001-05-31 Thread Yann Collete

Hello,

thanks for the advice. It works better now.
I still a a problem with a big file. Lyx launch the latex
program but the process seems to go in an infinite loop.
The process doesn't want to stop. I had waited for 5 minutes
on a 600 Mhz pc with linux debian 2.2.

But thanks a lot again (<- font size 350), some of the files I have to process
works.

Yann COLLETTE
> Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
> X-No-Archive: yes
> List-Post: 
> List-Help: 
> List-Unsubscribe: 

> Delivered-To: mailing list [EMAIL PROTECTED]
> To: Yann Collete <[EMAIL PROTECTED]>
> Cc: [EMAIL PROTECTED]
> Subject: Re: Pb: Export to ps
> From: Jean-Marc Lasgouttes <[EMAIL PROTECTED]>
> Date: 31 May 2001 10:24:56 +0200
> 
> > "Yann" == Yann Collete <[EMAIL PROTECTED]> writes:
> 
> Yann> Hello, I've got a problem with lyx-1.1.6fix{1,2}. When I try to
> Yann> export a file to ps, lyx freeze and the only solution I've got
> Yann> to leave lyx is to kill it. I launch lyx with the 65536 dbg
> Yann> code, here's the last line:
> 
> What OS are you using? If you are using a recent debian linux, it
> seems that the solution is to wait a few minutes until some stupid STL
> function terminates :) Alternatively, you can #undef HAVE_SSTREAM in
> src/config.h and recompile.
> 
> This is supposed to be fixed in cvs and will probably be fixed in next
> 1.1.6 release (if there is such a release).
> 
> Yann> After some manipulations, I think the problem is due to: -
> Yann> figures or/and - cross references.
> 
> Actually, the problem is due to the time LyX takes to do dependency
> tracking (it does some checksums to ensure that files have not
> changed).
> 
> JMarc




Prosper question

2001-05-31 Thread Myriam Abramson


Hi!

I'm using Prosper with the layout provided by Dekel Tsur (thanks). 
How do I specify the transition effect from slide to slide in lyx? 

-- 
   myriam


As seen in a coffee shop in Monterey, CA,
George W. Bush's counter:

1330 days left till he's gone



Re: ghostscript easy question

2001-05-31 Thread Tuukka Toivonen

On 31 May 2001, Myriam Abramson wrote:

> What's the difference between Alladin Ghostscript and Gnu Ghostscript? 

Old versions of Aladdin Ghostscript are released as GNU Ghostscript. GNU
Ghostscript is licensed under GPL terms, Aladdin gs is licensed under
Aladdin's own license. GNU ghostscript is therefore also older than the
most recent Aladdin ghostscript.




using other PostScript fonts

2001-05-31 Thread Beyer, Marcus


Hi all,

I have just read the explanations of Kathryn Andersen
(thanks a lot!) and would now like to try out some
PostScript fonts. 

For one font (Garamond) I have now files with suffixes
afm, pfm and pfb, which seem to be metrics and outlines:

Garamdn.afm, Garamdni.afm, Garamdnc.afm
Garamdn.pfm, Garamdni.pfm, Garamdnc.pdm
Garamdn.pfb, Garamdni.pfb, Garamdnc.pfb

What do I have to do to use these font in my documents?
Is there a good documentation available?

I am using LyX 1.1.6fix1 on NT4 
with pdfTeX 3.14159-13d from MiKTeX 1.20e.

Should I upgrade to a newer MiKTeX?

Best Regards
Marcus Beyer

   _
Dipl.-Inform. Marcus Beyer   [[EMAIL PROTECTED]]
Abt. Medizinische Informatik - Universitätsklinikum
Stefan-Meier-Straße 26 D-79104 Freiburg
Tel. +49/761/203-6698  Fax +49/761/203-6711
   _ http://www.Stormlight.de __



Re: acknowledgements environment

2001-05-31 Thread Dekel Tsur

On Wed, May 30, 2001 at 08:17:20PM +0300, Dekel Tsur wrote:
> Assuming you want the acknowledgement paragraph to be similar to abstract,
> you need following lines:

I forgot about CopyStyle.
What you need is just

Style Acknowledgement
  CopyStyle   Abstract
  LatexName   ack
  LabelString Acknowledgements
  Preamble
\newenvironment{ack}%
  {\renewcommand{\abstractname}{Acknowledgements}\begin{abstract}}%
  {\end{abstract}}
  EndPreamble
End



Re: PostScript or TrueType?

2001-05-31 Thread Dekel Tsur

On Wed, May 30, 2001 at 02:48:21PM +0200, Beyer, Marcus wrote:
> 
> Dear LyX-Users,
> 
> I would like to try some other fonts like "Garamond"
> and "Gill". I have the font "Garamond" in both
> PostScript and TrueType flavours. 
> Which one (PS or TT) is easier/better to use with LyX?
> 
> I am using LyX 1.1.6fix1 on NT4 with pdfLaTeX (MiKTeX).

See http://www.radamir.com/tex/ for using TTF fonts with (pdf)latex.



Re: thanks and pstopdf-question

2001-05-31 Thread Dekel Tsur

On Wed, May 30, 2001 at 10:45:04PM +0200, Paul Borgermans wrote:
> >  So my question is how can I specifie this "-Ppdf" inside Lyx?
> 
> I added this option in LyX 1.1.6fix2 preferences 
> (Converters->Converters), with LyX  1.1.5fix1 this should be possible 
> by defining \dvi_to_ps_command "dvips -Ppdf" in ~/.lyx/lyxrc

Is is also possible to copy config.pdf into ~/.dvipsrc, and then
dvips will always use the PDF options.
As noted by Andre Berger, you should remove the G option from the config
file. In it is enough to put in ~/.dvipsrc only the following lines:

p +bsr.map
p +bsr-interpolated.map
p +hoekwater.map



Re: Does LyX complain about broken label or citation references?

2001-05-31 Thread Dekel Tsur

On Wed, May 30, 2001 at 09:44:47AM -0700, Ramon Felciano wrote:
> Hi --
> 
> I've noticed that LyX (or LaTeX I guess) doesn't seem to complain about
> broken label references. Instead, the reference gets printed with a "?"
> indicating that the target couldn't be found. Is there any way to do a
> pre-flight of a LyX (LaTeX) document to check the references and make sure
> they are all present and accessible?

Look at the latex log. If there are undefined references, then at the end of
the file there will be a line

LaTeX Warning: There were undefined references.



Re: Pb: Export to ps

2001-05-31 Thread Herbert Voss

Yann Collete wrote:
> 
> I still a a problem with a big file. Lyx launch the latex
> program but the process seems to go in an infinite loop.
> The process doesn't want to stop. I had waited for 5 minutes
> on a 600 Mhz pc with linux debian 2.2.

what does the logfile says?
you can get endless loops when fonts cannot be build.

Herbert

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




subscripted text in math equations.

2001-05-31 Thread Ralph Boland

In my thesis I sometimes write things such as  y

Re: subscripted text in math equations.

2001-05-31 Thread Tuukka Toivonen

On Thu, 31 May 2001, Ralph Boland wrote:

> word door is subscripted or superscripted ok but is not shrunk in size like it 
>should be.

I had the same problem and fortunately the solution is very simple:
Layout/Document Layout/Extra/Use AMS Math
set this on and it'll be perfect!




compiling lyx on aix

2001-05-31 Thread Sailesh Krishnamurthy

Hi folks

I have the AIX toolbox for Linux apps installed on my aix 4.3.3 box and I have
g++ 2.9 installed using this. 

I'm trying to compile lyx-1.1.3 .. I ran into a few errors which I managed to
surmount using other people's tips:

1. The files figinset.C FontInfo.C and FontLoader.C cause a clash with some
"exception" class in the system headers. The old archive message suggested the
kludge (#define _MATH_H 1). In AIX this has to be (#define _H_MATH 1). In
addition, in figinset.C I had to have this (trial and error cut-paste from
/usr/include/math.h :-)

 extern double ceil(double); 

2. The explicit cast of putenv in filetools.C 

Finally though I have the following problem:

LyxView.C:250: Internal compiler error 19991203.
LyxView.C:250: Please submit a Problem Report to Cygnus Solutions with send-pr

Has anybody else encountered this ? Know how to fix it ? 

Thanks ! 

=
Toodle-pip
Sailesh 
http://www.pipedream.org/~sailesh
Ph: (408) 225-8035 [H]
(408) 927-1913 [W]

__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/



marking text doesn't work

2001-05-31 Thread Gerhard Schuck

Hi,

I've installed lyx 1.1.6-fix2 with rpm on SuSE 7.1 and can't mark text with 
the keyboard. It only works with the mouse. Default language is german.

Any idea?

Gerhard Schuck
[EMAIL PROTECTED]