Re: LyX-1.0.2 teTeX-0.9 on a RedHat Linux 6.0 System

1999-05-06 Thread Jean-Pierre.Chretien


>> Date: Thu, 06 May 1999 18:36:14 -0700
>> From: Daniel Lyddy <[EMAIL PROTECTED]>
>> To: Kayvan Aghaiepour Sylvan <[EMAIL PROTECTED]>
>> CC: [EMAIL PROTECTED]
>> Subject: Re: LyX-1.0.2 teTeX-0.9 on a RedHat Linux 6.0 System
>> 
>> Kayvan Aghaiepour Sylvan wrote:
>> > 
>> > You might want to set your TEXINPUTS to something like this:
>> > 
>> > export TEXINPUTS=.:/home/your_home_dir/src/tex/sty:/usr/share/texmf/tex//
>> > 
>> > The "//" tells the suite of TeX and dvips programs to search all
>> > subdirectories for the style files.
>> 
>> I added this line to my /etc/profile (and to my /etc/csh.cshrc for tcsh
>> users) and the problem seems to be solved.  Well, not quite, individual
>> users had to delete their personal copies of textclass.lst so that LyX
>> would read the global copy in /usr/share/lyx, but that's a minor
>> annoyance.  Anyway, thanks for all your help in fixing this problem.
>> 
>> A suggestion to the developers: maybe the /usr/share/lyx/configure
>> script could check and report the TEXINPUTS base search path.  Better
>> yet, the script should stop and report an error message if this variable
>> is found to be empty/unset.

This will get me into trouble because I use only the kpathsea hashfile
to get styles, so I never use explicit TEX or BIB or whatever INPUTS.

Regards

-- 
Jean-Pierre



Multicolumn figures

1999-05-06 Thread Jacques Germishuizen

Hello

I want to display two figures next to each other on the same page.
Therefore I inserted a table with two columns and one row.  The difficulty
I have is to place text underneath the figure.  Each time the text is next
to the picture and not below the picture.  

I also could'nt insert a figure float in the table cell because Lyx does
not allow it.  I would like to do that so that the figure has a number
for cross reference. 

I would appreciate help

Thanks

Jacques Germishuizen
E-pos: [EMAIL PROTECTED]




Re: LyX-1.0.2 teTeX-0.9 on a RedHat Linux 6.0 System

1999-05-06 Thread Kayvan Aghaiepour Sylvan

> "Daniel" == Daniel Lyddy <[EMAIL PROTECTED]> writes:

>> You might want to set your TEXINPUTS to something like this:
>> 
>> export TEXINPUTS=.:/home/your_home_dir/src/tex/sty:/usr/share/texmf/tex//
>> 
>> The "//" tells the suite of TeX and dvips programs to search all
>> subdirectories for the style files.

Daniel> I added this line to my /etc/profile (and to my /etc/csh.cshrc
Daniel> for tcsh users) and the problem seems to be solved.  Well, not
Daniel> quite, individual users had to delete their personal copies of
Daniel> textclass.lst so that LyX would read the global copy in
Daniel> /usr/share/lyx, but that's a minor annoyance.  Anyway, thanks
Daniel> for all your help in fixing this problem.

Great! I'm glad it's fixed.

Happy TeXing!

---Kayvan
-- 
Kayvan Aghaiepour Sylvan   | Proud husband of   | Father to
Sylvan Associates, Inc.| Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
http://www.isp.net/~kayvan || Robin Gregory (2/28/92)



Re: LyX-1.0.2 teTeX-0.9 on a RedHat Linux 6.0 System

1999-05-06 Thread Daniel Lyddy

Kayvan Aghaiepour Sylvan wrote:
> 
> You might want to set your TEXINPUTS to something like this:
> 
> export TEXINPUTS=.:/home/your_home_dir/src/tex/sty:/usr/share/texmf/tex//
> 
> The "//" tells the suite of TeX and dvips programs to search all
> subdirectories for the style files.

I added this line to my /etc/profile (and to my /etc/csh.cshrc for tcsh
users) and the problem seems to be solved.  Well, not quite, individual
users had to delete their personal copies of textclass.lst so that LyX
would read the global copy in /usr/share/lyx, but that's a minor
annoyance.  Anyway, thanks for all your help in fixing this problem.

A suggestion to the developers: maybe the /usr/share/lyx/configure
script could check and report the TEXINPUTS base search path.  Better
yet, the script should stop and report an error message if this variable
is found to be empty/unset.

Thanks,
Dan

P.S. I still don't know exactly why this environment variable was unset
by the upgrade to RedHat 6.0, but I think one of the packages had moved
my original /etc/profile and /etc/csh.cshrc to "rpmsave" files and
installed plain vanilla ones in their places.  I'm guessing that these
standard files probably had TEXINPUTS entries in them, which were erased
when I moved my custom files back from rpmsave.
-- 
Daniel Lyddy[EMAIL PROTECTED]
UC Berkeley Vision and Virtual Environments Lab
549 Soda Hall, Berkeley, CA 94720
tel: +1 (510) 642-4979
url: http://www.cs.berkeley.edu/~daniell



Re: View dvi/Update dvi commands does not update files

1999-05-06 Thread Garst R. Reese

Lars Gullik Bj?nnes wrote:
> 
> Salvador Olmos <[EMAIL PROTECTED]> writes:
> 
> | the new changes have not been updated in the dvi file.
> | Is it a bug of the new version?
> | In the last versions 1.0.0 and 1.0.1 this option was OK.
> 
> I am trying to track the cause for this down, but it is not easy as I
> can not reproduce it. When I find the cause of this I will most likely
> release a new version. Until then I could need some prying eyes...
> 
> Lgb
Just one more data point. Print to file also fails to get the changes.



Re: LyX to PDF (was: Why are EPS files so big?)

1999-05-06 Thread Chi-hsuan Lai

Thank you for you guys' pointers to pdflatex and pstill program. I am
trying to convert my thesis to pdf and met problems with both approaches.

