Re: Lamport's book

2001-09-14 Thread Roy Dragseth

Piotr R. Sidorowicz [EMAIL PROTECTED] writes:

 Out of curiosity, if you're going to go through the trouble of learning
 LaTeX, why bother using LyX? ;)
 

I see the smiley, but can't resist.  

Here is my 10cents, or øre as we would say in Norway.

I turned to LyX after writing LaTeX directly for many years, I wrote
my master in applied math in LaTeX.  

LyX seems to solve my main problem with LaTeX, I constantly found
myself tracking missing } and $ as I prefer to type most of the text
uninterrupted of typesetting/updating the dvi file, as I need to get
my (bright?) ideas in writing before I forget them.  I'm also getting
a closer feel to the text and the equations as I see what it might
look like right away.

Of course, I still miss many of the nifty emacs features, marking
blocks of text in one keystroke, transposing chars, words, lines, but
all in all I'm more productive using lyx than typing LaTeX directly.

So, kudos to the LyX team!

r.

-- 

  The Computer Center, University of Tromsø, N-9037 TROMSØ, Norway.
  phone:+47 77 64 41 07, fax:+47 77 64 41 00
 Roy Dragseth, High Perfomance Computing System Administrator
 Direct call: +47 77 64 62 56. email: [EMAIL PROTECTED]



cropping an eps figure

2001-09-14 Thread Kaspar Pflugshaupt

Hello,

I'm using Kontour (from KDE 2.2) to produce an EPS illustration for my 
article written in Lyx. Kontour doesn't seem to be able (yet?) to generate an 
EPS with the bounding box just around the figure; I always get a full A4 
size, thus a lot of whitespace around my illustration.

Can I crop the image after inserting it into Lyx? Or is there another piece 
of software that allows me to do this?

Thanks for any hint

Kaspar Pflugshaupt

-- 

Kaspar Pflugshaupt
Geobotanical Institute
ETH Zurich, Switzerland



Re: Re: [tapia@cae.wisc.edu] Feedback from www.lyx.org

2001-09-14 Thread Guenter Milde

On Thu, 13 Sep 2001 17:55:28 +0300 wrote Dekel Tsur [EMAIL PROTECTED]:

 On Thu, Sep 13, 2001 at 12:23:05PM +0300, Tuukka Toivonen wrote:
  I have eps files but their margin are too big
  
  You could use ps2eps program. As far as I understand, that
  computes the bounding box of a postscript file by actually
  rasterizing it and checking where the image ends. 
  ...
 
 You can also try ps2epsi that comes with ghostscript.
 

Unfortunately, ps2epsi will add a bitmap representation (thumbnail) of the
content. 

 ps2epsi is a utility, based on Ghostscript, which takes an input postscript
 file and generates a new output file which conforms to Adobe's 'Encapsulated
 Postscript Interchange' or EPSI format. This is a special form of encapsulated
 postscript (EPS) which adds a bitmap version of the final displayed page (in
 the form of postscript comments) to the beginning of the file. This bitmap
 can be used by programs which understand EPSI (usually word processors or
 DTP programs) to give a preview version of the postscript on screen. The
 displayed quality is often not very good (eg. low resolution, no colours),
 but the final printed version uses the 'real' postscript, and thus has the
 normal full postscript quality.
 
As LyX doesnot need/use this bitmap for preview, it is better not to enlarge
your files by this.

You can also use the attached script eps2eps (if you have ghostscript).
Put it somewhere in your PATH and then the command
   eps2eps MyToLargeGraphik.eps
will fix your file, i.e. remove the too big margins.

 Guenter


#!/bin/sh
# eps2eps -- in order to correct bounding box
# $Id: eps2eps,v 1.3 2000/10/29 23:38:18 matej Exp $
# $Log: eps2eps,v $
# Revision 1.3  2000/10/29 23:38:18  matej
# TMP setting in true side of if.
#
# Revision 1.2  2000/10/29 23:35:34  matej
# Correction of if command -- shit!
#
# Revision 1.1  2000/10/29 23:28:59  matej
# Initial revision
#

if [ -z $2 ]
then
 TMP=` mktemp /tmp/eps2eps.XX `
 cp $1 $TMP
 INPUT=$TMP
 OUTPUT=$1
else
INPUT=$1
OUTPUT=$2
fi
gs -dBATCH -dNOPAUSE -sDEVICE=epswrite -sOutputFile=$OUTPUT $INPUT
trap rm $TMP* 2/dev/null 0
#
# end of script eps2eps

--
[EMAIL PROTECTED]





Re: cropping an eps figure

2001-09-14 Thread Peter Suetterlin

Kaspar Pflugshaupt wrote:
 Hello,
 
 I'm using Kontour (from KDE 2.2) to produce an EPS illustration for my 
 article written in Lyx. Kontour doesn't seem to be able (yet?) to generate an 
 EPS with the bounding box just around the figure; I always get a full A4 
 size, thus a lot of whitespace around my illustration.
 
 Can I crop the image after inserting it into Lyx? Or is there another piece 
 of software that allows me to do this?

If you want to change the eps look for epsffit.

The graphics package can also handle this.  Have a look at
/usr/share/texmf/doc/latex/graphics/grfguide.ps

  Pit

-- 
Peter Pit Suetterlin  http://www.uni-sw.gwdg.de/~pit
Universitaets-Sternwarte Goettingen
Tel.: +49 551 39-5048   [EMAIL PROTECTED]



Re: figures not rendering, Debian - solution

2001-09-14 Thread Markus Mohr

  1) replace package 'gs-aladdin' (6.50-5) with 'gs' (5.50-8)
 
 this is because of a ghostscript bug, fixed in more recent versions.
Yup, I know, but there is currently no newer package than that in
Debian/unstable.
 
  2) type 'xhost +hostname' or just 'xhost +' (just '+' opens your
  display to everyone!)
 
 this apparently doesn't always work to fix the auth errors.
Hmm, sorry, must have overread that. I didn't remember people coming
back after asking that question. But better a solution for most than for
none. :)

ciao
marksu



Re: insert a cross-reference in the subscript of an equation

2001-09-14 Thread Andre Poenitz

On Fri, Sep 14, 2001 at 10:01:53AM +, Alexis Wiasmitinow wrote:
 Hi folks
 
 if I have an equation which starts with r_2=... and the 2 is a subscript 
 which referres to a equation mentioned above. I have the equation labeled, 
 but how do I insert the reference to the label in the subscript?

Try \ref{your_label_for_eq_2} in Red there.

If this does not help, put a  \def\refii{\ref{your_label_for_eq_2} in your
preamble and use \refii in the formula.

Andre'

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



Re: About the LaTeX style the latex output

2001-09-14 Thread Guenter Milde

On 13 Sep 2001 22:06:39 +0200 wrote Adolfo Pachón [EMAIL PROTECTED]:

 Hi all!!
 
 I'm a LyX document, with this text marked as LaTeX style in a article
 class:
 
 [global]
option 1
option 2
...
option N
 
 Well, when I export to .tex, the source shows like this:
 
 [global]
 
option 1
 
option 2
 
...
 
option N
 
 
 Mi question is:
 
 How can I to order the .tex export but without these linefeeds?
 
 Thanks.

You know, that LaTeX will output 

   [global] option 1 option 2 ... option N
   
if the .tex would look exactly like your .lyx example? 

Maybe you want newline instead of new paragraph: In LyX, separate the lines
not by pressing Enter but by Ctrl-Enter. In .tex, this becomes 
  [global]\\
option 1\\
  ...

By text marked as LaTeX style, do you really mean ERT (red text going to
latex as is)? 

Why don't you use a nested list (see the user-guide for instructions) or
LyX-Code (with Ctrl-enter to get a new line)?

Guenter

--
[EMAIL PROTECTED]




Re: Figure float resizing

2001-09-14 Thread Guenter Milde

On Thu, 13 Sep 2001 20:14:24 +0200 wrote Ivan Storgaard Vogelius [EMAIL PROTECTED]:

 Hi
 How do I resize a figure float, so it doesn't fill the whole page?

LyX is very user friendly regarding the scaling of eps-figures.  Click at
the figure and in the popup you can set width and hight to something other
than standard (my favourite is setting width to some percentage of the page
and let hight as standard)

Guenter

--
[EMAIL PROTECTED]




Re: cropping an eps figure

2001-09-14 Thread Yannick Patois

On Fri, 14 Sep 2001, Kaspar Pflugshaupt wrote:

 Hello,

 I'm using Kontour (from KDE 2.2) to produce an EPS illustration for my
 article written in Lyx. Kontour doesn't seem to be able (yet?) to generate an
 EPS with the bounding box just around the figure; I always get a full A4
 size, thus a lot of whitespace around my illustration.

 Can I crop the image after inserting it into Lyx? Or is there another piece
 of software that allows me to do this?

You can just use vi (or any other text editor, but for this kind of work
I think vi is the most adapted).
The begining of an EPS file looks like:
%!PS-Adobe-2.0 EPSF-2.0
%%BoundingBox:  0 0 567 539

The four numbers after '%%BoundingBox' are the limits of the image (x1 y1
x2 y2). You just play a bit with it, using 'ghostview' or any other
previewer to see what's going on. Usually a few try are enough to get
what you like :)

Yannick





RE: About the LaTeX style the latex output

2001-09-14 Thread Adolfo Pachón


 You know, that LaTeX will output

[global] option 1 option 2 ... option N

The LaTeX ouput is:

line
BLANK LINE
lin
BLANK LINE
...
and so on


 By text marked as LaTeX style, do you really mean ERT (red text going to
 latex as is)?
