tex to quarkexpress

2002-11-08 Thread Jeroen Vriesman
Hi,

Does anyone know about a way to make quarkexpress and latex communicate?

Is there a plugin for quarkexpress to read tex?

Or is there a tex exportable format, usefull for quarkxpress?

Cheers,
Jeroen.



Re: Which drawing program?

2002-11-08 Thread Christian Ridderström
On Thu, 7 Nov 2002, Chris Carlen wrote:

 Hi folks:
 
 I am convinced there is something very wrong with .eps exported from 
 OpenOffice.  Which brings us to my first question:
 
 1. Does anyone here use OpenOffice to produce figures to import into 
 Lyx, and if so how do you generate the .eps files?
 

I used StarOffice once and had the same problem as you. The workaround I 
came up with was to export the .eps file twice in a row from 
StarOffice... then it worked

 2.  What program is used most often, and what might you recommend?
 
I use tgif, and I agree that the interface is a bit crude to say the least 
:-)  It works for me however, and I especially like being able to do 
superscripts and subscripts with keyboard shortcuts in the text.
So even though there is a method to include equations written in latex, I 
haven't had to do that yet.

At the TGif homepage:
http://bourbon.usc.edu:8001/tgif/
you can find documentation and FAQ.

Here's an example of an equation you can write with a tutorial of how to 
write it in pure text-mode:
http://bourbon.usc.edu:8001/tgif/faq/supsub.htmlhttp://bourbon.usc.edu:8001/tgif/faq/supsub.html

For including latex equations, check these URLs:
http://bourbon.usc.edu:8001/tgif/faq/latex.html
http://bourbon.usc.edu:8001/tgif/faq/eq4xpm.html
http://bourbon.usc.edu:8001/tgif/faq/customeq4.html

/Christian

-- 
Christian Ridderström, +46-8-790 91 37   http://www.md.kth.se/~chr
Mechatronics lab, Dept. of Machine Designhttp://www.md.kth.se






Re: Which drawing program?

2002-11-08 Thread Andre Poenitz
On Thu, Nov 07, 2002 at 05:48:54PM -0800, Chris Carlen wrote:
 1. Does anyone here use OpenOffice to produce figures to import into 
 Lyx, and if so how do you generate the .eps files?

Not me. Maybe you could send us one of the .eps so we can have a look how
wrong they are...

 My interest at this point focusses on Tgif and Xfig.  Honestly I would 
 much prefer to use OOo Draw, because I am used to it and I will still 
 use OOo for other things in which the integration of the Draw program 
 with the other modules is useful.  Xfig and Tgif seem a little bit 
 crude, coming from the dark ages of UNIX GUI interfaces, so it seems. 
 But I understand as well that they are nonetheless very good drawing 
 programs.
 
 The question then is:
 
 2.  What program is used most often, and what might you recommend?

I use xfig almost exclusively.
 
 Finally, there is one trick I'd like to do that was quite easy in OOo, 
 and that is to include equations in a figure.  I suppose with something 
 like xfig I will have to hand format text objects into the arrangement I 
 want to do this.  The equations I need in a figure are usually simple 
 fractions with a couple variables in the num. and denoms.

Either use the combined eps/tex export of xfig and set the formulas to
special text  or  use psfrag.

Andre'

-- 
Those who desire to give up Freedom in order to gain Security,
will not have, nor do they deserve, either one. (T. Jefferson)



Re: Bug report: LyX 1.2.1 delete spaces in labels when loading a saved document

2002-11-08 Thread Andre Poenitz
On Thu, Nov 07, 2002 at 06:44:28PM +0200, Yossi Weinstein wrote:
 Hi there,
 I have many equation labels written as sentences with spaces (i.e. 
 \label{eq. x axis}). when I save the document the output file contains 
 these spaces, however when I load the document again the spaces are 
 deleted (i.e. \label{eq.xaxis}). Now all my references to math equations 
 are unresolved (i.e. the dvi shows two question marks instead of the 
 equation numbers). This is a major problem for me since my masters 
 thesis is written in LyX and I intend(ed) to submit it next week.
 
 I'd appresiate all the help I can get to solve this thing.