1) pdflatex
Use pdflatex on the tex file generated by lyx, I get error message
=
This is pdfTeX, Version 3.14159-0.12h (Web2C 7.2)
(pdftex.cfg) (thesis.tex
LaTeX2e <1998/06/01>
Babel  and hyphenation patterns for american, french, german,
italian, n
ohyphenation, loaded.
(/usr/share/texmf/tex/latex/base/report.cls
Document Class: report 1998/05/05 v1.3y Standard LaTeX document class
(/usr/share/texmf/tex/latex/base/size11.clo))
(/usr/share/texmf/tex/latex/base/fontenc.sty
(/usr/share/texmf/tex/latex/base/t1enc.def))
(/usr/share/texmf/tex/latex/graphics/graphics.sty
(/usr/share/texmf/tex/latex/graphics/trig.sty)
(/usr/share/texmf/tex/latex/config/graphics.cfg)
(/usr/share/texmf/tex/latex/graphics/pdftex.def))
(/usr/share/texmf/tex/latex/cite/overcite.sty)
(/home/lai/tex/inputs/ut/utthesis.sty
*
** UT Austin Thesis Style File, version 2.0, January 1995 
** Written by Dinesh Das 
** Dept. of Computer Sciences 
** The University of Texas at Austin 
*
)
No file thesis.aux.
(/usr/share/texmf/tex/context/base/supp-pdf.tex
(/usr/share/texmf/tex/context/ppchtex/supp-mis.tex
loading : Context Support Macros / Missing
)
loading : Context Support Macros / PDF
)
Underfull \hbox (badness 1) in paragraph at lines 136--136


Underfull \hbox (badness 1) in paragraph at lines 136--136
[][]

Underfull \hbox (badness 1) in paragraph at lines 136--136
[]

Underfull \hbox (badness 1) in paragraph at lines 136--136
[]

Underfull \hbox (badness 1) in paragraph at lines 136--136
[]
[1
! Error: pdflatex:
Font ecbx1440 not found in map files
===

But if I comment out the line in the tex file

\usepackage[T1]{fontenc}

Then the pdflatex would not complain.

2) pstill

Again, if I use unmodified tex file generated by LyX, pstill needs a long
time to convert the resulted ps file even I use 

dvips -Pcmz -Pamz thesis.dvi

to generate the ps file.

The result is much improved with "\usepackage[T1]{fontenc}" commented out.

Can anyone comment on these results and how can I diable the output of
"\usepackage[T1]{fontenc}" line in the tex file exported by LyX?

Thanks.

Lai



Re: LyX-1.0.2 teTeX-0.9 on a RedHat Linux 6.0 System

1999-05-06 Thread Kayvan Aghaiepour Sylvan

You might want to set your TEXINPUTS to something like this:

export TEXINPUTS=.:/home/your_home_dir/src/tex/sty:/usr/share/texmf/tex//

The "//" tells the suite of TeX and dvips programs to search all
subdirectories for the style files.

This still feels like a configuration problem. I don't know what else
to suggest.

 ---Kayvan



Re: Small glitch in View dvi?

1999-05-06 Thread Mario Parra

I look at the code for DepTable.C in both 1.0.1 and 1.0.2 and the 1.0.1
version never calls MakeAbsPath. Furthermore, in the 1.0.2 version,
every time MakeAbsPath is called, there is a comment that says:

 // not quite sure if this is the correct place for MakeAbsPath

Otherwise the files are identical. So I simply replaced version 1.0.2
with version 1.0.1 and things seem to work fine. The foo.tex.dep
file has the correct name and update dvi works ok.


-Mario



Re: View dvi/Update dvi commands does not update files

1999-05-06 Thread Garst R. Reese

Lars Gullik Bj?nnes wrote:
> 
> Salvador Olmos <[EMAIL PROTECTED]> writes:
> 
> | the new changes have not been updated in the dvi file.
> | Is it a bug of the new version?
> | In the last versions 1.0.0 and 1.0.1 this option was OK.
> 
> I am trying to track the cause for this down, but it is not easy as I
> can not reproduce it. When I find the cause of this I will most likely
> release a new version. Until then I could need some prying eyes...
> 
> Lgb
I just checked my /tmp files. name.tex is getting updated. name.ps_tmp
is not.



Re: LyX-1.0.2 teTeX-0.9 on a RedHat Linux 6.0 System

1999-05-06 Thread Daniel Lyddy

Kayvan Aghaiepour Sylvan wrote:
> 
> One other idea:
> 
> Is your TEXINPUTS (or whatever is used when that is not set)
> configured correctly for the system?

There was no TEXINPUTS environment variable set when I started, but now
I have located many style and class files that came with the
teTeX-0.9-17 rpm set.  Here is my TEXINPUTS now:

TEXINPUTS=/usr/share/texmf/tex/latex/amslatex:/usr/share/texmf/tex/latex/base:/usr/share/texmf/tex/latex/dinbrief:/usr/share/texmf/tex/latex/foiltex:/usr/share/texmf/tex/latex/g-brief:/usr/share/texmf/tex/latex/komascr:/usr/share/texmf/tex/latex/misc:/usr/share/texmf/tex/latex/ntgclass:/usr/share/texmf/tex/latex/seminar

> 
> Can you actually use LaTeX outside of LyX?

I tried the simple LaTeX file you sent me with TEXINPUTS set as above,
and it worked fine, I was even able to view the resulting dvi.  What
mechanism is supposed to set the style and class search path when
LaTeX/teTeX are installed?

> 
> That may be the problem, I don't know.

I have some different symptoms to report.  Just to have a new beginning,
I uninstalled teTeX and LyX, then reinstalled them with the TEXINPUTS
variable set as above.  Here is what now happens when I run
/usr/share/lyx/configure:


root[227] ./configure
checking for a LaTeX2e program... 
+checking for "latex"... not useable
+checking for "latex2e"... not useable
checking for reLyX LaTeX-to-LyX translator... 
+checking for "reLyX"... yes
checking for a Literate programming processor... 
+checking for "noweave"... no
checking for a Postscript interpreter... 
+checking for "gs"... yes
checking for a Postscript previewer... 
+checking for "gv"... yes
checking for a *roff formatter... 
+checking for "groff"... yes
checking for ChkTeX... 
+checking for "chktex"... no
checking for a spell-checker... 
+checking for "ispell"... yes
checking for a fax driver... 
+checking for "sendfax"... yes
checking for SGML-tools (aka LinuxDoc-SGML)... 
+checking for "sgml2lyx"... no
checking for a spool command... 
+checking for "lp"... no
+checking for "lpr"... yes
checking LaTeX configuration... default values
creating textclass.lst
creating packages.lst
creating doc/LaTeXConfig.lyx
creating lyxrc.defaults


That part about latex and latex2e being not usable worries me,
especially since latex still works on the sample file you sent me.  Why
is the configure script complaining?

The resulting textclass.lst looks like this:


# This file declares layouts and their associated definition files
# (include dir. relative to the place where this file is).
# It contains only default values, since chkconfig.ltx could not be run 
# for some reason. Run ./configure if you need to update it after a
# configuration change.  
article article article
report  report  report
bookbookbook
linuxdoclinuxdoclinuxdoc
letter  letter  letter


I tried reading chkconfig.ltx but I don't know anything about the
scripting language being used (is this Perl?)

Anyway, LyX still refuses to start, complaining about textclass.lst as
always.

Thanks,
Dan
-- 
Daniel Lyddy[EMAIL PROTECTED]
UC Berkeley Vision and Virtual Environments Lab
549 Soda Hall, Berkeley, CA 94720
tel: +1 (510) 642-4979
url: http://www.cs.berkeley.edu/~daniell



Re: Why are EPS files so big?

1999-05-06 Thread jmunoz

On Wed, 5 May 1999, Victor Ott wrote:

> 
> Our document's life line is:
>   LyX > preprocessor > LyX (batch mode) > LaTeX > dvips > ps2pdf = pdf
> or

> Is there another way to generate PDF files?

Yes, using pdflatex 
I just experimented here, it is 10x little ...




Re: Small glitch in View dvi?

1999-05-06 Thread Herbert


> Here (lyx-1.0.2 on Sun Solaris 2.6), in /tmp/lyx_tmp6076aaa/lyx_bufrtmp6076aaa/
> -rw---   1 chretien dera   8 May  6 19:03 newfile.aux
> -rw---   1 chretien dera 228 May  6 19:03 newfile.dvi
> -rw---   1 chretien dera2353 May  6 19:03 newfile.log
> -rw---   1 chretien dera 349 May  6 19:04 newfile.tex
> -rw---   1 chretien dera  34 May  6 19:03 newfile.tex.dep
> 
>   - the .dep file points to the original directory,
> %more newfile.tex.dep
> /ca/dera/chretien/newfile.tex 0 0
>   - the .tex file is up to date (19:04) after a change,
>   - the other files remained unchanged.
> 
> If I past the temporary dir instead in newfile.tex.dep,
> %more newfile.tex.dep
> /tmp/lyx_tmp6076aaa/lyx_bufrtmp6076aaa/newfile.tex 0 0
> 
> further updates work.

thats ok! 
the .dep file points to my home-directory /home/voss , but the
text is from /home/voss/texte/.../
when I change the .dep file to the /tmp/...(just like Jean-Pierre)
everything works well!

Herbert


-- 
[EMAIL PROTECTED]
http://www.canisius.de/



Re: Small glitch in View dvi?

1999-05-06 Thread Kayvan Aghaiepour Sylvan

> "Mario" == Mario Parra <[EMAIL PROTECTED]> writes:

Mario>   What I meant is that in your reply to my e-mail you claimed that

Kayvan > Even when I am running with ``\use_tempdir false'', the foo.tex.dep
Kayvan > file contains the right information:
Kayvan >
Kayvan > /tmp/lyx_tmp10450aaa/lyx_bufrtmp10450aaa/foo.tex 2303679553 2303679553

Mario> So in your example \use_tempdir was false, yet foo.tex.dep was
Mario> still pointing to /tmp.

Oh. That was just my typo. I mean: Even when I am running *without*...



Re: Small glitch in View dvi?

1999-05-06 Thread Mario Parra

Kayvan Aghaiepour Sylvan wrote:

>
>
> Mario> Anyway, if \use_tmpdir is false, how come it is still using /tmp?
>
> It shouldn't be. Did you quit and restart lyx.
>
> Putting the line "\use_tempdir false" in your ~/.lyx/lyxrc should make
> lyx stop using temp directories (putting all intermediate files where
> the main lyx file is).
>
> ---Kayvan

  What I meant is that in your reply to my e-mail you claimed that

Kayvan >  Even when I am running with ``\use_tempdir false'', the
foo.tex.dep
Kayvan >   file contains the right information:
Kayvan >
Kayvan >/tmp/lyx_tmp10450aaa/lyx_bufrtmp10450aaa/foo.tex 2303679553
2303679553

So in your example \use_tempdir was false, yet foo.tex.dep was still
pointing
to /tmp.

-Mario



Re: Small glitch in View dvi?

1999-05-06 Thread Kayvan Aghaiepour Sylvan

> "Mario" == Mario Parra <[EMAIL PROTECTED]> writes:

Mario> I am on a sparc 10 running solaris 2.6, but I think this bug is
Mario> not os dependent.

I don't really know if it's OS dependant or not. I and several people
from the LyX team don't see the problem and we're still trying to
figure out why it happens.

Mario> Anyway, if \use_tmpdir is false, how come it is still using /tmp?

It shouldn't be. Did you quit and restart lyx.

Putting the line "\use_tempdir false" in your ~/.lyx/lyxrc should make
lyx stop using temp directories (putting all intermediate files where
the main lyx file is).

---Kayvan



Re: LyX to PDF (was: Why are EPS files so big?)

1999-05-06 Thread Florian Cramer

Am Thu, 06.May.1999 um 15:59:50 +0200 schrieb Ralf Plaenkers:

> Hope this little overview helped a bit to get even more confused and
> continue discussing this important issue in order to find a better
> solution and end all wars.

You should also mention the 'hyperref' package which lets you use all
hypertext features of pdf, hypertextualize table of contents and index by
default, and customize the behavior of your resulting document in Acrobat
reader (including default view and entries in the document info). 

Since using most of these features boils down to few lines in the preamble,
hyperref is nicely usable in LyX, too. (In my experience, pdflatex is the way
to go if you use hyperref.)

Florian

-- 
Florian Cramer, PGP public key ID 6440BA05, ICQ 33582613
Permutations/Permutationen - poetry automata from 330 A.D. to
present: 



*.deb of LyX 1.0.2 anywhere?

1999-05-06 Thread Florian Cramer

Does anyone know if and where there's a Debian package of LyX 1.0.2? I guess
that Paul Seelig, who previously built inofficial LyX-debs, is too busy
these days to do us the favor.

Florian

-- 
Florian Cramer, PGP public key ID 6440BA05, ICQ 33582613
Permutations/Permutationen - poetry automata from 330 A.D. to
present: 



Re: Small glitch in View dvi?

1999-05-06 Thread Mario Parra

Kayvan Aghaiepour Sylvan wrote:

> > "Mario" == Mario Parra <[EMAIL PROTECTED]> writes:
>
> Mario> One more thing, if I turn /usr_tmpdir to false and the lyx file
> Mario> is not in the distribution directory, then create dvi does not
> Mario> even work the first time around!
>
> What system are you running?
>
> Even when I am running with ``\use_tempdir false'', the foo.tex.dep
> file contains the right information:
>
> /tmp/lyx_tmp10450aaa/lyx_bufrtmp10450aaa/foo.tex 2303679553 2303679553
>
> My only other thought is that somehow MakeAbsPath() is returning the
> wrong thing for inclusion into the DepTable
>
>   ---Kayvan

  I am on a sparc 10 running solaris 2.6, but I think this bug is not os
dependent.
Anyway, if \use_tmpdir is false, how come it is still using /tmp?

-Mario



Re: LyX-1.0.2 teTeX-0.9 on a RedHat Linux 6.0 System

1999-05-06 Thread Kayvan Aghaiepour Sylvan

One other idea:

Is your TEXINPUTS (or whatever is used when that is not set)
configured correctly for the system?

Can you actually use LaTeX outside of LyX?

That may be the problem, I don't know.

 ---Kayvan



Re: Small glitch in View dvi?

1999-05-06 Thread Lars Gullik Bjønnes

Kayvan Aghaiepour Sylvan <[EMAIL PROTECTED]> writes:
| /tmp/lyx_tmp10450aaa/lyx_bufrtmp10450aaa/foo.tex 2303679553 2303679553
| 
| My only other thought is that somehow MakeAbsPath() is returning the
| wrong thing for inclusion into the DepTable
| 
| ---Kayvan

One thing those of you seeing the glitch can do for me is to edit
DepTable.C and enable some commented lines:

in DepTable::update()
DepTable::read(LString const &f)
DepTable::write(FILE * f)

compile and run LyX with -dbg 129

Lgb



Re: LyX to PDF (was: Why are EPS files so big?)

1999-05-06 Thread Victor Ott

Roger Williams wrote:
> 
> > Ralf Plaenkers <[EMAIL PROTECTED]> writes:
> 
>   > Ghostscript's ps2pdf creates huge files due to the non-compression
>   > of bitmap images.
> 
>   > Adobe Acrobat Distiller gives very good results.
> 
> You didn't mention Frank Siegert's PStill, which provides most of the
> capabilities of Distiller, including flate compression and Type1 font
> support.  It's available as inexpensive shareware for a wide range of
> platforms, and the Linux version is FREE for private and educational
> purposes.
> 
> 

I discovered this new thread only an hour ago, I almost went home. But
I've downloaded PStill (Linux version) and: it is amazing!

Sizes:
PS (the same test file):  53350938
PDF (ps2pdf):233174225
PDF (PStill):  3290055

And no, these numbers are no mistake! I printed 5 test pages with each
gsview and Acrobat Reader: quality of PStill output is better.

It sure is worth it's 20 bucks worth!

Thanks all for helping and Barry Kauler for his original posting.

Victor



Re: LyX-1.0.2 teTeX-0.9 on a RedHat Linux 6.0 System

1999-05-06 Thread Daniel Lyddy

Kayvan Aghaiepour Sylvan wrote:
> 
> > "Daniel" == Daniel Lyddy <[EMAIL PROTECTED]> writes:
> 
> Daniel> Hi All, I just upgraded my RedHat Linux system from 5.2 to
> Daniel> 6.0.  I've also just upgraded my version of LyX from version
> Daniel> 1.0.0 to 1.0.2, built from Mate Wierdl's source RPMs.  [...]
> 
> Daniel> Are there some standard sty and cls files that are supposed to
> Daniel> come with LaTeX but were left out by RedHat when they packaged
> Daniel> up teTeX-0.9 with their Linux distribution?
> 
> I'm running LyX on a Redhat 5.2 system with tetex-0.9-6, and I don't
> have any problem, so it's not that.

I had this setup before with LyX 1.0.0, and it worked, but RedHat 6.0
comes with tetex-0.9-17, I wonder what the difference is.

> 
> Do you have both tetex-0.9-6 and tetex-latex-0.9-6 installed? You need
> both.
> 
> I have the following TeX related packages installed:
> 
> tetex-xdvi-0.9-6 tetex-xtexsh-0.3.3-8 tetex-dvilj-0.9-6
> tetex-afm-0.9-6 tetex-dvips-0.9-6 tetex-0.9-6 tetex-latex-0.9-6

Here are the packages I have on my system:
tetex-dvilj-0.9-17
tetex-xdvi-0.9-17
tetex-afm-0.9-17
tetex-doc-0.9-17
tetex-0.9-17
tetex-dvips-0.9-17
tetex-latex-0.9-17

What's in tetex-xtexsh?  Are there any .sty files in there?

> 
> One other thing: I'm not running with Mate's RPM. My RPM, based on one
> I found in contrib.redhat.com a while back, puts LyX in /usr/share/lyx
> (instead of /usr/local/share/lyx). Could that be your problem?

I modified Mate's spec file to install with a prefix of /usr as well, so
that is probably not it.

> 
> You should try running the LyX configure script with ``sh -xv'' to see
> what it's looking for and where it is looking for it.

I tried this, but it doesn't show the pathnames of the .sty/.cls names
it is looking for.

Thanks,
Dan
-- 
Daniel Lyddy[EMAIL PROTECTED]
UC Berkeley Vision and Virtual Environments Lab
549 Soda Hall, Berkeley, CA 94720
tel: +1 (510) 642-4979
url: http://www.cs.berkeley.edu/~daniell



Re: Small glitch in View dvi?

1999-05-06 Thread Jean-Pierre.Chretien


>> Date: Thu, 06 May 1999 10:33:16 -0600
>> From: Mario Parra <[EMAIL PROTECTED]>
>> To: Kayvan Aghaiepour Sylvan <[EMAIL PROTECTED]>, lyx users 
<[EMAIL PROTECTED]>
>> Subject: Re: Small glitch in View dvi?
>> 
>> Somehow the dependency files are not being set properly.
>> This is why I think this is so.
>> 
>> If I set use_tmpdir true then lyx creates a directory under /tmp where it 
stores
>> temporary
>> files. Over there, there is a file called nameofdocumet.tex.dep that holds 
the
>> names of the
>> latex files used to create the dvi. But that file points to the wrong place! 
It
>> always has the
>> path that points to the installation directory.

Here (lyx-1.0.2 on Sun Solaris 2.6), in /tmp/lyx_tmp6076aaa/lyx_bufrtmp6076aaa/
-rw---   1 chretien dera   8 May  6 19:03 newfile.aux
-rw---   1 chretien dera 228 May  6 19:03 newfile.dvi
-rw---   1 chretien dera2353 May  6 19:03 newfile.log
-rw---   1 chretien dera 349 May  6 19:04 newfile.tex
-rw---   1 chretien dera  34 May  6 19:03 newfile.tex.dep

  - the .dep file points to the original directory, 
%more newfile.tex.dep
/ca/dera/chretien/newfile.tex 0 0
  - the .tex file is up to date (19:04) after a change,
  - the other files remained unchanged.
  
If I past the temporary dir instead in newfile.tex.dep,
%more newfile.tex.dep
/tmp/lyx_tmp6076aaa/lyx_bufrtmp6076aaa/newfile.tex 0 0

further updates work.

Hope that helps...

-- 
Jean-Pierre


  
  
  
   



Re: Small glitch in View dvi?

1999-05-06 Thread Kayvan Aghaiepour Sylvan

> "Mario" == Mario Parra <[EMAIL PROTECTED]> writes:

Mario> One more thing, if I turn /usr_tmpdir to false and the lyx file
Mario> is not in the distribution directory, then create dvi does not
Mario> even work the first time around!

What system are you running?

Even when I am running with ``\use_tempdir false'', the foo.tex.dep
file contains the right information:

/tmp/lyx_tmp10450aaa/lyx_bufrtmp10450aaa/foo.tex 2303679553 2303679553

My only other thought is that somehow MakeAbsPath() is returning the
wrong thing for inclusion into the DepTable

  ---Kayvan



Re: Small glitch in View dvi?

1999-05-06 Thread Mario Parra

One more thing, if I turn /usr_tmpdir to false and the lyx file is not in the
distribution directory, then create dvi does not even work the first time
around!

-Mario



Re: Small glitch in View dvi?

1999-05-06 Thread Mario Parra

Somehow the dependency files are not being set properly.
This is why I think this is so.

If I set use_tmpdir true then lyx creates a directory under /tmp where it stores
temporary
files. Over there, there is a file called nameofdocumet.tex.dep that holds the
names of the
latex files used to create the dvi. But that file points to the wrong place! It
always has the
path that points to the installation directory.

To demontrate this, turn use_tmpdir to false, then create a lyx file but make sure
you
put it in the installation directory. Now the dependencies point to the right
place and
update dvi works fine (this is probably why it works for some of you, just move
the file
outside the installation directory and it should stop working.

-Mario



View dvi/Update dvi commands does not update files

1999-05-06 Thread Salvador Olmos

I have been using LyX for two years and I consider it as the best way to
write documents.

I have just updated the new version 1.0.2 without any problems, but
I noticed that when I make some changes in the text and I want to view
the dvi file I use the option Update dvi or View dvi, but I noticed that

the new changes have not been updated in the dvi file.
Is it a bug of the new version?
In the last versions 1.0.0 and 1.0.1 this option was OK.

Thanks to the LyX team for his job

Salvador




Re: Small glitch in View dvi?

1999-05-06 Thread Kayvan Aghaiepour Sylvan

> How do you set \use_tmpdir? I tried putting it in the preamble but latex

You put \use_tempdir into your ~/.lyx/lyxrc:

\use_tempdir false

Do you have gdb installed? If so, maybe you can step through the code
and see if if the problem is happening in the DepTable code?

---Kayvan

-- 
Kayvan Aghaiepour Sylvan   | Proud husband of   | Father to
Sylvan Associates, Inc.| Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
http://www.isp.net/~kayvan || Robin Gregory (2/28/92)



tabular in tabular

1999-05-06 Thread Uwe Brauer

Hello

In lyx-lyx-1.0.1, I tried to insert a tabular into a tabular, however
lyx explicity complained about it.

It is planned to include this feature in the near future??

Thanks

Uwe Brauer 



Re: Small glitch in View dvi?

1999-05-06 Thread Mario Parra



> On 06 May 1999 11:04:37 +0200, Lars Gullik Bj°nnes wrote:
>
> >Do those of you seeing this glitch use \use_tempdir true or false? Are
> >the temporary dir mounted over nfs?
> >

How do you set \use_tmpdir? I tried putting it in the preamble but latex
won't
take it.
I tried both on dirs mounted over nfs and on dirs  not monted over nfs and
the
problem is still there.

Here is some data on my system
OS: Sparc 10 running solaris 2.6.
tex: version  3.14159
I have 1.0.1 still installed, but if I install 1.0.2 on top, the error
persists.

-Mario



Re: LyX to PDF (was: Why are EPS files so big?)

1999-05-06 Thread Reuben Thomas

>* Ghostscript's ps2pdf creates huge files due to the
>  non-compression of bitmap images. Also, the file is ugly
>  to view on-screen because the Type-1 (vector) fonts are
>  sampled to Type-3 (bitmap) fonts. PDF readers can't use
>  anti-aliasing in this case and printers can only print in
>  the maximum resolution that was given by dvips.
>  (lyx->latex->dvips->ps2pdf)

It seems much better to me. Perhaps it's because I use pslatex, so the
fonts remain scalable (at least, they look pretty scalable and
anti-aliased in gv).

>* pdf(la)tex is an alternativ to the tex compiler that
>  generates directly pdf files instead of dvi. I haven't

My experience of pdflatex (admittedly a while ago, and it was early days
then) was that it produced much larger files than dvips+ps2pdf, but then I
wasn't using graphics.

I agree that a better way is needed, and that for the moment the optimum
solution seems to be Distiller (for quality, and it should be given that
Adobe make it).

-- 
http://www.cl.cam.ac.uk/users/rrt1001/ | certain, a.  insufficiently analysed



Re: Small glitch in View dvi?

1999-05-06 Thread Herbert

"Lars Gullik Bjønnes" wrote:
> 
> Kayvan Aghaiepour Sylvan <[EMAIL PROTECTED]> writes:
> 
> | Could you try running ``lyx -dbg'' and seeing if that gives a clue?
> 
> try -dbg 128
> 
there are the same messages on my system as in Marios mail.
my systems:
1. Linux 2.0.36 (i586) (Suse 5.3)
2. Linux 2.0.36 (i686) "
3. Linux 2.2.5  (i686) "

from my point of view it must be an error of the variable
which stores the change-mode of an file. The behaviour of
1.0.2 is just like the 1.0.1 when you don't change anything
and update dvi-viewing. I don't know, why this should be an
error of a specific system. On the other hand, when it works
well at Lars, it's not a real error in programming code.

so the only thing I can say after 25 years in programming
is: the time for fixing an error is reverse to its degree
of difficulty... ;-))