Style LaTeX, not the CTRL+L option

 Why don't you use a nested list (see the user-guide for instructions) or
 LyX-Code (with Ctrl-enter to get a new line)?

My really problem is the output. I write in Lyx one text that is an source
code. I want to traduce it to PRE/PRE in HTML ouput. The LyX-Code style
output is P/P. This is that really I want.

thanks for your response




Re: Figure float resizing

2001-09-14 Thread Ivan Storgaard Vogelius

Hi!
I can see that in the figure box, but cant find something similar
for figure float, that is: I get the figure in the right size, but the
frame fills the whole page, and therefore the caption comes at the bottom
of the page...
Thanks 
Ivan

On Fri, 14 Sep 2001, Guenter Milde wrote:

 On Thu, 13 Sep 2001 20:14:24 +0200 wrote Ivan Storgaard Vogelius [EMAIL PROTECTED]:
 
  Hi
  How do I resize a figure float, so it doesn't fill the whole page?
 
 LyX is very user friendly regarding the scaling of eps-figures.  Click at
 the figure and in the popup you can set width and hight to something other
 than standard (my favourite is setting width to some percentage of the page
 and let hight as standard)
 
 Guenter
 
 --
 [EMAIL PROTECTED]
 
 

---
Ivan Storgaard Vogelius Office 520-621
Institute of Physics and Astronomy  Institute Tel: (45) 8942-3667
University of AarhusInstitute FAX: (45) 8612-0740
DK-8000 Aarhus CPrivate Tel. : (45) 86271316 
Denmark.  





Re: cropping an eps figure

2001-09-14 Thread Kaspar Pflugshaupt

On Friday, 14 September 2001 11:48, Guenter Milde wrote:  
  
 Use the eps2eps script from my recent reply to the list (under the not very
 intelligent subject
 Re: Re: [[EMAIL PROTECTED]] Feedback from www.lyx.org
 )

 Guenter

I tried to use it, but it turned up the following error:

pflugs@aconitum:~/Documents/Artikel/Article_Statistics/fig  eps2eps 
ExperimentSetup.eps
/home/pflugs/bin/eps2eps:  : command not found
/home/pflugs/bin/eps2eps:  : command not found
/home/pflugs/bin/eps2eps:  : command not found
/home/pflugs/bin/eps2eps:  : command not found
GNU Ghostscript 5.50 (2000-2-13)
Copyright (C) 1998 Aladdin Enterprises, Menlo Park, CA.  All rights reserved.
This software comes with NO WARRANTY: see the file COPYING for details.

This seems strange, since the script just calls the gs command, which of 
course is present and working...

Meanwhile, I've had success with ps2epsi, although the resulting file is 
larger than necessary (due to the preview). 

Thanks for all the hints!

Kaspar

-- 

Kaspar Pflugshaupt
Geobotanical Institute
ETH Zurich, Switzerland



Re: Figure float resizing

2001-09-14 Thread Renaud MICHEL

Le Vendredi 14 Septembre 2001 12:04, vous avez écrit :
 Hi!
   I can see that in the figure box, but cant find something similar
 for figure float, that is: I get the figure in the right size, but the
 frame fills the whole page, and therefore the caption comes at the bottom
 of the page...

I think I see what you need, it is the floatflt package.
Put your cursor just on the side of the figure (so in the same paragraph, 
within the float) then select the paragraph dialog and in the second tab 
there is an option called Floatflt, select it and set a correct width 
(never used it personnally, so don't really know how to set it) search in the 
documentation for it, it is in the extended manual (file extended.lyx).
I think that should do what you want.

I did the same thing but for non-floating figures with the picins package.

-- 
 Pour les spams tu es libre de ne pas les télécharger, comme tu es
 libre même de ne pas lire les news, ou de les lire via le web avec
 une recherche qui ne selectionnera que ce qui t'intéresse
 -+- Merdenbarre in GNU - Un : je chie partout, deux : tu nettoies -+-

Renaud MICHEL



Re: Re: cropping an eps figure

2001-09-14 Thread Kaspar Pflugshaupt

On Friday, 14 September 2001 13:22, Guenter Milde wrote:  
  
 Looking at your output and the script-file, I suppose you have problems
 with the commands _before_ the call to gs. Possibly you don't have `mktemp`
 on your system. You can try, whether it works if you give a different
 output file name, e.g.

 eps2eps ExperimentSetup.eps ExperimentSetup-cropped.eps

That worked, thanks.

But there's another issue with eps2eps: Text inside my illustrations gets 
converted to bitmaps, which looks ugly when printing. ps2epsi does not do 
this. So I think I'll stick with it - or do you know a way around this?

Cheers

Kaspar

-- 

Kaspar Pflugshaupt
Geobotanical Institute
ETH Zurich, Switzerland



Re: Re: cropping an eps figure

2001-09-14 Thread Andre Poenitz

On Fri, Sep 14, 2001 at 03:04:55PM +0200, Kaspar Pflugshaupt wrote:
 But there's another issue with eps2eps: Text inside my illustrations gets 
 converted to bitmaps, which looks ugly when printing. ps2epsi does not do 
 this. So I think I'll stick with it - or do you know a way around this?

Couldn't you just copy the %%BoundingBox line from the eps2eps output in
your input file?

Andre'

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



Re: Lamport's book

2001-09-14 Thread Jose Abilio Oliveira Matos

On Fri, Sep 14, 2001 at 10:05:13AM +0200, Roy Dragseth wrote:
[...]
 Of course, I still miss many of the nifty emacs features, marking
 blocks of text in one keystroke, transposing chars, words, lines, but
 all in all I'm more productive using lyx than typing LaTeX directly.

  Can't you mark blocks of text with one keystroke?
  
  With emacs key binding, or am I missing something regarding emacs?
  
 So, kudos to the LyX team!

  Taken on behalf of the LyX team. (Since today is friday no smile.)

 r.
 
 -- 
 
   The Computer Center, University of Tromsø, N-9037 TROMSØ, Norway.
 phone:+47 77 64 41 07, fax:+47 77 64 41 00
  Roy Dragseth, High Perfomance Computing System Administrator
Direct call: +47 77 64 62 56. email: [EMAIL PROTECTED]

-- 
José



Re: Lamport's book

2001-09-14 Thread Jose Abilio Oliveira Matos

On Fri, Sep 14, 2001 at 02:29:59PM +0100, Jose Abilio Oliveira Matos wrote:
   
  So, kudos to the LyX team!
 
   Taken on behalf of the LyX team. (Since today is friday no smile.)

  Replying to myself: Wrong list, I can smile again. :-) ;-)

-- 
José



RE: RE: About the LaTeX style the latex output

2001-09-14 Thread Adolfo Pachón
Title: verbatimtest



OK, very thanks!!

;-)


IEEEtrans.cls and LyX

2001-09-14 Thread Matias Freytes

Hello,
I've been using IEEEtrans.cls in Latex. Now I want to use
this class file in Lyx. How can I add this class file to LyX. I
also want to use IEEE bib style file (IEEE.bst) in LyX.

Any hints?

Thank you,
Matias.




LyX -- XML

2001-09-14 Thread Sasa Janiska

Hi!

I have to write some online course for the web.

Since I'm always writing in LyX, at the same time, I'd like to embrace XML
technology, and later publish course on the web (HTML), I'm interested
what would be the best procedure to get XML document from LyX source and
later convert it HTML for web publishing?

What tools are available to accomplish it?

I'm running SuSE Linux 7.1.

Sincerely,
Sasa




Solution: cropping an eps figure

2001-09-14 Thread Kaspar Pflugshaupt

After some mail exchange (thanks to the people who answered), I wrote a 
python script epscrop that does the conversion. It requires Python 1.5 and 
ps2epsi. It can be called from the command line with as many arguments as 
wished, e.g. cropeps *.eps and will convert all files in turn.

The conversion is done using ps2epsi. It does _not_ render text in 
illustrations to bitmaps, unlike gs. On the other hand, it adds a bitmap 
preview to the eps file. This preview is then stripped again.

A bit of a kludge, but it works here. If anybody else can use it, here goes:


file epscrop:

#!/usr/bin/python


from sys import argv
from os import system
from string import replace
import re

matchstr = re.compile(r%%BeginPreview.*%%EndPreview, re.DOTALL)
  # A regular expression matching a bitmap preview in epsi files

def strip_preview(filename):
  file = open(filename, 'r')
  text = file.read()   # read eps file
  file.close()
  newtext = matchstr.sub(, text) # replace preview by 
  file = open(filename, 'w')
  file.write(newtext)  # write back new file
  file.close()


for infile in argv[1:]:# loop through arguments
  outfile = replace(infile, .eps, [cr].eps)
  print Converting  + infile +  to  + outfile
  system(ps2epsi  + infile +   + outfile)
  strip_preview(outfile)
---


Cheers

Kaspar

-- 

Kaspar Pflugshaupt
Geobotanical Institute
ETH Zurich, Switzerland



Re: [tapia@cae.wisc.edu] Feedback from www.lyx.org

2001-09-14 Thread Dekel Tsur

On Thu, Sep 13, 2001 at 05:54:49PM +0200, I Wayan Warmada wrote:
 
 On Thu, 13 Sep 2001, Tuukka Toivonen wrote:
 
  Use word2x, you should be able to find it from freshmeat.net.
 
 word2x is probably only for word 6. It was difficult for converting the
 documents after this version. Try to export document as ASCII/text the
 import with lyx... The problem is when you have a lot of figures (mostly
 graphics produced with OLE2). The best way is to make new one after
 importing text into lyx.

