solaris build problem

2001-05-30 Thread Robert Andersson

Hi all!

I second Gary Rays problem building lyx-1.1.6fix2 on solaris 7.

  C++ Compiler:   g++
  C++ Compiler flags: -g -O2 -fno-rtti -fno-exceptions
  C   Compiler:   gcc
  C   Compiler flags: -O3 -mcpu=v8 -mtune=v9

using the gcc version of 2.92.2 with all patches applied.

anyone got binaries for solaris v9? :)

/robert

-- 
Systems Administrator
Swedish National Graduate School of Language Technology



Re: solaris build problem

2001-05-30 Thread Robert Andersson

 I == Robert Andersson [EMAIL PROTECTED] writes:
I I second Gary Rays problem building lyx-1.1.6fix2 on solaris 7.

I   C++ Compiler:   g++
I   C++ Compiler flags: -g -O2 -fno-rtti -fno-exceptions
I   C   Compiler:   gcc
I   C   Compiler flags: -O3 -mcpu=v8 -mtune=v9

I using the gcc version of 2.92.2 with all patches applied.

sorry that's wrong... it should be version 2.95.2 :)

/robert

-- 
Systems Administrator
Swedish National Graduate School of Language Technology



Re: solaris build problem

2001-05-30 Thread Allan Rae

On Wed, 30 May 2001, Robert Andersson wrote:

 Hi all!

 I second Gary Rays problem building lyx-1.1.6fix2 on solaris 7.

   C++ Compiler:   g++
   C++ Compiler flags: -g -O2 -fno-rtti -fno-exceptions
   C   Compiler:   gcc
   C   Compiler flags: -O3 -mcpu=v8 -mtune=v9

 using the gcc version of 2.92.2 with all patches applied.

 anyone got binaries for solaris v9? :)

Did you try using --with-included-string when configuring?

Allan. (ARRae)




Re: solaris build problem

2001-05-30 Thread Robert Andersson

Allan,

 AR == Allan Rae [EMAIL PROTECTED] writes:
AR Did you try using --with-included-string when configuring?

nope, but now I have :) --still the same problem :(

any binaries for solaris v9 anyone?

yours,
/robert

-- 
Systems Administrator
Swedish National Graduate School of Language Technology



Re: solaris build problem

2001-05-30 Thread Jean-Pierre.Chretien


Date: Wed, 30 May 2001 16:36:59 +1000 (GMT+1000)
From: Allan Rae [EMAIL PROTECTED]
To: Robert Andersson [EMAIL PROTECTED]
cc: [EMAIL PROTECTED]
Subject: Re: solaris build problem

On Wed, 30 May 2001, Robert Andersson wrote:

 Hi all!

 I second Gary Rays problem building lyx-1.1.6fix2 on solaris 7.

   C++ Compiler:   g++
   C++ Compiler flags: -g -O2 -fno-rtti -fno-exceptions
   C   Compiler:   gcc
   C   Compiler flags: -O3 -mcpu=v8 -mtune=v9

 using the gcc version of 2.92.2 with all patches applied.

 anyone got binaries for solaris v9? :)

Did you try using --with-included-string when configuring?

A side reamrk: this was already needed with 1.1.6fix1.

New with fix2: compilation fails with Solaris m4, Gnu m4 needed
(and available BEFORE ./configure, adding it afterwards failed
even after distclean and I had to restart from the distrib tar file).

(Solaris 2.6)

-- 
Jean-Pierre


-- 
Jean-Pierre




Re: thanks and pstopdf-question

2001-05-30 Thread stephan . schlierf


Hi there,

the problem of getting a fine pdf-file out of LyX seems to be one of the
most discussed topics in this mailing lists (hint hint maybe it´s worth a
mini-HOWTO ?).
 To avoid people getting frustrated (as it happened to me every now and
then when playing around with ps and pdf-files and ugly fonts and/or ugly
figures ... :-) let me just give some hints you might want to keep in mind:

First of all, don´t use ghostscript  6.0 (buggy, doesn´t treat ps-figures
well)
Second, dont´t use ghostcript  5.50 (creates huge pdf-files)
As far as I have tested it, ghostcript 6.0 does a quite good job: it allows
you to use other fonts than the standard or pslatex ones; for example,
newcent works fine for me.
Export your LyX-file to postscript; after that, use ps2pdf your_ps_file.ps
your_pdf_file.pdf to convert the postscript file to a pdf file (this can
be replaced by configuring Edit - Preferences - tab page
Formatkonvertierung, sorry, I don´t know the english label for it, I use
the german localization)
If you want to have informations like author, Document title to be
appeared in Acrobat Reader´s File - Document info and if you want to use
links in your pdf file, put the following line into your LaTeX preamble
(Layout - LaTeX preamble)
\usepackage[ps2pdf, pdftitle={your favorite document title},pdfauthor={the
author},linkcolor=blue,linktocpage,colorlinks=true]{hyperref}
where linkcolor is the color in which links should be displayed,
linktocpage don´t use the whole toc-entry as a link but only the page
number (for more options have a look at the hyperref documentation)

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


   

Herbert Voss   

[EMAIL PROTECTED]To: Wolfgang Kilian 
[EMAIL PROTECTED]  
Berlin.DE  cc: [EMAIL PROTECTED]

Sent by:Subject: Re: thanks and 
pstopdf-question   
[EMAIL PROTECTED]   

   

   

05/29/01 09:49 PM  

   

   





Wolfgang Kilian wrote:

  Now I have the problem that I have to convert the document into several
pdf files (each chapter as a separate file). I've started with 'tex2pdf'
(latest version) but this brings a corrupt

first choose a break after 75 characters in your mail ...

every chapter starts at a new page, so you can
save them with ghostview in a ps-file (behind
view-ps).
than use ps2pdf your ps-file

in latex use layout-doxument-character font-pslatex.
than you don't need any usepackage in the preamble.

Herbert

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








Re: csv2lyx (was Re: sorting tables?)

2001-05-30 Thread Guenter Milde

On Fri, 25 May 2001 08:54:50 +0200 wrote A.Gulino [EMAIL PROTECTED]:

 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.

Hi Antonio,

thanks for that little script of yours- I like it and I like it to be well
documented :-)

It works fine on my system - still I have some suggestions for improvements:
(unfortunately I don't know pearl, so I cannot do this by myself easily)

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

This was not clear to me at all.
After considering to ask you to translate this to German, I found out by trying
what happens... I suppose you meant

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

2. However, I would like if I had the option to turn off the title
   completely, e.g.
  --title=A pretty title for a pretty table (default:Title of the LyX table)
   --title= (no title)
   At present, the word Senseless appears also in this case - with an empty
   senseless title)
   
3.HOW USE IT (under Linux):
  antonio@bidone:~ cat mycsvfile | csv2lyx  mytmptable.lyx

   It would be more straightformward, if one could do
   antonio@bidone:~ csv2lyx mycsvfile
   to get mycsvfile.lyx and
   antonio@bidone:~ csv2lyx mycsvfile  mytmptable.lyx
   in case a different output filename is wanted.