Herbert

-- 
[EMAIL PROTECTED]
http://www.canisius.de/




Howto change margin in Algorithm float / LyX Code Sans

1999-05-06 Thread lichtenberger
 application/oberon


Re: LyX to PDF (was: Why are EPS files so big?)

1999-05-06 Thread Roger Williams

> Ralf Plaenkers <[EMAIL PROTECTED]> writes:

  > Ghostscript's ps2pdf creates huge files due to the non-compression
  > of bitmap images.

  > Adobe Acrobat Distiller gives very good results.

You didn't mention Frank Siegert's PStill, which provides most of the
capabilities of Distiller, including flate compression and Type1 font
support.  It's available as inexpensive shareware for a wide range of
platforms, and the Linux version is FREE for private and educational
purposes.



-- 
Roger Williams finger me for my PGP public key
Coelacanth Engineering Incconsulting & turnkey product development
Middleborough, Massachusetts   wireless * datacomm * DSP * ATE
tel +1 508 947-5585 * fax +1 508 861-0278 * http://www.coelacanth.com/



LyX-1.0.2 teTeX-0.9 on a RedHat Linux 6.0 System

1999-05-06 Thread Kayvan Aghaiepour Sylvan

> "Daniel" == Daniel Lyddy <[EMAIL PROTECTED]> writes:

Daniel> Hi All, I just upgraded my RedHat Linux system from 5.2 to
Daniel> 6.0.  I've also just upgraded my version of LyX from version
Daniel> 1.0.0 to 1.0.2, built from Mate Wierdl's source RPMs.  [...]

Daniel> Are there some standard sty and cls files that are supposed to
Daniel> come with LaTeX but were left out by RedHat when they packaged
Daniel> up teTeX-0.9 with their Linux distribution?

I'm running LyX on a Redhat 5.2 system with tetex-0.9-6, and I don't
have any problem, so it's not that.

Do you have both tetex-0.9-6 and tetex-latex-0.9-6 installed? You need
both.

I have the following TeX related packages installed: 

tetex-xdvi-0.9-6 tetex-xtexsh-0.3.3-8 tetex-dvilj-0.9-6
tetex-afm-0.9-6 tetex-dvips-0.9-6 tetex-0.9-6 tetex-latex-0.9-6

One other thing: I'm not running with Mate's RPM. My RPM, based on one
I found in contrib.redhat.com a while back, puts LyX in /usr/share/lyx
(instead of /usr/local/share/lyx). Could that be your problem?

You should try running the LyX configure script with ``sh -xv'' to see
what it's looking for and where it is looking for it.

I include my spec file (which you'll need to modify, it's set up for
1.0.3pre1 right now) for you to try.


 LyX spec file


   ---Kayvan