wvware (http://www.wvware.com) should work with newer word files. 
If you use lyx 1.1.6, then after installing wvware, do edit-reconfigure in
lyx, and then you can import Word files by doing file-import-word.



Re: Equation numbering

2001-09-14 Thread Dekel Tsur

On Thu, Sep 13, 2001 at 11:45:26AM -0500, Juan Tapia wrote:
 Hi..is me again...
 
 When I numerate eqs I follow the procedure given in the 'user's guide'.
 However the result that I got is (1),(2),...and so on. How can I generate
 numeration like (2.1), (2.2)

Put 
  \numberwithin{equation}{section}
in the preamble and
enable AMS-math using the layout-document dialog (extra tab).



MikTeX CD

2001-09-14 Thread Herbert Voss

only for interest ...

http://www.miktex.org/cd/

Total MiKTEX CD-R
You can obtain the Total MiKTEX CD-R with or without 
registration. If you want to support the MiKTEX project, then please
consider registering MiKTEX. Registered MiKTEX users 
are entitled for email support for one year. 


MiKTEXDirect

The MiKTEXDirect CD-R contains the MiKTEX programs and a 
complete collection of free macro packages and fonts. You can
run the programs from the CD-R, or you can use the MiKTEX 
Setup Wizard to install selected components on a hard disk. 

The MiKTEXDirect CD-R will be available later this year. 



Herbert


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



Re: dropped capitals

2001-09-14 Thread Dekel Tsur

On Thu, Sep 13, 2001 at 09:22:56PM +0200, M. B. Schiekel wrote:

 according to Extended LyX Features documentation I installed the 
 package dropping from CTAN and used it this way:
\usepackage{ae,aecompl}  %in preamble
\usepackage{dropping}  %in preamble
\dropping{3}{D} %in text
 This works with latex, but gives the following errormsg with pdflatex:
! Undefined control sequence.
\bigdrop ...vance \wantedheight by \ht 1\findsize
   {#3}{#4}\hangindent=\wd 0...
l.109 \dropping{3}{D}
 
 Is there a way, to overcome this problem?

Why do you want to use pdflatex instead of using latex ?



Re: Equation numbering

2001-09-14 Thread Juan Tapia

what do you mean by preamble...

thanks

Juan A. Tapia

On Fri, 14 Sep 2001, Dekel Tsur wrote:

 On Thu, Sep 13, 2001 at 11:45:26AM -0500, Juan Tapia wrote:
  Hi..is me again...
 
  When I numerate eqs I follow the procedure given in the 'user's guide'.
  However the result that I got is (1),(2),...and so on. How can I generate
  numeration like (2.1), (2.2)

 Put
   \numberwithin{equation}{section}
 in the preamble and
 enable AMS-math using the layout-document dialog (extra tab).






Re: Figure float resizing

2001-09-14 Thread Dekel Tsur

On Fri, Sep 14, 2001 at 10:04:00AM +, Ivan Storgaard Vogelius wrote:
 Hi!
   I can see that in the figure box, but cant find something similar
 for figure float, that is: I get the figure in the right size, but the
 frame fills the whole page, and therefore the caption comes at the bottom
 of the page...

Your figure doesn't have a bounding box.
Use ps2epsi to fix it (or something similar).



Re: Full width tables

2001-09-14 Thread Dekel Tsur

On Fri, Sep 14, 2001 at 07:01:13AM +0200, Herbert Voss wrote:
 Nicholas Piper wrote:
  
  I don't quite understand what you are suggesting I try. Should I
  add \usepackage{tabularx} \renewenvironment{tabular} in the preample,
  and that will allow me to use the X column type ?
 
 there are still some problems with redefining the tabular
 environment. therefore write it in real latex (ert)

What problems ?

Nicholas, please send me a (small) example file with table, and I will see
if I can help you.



Re: Equation numbering

2001-09-14 Thread Dekel Tsur

On Fri, Sep 14, 2001 at 01:02:58PM -0500, Juan Tapia wrote:
 what do you mean by preamble...

Use the layout-latex preamble menu,
enter the text \numberwithin{equation}{section} in the dialog,
and press OK.



equation number cross reference

2001-09-14 Thread Mark Dowell

Hi,

how to I use cross reference so that equation numbers which I refer to
in my text are automatically updated, when I add in new display formulas
with math-number

Thanks

Mark



Re: Equation numbering

2001-09-14 Thread Juan Tapia

it's works!!

Juan A. Tapia

On Fri, 14 Sep 2001, Dekel Tsur wrote:

 On Fri, Sep 14, 2001 at 01:02:58PM -0500, Juan Tapia wrote:
  what do you mean by preamble...

 Use the layout-latex preamble menu,
 enter the text \numberwithin{equation}{section} in the dialog,
 and press OK.





Re: IEEEtrans.cls and LyX

2001-09-14 Thread Herbert Voss

Matias Freytes wrote:
 
 Hello,
 I've been using IEEEtrans.cls in Latex. Now I want to use
 this class file in Lyx. How can I add this class file to LyX. I
 also want to use IEEE bib style file (IEEE.bst) in LyX.

do you have the IEEEtran.layout in ~/.lyx/layouts or
in /usr/share/lyx/layouts ?

run from within lyx edit-reconfigure, than your
IEEE appears in layout-document-classes

Herbert


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



Re: IEEEtrans.cls and LyX

2001-09-14 Thread Matias Freytes

  I've been using IEEEtrans.cls in Latex. Now I want to use
  this class file in Lyx. How can I add this class file to LyX. I
  also want to use IEEE bib style file (IEEE.bst) in LyX.
 
 do you have the IEEEtran.layout in ~/.lyx/layouts or
 in /usr/share/lyx/layouts ?

I don't have any IEEEtran.layout, just the IEEEtran.cls.
 
 run from within lyx edit-reconfigure, than your
 IEEE appears in layout-document-classes

Matias.





Exact position of figures tables

2001-09-14 Thread Adolfo Pachón

Hi all!!

I need to control the exact position of figures  images in my
documents. I use the Extra flags hp, but the result is not that I'm
looking for.

¿Any suggestion?

thanks
-- 


Adolfo Pachón
(Director Desarrollos).




Re: dropped capitals

2001-09-14 Thread Kathryn Andersen

On Fri, Sep 14, 2001 at 08:22:00PM +0300, Dekel Tsur wrote:
 On Thu, Sep 13, 2001 at 09:22:56PM +0200, M. B. Schiekel wrote:
 
  according to Extended LyX Features documentation I installed the 
  package dropping from CTAN and used it this way:
 \usepackage{ae,aecompl}  %in preamble
 \usepackage{dropping}  %in preamble
 \dropping{3}{D} %in text
  This works with latex, but gives the following errormsg with pdflatex:
 ! Undefined control sequence.
 \bigdrop ...vance \wantedheight by \ht 1\findsize
{#3}{#4}\hangindent=\wd 0...
 l.109 \dropping{3}{D}
  
  Is there a way, to overcome this problem?
 
 Why do you want to use pdflatex instead of using latex ?

Er, because it produces good PDF output with less fuss?
That's my guess, anyway.

Kathryn Andersen
-=-=-=-=-=-=-=-=-
It's only Neutron.  We call him that because he's so positive.
-- This Island Earth
-- 
 _--_|\ | 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: Exact position of figures tables

2001-09-14 Thread Herbert Voss

Adolfo Pachón wrote:
 
 I need to control the exact position of figures  images in my
 documents. I use the Extra flags hp, but the result is not that I'm
 looking for.

if you do not want to have floats, than use package nonfloat.
but it's better to let latex do all this stuff. you can
try a !hp in your placement field.

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



Re: Lamport's book

2001-09-14 Thread Roy Dragseth

Piotr R. Sidorowicz [EMAIL PROTECTED] writes:

 Out of curiosity, if you're going to go through the trouble of learning
 LaTeX, why bother using LyX? ;)
 

I see the smiley, but can't resist.  

Here is my 10cents, or øre as we would say in Norway.

I turned to LyX after writing LaTeX directly for many years, I wrote
my master in applied math in LaTeX.  

LyX seems to solve my main problem with LaTeX, I constantly found
myself tracking missing } and $ as I prefer to type most of the text
uninterrupted of typesetting/updating the dvi file, as I need to get
my (bright?) ideas in writing before I forget them.  I'm also getting
a closer feel to the text and the equations as I see what it might
look like right away.

Of course, I still miss many of the nifty emacs features, marking
blocks of text in one keystroke, transposing chars, words, lines, but
all in all I'm more productive using lyx than typing LaTeX directly.

So, kudos to the LyX team!

r.

-- 

  The Computer Center, University of Tromsø, N-9037 TROMSØ, Norway.
  phone:+47 77 64 41 07, fax:+47 77 64 41 00
 Roy Dragseth, High Perfomance Computing System Administrator
 Direct call: +47 77 64 62 56. email: [EMAIL PROTECTED]



cropping an eps figure

2001-09-14 Thread Kaspar Pflugshaupt

Hello,

I'm using Kontour (from KDE 2.2) to produce an EPS illustration for my 
article written in Lyx. Kontour doesn't seem to be able (yet?) to generate an 
EPS with the bounding box just around the figure; I always get a full A4 
size, thus a lot of whitespace around my illustration.

Can I crop the image after inserting it into Lyx? Or is there another piece 
of software that allows me to do this?

Thanks for any hint

Kaspar Pflugshaupt

-- 

Kaspar Pflugshaupt
Geobotanical Institute
ETH Zurich, Switzerland



Re: Re: [tapia@cae.wisc.edu] Feedback from www.lyx.org

2001-09-14 Thread Guenter Milde

On Thu, 13 Sep 2001 17:55:28 +0300 wrote Dekel Tsur [EMAIL PROTECTED]:

 On Thu, Sep 13, 2001 at 12:23:05PM +0300, Tuukka Toivonen wrote:
  I have eps files but their margin are too big
  
  You could use ps2eps program. As far as I understand, that
  computes the bounding box of a postscript file by actually
  rasterizing it and checking where the image ends. 
  ...
 
 You can also try ps2epsi that comes with ghostscript.
 

Unfortunately, ps2epsi will add a bitmap representation (thumbnail) of the
content. 

 ps2epsi is a utility, based on Ghostscript, which takes an input postscript
 file and generates a new output file which conforms to Adobe's 'Encapsulated
 Postscript Interchange' or EPSI format. This is a special form of encapsulated
 postscript (EPS) which adds a bitmap version of the final displayed page (in
 the form of postscript comments) to the beginning of the file. This bitmap
 can be used by programs which understand EPSI (usually word processors or
 DTP programs) to give a preview version of the postscript on screen. The
 displayed quality is often not very good (eg. low resolution, no colours),
 but the final printed version uses the 'real' postscript, and thus has the
 normal full postscript quality.
 
As LyX doesnot need/use this bitmap for preview, it is better not to enlarge
your files by this.

You can also use the attached script eps2eps (if you have ghostscript).
Put it somewhere in your PATH and then the command
   eps2eps MyToLargeGraphik.eps
will fix your file, i.e. remove the too big margins.

 Guenter


#!/bin/sh
# eps2eps -- in order to correct bounding box
# $Id: eps2eps,v 1.3 2000/10/29 23:38:18 matej Exp $
# $Log: eps2eps,v $
# Revision 1.3  2000/10/29 23:38:18  matej
# TMP setting in true side of if.
#
# Revision 1.2  2000/10/29 23:35:34  matej
# Correction of if command -- shit!
#
# Revision 1.1  2000/10/29 23:28:59  matej
# Initial revision
#

if [ -z $2 ]
then
 TMP=` mktemp /tmp/eps2eps.XX `
 cp $1 $TMP
 INPUT=$TMP
 OUTPUT=$1
else
INPUT=$1
OUTPUT=$2
fi
gs -dBATCH -dNOPAUSE -sDEVICE=epswrite -sOutputFile=$OUTPUT $INPUT
trap rm $TMP* 2/dev/null 0
#
# end of script eps2eps

--
[EMAIL PROTECTED]





Re: cropping an eps figure

2001-09-14 Thread Peter Suetterlin

Kaspar Pflugshaupt wrote:
 Hello,
 
 I'm using Kontour (from KDE 2.2) to produce an EPS illustration for my 
 article written in Lyx. Kontour doesn't seem to be able (yet?) to generate an 
 EPS with the bounding box just around the figure; I always get a full A4 
 size, thus a lot of whitespace around my illustration.
 
 Can I crop the image after inserting it into Lyx? Or is there another piece 
 of software that allows me to do this?

If you want to change the eps look for epsffit.

The graphics package can also handle this.  Have a look at
/usr/share/texmf/doc/latex/graphics/grfguide.ps

  Pit

-- 
Peter Pit Suetterlin  http://www.uni-sw.gwdg.de/~pit
Universitaets-Sternwarte Goettingen
Tel.: +49 551 39-5048   [EMAIL PROTECTED]



Re: figures not rendering, Debian - solution

2001-09-14 Thread Markus Mohr

  1) replace package 'gs-aladdin' (6.50-5) with 'gs' (5.50-8)
 
 this is because of a ghostscript bug, fixed in more recent versions.
