Re: Installation Problem. All entries in Textclass.lst are "false " so no output. Any suggestions?

2005-11-12 Thread Stephen Harris


- Original Message - 
From: "John Kane" <[EMAIL PROTECTED]>

To: 
Sent: Friday, November 11, 2005 12:30 PM
Subject: Re: Installation Problem. All entries in Textclass.lst are "false "
so no output. Any suggestions?



SH asked:  Have you installed ghostgum?


No I am getting a failure on that. See my later
posting on that. I seem to be having a problem getting
GSview to write to the registry.



I tried to find the error message "failed to add ps file association"
on Google and couldn't. Perhaps it does relate to permissions or
a prior setting. Speculating, do you have a postscript printer that
might have usurped the .ps file suffix (maybe network printer)?
I suppose you have tried making a new file association prior with
Windows Explorer/Tools/Folder Options prior to trying to install
GSview, though I am not sure that will help. Is there a prior ps file
association from the Ghostscript install or administrative fiat?

Never seen sech a confounded sight in all my dognabbed days,
Stephen




Re: Figure number X

2005-11-12 Thread Uwe Stöhr

[EMAIL PROTECTED] wrote:


I want my Lyx figures following the section numbers before the figure numbers, 
like the example above:
 
---

1 The First Section
 



Figure 1.1: The pic example
 



Figure 1.2: Another pic example


Add the following line to the preamble:

\numberwithin{figure}{section}

regards Uwe


Re: Multline subscript / AMS in LyX

2005-11-12 Thread Georg Baum
Rudi Gaelzer wrote:

> Well, OK, thanks anyway, but this is Lamport-style, standard LaTeX.  One
> of the aims of the AMS package, though, is to provide resources that
> render mathematical display that is aesthetically more appealing than
> standard LaTeX...

And it offers a lot of useful tools.

> Just for you to notice the difference between array and subarray
> environments in this case, I'm attaching a small .tex file which compares
> both instances.

And I attach the same file converted to LyX with tex2lyx.

> On Friday 11 November 2005 18:04, Helge Hafting wrote:
>> On Fri, Nov 11, 2005 at 05:33:39PM -0200, Rudi Gaelzer wrote:
>> > Does anyone know if the subarray AMS environment is implemented in LyX
>> > (I mean, not in ERT mode) and how to use it?

It is "semi-supported": It has no GUI entry, and you can't distinguish it
optically in LyX from a normal array, but you can create a 1x1 subarray if
you enter \subarray  in math mode. You can then add columns and rows
or change alignment with the usual tabular commands.
Every AMS construct I know of is at least supported like subarray.


Georg

test_subscript-t2l-221.lyx
Description: application/lyx


Re: Forget Windows

2005-11-12 Thread Angus Leeming
Andre Poenitz wrote:
> GUII had its time when it came to separating kernel and GUI, and when
> there were enough people actually working on LyX. Nowadays it's more
> of a hindrance than a help and I'd really appreciate a move to select
> a single prefered toolkit.

Hear hear!

-- 
Angus



bug in landscape? SOLVED!

2005-11-12 Thread Marcelo Acuÿfffff1a
Hi all,
I writing a book (Koma script)  in portrait mode,
I want experiment with landascape mode,
all ok, but page of title, extra title and dedicated
appears in portrait.
Is a bug?
 
Thanks
Marcelo Acuña
 
I solved this problem.
I add in preamble
\geometry{dvips}
and pages of title, extra title, etc.
appears in landscape.
Regards
Marcelo Acuña
 



-
 1GB gratis, Antivirus y Antispam
 Correo Yahoo!, el mejor correo web del mundo
 Abrí tu cuenta aquí

Re: Forget Windows

2005-11-12 Thread Helge Hafting
On Wed, Nov 09, 2005 at 11:26:36AM +, Angus Leeming wrote:
> Helge Hafting wrote:
> > Still, I really liked the way lyx 1.3 starts in less than a second. 
> > Lyx 1.4 needs 5 seconds to start, even with no document and
> > debugging turned off.
> 
> You are probably compiling with g++'s debug iterators. Try recompiling
> having configured with --disable-stdlib-debug and things should be an
> order of magnitude faster.
> 
With --disable-stdlib-debug and -O2 optimization, it still takes
3.6 seconds to start lyx-1.4 - without any document.  Just to get
the empty main window.  This on a 1.8 GHz opteron, which compiles
lyx way faster than an 2.4GHz pentium M does.  Of course lyx started
from cache, I started it several times in a row to rule out disk
slowness.  