-- 
Kayvan Aghaiepour Sylvan   | Proud husband of   | Father to
Sylvan Associates, Inc.| Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
http://www.isp.net/~kayvan || Robin Gregory (2/28/92)



LyX to PDF (was: Why are EPS files so big?)

1999-05-06 Thread Ralf Plaenkers

Some experience with LyX (LaTeX) and PDF:

   * Ghostscript's ps2pdf creates huge files due to the
 non-compression of bitmap images. Also, the file is ugly
 to view on-screen because the Type-1 (vector) fonts are
 sampled to Type-3 (bitmap) fonts. PDF readers can't use
 anti-aliasing in this case and printers can only print in
 the maximum resolution that was given by dvips.
 (lyx->latex->dvips->ps2pdf)
   * Adobe Acrobat Distiller gives very good results. Fonts
 remain scalable and are easy to read on-screen. Bitmap
 images get compressed via zip or jpeg. The only
 inconvience is that it's not free and that it's not
 available for Unix. If you are doing business or need good
 PDF quality for other reasons then you're best with paying
 the licence. It's worth it for me.
 (lyx->latex->dvips->distiller)
   * pdf(la)tex is an alternativ to the tex compiler that
 generates directly pdf files instead of dvi. I haven't
 used it intensively but it promises to be fantastic. Fonts
 are in perfect shape, scalable and readable and you don't
 need to generate huge eps files from your png or jpeg
 images, they can be used directly without loss of quality
 or disk space. An inconvience is that eps vector graphics
 can't be read, they have to be converted to pdf manually.
 I had problems with this. But this may be due to the
 university-wide TeX installation. A direct import of fig
 figures would be fantastic. Another inconvience is that
 lyx has no support for pdftex, i.e. you need to deal
 yourself with the inclusion of png, jpg and pdf images.
 (Developers: hint, hint...)
 (lyx->pdflatex)