Yup, I know, but there is currently no newer package than that in
Debian/unstable.
 
  2) type 'xhost +hostname' or just 'xhost +' (just '+' opens your
  display to everyone!)
 
 this apparently doesn't always work to fix the auth errors.
Hmm, sorry, must have overread that. I didn't remember people coming
back after asking that question. But better a solution for most than for
none. :)

ciao
marksu



Re: insert a cross-reference in the subscript of an equation

2001-09-14 Thread Andre Poenitz

On Fri, Sep 14, 2001 at 10:01:53AM +, Alexis Wiasmitinow wrote:
 Hi folks
 
 if I have an equation which starts with r_2=... and the 2 is a subscript 
 which referres to a equation mentioned above. I have the equation labeled, 
 but how do I insert the reference to the label in the subscript?

Try \ref{your_label_for_eq_2} in Red there.

If this does not help, put a  \def\refii{\ref{your_label_for_eq_2} in your
preamble and use \refii in the formula.

Andre'

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



Re: About the LaTeX style the latex output

2001-09-14 Thread Guenter Milde

On 13 Sep 2001 22:06:39 +0200 wrote Adolfo Pachón [EMAIL PROTECTED]:

 Hi all!!
 
 I'm a LyX document, with this text marked as LaTeX style in a article
 class:
 
 [global]
option 1
option 2
...
option N
 
 Well, when I export to .tex, the source shows like this:
 
 [global]
 
option 1
 
option 2
 
...
 
option N
 
 
 Mi question is:
 
 How can I to order the .tex export but without these linefeeds?
 
 Thanks.

You know, that LaTeX will output 

   [global] option 1 option 2 ... option N
   
if the .tex would look exactly like your .lyx example? 

Maybe you want newline instead of new paragraph: In LyX, separate the lines
not by pressing Enter but by Ctrl-Enter. In .tex, this becomes 
  [global]\\
option 1\\
  ...

By text marked as LaTeX style, do you really mean ERT (red text going to
latex as is)? 

Why don't you use a nested list (see the user-guide for instructions) or
LyX-Code (with Ctrl-enter to get a new line)?

Guenter

--
[EMAIL PROTECTED]




Re: Figure float resizing

2001-09-14 Thread Guenter Milde

On Thu, 13 Sep 2001 20:14:24 +0200 wrote Ivan Storgaard Vogelius [EMAIL PROTECTED]:

 Hi
 How do I resize a figure float, so it doesn't fill the whole page?

LyX is very user friendly regarding the scaling of eps-figures.  Click at
the figure and in the popup you can set width and hight to something other
than standard (my favourite is setting width to some percentage of the page
and let hight as standard)

Guenter

--
[EMAIL PROTECTED]




Re: cropping an eps figure

2001-09-14 Thread Yannick Patois

On Fri, 14 Sep 2001, Kaspar Pflugshaupt wrote:

 Hello,

 I'm using Kontour (from KDE 2.2) to produce an EPS illustration for my
 article written in Lyx. Kontour doesn't seem to be able (yet?) to generate an
 EPS with the bounding box just around the figure; I always get a full A4
 size, thus a lot of whitespace around my illustration.

 Can I crop the image after inserting it into Lyx? Or is there another piece
 of software that allows me to do this?

You can just use vi (or any other text editor, but for this kind of work
I think vi is the most adapted).
The begining of an EPS file looks like:
%!PS-Adobe-2.0 EPSF-2.0
%%BoundingBox:  0 0 567 539

The four numbers after '%%BoundingBox' are the limits of the image (x1 y1
x2 y2). You just play a bit with it, using 'ghostview' or any other
previewer to see what's going on. Usually a few try are enough to get
what you like :)

Yannick





RE: About the LaTeX style the latex output

2001-09-14 Thread Adolfo Pachón


 You know, that LaTeX will output

[global] option 1 option 2 ... option N

The LaTeX ouput is:

line
BLANK LINE
lin
BLANK LINE
...
and so on


 By text marked as LaTeX style, do you really mean ERT (red text going to
 latex as is)?
Style LaTeX, not the CTRL+L option

 Why don't you use a nested list (see the user-guide for instructions) or
 LyX-Code (with Ctrl-enter to get a new line)?

My really problem is the output. I write in Lyx one text that is an source
code. I want to traduce it to PRE/PRE in HTML ouput. The LyX-Code style
output is P/P. This is that really I want.

thanks for your response




Re: Figure float resizing

2001-09-14 Thread Ivan Storgaard Vogelius

Hi!
I can see that in the figure box, but cant find something similar
for figure float, that is: I get the figure in the right size, but the
frame fills the whole page, and therefore the caption comes at the bottom
of the page...
Thanks 
Ivan

On Fri, 14 Sep 2001, Guenter Milde wrote:

 On Thu, 13 Sep 2001 20:14:24 +0200 wrote Ivan Storgaard Vogelius [EMAIL PROTECTED]:
 
  Hi
  How do I resize a figure float, so it doesn't fill the whole page?
 
 LyX is very user friendly regarding the scaling of eps-figures.  Click at
 the figure and in the popup you can set width and hight to something other
 than standard (my favourite is setting width to some percentage of the page
 and let hight as standard)
 
 Guenter
 
 --
 [EMAIL PROTECTED]
 
 

---
Ivan Storgaard Vogelius Office 520-621
Institute of Physics and Astronomy  Institute Tel: (45) 8942-3667
University of AarhusInstitute FAX: (45) 8612-0740
DK-8000 Aarhus CPrivate Tel. : (45) 86271316 
Denmark.  





Re: cropping an eps figure

2001-09-14 Thread Kaspar Pflugshaupt

On Friday, 14 September 2001 11:48, Guenter Milde wrote:  
  
 Use the eps2eps script from my recent reply to the list (under the not very
 intelligent subject
 Re: Re: [[EMAIL PROTECTED]] Feedback from www.lyx.org
 )

 Guenter

I tried to use it, but it turned up the following error:

pflugs@aconitum:~/Documents/Artikel/Article_Statistics/fig  eps2eps 
ExperimentSetup.eps
/home/pflugs/bin/eps2eps:  : command not found
/home/pflugs/bin/eps2eps:  : command not found
/home/pflugs/bin/eps2eps:  : command not found
/home/pflugs/bin/eps2eps:  : command not found
GNU Ghostscript 5.50 (2000-2-13)
Copyright (C) 1998 Aladdin Enterprises, Menlo Park, CA.  All rights reserved.
This software comes with NO WARRANTY: see the file COPYING for details.

This seems strange, since the script just calls the gs command, which of 
course is present and working...

Meanwhile, I've had success with ps2epsi, although the resulting file is 
larger than necessary (due to the preview). 

Thanks for all the hints!

Kaspar

-- 

Kaspar Pflugshaupt
Geobotanical Institute
ETH Zurich, Switzerland



Re: Figure float resizing

2001-09-14 Thread Renaud MICHEL

Le Vendredi 14 Septembre 2001 12:04, vous avez écrit :
 Hi!
   I can see that in the figure box, but cant find something similar
 for figure float, that is: I get the figure in the right size, but the
 frame fills the whole page, and therefore the caption comes at the bottom
 of the page...

I think I see what you need, it is the floatflt package.
Put your cursor just on the side of the figure (so in the same paragraph, 
within the float) then select the paragraph dialog and in the second tab 
there is an option called Floatflt, select it and set a correct width 
(never used it personnally, so don't really know how to set it) search in the 
documentation for it, it is in the extended manual (file extended.lyx).
I think that should do what you want.

I did the same thing but for non-floating figures with the picins package.

-- 
 Pour les spams tu es libre de ne pas les télécharger, comme tu es
 libre même de ne pas lire les news, ou de les lire via le web avec
 une recherche qui ne selectionnera que ce qui t'intéresse
 -+- Merdenbarre in GNU - Un : je chie partout, deux : tu nettoies -+-

Renaud MICHEL



Re: Re: cropping an eps figure

2001-09-14 Thread Kaspar Pflugshaupt

On Friday, 14 September 2001 13:22, Guenter Milde wrote:  
  
 Looking at your output and the script-file, I suppose you have problems
 with the commands _before_ the call to gs. Possibly you don't have `mktemp`
 on your system. You can try, whether it works if you give a different
 output file name, e.g.

 eps2eps ExperimentSetup.eps ExperimentSetup-cropped.eps

That worked, thanks.

But there's another issue with eps2eps: Text inside my illustrations gets 
converted to bitmaps, which looks ugly when printing. ps2epsi does not do 
this. So I think I'll stick with it - or do you know a way around this?

Cheers

Kaspar

-- 

Kaspar Pflugshaupt
Geobotanical Institute
ETH Zurich, Switzerland



Re: Re: cropping an eps figure

2001-09-14 Thread Andre Poenitz

On Fri, Sep 14, 2001 at 03:04:55PM +0200, Kaspar Pflugshaupt wrote:
 But there's another issue with eps2eps: Text inside my illustrations gets 
 converted to bitmaps, which looks ugly when printing. ps2epsi does not do 
 this. So I think I'll stick with it - or do you know a way around this?

Couldn't you just copy the %%BoundingBox line from the eps2eps output in
your input file?

Andre'

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



Re: Lamport's book

2001-09-14 Thread Jose Abilio Oliveira Matos

On Fri, Sep 14, 2001 at 10:05:13AM +0200, Roy Dragseth wrote:
[...]
 Of course, I still miss many of the nifty emacs features, marking
 blocks of text in one keystroke, transposing chars, words, lines, but
 all in all I'm more productive using lyx than typing LaTeX directly.

  Can't you mark blocks of text with one keystroke?
  
  With emacs key binding, or am I missing something regarding emacs?
  
 So, kudos to the LyX team!

  Taken on behalf of the LyX team. (Since today is friday no smile.)

 r.
 
 -- 
 
   The Computer Center, University of Tromsø, N-9037 TROMSØ, Norway.
 phone:+47 77 64 41 07, fax:+47 77 64 41 00
  Roy Dragseth, High Perfomance Computing System Administrator
Direct call: +47 77 64 62 56. email: [EMAIL PROTECTED]

-- 
José



Re: Lamport's book

2001-09-14 Thread Jose Abilio Oliveira Matos

On Fri, Sep 14, 2001 at 02:29:59PM +0100, Jose Abilio Oliveira Matos wrote:
   
  So, kudos to the LyX team!
 
   Taken on behalf of the LyX team. (Since today is friday no smile.)

  Replying to myself: Wrong list, I can smile again. :-) ;-)

-- 
José



RE: RE: About the LaTeX style the latex output

2001-09-14 Thread Adolfo Pachón
Title: verbatimtest



OK, very thanks!!

;-)


IEEEtrans.cls and LyX

2001-09-14 Thread Matias Freytes

Hello,
I've been using IEEEtrans.cls in Latex. Now I want to use
this class file in Lyx. How can I add this class file to LyX. I
also want to use IEEE bib style file (IEEE.bst) in LyX.

Any hints?

Thank you,
Matias.




LyX -- XML

2001-09-14 Thread Sasa Janiska

Hi!

I have to write some online course for the web.

Since I'm always writing in LyX, at the same time, I'd like to embrace XML
technology, and later publish course on the web (HTML), I'm interested
what would be the best procedure to get XML document from LyX source and
later convert it HTML for web publishing?

What tools are available to accomplish it?

I'm running SuSE Linux 7.1.

Sincerely,
Sasa




Solution: cropping an eps figure

2001-09-14 Thread Kaspar Pflugshaupt

After some mail exchange (thanks to the people who answered), I wrote a 
python script epscrop that does the conversion. It requires Python 1.5 and 
ps2epsi. It can be called from the command line with as many arguments as 
wished, e.g. cropeps *.eps and will convert all files in turn.

The conversion is done using ps2epsi. It does _not_ render text in 
illustrations to bitmaps, unlike gs. On the other hand, it adds a bitmap 
preview to the eps file. This preview is then stripped again.

A bit of a kludge, but it works here. If anybody else can use it, here goes:


file epscrop:

#!/usr/bin/python


from sys import argv
from os import system
from string import replace
import re

matchstr = re.compile(r%%BeginPreview.*%%EndPreview, re.DOTALL)
  # A regular expression matching a bitmap preview in epsi files

def strip_preview(filename):
  file = open(filename, 'r')
  text = file.read()   # read eps file
  file.close()
  newtext = matchstr.sub(, text) # replace preview by 
  file = open(filename, 'w')
  file.write(newtext)  # write back new file
  file.close()


for infile in argv[1:]:# loop through arguments
  outfile = replace(infile, .eps, [cr].eps)
  print Converting  + infile +  to  + outfile
  system(ps2epsi  + infile +   + outfile)
  strip_preview(outfile)
---


Cheers

Kaspar

-- 

Kaspar Pflugshaupt
Geobotanical Institute
ETH Zurich, Switzerland



Re: [tapia@cae.wisc.edu] Feedback from www.lyx.org

2001-09-14 Thread Dekel Tsur

On Thu, Sep 13, 2001 at 05:54:49PM +0200, I Wayan Warmada wrote:
 
 On Thu, 13 Sep 2001, Tuukka Toivonen wrote:
 
  Use word2x, you should be able to find it from freshmeat.net.
 
 word2x is probably only for word 6. It was difficult for converting the
 documents after this version. Try to export document as ASCII/text the
 import with lyx... The problem is when you have a lot of figures (mostly
 graphics produced with OLE2). The best way is to make new one after
 importing text into lyx.