4. I would much appreciate an option to turn on the lines separating
   rows/collumns. (one global option might do, possibly 2 for rows and
   collums separately: there is no problem to change one or two linesettings
   (to separate the first row, say) but it is quite a lot of clicking to
   change it for all rows/collumns.

but, despite of my nagging - Thanks again for the good job

Dear Lyx-gurus,

could this script be called from the external inset? Would the table then appear
in the GUI or just a [external inset] button?

Guenter


Guenter


--
[EMAIL PROTECTED]




Re: solaris build problem

2001-05-30 Thread Robert Andersson

Jean-Pierre,

 JC == Jean-Pierre Chretien [EMAIL PROTECTED] writes:
JC New with fix2: compilation fails with Solaris m4, Gnu m4 needed
JC (and available BEFORE ./configure, adding it afterwards failed
JC even after distclean and I had to restart from the distrib tar
JC file).

huh... :( not even with distclean... ouch! it works now, thanks!

/robert

-- 
Systems Administrator
Swedish National Graduate School of Language Technology



Re: PROBLEMS with REVTEX on: LyX 1.1.6fix2

2001-05-30 Thread Peter D Drummond

Thanks - Dekel, Herbert

I tried Dekel Tsur's suggestion of changing
the Lyx preferences. Unfortunately, these are not available
on the popup menu, but have to be handcoded - I guess
you would need to re-edit the file every time you
changed preferences?

The good news is that it does work. I haven't been able
to figure out why the Latex here gives an error, while
Herbert Voss's does not. The Latex I use is running under
Tru64 (not Linux). I've also re-installed the Revtex Class
file from the latest distribution of Lyx. No change.
I haven't tried changing the Revtex Class file.

Peter Drummond.


Dekel Tsur wrote:
 
 On Tue, May 29, 2001 at 11:02:39AM +1000, Peter D Drummond wrote:
  This doesn't help, unfortunately. The `english' option
  still gets added, and this breaks REVTEX. I guess the
  same would occur if I changed to `german' - it seems
  you can't have a `null' option.
 
 One option is to fix the revtex.cls file.
 Add the following lines to it:
 
 \DeclareOption{english}{
  \PackageWarning{revtex}{Ignoring LaTeX option \CurrentOption}
 }
 
 at the appropriate place (e.g., just before the other \DeclareOption
 commands).
 
  Solution would be if LyX could delete the language
  option when there is no language package chosen. RevTex
  4 will solve the problem RSN, but it would be nice to have backward
  compatibility!!
 
 Another solution is to add one or two of the following lines to
 ~/.lyx/preferences
 
 \language_use_babel false
 \language_global_options false
 
 (return the preferences-languages-language-package to the default)
 
 The first line will cause LyX to not use babel (and not put the english
 option) when the language is the default language (english).
 The second line will put the language options as arguments to \usepackage
 instead as arguments to \documentclass.

-- 
Physics Department, University of Queensland, St Lucia 4072, 
Queensland, Australia. Tel:+61-7-3365-3404  Fax:+61-7-3365-1242
[EMAIL PROTECTED]; www.physics.uq.edu.au/people/drummond



Re: thanks and pstopdf-question

2001-05-30 Thread Herbert Voss


On Wed, 30 May 2001 [EMAIL PROTECTED] wrote:


 Hi there,

 the problem of getting a fine pdf-file out of LyX seems to be one of the
 most discussed topics in this mailing lists (hint hint maybe it´s worth a
 mini-HOWTO ?).

what about this site:

http://www.educat.hu-berlin.de/~voss/lyx/pdf.html#faq

Herbert




Re: lyx xfig

2001-05-30 Thread Stefano Ghirlanda

Matias Freytes [EMAIL PROTECTED] writes:

   I´ve used xfig for a while. A few days ago I installed a
 newer version and I couldnt export eps files any longer. 

What version? I don't think there has been ever any idea of taking eps
export out of xfig.

-- 
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: solaris build problem

2001-05-30 Thread Jean-Marc Lasgouttes

 Jean-Pierre == Jean-Pierre Chretien [EMAIL PROTECTED] writes:

Jean-Pierre New with fix2: compilation fails with Solaris m4, Gnu m4
Jean-Pierre needed (and available BEFORE ./configure, adding it
Jean-Pierre afterwards failed even after distclean and I had to
Jean-Pierre restart from the distrib tar file).

Hmm, m4 should not be needed at all... Is autoconf re-run? Is it a
fresh rarball or did you apply the patch?

JMarc



Re: PROBLEMS with REVTEX on: LyX 1.1.6fix2

2001-05-30 Thread Jean-Marc Lasgouttes

 Peter == Peter D Drummond [EMAIL PROTECTED] writes:

Peter Thanks - Dekel, Herbert I tried Dekel Tsur's suggestion of
Peter changing the Lyx preferences. Unfortunately, these are not
Peter available on the popup menu, but have to be handcoded - I guess
Peter you would need to re-edit the file every time you changed
Peter preferences?

No the content should not be lost. It has not been added to the
preference popup because I am reluctant to allow UI changes in fix
series (it is not that Dekel did not try to get this in :)

JMarc



Re: Bibliographic references spilling over into margins

2001-05-30 Thread Ramon Felciano

 Put \usepackage{apalike} in the preamble.

I tried this but am now getting citation errors:

---
White space in argument---line 326 of file final-draft-v09.aux
 : \citation{Cardelli1991Operations,
 :  Bracha1992Modularity}
I'm skpping whatever remains of this command
---

This seems to only occur with multiple-citation references. I'm using Lyx
1.1.6fix2.

Any suggestions?

Ramon




Re: solaris build problem

2001-05-30 Thread Lars Gullik Bjønnes

Jean-Marc Lasgouttes [EMAIL PROTECTED] writes:

|  Jean-Pierre == Jean-Pierre Chretien [EMAIL PROTECTED] writes:
| 
| Jean-Pierre New with fix2: compilation fails with Solaris m4, Gnu m4
| Jean-Pierre needed (and available BEFORE ./configure, adding it
| Jean-Pierre afterwards failed even after distclean and I had to
| Jean-Pierre restart from the distrib tar file).
| 
| Hmm, m4 should not be needed at all... Is autoconf re-run? Is it a
| fresh rarball or did you apply the patch?

Unfortunately m4 is needed... this the autogeneration of the sigc++
files that is playing tricks on us. Some automake magic should help
here.

-- 
Lgb



Kerning in math mode (a bit OT)

2001-05-30 Thread Sarah Mount


f's in math mode seem to be kerned strangely, is there a way round this,
or am I hallucinating after too much coffee?

Thanks!

Sarah

-- 
I've held on all these years now, now what medal have I got?
Hold on, hold on to what?
- Heaton/Rotherby





Re: solaris build problem

2001-05-30 Thread Jean-Pierre.Chretien



 Jean-Pierre == Jean-Pierre Chretien [EMAIL PROTECTED] 
writes:

Jean-Pierre New with fix2: compilation fails with Solaris m4, Gnu m4
Jean-Pierre needed (and available BEFORE ./configure, adding it
Jean-Pierre afterwards failed even after distclean and I had to
Jean-Pierre restart from the distrib tar file).

Hmm, m4 should not be needed at all... Is autoconf re-run? Is it a
fresh rarball or did you apply the patch?

JMarc

Well, from the tarball.
Here what happened (from my recall, I killed the logs when I came back
to the tarball the second time):

#./configure --with-version-suffix=1.1.6 --with-included-gettext 
--with-included-string 
# gmake

Then error message about the -I syntax error with Solaris m4 
(when running gmake in macros).

Installing gnu m4 results in new compilation errors which remained
even after gmake distclean and a fresh ./confgure

Re-extraction from the tarball with gnu m4 compiles and install without error.

Do you want me to try to reproduce it ?

-- 
Jean-Pierre






Re: solaris build problem

2001-05-30 Thread Jean-Marc Lasgouttes

 Lars == Lars Gullik Bjønnes [EMAIL PROTECTED] writes:

Lars Unfortunately m4 is needed... this the autogeneration of the
Lars sigc++ files that is playing tricks on us. Some automake magic
Lars should help here.

You mean the generated files are not in the dist?

JMarc



Re: Search popup

2001-05-30 Thread Jean-Marc Lasgouttes

 Matej == Matej Cepl [EMAIL PROTECTED] writes:

  Escape works well on 1.1.6fix2 here.

Matej Well. It really doesn't here. See attached xev.log (a lot of
Matej irrelevant stuff deleted) and lyx-key.log (I have opened a file
Matej from MRU, searched for word v\v{s}ichni tried three times
Matej ESC, then closed via mouse, and whole LyX was closed via C-q).
Matej It may be the case, that there is something screwed up with my
Matej keyboard (I have out-of-stock Czech xkb keyboard, which was
Matej switched off), but isn't there any help for me?

That's very strange... Is this the only popup for which escape does
not work?

JMarc



Re: csv2lyx (was Re: sorting tables?)

2001-05-30 Thread A.Gulino

I will change the english in the documentation (and the suggestion too, of
course)

When I have made the changes, I post it. The script self I will send it at you,
and
who ask me.
If someone want, I send the script (version 0.0.0fix1 :-) in the mailinglist
self.

Guenter Milde wrote:
[EMAIL PROTECTED]:
  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.
 It works fine on my system - still I have some suggestions for improvements:
 (unfortunately I don't know pearl, so I cannot do this by myself easily)
^
  perl, without a. it's a pearl, shur :-)

 1. Documentation
  If you don't want a float table, then can you delete the default-title, the word
  Senseless will are delete.
 
 This was not clear to me at all.
 After considering to ask you to translate this to German, I found out by trying
 what happens... I suppose you meant
 
  If you don't want a float table, then you can delete the default-title,
  the word Senseless will disappear.
disappear. I think you are right.
(sorry for the non-german-speaking-people :-) Auf jeden Fall, hatte ich
folgendes gemeint:
Wenn du eine normale tabelle willst, statt einer Floating-Tabelle, dann lösche
den Titel,
und schon verschwindet das Wort Senseless (das nicht editierbar ist)

 
 2. However, I would like if I had the option to turn off the title
completely, e.g.
   --title=A pretty title for a pretty table (default:Title of the LyX table)
--title= (no title)
At present, the word Senseless appears also in this case - with an empty
senseless title)

Maybe, if I don't write caption. I must try.
But then i must include the following option
--nofloat

 3.HOW USE IT (under Linux):
   antonio@bidone:~ cat mycsvfile | csv2lyx  mytmptable.lyx
 
It would be more straightformward, if one could do
antonio@bidone:~ csv2lyx mycsvfile
to get mycsvfile.lyx and
antonio@bidone:~ csv2lyx mycsvfile  mytmptable.lyx
in case a different output filename is wanted.
I have an idea:
--fileoutput=mytmptable.whatyoutwant.lyxParExample (default: StandardOut =
Screen)
--lyxfile (without parameters) (the same as
--fileoutput=inputfilenameWithoutExtension.lyx)

 
 4. I would much appreciate an option to turn on the lines separating
rows/collumns. (one global option might do, possibly 2 for rows and
collums separately: there is no problem to change one or two linesettings
(to separate the first row, say) but it is quite a lot of clicking to
change it for all rows/collumns.
I don't know if I have understand.
You want an option to tell at the script, that he must made a line on the top 
and on the bottom of the first row.
(sorry for the non-german-speaking-people :-)
Du möchtest al option die möglichkeit den Header (die erste Zeile) anders zu
formatieren.
z.B. die erste zeile mit linie oben und unten, die zeite zeile, oben. alle
anderen nicht.
die letzte nur unter.
Idee:
--header (without parameters, for the moment) (first row: line top and bottom,
second row: line top)
I use 1.1.4fix1, so my script must be compatible with this version.
Ok. Idea:
--version=1.1.4fix1

 
 could this script be called from the external inset? Would the table then appear
 in the GUI or just a [external inset] button?

??? Sorry !
? You want let the mytmptable.lyx in a file. so if you change the csv-file you
dont must redo
the formatting.
In this case the optionslist must be longer. Maybe it is better use an html-like
syntax.
I-self want do somethings like this.
If you have some ideas...
A) table border=0|1
   th align=center|left|right = bold (align valid for the whole column)
B) --header (first row bold, line on top and bottom)
   --align=rlrcr (first column=right, second=left, thirt=right, 

Nicht unbedingt verstanden.
Meinst du: kann man dieses komische table.lyx als separates file lassen, oder
muss man
ihn unbedingt defintiv importiere?
Wenn diese die Frage war, dass habe ich folgende Antwort.
Habe noch nicht probiert. Möchte es aber. Dann sollte man die möglichkeit haben,
mit den optionen des perlscripts
auch die formatierung im griff zu bekommen.
Habe noch nicht entschieden ob ich weiter ein tab-sep-val file benütze, oder die
syntax con html.
Die syntax von html hat ja viele ähnliche funktionen: colspan,
align=right|left|center, width, border
Natürlich müsste man die Syntax ein weinig ändern, aber, wie der liebe Wall
sagt: eine tugend ist die Faulheit!

ciao,
antonio



Re: solaris build problem

2001-05-30 Thread Lars Gullik Bjønnes

Jean-Marc Lasgouttes [EMAIL PROTECTED] writes:

|  Lars == Lars Gullik Bjønnes [EMAIL PROTECTED] writes:
| 
| Lars Unfortunately m4 is needed... this the autogeneration of the
| Lars sigc++ files that is playing tricks on us. Some automake magic
| Lars should help here.
| 
| You mean the generated files are not in the dist?

Yes... seems like that.

Not excatly as intended...

-- 
Lgb



Re: Kerning in math mode (a bit OT)

2001-05-30 Thread Michael Hanke

Am Mittwoch 30 Mai 2001 12:05 schrieben Sie:
 f's in math mode seem to be kerned strangely, is there a way round this,
 or am I hallucinating after too much coffee?

 Thanks!

 Sarah

Hi:

It's not really strange. It is the difference between math mode italics and 
text italics. In mathmode, 'ff' means the product of two variables, while in 
text mode, it is simply the ligature. Below please find a lyx file 
demonstrating the effects. (Note: amsmath-on).

HTH
Michael

BTW. It's lyx 1.1.4fix3
-- 
+---+
|  Michael HankeRoyal Institute of Technology   |
|   NADA|
|   S-10044 Stockholm   |
|   Sweden  |
+---+
|  Visiting address:Lindstedtsvaegen 3  |
|  Phone:   + (46) (8) 790 6278 |
|  Fax: + (46) (8) 790 0930 |
|  Email:   [EMAIL PROTECTED]   |
|   [EMAIL PROTECTED]   |
+---+


#LyX 1.1 created this file. For more info see http://www.lyx.org/
\lyxformat 2.15
\textclass article
\language default
\inputencoding latin1
\fontscheme default
\graphics default
\paperfontsize default
\spacing single 
\papersize Default
\paperpackage a4
\use_geometry 0
\use_amsmath 1
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default

\layout Standard


\begin_inset Formula \( different\text {\, different\, \textit {different}} \)
\end_inset 


\the_end



Re: Kerning in math mode (a bit OT)

2001-05-30 Thread Andre Poenitz

 f's in math mode seem to be kerned strangely, is there a way round this,
 or am I hallucinating after too much coffee?

If this is a LaTeX thingy I don't think we can/want to much about it...

Andre'

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



acknowledgements environment

2001-05-30 Thread Alejandro Fernandez

Hi,

I'm using lyx to write a project report, using the report style. I'd
like to add an acknowledgements page, after the title page, but I don't
have much time to spend on it. I've tried adding this stile:

Style Acknowledgement
  MarginStatic
  LatexType Environment
  LatexName ack
  NextNoIndent  1
  LeftMarginMMM
  RightMargin   MMM
  ParIndent MM
  ItemSep   0
  TopSep0.7
  BottomSep 0.7
  ParSep0
  Align Block
  AlignPossible Block
  LabelType Centered_Top_Environment
  LabelString   Acknowledgements
  LabelBottomSep0.5

  # standard font definition
  Font
SizeSmall
  EndFont

  # label font definition
  LabelFont
Series  Bold
SizeLarge
  EndFont
End

I added it to lyx/layouts/report.layout 

I have no idea what I'm doing, of course, except that I just copied the
abstract style, since that's mostly what I need, but when I try to
print, it gives the error:

environment ack undefined

Where do I define it? Can I just leave the environment as abstract Or
am I doing this wrong?

Thanks,

Ale
-- 
Alejandro Fernandez Bscp 5 Caledonian University
0790 541 8809 - [EMAIL PROTECTED]



Re: Bibliographic references spilling over into margins

2001-05-30 Thread Herbert Voss



On Wed, 30 May 2001, Ramon Felciano wrote:

  Put \usepackage{apalike} in the preamble.
 
 I tried this but am now getting citation errors:

 ---
 White space in argument---line 326 of file final-draft-v09.aux
  : \citation{Cardelli1991Operations,
  :  Bracha1992Modularity}
 I'm skpping whatever remains of this command
 ---

i suppose that you have something like
\cite{me, you}
with a space after comma. try to delete it.

Herbert




Re: thanks and pstopdf-question

2001-05-30 Thread stephan . schlierf


Uuups, sorry  :-)

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


   
  
Herbert Voss   
  
[EMAIL PROTECTED]To: 
[EMAIL PROTECTED]
rlin.de  cc: 
[EMAIL PROTECTED]  
Sent by: Herbert Voss,, Subject: Re: thanks and 
pstopdf-question   
[EMAIL PROTECTED] 
  
berlin.de 
  
   
  
   
  
05/30/01 10:08 AM  
  
   
  
   
  





On Wed, 30 May 2001 [EMAIL PROTECTED] wrote:


 Hi there,

 the problem of getting a fine pdf-file out of LyX seems to be one of the
 most discussed topics in this mailing lists (hint hint maybe it´s worth a
 mini-HOWTO ?).

what about this site:
http://www.educat.hu-berlin.de/~voss/lyx/pdf.html#faq

Herbert








Re: Languages (was Re: sorting tables?)

2001-05-30 Thread ben

Allan Rae a écrit :

 [...]

 Anyway, past discussions have usually ended up with Python as best because
 it's readable/writable even for newbies.  Scheme/Lisp usually dropped as a
 bad idea because no-one cares to type all the ()'s and Perl as a possible
 second language.

What are the advantages of python in comparison to perl? For what purpose this
language was developped for? I ask this because I don't know this language...
Besides, I agree that scheme/lisp is perfectly horrible.

BG




Re: Kerning in math mode (a bit OT)

2001-05-30 Thread Jean-Pierre.Chretien


From: Andre Poenitz [EMAIL PROTECTED]
Subject: Re: Kerning in math mode (a bit OT)
To: Sarah Mount [EMAIL PROTECTED]
Date: Wed, 30 May 2001 12:43:59 +0200 (CEST)
CC: [EMAIL PROTECTED]

 f's in math mode seem to be kerned strangely, is there a way round this,
 or am I hallucinating after too much coffee?

If this is a LaTeX thingy I don't think we can/want to much about it...

Andre'

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

If you need ligatures in math mode you must type it in math text mode I think.

-- 
Jean-Pierre




Re: acknowledgements environment

2001-05-30 Thread ben

Alejandro Fernandez a écrit :

 Hi,

 I'm using lyx to write a project report, using the report style. I'd
 like to add an acknowledgements page, after the title page, but I don't
 have much time to spend on it. I've tried adding this stile:

 Style Acknowledgement
   MarginStatic
   LatexType Environment
   LatexName ack
   NextNoIndent  1
   LeftMarginMMM
   RightMargin   MMM
   ParIndent MM
   ItemSep   0
   TopSep0.7
   BottomSep 0.7
   ParSep0
   Align Block
   AlignPossible Block
   LabelType Centered_Top_Environment
   LabelString   Acknowledgements
   LabelBottomSep0.5

   # standard font definition
   Font
 SizeSmall
   EndFont

   # label font definition
   LabelFont
 Series  Bold
 SizeLarge
   EndFont
 End

 I added it to lyx/layouts/report.layout

 I have no idea what I'm doing, of course, except that I just copied the
 abstract style, since that's mostly what I need, but when I try to
 print, it gives the error:

 environment ack undefined

 Where do I define it? Can I just leave the environment as abstract Or
 am I doing this wrong?

You must define the ack environment. You should have something like this:

Style Acknowledgement
  CopyStyle abstract
  LatexType Environment
  LatexName ack

  # define the ack environment
  Preamble
  % Define completely your environment here
  \newenvironment{ack}{ ... }{ ... }
  % Or include the package that defines this environment
  % \usepackage{..}
  EndPreamble
End

BG




PostScript or TrueType?

2001-05-30 Thread Beyer, Marcus


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

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-30 Thread Alejandro Fernandez

Hi,