Hope this little overview helped a bit to get even more confused and
continue discussing this important issue in order to find a better
solution and end all wars.

Ralf




Re: Tabellenproblem ...

1999-05-06 Thread Ingo Kloecker

> Folgendes Problem habe ich mit LyX 0.12.

Upgrade to 1.0.x. Unfortunately this doesn't solve your problems. But it's much
better than version 0.12.
(Installier' eine aktuelle Version von LyX. Das hilft dir zwar bei deinen
Problemen nicht weiter. Aber es ist dennoch empfehlenswert.)


> Anbei die lyx-Datei.
> Wenn eine Tabellenzelle mehrzeilig auf größe begrenzt und mit einen
> "Bildschirmumbruch" [Control+Enter] versehen wird, ist der Text der
> nächsten Spalte gleiche Zeile mittig ausgerichtet. Es sollte denke ich
> aber nach oben ausgerichtet werden, oder? (Jedenfalls hätte ich das
> gern!)

Go to the first cell and click with the right mouse button (or choose
Layout/table...). Why is linebreak activated? Deactivate it! Then the text in
the other columns is justified at the top of the cell.
(Fuer die erste Zelle ist seltsamerweise die Option "Zeilenumbrueche"
aktiviert. Wenn du die ausschaltest ist der Text in den anderen Spalten, wie
gewuenscht oben ausgerichtet.)