wvware (http://www.wvware.com) should work with newer word files. 
If you use lyx 1.1.6, then after installing wvware, do edit-reconfigure in
lyx, and then you can import Word files by doing file-import-word.



Re: Equation numbering

2001-09-14 Thread Dekel Tsur

On Thu, Sep 13, 2001 at 11:45:26AM -0500, Juan Tapia wrote:
 Hi..is me again...
 
 When I numerate eqs I follow the procedure given in the 'user's guide'.
 However the result that I got is (1),(2),...and so on. How can I generate
 numeration like (2.1), (2.2)

Put 
  \numberwithin{equation}{section}
in the preamble and
enable AMS-math using the layout-document dialog (extra tab).



MikTeX CD

2001-09-14 Thread Herbert Voss

only for interest ...

http://www.miktex.org/cd/

Total MiKTEX CD-R
You can obtain the Total MiKTEX CD-R with or without 
registration. If you want to support the MiKTEX project, then please
consider registering MiKTEX. Registered MiKTEX users 
are entitled for email support for one year. 


MiKTEXDirect

The MiKTEXDirect CD-R contains the MiKTEX programs and a 
complete collection of free macro packages and fonts. You can
run the programs from the CD-R, or you can use the MiKTEX 
Setup Wizard to install selected components on a hard disk. 

The MiKTEXDirect CD-R will be available later this year. 



Herbert


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



Re: dropped capitals

2001-09-14 Thread Dekel Tsur

On Thu, Sep 13, 2001 at 09:22:56PM +0200, M. B. Schiekel wrote:

 according to Extended LyX Features documentation I installed the 
 package dropping from CTAN and used it this way:
\usepackage{ae,aecompl}  %in preamble
\usepackage{dropping}  %in preamble
\dropping{3}{D} %in text
 This works with latex, but gives the following errormsg with pdflatex:
! Undefined control sequence.
\bigdrop ...vance \wantedheight by \ht 1\findsize
   {#3}{#4}\hangindent=\wd 0...
l.109 \dropping{3}{D}
 
 Is there a way, to overcome this problem?

Why do you want to use pdflatex instead of using latex ?



Re: Equation numbering

2001-09-14 Thread Juan Tapia

what do you mean by preamble...

thanks

Juan A. Tapia

On Fri, 14 Sep 2001, Dekel Tsur wrote:

 On Thu, Sep 13, 2001 at 11:45:26AM -0500, Juan Tapia wrote:
  Hi..is me again...
 
  When I numerate eqs I follow the procedure given in the 'user's guide'.
  However the result that I got is (1),(2),...and so on. How can I generate
  numeration like (2.1), (2.2)

 Put
   \numberwithin{equation}{section}
 in the preamble and
 enable AMS-math using the layout-document dialog (extra tab).






Re: Figure float resizing

2001-09-14 Thread Dekel Tsur

On Fri, Sep 14, 2001 at 10:04:00AM +, Ivan Storgaard Vogelius wrote:
 Hi!
   I can see that in the figure box, but cant find something similar
 for figure float, that is: I get the figure in the right size, but the
 frame fills the whole page, and therefore the caption comes at the bottom
 of the page...

Your figure doesn't have a bounding box.
Use ps2epsi to fix it (or something similar).



Re: Full width tables

2001-09-14 Thread Dekel Tsur

On Fri, Sep 14, 2001 at 07:01:13AM +0200, Herbert Voss wrote:
 Nicholas Piper wrote:
  
  I don't quite understand what you are suggesting I try. Should I
  add \usepackage{tabularx} \renewenvironment{tabular} in the preample,
  and that will allow me to use the X column type ?
 
 there are still some problems with redefining the tabular
 environment. therefore write it in real latex (ert)

What problems ?

Nicholas, please send me a (small) example file with table, and I will see
if I can help you.



Re: Equation numbering

2001-09-14 Thread Dekel Tsur

On Fri, Sep 14, 2001 at 01:02:58PM -0500, Juan Tapia wrote:
 what do you mean by preamble...

Use the layout-latex preamble menu,
enter the text \numberwithin{equation}{section} in the dialog,
and press OK.



equation number cross reference

2001-09-14 Thread Mark Dowell

Hi,

how to I use cross reference so that equation numbers which I refer to
in my text are automatically updated, when I add in new display formulas
with math-number

Thanks

Mark



Re: Equation numbering

2001-09-14 Thread Juan Tapia

it's works!!

Juan A. Tapia

On Fri, 14 Sep 2001, Dekel Tsur wrote:

 On Fri, Sep 14, 2001 at 01:02:58PM -0500, Juan Tapia wrote:
  what do you mean by preamble...

 Use the layout-latex preamble menu,
 enter the text \numberwithin{equation}{section} in the dialog,
 and press OK.





Re: IEEEtrans.cls and LyX

2001-09-14 Thread Herbert Voss

Matias Freytes wrote:
 
 Hello,
 I've been using IEEEtrans.cls in Latex. Now I want to use
 this class file in Lyx. How can I add this class file to LyX. I
 also want to use IEEE bib style file (IEEE.bst) in LyX.

do you have the IEEEtran.layout in ~/.lyx/layouts or
in /usr/share/lyx/layouts ?

run from within lyx edit-reconfigure, than your
IEEE appears in layout-document-classes

Herbert


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



Re: IEEEtrans.cls and LyX

2001-09-14 Thread Matias Freytes

  I've been using IEEEtrans.cls in Latex. Now I want to use
  this class file in Lyx. How can I add this class file to LyX. I
  also want to use IEEE bib style file (IEEE.bst) in LyX.
 
 do you have the IEEEtran.layout in ~/.lyx/layouts or
 in /usr/share/lyx/layouts ?

I don't have any IEEEtran.layout, just the IEEEtran.cls.
 
 run from within lyx edit-reconfigure, than your
 IEEE appears in layout-document-classes

Matias.





Exact position of figures tables

2001-09-14 Thread Adolfo Pachón

Hi all!!

I need to control the exact position of figures  images in my
documents. I use the Extra flags hp, but the result is not that I'm
looking for.

¿Any suggestion?

thanks
-- 


Adolfo Pachón
(Director Desarrollos).




Re: dropped capitals

2001-09-14 Thread Kathryn Andersen

On Fri, Sep 14, 2001 at 08:22:00PM +0300, Dekel Tsur wrote:
 On Thu, Sep 13, 2001 at 09:22:56PM +0200, M. B. Schiekel wrote:
 
  according to Extended LyX Features documentation I installed the 
  package dropping from CTAN and used it this way:
 \usepackage{ae,aecompl}  %in preamble
 \usepackage{dropping}  %in preamble
 \dropping{3}{D} %in text
  This works with latex, but gives the following errormsg with pdflatex:
 ! Undefined control sequence.
 \bigdrop ...vance \wantedheight by \ht 1\findsize
{#3}{#4}\hangindent=\wd 0...
 l.109 \dropping{3}{D}
  
  Is there a way, to overcome this problem?
 
 Why do you want to use pdflatex instead of using latex ?

Er, because it produces good PDF output with less fuss?
That's my guess, anyway.

Kathryn Andersen
-=-=-=-=-=-=-=-=-
It's only Neutron.  We call him that because he's so positive.
-- This Island Earth
-- 
 _--_|\ | 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: Exact position of figures tables

2001-09-14 Thread Herbert Voss

Adolfo Pachón wrote:
 
 I need to control the exact position of figures  images in my
 documents. I use the Extra flags hp, but the result is not that I'm
 looking for.

if you do not want to have floats, than use package nonfloat.
but it's better to let latex do all this stuff. you can
try a !hp in your placement field.

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



Re: Lamport's book

2001-09-14 Thread Roy Dragseth

"Piotr R. Sidorowicz" <[EMAIL PROTECTED]> writes:

> Out of curiosity, if you're going to go through the trouble of learning
> LaTeX, why bother using LyX? ;)
> 

I see the smiley, but can't resist.  

Here is my 10cents, or øre as we would say in Norway.

I turned to LyX after writing LaTeX directly for many years, I wrote
my master in applied math in LaTeX.  

LyX seems to solve my main problem with LaTeX, I constantly found
myself tracking missing } and $ as I prefer to type most of the text
uninterrupted of typesetting/updating the dvi file, as I need to get
my (bright?) ideas in writing before I forget them.  I'm also getting
a closer feel to the text and the equations as I see what it might
look like right away.

Of course, I still miss many of the nifty emacs features, marking
blocks of text in one keystroke, transposing chars, words, lines, but
all in all I'm more productive using lyx than typing LaTeX directly.

So, kudos to the LyX team!

r.

-- 

  The Computer Center, University of Tromsø, N-9037 TROMSØ, Norway.
  phone:+47 77 64 41 07, fax:+47 77 64 41 00
 Roy Dragseth, High Perfomance Computing System Administrator
 Direct call: +47 77 64 62 56. email: [EMAIL PROTECTED]



cropping an eps figure

2001-09-14 Thread Kaspar Pflugshaupt

Hello,

I'm using Kontour (from KDE 2.2) to produce an EPS illustration for my 
article written in Lyx. Kontour doesn't seem to be able (yet?) to generate an 
EPS with the bounding box just around the figure; I always get a full A4 
size, thus a lot of whitespace around my illustration.

Can I crop the image after inserting it into Lyx? Or is there another piece 
of software that allows me to do this?

Thanks for any hint

Kaspar Pflugshaupt

-- 

Kaspar Pflugshaupt
Geobotanical Institute
ETH Zurich, Switzerland



Re: Re: [tapia@cae.wisc.edu] Feedback from www.lyx.org

2001-09-14 Thread Guenter Milde

On Thu, 13 Sep 2001 17:55:28 +0300 wrote Dekel Tsur <[EMAIL PROTECTED]>:

> On Thu, Sep 13, 2001 at 12:23:05PM +0300, Tuukka Toivonen wrote:
> > >I have eps files but their margin are too big
> > 
> > You could use ps2eps program. As far as I understand, that
> > computes the bounding box of a postscript file by actually
> > rasterizing it and checking where the image ends. 
> > ...
> 
> You can also try ps2epsi that comes with ghostscript.
> 

Unfortunately, ps2epsi will add a bitmap representation (thumbnail) of the
content. 

 ps2epsi is a utility, based on Ghostscript, which takes an input postscript
 file and generates a new output file which conforms to Adobe's 'Encapsulated
 Postscript Interchange' or EPSI format. This is a special form of encapsulated
 postscript (EPS) which adds a bitmap version of the final displayed page (in
 the form of postscript comments) to the beginning of the file. This bitmap
 can be used by programs which understand EPSI (usually word processors or
 DTP programs) to give a preview version of the postscript on screen. The
 displayed quality is often not very good (eg. low resolution, no colours),
 but the final printed version uses the 'real' postscript, and thus has the
 normal full postscript quality.
 
As LyX doesnot need/use this bitmap for preview, it is better not to enlarge
your files by this.

You can also use the attached script eps2eps (if you have ghostscript).
Put it somewhere in your PATH and then the command
   eps2eps MyToLargeGraphik.eps
will fix your file, i.e. remove the too big margins.

 Guenter


#!/bin/sh
# eps2eps -- in order to correct bounding box
# $Id: eps2eps,v 1.3 2000/10/29 23:38:18 matej Exp $
# $Log: eps2eps,v $
# Revision 1.3  2000/10/29 23:38:18  matej
# TMP setting in true side of if.
#
# Revision 1.2  2000/10/29 23:35:34  matej
# Correction of if command -- shit!
#
# Revision 1.1  2000/10/29 23:28:59  matej
# Initial revision
#

if [ -z $2 ]
then
 TMP=` mktemp /tmp/eps2eps.XX `
 cp $1 $TMP
 INPUT=$TMP
 OUTPUT=$1
else
INPUT=$1
OUTPUT=$2
fi
gs -dBATCH -dNOPAUSE -sDEVICE=epswrite -sOutputFile=$OUTPUT $INPUT
trap "rm $TMP* 2>/dev/null" 0
#
# end of script eps2eps

--
[EMAIL PROTECTED]





Re: cropping an eps figure

2001-09-14 Thread Peter Suetterlin

Kaspar Pflugshaupt wrote:
> Hello,
> 
> I'm using Kontour (from KDE 2.2) to produce an EPS illustration for my 
> article written in Lyx. Kontour doesn't seem to be able (yet?) to generate an 
> EPS with the bounding box just around the figure; I always get a full A4 
> size, thus a lot of whitespace around my illustration.
> 
> Can I crop the image after inserting it into Lyx? Or is there another piece 
> of software that allows me to do this?

If you want to change the eps look for epsffit.

The graphics package can also handle this.  Have a look at
/usr/share/texmf/doc/latex/graphics/grfguide.ps

  Pit

-- 
Peter "Pit" Suetterlin  http://www.uni-sw.gwdg.de/~pit
Universitaets-Sternwarte Goettingen
Tel.: +49 551 39-5048   [EMAIL PROTECTED]



Re: figures not rendering, Debian - solution

2001-09-14 Thread Markus Mohr

> > 1) replace package 'gs-aladdin' (6.50-5) with 'gs' (5.50-8)
> 
> this is because of a ghostscript bug, fixed in more recent versions.
Yup, I know, but there is currently no newer package than that in
Debian/unstable.
 