No kind of document/paragraph problems - this is the startup time
without a document.  And probably not a qt problem either, as
lyx 1.3 uses qt and starts in less than a second.

_Editing_ with lyx 1.4 is fine, except from the occational bug.
The startup time is not - it has definitely regressed, and
I wonder if it has to be that way. What could lyx be up to _before_
l�oading documents?

Helge Hafting 


Re: Installation Problem. All entries in Textclass.lst are "false " so no output. Any suggestions?

2005-11-12 Thread Paul A. Rubin

John Kane wrote:


Obviously, as a student you, did not have the card
reader  shred your  computer deck ½ hours before the
assignment was due and all you needed was a clean
printout.


No, but I have the dubious distinction of having rested a box of punch 
cards on the roof of my car whilst unlocking it, and then driving off 
without bringing them into the car.  (Unsurprisingly, the cards did not 
drive off as far as I did.  Something about inertia, I believe.)



I have installed R, OpenOffice.org, Endnote and a few
other things on this machine so I assume I have
administrator's rights.  


Seems likely.


 Post myresults.txt so we can see if  something went
splat.

Splat.  Looks remarkably like what I saw when I
installed LyX.  I just did not know how to capture the
text flow before. 


I've posted the log and a screen shot of the directory
at
http://ca.geocities.com/jrkrideau/LyX/sh_configure_output1.pdf



Well, the output from the configuration script is in fact interesting. 
Note the first three lines.  The configuration script will look first 
for latex.exe and then, if necessary, for latex2e.exe, searching your 
system command path each time.  If it finds either, it will test the 
program's functionality on a dummy LaTeX document file.  Unfortunately, 
if a broken version of latex.exe is found, the script moves on to 
latex2e.exe, rather than continuing to search the command path.


Note that the script apparently found a latex.exe program but decided it 
was not usable (i.e., broken), then moved on to latex2e.exe, which it 
never found.  Lack of latex2e.exe is normal, but no working latex.exe 
means no joy using LyX.  So the next question to investigate is why it 
thought the copy of latex.exe it found was not usable.


If I recall correctly, you ran 'latex --version' using the latex.exe 
file in the MiKTeX bin directory and got a valid answer from it, which 
would suggest that it in fact works (although there might still be set 
up problems with the classes, I suppose).  When I've encountered this 
particular pathology in the past, it has usually been because the user 
had installed something else (Cygwin in my case) that contained an 
older, broken or improperly installed latex.exe, and that was ahead of 
the correct latex.exe on the command path.  I did not mention this 
before because you posted your command path and I saw the MiKTeX bin 
directory on it fairly early (and in particular ahead of anything likely 
to contain latex.exe).


Best to double check things here.  From a DOS prompt, try the following:

1.  Type 'path' to get the system path.  Make sure that (a) the MiKTeX 
bin directory is properly listed and (b) no directory ahead of it 
contains a file named latex.exe.


2.  I've attached the file used to test your LaTeX installation.  Plop 
it down anywhere except your MiKTeX bin directory, cd to that directory, 
and run 'latex chklatex.ltx'.  It should cough up a log file, and the 
log file should contain the string 'ThisIsLaTeX2e' (lack of spaces 
deliberate) after the initial heading stuff.  If not, there may be a 
problem with the MiKTeX installation.  If that does work, then we will 
need to do a small bit of surgery to the installation script to find out 
why it doesn't like your latex.exe file.


Paul

\nonstopmode\makeatletter
\ifx\undefined\documentclass\else
  \message{ThisIsLaTeX2e}
\fi
\@@end


Re: installing style files in lyx for conference

2005-11-12 Thread Paul A. Rubin

Adrian Peter wrote:

Hi,
I am running LyX on my windows box.  A conference I am preparing a paper 
for provided a .sty file to use for tex preparation.  How can I make lyx 
see the style file?  I tried to create a simple layout file that told 
lyx to look for the style file.  However, when I do a recongfigure lyx 
cannot see the .sty file.


After downloading the style file, you need to install it in an 
appropriate directory (one that your LaTeX program will check when the 
time comes) and the refresh the file database that keep tabs on what you 
have installed.  My suggestion for where to put it would be to locate 
your localtexmf directory, add a subdirectory underneath it named 
\tex\latex\, and stuff the style file in 
there (creating the tex and latex subdirectories if they don't already 
exist).  Then update your file database.


If you're a MiKTeX user, run the MiKTeX Options program from the Start 
menu, click on the Roots tab, and you'll see where your localtexmf 
directory is located.  If you don't have one, you can either create one 
(recommended) or put the style file in the same relative location under 
the MiKTeX root (not recommended because the style file will get 
vaporized if you reinstall MiKTeX).  Then switch to the General tab and 
click the Refresh Now button.


 Also when I start lyx and went to help and 