> Weiterhin ist jede Zelle links bündig formatiert, aber in mehrzeiligen
> Zellen bricht er um und sperrt den Text (also Blocksatz), wieso?

I have no idea. Perhaps this is the default behavior of Latex.
(Keine Ahnung! Wahrscheinlich ist das das standardmaessige Verhalten von Latex
bei mehrzeiligem Zelleninhalt.)

> Und wie
> kann man das ändern?

Unfortunately I don't know how to change it. Maybe it's possible to make the
text left-justified by defining a special column-format in Layout/Table/Extra.
(Ich habe leider nicht genug Ahnung von Latex. Vielleicht kannst du durch einen
entsprechenden Eintrag in Layout/Tabelle/Extra/Besonderes Spaltenformat etwas
daran aendern. Am besten siehst du mal in einem Latex-Buch nach.)


Bye,
(Tschoe ;-))

Ingo





Re: Small glitch in View dvi?

1999-05-06 Thread Sasa Janiska

On 06 May 1999 11:04:37 +0200, Lars Gullik Bj°nnes wrote:

>Do those of you seeing this glitch use \use_tempdir true or false? Are
>the temporary dir mounted over nfs? 
>
It is the same. 
No temporary dir over nfs.
Something must  broken in the code.
The same file worked in 1.0.1.
Sincerely,
Sasa

Sasa Janiska
Zagreb, Croatia
E-mail: [EMAIL PROTECTED]




Tabellenproblem ...

1999-05-06 Thread Sven Gustke

Halli, hallo ...
Folgendes Problem habe ich mit LyX 0.12.
Anbei die lyx-Datei.
Wenn eine Tabellenzelle mehrzeilig auf größe begrenzt und mit einen
"Bildschirmumbruch" [Control+Enter] versehen wird, ist der Text der
nächsten Spalte gleiche Zeile mittig ausgerichtet. Es sollte denke ich
aber nach oben ausgerichtet werden, oder? (Jedenfalls hätte ich das
gern!)
Weiterhin ist jede Zelle links bündig formatiert, aber in mehrzeiligen
Zellen bricht er um und sperrt den Text (also Blocksatz), wieso? Und wie
kann man das ändern?

Vielen Dank

Sven Gustke


#This file was created by  Thu May  6 13:53:46 1999
#LyX 0.12 (C) 1995-1998 Matthias Ettrich and the LyX Team
\lyxformat 2.15
\textclass sapvertrag
\begin_preamble
\input{/home/lyx/tb/sapvertrag_template.tex}
\end_preamble
\language german
\inputencoding latin1
\fontscheme helvet
\graphics dvips
\paperfontsize 11
\spacing single 
\papersize a4paper
\paperpackage a4
\use_geometry 1
\use_amsmath 0
\paperorientation portrait
\leftmargin 20mm
\topmargin 15mm
\rightmargin 20mm
\bottommargin 20mm
\secnumdepth 3
\tocdepth 3
\paragraph_separation skip
\defskip smallskip
\quotes_language german
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default
\bullet 0
0
0
-1
\end_bullet