> > 2) type 'xhost +' or just 'xhost +' (just '+' opens your
> > display to everyone!)
> 
> this apparently doesn't always work to fix the auth errors.
Hmm, sorry, must have overread that. I didn't remember people coming
back after asking that question. But better a solution for most than for
none. :)

ciao
marksu



Re: insert a cross-reference in the subscript of an equation

2001-09-14 Thread Andre Poenitz

On Fri, Sep 14, 2001 at 10:01:53AM +, Alexis Wiasmitinow wrote:
> Hi folks
> 
> if I have an equation which starts with r_2=... and the 2 is a subscript 
> which referres to a equation mentioned above. I have the equation labeled, 
> but how do I insert the reference to the label in the subscript?

Try \ref{your_label_for_eq_2} in Red there.

If this does not help, put a  \def\refii{\ref{your_label_for_eq_2} in your
preamble and use \refii in the formula.

Andre'

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



Re: About the LaTeX style & the latex output

2001-09-14 Thread Guenter Milde

On 13 Sep 2001 22:06:39 +0200 wrote Adolfo Pachón <[EMAIL PROTECTED]>:

> Hi all!!
> 
> I'm a LyX document, with this text marked as LaTeX style in a article
> class:
> 
> [global]
>option 1
>option 2
>...
>option N
> 
> Well, when I export to .tex, the source shows like this:
> 
> [global]
> 
>option 1
> 
>option 2
> 
>...
> 
>option N
> 
> 
> Mi question is:
> 
> How can I to order the .tex export but without these linefeeds?
> 
> Thanks.

You know, that LaTeX will output 

   [global] option 1 option 2 ... option N
   
if the .tex would look exactly like your .lyx example? 

Maybe you want newline instead of new paragraph: In LyX, separate the lines
not by pressing Enter but by Ctrl-Enter. In .tex, this becomes 
  [global]\\
option 1\\
  ...

By "text marked as LaTeX style", do you really mean ERT (red text going to
latex "as is")? 

Why don't you use a nested list (see the user-guide for instructions) or
LyX-Code (with Ctrl-enter to get a new line)?

Guenter

--
[EMAIL PROTECTED]




Re: Figure float resizing

2001-09-14 Thread Guenter Milde

On Thu, 13 Sep 2001 20:14:24 +0200 wrote Ivan Storgaard Vogelius <[EMAIL PROTECTED]>:

> Hi
> How do I resize a figure float, so it doesn't fill the whole page?

LyX is very user friendly regarding the scaling of eps-figures.  Click at
the figure and in the popup you can set width and hight to something other
than standard (my favourite is setting width to some percentage of the page
and let hight as standard)

Guenter

--
[EMAIL PROTECTED]




Re: cropping an eps figure

2001-09-14 Thread Yannick Patois

On Fri, 14 Sep 2001, Kaspar Pflugshaupt wrote:

> Hello,
>
> I'm using Kontour (from KDE 2.2) to produce an EPS illustration for my
> article written in Lyx. Kontour doesn't seem to be able (yet?) to generate an
> EPS with the bounding box just around the figure; I always get a full A4
> size, thus a lot of whitespace around my illustration.
>
> Can I crop the image after inserting it into Lyx? Or is there another piece
> of software that allows me to do this?

You can just use vi (or any other text editor, but for this kind of work
I think vi is the most adapted).
The begining of an EPS file looks like:
%!PS-Adobe-2.0 EPSF-2.0
%%BoundingBox:  0 0 567 539

The four numbers after '%%BoundingBox' are the limits of the image (x1 y1
x2 y2). You just play a bit with it, using 'ghostview' or any other
previewer to see what's going on. Usually a few try are enough to get
what you like :)

Yannick





RE: About the LaTeX style & the latex output

2001-09-14 Thread Adolfo Pachón

>
> You know, that LaTeX will output
>
>[global] option 1 option 2 ... option N

The LaTeX ouput is:

line
BLANK LINE
lin
BLANK LINE
...
and so on


> By "text marked as LaTeX style", do you really mean ERT (red text going to
> latex "as is")?
Style LaTeX, not the CTRL+L option

> Why don't you use a nested list (see the user-guide for instructions) or
> LyX-Code (with Ctrl-enter to get a new line)?

My really problem is the output. I write in Lyx one text that is an source
code. I want to traduce it to  in HTML ouput. The LyX-Code style
output is . This is that really I want.

thanks for your response




Re: Figure float resizing

2001-09-14 Thread Ivan Storgaard Vogelius

Hi!
I can see that in the figure box, but cant find something similar
for figure float, that is: I get the figure in the right size, but the
frame fills the whole page, and therefore the caption comes at the bottom
of the page...
Thanks 
Ivan

On Fri, 14 Sep 2001, Guenter Milde wrote:

> On Thu, 13 Sep 2001 20:14:24 +0200 wrote Ivan Storgaard Vogelius <[EMAIL PROTECTED]>:
> 
> > Hi
> > How do I resize a figure float, so it doesn't fill the whole page?
> 
> LyX is very user friendly regarding the scaling of eps-figures.  Click at
> the figure and in the popup you can set width and hight to something other
> than standard (my favourite is setting width to some percentage of the page
> and let hight as standard)
> 
> Guenter
> 
> --
> [EMAIL PROTECTED]
> 
> 

---
Ivan Storgaard Vogelius Office 520-621
Institute of Physics and Astronomy  Institute Tel: (45) 8942-3667
University of AarhusInstitute FAX: (45) 8612-0740
DK-8000 Aarhus CPrivate Tel. : (45) 86271316 
Denmark.  





Re: cropping an eps figure

2001-09-14 Thread Kaspar Pflugshaupt

On Friday, 14 September 2001 11:48, Guenter Milde wrote:  
  
> Use the eps2eps script from my recent reply to the list (under the not very
> intelligent subject
> Re: Re: [[EMAIL PROTECTED]] Feedback from www.lyx.org
> )
>
> Guenter

I tried to use it, but it turned up the following error:

pflugs@aconitum:~/Documents/Artikel/Article_Statistics/fig > eps2eps 
ExperimentSetup.eps
/home/pflugs/bin/eps2eps:  : command not found
/home/pflugs/bin/eps2eps:  : command not found
/home/pflugs/bin/eps2eps:  : command not found
/home/pflugs/bin/eps2eps:  : command not found
GNU Ghostscript 5.50 (2000-2-13)
Copyright (C) 1998 Aladdin Enterprises, Menlo Park, CA.  All rights reserved.
This software comes with NO WARRANTY: see the file COPYING for details.

This seems strange, since the script just calls the gs command, which of 
course is present and working...

Meanwhile, I've had success with ps2epsi, although the resulting file is 
larger than necessary (due to the preview). 

Thanks for all the hints!

Kaspar

-- 

Kaspar Pflugshaupt
Geobotanical Institute
ETH Zurich, Switzerland



Re: Figure float resizing

2001-09-14 Thread Renaud MICHEL

Le Vendredi 14 Septembre 2001 12:04, vous avez écrit :
> Hi!
>   I can see that in the figure box, but cant find something similar
> for figure float, that is: I get the figure in the right size, but the
> frame fills the whole page, and therefore the caption comes at the bottom
> of the page...