Thanks, but I don't understand where to find a package that defines
this, or how to define it with \newenvironment. Could you tell me where
these packages are usually kept, or what extension or file name they
might have?

I've tried looking for occurrences of Preamble, \newenvironment and
usepackage in the lyx layouts directory, but this has not led me
anywhere useful... There is a file named svjour.inc, which contains
various acknowledgements style definitions, but no package seems to be
defined there either.

Ale

ben wrote:

 You must define the ack environment. You should have something like this:
 
 Style Acknowledgement
   CopyStyle abstract
   LatexType Environment
   LatexName ack
 
   # define the ack environment
   Preamble
   % Define completely your environment here
   \newenvironment{ack}{ ... }{ ... }
   % Or include the package that defines this environment
   % \usepackage{..}
   EndPreamble
 End
 
 BG

-- 
Alejandro Fernandez Bscp 5 Caledonian University
0790 541 8809 - [EMAIL PROTECTED]



Re: Bibliographic references spilling over into margins

2001-05-30 Thread Ramon Felciano

 i suppose that you have something like
 \cite{me, you}
 with a space after comma. try to delete it.

Well, yes, but it is Lyx that created that citation entry for me since it
now allows for multiple citations in a single entry. Maybe I'm
misunderstanding how to use this feature?

Ramon





Re: Re: thanks and pstopdf-question

2001-05-30 Thread Wolfgang Kilian

OK thanks for the good tips,
 I really tried hard and finally succeded in a certain way.

First off all sorry Herbert but the linebreaks in the e-mails I can't change.

I now installed gs_6.01 (which is quite a hard work for a non-programmer) and the pdf 
files are nicely small. Also the text charakters are looking good. Is it really not 
recomendable to use the latest gs_7.0 or the gs_6.5?
 There is one strange thing left. When I export the document from Lyx to a ps-file and 
then do ps2pdf all the minus symbols from math mode are gone?? When I export from Lyx 
a DVI-file and then do dvips -Ppdf and after that ps2pdf everything seems to be OK. 
 So my question is how can I specifie this -Ppdf inside Lyx?

Sorry but thats all really nebulös for me.

Thanks  
Wolfgang
___
1.000.000 DM gewinnen - kostenlos tippen - http://millionenklick.web.de
[EMAIL PROTECTED], 8MB Speicher, Verschluesselung - http://freemail.web.de





Re: lyx xfig

2001-05-30 Thread Matias Freytes

Hello,

  I´ve used xfig for a while. A few days ago I installed a
  newer version and I couldnt export eps files any longer. 
 
 What version? I don't think there has been ever any idea of taking eps
 export out of xfig.

I have Xfig 3.2.3 patchlevel beta-1 (Protocol 3.2) and when I try
to export eps I get the following error message:
   Unknown graphics language eps
   Known languages are: acad box epic eepic eepicemu gif ibmgl
  jpeg latex pcx pic pitex

As I said before, I'd also like to update lyx (I have 1.1.5
fix 1) on my redhat 6.2 (Xfree86-3.3.6). Is there any newer 
stable version?

Matias.




Re: Languages (was Re: sorting tables?)

2001-05-30 Thread Jose Abilio Oliveira Matos

On Wed, May 30, 2001 at 01:58:18PM +0200, ben wrote:
 Allan Rae a écrit :
 
  [...]
 
  Anyway, past discussions have usually ended up with Python as best because
  it's readable/writable even for newbies.  Scheme/Lisp usually dropped as a
  bad idea because no-one cares to type all the ()'s and Perl as a possible
  second language.
 
 What are the advantages of python in comparison to perl? For what purpose this
 language was developped for? I ask this because I don't know this language...
 Besides, I agree that scheme/lisp is perfectly horrible.

  Python is a general purpose, script language.
  
  I will not tell you what are the advantage of python over perl, I will
just tell you why I like python over perl.

  I have used perl before, and now I use python because the syntax is very
clear, the programs are easy to read after two years without looking to them.

  I like the clear OO model over the one in perl.

  Most of the time I use it as prototype language before passing it to
C(++), when I need speed.

  Other times I use it as glue language both to write the tools I use to
treat the simulation data I get and to automate the action of different
other programs.

  The clear syntax is a big win for me, and although it is possible to write
programs that are easy to read with perl it is a lot more dificult to do so.
  
  I need lots of time to use number crunching programs and the Numerical
module is superb for that. I mention this because python is very easy to
extend. That was the reason why the authors of the Module decided to use it.

  All the aspects of the language appear to be very well thought, and this
is a feeling that grows as you learn more about it.

  One other feature I like is ability to run it in an interactive session.
  
  Just some thoughts, there is very good documentation at
http://www.python.org

 BG

  A-python-convict ly
-- 
José



Re: lyx xfig

2001-05-30 Thread Stefano Ghirlanda

Matias Freytes [EMAIL PROTECTED] writes:

 Hello,
 
 I´ve used xfig for a while. A few days ago I installed a
   newer version and I couldnt export eps files any longer. 
  
  What version? I don't think there has been ever any idea of taking eps
  export out of xfig.
 
 I have Xfig 3.2.3 patchlevel beta-1 (Protocol 3.2) and when I try
 to export eps I get the following error message:
Unknown graphics language eps
Known languages are: acad box epic eepic eepicemu gif ibmgl
   jpeg latex pcx pic pitex

It seems that you are missing support for PostScript in fig2dev. What
is your version of fig2dev? What happens if you try to run it from the
command line (e.g. fig2dev -L eps myfile.fig  myfile.eps)?
Is postscript generally working on your system? (e.g., can you see the
postscript preview in LyX?)

Look at www.lyx.org for new versions.

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

2001-05-30 Thread Jean-Pierre.Chretien


Date: Wed, 30 May 2001 13:45:59 -0300 (ART)
From: Matias Freytes [EMAIL PROTECTED]
To: Stefano Ghirlanda [EMAIL PROTECTED]
cc: [EMAIL PROTECTED]
Subject: Re: lyx  xfig

Hello,

I´ve used xfig for a while. A few days ago I installed a
  newer version and I couldnt export eps files any longer. 
 
 What version? I don't think there has been ever any idea of taking eps
 export out of xfig.

I have Xfig 3.2.3 patchlevel beta-1 (Protocol 3.2) and when I try
to export eps I get the following error message:
   Unknown graphics language eps
   Known languages are: acad box epic eepic eepicemu gif ibmgl
  jpeg latex pcx pic pitex

As I said before, I'd also like to update lyx (I have 1.1.5
fix 1) on my redhat 6.2 (Xfree86-3.3.6). Is there any newer 
stable version?

Matias.

Have you got transfig installed as well as xfig, with the same realease
number ? That might explain this failure.

-- 
Jean-Pierre




Re: Languages (was Re: sorting tables?)

2001-05-30 Thread Jean-Pierre.Chretien


Date: Wed, 30 May 2001 17:09:14 +0100
From: Jose Abilio Oliveira Matos [EMAIL PROTECTED]
To: LyX Users [EMAIL PROTECTED]
Subject: Re: Languages (was Re: sorting tables?)
Mail-Followup-To: LyX Users [EMAIL PROTECTED]
User-Agent: Mutt/1.2.5i

On Wed, May 30, 2001 at 01:58:18PM +0200, ben wrote:
 Allan Rae a écrit :
 
  [...]
 
  Anyway, past discussions have usually ended up with Python as best because
  it's readable/writable even for newbies.  Scheme/Lisp usually dropped as a
  bad idea because no-one cares to type all the ()'s and Perl as a possible
  second language.
 
 What are the advantages of python in comparison to perl? For what purpose 
this
 language was developped for? I ask this because I don't know this 
language...
 Besides, I agree that scheme/lisp is perfectly horrible.

  Python is a general purpose, script language.
  
  I will not tell you what are the advantage of python over perl, I will
just tell you why I like python over perl.

  I have used perl before, and now I use python because the syntax is very
clear, the programs are easy to read after two years without looking to them.

  I like the clear OO model over the one in perl.

  Most of the time I use it as prototype language before passing it to
C(++), when I need speed.

  Other times I use it as glue language both to write the tools I use to
treat the simulation data I get and to automate the action of different
other programs.

  The clear syntax is a big win for me, and although it is possible to write
programs that are easy to read with perl it is a lot more dificult to do so.
  
  I need lots of time to use number crunching programs and the Numerical
module is superb for that. I mention this because python is very easy to
extend. That was the reason why the authors of the Module decided to use it.

  All the aspects of the language appear to be very well thought, and this
is a feeling that grows as you learn more about it.

  One other feature I like is ability to run it in an interactive session.
  
  Just some thoughts, there is very good documentation at
http://www.python.org

 BG

  A-python-convict ly
-- 
José

Any equivalent of the CGI.pm Perl module and the various gateways
towards SGBD or OLE data structures ? (a bit off the LyX thread, but...)

-- 
Jean-Pierre




Does LyX complain about broken label or citation references?

2001-05-30 Thread Ramon Felciano

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?

Thanks in advance for your time!

Ramon




Re: thanks and pstopdf-question

2001-05-30 Thread Dekel Tsur

On Wed, May 30, 2001 at 10:08:27AM +0200, Herbert Voss wrote:
 
 On Wed, 30 May 2001 [EMAIL PROTECTED] wrote:
 
 
  Hi there,
 
  the problem of getting a fine pdf-file out of LyX seems to be one of the
  most discussed topics in this mailing lists (hint hint maybe it´s worth a
  mini-HOWTO ?).
 
 what about this site:
 
 http://www.educat.hu-berlin.de/~voss/lyx/pdf.html#faq

This is an old version of the FAQ.
An updated FAQ is available in section 3.3.6 in Extended.lyx
I'm attaching this FAQ in case you have an old version of Extended.lyx.


3.3.6 PDF

by Dekel Tsur (mostly)

The fastest way to generate a basic PDF file (no tags, links,
etc.) with any version of LyX is to save the document as
a Postscript® file, then run the ps2pdf command on it. Starting
with version 1.1.6, the menu item File-Export-PDF will
do all this for you. There are some issues with fonts that
you need to pay attention to: see Section [sec:badfonts].
Also, as of version 1.1.6, there is a better method that
will generate much more sophisticated files.

3.3.6.1 Use pdfLaTeX

With pdfLaTeX you need to convert your eps figures to PDF
(see Section [sec:pdfeps]), and you cannot
use pstricks. On the other hand, with pdfLaTeX it is possible
to insert directly images in JPEG or PNG format, use TrueType
fonts, and more.

3.3.6.2 Why does the text look so bad when viewed with Acrobat
  Reader?

The problem is that bitmap fonts are displayed poorly by
Acrobat Reader. When creating a PDF from the LyX file, you
need to use outline font instead of the default bitmap fonts
(in fact, you should also use outline fonts for Postscript
files). Recent LaTeX distributions come with Postscript®
Type 1 version of the standard (Computer Modern) fonts.
pdfLaTeX uses these font by default. Dvips doesn't use these
fonts by default, so to make it use them, add the following
to lines to your ~/.dvipsrc file

p+ psfonts.cmz
p+ psfonts.amz

If the default LaTeX font encoding (OT1) is used, nothing
else need to be done. However, if the T1 font encoding is
used, then LaTeX uses the newer EC fonts, for which there
are no Type1 version. The solution is to use the ae package
which emulates T1 coded fonts using the standard CM fonts.
This is done by adding \usepackage{ae,aecompl} to the preamble
of the LyX file. However, some glyphs are missing from the
CM fonts (e.g. eth, thorn), and they are taken from the
EC fonts. Therefore you get these glyphs as bitmaps.

Note: LyX uses by default the T1 font encoding. If you wish
to use the default font encoding (this is not recommended,
unless you only write English documents), add the line \font_encoding
default to the ~/.lyx/lyxrc file.

An alternate option is to use the standard Postscript® fonts
instead of the Computer Modern fonts. To do that, you need
to select pslatex as the global font in the document layout
dialog. When using the Postscript® fonts, the result PDF
file is smaller as the fonts are not saved into the file.
Furthermore, the Postscript® fonts include all T1 glyphs.
On the other hand, the Postscript® fonts have no bold symbol
font, so poor man's bold must be used (see Section [sec:pdfbold]).
The Postscript® fonts also look different from the Computer
Modern fonts.

To sum up, both the Computer Modern and the Postscript® fonts
gives good results (with few exceptions). The decision of
which one to use is a matter of taste. 

3.3.6.3 How can I use pdfLaTeX on a file with (eps) figures?

pdfLaTeX doesn't support the inclusion of eps files. However,
it does support the inclusion of other PDF files. So if
you have a LyX file that includes an eps figure, say foo.eps,
you need to do the following:

1. Convert foo.eps to PDF by epstopdf foo.eps

2. When you insert the figure in LyX, do not write the file
  extension: For example, when inseting the file foo.eps,
  you need to write foo in figure dialog.

Note: In 1.2.0 it will be possible to use the new insetgraphics
for inserting various kinds of images, and it will handle
all the necessary transformations. A semi-functional insetgraphics
exist it in 1.1.6. To use it, type M-x graphics-insert.

3.3.6.4 Why doesn't the \boldsymbol{} command work when I use pslatex?