\layout Standard
\noindent 
das ist text
\layout Standard
\added_space_top 0.3cm \added_space_bottom 0.3cm \align center \LyXTable
multicol4
5 3 0 0 -1 -1 -1 -1
1 0 0 0
0 0 1 0
1 0 0 0
0 1 1 0
0 0 0 0
2 0 0 20mm
2 0 0 20mm
2 0 0 
1 2 1 0 1 0 1
2 2 0 0 1 0 0
0 2 0 0 0 0 0
0 8 0 0 0 0 0
0 8 0 0 0 0 0
0 8 0 0 0 0 0
0 8 0 0 0 0 0
0 8 0 0 0 0 0
0 8 0 0 1 0 0
0 8 0 0 0 0 0
0 8 0 0 0 0 0
0 8 0 0 0 0 0
0 8 0 0 0 0 0
0 8 0 0 0 0 0
0 8 0 0 0 0 0

Das ist normaler Text 
\newline 
hier kommt die nächste Zeile undzwar mittig und nicht nach oben ausgerichtet
\newline 
Bildschirmumbruch
\newline 

\newline 

\newline 
und ein wenig text
\newline 

\newline 
erst hier geschrieben
\newline 

\newline 

\newline 
mit BUmbruch
\newline 

\newline 

\newline 

\layout Standard

das ist auch text
\the_end



LyX-1.0.2 teTeX-0.9 on a RedHat Linux 6.0 System

1999-05-06 Thread Daniel Lyddy

Hi All,

I just upgraded my RedHat Linux system from 5.2 to 6.0.  I've also just
upgraded my version of LyX from version 1.0.0 to 1.0.2, built from Mate
Wierdl's source RPMs.  Now, I'm having a problem getting LyX to even
start, it keeps crashing with an error message complaining about my
"textclass.lst" file.  I logged in as root, cd'd to ../share/lyx, and
ran the configure script there again, and I noticed that almost all of
the .sty and .cls that configure checks for are missing (i.e the answer
is almost always "no").  The resulting "textclass.lst" file ends up
being empty, except for a few comment lines.  Are there some standard
sty and cls files that are supposed to come with LaTeX but were left out
by RedHat when they packaged up teTeX-0.9 with their Linux distribution?

Dan
-- 
Daniel Lyddy[EMAIL PROTECTED]
UC Berkeley Vision and Virtual Environments Lab
549 Soda Hall, Berkeley, CA 94720
tel: +1 (510) 642-4979
url: http://www.cs.berkeley.edu/~daniell



Re: Small glitch in View dvi?

1999-05-06 Thread Kayvan Aghaiepour Sylvan

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

Lars> Do those of you seeing this glitch use \use_tempdir true or false? Are
Lars> the temporary dir mounted over nfs? 

Just as a (non) data point: I am on an Redhat Linux 5.2 system with
kernel-2.0.36, tetex-0.9-6, LaTeX2e, running 1.03pre1.

Running with \use_tempdir true or false makes no difference. It still
works correctly on my machine.

  ---Kayvan



Re: Small glitch in View dvi?

1999-05-06 Thread Lars Gullik Bjønnes

Mario Parra <[EMAIL PROTECTED]> writes:
| return no_change

Do those of you seeing this glitch use \use_tempdir true or false? Are
the temporary dir mounted over nfs? 

Lgb



RE: sub and superscripts

1999-05-06 Thread Stefano Ghirlanda

Hi,

> > Could you tell me how can I put subscripts and superscripts?
> > I need to put that not in equations, but yes in units like
> > square meters, etc.
> 
> The quickest way I've found to do this is to use "Math Mode."  When you
> need to type "square meters," for instance, you can do this:

(explanation deleted)

A slighlty faster way than what has been explained is to enter the
sub/superscript *only* in math mode. Like that you don't have to switch
back into text mode inside the math mode. For example, to type square
meters:

m Ctrl-m ^2 space space 

("space space" is only to exit from math mode quickly)

Hope it helps,
Stefano

 Stefano Ghirlanda, Zoologiska Institutionen, Stockholms Universitet
Office: D554, Arrheniusv. 14, S-106 91 Stockholm, Sweden
Phone: +46 8 164055, Fax: +46 8 167715, Email: [EMAIL PROTECTED]
   Support Free Science, look at: http://rerumnatura.zool.su.se



Re: List of entries from BibTeX files + Update dvi/ps

1999-05-06 Thread Kayvan Aghaiepour Sylvan

> "Remy" == Remy Kolessar <[EMAIL PROTECTED]> writes:

Remy> By the way, I also have this "bug" with the update/view on
Remy> HP-UX. If I modify a document I already previewed with dvi or
Remy> ps, LaTeX is not re-run after that.

Maybe we should start compiling a list of platforms/systems on which
this bug is happening. Maybe there's a pattern there?

   ---Kayvan
-- 
Kayvan Aghaiepour Sylvan   | Proud husband of   | Father to
Sylvan Associates, Inc.| Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
http://www.isp.net/~kayvan || Robin Gregory (2/28/92)



Re: List of entries from BibTeX files + Update dvi/ps

1999-05-06 Thread Remy Kolessar

"Bobby D. Bryant" wrote:
> 
> I tried it, and at first didn't think it was working, but then I realized
> you don't see anything at all until you click the down arrow in the dialog
> box.  (The first entry isn't offered as a candidate, so the dialog box is
> empty when it comes up.)
>
> Also, I don't know what you mean by "tried ... as usual", but just in
> case: make sure you've got your .bib listed as the "database" in the
> BibTeX references area at the end of your document, and have your
> BIBINPUTS & BSTINPUTS defined as needed.

Well, that's my point, I don't get anything in the entry field in the
dialog box menu, even when clicking the arrow. Although I'm quite sure
my config' is all right, since if I put an entry in the insert citation
dialog box, and run LaTeX, I'm getting my ref to appear in my
document...

Thanks for your answer anyway!

By the way, I also have this "bug" with the update/view on HP-UX. If I
modify a document I already previewed with dvi or ps, LaTeX is not
re-run after that.

Remy