The quick way is to replace your labels and use e.g. the more ugly but
safe  \label{eq-x-axis} (don't use underscores either).

As this is my fault: Sorry for the inconvinience.

Andre'

-- 
Those who desire to give up Freedom in order to gain Security,
will not have, nor do they deserve, either one. (T. Jefferson)



Re: Which drawing program?

2002-11-08 Thread Milos Komarcevic
Xfig does the job for me, it just takes a bit of 
time getting used to. Haven't tried Dia or Sodipodi yet,
but they also look promising.

As far as equations in figures go, I use psfrag:
http://www.ctan.org/tex-archive/help/Catalogue/entries/psfrag.html
It lets you replace any text in the eps figure with any 
latex code with some ERT in the figure float in Lyx. 

The only drawback with psfrag is when you want PDF output: 
you have to do the latex-dvi-ps-pdf route, which means 
no hyperlinks. I don't think you could do pdflatex or dvipdfm.
I wish that someone could prove me wrong.

Milos


-- 
Milos Komarcevic
Photonics and Sensors Group
Cambridge University Engineering Department
Trumpington Street
Cambridge  CB2 1PZ
UK

Tel: +44 1223 339762
Fax: +44 1223 765268
Email: [EMAIL PROTECTED]



Re: Which drawing program?

2002-11-08 Thread Lucian Muresan
On 11/8/2002 11:55 AM, Milos Komarcevic wrote:


Xfig does the job for me, it just takes a bit of
time getting used to. Haven't tried Dia or Sodipodi yet,
but they also look promising.

As far as equations in figures go, I use psfrag:
http://www.ctan.org/tex-archive/help/Catalogue/entries/psfrag.html
It lets you replace any text in the eps figure with any
latex code with some ERT in the figure float in Lyx.

The only drawback with psfrag is when you want PDF output:
you have to do the latex-dvi-ps-pdf route, which means
no hyperlinks. I don't think you could do pdflatex or dvipdfm.
I wish that someone could prove me wrong.

Milos



I'm using the package ps2pdf and hyperlinks work on this route.

Lucian




Re: Docbook problems

2002-11-08 Thread José Abílio Oliveira Matos
On Tuesday 05 November 2002 17:18, Matej Cepl wrote:
 Hi,

  Hi,
I'm sorry for replaying so late but I have been busy before.

 I am a total newbie in Docbook area, so I have tried to create
 a short document (with rich structure) to try it. However,
 I do not seem to be able to make .sgml file which would not make
 nsgmls -s complain. In the attached file nsgmls always complains
 that:

 nsgmls:moral_tmp.sgml:5:166:E: character data is not allowed here
 nsgmls:moral_tmp.sgml:5:184:E: end tag for AUTHOR which is not finished

  For docbook the name is not enough. It needs to be

firstnameAdam/firstname surnameSmith/surname

  Where firstname and surname (also with closing tags need to be in ert.

  Look for the docbook-article template. You will see this example there.

 Could anybody tell me, what's wrong?

 Thanks,

   Matej

-- 
José Abílio



Re: Which drawing program?

2002-11-08 Thread Thorsten Fischer
Am Freitag, 8. November 2002 02:48 schrieb Chris Carlen:
 1. Does anyone here use OpenOffice to produce figures to import into
 Lyx, and if so how do you generate the .eps files?

I had the same problem. You normally can fix the .eps files using ps2ps or 
psresize fo the pstools package. This worked fine for me.

Thorsten






Re: Howto Appendix

2002-11-08 Thread Christian Ridderström
To add an appendix in a book class, create a new chapter and then go to 
the menu Layout - Start appendix here

/Christian

-- 
Christian Ridderström, +46-8-790 91 37   http://www.md.kth.se/~chr
Mechatronics lab, Dept. of Machine Designhttp://www.md.kth.se






Re: Which drawing program?

2002-11-08 Thread Nirmal Govind
 
 Either use the combined eps/tex export of xfig and set the formulas
 tospecial text  or  use psfrag.
 

Why not just include the xfig figure with the math (with the special
text option turned on) directly into LyX (Insert-External
Material-selectxfig) and leave it to LyX to do the rest of the work
converting to the appropriate format etc.? This is what I normally do
with xfig figures and it works well..

nirmal





Re: Which drawing program?

2002-11-08 Thread Dekel Tsur
On Thu, Nov 07, 2002 at 05:48:54PM -0800, Chris Carlen wrote:
 
 Trouble is, I have to do drawings too, and I have discovered that I 
 can't import the .eps files exported by OpenOffice Draw into Lyx. 
 Furthermore, the .eps files crash the ghostscript interpreter when 
 running most of the commands I've tried to use to fix the problem, like 
 eps2eps, epstool, etc.

Which version of ghostscript do you use ?
Did you try ps2eps or purifyeps ?

 Finally, there is one trick I'd like to do that was quite easy in OOo, 
 and that is to include equations in a figure.  I suppose with something 
 like xfig I will have to hand format text objects into the arrangement I 
 want to do this.  The equations I need in a figure are usually simple 
 fractions with a couple variables in the num. and denoms.

Your options are:
1. (almost) Any drawing program + psfrag
2. xfig and export to Combined PS+Latex
3. TGIF and embed equations generated by latex
4. Sketch and embed equations generated by latex using the
SketchLatex plugin:
   http://www.2pi.info/latex/sketchlatex/

The 4th option might be the easiest one.



Re: automatic float rotate if it is on one page?

2002-11-08 Thread Dekel Tsur
On Mon, Nov 04, 2002 at 10:38:20AM -0800, Max Bian wrote:
 Is there a way to automatically rotate a figure or table in a float 90
 degree when it is placed on a page alone?
 
 It would be perfect if it is configurable, because there are floats
 that should not be rotated even if placed on a page along.

It is theoretically possible, but I'm unaware of any package that currently
does this.
You can manually rotate the floats using rotating.sty



Re: Which drawing program?

2002-11-08 Thread Kirk R. Wythers
On Thu, 2002-11-07 at 19:48, Chris Carlen wrote:
 Hi folks:
 
 I abandoned effort recently on a document that I was preparing in 
 OpenOffice mostly because the equations looked really awful. 
 Furthermore, I failed at convincing anybody in the OpenOffice/StarOffice 
 world that they are not up to the standards that I think are needed for 
 professional publication.

I went through the same thing... the problem is that when you focus on
compat with Word, you also inherit Word's failings...

 
 Then I tried Lyx.  The equations I was able to produce within 15 minutes 
 of working through that part of the tutorial were so stunningly 
 beautiful, that I was immediately convinced that I must learn to use 
 Lyx/Latex.

Yup... I came to the same conclusion

 
 Trouble is, I have to do drawings too, and I have discovered that I 
 can't import the .eps files exported by OpenOffice Draw into Lyx. 
 Furthermore, the .eps files crash the ghostscript interpreter when 
 running most of the commands I've tried to use to fix the problem, like 
 eps2eps, epstool, etc.
 
 I am convinced there is something very wrong with .eps exported from 
 OpenOffice.  Which brings us to my first question:
 
 1. Does anyone here use OpenOffice to produce figures to import into 
 Lyx, and if so how do you generate the .eps files?
 
 Since I have had so much trouble trying to get my drawings done in OOo 
 to be useable in Lyx, I think I might just give up and draw them over 
 again in a new program.  I have tried drawing some scribbles in Xfig, 
 and exported them to Lyx successfully on the first try, in contrast to 
 the hours I've wasted feeding the .eps from OOo through sequences of 
 commands to no avail.
 
 My interest at this point focusses on Tgif and Xfig.  Honestly I would 
 much prefer to use OOo Draw, because I am used to it and I will still 
 use OOo for other things in which the integration of the Draw program 
 with the other modules is useful.  Xfig and Tgif seem a little bit 
 crude, coming from the dark ages of UNIX GUI interfaces, so it seems. 
 But I understand as well that they are nonetheless very good drawing 
 programs.
 
 The question then is:
 
 2.  What program is used most often, and what might you recommend?

I use programs for figures: (1) xmgrace for scientific plotting and gimp
for drawing. They both produce wonderful eps output that lyx has no
trouble with

 
 I have noticed that my SuSE 8.1 distribution of Linux has an abundance 
 of documentation for xfig, but there doesn't seem to be anything for 
 tgif.  This might move me in the direction of xfig.
 
 Finally, there is one trick I'd like to do that was quite easy in OOo, 
 and that is to include equations in a figure.  I suppose with something 
 like xfig I will have to hand format text objects into the arrangement I 
 want to do this.  The equations I need in a figure are usually simple 
 fractions with a couple variables in the num. and denoms.
 
 Any tips on how the masters do this trick?
 
 Thanks for comments.
 
 Good day!
 
 
 
 
 
 
 -- 
 
 Christopher R. Carlen
 Principal Laser/Optical Technologist
 Sandia National Laboratories CA USA
 [EMAIL PROTECTED]
 
 
-- 
Kirk R. Wythers email: [EMAIL PROTECTED]
University of Minnesota tel: 612.625.2261
Department of Forest Resources  fax: 612.625.5212
Saint Paul, MN 55108





Re: Lyx Printing to HP LJ2

2002-11-08 Thread Dekel Tsur
On Fri, Nov 01, 2002 at 05:23:55PM -0700, Reed Loefgren wrote:
 
 2. Yes, exporting as a .dvi and then running it through dvips works
 beautifully. Can't this be set up in Lyx's preferences, as if it was going
 to an inkjet? I'm going through the manual again to see what I might have
 missed; it would be nice to get lyx to do this export/conversion. Somehow
 I just have to let it, rather than make it.

Does exporting the file to Postscript, and then running lpr work ?



Re: cut words at the end of line

2002-11-08 Thread Dekel Tsur
On Thu, Nov 07, 2002 at 05:47:37PM +0100, Javi Castelo wrote:
 I have selected spanish in language option but Lyx (1.1.6fix4) cut the 
 words at the end of line without respecting the spanish grammatical rules.
 
 I'm resolving this problem by hand. It's too much heavy.
 
 What can I do?

Perhaps you need to enable Spanish hyphenation using texconfig.



Re: Bitmapped fonts on EPS incusion in 1.2.1

2002-11-08 Thread Dekel Tsur
On Thu, Nov 07, 2002 at 05:33:59PM -0500, Bruce Momjian wrote:
 Nice debug output (attached). Looks like it knows it is an EPS file
 (calendar.eps), but then converts it to PNG. :-(
 
 I use groff to create the calendar.ps file, then ps2epsi to convert that
 to eps.  Viewing calendar.eps using gv clearly show it to be using
 spline fonts, though I know eps files have both spline and bitmap in the
 same file.

I think that this is a known bug of LyX 1.2.1, which will be fixed in 1.2.2.



Re: Which drawing program?

2002-11-08 Thread Max Bian
Sorry for jumping in the conversation.  

I really need a good drawing package that is is able to draw a closed
path with different line types/colors/thicknesses along it.  I also
need it allows straight lines, spine lines, bezier curves at the
different segments on the same path.  And finally, it allows me to fill
the enclosed area with solid colors or patterns.

I can do this with metapost script, but I haven't find a GUI program
that allows it.  It is painful to have to manually get the cordinates
right.

Have fun LyXing!

Max

__
Do you Yahoo!?
U2 on LAUNCH - Exclusive greatest hits videos
http://launch.yahoo.com/u2



Re: Bitmapped fonts on EPS incusion in 1.2.1

2002-11-08 Thread Bruce Momjian

OK, thanks.  It isn't a big deal.  I can wait.  

---

Dekel Tsur wrote:
 On Thu, Nov 07, 2002 at 05:33:59PM -0500, Bruce Momjian wrote:
  Nice debug output (attached). Looks like it knows it is an EPS file
  (calendar.eps), but then converts it to PNG. :-(
  
  I use groff to create the calendar.ps file, then ps2epsi to convert that
  to eps.  Viewing calendar.eps using gv clearly show it to be using
  spline fonts, though I know eps files have both spline and bitmap in the
  same file.
 
 I think that this is a known bug of LyX 1.2.1, which will be fixed in 1.2.2.
 

-- 
  Bruce Momjian|  http://candle.pha.pa.us
  [EMAIL PROTECTED]|  (610) 359-1001
  +  If your life is a hard drive, |  13 Roberts Road
  +  Christ can be your backup.|  Newtown Square, Pennsylvania 19073



Re: Which drawing program?

2002-11-08 Thread I Wayan Warmada

On Fri, 8 Nov 2002, Max Bian wrote:

| I really need a good drawing package that is is able to draw a closed
| path with different line types/colors/thicknesses along it.  I also need
| it allows straight lines, spine lines, bezier curves at the different
| segments on the same path.  And finally, it allows me to fill the
| enclosed area with solid colors or patterns.

drawing --- xfig or tgif.
plotting -- xmgrace or gnuplot but gnuplot hasn't a fill pattern...
 I always use combine gnuplot + xfig (the best solution).

Wayan




Re: Which drawing program?

2002-11-08 Thread I Wayan Warmada

On 8 Nov 2002, Kirk R. Wythers wrote:

| I use programs for figures: (1) xmgrace for scientific plotting and gimp
| for drawing. They both produce wonderful eps output that lyx has no
| trouble with

sketch for vector drawing instead of gimp... gimp is not good if you add
some text because is a bitmap. Otherwise you can combine gimp + xfig (if
text is needed...).

Wayan




Re: Which drawing program?

2002-11-08 Thread Peter Martin
I have used Dia with great success. One feature is that it is cross
platform, so people who don't use Linux (many corporations and some of my
clients) can also use it to view/create diagrams in Windoze. It comes with
several pre-defined libraries for UML, flowcharts etc which makes it easy to
produce standard business or technical diagrams.

It creates postscript (amongst other formats) which can be digested by LyX.
It also supports many fonts so the text looks quite reasonable.

Pete




Re: my top pet peeves wrt 1.2.0

2002-11-08 Thread John Levon
On Fri, Nov 08, 2002 at 03:49:14PM +1100, Steven Homolya wrote:

 http://bugzilla.lyx.org/show_bug.cgi?id=705

No good whining about it if you don't supply testcases as we asked.

  - cursor gets stuck in floats/ERT boxes (I'm sure this was reported but I 
 can't find it on bugzilla)

I don't believe the various problems are listed.

  - as figures are being rendered, the text I'm typing jumps out of view and 
 the display gets all messed up.

This has been fixed I believe.

regards
john
-- 
When a man has nothing to say, the worst thing he can do is to say it
memorably.
- Calvin Trillin



Re:cut words at the end of line

2002-11-08 Thread Ignacio Garcia



On Thu, Nov 07, 2002 at 05:47:37PM +0100, Javi Castelo wrote:
 I have selected spanish in language option but Lyx
(1.1.6fix4) cut the
 words at the end of line without respecting the spanish
grammatical rules.

 I'm resolving this problem by hand. It's too much heavy.

 What can I do?

En el archivo /etc/texmf/language.dat sigue las instrucciones
que da: Debes quitar el símbolo % en la línea spanish
sphhyph.tex. (Si quieres puedes poner % a algunos idiomas como
french o austrian pero se recomienda no tocar el english)
Luego haces en consola o en xterm: initex latex.ini
Esto te genera un archivo llamado latex.conf y otro llamado
latex.log (si todo sale bien, en este último podrás confirmar
que se cargará el patrón de guionado en español)
Por último, esos dos archivos debes moverlos a
/var/lib/texmf/web2c/

Ignacio

-
Tu correo gratis en MixMail http://www.mixmail.com
Ya.com ADSL, Router 3Com ¡Gratis! http://acceso.ya.com/adsl



Re: Which drawing program? --Thanks

2002-11-08 Thread Chris Carlen
Chris Carlen wrote:
[edit]

1. Does anyone here use OpenOffice to produce figures to import into 
Lyx, and if so how do you generate the .eps files?
[edit]

2.  What program is used most often, and what might you recommend?

[edit]


Thanks for all the responses to the above question.  The volume of 
information was substantial, so it might take me a while to digest it. 
I will try to respond to some of the individual replies as well.

Good day!


--

Christopher R. Carlen
Principal Laser/Optical Technologist
Sandia National Laboratories CA USA
[EMAIL PROTECTED]



Re: Which drawing program? --Thanks

2002-11-08 Thread Kayvan A. Sylvan
On Fri, Nov 08, 2002 at 11:34:14AM -0800, Chris Carlen wrote:
 Chris Carlen wrote:
 [edit]
 1. Does anyone here use OpenOffice to produce figures to import into 
 Lyx, and if so how do you generate the .eps files?
 [edit]
 2.  What program is used most often, and what might you recommend?
 [edit]
 
 
 Thanks for all the responses to the above question.  The volume of 
 information was substantial, so it might take me a while to digest it. 
 I will try to respond to some of the individual replies as well.
 
 Good day!

How about a summary to the list when you decide on your optimal solution?

-- 
Kayvan A. Sylvan  | Proud husband of   | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | crown of her husband | Robin Gregory (2/28/92)



LyX Code Editor

2002-11-08 Thread Norman Kabir

LyX is a phenomenal text editor. 

Has anyone considered building a code editor on top of LyX? I think it 
would be very useful to be able to mingle formulas, text, images and 
source code.

A filter could generate proper *.c or *.java files from the appropriate 
blocks in the documentation. And source code would be as beatiful as 
documents created with LyX.




Re: LyX Code Editor

2002-11-08 Thread Lars Gullik Bjønnes
Norman Kabir [EMAIL PROTECTED] writes:

| LyX is a phenomenal text editor. 
| 
| Has anyone considered building a code editor on top of LyX? I think it 
| would be very useful to be able to mingle formulas, text, images and 
| source code.

Well... LyX has been used for (and is still beeing used?) literal
programming, which is just what you seem to want.
 
| A filter could generate proper *.c or *.java files from the appropriate 
| blocks in the documentation. And source code would be as beatiful as 
| documents created with LyX.

A better code environment would be needed.

-- 
Lgb





Re: Which drawing program?

2002-11-08 Thread Max Bian
Thanks for the suggestion, but all those combined cannot do what I
really need.

Max
--- I Wayan Warmada [EMAIL PROTECTED] wrote:
 
 On Fri, 8 Nov 2002, Max Bian wrote:
 
 | I really need a good drawing package that is is able to draw a
 closed
 | path with different line types/colors/thicknesses along it.  I also
 need
 | it allows straight lines, spine lines, bezier curves at the
 different
 | segments on the same path.  And finally, it allows me to fill the
 | enclosed area with solid colors or patterns.
 
 drawing --- xfig or tgif.
 plotting -- xmgrace or gnuplot but gnuplot hasn't a fill pattern...
  I always use combine gnuplot + xfig (the best solution).
 
 Wayan
 


__
Do you Yahoo!?
U2 on LAUNCH - Exclusive greatest hits videos
http://launch.yahoo.com/u2



Re: Which drawing program? (getting equations in figures)

2002-11-08 Thread Ralph P. Boland
One solution to the problem of which drawing program to use with lyx
when equations need to be added to the figure might
be the following.

Assume that an .eps figure is displayed on your screen from
lyx.

Move your cursor to the point on the figure where you want
an equation.  Now type in the equation using lyx as if you
were typing in lyx normally.  SIMPLE! ?

There are numerous problems with this idea but it may
satisfy the needs of lyx users in some circumstances.
When it doesn't you go back to the current methods.

Of course implementing this feature is another matter.
In particular it is important that the equation shows up in the
final output in the same relative location that it does on the
screen and I suspect that ensuring this is hard.

So, any chance this will be added to lyx 1.2.2?  :-)

Ralph




Re: LyX Code Editor

2002-11-08 Thread Kayvan A. Sylvan
On Fri, Nov 08, 2002 at 08:30:44PM +0100, Lars Gullik Bjønnes wrote:
 Norman Kabir [EMAIL PROTECTED] writes:
 
 | LyX is a phenomenal text editor. 
 | 
 | Has anyone considered building a code editor on top of LyX? I think it 
 | would be very useful to be able to mingle formulas, text, images and 
 | source code.
 
 Well... LyX has been used for (and is still beeing used?) literal
 programming, which is just what you seem to want.

Yes. I use LyX almost every day for Literate Programming.

Norman just needs to install noweb (just follow the links from www.lyx.org
to the Noweb related pages) and run Edit-Reconfigure to get the
Literate document classes to show up.

After that, he can look at examples/listerrors.lyx or examples/noweb2lyx.lyx
to see how it works.

---Kayvan
-- 
Kayvan A. Sylvan  | Proud husband of   | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | crown of her husband | Robin Gregory (2/28/92)



Re: Which drawing program?

2002-11-08 Thread Matej Cepl
On Fri, Nov 08, 2002 at 11:37:34AM -0800, Max Bian wrote:
 Thanks for the suggestion, but all those combined cannot do what I
 really need.

Which is?

-- 
Matej Cepl, [EMAIL PROTECTED], PGP ID# D96484AC
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
The American Republic will endure, until politicians realize they
can bribe the people with their own money.
-- Alexis de Tocqueville




Re: Which drawing program?

2002-11-08 Thread Dekel Tsur
On Fri, Nov 08, 2002 at 01:41:02PM -0700, Fernando Perez wrote:
   1. Does anyone here use OpenOffice to produce figures to import into 
   Lyx, and if so how do you generate the .eps files?
 
 Try 
 $ convert bad_file.eps new_name.eps

This is a bad idea as convert will rasterize the figure rather than
keeping it as a vectorize figure.



Re: Which drawing program?

2002-11-08 Thread Fernando Perez
On Thu, 7 Nov 2002 [EMAIL PROTECTED] wrote:

 On Thu, 7 Nov 2002, Chris Carlen wrote:
 
  snip...
 
  I am convinced there is something very wrong with .eps exported from 
  OpenOffice.  Which brings us to my first question:
  
  1. Does anyone here use OpenOffice to produce figures to import into 
  Lyx, and if so how do you generate the .eps files?

Try 
$ convert bad_file.eps new_name.eps

I've had to do that in the past for eps generated by the old KIllustrator 
which ended up with problems with Lyx. It may help.

cheers,

f

ps. the above assumes you have ImageMagick installed, which convert is 
part of.




\footnote

2002-11-08 Thread J.Lauffenburger
Dear lyxers,

I'm writing a document using the article class. I've inserted a footnote
and no there is a compilation error each time I generate the dvi file.
the error says:

undefined control sequence \footnote.
Where does it come from?






Re: \footnote

2002-11-08 Thread Dekel Tsur
On Fri, Nov 08, 2002 at 11:56:17PM +0100, J.Lauffenburger wrote:
 Dear lyxers,
 
 I'm writing a document using the article class. I've inserted a footnote
 and no there is a compilation error each time I generate the dvi file.
 the error says:
 
 undefined control sequence \footnote.
 Where does it come from?

Please send a minimal example file.



Re: Lyx Printing to HP LJ2

2002-11-08 Thread Reed Loefgren

On Fri, 8 Nov 2002, Dekel Tsur wrote:

 On Fri, Nov 01, 2002 at 05:23:55PM -0700, Reed Loefgren wrote:
 
  2. Yes, exporting as a .dvi and then running it through dvips works
  beautifully. Can't this be set up in Lyx's preferences, as if it was going
  to an inkjet? I'm going through the manual again to see what I might have
  missed; it would be nice to get lyx to do this export/conversion. Somehow
  I just have to let it, rather than make it.

 Does exporting the file to Postscript, and then running lpr work ?


Yes it works fine. Actually, just running the exported dvi through dvips
seems to automatically send it to the printer, without my having to
command lpr to do anything. Sorry I wasn't clear about that earlier. It's
really a minor point now; I'm getting lyx's lovely output. I'm just lazy and
trying to do this with a click of a button :)

I'll keep working on it, (and thanks for your continued interest.)

rl




Re: Need some help.

2002-11-08 Thread Koundinya K
Many thanks all of you for the quick response. I was just not 
doing what john was telling. Now it works.

Cheers, Koundinya

[EMAIL PROTECTED] said:
- 2 possible reasons:
- 1. You need to set pagestyle to fancy (in the Layout-Paper menu) 2.
- You may have LaTeX errors. Click on the error button(s) to get
-the actual error message.

- John O'Gorman

[EMAIL PROTECTED] said:
- Be more specific about the errors and send a _short_ example lyx
- document illustrating the problem.

- Matej



-  preamble. For example I'm trying to add a \lhead{My name}, but 
-  when I do a layout-preamble and add my preamble, then try to 
-  view the PS of it, I get errors.
- 
- I'm guessing you need to use the fancyhdr package.. in
- Layout-Document-Document select fancy for Pagestyle and then it
- should work.. if not, please post the latex error...
- 
- nirmal
- 
- 









Just wondering if this would be relevant to the lyx project

2002-11-08 Thread Guru -
http://www.stixfonts.org/
Just wondering whether this would be relevant to the LyX project, LyX tends 
to use scientific/mathamatical fonts a lot so I thought the project might be 
interestedand I'm also not sure whether the developers are already aware 
of this

Note: I don't intend to post this to the development list yet, I wanted to 
know if I should post it to the development list, is it relevant enough to 
the project?

The info below is from the stixfonts site:
http://www.stixfonts.org/
The mission of the Scientific and Technical Information Exchange (STIX) font 
creation project is the preparation of a comprehensive set of fonts that 
serve the scientific and engineering community in the process from 
manuscript creation through final publication, both in electronic and print 
formats. Toward this purpose, the STIX fonts will be made available, under 
royalty-free license, to anyone, including publishers, software developers, 
scientists, students, and the general public.

The STIX mission will be fully realized when:

Fully hinted PostScript Type 1 and TrueType font sets have been created
All characters/glyphs have been incorporated into Unicode representation or 
comparable representation and browsers include program logic to fully 
utilize the STIX font set in the electronic representation of scholarly 
scientific documents

By making the fonts freely available, the STIX project hopes to encourage 
the development of applications that make use of these fonts. In particular. 
the STIX project will create a TeX implementation that TeX users can install 
and configure with minimal effort.

note:they still have 37.9% more Glyphs to create.(it's not finished 
yet...)

_
Add photos to your e-mail with MSN 8. Get 2 months FREE*. 
http://join.msn.com/?page=features/featuredemail



tex to quarkexpress

2002-11-08 Thread Jeroen Vriesman
Hi,

Does anyone know about a way to make quarkexpress and latex communicate?

Is there a plugin for quarkexpress to read tex?

Or is there a tex exportable format, usefull for quarkxpress?

Cheers,
Jeroen.



Re: Which drawing program?

2002-11-08 Thread Christian Ridderström
On Thu, 7 Nov 2002, Chris Carlen wrote:

 Hi folks:
 
 I am convinced there is something very wrong with .eps exported from 
 OpenOffice.  Which brings us to my first question:
 
 1. Does anyone here use OpenOffice to produce figures to import into 
 Lyx, and if so how do you generate the .eps files?
 

I used StarOffice once and had the same problem as you. The workaround I 
came up with was to export the .eps file twice in a row from 
StarOffice... then it worked

 2.  What program is used most often, and what might you recommend?
 
I use tgif, and I agree that the interface is a bit crude to say the least 
:-)  It works for me however, and I especially like being able to do 
superscripts and subscripts with keyboard shortcuts in the text.
So even though there is a method to include equations written in latex, I 
haven't had to do that yet.

At the TGif homepage:
http://bourbon.usc.edu:8001/tgif/
you can find documentation and FAQ.

Here's an example of an equation you can write with a tutorial of how to 
write it in pure text-mode:
http://bourbon.usc.edu:8001/tgif/faq/supsub.htmlhttp://bourbon.usc.edu:8001/tgif/faq/supsub.html

For including latex equations, check these URLs:
http://bourbon.usc.edu:8001/tgif/faq/latex.html
http://bourbon.usc.edu:8001/tgif/faq/eq4xpm.html
http://bourbon.usc.edu:8001/tgif/faq/customeq4.html

/Christian

-- 
Christian Ridderström, +46-8-790 91 37   http://www.md.kth.se/~chr
Mechatronics lab, Dept. of Machine Designhttp://www.md.kth.se






Re: Which drawing program?

2002-11-08 Thread Andre Poenitz
On Thu, Nov 07, 2002 at 05:48:54PM -0800, Chris Carlen wrote:
 1. Does anyone here use OpenOffice to produce figures to import into 
 Lyx, and if so how do you generate the .eps files?

Not me. Maybe you could send us one of the .eps so we can have a look how
wrong they are...

 My interest at this point focusses on Tgif and Xfig.  Honestly I would 
 much prefer to use OOo Draw, because I am used to it and I will still 
 use OOo for other things in which the integration of the Draw program 
 with the other modules is useful.  Xfig and Tgif seem a little bit 
 crude, coming from the dark ages of UNIX GUI interfaces, so it seems. 
 But I understand as well that they are nonetheless very good drawing 
 programs.
 
 The question then is:
 
 2.  What program is used most often, and what might you recommend?

I use xfig almost exclusively.
 
 Finally, there is one trick I'd like to do that was quite easy in OOo, 
 and that is to include equations in a figure.  I suppose with something 
 like xfig I will have to hand format text objects into the arrangement I 
 want to do this.  The equations I need in a figure are usually simple 
 fractions with a couple variables in the num. and denoms.

Either use the combined eps/tex export of xfig and set the formulas to
special text  or  use psfrag.

Andre'

-- 
Those who desire to give up Freedom in order to gain Security,
will not have, nor do they deserve, either one. (T. Jefferson)



Re: Bug report: LyX 1.2.1 delete spaces in labels when loading a saved document

2002-11-08 Thread Andre Poenitz
On Thu, Nov 07, 2002 at 06:44:28PM +0200, Yossi Weinstein wrote:
 Hi there,
 I have many equation labels written as sentences with spaces (i.e. 
 \label{eq. x axis}). when I save the document the output file contains 
 these spaces, however when I load the document again the spaces are 
 deleted (i.e. \label{eq.xaxis}). Now all my references to math equations 
 are unresolved (i.e. the dvi shows two question marks instead of the 
 equation numbers). This is a major problem for me since my masters 
 thesis is written in LyX and I intend(ed) to submit it next week.
 
 I'd appresiate all the help I can get to solve this thing.

The quick way is to replace your labels and use e.g. the more ugly but
safe  \label{eq-x-axis} (don't use underscores either).

As this is my fault: Sorry for the inconvinience.

Andre'

-- 
Those who desire to give up Freedom in order to gain Security,
will not have, nor do they deserve, either one. (T. Jefferson)



Re: Which drawing program?

2002-11-08 Thread Milos Komarcevic
Xfig does the job for me, it just takes a bit of 
time getting used to. Haven't tried Dia or Sodipodi yet,
but they also look promising.

As far as equations in figures go, I use psfrag:
http://www.ctan.org/tex-archive/help/Catalogue/entries/psfrag.html
It lets you replace any text in the eps figure with any 
latex code with some ERT in the figure float in Lyx. 

The only drawback with psfrag is when you want PDF output: 
you have to do the latex-dvi-ps-pdf route, which means 
no hyperlinks. I don't think you could do pdflatex or dvipdfm.
I wish that someone could prove me wrong.

Milos


-- 
Milos Komarcevic
Photonics and Sensors Group
Cambridge University Engineering Department
Trumpington Street
Cambridge  CB2 1PZ
UK

Tel: +44 1223 339762
Fax: +44 1223 765268
Email: [EMAIL PROTECTED]



Re: Which drawing program?

2002-11-08 Thread Lucian Muresan
On 11/8/2002 11:55 AM, Milos Komarcevic wrote:


Xfig does the job for me, it just takes a bit of
time getting used to. Haven't tried Dia or Sodipodi yet,
but they also look promising.

As far as equations in figures go, I use psfrag:
http://www.ctan.org/tex-archive/help/Catalogue/entries/psfrag.html
It lets you replace any text in the eps figure with any
latex code with some ERT in the figure float in Lyx.

The only drawback with psfrag is when you want PDF output:
you have to do the latex-dvi-ps-pdf route, which means
no hyperlinks. I don't think you could do pdflatex or dvipdfm.
I wish that someone could prove me wrong.

Milos



I'm using the package ps2pdf and hyperlinks work on this route.

Lucian




Re: Docbook problems

2002-11-08 Thread José Abílio Oliveira Matos
On Tuesday 05 November 2002 17:18, Matej Cepl wrote:
 Hi,

  Hi,
I'm sorry for replaying so late but I have been busy before.

 I am a total newbie in Docbook area, so I have tried to create
 a short document (with rich structure) to try it. However,
 I do not seem to be able to make .sgml file which would not make
 nsgmls -s complain. In the attached file nsgmls always complains
 that:

 nsgmls:moral_tmp.sgml:5:166:E: character data is not allowed here
 nsgmls:moral_tmp.sgml:5:184:E: end tag for AUTHOR which is not finished

  For docbook the name is not enough. It needs to be

firstnameAdam/firstname surnameSmith/surname

  Where firstname and surname (also with closing tags need to be in ert.

  Look for the docbook-article template. You will see this example there.

 Could anybody tell me, what's wrong?

 Thanks,

   Matej

-- 
José Abílio



Re: Which drawing program?

2002-11-08 Thread Thorsten Fischer
Am Freitag, 8. November 2002 02:48 schrieb Chris Carlen:
 1. Does anyone here use OpenOffice to produce figures to import into
 Lyx, and if so how do you generate the .eps files?

I had the same problem. You normally can fix the .eps files using ps2ps or 
psresize fo the pstools package. This worked fine for me.

Thorsten






Re: Howto Appendix

2002-11-08 Thread Christian Ridderström
To add an appendix in a book class, create a new chapter and then go to 
the menu Layout - Start appendix here

/Christian

-- 
Christian Ridderström, +46-8-790 91 37   http://www.md.kth.se/~chr
Mechatronics lab, Dept. of Machine Designhttp://www.md.kth.se






Re: Which drawing program?

2002-11-08 Thread Nirmal Govind
 
 Either use the combined eps/tex export of xfig and set the formulas
 tospecial text  or  use psfrag.
 

Why not just include the xfig figure with the math (with the special
text option turned on) directly into LyX (Insert-External
Material-selectxfig) and leave it to LyX to do the rest of the work
converting to the appropriate format etc.? This is what I normally do
with xfig figures and it works well..

nirmal





Re: Which drawing program?

2002-11-08 Thread Dekel Tsur
On Thu, Nov 07, 2002 at 05:48:54PM -0800, Chris Carlen wrote:
 
 Trouble is, I have to do drawings too, and I have discovered that I 
 can't import the .eps files exported by OpenOffice Draw into Lyx. 
 Furthermore, the .eps files crash the ghostscript interpreter when 
 running most of the commands I've tried to use to fix the problem, like 
 eps2eps, epstool, etc.

Which version of ghostscript do you use ?
Did you try ps2eps or purifyeps ?

 Finally, there is one trick I'd like to do that was quite easy in OOo, 
 and that is to include equations in a figure.  I suppose with something 
 like xfig I will have to hand format text objects into the arrangement I 
 want to do this.  The equations I need in a figure are usually simple 
 fractions with a couple variables in the num. and denoms.

Your options are:
1. (almost) Any drawing program + psfrag
2. xfig and export to Combined PS+Latex
3. TGIF and embed equations generated by latex
4. Sketch and embed equations generated by latex using the
SketchLatex plugin:
   http://www.2pi.info/latex/sketchlatex/

The 4th option might be the easiest one.



Re: automatic float rotate if it is on one page?

2002-11-08 Thread Dekel Tsur
On Mon, Nov 04, 2002 at 10:38:20AM -0800, Max Bian wrote:
 Is there a way to automatically rotate a figure or table in a float 90
 degree when it is placed on a page alone?
 
 It would be perfect if it is configurable, because there are floats
 that should not be rotated even if placed on a page along.

It is theoretically possible, but I'm unaware of any package that currently
does this.
You can manually rotate the floats using rotating.sty



Re: Which drawing program?

2002-11-08 Thread Kirk R. Wythers
On Thu, 2002-11-07 at 19:48, Chris Carlen wrote:
 Hi folks:
 
 I abandoned effort recently on a document that I was preparing in 
 OpenOffice mostly because the equations looked really awful. 
 Furthermore, I failed at convincing anybody in the OpenOffice/StarOffice 
 world that they are not up to the standards that I think are needed for 
 professional publication.

I went through the same thing... the problem is that when you focus on
compat with Word, you also inherit Word's failings...

 
 Then I tried Lyx.  The equations I was able to produce within 15 minutes 
 of working through that part of the tutorial were so stunningly 
 beautiful, that I was immediately convinced that I must learn to use 
 Lyx/Latex.

Yup... I came to the same conclusion

 
 Trouble is, I have to do drawings too, and I have discovered that I 
 can't import the .eps files exported by OpenOffice Draw into Lyx. 
 Furthermore, the .eps files crash the ghostscript interpreter when 
 running most of the commands I've tried to use to fix the problem, like 
 eps2eps, epstool, etc.
 
 I am convinced there is something very wrong with .eps exported from 
 OpenOffice.  Which brings us to my first question:
 
 1. Does anyone here use OpenOffice to produce figures to import into 
 Lyx, and if so how do you generate the .eps files?
 
 Since I have had so much trouble trying to get my drawings done in OOo 
 to be useable in Lyx, I think I might just give up and draw them over 
 again in a new program.  I have tried drawing some scribbles in Xfig, 
 and exported them to Lyx successfully on the first try, in contrast to 
 the hours I've wasted feeding the .eps from OOo through sequences of 
 commands to no avail.
 
 My interest at this point focusses on Tgif and Xfig.  Honestly I would 
 much prefer to use OOo Draw, because I am used to it and I will still 
 use OOo for other things in which the integration of the Draw program 
 with the other modules is useful.  Xfig and Tgif seem a little bit 
 crude, coming from the dark ages of UNIX GUI interfaces, so it seems. 
 But I understand as well that they are nonetheless very good drawing 
 programs.
 
 The question then is:
 
 2.  What program is used most often, and what might you recommend?

I use programs for figures: (1) xmgrace for scientific plotting and gimp
for drawing. They both produce wonderful eps output that lyx has no
trouble with

 
 I have noticed that my SuSE 8.1 distribution of Linux has an abundance 
 of documentation for xfig, but there doesn't seem to be anything for 
 tgif.  This might move me in the direction of xfig.
 
 Finally, there is one trick I'd like to do that was quite easy in OOo, 
 and that is to include equations in a figure.  I suppose with something 
 like xfig I will have to hand format text objects into the arrangement I 
 want to do this.  The equations I need in a figure are usually simple 
 fractions with a couple variables in the num. and denoms.
 
 Any tips on how the masters do this trick?
 
 Thanks for comments.
 
 Good day!
 
 
 
 
 
 
 -- 
 
 Christopher R. Carlen
 Principal Laser/Optical Technologist
 Sandia National Laboratories CA USA
 [EMAIL PROTECTED]
 
 
-- 
Kirk R. Wythers email: [EMAIL PROTECTED]
University of Minnesota tel: 612.625.2261
Department of Forest Resources  fax: 612.625.5212
Saint Paul, MN 55108





Re: Lyx Printing to HP LJ2

2002-11-08 Thread Dekel Tsur
On Fri, Nov 01, 2002 at 05:23:55PM -0700, Reed Loefgren wrote:
 
 2. Yes, exporting as a .dvi and then running it through dvips works
 beautifully. Can't this be set up in Lyx's preferences, as if it was going
 to an inkjet? I'm going through the manual again to see what I might have
 missed; it would be nice to get lyx to do this export/conversion. Somehow
 I just have to let it, rather than make it.

Does exporting the file to Postscript, and then running lpr work ?



Re: cut words at the end of line

2002-11-08 Thread Dekel Tsur
On Thu, Nov 07, 2002 at 05:47:37PM +0100, Javi Castelo wrote:
 I have selected spanish in language option but Lyx (1.1.6fix4) cut the 
 words at the end of line without respecting the spanish grammatical rules.
 
 I'm resolving this problem by hand. It's too much heavy.
 
 What can I do?

Perhaps you need to enable Spanish hyphenation using texconfig.



Re: Bitmapped fonts on EPS incusion in 1.2.1

2002-11-08 Thread Dekel Tsur
On Thu, Nov 07, 2002 at 05:33:59PM -0500, Bruce Momjian wrote:
 Nice debug output (attached). Looks like it knows it is an EPS file
 (calendar.eps), but then converts it to PNG. :-(
 
 I use groff to create the calendar.ps file, then ps2epsi to convert that
 to eps.  Viewing calendar.eps using gv clearly show it to be using
 spline fonts, though I know eps files have both spline and bitmap in the
 same file.

I think that this is a known bug of LyX 1.2.1, which will be fixed in 1.2.2.



Re: Which drawing program?

2002-11-08 Thread Max Bian
Sorry for jumping in the conversation.  

I really need a good drawing package that is is able to draw a closed
path with different line types/colors/thicknesses along it.  I also
need it allows straight lines, spine lines, bezier curves at the
different segments on the same path.  And finally, it allows me to fill
the enclosed area with solid colors or patterns.

I can do this with metapost script, but I haven't find a GUI program
that allows it.  It is painful to have to manually get the cordinates
right.

Have fun LyXing!

Max

__
Do you Yahoo!?
U2 on LAUNCH - Exclusive greatest hits videos
http://launch.yahoo.com/u2



Re: Bitmapped fonts on EPS incusion in 1.2.1

2002-11-08 Thread Bruce Momjian

OK, thanks.  It isn't a big deal.  I can wait.  

---

Dekel Tsur wrote:
 On Thu, Nov 07, 2002 at 05:33:59PM -0500, Bruce Momjian wrote:
  Nice debug output (attached). Looks like it knows it is an EPS file
  (calendar.eps), but then converts it to PNG. :-(
  
  I use groff to create the calendar.ps file, then ps2epsi to convert that
  to eps.  Viewing calendar.eps using gv clearly show it to be using
  spline fonts, though I know eps files have both spline and bitmap in the
  same file.
 
 I think that this is a known bug of LyX 1.2.1, which will be fixed in 1.2.2.
 

-- 
  Bruce Momjian|  http://candle.pha.pa.us
  [EMAIL PROTECTED]|  (610) 359-1001
  +  If your life is a hard drive, |  13 Roberts Road
  +  Christ can be your backup.|  Newtown Square, Pennsylvania 19073



Re: Which drawing program?

2002-11-08 Thread I Wayan Warmada

On Fri, 8 Nov 2002, Max Bian wrote:

| I really need a good drawing package that is is able to draw a closed
| path with different line types/colors/thicknesses along it.  I also need
| it allows straight lines, spine lines, bezier curves at the different
| segments on the same path.  And finally, it allows me to fill the
| enclosed area with solid colors or patterns.

drawing --- xfig or tgif.
plotting -- xmgrace or gnuplot but gnuplot hasn't a fill pattern...
 I always use combine gnuplot + xfig (the best solution).

Wayan




Re: Which drawing program?

2002-11-08 Thread I Wayan Warmada

On 8 Nov 2002, Kirk R. Wythers wrote:

| I use programs for figures: (1) xmgrace for scientific plotting and gimp
| for drawing. They both produce wonderful eps output that lyx has no
| trouble with

sketch for vector drawing instead of gimp... gimp is not good if you add
some text because is a bitmap. Otherwise you can combine gimp + xfig (if
text is needed...).

Wayan




Re: Which drawing program?

2002-11-08 Thread Peter Martin
I have used Dia with great success. One feature is that it is cross
platform, so people who don't use Linux (many corporations and some of my
clients) can also use it to view/create diagrams in Windoze. It comes with
several pre-defined libraries for UML, flowcharts etc which makes it easy to
produce standard business or technical diagrams.

It creates postscript (amongst other formats) which can be digested by LyX.
It also supports many fonts so the text looks quite reasonable.

Pete




Re: my top pet peeves wrt 1.2.0

2002-11-08 Thread John Levon
On Fri, Nov 08, 2002 at 03:49:14PM +1100, Steven Homolya wrote:

 http://bugzilla.lyx.org/show_bug.cgi?id=705

No good whining about it if you don't supply testcases as we asked.

  - cursor gets stuck in floats/ERT boxes (I'm sure this was reported but I 
 can't find it on bugzilla)

I don't believe the various problems are listed.

  - as figures are being rendered, the text I'm typing jumps out of view and 
 the display gets all messed up.

This has been fixed I believe.

regards
john
-- 
When a man has nothing to say, the worst thing he can do is to say it
memorably.
- Calvin Trillin



Re:cut words at the end of line

2002-11-08 Thread Ignacio Garcia



On Thu, Nov 07, 2002 at 05:47:37PM +0100, Javi Castelo wrote:
 I have selected spanish in language option but Lyx
(1.1.6fix4) cut the
 words at the end of line without respecting the spanish
grammatical rules.

 I'm resolving this problem by hand. It's too much heavy.

 What can I do?

En el archivo /etc/texmf/language.dat sigue las instrucciones
que da: Debes quitar el símbolo % en la línea spanish
sphhyph.tex. (Si quieres puedes poner % a algunos idiomas como
french o austrian pero se recomienda no tocar el english)
Luego haces en consola o en xterm: initex latex.ini
Esto te genera un archivo llamado latex.conf y otro llamado
latex.log (si todo sale bien, en este último podrás confirmar
que se cargará el patrón de guionado en español)
Por último, esos dos archivos debes moverlos a
/var/lib/texmf/web2c/

Ignacio

-
Tu correo gratis en MixMail http://www.mixmail.com
Ya.com ADSL, Router 3Com ¡Gratis! http://acceso.ya.com/adsl



Re: Which drawing program? --Thanks

2002-11-08 Thread Chris Carlen
Chris Carlen wrote:
[edit]

1. Does anyone here use OpenOffice to produce figures to import into 
Lyx, and if so how do you generate the .eps files?
[edit]

2.  What program is used most often, and what might you recommend?

[edit]


Thanks for all the responses to the above question.  The volume of 
information was substantial, so it might take me a while to digest it. 
I will try to respond to some of the individual replies as well.

Good day!


--

Christopher R. Carlen
Principal Laser/Optical Technologist
Sandia National Laboratories CA USA
[EMAIL PROTECTED]



Re: Which drawing program? --Thanks

2002-11-08 Thread Kayvan A. Sylvan
On Fri, Nov 08, 2002 at 11:34:14AM -0800, Chris Carlen wrote:
 Chris Carlen wrote:
 [edit]
 1. Does anyone here use OpenOffice to produce figures to import into 
 Lyx, and if so how do you generate the .eps files?
 [edit]
 2.  What program is used most often, and what might you recommend?
 [edit]
 
 
 Thanks for all the responses to the above question.  The volume of 
 information was substantial, so it might take me a while to digest it. 
 I will try to respond to some of the individual replies as well.
 
 Good day!

How about a summary to the list when you decide on your optimal solution?

-- 
Kayvan A. Sylvan  | Proud husband of   | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | crown of her husband | Robin Gregory (2/28/92)



LyX Code Editor

2002-11-08 Thread Norman Kabir

LyX is a phenomenal text editor. 

Has anyone considered building a code editor on top of LyX? I think it 
would be very useful to be able to mingle formulas, text, images and 
source code.

A filter could generate proper *.c or *.java files from the appropriate 
blocks in the documentation. And source code would be as beatiful as 
documents created with LyX.




Re: LyX Code Editor

2002-11-08 Thread Lars Gullik Bjønnes
Norman Kabir [EMAIL PROTECTED] writes:

| LyX is a phenomenal text editor. 
| 
| Has anyone considered building a code editor on top of LyX? I think it 
| would be very useful to be able to mingle formulas, text, images and 
| source code.

Well... LyX has been used for (and is still beeing used?) literal
programming, which is just what you seem to want.
 
| A filter could generate proper *.c or *.java files from the appropriate 
| blocks in the documentation. And source code would be as beatiful as 
| documents created with LyX.

A better code environment would be needed.

-- 
Lgb





Re: Which drawing program?

2002-11-08 Thread Max Bian
Thanks for the suggestion, but all those combined cannot do what I
really need.

Max
--- I Wayan Warmada [EMAIL PROTECTED] wrote:
 
 On Fri, 8 Nov 2002, Max Bian wrote:
 
 | I really need a good drawing package that is is able to draw a
 closed
 | path with different line types/colors/thicknesses along it.  I also
 need
 | it allows straight lines, spine lines, bezier curves at the
 different
 | segments on the same path.  And finally, it allows me to fill the
 | enclosed area with solid colors or patterns.
 
 drawing --- xfig or tgif.
 plotting -- xmgrace or gnuplot but gnuplot hasn't a fill pattern...
  I always use combine gnuplot + xfig (the best solution).
 
 Wayan
 


__
Do you Yahoo!?
U2 on LAUNCH - Exclusive greatest hits videos
http://launch.yahoo.com/u2



Re: Which drawing program? (getting equations in figures)

2002-11-08 Thread Ralph P. Boland
One solution to the problem of which drawing program to use with lyx
when equations need to be added to the figure might
be the following.

Assume that an .eps figure is displayed on your screen from
lyx.

Move your cursor to the point on the figure where you want
an equation.  Now type in the equation using lyx as if you
were typing in lyx normally.  SIMPLE! ?

There are numerous problems with this idea but it may
satisfy the needs of lyx users in some circumstances.
When it doesn't you go back to the current methods.

Of course implementing this feature is another matter.
In particular it is important that the equation shows up in the
final output in the same relative location that it does on the
screen and I suspect that ensuring this is hard.

So, any chance this will be added to lyx 1.2.2?  :-)

Ralph




Re: LyX Code Editor

2002-11-08 Thread Kayvan A. Sylvan
On Fri, Nov 08, 2002 at 08:30:44PM +0100, Lars Gullik Bjønnes wrote:
 Norman Kabir [EMAIL PROTECTED] writes:
 
 | LyX is a phenomenal text editor. 
 | 
 | Has anyone considered building a code editor on top of LyX? I think it 
 | would be very useful to be able to mingle formulas, text, images and 
 | source code.
 
 Well... LyX has been used for (and is still beeing used?) literal
 programming, which is just what you seem to want.

Yes. I use LyX almost every day for Literate Programming.

Norman just needs to install noweb (just follow the links from www.lyx.org
to the Noweb related pages) and run Edit-Reconfigure to get the
Literate document classes to show up.

After that, he can look at examples/listerrors.lyx or examples/noweb2lyx.lyx
to see how it works.

---Kayvan
-- 
Kayvan A. Sylvan  | Proud husband of   | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | crown of her husband | Robin Gregory (2/28/92)



Re: Which drawing program?

2002-11-08 Thread Matej Cepl
On Fri, Nov 08, 2002 at 11:37:34AM -0800, Max Bian wrote:
 Thanks for the suggestion, but all those combined cannot do what I
 really need.

Which is?

-- 
Matej Cepl, [EMAIL PROTECTED], PGP ID# D96484AC
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
The American Republic will endure, until politicians realize they
can bribe the people with their own money.
-- Alexis de Tocqueville




Re: Which drawing program?

2002-11-08 Thread Dekel Tsur
On Fri, Nov 08, 2002 at 01:41:02PM -0700, Fernando Perez wrote:
   1. Does anyone here use OpenOffice to produce figures to import into 
   Lyx, and if so how do you generate the .eps files?
 
 Try 
 $ convert bad_file.eps new_name.eps

This is a bad idea as convert will rasterize the figure rather than
keeping it as a vectorize figure.



Re: Which drawing program?

2002-11-08 Thread Fernando Perez
On Thu, 7 Nov 2002 [EMAIL PROTECTED] wrote:

 On Thu, 7 Nov 2002, Chris Carlen wrote:
 
  snip...
 
  I am convinced there is something very wrong with .eps exported from 
  OpenOffice.  Which brings us to my first question:
  
  1. Does anyone here use OpenOffice to produce figures to import into 
  Lyx, and if so how do you generate the .eps files?

Try 
$ convert bad_file.eps new_name.eps

I've had to do that in the past for eps generated by the old KIllustrator 
which ended up with problems with Lyx. It may help.

cheers,

f

ps. the above assumes you have ImageMagick installed, which convert is 
part of.




\footnote

2002-11-08 Thread J.Lauffenburger
Dear lyxers,

I'm writing a document using the article class. I've inserted a footnote
and no there is a compilation error each time I generate the dvi file.
the error says:

undefined control sequence \footnote.
Where does it come from?






Re: \footnote

2002-11-08 Thread Dekel Tsur
On Fri, Nov 08, 2002 at 11:56:17PM +0100, J.Lauffenburger wrote:
 Dear lyxers,
 
 I'm writing a document using the article class. I've inserted a footnote
 and no there is a compilation error each time I generate the dvi file.
 the error says:
 
 undefined control sequence \footnote.
 Where does it come from?

Please send a minimal example file.



Re: Lyx Printing to HP LJ2

2002-11-08 Thread Reed Loefgren

On Fri, 8 Nov 2002, Dekel Tsur wrote:

 On Fri, Nov 01, 2002 at 05:23:55PM -0700, Reed Loefgren wrote:
 
  2. Yes, exporting as a .dvi and then running it through dvips works
  beautifully. Can't this be set up in Lyx's preferences, as if it was going
  to an inkjet? I'm going through the manual again to see what I might have
  missed; it would be nice to get lyx to do this export/conversion. Somehow
  I just have to let it, rather than make it.

 Does exporting the file to Postscript, and then running lpr work ?


Yes it works fine. Actually, just running the exported dvi through dvips
seems to automatically send it to the printer, without my having to
command lpr to do anything. Sorry I wasn't clear about that earlier. It's
really a minor point now; I'm getting lyx's lovely output. I'm just lazy and
trying to do this with a click of a button :)

I'll keep working on it, (and thanks for your continued interest.)

rl




Re: Need some help.

2002-11-08 Thread Koundinya K
Many thanks all of you for the quick response. I was just not 
doing what john was telling. Now it works.

Cheers, Koundinya

[EMAIL PROTECTED] said:
- 2 possible reasons:
- 1. You need to set pagestyle to fancy (in the Layout-Paper menu) 2.
- You may have LaTeX errors. Click on the error button(s) to get
-the actual error message.

- John O'Gorman

[EMAIL PROTECTED] said:
- Be more specific about the errors and send a _short_ example lyx
- document illustrating the problem.

- Matej



-  preamble. For example I'm trying to add a \lhead{My name}, but 
-  when I do a layout-preamble and add my preamble, then try to 
-  view the PS of it, I get errors.
- 
- I'm guessing you need to use the fancyhdr package.. in
- Layout-Document-Document select fancy for Pagestyle and then it
- should work.. if not, please post the latex error...
- 
- nirmal
- 
- 









Just wondering if this would be relevant to the lyx project

2002-11-08 Thread Guru -
http://www.stixfonts.org/
Just wondering whether this would be relevant to the LyX project, LyX tends 
to use scientific/mathamatical fonts a lot so I thought the project might be 
interestedand I'm also not sure whether the developers are already aware 
of this

Note: I don't intend to post this to the development list yet, I wanted to 
know if I should post it to the development list, is it relevant enough to 
the project?

The info below is from the stixfonts site:
http://www.stixfonts.org/
The mission of the Scientific and Technical Information Exchange (STIX) font 
creation project is the preparation of a comprehensive set of fonts that 
serve the scientific and engineering community in the process from 
manuscript creation through final publication, both in electronic and print 
formats. Toward this purpose, the STIX fonts will be made available, under 
royalty-free license, to anyone, including publishers, software developers, 
scientists, students, and the general public.

The STIX mission will be fully realized when:

Fully hinted PostScript Type 1 and TrueType font sets have been created
All characters/glyphs have been incorporated into Unicode representation or 
comparable representation and browsers include program logic to fully 
utilize the STIX font set in the electronic representation of scholarly 
scientific documents

By making the fonts freely available, the STIX project hopes to encourage 
the development of applications that make use of these fonts. In particular. 
the STIX project will create a TeX implementation that TeX users can install 
and configure with minimal effort.

note:they still have 37.9% more Glyphs to create.(it's not finished 
yet...)

_
Add photos to your e-mail with MSN 8. Get 2 months FREE*. 
http://join.msn.com/?page=features/featuredemail



tex to quarkexpress

2002-11-08 Thread Jeroen Vriesman
Hi,

Does anyone know about a way to make quarkexpress and latex communicate?

Is there a plugin for quarkexpress to read tex?

Or is there a tex exportable format, usefull for quarkxpress?

Cheers,
Jeroen.



Re: Which drawing program?

2002-11-08 Thread Christian Ridderström
On Thu, 7 Nov 2002, Chris Carlen wrote:

> Hi folks:
> 
> I am convinced there is something very wrong with .eps exported from 
> OpenOffice.  Which brings us to my first question:
> 
> 1. Does anyone here use OpenOffice to produce figures to import into 
> Lyx, and if so how do you generate the .eps files?
> 

I used StarOffice once and had the same problem as you. The workaround I 
came up with was to export the .eps file twice in a row from 
StarOffice... then it worked

> 2.  What program is used most often, and what might you recommend?
> 
I use tgif, and I agree that the interface is a bit crude to say the least 
:-)  It works for me however, and I especially like being able to do 
superscripts and subscripts with keyboard shortcuts in the text.
So even though there is a method to include equations written in latex, I 
haven't had to do that yet.

At the TGif homepage:
http://bourbon.usc.edu:8001/tgif/
you can find documentation and FAQ.

Here's an example of an equation you can write with a tutorial of how to 
write it in pure text-mode:
http://bourbon.usc.edu:8001/tgif/faq/supsub.htmlhttp://bourbon.usc.edu:8001/tgif/faq/supsub.html

For including latex equations, check these URLs:
http://bourbon.usc.edu:8001/tgif/faq/latex.html
http://bourbon.usc.edu:8001/tgif/faq/eq4xpm.html
http://bourbon.usc.edu:8001/tgif/faq/customeq4.html

/Christian

-- 
Christian Ridderström, +46-8-790 91 37   http://www.md.kth.se/~chr
Mechatronics lab, Dept. of Machine Designhttp://www.md.kth.se






Re: Which drawing program?

2002-11-08 Thread Andre Poenitz
On Thu, Nov 07, 2002 at 05:48:54PM -0800, Chris Carlen wrote:
> 1. Does anyone here use OpenOffice to produce figures to import into 
> Lyx, and if so how do you generate the .eps files?

Not me. Maybe you could send us one of the .eps so we can have a look "how
wrong" they are...

> My interest at this point focusses on Tgif and Xfig.  Honestly I would 
> much prefer to use OOo Draw, because I am used to it and I will still 
> use OOo for other things in which the integration of the Draw program 
> with the other modules is useful.  Xfig and Tgif seem a little bit 
> crude, coming from the dark ages of UNIX GUI interfaces, so it seems. 
> But I understand as well that they are nonetheless very good drawing 
> programs.
> 
> The question then is:
> 
> 2.  What program is used most often, and what might you recommend?

I use xfig almost exclusively.
 
> Finally, there is one trick I'd like to do that was quite easy in OOo, 
> and that is to include equations in a figure.  I suppose with something 
> like xfig I will have to hand format text objects into the arrangement I 
> want to do this.  The equations I need in a figure are usually simple 
> fractions with a couple variables in the num. and denoms.

Either use the "combined eps/tex" export of xfig and set the formulas to
"special text"  or  use psfrag.

Andre'

-- 
Those who desire to give up Freedom in order to gain Security,
will not have, nor do they deserve, either one. (T. Jefferson)



Re: Bug report: LyX 1.2.1 delete spaces in labels when loading a saved document

2002-11-08 Thread Andre Poenitz
On Thu, Nov 07, 2002 at 06:44:28PM +0200, Yossi Weinstein wrote:
> Hi there,
> I have many equation labels written as sentences with spaces (i.e. 
> \label{eq. x axis}). when I save the document the output file contains 
> these spaces, however when I load the document again the spaces are 
> deleted (i.e. \label{eq.xaxis}). Now all my references to math equations 
> are unresolved (i.e. the dvi shows two question marks instead of the 
> equation numbers). This is a major problem for me since my masters 
> thesis is written in LyX and I intend(ed) to submit it next week.
> 
> I'd appresiate all the help I can get to solve this thing.

The quick way is to replace your labels and use e.g. the more ugly but
safe  \label{eq-x-axis} (don't use underscores either).

As this is my fault: Sorry for the inconvinience.

Andre'

-- 
Those who desire to give up Freedom in order to gain Security,
will not have, nor do they deserve, either one. (T. Jefferson)



Re: Which drawing program?

2002-11-08 Thread Milos Komarcevic
Xfig does the job for me, it just takes a bit of 
time getting used to. Haven't tried Dia or Sodipodi yet,
but they also look promising.

As far as equations in figures go, I use psfrag:
http://www.ctan.org/tex-archive/help/Catalogue/entries/psfrag.html
It lets you replace any text in the eps figure with any 
latex code with some ERT in the figure float in Lyx. 

The only drawback with psfrag is when you want PDF output: 
you have to do the latex->dvi->ps->pdf route, which means 
no hyperlinks. I don't think you could do pdflatex or dvipdfm.
I wish that someone could prove me wrong.

Milos


-- 
Milos Komarcevic
Photonics and Sensors Group
Cambridge University Engineering Department
Trumpington Street
Cambridge  CB2 1PZ
UK

Tel: +44 1223 339762
Fax: +44 1223 765268
Email: [EMAIL PROTECTED]



Re: Which drawing program?

2002-11-08 Thread Lucian Muresan
On 11/8/2002 11:55 AM, Milos Komarcevic wrote:


Xfig does the job for me, it just takes a bit of
time getting used to. Haven't tried Dia or Sodipodi yet,
but they also look promising.

As far as equations in figures go, I use psfrag:
http://www.ctan.org/tex-archive/help/Catalogue/entries/psfrag.html
It lets you replace any text in the eps figure with any
latex code with some ERT in the figure float in Lyx.

The only drawback with psfrag is when you want PDF output:
you have to do the latex->dvi->ps->pdf route, which means
no hyperlinks. I don't think you could do pdflatex or dvipdfm.
I wish that someone could prove me wrong.

Milos



I'm using the package ps2pdf and hyperlinks work on this route.

Lucian




Re: Docbook problems

2002-11-08 Thread José Abílio Oliveira Matos
On Tuesday 05 November 2002 17:18, Matej Cepl wrote:
> Hi,

  Hi,
I'm sorry for replaying so late but I have been busy before.

> I am a total newbie in Docbook area, so I have tried to create
> a short document (with rich structure) to try it. However,
> I do not seem to be able to make .sgml file which would not make
> nsgmls -s complain. In the attached file nsgmls always complains
> that:
>
> nsgmls:moral_tmp.sgml:5:166:E: character data is not allowed here
> nsgmls:moral_tmp.sgml:5:184:E: end tag for "AUTHOR" which is not finished

  For docbook the name is not enough. It needs to be

Adam Smith

  Where  and  (also with closing tags need to be in ert.

  Look for the docbook-article template. You will see this example there.

> Could anybody tell me, what's wrong?
>
> Thanks,
>
>   Matej

-- 
José Abílio



Re: Which drawing program?

2002-11-08 Thread Thorsten Fischer
Am Freitag, 8. November 2002 02:48 schrieb Chris Carlen:
> 1. Does anyone here use OpenOffice to produce figures to import into
> Lyx, and if so how do you generate the .eps files?

I had the same problem. You normally can fix the .eps files using ps2ps or 
psresize fo the pstools package. This worked fine for me.

Thorsten






Re: Howto Appendix

2002-11-08 Thread Christian Ridderström
To add an appendix in a book class, create a new chapter and then go to 
the menu Layout -> Start appendix here

/Christian

-- 
Christian Ridderström, +46-8-790 91 37   http://www.md.kth.se/~chr
Mechatronics lab, Dept. of Machine Designhttp://www.md.kth.se






Re: Which drawing program?

2002-11-08 Thread Nirmal Govind
> 
> Either use the "combined eps/tex" export of xfig and set the formulas
> to"special text"  or  use psfrag.
> 

Why not just include the xfig figure with the math (with the special
text option turned on) directly into LyX (Insert->External
Material->xfig) and leave it to LyX to do the rest of the work
converting to the appropriate format etc.? This is what I normally do
with xfig figures and it works well..

nirmal





Re: Which drawing program?

2002-11-08 Thread Dekel Tsur
On Thu, Nov 07, 2002 at 05:48:54PM -0800, Chris Carlen wrote:
> 
> Trouble is, I have to do drawings too, and I have discovered that I 
> can't import the .eps files exported by OpenOffice Draw into Lyx. 
> Furthermore, the .eps files crash the ghostscript interpreter when 
> running most of the commands I've tried to use to fix the problem, like 
> eps2eps, epstool, etc.

Which version of ghostscript do you use ?
Did you try ps2eps or purifyeps ?

> Finally, there is one trick I'd like to do that was quite easy in OOo, 
> and that is to include equations in a figure.  I suppose with something 
> like xfig I will have to hand format text objects into the arrangement I 
> want to do this.  The equations I need in a figure are usually simple 
> fractions with a couple variables in the num. and denoms.

Your options are:
1. (almost) Any drawing program + psfrag
2. xfig and export to "Combined PS+Latex"
3. TGIF and embed equations generated by latex
4. Sketch and embed equations generated by latex using the
SketchLatex plugin:
   http://www.2pi.info/latex/sketchlatex/

The 4th option might be the easiest one.



Re: automatic float rotate if it is on one page?

2002-11-08 Thread Dekel Tsur
On Mon, Nov 04, 2002 at 10:38:20AM -0800, Max Bian wrote:
> Is there a way to automatically rotate a figure or table in a float 90
> degree when it is placed on a page alone?
> 
> It would be perfect if it is configurable, because there are floats
> that should not be rotated even if placed on a page along.

It is theoretically possible, but I'm unaware of any package that currently
does this.
You can manually rotate the floats using rotating.sty



Re: Which drawing program?

2002-11-08 Thread Kirk R. Wythers
On Thu, 2002-11-07 at 19:48, Chris Carlen wrote:
> Hi folks:
> 
> I abandoned effort recently on a document that I was preparing in 
> OpenOffice mostly because the equations looked really awful. 
> Furthermore, I failed at convincing anybody in the OpenOffice/StarOffice 
> world that they are not up to the standards that I think are needed for 
> professional publication.

I went through the same thing... the problem is that when you focus on
compat with Word, you also inherit Word's failings...

> 
> Then I tried Lyx.  The equations I was able to produce within 15 minutes 
> of working through that part of the tutorial were so stunningly 
> beautiful, that I was immediately convinced that I must learn to use 
> Lyx/Latex.

Yup... I came to the same conclusion

> 
> Trouble is, I have to do drawings too, and I have discovered that I 
> can't import the .eps files exported by OpenOffice Draw into Lyx. 
> Furthermore, the .eps files crash the ghostscript interpreter when 
> running most of the commands I've tried to use to fix the problem, like 
> eps2eps, epstool, etc.
> 
> I am convinced there is something very wrong with .eps exported from 
> OpenOffice.  Which brings us to my first question:
> 
> 1. Does anyone here use OpenOffice to produce figures to import into 
> Lyx, and if so how do you generate the .eps files?
> 
> Since I have had so much trouble trying to get my drawings done in OOo 
> to be useable in Lyx, I think I might just give up and draw them over 
> again in a new program.  I have tried drawing some scribbles in Xfig, 
> and exported them to Lyx successfully on the first try, in contrast to 
> the hours I've wasted feeding the .eps from OOo through sequences of 
> commands to no avail.
> 
> My interest at this point focusses on Tgif and Xfig.  Honestly I would 
> much prefer to use OOo Draw, because I am used to it and I will still 
> use OOo for other things in which the integration of the Draw program 
> with the other modules is useful.  Xfig and Tgif seem a little bit 
> crude, coming from the dark ages of UNIX GUI interfaces, so it seems. 
> But I understand as well that they are nonetheless very good drawing 
> programs.
> 
> The question then is:
> 
> 2.  What program is used most often, and what might you recommend?

I use programs for figures: (1) xmgrace for scientific plotting and gimp
for drawing. They both produce wonderful eps output that lyx has no
trouble with

> 
> I have noticed that my SuSE 8.1 distribution of Linux has an abundance 
> of documentation for xfig, but there doesn't seem to be anything for 
> tgif.  This might move me in the direction of xfig.
> 
> Finally, there is one trick I'd like to do that was quite easy in OOo, 
> and that is to include equations in a figure.  I suppose with something 
> like xfig I will have to hand format text objects into the arrangement I 
> want to do this.  The equations I need in a figure are usually simple 
> fractions with a couple variables in the num. and denoms.
> 
> Any tips on how the masters do this trick?
> 
> Thanks for comments.
> 
> Good day!
> 
> 
> 
> 
> 
> 
> -- 
> 
> Christopher R. Carlen
> Principal Laser/Optical Technologist
> Sandia National Laboratories CA USA
> [EMAIL PROTECTED]
> 
> 
-- 
Kirk R. Wythers email: [EMAIL PROTECTED]
University of Minnesota tel: 612.625.2261
Department of Forest Resources  fax: 612.625.5212
Saint Paul, MN 55108





Re: Lyx Printing to HP LJ2

2002-11-08 Thread Dekel Tsur
On Fri, Nov 01, 2002 at 05:23:55PM -0700, Reed Loefgren wrote:
> 
> 2. Yes, exporting as a .dvi and then running it through dvips works
> beautifully. Can't this be set up in Lyx's preferences, as if it was going
> to an inkjet? I'm going through the manual again to see what I might have
> missed; it would be nice to get lyx to do this export/conversion. Somehow
> I just have to let it, rather than make it.

Does exporting the file to Postscript, and then running lpr work ?



Re: cut words at the end of line

2002-11-08 Thread Dekel Tsur
On Thu, Nov 07, 2002 at 05:47:37PM +0100, Javi Castelo wrote:
> I have selected "spanish" in language option but Lyx (1.1.6fix4) cut the 
> words at the end of line without respecting the spanish grammatical rules.
> 
> I'm resolving this problem by hand. It's too much heavy.
> 
> What can I do?

Perhaps you need to enable Spanish hyphenation using texconfig.



Re: Bitmapped fonts on EPS incusion in 1.2.1

2002-11-08 Thread Dekel Tsur
On Thu, Nov 07, 2002 at 05:33:59PM -0500, Bruce Momjian wrote:
> Nice debug output (attached). Looks like it knows it is an EPS file
> (calendar.eps), but then converts it to PNG. :-(
> 
> I use groff to create the calendar.ps file, then ps2epsi to convert that
> to eps.  Viewing calendar.eps using gv clearly show it to be using
> spline fonts, though I know eps files have both spline and bitmap in the
> same file.

I think that this is a known bug of LyX 1.2.1, which will be fixed in 1.2.2.



Re: Which drawing program?

2002-11-08 Thread Max Bian
Sorry for jumping in the conversation.  

I really need a good drawing package that is is able to draw a closed
path with different line types/colors/thicknesses along it.  I also
need it allows straight lines, spine lines, bezier curves at the
different segments on the same path.  And finally, it allows me to fill
the enclosed area with solid colors or patterns.

I can do this with metapost script, but I haven't find a GUI program
that allows it.  It is painful to have to manually get the cordinates
right.

Have fun LyXing!

Max

__
Do you Yahoo!?
U2 on LAUNCH - Exclusive greatest hits videos
http://launch.yahoo.com/u2



Re: Bitmapped fonts on EPS incusion in 1.2.1

2002-11-08 Thread Bruce Momjian

OK, thanks.  It isn't a big deal.  I can wait.  

---

Dekel Tsur wrote:
> On Thu, Nov 07, 2002 at 05:33:59PM -0500, Bruce Momjian wrote:
> > Nice debug output (attached). Looks like it knows it is an EPS file
> > (calendar.eps), but then converts it to PNG. :-(
> > 
> > I use groff to create the calendar.ps file, then ps2epsi to convert that
> > to eps.  Viewing calendar.eps using gv clearly show it to be using
> > spline fonts, though I know eps files have both spline and bitmap in the
> > same file.
> 
> I think that this is a known bug of LyX 1.2.1, which will be fixed in 1.2.2.
> 

-- 
  Bruce Momjian|  http://candle.pha.pa.us
  [EMAIL PROTECTED]|  (610) 359-1001
  +  If your life is a hard drive, |  13 Roberts Road
  +  Christ can be your backup.|  Newtown Square, Pennsylvania 19073



Re: Which drawing program?

2002-11-08 Thread I Wayan Warmada

On Fri, 8 Nov 2002, Max Bian wrote:

| I really need a good drawing package that is is able to draw a closed
| path with different line types/colors/thicknesses along it.  I also need
| it allows straight lines, spine lines, bezier curves at the different
| segments on the same path.  And finally, it allows me to fill the
| enclosed area with solid colors or patterns.

drawing ---> xfig or tgif.
plotting --> xmgrace or gnuplot but gnuplot hasn't a fill pattern...
 I always use combine gnuplot + xfig (the best solution).

Wayan




Re: Which drawing program?

2002-11-08 Thread I Wayan Warmada

On 8 Nov 2002, Kirk R. Wythers wrote:

| I use programs for figures: (1) xmgrace for scientific plotting and gimp
| for drawing. They both produce wonderful eps output that lyx has no
| trouble with

sketch for vector drawing instead of gimp... gimp is not good if you add
some text because is a bitmap. Otherwise you can combine gimp + xfig (if
text is needed...).

Wayan




Re: Which drawing program?

2002-11-08 Thread Peter Martin
I have used Dia with great success. One feature is that it is cross
platform, so people who don't use Linux (many corporations and some of my
clients) can also use it to view/create diagrams in Windoze. It comes with
several pre-defined libraries for UML, flowcharts etc which makes it easy to
produce standard business or technical diagrams.

It creates postscript (amongst other formats) which can be digested by LyX.
It also supports many fonts so the text looks quite reasonable.

Pete




Re: my "top pet peeves wrt 1.2.0"

2002-11-08 Thread John Levon
On Fri, Nov 08, 2002 at 03:49:14PM +1100, Steven Homolya wrote:

> http://bugzilla.lyx.org/show_bug.cgi?id=705

No good whining about it if you don't supply testcases as we asked.

>  - cursor gets stuck in floats/ERT boxes (I'm sure this was reported but I 
> can't find it on bugzilla)

I don't believe the various problems are listed.

>  - as figures are being rendered, the text I'm typing jumps out of view and 
> the display gets all messed up.

This has been fixed I believe.

regards
john
-- 
"When a man has nothing to say, the worst thing he can do is to say it
memorably."
- Calvin Trillin



Re:cut words at the end of line

2002-11-08 Thread Ignacio Garcia



On Thu, Nov 07, 2002 at 05:47:37PM +0100, Javi Castelo wrote:
> I have selected "spanish" in language option but Lyx
(1.1.6fix4) cut the
> words at the end of line without respecting the spanish
grammatical rules.
>
> I'm resolving this problem by hand. It's too much heavy.
>
> What can I do?

En el archivo /etc/texmf/language.dat sigue las instrucciones
que da: Debes quitar el símbolo % en la línea spanish
sphhyph.tex. (Si quieres puedes poner % a algunos idiomas como
french o austrian pero se recomienda no tocar el english)
Luego haces en consola o en xterm: initex latex.ini
Esto te genera un archivo llamado latex.conf y otro llamado
latex.log (si todo sale bien, en este último podrás confirmar
que se cargará el patrón de guionado en español)
Por último, esos dos archivos debes moverlos a
/var/lib/texmf/web2c/

Ignacio

-
Tu correo gratis en MixMail http://www.mixmail.com
Ya.com ADSL, Router 3Com ¡Gratis! http://acceso.ya.com/adsl



Re: Which drawing program? --Thanks

2002-11-08 Thread Chris Carlen
Chris Carlen wrote:
[edit]

1. Does anyone here use OpenOffice to produce figures to import into 
Lyx, and if so how do you generate the .eps files?
[edit]

2.  What program is used most often, and what might you recommend?

[edit]


Thanks for all the responses to the above question.  The volume of 
information was substantial, so it might take me a while to digest it. 
I will try to respond to some of the individual replies as well.

Good day!


--

Christopher R. Carlen
Principal Laser/Optical Technologist
Sandia National Laboratories CA USA
[EMAIL PROTECTED]



  1   2   >