The Postscript® fonts do not have a bold symbol font. The
solution is to use the \pmb{} (poor man's bold) command.

It is possible to redefine the \boldsymbol command to use
\pmb by putting

\renewcommand{\boldsymbol}[1]{\pmb{#1}}

in the preamble.

3.3.6.5 Is it possible to do write latex code which is processed
  only when running pdfLaTeX?

Yes. Here is an example:

\newif \ifpdf
   \ifx \pdfoutput \undefined
 \pdffalse
   \else
  \pdftrue
\fi
\ifpdf
   \pdfinfo { /Author (your name and e-mail address)
  /Title (official title -- i.e., title element)
  /Subject (one line description of the document)
   }
   \pdfcatalog { /PageMode (/UseNone)
   }
   \usepackage[pdftex]{hyperref}
\else
   \usepackage[ps2pdf]{hyperref}
\fi



Re: Bibliographic references spilling over into margins

2001-05-30 Thread Dekel Tsur

On Wed, May 30, 2001 at 12:54:48PM +0200, Herbert Voss wrote:
 On Wed, 30 May 2001, Ramon Felciano wrote:
   Put \usepackage{apalike} in the preamble.
  
  I tried this but am now getting citation errors:
 
  ---
  White space in argument---line 326 of file final-draft-v09.aux
   : \citation{Cardelli1991Operations,
   :  Bracha1992Modularity}
  I'm skpping whatever remains of this command
  ---
 
 i suppose that you have something like
 \cite{me, you}
 with a space after comma. try to delete it.

Yes.
This happens if you created the citation with lyx 1.1.6/1.1.6fix1.
Citations created with 1.1.6fix2 will be OK.
To fix old citations, open the .lyx file with some text editor, and remove the
spaces.



ScreenFonts

2001-05-30 Thread Michelle Dukich

Greetings:

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

I am running RedHat's xfs font server for X.  

Thank you.

MD
 

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



Re: Bibliographic references spilling over into margins

2001-05-30 Thread Herbert Voss

Ramon Felciano wrote:
 
  i suppose that you have something like
  \cite{me, you}
  with a space after comma. try to delete it.
 
 Well, yes, but it is Lyx that created that citation entry for me since it
 now allows for multiple citations in a single entry. Maybe I'm
 misunderstanding how to use this feature?

what happens, when you change the bibtex-style?

Herbert

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



Re: lyx xfig

2001-05-30 Thread Matias Freytes

Hello,

   I´ve used xfig for a while. A few days ago I installed a
   newer version and I couldnt export eps files any longer. 
  
  What version? I don't think there has been ever any idea of taking eps
  export out of xfig.
 
 I have Xfig 3.2.3 patchlevel beta-1 (Protocol 3.2) and when I try
 to export eps I get the following error message:
Unknown graphics language eps
Known languages are: acad box epic eepic eepicemu gif ibmgl
   jpeg latex pcx pic pitex
 
 As I said before, I'd also like to update lyx (I have 1.1.5
 fix 1) on my redhat 6.2 (Xfree86-3.3.6). Is there any newer 
 stable version?
 

'rpm -qa | grep lyx' reports lyx-1.1.5fix1-1

I've heard of lyx-1.1.6, but nobody suggested me moving to this
newer version. Is this bleeding edge?


 Have you got transfig installed as well as xfig, with the same realease
 number ? That might explain this failure.

'rpm -qa | grep transfig' reports transfig-3.2.1-4
'rpm -qa | grep xfig' reports xfig-3.2.3_beta1-2

Is that my problem? I thought rpm took care of these
dependencies. Where can I get updated xfig and transfig rpm
packages?

Thank you,
Matias.




Re: acknowledgements environment

2001-05-30 Thread Dekel Tsur

On Wed, May 30, 2001 at 11:47:49AM +0100, Alejandro Fernandez wrote:
 I'm using lyx to write a project report, using the report style. I'd
 like to add an acknowledgements page, after the title page, but I don't
 have much time to spend on it. I've tried adding this stile:
 

Assuming you want the acknowledgement paragraph to be similar to abstract,
you need following lines:

Style Acknowledgement
   MarginStatic
  LatexType Environment  
  ...
  Preamble
\newenvironment{ack}%
 {\renewcommand{\abstractname}{Acknowledgements}\begin{abstract}}%
 {\end{abstract}}
  EndPreamble
End



Re: lyx xfig

2001-05-30 Thread Jean-Pierre.Chretien


Date: Wed, 30 May 2001 14:53:43 -0300 (ART)
From: Matias Freytes [EMAIL PROTECTED]
To: Jean-Pierre.Chretien [EMAIL PROTECTED]
cc: [EMAIL PROTECTED], [EMAIL PROTECTED]
Subject: Re: lyx  xfig

Hello,

 I´ve used xfig for a while. A few days ago I installed a
   newer version and I couldnt export eps files any longer. 
  
  What version? I don't think there has been ever any idea of taking eps
  export out of xfig.
 
 I have Xfig 3.2.3 patchlevel beta-1 (Protocol 3.2) and when I try
 to export eps I get the following error message:
Unknown graphics language eps
Known languages are: acad box epic eepic eepicemu gif ibmgl
   jpeg latex pcx pic pitex
 
 As I said before, I'd also like to update lyx (I have 1.1.5
 fix 1) on my redhat 6.2 (Xfree86-3.3.6). Is there any newer 
 stable version?
 

'rpm -qa | grep lyx' reports lyx-1.1.5fix1-1

I've heard of lyx-1.1.6, but nobody suggested me moving to this
newer version. Is this bleeding edge?

The UI is completely different and more easy to tune.
The export function towards various formats is more powerful.
The inset functions have been deeply improved, but as a side effect
bugs wormed inside the table insets.
So as Jean-marc says, it is worth to upgrade unless your
documents have a lot of tables.
You may download the last fix2 (see the lyx home page) and have a look at
the Changelog.
Anyway, you may do what I did here: install 1.1.6 under its name
(configure allows it) and run the 1.1.5fix2 as lyx and 1.1.6fix2 as lyx-1.1.6

-- 
Jean-Pierre





 Have you got transfig installed as well as xfig, with the same realease
 number ? That might explain this failure.

'rpm -qa | grep transfig' reports transfig-3.2.1-4
'rpm -qa | grep xfig' reports xfig-3.2.3_beta1-2

Is that my problem? I thought rpm took care of these
dependencies. Where can I get updated xfig and transfig rpm
packages?

Thank you,
Matias.





Re: Making a layout for ENTCS

2001-05-30 Thread Dekel Tsur

On Tue, May 29, 2001 at 02:44:48PM +0100, Reuben Thomas wrote:
 I am currently writing a paper using entcs.cls (Elsevier's Electronic Notes
 in Theoretical Computer Science style).
 
 It has a slightly unusual requirement: the \author, \address  so on
 commands must go in a special environment:
 
 \begin{frontmatter}
 \author{Me}
 \title{Foo}
 \address{Bar}
 \end{frontmatter}
 
 Can anyone help? Of course, I can just put the begin/end environment in as
 ERT for now...

Currently, the solution is rather ugly:

Style title
  LatexType   Command
  LatexName   settitle
  InTitle 1
  Preamble
\newcommand{\settitle}[1]{\def\theTitle{#1}}
  EndPreamble
End

Style author
  LatexType   Command
  LatexName   setauthor
  InTitle 1
  Preamble
\newcommand{\setauthor}[1]{\def\theAuthor{#1}}
  EndPreamble
End

Style address
  LatexType   Command
  LatexName   setaddress
  InTitle 1
  Preamble
\newcommand{\setaddress}[1]{\def\theAddress{#1}}
  EndPreamble
End


Preamble
\newcommand{\maketitle}{
 \begin{frontmatter}
 \title{\theTitle}
 \author{\theAuthor}
 \address{\theAddress}
 \end{frontmatter}
}
EndPreamble



Re: Chapters in TOC

2001-05-30 Thread Herbert Voss

Kathryn Andersen wrote:
 
 On Tue, May 29, 2001 at 10:09:17PM +0300, Dekel Tsur wrote:
  On Mon, May 28, 2001 at 12:22:33PM +1000, Kathryn Andersen wrote:
   There's a feature in latex (I assume, rather than lyx) which I find
   very irritating: if I have a Chapter in my document, then in the table
   of contents there is no dotted line leading to the page number.  Like
   this:
  
   CHAPTER TITLE   2
  Section Title ...2
  
   What I would like would be this instead:
  
   CHAPTER TITLE ..2
  Section Title ...2
  
   Is there any way to do this?  Or is it a disgusting stylistic no-no
   which all latex-ers would be horrified to discover I am trying to
   circumvent it?
 
  Use the tocloft package.
 
 I did.  Plenty of info in the package about how to *remove* dots, change
 what's used for the dots, change their spacing... but nothing about how
 to add them when they aren't there.

try writing in latex preamble:

\renewcommand*\l@chapter[2]{%
  \ifnum \c@tocdepth \m@ne
\addpenalty{-\@highpenalty}%
\vskip 1.0em \@plus\p@
\setlength\@tempdima{1.5em}%
\begingroup
  \parindent \z@ \rightskip \@pnumwidth
  \parfillskip -\@pnumwidth
  \leavevmode \bfseries
  \advance\leftskip\@tempdima
  \hskip -\leftskip
  #1\nobreak\ 
   \leaders\hbox{$\m@th
\mkern \@dotsep mu\hbox{.}\mkern \@dotsep
mu$}\hfil\nobreak\hb@xt@\@pnumwidth{\hss #2}\par
  \penalty\@highpenalty
\endgroup
  \fi}

Herbert

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



Re: thanks and pstopdf-question

2001-05-30 Thread Paul Borgermans

See comments below

In short gs_6.x: it has some issues for pdf generation 
(math and other font problems which surface when other people try 
to print it under Windows)

 I now installed gs_6.01 (which is quite a hard work for a 
non-programmer) and the pdf files are nicely small. Also the text 
charakters are looking good. Is it really not recomendable to use 
the latest gs_7.0 or the gs_6.5?

I use both 6.01 and 6.5  (6.5 with a small patch which I can send you 
privately, or wait a little for the 6.51 release) and did not encounter
major problems except for the minus symbol problem below.
I did not try gs_7.0 yet. 

  There is one strange thing left. When I export the document from 
Lyx to a ps-file and then do ps2pdf all the minus symbols from math 
mode are gone?? When I export from Lyx a DVI-file and then do 
dvips -Ppdf and after that ps2pdf everything seems to be OK.

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 (from Acrobat reader).  

  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 

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

Hth

Paul



Re: ScreenFonts

2001-05-30 Thread Kathryn Andersen

On Wed, May 30, 2001 at 09:53:01AM -0700, Michelle Dukich wrote:
 Is there any way to use TrueType fonts for the screen?
 
 I am running RedHat's xfs font server for X.  

Edit-Preferences --Look  Feel -- Screen Fonts
to set what fonts are used to display the document
and
Edit-Preferences --Look  Feel -- Interface
to set what fonts are used in the user interface.

The program xfontsel is a good one to help you figure out what fonts you
actually have.

This is, of course, assuming that you have already set up your X server
to use your TrueType fonts.

If you haven't, let me recommend kfontinst (you can find it at
http://freshmeat.net) which, though still buggy, makes installing
TrueType fonts for your X server a lot easier to do.
It's a KDE application, but if you aren't running kde, then you can
start it with the command
kcmshell kfontinst
after you've installed it.

Kathryn Andersen
-=-=-=-=-=-=-=-=-
Well, at least we've got the advantage of surprise.
-- Vila Restal  (Blake's 7: Stardrive [D4])
(funny how they always say that precisely when they don't have that advantage)
-- 
 _--_|\ | Kathryn Andersen  [EMAIL PROTECTED]
/  \|   http://www.katspace.com
\_.--.*/|   
  v | #include standard/disclaimer.h
| Melbourne - Victoria - Australia - Southern Hemisphere
Maranatha!  |   - Earth - Sol - Milky Way Galaxy - Universe



Re: PostScript or TrueType?

2001-05-30 Thread Kathryn Andersen

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

Well, I can't speak for your setup, because I am using Linux with RedHat
7.1, but since I have been banging my head against this question in
regard to TrueType fonts, I would have to say Postscript, not because it
is necessarily better, but because it is easier.  Though it is
theoretically possible to make TeX/LaTeX know and understand about
TrueType fonts, I, despite tracking down everything I could find about
how to do so, did not succeed in getting it to work properly.
So I threw in the towel, converted my desired fonts into Postscript, and
installed the Postscript fonts.

The thing was
XWindows knew and understood about my TrueType fonts.
Ghostscript knew and understood about my TrueType fonts.
But Tex didn't.  (I think there was a problem in the bowels of dvips or
something like that).

So I used the script ttf2type1 (which calls the program ttf2pt1)
to convert the fonts, and then the package
vfontinst
to install the fonts into TeX.
(no, I can't remember where I downloaded them from -- try
http://www.ctan.org or do a search at http://www.google.com)

But all of this could be completely irrelevant, since you are using a
different operating system (NT4 rather than Linux) and a different
version of TeX (MiKTeX rather than teTeX).

Kathryn Andersen
-=-=-=-=-=-=-=-=-
Things are gradually falling into place -
on top of me!
-- 
 _--_|\ | Kathryn Andersen  [EMAIL PROTECTED]
/  \|   http://www.katspace.com
\_.--.*/|   
  v | #include standard/disclaimer.h
| Melbourne - Victoria - Australia - Southern Hemisphere
Maranatha!  |   - Earth - Sol - Milky Way Galaxy - Universe



Need help installing a new class and style file

2001-05-30 Thread Jonathan Wilson

Hello,

I'm sorry to post such a lame question to the list but this is my situation:

I'm a Linux system Administrator and as such, know a bit about using Linux, but I 
don't know a thing about LyX, LaTeX or  TeX, or any form of typesetting. My church, 
after examining all the options  on all platforms, including things like Quark and 
Ventura, has decided to use LyX for some publications due to the fact that we have 
lots of trouble with footnotes in all the other commercial software, and lyX seems 
like it can fix that. So I have set up a SuSE Linux box for them to try running lyx 
on. 

Everything's been going well until they decided to make a new class file. It's 
actually a set of .cls, .sty and .clo files that they previously set up and got 
working in some application on windows -- I belive it was Winshell or WinTeX, if that 
sounds correct ( I know it wasn't MikTeX).

We have the LyY Users' Guide and other online stuff, a few books about LaTeX and one 
book about LyX specifically, I can't remember the name of the book. I do know that the 
book is somewhat out of date, for example it talks about using OptionsReconfigure, 
and I see now that Reconfigure is under Edit.

Before I go any further I should note that I am using the very latest version of lyx, 
I downloaded it just today (1.1.6fix2-1 I belive, before now we've been using fix1-2), 
not the version that came with SuSE. This could possibly be the source of some of my 
troubles, since SuSE had a very complex .lyxrc that was obviously there for a reason, 
but the lyx from lyx.org choked over it so we had to delete it.

The instructions for installing new classes and styles aren't terribly clear but I did 
see a section that to my memory read something like this:

   To install a new class file (.cls) place it under $UserDir/layouts/ or 
$LyxDir/layouts, choose  OptionsReconfigure and restart lyx. 

That's not verbatim, but it is close. Now I can say this: the class we're trying to 
install is called bookCP.cls, and I have placed that file, along with bookCP.sty, in 
~/.lyx/layouts/ /usr/share/lyx/layouts and /usr/share/texmf/tex/latex/base/ after 
which i have tried running texhash and Options.Reconfigure dozens of times and nothing 
works -- bookCP never shows up along with the rest of the things in in Layout 
Document . 

It should be right there along side book and boo (AMS) and the rest, shouldn't it?

By the way, after putting it in /usr/share/texmf/tex/latex/base/ and running texhash, 
it does show up in /usr/share/texmf/ls-R. But never in LyX.

The only other thing I could think of was the variables that were mentioned. trying 
things like echo $USERDIR echo $userdir $echo UserDir (BTW, it's a very bad idea 
to have mixed case env variables - shell variables should always be upper case for 
sanity's sake) revealed nothing, so I thought maybe that was the problem, but after 
setting them buy hand, I ran texhash again and EditReconfigure.

Anyway, the short story is: I've been reading books and User's guides for 2 weeks now 
off and on, and I'm not getting anywhere. Surely it's not that hard. Hey, it didn't 
take me /this/ long to learn how to setup postfix ;-)


Can anyone tell me what I'm doing wrong, or even better, what the correct thing to do 
is?

Thanks a million in advance,



Jonathan Wilson
System Administrator

Cedar Creek Software http://www.cedarcreeksoftware.com
Central Texas IT http://www.centraltexasit.com




Re: Need help installing a new class and style file

2001-05-30 Thread Roberto Marabini


Dear jonathan,

  Certainly the instructions for installing new classes and styles aren't
terribly clear. This is what I did to install the layout
acmtrans2e described in latex by acmtrans2e.cls and acmtrans.bst I hope
that it will be helpfull.

(Note: acmtrans2e has the same enviroments than article)

1)  mkdir /usr/share/texmf/tex/latex/acmtrans2e
2)  cp acmtrans2e.cls /usr/share/texmf/tex/latex/acmtrans2e/.
3)  mkdir /usr/share/texmf/bibtex/bst/acmtrans2e
4)  cp acmtrans.bst /usr/share/texmf/bibtex/bst/acmtrans2e/
5) cp  /usr/share/lyx/layouts/article.layout
$HOME/.lyx/layouts/acmtrans2e.layout
6) edit $HOME/.lyx/layouts/acmtrans2e.layout
7) replace second line by #  \DeclareLaTeXClass{acmtrans2e}
7.5)  texhash
8) start lyx
9) edit-reconfigure
10) exit lyx
11) start lyx again