clicked on the latex configuration, it says "not a lyx file".  Are all 
these things related?


No, this is a separate problem.

 If so I would appreciate some advice on how to 
fix this.  Thank you.


Try running Edit->Reconfigure from inside LyX, then close LyX and 
restart it, then see if Help->LaTeX Configuration opens properly.


Paul



Re: Installation Problem. All entries in Textclass.lst are "false " so no output. Any suggestions?

2005-11-12 Thread John Kane
--- "Paul A. Rubin" <[EMAIL PROTECTED]> wrote:

> John Kane wrote:
> 
> > Obviously, as a student you, did not have the card
> > reader  shred your  computer deck ½ hours before
the
> > assignment was due and all you needed was a clean
> > printout.
> 
> No, but I have the dubious distinction of having
> rested a box of punch cards on the roof of my car
whilst unlocking it, and
> then driving off  without bringing them into the
car. 
> (Unsurprisingly, the cards did not  drive off as far
as I did.  Something about inertia,
> I believe.)

Simply a human factors problem. I was the victim of
the blind malevolence of  an IBM keypunch machine.
What a way to start a Monday!  I am still traumatized.


> > I've posted the log and a screen shot of the
directory 
>>
athttp://ca.geocities.com/jrkrideau/LyX/sh_configure_output1.pdf

> Well, the output from the configuration script is in
fact interesting. Note the first three lines.

Yes I thought they looked ominous but I didn't know
what to do about them except re-install MiKTex.
 
> Best to double check things here.  From a DOS>
prompt, try the following:
> 
> 1.  Type 'path' to get the system path.  Make sure
that (a) the MiKTeX  bin 
> directory is properly listed and (b) no directory
ahead of it  contains a file named latex.exe.

Appears not to: Path is 
c:\program
files\imagemagick-6.2.5-q16;C:\Perl\bin\;C:\texmf\miktex\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program
Files\Common Files\MDL Shared\ISIS;C:\msys\1.0\bin

and I don't see anything in texmf or miktex  that
looks suspicious

> 
> 2.  I've attached the file used to test your LaTeX
> installation. and run 'latex chklatex.ltx'.  It
should cough up a
> log file, that should contain the string
'ThisIsLaTeX2e'
> (lack of spaces 
>  If  not, there may be a  problem with the MiKTeX
installation.  If that does
> work, then we will  need to do a small bit of
surgery to the installation script to find out 
> why it doesn't like your latex.exe file.
 
I ran the 'latex chklatex.ltx' file.  No sign of 
'ThisIsLaTeX2e' as far as I can see. The log is at
http://ca.geocities.com/jrkrideau/LyX/LatexLog12nov05.pdf
. 
The annoying thing is that I spend an hour and a half
downloading and installing a new copy of MiKTeX and I
thought that I had manged to kill off everything from
the old installation. Well another clean sweep
tomorrow or Monday and I'll see what happens. 

Below is a quick summary of what I think I have at the
moment.

Thanks for all the help. I get the feeling that this
may not be impossible after all.

Installed files and paths 

Actual according to the LyX installer
C:\msys\1.0\bin (sh.exe)
C:\Python23 (Python.exe)
C:\texmf\miktex\bin (latex.exe)
C:\Perl\bin (Perl.exe)
C:\Program Files\gs\gs8.51\bin  (gswin32c.exe)
C:\Program Files\ImageMagick-6.2.5-Q16  (convert.exe)
C:\LyX

Before installing LyX  I checked and all of the above
programs loaded including latex.exe.

According to computer I also had gswview which also
loaded.
C:\GSTools\gsview   (gsview32.exe)


LyX path after installation
C:\msys\1.0\bin;C:\Python23;C:\texmf\miktex\bin;C:\Perl\bin;C:\Program
Files\gs\gs8.51\bin;C:\Program
Files\ImageMagick-6.2.5-Q16

I added the gsview path and reconfigured. New LyX 
paths
C:\msys\1.0\bin;C:\Python23;C:\texmf\miktex\bin;C:\Perl\bin;C:\Program
Files\gs\gs8.51\bin;C:\Program
Files\ImageMagick-6.2.5-Q16;C:\GSTools\gsview

Systems Paths
c:\program
files\imagemagick-6.2.5-q16;C:\Perl\bin\;C:\texmf\miktex\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program
Files\Common Files\MDL Shared\ISIS;C:\msys\1.0\bin








__ 
Find your next car at http://autos.yahoo.ca