I think I see what you need, it is the floatflt package.
Put your cursor just on the side of the figure (so in the same paragraph, 
within the float) then select the paragraph dialog and in the second tab 
there is an option called "Floatflt", select it and set a correct width 
(never used it personnally, so don't really know how to set it) search in the 
documentation for it, it is in the extended manual (file extended.lyx).
I think that should do what you want.

I did the same thing but for non-floating figures with the picins package.

-- 
 Pour les spams tu es libre de ne pas les télécharger, comme tu es
 libre même de ne pas lire les news, ou de les lire via le web avec
 une recherche qui ne selectionnera que ce qui t'intéresse
 -+- Merdenbarre in GNU - Un : je chie partout, deux : tu nettoies -+-

Renaud MICHEL



Re: Re: cropping an eps figure

2001-09-14 Thread Kaspar Pflugshaupt

On Friday, 14 September 2001 13:22, Guenter Milde wrote:  
  
> Looking at your output and the script-file, I suppose you have problems
> with the commands _before_ the call to gs. Possibly you don't have `mktemp`
> on your system. You can try, whether it works if you give a different
> output file name, e.g.
>
> eps2eps ExperimentSetup.eps ExperimentSetup-cropped.eps

That worked, thanks.

But there's another issue with eps2eps: Text inside my illustrations gets 
converted to bitmaps, which looks ugly when printing. ps2epsi does not do 
this. So I think I'll stick with it - or do you know a way around this?

Cheers

Kaspar

-- 

Kaspar Pflugshaupt
Geobotanical Institute
ETH Zurich, Switzerland



Re: Re: cropping an eps figure

2001-09-14 Thread Andre Poenitz

On Fri, Sep 14, 2001 at 03:04:55PM +0200, Kaspar Pflugshaupt wrote:
> But there's another issue with eps2eps: Text inside my illustrations gets 
> converted to bitmaps, which looks ugly when printing. ps2epsi does not do 
> this. So I think I'll stick with it - or do you know a way around this?

Couldn't you just copy the %%BoundingBox line from the eps2eps output in
your input file?

Andre'

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



Re: Lamport's book

2001-09-14 Thread Jose Abilio Oliveira Matos

On Fri, Sep 14, 2001 at 10:05:13AM +0200, Roy Dragseth wrote:
[...]
> Of course, I still miss many of the nifty emacs features, marking
> blocks of text in one keystroke, transposing chars, words, lines, but
> all in all I'm more productive using lyx than typing LaTeX directly.

  Can't you mark blocks of text with one keystroke?
  
  With emacs key binding, or am I missing something regarding emacs?
  
> So, kudos to the LyX team!

  Taken on behalf of the LyX team. (Since today is friday no smile.)

> r.
> 
> -- 
> 
>   The Computer Center, University of Tromsø, N-9037 TROMSØ, Norway.
> phone:+47 77 64 41 07, fax:+47 77 64 41 00
>  Roy Dragseth, High Perfomance Computing System Administrator
>Direct call: +47 77 64 62 56. email: [EMAIL PROTECTED]

-- 
José



Re: Lamport's book

2001-09-14 Thread Jose Abilio Oliveira Matos

On Fri, Sep 14, 2001 at 02:29:59PM +0100, Jose Abilio Oliveira Matos wrote:
>   
> > So, kudos to the LyX team!
> 
>   Taken on behalf of the LyX team. (Since today is friday no smile.)

  Replying to myself: Wrong list, I can smile again. :-) ;-)

-- 
José



RE: RE: About the LaTeX style & the latex output

2001-09-14 Thread Adolfo Pachón
Title: verbatimtest



OK, very thanks!!
 
;-)


IEEEtrans.cls and LyX

2001-09-14 Thread Matias Freytes

Hello,
I've been using IEEEtrans.cls in Latex. Now I want to use
this class file in Lyx. How can I "add" this class file to LyX. I
also want to use IEEE bib style file (IEEE.bst) in LyX.

Any hints?

Thank you,
Matias.




LyX <--> XML

2001-09-14 Thread Sasa Janiska

Hi!

I have to write some online course for the web.

Since I'm always writing in LyX, at the same time, I'd like to embrace XML
technology, and later publish course on the web (HTML), I'm interested
what would be the best procedure to get XML document from LyX source and
later convert it HTML for web publishing?

What tools are available to accomplish it?

I'm running SuSE Linux 7.1.

Sincerely,
Sasa




Solution: cropping an eps figure

2001-09-14 Thread Kaspar Pflugshaupt

After some mail exchange (thanks to the people who answered), I wrote a 
python script "epscrop" that does the conversion. It requires Python >1.5 and 
ps2epsi. It can be called from the command line with as many arguments as 
wished, e.g. "cropeps *.eps" and will convert all files in turn.

The conversion is done using ps2epsi. It does _not_ render text in 
illustrations to bitmaps, unlike gs. On the other hand, it adds a bitmap 
preview to the eps file. This preview is then stripped again.

A bit of a kludge, but it works here. If anybody else can use it, here goes:


file epscrop:

#!/usr/bin/python


from sys import argv
from os import system
from string import replace
import re

matchstr = re.compile(r"%%BeginPreview.*%%EndPreview", re.DOTALL)
  # A regular expression matching a bitmap preview in epsi files

def strip_preview(filename):
  file = open(filename, 'r')
  text = file.read()   # read eps file
  file.close()
  newtext = matchstr.sub("", text) # replace preview by ""
  file = open(filename, 'w')
  file.write(newtext)  # write back new file
  file.close()


for infile in argv[1:]:# loop through arguments
  outfile = replace(infile, ".eps", "[cr].eps")
  print "Converting " + infile + " to " + outfile
  system("ps2epsi " + infile + " " + outfile)
  strip_preview(outfile)
---


Cheers

Kaspar

-- 

Kaspar Pflugshaupt
Geobotanical Institute
ETH Zurich, Switzerland



Re: [tapia@cae.wisc.edu] Feedback from www.lyx.org

2001-09-14 Thread Dekel Tsur

On Thu, Sep 13, 2001 at 05:54:49PM +0200, I Wayan Warmada wrote:
> 
> On Thu, 13 Sep 2001, Tuukka Toivonen wrote:
> 
> > Use word2x, you should be able to find it from freshmeat.net.
> 
> word2x is probably only for word 6. It was difficult for converting the
> documents after this version. Try to export document as ASCII/text the
> import with lyx... The problem is when you have a lot of figures (mostly
> graphics produced with OLE2). The best way is to make new one after
> importing text into lyx.

wvware (http://www.wvware.com) should work with newer word files. 
If you use lyx 1.1.6, then after installing wvware, do edit->reconfigure in
lyx, and then you can import Word files by doing file->import->word.



Re: Equation numbering

2001-09-14 Thread Dekel Tsur

On Thu, Sep 13, 2001 at 11:45:26AM -0500, Juan Tapia wrote:
> Hi..is me again...
> 
> When I numerate eqs I follow the procedure given in the 'user's guide'.
> However the result that I got is (1),(2),...and so on. How can I generate
> numeration like (2.1), (2.2)

Put 
  \numberwithin{equation}{section}
in the preamble and
enable AMS-math using the layout->document dialog (extra tab).



MikTeX CD

2001-09-14 Thread Herbert Voss

only for interest ...

http://www.miktex.org/cd/

Total MiKTEX CD-R
You can obtain the Total MiKTEX CD-R with or without 
registration. If you want to support the MiKTEX project, then please
consider registering MiKTEX. Registered MiKTEX users 
are entitled for email support for one year. 


MiKTEXDirect

The MiKTEXDirect CD-R contains the MiKTEX programs and a 
complete collection of free macro packages and fonts. You can
run the programs from the CD-R, or you can use the MiKTEX 
Setup Wizard to install selected components on a hard disk. 

The MiKTEXDirect CD-R will be available later this year. 



Herbert


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



Re: dropped capitals

2001-09-14 Thread Dekel Tsur

On Thu, Sep 13, 2001 at 09:22:56PM +0200, M. B. Schiekel wrote:

> according to "Extended LyX Features" documentation I installed the 
> package "dropping" from CTAN and used it this way:
>\usepackage{ae,aecompl}  %in preamble
>\usepackage{dropping}  %in preamble
>\dropping{3}{D} %in text
> This works with latex, but gives the following errormsg with pdflatex:
>! Undefined control sequence.
>\bigdrop ...vance \wantedheight by \ht 1\findsize
>   {#3}{#4}\hangindent=\wd 0...
>l.109 \dropping{3}{D}
> 
> Is there a way, to overcome this problem?

Why do you want to use pdflatex instead of using latex ?



Re: Equation numbering

2001-09-14 Thread Juan Tapia

what do you mean by preamble...

thanks

Juan A. Tapia

On Fri, 14 Sep 2001, Dekel Tsur wrote:

> On Thu, Sep 13, 2001 at 11:45:26AM -0500, Juan Tapia wrote:
> > Hi..is me again...
> >
> > When I numerate eqs I follow the procedure given in the 'user's guide'.
> > However the result that I got is (1),(2),...and so on. How can I generate
> > numeration like (2.1), (2.2)
>
> Put
>   \numberwithin{equation}{section}
> in the preamble and
> enable AMS-math using the layout->document dialog (extra tab).
>





Re: Figure float resizing

2001-09-14 Thread Dekel Tsur

On Fri, Sep 14, 2001 at 10:04:00AM +, Ivan Storgaard Vogelius wrote:
> Hi!
>   I can see that in the figure box, but cant find something similar
> for figure float, that is: I get the figure in the right size, but the
> frame fills the whole page, and therefore the caption comes at the bottom
> of the page...

Your figure doesn't have a bounding box.
Use ps2epsi to fix it (or something similar).



Re: Full width tables

2001-09-14 Thread Dekel Tsur

On Fri, Sep 14, 2001 at 07:01:13AM +0200, Herbert Voss wrote:
> Nicholas Piper wrote:
> > 
> > I don't quite understand what you are suggesting I try. Should I
> > add \usepackage{tabularx} \renewenvironment{tabular} in the preample,
> > and that will allow me to use the "X" column type ?
> 
> there are still some problems with redefining the tabular
> environment. therefore write it in real latex (ert)

What problems ?

Nicholas, please send me a (small) example file with table, and I will see
if I can help you.



  1   2   >