(NOTE: you may try with book.layout instead article.layout)

   hope this helps

   Roberto

On Wed, 30 May 2001, Jonathan Wilson wrote:

 Hello,
 
 I'm sorry to post such a lame question to the list but this is my situation:
 
 I'm a Linux system Administrator and as such, know a bit about using Linux, but I 
don't know a thing about LyX, LaTeX or  TeX, or any form of typesetting. My church, 
after examining all the options  on all platforms, including things like Quark and 
Ventura, has decided to use LyX for some publications due to the fact that we have 
lots of trouble with footnotes in all the other commercial software, and lyX seems 
like it can fix that. So I have set up a SuSE Linux box for them to try running lyx 
on. 
 
 Everything's been going well until they decided to make a new class file. It's 
actually a set of .cls, .sty and .clo files that they previously set up and got 
working in some application on windows -- I belive it was Winshell or WinTeX, if that 
sounds correct ( I know it wasn't MikTeX).
 
 We have the LyY Users' Guide and other online stuff, a few books about LaTeX and one 
book about LyX specifically, I can't remember the name of the book. I do know that 
the book is somewhat out of date, for example it talks about using 
OptionsReconfigure, and I see now that Reconfigure is under Edit.
 
 Before I go any further I should note that I am using the very latest version of 
lyx, I downloaded it just today (1.1.6fix2-1 I belive, before now we've been using 
fix1-2), not the version that came with SuSE. This could possibly be the source of 
some of my troubles, since SuSE had a very complex .lyxrc that was obviously there 
for a reason, but the lyx from lyx.org choked over it so we had to delete it.
 
 The instructions for installing new classes and styles aren't terribly clear but I 
did see a section that to my memory read something like this:
 
To install a new class file (.cls) place it under $UserDir/layouts/ or 
$LyxDir/layouts, choose  OptionsReconfigure and restart lyx. 
 
 That's not verbatim, but it is close. Now I can say this: the class we're trying to 
install is called bookCP.cls, and I have placed that file, along with bookCP.sty, in 
~/.lyx/layouts/ /usr/share/lyx/layouts and /usr/share/texmf/tex/latex/base/ after 
which i have tried running texhash and Options.Reconfigure dozens of times and 
nothing works -- bookCP never shows up along with the rest of the things in in Layout 
Document . 
 
 It should be right there along side book and boo (AMS) and the rest, shouldn't it?
 
 By the way, after putting it in /usr/share/texmf/tex/latex/base/ and running 
texhash, it does show up in /usr/share/texmf/ls-R. But never in LyX.
 
 The only other thing I could think of was the variables that were mentioned. trying 
things like echo $USERDIR echo $userdir $echo UserDir (BTW, it's a very bad 
idea to have mixed case env variables - shell variables should always be upper case 
for sanity's sake) revealed nothing, so I thought maybe that was the problem, but 
after setting them buy hand, I ran texhash again and EditReconfigure.
 
 Anyway, the short story is: I've been reading books and User's guides for 2 weeks 
now off and on, and I'm not getting anywhere. Surely it's not that hard. Hey, it 
didn't take me /this/ long to learn how to setup postfix ;-)
 
 
 Can anyone tell me what I'm doing wrong, or even better, what the correct thing to 
do is?
 
 Thanks a million in advance,
 
 
 
 Jonathan Wilson
 System Administrator
 
 Cedar Creek Software http://www.cedarcreeksoftware.com
 Central Texas IT http://www.centraltexasit.com
 




Re: Bibliographic references spilling over into margins

2001-05-30 Thread Ramon Felciano

Yep, that was the problem. I assumed that upgrading to LyX 1.1.6fix2 would
either fix this problem in a backwards compatible way OR automatically all
multi-citation references to remove the problematic space. In case anyone
else comes across this, here's the Perl script I wrote to remove the spaces:
--
#!/usr/bin/perl
while () {
chop;
if ($_ =~ /\\begin_inset LatexCommand \\cite{(.*)}/) {
$cites = $1;
$cites =~ s/ file://gi;
print \\begin_inset LatexCommand \\cite{$cites}\n;
} else {
print $_ . \n;
}
}
--

Thanks everyone for your help!

Ramon

- Original Message -
From: Dekel Tsur [EMAIL PROTECTED]
To: Ramon Felciano [EMAIL PROTECTED]; LyX users
[EMAIL PROTECTED]
Sent: Wednesday, May 30, 2001 9:50 AM
Subject: Re: Bibliographic references spilling over into margins


 On Wed, May 30, 2001 at 12:54:48PM +0200, Herbert Voss wrote:
  On Wed, 30 May 2001, Ramon Felciano wrote:
Put \usepackage{apalike} in the preamble.
   
   I tried this but am now getting citation errors:
  
   ---
   White space in argument---line 326 of file final-draft-v09.aux
: \citation{Cardelli1991Operations,
:
Bracha1992Modularity}
   I'm skpping whatever remains of this command
   ---
 
  i suppose that you have something like
  \cite{me, you}
  with a space after comma. try to delete it.

 Yes.
 This happens if you created the citation with lyx 1.1.6/1.1.6fix1.
 Citations created with 1.1.6fix2 will be OK.
 To fix old citations, open the .lyx file with some text editor, and remove
the
 spaces.




solaris build problem

2001-05-30 Thread Robert Andersson

Hi all!

I second Gary Rays problem building lyx-1.1.6fix2 on solaris 7.

  C++ Compiler:   g++
  C++ Compiler flags: -g -O2 -fno-rtti -fno-exceptions
  C   Compiler:   gcc
  C   Compiler flags: -O3 -mcpu=v8 -mtune=v9

using the gcc version of 2.92.2 with all patches applied.

anyone got binaries for solaris v9? :)

/robert

-- 
Systems Administrator
Swedish National Graduate School of Language Technology



Re: solaris build problem

2001-05-30 Thread Robert Andersson

 I == Robert Andersson [EMAIL PROTECTED] writes:
I I second Gary Rays problem building lyx-1.1.6fix2 on solaris 7.

I   C++ Compiler:   g++
I   C++ Compiler flags: -g -O2 -fno-rtti -fno-exceptions
I   C   Compiler:   gcc
I   C   Compiler flags: -O3 -mcpu=v8 -mtune=v9

I using the gcc version of 2.92.2 with all patches applied.

sorry that's wrong... it should be version 2.95.2 :)

/robert

-- 
Systems Administrator
Swedish National Graduate School of Language Technology



Re: solaris build problem

2001-05-30 Thread Allan Rae

On Wed, 30 May 2001, Robert Andersson wrote:

 Hi all!

 I second Gary Rays problem building lyx-1.1.6fix2 on solaris 7.

   C++ Compiler:   g++
   C++ Compiler flags: -g -O2 -fno-rtti -fno-exceptions
   C   Compiler:   gcc
   C   Compiler flags: -O3 -mcpu=v8 -mtune=v9

 using the gcc version of 2.92.2 with all patches applied.

 anyone got binaries for solaris v9? :)

Did you try using --with-included-string when configuring?

Allan. (ARRae)




Re: solaris build problem

2001-05-30 Thread Robert Andersson

Allan,

 AR == Allan Rae [EMAIL PROTECTED] writes:
AR Did you try using --with-included-string when configuring?

nope, but now I have :) --still the same problem :(

any binaries for solaris v9 anyone?

yours,
/robert

-- 
Systems Administrator
Swedish National Graduate School of Language Technology



Re: solaris build problem

2001-05-30 Thread Jean-Pierre.Chretien


Date: Wed, 30 May 2001 16:36:59 +1000 (GMT+1000)
From: Allan Rae [EMAIL PROTECTED]
To: Robert Andersson [EMAIL PROTECTED]
cc: [EMAIL PROTECTED]
Subject: Re: solaris build problem

On Wed, 30 May 2001, Robert Andersson wrote:

 Hi all!

 I second Gary Rays problem building lyx-1.1.6fix2 on solaris 7.

   C++ Compiler:   g++
   C++ Compiler flags: -g -O2 -fno-rtti -fno-exceptions
   C   Compiler:   gcc
   C   Compiler flags: -O3 -mcpu=v8 -mtune=v9

 using the gcc version of 2.92.2 with all patches applied.

 anyone got binaries for solaris v9? :)

Did you try using --with-included-string when configuring?

A side reamrk: this was already needed with 1.1.6fix1.

New with fix2: compilation fails with Solaris m4, Gnu m4 needed
(and available BEFORE ./configure, adding it afterwards failed
even after distclean and I had to restart from the distrib tar file).

(Solaris 2.6)

-- 
Jean-Pierre


-- 
Jean-Pierre




Re: thanks and pstopdf-question

2001-05-30 Thread stephan . schlierf


Hi there,

the problem of getting a fine pdf-file out of LyX seems to be one of the
most discussed topics in this mailing lists (hint hint maybe it´s worth a
mini-HOWTO ?).
 To avoid people getting frustrated (as it happened to me every now and
then when playing around with ps and pdf-files and ugly fonts and/or ugly
figures ... :-) let me just give some hints you might want to keep in mind:

First of all, don´t use ghostscript  6.0 (buggy, doesn´t treat ps-figures
well)
Second, dont´t use ghostcript  5.50 (creates huge pdf-files)
As far as I have tested it, ghostcript 6.0 does a quite good job: it allows
you to use other fonts than the standard or pslatex ones; for example,
newcent works fine for me.
Export your LyX-file to postscript; after that, use ps2pdf your_ps_file.ps
your_pdf_file.pdf to convert the postscript file to a pdf file (this can
be replaced by configuring Edit - Preferences - tab page
Formatkonvertierung, sorry, I don´t know the english label for it, I use
the german localization)
If you want to have informations like author, Document title to be
appeared in Acrobat Reader´s File - Document info and if you want to use
links in your pdf file, put the following line into your LaTeX preamble
(Layout - LaTeX preamble)
\usepackage[ps2pdf, pdftitle={your favorite document title},pdfauthor={the
author},linkcolor=blue,linktocpage,colorlinks=true]{hyperref}
where linkcolor is the color in which links should be displayed,
linktocpage don´t use the whole toc-entry as a link but only the page
number (for more options have a look at the hyperref documentation)

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


   

Herbert Voss   

[EMAIL PROTECTED]To: Wolfgang Kilian 
[EMAIL PROTECTED]  
Berlin.DE  cc: [EMAIL PROTECTED]

Sent by:Subject: Re: thanks and 
pstopdf-question   
[EMAIL PROTECTED]   

   

   

05/29/01 09:49 PM  

   

   





Wolfgang Kilian wrote:

  Now I have the problem that I have to convert the document into several
pdf files (each chapter as a separate file). I've started with 'tex2pdf'
(latest version) but this brings a corrupt

first choose a break after 75 characters in your mail ...

every chapter starts at a new page, so you can
save them with ghostview in a ps-file (behind
view-ps).
than use ps2pdf your ps-file

in latex use layout-doxument-character font-pslatex.
than you don't need any usepackage in the preamble.

Herbert

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








Re: csv2lyx (was Re: sorting tables?)

2001-05-30 Thread Guenter Milde

On Fri, 25 May 2001 08:54:50 +0200 wrote A.Gulino [EMAIL PROTECTED]:

 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.

Hi Antonio,

thanks for that little script of yours- I like it and I like it to be well
documented :-)

It works fine on my system - still I have some suggestions for improvements:
(unfortunately I don't know pearl, so I cannot do this by myself easily)

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

This was not clear to me at all.
After considering to ask you to translate this to German, I found out by trying
what happens... I suppose you meant

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

2. However, I would like if I had the option to turn off the title
   completely, e.g.
  --title=A pretty title for a pretty table (default:Title of the LyX table)
   --title= (no title)
   At present, the word Senseless appears also in this case - with an empty
   senseless title)
   
3.HOW USE IT (under Linux):
  antonio@bidone:~ cat mycsvfile | csv2lyx  mytmptable.lyx

   It would be more straightformward, if one could do
   antonio@bidone:~ csv2lyx mycsvfile
   to get mycsvfile.lyx and
   antonio@bidone:~ csv2lyx mycsvfile  mytmptable.lyx
   in case a different output filename is wanted.


4. I would much appreciate an option to turn on the lines separating
   rows/collumns. (one global option might do, possibly 2 for rows and
   collums separately: there is no problem to change one or two linesettings
   (to separate the first row, say) but it is quite a lot of clicking to
   change it for all rows/collumns.

but, despite of my nagging - Thanks again for the good job

Dear Lyx-gurus,

could this script be called from the external inset? Would the table then appear
in the GUI or just a [external inset] button?

Guenter


Guenter


--
[EMAIL PROTECTED]




Re: solaris build problem

2001-05-30 Thread Robert Andersson

Jean-Pierre,

 JC == Jean-Pierre Chretien [EMAIL PROTECTED] writes:
JC New with fix2: compilation fails with Solaris m4, Gnu m4 needed
JC (and available BEFORE ./configure, adding it afterwards failed
JC even after distclean and I had to restart from the distrib tar
JC file).

huh... :( not even with distclean... ouch! it works now, thanks!

/robert

-- 
Systems Administrator
Swedish National Graduate School of Language Technology



Re: PROBLEMS with REVTEX on: LyX 1.1.6fix2

2001-05-30 Thread Peter D Drummond

Thanks - Dekel, Herbert

I tried Dekel Tsur's suggestion of changing
the Lyx preferences. Unfortunately, these are not available
on the popup menu, but have to be handcoded - I guess
you would need to re-edit the file every time you
changed preferences?

The good news is that it does work. I haven't been able
to figure out why the Latex here gives an error, while
Herbert Voss's does not. The Latex I use is running under
Tru64 (not Linux). I've also re-installed the Revtex Class
file from the latest distribution of Lyx. No change.
I haven't tried changing the Revtex Class file.

Peter Drummond.


Dekel Tsur wrote:
 
 On Tue, May 29, 2001 at 11:02:39AM +1000, Peter D Drummond wrote:
  This doesn't help, unfortunately. The `english' option
  still gets added, and this breaks REVTEX. I guess the
  same would occur if I changed to `german' - it seems
  you can't have a `null' option.
 
 One option is to fix the revtex.cls file.
 Add the following lines to it:
 
 \DeclareOption{english}{
  \PackageWarning{revtex}{Ignoring LaTeX option \CurrentOption}
 }
 
 at the appropriate place (e.g., just before the other \DeclareOption
 commands).
 
  Solution would be if LyX could delete the language
  option when there is no language package chosen. RevTex
  4 will solve the problem RSN, but it would be nice to have backward
  compatibility!!
 
 Another solution is to add one or two of the following lines to
 ~/.lyx/preferences
 
 \language_use_babel false
 \language_global_options false
 
 (return the preferences-languages-language-package to the default)
 
 The first line will cause LyX to not use babel (and not put the english
 option) when the language is the default language (english).
 The second line will put the language options as arguments to \usepackage
 instead as arguments to \documentclass.

-- 
Physics Department, University of Queensland, St Lucia 4072, 
Queensland, Australia. Tel:+61-7-3365-3404  Fax:+61-7-3365-1242
[EMAIL PROTECTED]; www.physics.uq.edu.au/people/drummond



Re: thanks and pstopdf-question

2001-05-30 Thread Herbert Voss


On Wed, 30 May 2001 [EMAIL PROTECTED] wrote:


 Hi there,

 the problem of getting a fine pdf-file out of LyX seems to be one of the
 most discussed topics in this mailing lists (hint hint maybe it´s worth a
 mini-HOWTO ?).

what about this site:

http://www.educat.hu-berlin.de/~voss/lyx/pdf.html#faq

Herbert




Re: lyx xfig

2001-05-30 Thread Stefano Ghirlanda

Matias Freytes [EMAIL PROTECTED] writes:

   I´ve used xfig for a while. A few days ago I installed a
 newer version and I couldnt export eps files any longer. 

What version? I don't think there has been ever any idea of taking eps
export out of xfig.

-- 
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: solaris build problem

2001-05-30 Thread Jean-Marc Lasgouttes

 Jean-Pierre == Jean-Pierre Chretien [EMAIL PROTECTED] writes:

Jean-Pierre New with fix2: compilation fails with Solaris m4, Gnu m4
Jean-Pierre needed (and available BEFORE ./configure, adding it
Jean-Pierre afterwards failed even after distclean and I had to
Jean-Pierre restart from the distrib tar file).

Hmm, m4 should not be needed at all... Is autoconf re-run? Is it a
fresh rarball or did you apply the patch?

JMarc



Re: PROBLEMS with REVTEX on: LyX 1.1.6fix2

2001-05-30 Thread Jean-Marc Lasgouttes

 Peter == Peter D Drummond [EMAIL PROTECTED] writes:

Peter Thanks - Dekel, Herbert I tried Dekel Tsur's suggestion of
Peter changing the Lyx preferences. Unfortunately, these are not
Peter available on the popup menu, but have to be handcoded - I guess
Peter you would need to re-edit the file every time you changed
Peter preferences?

No the content should not be lost. It has not been added to the
preference popup because I am reluctant to allow UI changes in fix
series (it is not that Dekel did not try to get this in :)

JMarc



Re: Bibliographic references spilling over into margins

2001-05-30 Thread Ramon Felciano

 Put \usepackage{apalike} in the preamble.

I tried this but am now getting citation errors:

---
White space in argument---line 326 of file final-draft-v09.aux
 : \citation{Cardelli1991Operations,
 :  Bracha1992Modularity}
I'm skpping whatever remains of this command
---

This seems to only occur with multiple-citation references. I'm using Lyx
1.1.6fix2.

Any suggestions?

Ramon




Re: solaris build problem

2001-05-30 Thread Lars Gullik Bjønnes

Jean-Marc Lasgouttes [EMAIL PROTECTED] writes:

|  Jean-Pierre == Jean-Pierre Chretien [EMAIL PROTECTED] writes:
| 
| Jean-Pierre New with fix2: compilation fails with Solaris m4, Gnu m4
| Jean-Pierre needed (and available BEFORE ./configure, adding it
| Jean-Pierre afterwards failed even after distclean and I had to
| Jean-Pierre restart from the distrib tar file).
| 
| Hmm, m4 should not be needed at all... Is autoconf re-run? Is it a
| fresh rarball or did you apply the patch?

Unfortunately m4 is needed... this the autogeneration of the sigc++
files that is playing tricks on us. Some automake magic should help
here.

-- 
Lgb



Kerning in math mode (a bit OT)

2001-05-30 Thread Sarah Mount


f's in math mode seem to be kerned strangely, is there a way round this,
or am I hallucinating after too much coffee?

Thanks!

Sarah

-- 
I've held on all these years now, now what medal have I got?
Hold on, hold on to what?
- Heaton/Rotherby





Re: solaris build problem

2001-05-30 Thread Jean-Pierre.Chretien



 Jean-Pierre == Jean-Pierre Chretien [EMAIL PROTECTED] 
writes:

Jean-Pierre New with fix2: compilation fails with Solaris m4, Gnu m4
Jean-Pierre needed (and available BEFORE ./configure, adding it
Jean-Pierre afterwards failed even after distclean and I had to
Jean-Pierre restart from the distrib tar file).

Hmm, m4 should not be needed at all... Is autoconf re-run? Is it a
fresh rarball or did you apply the patch?

JMarc

Well, from the tarball.
Here what happened (from my recall, I killed the logs when I came back
to the tarball the second time):

#./configure --with-version-suffix=1.1.6 --with-included-gettext 
--with-included-string 
# gmake

Then error message about the -I syntax error with Solaris m4 
(when running gmake in macros).

Installing gnu m4 results in new compilation errors which remained
even after gmake distclean and a fresh ./confgure

Re-extraction from the tarball with gnu m4 compiles and install without error.

Do you want me to try to reproduce it ?

-- 
Jean-Pierre






Re: solaris build problem

2001-05-30 Thread Jean-Marc Lasgouttes

 Lars == Lars Gullik Bjønnes [EMAIL PROTECTED] writes:

Lars Unfortunately m4 is needed... this the autogeneration of the
Lars sigc++ files that is playing tricks on us. Some automake magic
Lars should help here.

You mean the generated files are not in the dist?

JMarc



Re: Search popup

2001-05-30 Thread Jean-Marc Lasgouttes

 Matej == Matej Cepl [EMAIL PROTECTED] writes:

  Escape works well on 1.1.6fix2 here.

Matej Well. It really doesn't here. See attached xev.log (a lot of
Matej irrelevant stuff deleted) and lyx-key.log (I have opened a file
Matej from MRU, searched for word v\v{s}ichni tried three times
Matej ESC, then closed via mouse, and whole LyX was closed via C-q).
Matej It may be the case, that there is something screwed up with my
Matej keyboard (I have out-of-stock Czech xkb keyboard, which was
Matej switched off), but isn't there any help for me?

That's very strange... Is this the only popup for which escape does
not work?

JMarc



Re: csv2lyx (was Re: sorting tables?)

2001-05-30 Thread A.Gulino

I will change the english in the documentation (and the suggestion too, of
course)

When I have made the changes, I post it. The script self I will send it at you,
and
who ask me.
If someone want, I send the script (version 0.0.0fix1 :-) in the mailinglist
self.

Guenter Milde wrote:
[EMAIL PROTECTED]:
  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.
 It works fine on my system - still I have some suggestions for improvements:
 (unfortunately I don't know pearl, so I cannot do this by myself easily)
^
  perl, without a. it's a pearl, shur :-)

 1. Documentation
  If you don't want a float table, then can you delete the default-title, the word
  Senseless will are delete.
 
 This was not clear to me at all.
 After considering to ask you to translate this to German, I found out by trying
 what happens... I suppose you meant
 
  If you don't want a float table, then you can delete the default-title,
  the word Senseless will disappear.
disappear. I think you are right.
(sorry for the non-german-speaking-people :-) Auf jeden Fall, hatte ich
folgendes gemeint:
Wenn du eine normale tabelle willst, statt einer Floating-Tabelle, dann lösche
den Titel,
und schon verschwindet das Wort Senseless (das nicht editierbar ist)

 
 2. However, I would like if I had the option to turn off the title
completely, e.g.
   --title=A pretty title for a pretty table (default:Title of the LyX table)
--title= (no title)
At present, the word Senseless appears also in this case - with an empty
senseless title)

Maybe, if I don't write caption. I must try.
But then i must include the following option
--nofloat

 3.HOW USE IT (under Linux):
   antonio@bidone:~ cat mycsvfile | csv2lyx  mytmptable.lyx
 
It would be more straightformward, if one could do
antonio@bidone:~ csv2lyx mycsvfile
to get mycsvfile.lyx and
antonio@bidone:~ csv2lyx mycsvfile  mytmptable.lyx
in case a different output filename is wanted.
I have an idea:
--fileoutput=mytmptable.whatyoutwant.lyxParExample (default: StandardOut =
Screen)
--lyxfile (without parameters) (the same as
--fileoutput=inputfilenameWithoutExtension.lyx)

 
 4. I would much appreciate an option to turn on the lines separating
rows/collumns. (one global option might do, possibly 2 for rows and
collums separately: there is no problem to change one or two linesettings
(to separate the first row, say) but it is quite a lot of clicking to
change it for all rows/collumns.
I don't know if I have understand.
You want an option to tell at the script, that he must made a line on the top 
and on the bottom of the first row.
(sorry for the non-german-speaking-people :-)
Du möchtest al option die möglichkeit den Header (die erste Zeile) anders zu
formatieren.
z.B. die erste zeile mit linie oben und unten, die zeite zeile, oben. alle
anderen nicht.
die letzte nur unter.
Idee:
--header (without parameters, for the moment) (first row: line top and bottom,
second row: line top)
I use 1.1.4fix1, so my script must be compatible with this version.
Ok. Idea:
--version=1.1.4fix1

 
 could this script be called from the external inset? Would the table then appear
 in the GUI or just a [external inset] button?

??? Sorry !
? You want let the mytmptable.lyx in a file. so if you change the csv-file you
dont must redo
the formatting.
In this case the optionslist must be longer. Maybe it is better use an html-like
syntax.
I-self want do somethings like this.
If you have some ideas...
A) table border=0|1
   th align=center|left|right = bold (align valid for the whole column)
B) --header (first row bold, line on top and bottom)
   --align=rlrcr (first column=right, second=left, thirt=right, 

Nicht unbedingt verstanden.
Meinst du: kann man dieses komische table.lyx als separates file lassen, oder
muss man
ihn unbedingt defintiv importiere?
Wenn diese die Frage war, dass habe ich folgende Antwort.
Habe noch nicht probiert. Möchte es aber. Dann sollte man die möglichkeit haben,
mit den optionen des perlscripts
auch die formatierung im griff zu bekommen.
Habe noch nicht entschieden ob ich weiter ein tab-sep-val file benütze, oder die
syntax con html.
Die syntax von html hat ja viele ähnliche funktionen: colspan,
align=right|left|center, width, border
Natürlich müsste man die Syntax ein weinig ändern, aber, wie der liebe Wall
sagt: eine tugend ist die Faulheit!

ciao,
antonio



Re: solaris build problem

2001-05-30 Thread Lars Gullik Bjønnes

Jean-Marc Lasgouttes [EMAIL PROTECTED] writes:

|  Lars == Lars Gullik Bjønnes [EMAIL PROTECTED] writes:
| 
| Lars Unfortunately m4 is needed... this the autogeneration of the
| Lars sigc++ files that is playing tricks on us. Some automake magic
| Lars should help here.
| 
| You mean the generated files are not in the dist?

Yes... seems like that.

Not excatly as intended...

-- 
Lgb



Re: Kerning in math mode (a bit OT)

2001-05-30 Thread Michael Hanke

Am Mittwoch 30 Mai 2001 12:05 schrieben Sie:
 f's in math mode seem to be kerned strangely, is there a way round this,
 or am I hallucinating after too much coffee?

 Thanks!

 Sarah

Hi:

It's not really strange. It is the difference between math mode italics and 
text italics. In mathmode, 'ff' means the product of two variables, while in 
text mode, it is simply the ligature. Below please find a lyx file 
demonstrating the effects. (Note: amsmath-on).

HTH
Michael

BTW. It's lyx 1.1.4fix3
-- 
+---+
|  Michael HankeRoyal Institute of Technology   |
|   NADA|
|   S-10044 Stockholm   |
|   Sweden  |
+---+
|  Visiting address:Lindstedtsvaegen 3  |
|  Phone:   + (46) (8) 790 6278 |
|  Fax: + (46) (8) 790 0930 |
|  Email:   [EMAIL PROTECTED]   |
|   [EMAIL PROTECTED]   |
+---+


#LyX 1.1 created this file. For more info see http://www.lyx.org/
\lyxformat 2.15
\textclass article
\language default
\inputencoding latin1
\fontscheme default
\graphics default
\paperfontsize default
\spacing single 
\papersize Default
\paperpackage a4
\use_geometry 0
\use_amsmath 1
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default

\layout Standard


\begin_inset Formula \( different\text {\, different\, \textit {different}} \)
\end_inset 


\the_end



Re: Kerning in math mode (a bit OT)

2001-05-30 Thread Andre Poenitz

 f's in math mode seem to be kerned strangely, is there a way round this,
 or am I hallucinating after too much coffee?

If this is a LaTeX thingy I don't think we can/want to much about it...

Andre'

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



acknowledgements environment

2001-05-30 Thread Alejandro Fernandez

Hi,

I'm using lyx to write a project report, using the report style. I'd
like to add an acknowledgements page, after the title page, but I don't
have much time to spend on it. I've tried adding this stile:

Style Acknowledgement
  MarginStatic
  LatexType Environment
  LatexName ack
  NextNoIndent  1
  LeftMarginMMM
  RightMargin   MMM
  ParIndent MM
  ItemSep   0
  TopSep0.7
  BottomSep 0.7
  ParSep0
  Align Block
  AlignPossible Block
  LabelType Centered_Top_Environment
  LabelString   Acknowledgements
  LabelBottomSep0.5

  # standard font definition
  Font
SizeSmall
  EndFont

  # label font definition
  LabelFont
Series  Bold
SizeLarge
  EndFont
End

I added it to lyx/layouts/report.layout 

I have no idea what I'm doing, of course, except that I just copied the
abstract style, since that's mostly what I need, but when I try to
print, it gives the error:

environment ack undefined

Where do I define it? Can I just leave the environment as abstract Or
am I doing this wrong?

Thanks,

Ale
-- 
Alejandro Fernandez Bscp 5 Caledonian University
0790 541 8809 - [EMAIL PROTECTED]



Re: Bibliographic references spilling over into margins

2001-05-30 Thread Herbert Voss



On Wed, 30 May 2001, Ramon Felciano wrote:

  Put \usepackage{apalike} in the preamble.
 
 I tried this but am now getting citation errors:

 ---
 White space in argument---line 326 of file final-draft-v09.aux
  : \citation{Cardelli1991Operations,
  :  Bracha1992Modularity}
 I'm skpping whatever remains of this command
 ---

i suppose that you have something like
\cite{me, you}
with a space after comma. try to delete it.

Herbert




Re: thanks and pstopdf-question

2001-05-30 Thread stephan . schlierf


Uuups, sorry  :-)

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


   
  
Herbert Voss   
  
[EMAIL PROTECTED]To: 
[EMAIL PROTECTED]
rlin.de  cc: 
[EMAIL PROTECTED]  
Sent by: Herbert Voss,, Subject: Re: thanks and 
pstopdf-question   
[EMAIL PROTECTED] 
  
berlin.de 
  
   
  
   
  
05/30/01 10:08 AM  
  
   
  
   
  





On Wed, 30 May 2001 [EMAIL PROTECTED] wrote:


 Hi there,

 the problem of getting a fine pdf-file out of LyX seems to be one of the
 most discussed topics in this mailing lists (hint hint maybe it´s worth a
 mini-HOWTO ?).

what about this site:
http://www.educat.hu-berlin.de/~voss/lyx/pdf.html#faq

Herbert








Re: Languages (was Re: sorting tables?)

2001-05-30 Thread ben

Allan Rae a écrit :

 [...]

 Anyway, past discussions have usually ended up with Python as best because
 it's readable/writable even for newbies.  Scheme/Lisp usually dropped as a
 bad idea because no-one cares to type all the ()'s and Perl as a possible
 second language.

What are the advantages of python in comparison to perl? For what purpose this
language was developped for? I ask this because I don't know this language...
Besides, I agree that scheme/lisp is perfectly horrible.

BG




Re: Kerning in math mode (a bit OT)

2001-05-30 Thread Jean-Pierre.Chretien


From: Andre Poenitz [EMAIL PROTECTED]
Subject: Re: Kerning in math mode (a bit OT)
To: Sarah Mount [EMAIL PROTECTED]
Date: Wed, 30 May 2001 12:43:59 +0200 (CEST)
CC: [EMAIL PROTECTED]

 f's in math mode seem to be kerned strangely, is there a way round this,
 or am I hallucinating after too much coffee?

If this is a LaTeX thingy I don't think we can/want to much about it...

Andre'

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

If you need ligatures in math mode you must type it in math text mode I think.

-- 
Jean-Pierre




Re: acknowledgements environment

2001-05-30 Thread ben

Alejandro Fernandez a écrit :

 Hi,

 I'm using lyx to write a project report, using the report style. I'd
 like to add an acknowledgements page, after the title page, but I don't
 have much time to spend on it. I've tried adding this stile:

 Style Acknowledgement
   MarginStatic
   LatexType Environment
   LatexName ack
   NextNoIndent  1
   LeftMarginMMM
   RightMargin   MMM
   ParIndent MM
   ItemSep   0
   TopSep0.7
   BottomSep 0.7
   ParSep0
   Align Block
   AlignPossible Block
   LabelType Centered_Top_Environment
   LabelString   Acknowledgements
   LabelBottomSep0.5

   # standard font definition
   Font
 SizeSmall
   EndFont

   # label font definition
   LabelFont
 Series  Bold
 SizeLarge
   EndFont
 End

 I added it to lyx/layouts/report.layout

 I have no idea what I'm doing, of course, except that I just copied the
 abstract style, since that's mostly what I need, but when I try to
 print, it gives the error:

 environment ack undefined

 Where do I define it? Can I just leave the environment as abstract Or
 am I doing this wrong?

You must define the ack environment. You should have something like this:

Style Acknowledgement
  CopyStyle abstract
  LatexType Environment
  LatexName ack

  # define the ack environment
  Preamble
  % Define completely your environment here
  \newenvironment{ack}{ ... }{ ... }
  % Or include the package that defines this environment
  % \usepackage{..}
  EndPreamble
End

BG




PostScript or TrueType?

2001-05-30 Thread Beyer, Marcus


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

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-30 Thread Alejandro Fernandez

Hi,

Thanks, but I don't understand where to find a package that defines
this, or how to define it with \newenvironment. Could you tell me where
these packages are usually kept, or what extension or file name they
might have?

I've tried looking for occurrences of Preamble, \newenvironment and
usepackage in the lyx layouts directory, but this has not led me
anywhere useful... There is a file named svjour.inc, which contains
various acknowledgements style definitions, but no package seems to be
defined there either.

Ale

ben wrote:

 You must define the ack environment. You should have something like this:
 
 Style Acknowledgement
   CopyStyle abstract
   LatexType Environment
   LatexName ack
 
   # define the ack environment
   Preamble
   % Define completely your environment here
   \newenvironment{ack}{ ... }{ ... }
   % Or include the package that defines this environment
   % \usepackage{..}
   EndPreamble
 End
 
 BG

-- 
Alejandro Fernandez Bscp 5 Caledonian University
0790 541 8809 - [EMAIL PROTECTED]



Re: Bibliographic references spilling over into margins

2001-05-30 Thread Ramon Felciano

 i suppose that you have something like
 \cite{me, you}
 with a space after comma. try to delete it.

Well, yes, but it is Lyx that created that citation entry for me since it
now allows for multiple citations in a single entry. Maybe I'm
misunderstanding how to use this feature?

Ramon





Re: Re: thanks and pstopdf-question

2001-05-30 Thread Wolfgang Kilian

OK thanks for the good tips,
 I really tried hard and finally succeded in a certain way.

First off all sorry Herbert but the linebreaks in the e-mails I can't change.

I now installed gs_6.01 (which is quite a hard work for a non-programmer) and the pdf 
files are nicely small. Also the text charakters are looking good. Is it really not 
recomendable to use the latest gs_7.0 or the gs_6.5?
 There is one strange thing left. When I export the document from Lyx to a ps-file and 
then do ps2pdf all the minus symbols from math mode are gone?? When I export from Lyx 
a DVI-file and then do dvips -Ppdf and after that ps2pdf everything seems to be OK. 
 So my question is how can I specifie this -Ppdf inside Lyx?

Sorry but thats all really nebulös for me.

Thanks  
Wolfgang
___
1.000.000 DM gewinnen - kostenlos tippen - http://millionenklick.web.de
[EMAIL PROTECTED], 8MB Speicher, Verschluesselung - http://freemail.web.de





Re: lyx xfig

2001-05-30 Thread Matias Freytes

Hello,

  I´ve used xfig for a while. A few days ago I installed a
  newer version and I couldnt export eps files any longer. 
 
 What version? I don't think there has been ever any idea of taking eps
 export out of xfig.

I have Xfig 3.2.3 patchlevel beta-1 (Protocol 3.2) and when I try
to export eps I get the following error message:
   Unknown graphics language eps
   Known languages are: acad box epic eepic eepicemu gif ibmgl
  jpeg latex pcx pic pitex

As I said before, I'd also like to update lyx (I have 1.1.5
fix 1) on my redhat 6.2 (Xfree86-3.3.6). Is there any newer 
stable version?

Matias.




Re: Languages (was Re: sorting tables?)

2001-05-30 Thread Jose Abilio Oliveira Matos

On Wed, May 30, 2001 at 01:58:18PM +0200, ben wrote:
 Allan Rae a écrit :
 
  [...]
 
  Anyway, past discussions have usually ended up with Python as best because
  it's readable/writable even for newbies.  Scheme/Lisp usually dropped as a
  bad idea because no-one cares to type all the ()'s and Perl as a possible
  second language.
 
 What are the advantages of python in comparison to perl? For what purpose this
 language was developped for? I ask this because I don't know this language...
 Besides, I agree that scheme/lisp is perfectly horrible.

  Python is a general purpose, script language.
  
  I will not tell you what are the advantage of python over perl, I will
just tell you why I like python over perl.

  I have used perl before, and now I use python because the syntax is very
clear, the programs are easy to read after two years without looking to them.

  I like the clear OO model over the one in perl.

  Most of the time I use it as prototype language before passing it to
C(++), when I need speed.

  Other times I use it as glue language both to write the tools I use to
treat the simulation data I get and to automate the action of different
other programs.

  The clear syntax is a big win for me, and although it is possible to write
programs that are easy to read with perl it is a lot more dificult to do so.
  
  I need lots of time to use number crunching programs and the Numerical
module is superb for that. I mention this because python is very easy to
extend. That was the reason why the authors of the Module decided to use it.

  All the aspects of the language appear to be very well thought, and this
is a feeling that grows as you learn more about it.

  One other feature I like is ability to run it in an interactive session.
  
  Just some thoughts, there is very good documentation at
http://www.python.org

 BG

  A-python-convict ly
-- 
José



Re: lyx xfig

2001-05-30 Thread Stefano Ghirlanda

Matias Freytes [EMAIL PROTECTED] writes:

 Hello,
 
 I´ve used xfig for a while. A few days ago I installed a
   newer version and I couldnt export eps files any longer. 
  
  What version? I don't think there has been ever any idea of taking eps
  export out of xfig.
 
 I have Xfig 3.2.3 patchlevel beta-1 (Protocol 3.2) and when I try
 to export eps I get the following error message:
Unknown graphics language eps
Known languages are: acad box epic eepic eepicemu gif ibmgl
   jpeg latex pcx pic pitex

It seems that you are missing support for PostScript in fig2dev. What
is your version of fig2dev? What happens if you try to run it from the
command line (e.g. fig2dev -L eps myfile.fig  myfile.eps)?
Is postscript generally working on your system? (e.g., can you see the
postscript preview in LyX?)

Look at www.lyx.org for new versions.

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

2001-05-30 Thread Jean-Pierre.Chretien


Date: Wed, 30 May 2001 13:45:59 -0300 (ART)
From: Matias Freytes [EMAIL PROTECTED]
To: Stefano Ghirlanda [EMAIL PROTECTED]
cc: [EMAIL PROTECTED]
Subject: Re: lyx  xfig

Hello,

I´ve used xfig for a while. A few days ago I installed a
  newer version and I couldnt export eps files any longer. 
 
 What version? I don't think there has been ever any idea of taking eps
 export out of xfig.

I have Xfig 3.2.3 patchlevel beta-1 (Protocol 3.2) and when I try
to export eps I get the following error message:
   Unknown graphics language eps
   Known languages are: acad box epic eepic eepicemu gif ibmgl
  jpeg latex pcx pic pitex

As I said before, I'd also like to update lyx (I have 1.1.5
fix 1) on my redhat 6.2 (Xfree86-3.3.6). Is there any newer 
stable version?

Matias.

Have you got transfig installed as well as xfig, with the same realease
number ? That might explain this failure.

-- 
Jean-Pierre




Re: Languages (was Re: sorting tables?)

2001-05-30 Thread Jean-Pierre.Chretien


Date: Wed, 30 May 2001 17:09:14 +0100
From: Jose Abilio Oliveira Matos [EMAIL PROTECTED]
To: LyX Users [EMAIL PROTECTED]
Subject: Re: Languages (was Re: sorting tables?)
Mail-Followup-To: LyX Users [EMAIL PROTECTED]
User-Agent: Mutt/1.2.5i

On Wed, May 30, 2001 at 01:58:18PM +0200, ben wrote:
 Allan Rae a écrit :
 
  [...]
 
  Anyway, past discussions have usually ended up with Python as best because
  it's readable/writable even for newbies.  Scheme/Lisp usually dropped as a
  bad idea because no-one cares to type all the ()'s and Perl as a possible
  second language.
 
 What are the advantages of python in comparison to perl? For what purpose 
this
 language was developped for? I ask this because I don't know this 
language...
 Besides, I agree that scheme/lisp is perfectly horrible.

  Python is a general purpose, script language.
  
  I will not tell you what are the advantage of python over perl, I will
just tell you why I like python over perl.

  I have used perl before, and now I use python because the syntax is very
clear, the programs are easy to read after two years without looking to them.

  I like the clear OO model over the one in perl.

  Most of the time I use it as prototype language before passing it to
C(++), when I need speed.

  Other times I use it as glue language both to write the tools I use to
treat the simulation data I get and to automate the action of different
other programs.

  The clear syntax is a big win for me, and although it is possible to write
programs that are easy to read with perl it is a lot more dificult to do so.
  
  I need lots of time to use number crunching programs and the Numerical
module is superb for that. I mention this because python is very easy to
extend. That was the reason why the authors of the Module decided to use it.

  All the aspects of the language appear to be very well thought, and this
is a feeling that grows as you learn more about it.

  One other feature I like is ability to run it in an interactive session.
  
  Just some thoughts, there is very good documentation at
http://www.python.org

 BG

  A-python-convict ly
-- 
José

Any equivalent of the CGI.pm Perl module and the various gateways
towards SGBD or OLE data structures ? (a bit off the LyX thread, but...)

-- 
Jean-Pierre




Does LyX complain about broken label or citation references?

2001-05-30 Thread Ramon Felciano

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?

Thanks in advance for your time!

Ramon




Re: thanks and pstopdf-question

2001-05-30 Thread Dekel Tsur

On Wed, May 30, 2001 at 10:08:27AM +0200, Herbert Voss wrote:
 
 On Wed, 30 May 2001 [EMAIL PROTECTED] wrote:
 
 
  Hi there,
 
  the problem of getting a fine pdf-file out of LyX seems to be one of the
  most discussed topics in this mailing lists (hint hint maybe it´s worth a
  mini-HOWTO ?).
 
 what about this site:
 
 http://www.educat.hu-berlin.de/~voss/lyx/pdf.html#faq

This is an old version of the FAQ.
An updated FAQ is available in section 3.3.6 in Extended.lyx
I'm attaching this FAQ in case you have an old version of Extended.lyx.


3.3.6 PDF

by Dekel Tsur (mostly)

The fastest way to generate a basic PDF file (no tags, links,
etc.) with any version of LyX is to save the document as
a Postscript® file, then run the ps2pdf command on it. Starting
with version 1.1.6, the menu item File-Export-PDF will
do all this for you. There are some issues with fonts that
you need to pay attention to: see Section [sec:badfonts].
Also, as of version 1.1.6, there is a better method that
will generate much more sophisticated files.

3.3.6.1 Use pdfLaTeX

With pdfLaTeX you need to convert your eps figures to PDF
(see Section [sec:pdfeps]), and you cannot
use pstricks. On the other hand, with pdfLaTeX it is possible
to insert directly images in JPEG or PNG format, use TrueType
fonts, and more.

3.3.6.2 Why does the text look so bad when viewed with Acrobat
  Reader?

The problem is that bitmap fonts are displayed poorly by
Acrobat Reader. When creating a PDF from the LyX file, you
need to use outline font instead of the default bitmap fonts
(in fact, you should also use outline fonts for Postscript
files). Recent LaTeX distributions come with Postscript®
Type 1 version of the standard (Computer Modern) fonts.
pdfLaTeX uses these font by default. Dvips doesn't use these
fonts by default, so to make it use them, add the following
to lines to your ~/.dvipsrc file

p+ psfonts.cmz
p+ psfonts.amz

If the default LaTeX font encoding (OT1) is used, nothing
else need to be done. However, if the T1 font encoding is
used, then LaTeX uses the newer EC fonts, for which there
are no Type1 version. The solution is to use the ae package
which emulates T1 coded fonts using the standard CM fonts.
This is done by adding \usepackage{ae,aecompl} to the preamble
of the LyX file. However, some glyphs are missing from the
CM fonts (e.g. eth, thorn), and they are taken from the
EC fonts. Therefore you get these glyphs as bitmaps.

Note: LyX uses by default the T1 font encoding. If you wish
to use the default font encoding (this is not recommended,
unless you only write English documents), add the line \font_encoding
default to the ~/.lyx/lyxrc file.

An alternate option is to use the standard Postscript® fonts
instead of the Computer Modern fonts. To do that, you need
to select pslatex as the global font in the document layout
dialog. When using the Postscript® fonts, the result PDF
file is smaller as the fonts are not saved into the file.
Furthermore, the Postscript® fonts include all T1 glyphs.
On the other hand, the Postscript® fonts have no bold symbol
font, so poor man's bold must be used (see Section [sec:pdfbold]).
The Postscript® fonts also look different from the Computer
Modern fonts.

To sum up, both the Computer Modern and the Postscript® fonts
gives good results (with few exceptions). The decision of
which one to use is a matter of taste. 

3.3.6.3 How can I use pdfLaTeX on a file with (eps) figures?

pdfLaTeX doesn't support the inclusion of eps files. However,
it does support the inclusion of other PDF files. So if
you have a LyX file that includes an eps figure, say foo.eps,
you need to do the following:

1. Convert foo.eps to PDF by epstopdf foo.eps

2. When you insert the figure in LyX, do not write the file
  extension: For example, when inseting the file foo.eps,
  you need to write foo in figure dialog.

Note: In 1.2.0 it will be possible to use the new insetgraphics
for inserting various kinds of images, and it will handle
all the necessary transformations. A semi-functional insetgraphics
exist it in 1.1.6. To use it, type M-x graphics-insert.

3.3.6.4 Why doesn't the \boldsymbol{} command work when I use pslatex?

The Postscript® fonts do not have a bold symbol font. The
solution is to use the \pmb{} (poor man's bold) command.

It is possible to redefine the \boldsymbol command to use
\pmb by putting

\renewcommand{\boldsymbol}[1]{\pmb{#1}}

in the preamble.

3.3.6.5 Is it possible to do write latex code which is processed
  only when running pdfLaTeX?

Yes. Here is an example:

\newif \ifpdf
   \ifx \pdfoutput \undefined
 \pdffalse
   \else
  \pdftrue
\fi
\ifpdf
   \pdfinfo { /Author (your name and e-mail address)
  /Title (official title -- i.e., title element)
  /Subject (one line description of the document)
   }
   \pdfcatalog { /PageMode (/UseNone)
   }
   \usepackage[pdftex]{hyperref}
\else
   \usepackage[ps2pdf]{hyperref}
\fi



Re: Bibliographic references spilling over into margins

2001-05-30 Thread Dekel Tsur

On Wed, May 30, 2001 at 12:54:48PM +0200, Herbert Voss wrote:
 On Wed, 30 May 2001, Ramon Felciano wrote:
   Put \usepackage{apalike} in the preamble.
  
  I tried this but am now getting citation errors:
 
  ---
  White space in argument---line 326 of file final-draft-v09.aux
   : \citation{Cardelli1991Operations,
   :  Bracha1992Modularity}
  I'm skpping whatever remains of this command
  ---
 
 i suppose that you have something like
 \cite{me, you}
 with a space after comma. try to delete it.

Yes.
This happens if you created the citation with lyx 1.1.6/1.1.6fix1.
Citations created with 1.1.6fix2 will be OK.
To fix old citations, open the .lyx file with some text editor, and remove the
spaces.



ScreenFonts

2001-05-30 Thread Michelle Dukich

Greetings:

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

I am running RedHat's xfs font server for X.  

Thank you.

MD
 

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



Re: Bibliographic references spilling over into margins

2001-05-30 Thread Herbert Voss

Ramon Felciano wrote:
 
  i suppose that you have something like
  \cite{me, you}
  with a space after comma. try to delete it.
 
 Well, yes, but it is Lyx that created that citation entry for me since it
 now allows for multiple citations in a single entry. Maybe I'm
 misunderstanding how to use this feature?

what happens, when you change the bibtex-style?

Herbert

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



Re: lyx xfig

2001-05-30 Thread Matias Freytes

Hello,

   I´ve used xfig for a while. A few days ago I installed a
   newer version and I couldnt export eps files any longer. 
  
  What version? I don't think there has been ever any idea of taking eps
  export out of xfig.
 
 I have Xfig 3.2.3 patchlevel beta-1 (Protocol 3.2) and when I try
 to export eps I get the following error message:
Unknown graphics language eps
Known languages are: acad box epic eepic eepicemu gif ibmgl
   jpeg latex pcx pic pitex
 
 As I said before, I'd also like to update lyx (I have 1.1.5
 fix 1) on my redhat 6.2 (Xfree86-3.3.6). Is there any newer 
 stable version?
 

'rpm -qa | grep lyx' reports lyx-1.1.5fix1-1

I've heard of lyx-1.1.6, but nobody suggested me moving to this
newer version. Is this bleeding edge?


 Have you got transfig installed as well as xfig, with the same realease
 number ? That might explain this failure.

'rpm -qa | grep transfig' reports transfig-3.2.1-4
'rpm -qa | grep xfig' reports xfig-3.2.3_beta1-2

Is that my problem? I thought rpm took care of these
dependencies. Where can I get updated xfig and transfig rpm
packages?

Thank you,
Matias.




Re: acknowledgements environment

2001-05-30 Thread Dekel Tsur

On Wed, May 30, 2001 at 11:47:49AM +0100, Alejandro Fernandez wrote:
 I'm using lyx to write a project report, using the report style. I'd
 like to add an acknowledgements page, after the title page, but I don't
 have much time to spend on it. I've tried adding this stile:
 

Assuming you want the acknowledgement paragraph to be similar to abstract,
you need following lines:

Style Acknowledgement
   MarginStatic
  LatexType Environment  
  ...
  Preamble
\newenvironment{ack}%
 {\renewcommand{\abstractname}{Acknowledgements}\begin{abstract}}%
 {\end{abstract}}
  EndPreamble
End



Re: lyx xfig

2001-05-30 Thread Jean-Pierre.Chretien


Date: Wed, 30 May 2001 14:53:43 -0300 (ART)
From: Matias Freytes [EMAIL PROTECTED]
To: Jean-Pierre.Chretien [EMAIL PROTECTED]
cc: [EMAIL PROTECTED], [EMAIL PROTECTED]
Subject: Re: lyx  xfig

Hello,

 I´ve used xfig for a while. A few days ago I installed a
   newer version and I couldnt export eps files any longer. 
  
  What version? I don't think there has been ever any idea of taking eps
  export out of xfig.
 
 I have Xfig 3.2.3 patchlevel beta-1 (Protocol 3.2) and when I try
 to export eps I get the following error message:
Unknown graphics language eps
Known languages are: acad box epic eepic eepicemu gif ibmgl
   jpeg latex pcx pic pitex
 
 As I said before, I'd also like to update lyx (I have 1.1.5
 fix 1) on my redhat 6.2 (Xfree86-3.3.6). Is there any newer 
 stable version?
 

'rpm -qa | grep lyx' reports lyx-1.1.5fix1-1

I've heard of lyx-1.1.6, but nobody suggested me moving to this
newer version. Is this bleeding edge?

The UI is completely different and more easy to tune.
The export function towards various formats is more powerful.
The inset functions have been deeply improved, but as a side effect
bugs wormed inside the table insets.
So as Jean-marc says, it is worth to upgrade unless your
documents have a lot of tables.
You may download the last fix2 (see the lyx home page) and have a look at
the Changelog.
Anyway, you may do what I did here: install 1.1.6 under its name
(configure allows it) and run the 1.1.5fix2 as lyx and 1.1.6fix2 as lyx-1.1.6

-- 
Jean-Pierre





 Have you got transfig installed as well as xfig, with the same realease
 number ? That might explain this failure.

'rpm -qa | grep transfig' reports transfig-3.2.1-4
'rpm -qa | grep xfig' reports xfig-3.2.3_beta1-2

Is that my problem? I thought rpm took care of these
dependencies. Where can I get updated xfig and transfig rpm
packages?

Thank you,
Matias.





  1   2   >