Installing Lyx on Windows: pb with Python (or msys?)

2005-11-16 Thread mel b
Hi all,

I am using lyx for a while on windows, and decided today to try the new,
supported ! , windows version. I uninstalled my lyx version the best I
could, and followed the instructions on the Lyx Wiki. Everything seemed fine
until I launch lyx.

Then, while lyx was configuring, just after the message creating
doc/LaTeXConfig.lyx has been written on the console, I get a nice windows
window tr.exe has encoutered a problem and needs to close. We are sorry for
the inconvenience. Then it goes on, and while checking for Tex fonts, it
writes checking for cmex10... and I have another error message In.exe has
encountered a problem..., and have the same again while checking for
cmmi10, cmr10, cmsy10, eufm10, musam10, msbm10, wasy10, then
same error message but about diff.exe 5 times. Then, it says that lyx has
been (re)configurated.

When I then try to use lyx, I can open a document and view it in DraftDVI,
but if I try to view it with anything else, I have an error Cannot convert
file Error while executing python C:/Program
Files/lyx/Resources/lyx/scripts and the message is an ImportError for the
os module.

I have tried reconfigurating lyx, checked all my installs the best I could,
but I have to say I don't know which way to approach it anymore: is it the
Python install or the msys one ??

Anybody has any hint ??

Thanks in advance for your help,

Mélanie


Re: Installing Lyx on Windows: pb with Python (or msys?)

2005-11-16 Thread Jose' Matos
On Tuesday 15 November 2005 22:44, mel b wrote:
 and the message is an ImportError for the os module.

  This is an indication that something is wrong with your python installation.

  I am not saying that this is the only problem or the cause of the others, 
but this should not happen in a normal setup.

-- 
José Abílio


blank rows above and below equations

2005-11-16 Thread Miki Dovrat
Is there a reason the lyx editor inserts extra space (a blank row) before 
and after equations? You can then stand at the end of the equation and press 
DEL to delete this extra space, or backspace from the beginning of the 
equation line.

Is there a typographical reason for this? 





Latex Errors in Lyx (with named.bst)

2005-11-16 Thread Nicolás

Hi!

I want to have references in the form [Author (et al.), year], so I am 
using named.bst and named.sty for that. The problem appears when I try 
to use a citation in a caption. In that case, when I try to generate a 
div file I get errors of the type:


! Undefined control sequence.
\citeauthoryear #1#2-\def [EMAIL PROTECTED]
{#1}\ifx [EMAIL PROTECTED] 
[EMAIL PROTECTED] \...

l.13 ...itation does not work \cite{beconico2005}}

If I just ignore these errors (running latex from the commad line) the 
genarated div file is actually correct. However, when using Lyx, I keep 
getting five Error boxes that prevent me from viewing the div file. Is 
there anything I can do to overcome this problem? Thanks!


Nicolás

PS.- An example of a latex file producing the aforementioned errors:

\documentclass{paper}
\usepackage{float}
\usepackage{graphicx}
\usepackage{named}

\begin{document}

This citation works \cite{beconico2005}.

\begin{figure}
\begin{center}\includegraphics{figure_file}\end{center}
\caption{This citation does not work \cite{beconico2005}}
\end{figure}

\bibliographystyle{C:/tools/latex/miktex/bibtex/bst/named}
\bibliography{C:/Documentos/Papers/biblio}

\end{document}


Lyx - MLA format

2005-11-16 Thread Alex Radu

Hi,

I recently had to do an English assignment and my professor asked for 
the MLA format. Despite my search efforts, I could not find an MLA 
document layout in Lyx and had to use OOo 2.0 to do the assignment.


I currently use Windows with Miktex and Lyx. I would really appreciate 
if someone could walk me through the process of getting Lyx to use the 
MLA format.


Thanks in advance,
   Alex


Re: change space between top line and text body

2005-11-16 Thread Marcelo Acuÿfffff1a

 I am using koma-script, scrbook, with scrpage2 package,
 How I can reduce space between top line and text body?

I am relatively sure that the koma-script documentation (scrguien.pdf) 
explains it. Also the following pages might help you:

http://wiki.lyx.org/uploads/Tips/paperLayout/paperDistances.png
http://wiki.lyx.org/Tips/PaperLayout
http://wiki.lyx.org/FAQ/Units

If nothing helps send an example file and I'll have a look at it.

regards Uwe
  Thanks for your help, Uwe.
  In scrguien.pdf I can find any command or mention of space
  between head sep line and body text.
  I make trial and error and I found
  \headsep = argument
  This work ok.
  Problem solved.
   
  Regards, Marcelo
  
 


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

Re: add weight to a font

2005-11-16 Thread Marcelo Acuÿfffff1a
 Hello,
 I selected pslatex font size 10.
 How I can add weight to this font?
 (more bolder)

 Thanks in advance.

pslatex comes as-is and cannot be subjected to uniform 
  customisation such
as all uppercase or bold throughout (unlike, for example,
  (X)HTML/CSS).
   
  Thanks for write me.
  Yes, I need uniform customisation in preamble.
  I need save pages but pslatex in size 10 is too ligth.
   
  Regards
  Marcelo
   
   



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

Re: align left and hyphenation

2005-11-16 Thread Marcelo Acuÿfffff1a
 Hello,
 I want use align left in my book but when
 changed from align justified I lost 
 hyphenation.
 This spent a lot of pages.
 How I can get align left and hyphention?
 
 I don't know if this is even possible. It could be, but
 as far as I know, hyphenation is turned on _because_ you
 use justification. Good justification is impossible
 without hyphenation, or the interword spacing would be
 way too big sometimes. This problem doesn't exist with left 
 align - then the line simply ends when there isn't
 enough room for the next word. Some will also say that the point of
 using left align is to avoid the hyphens.

 I wonder though, why you would even want to print a book left
 aligned. Some special reason?
   
  Yes.
   
   Usually, it is quite ugly and looks unprofessional.
   Like it was made with an amateur tool like word 
   
  ;-)
   
   - or by someone who don't know better. But of course there
 may be valid and good reasons for doing so. Still, look at
 some random books from ordinary publishers and I don't think you 
 find any set left aligned.
  
 Helge Hafting

  Thanks for write me!
  Excuse me for my English. I tried explain me.
  Left align with ugly right border ( irregular )
  make more easy to the eye find next line.
  My publisher want left align with hyphenation 
  and indent for paragraph separation.
  Hyphenation save a lot of pages.
  Several magazines turn to this mode.
  I can see that Lyx, when I selected left align,
  toogle from indent to skip.
  Now, I am in problem with my publisher.
  He said, Drop Lyx, take PageMaker!.
   
  I have option in Scribus (DTP for Linux) 
  but, for now, I don´t know how work this program.
   
  I want know if with Latex I can get:
  left align + hyphenation + indent separation paragraph
   
  Thanks in advance.
   
  Marcelo Acuña
   
   
   



__
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis! 
¡Abrí tu cuenta ya! - http://correo.yahoo.com.ar

Re: Lyx - MLA format

2005-11-16 Thread Todd Denniston
Alex Radu wrote:
 
 Hi,
 
 I recently had to do an English assignment and my professor asked for
 the MLA format. Despite my search efforts, I could not find an MLA
 document layout in Lyx and had to use OOo 2.0 to do the assignment.
 
 I currently use Windows with Miktex and Lyx. I would really appreciate
 if someone could walk me through the process of getting Lyx to use the
 MLA format.
 
 Thanks in advance,
 Alex

I am have not used MLA on anything but I know it has been been recently
discussed on the list, perhaps if you start with these links you can get
towards your goal (part of your problem searching was that what you call
format, is referred to as a style in the LaTeX world:) 

Re: MLA style for lyx
 http://article.gmane.org/gmane.editors.lyx.general/25494

Re: Using mla.sty in Lyx
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg41157.html

Re: More document styles
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg01356.html

Search results for 'MLA style '
http://www.mail-archive.com/cgi-bin/htsearch?config=lyx-users_lists_lyx_orgrestrict=exclude=words=%22MLA+style+%22

Hope this is helpful.
-- 
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane) 
Harnessing the Power of Technology for the Warfighter


Removing header chapter

2005-11-16 Thread Adinda Praditya
Hi list,...

I don't know how to put my question. I use book class as most of
parameters meets my need. However, i'd like to remove chapter header.
Is it possible to do that? What should i put in preamble?

Thanks,

Adinda P


Re: Removing header chapter

2005-11-16 Thread Roy Schestowitz

_/ On Wed 16 Nov 2005 16:36:05 GMT, [Adinda Praditya] wrote : \_


Hi list,...

I don't know how to put my question. I use book class as most of
parameters meets my need. However, i'd like to remove chapter header.
Is it possible to do that? What should i put in preamble?

Thanks,

Adinda P



See a thread from November 14th titled Chapters without headings Below
lies a snippet and a valuable link.

Hope it helps,

Roy

Caspar wrote:

[Hide Quoted Text]

hi,

this should be easy but it is beyond me.. i am working from the book
template and  am dividing my work into chapters but i don't want to
give them titles. i.e.

Chapter 1

rather than

Chapter 1
Some preliminaries

etc

at the moment i am just using a protected-break (command+space) but
this leaves me with a blank line i'd rather do without.

there must be another more elegant way to do this?


http://tug.org/TeXnik/mainFAQ.cgi?file=layouts/chapter

Herbert



Re: Write debug info to file

2005-11-16 Thread Michael Wojcik

[EMAIL PROTECTED] wrote:

On Wed, 9 Nov 2005, Georg Baum wrote:


You can redirect the standard error output to a file on unix systems:

lyx -dbg latex 2err.log


I'm guessing this assumes bash or sh as the shell? IIRC, it's slightly 
different in tcsh.


csh variants use  and ! (the latter overrides the noclobber 
option) to redirect both stdout and stderr.  In classic csh there is no 
way to redirect only stderr (though stdout can be redirected separately 
first); I don't remember if there is in tcsh.


That's one of the reasons why csh is not popular with Unix experts.  See 
Csh Programming Considered Harmful.



On windows it looks maybe different.


Actually it's the same, if you're running a current Windows version, 
using the stock cmd.exe shell, and have command extensions enabled.  (I 
don't remember offhand if command extensions are required, but they're 
almost always desirable; there's little reason to ever disable them.)


I'm not sure, but I don't think it's possible to redirect stderr 
separately on windows.


Unlike csh, this *is* possible in current versions of Windows (at least 
XP and subsequent).


The XP-era cmd allows 2 to redirect only stderr, and constructs like 
21 to redirect stderr to stdout.  It's still a far cry from ksh, but 
it's improved to the point where it's usable for simple tasks, anyway.


--
Michael Wojcik



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

2005-11-16 Thread Stephen Harris


Hello John, a major suggestion,

The problem with installing LyX may be a conflicting old *TeX.
I actually wrote this as a solution if you have R For Windows
installed which I think comes with RWinEdt. I'm speculating, so
if you don't, no need to read this. It is also somewhat of a summary.
I think that slighty older versions of R-Windows came with fpTeX.
And I noticed an R Folder under RWinEdt, and since you wrote:

I have checked and could not find any  rogue Latex.exe files
and I have hunted down and exterminated the localtexmf and
texmf and the only texmf which was in my R folder. I simply
removed R for the moment. :) [So I'm taking a chance for a fix.]

OTOH, if this post does not apply, I have not seen this topic
reported upon in this forum and a possible fix, so it may have
value by its addition to the mailing archives. Sent only to Lyx-users.

SH: This result came from Miktex Options, Update

Refresh ran okay
Update bombed
Cannot create the pdf latex format file
Cannot create the  plain TeX format file
Cannot create the latex2e format file
Cannot create the plain pdf format file.

SH: My working version of Miktex/Lyx has
the following non-excluded TeX Formats
pdfLaTeX
plain TeX
LaTeX2e (latex)
pdfTeX

SH: In the olden day I think they used c:\ initexmf --dump[=program]
For example:  initexmf --dump=tex

latex This creates the dump file latex.fmt which is used by latex.exe.

tex This creates the dump file plain.fmt which is used by tex.exe.

pdflatex This creates the dump file pdflatex.fmt which is used by
pdflatex.exe.

pdftex This creates the dump file pdftex.fmt which is used by pdftex.exe.

This suggests the following explanation applies:

http://www.murdoch-sutherland.com/Rtools/miktex.html

e-TeX compatibility mode

To force MiKTeX to use e-TeX in compatibility mode, follow these steps:

1. Run the MiKTeX options program, choose the TeX formats page, and
then for each program that you want in compatibility mode (e.g. latex,
pdflatex, etc.)  do the following:

2. Click on the Edit button,

3. Choose e-TeX compatibility mode as the compiler,

4. Click Apply,

5. Click Build

SH: I notice that a contributed package for R-Windows is RWinEdt.
I can run LyX, another TeX front-end and WinEdt, with MikTeX 2.4
(fpTex has bin-pdftex-1.20b-win32-static.zip 2005-01-16 9468 Kbyte
and RWinEdt also contains a file RW-LaTeX.png and latex directory.)
fpTex comes with the pdfTeX module. Another troubleshooter stated:

I'm bothered by the fact that the output from your format
refresh seems to be running pdfetex rather than etex, but I
don't know if I should be.

SH: I'm a bit dubious that LyX is modular enough to fill in for
RWinEdt? But could RWinEdt still work with RWindows and
LyX serve for other publishing tasks? Is solution #4 needed?

For one or two versions, MiKTeX has been ignoring the 
TEXINPUTS environment variable that most other TeX 
distributions use to indicate additions to the search path. 
The R make process uses TEXINPUTS to add 
$RHOME/share/texmf to the search path, so that

the Rd.sty style file will be found.

Instead of using TEXINPUTS, MiKTeX uses the command line option
-include-directory=foo, to prepend foo to the search path.

There are four workarounds to this.

Workaround 4: Install the R style files into MikTeX. Remember to
re-install updates when you upgrade R! Instructions for this were
written by Gabor Grothendieck [a name of categorical Universe fame]:

1. Create a new tex subfolder of your \localtexmf folder:

   md \localtexmf\tex

2. Copy your R .sty and .fd files into it:


cd \Program Files\R\rw2001\share\texmf
copy *.* \localtexmf\tex

3. Go into

Start | Programs | MiKTeX | MiKTeX Options | General

and press Update Now and Refresh Now. (I am not certain that this step
needs to be done but it can't hurt.)

4. You can check whether it is finding Rd.sty in the right place with
the command:

findtexmf Rd.sty

#2 - #4 need to be repeated each time one installs a new version of R
if the *.sty or *.fd files have changed but if they have not changed
then nothing at all needs to be done. It has the advantage that it
leaves all MiKTeX options at their defaults and does not need a custom
miktex.ini file.

[Added in February, 2005]:
The most recent version of pdftex no longer supports TEXINPUTS,
even with the old *pdftex* engine, so Workaround 1 no longer works.

SH: I included this #4 step so you wouldn't have to look it up and
I'm going to send a copy. Should e-compatibility mode be used and
also Step #4? Can Lyx serve as a front-end for RWindows; can both
RWinEdt and Lyx be used at the same time if LyX can't do RWindows?
I think they probably can. pdfTeX seems to be a player in the drama.

I think it is a good idea to run both Miktex Options, Refresh  Update
after running etex compatibility mode first, and also after running step 4.
To leave no stone unturned run LyX -- Reconfigure also at the very end.
I think maybe that CreateRegistryPath patch for RWinEdt won't 

Beamer Class under WinLyx

2005-11-16 Thread Christian Fischer
Hi,
i'm using lyx for windows and miktex. My problem is, that i installed
the beamer document class with the miktex package manager (so this is
done correctly, i checked the directories), updated the database and
reconfigured lyx, but it still won't find the class. Any ideas for me?
Thx
Christian




Re: Beamer Class under WinLyx

2005-11-16 Thread David Soukal

Christian Fischer wrote:

Hi,
i'm using lyx for windows and miktex. My problem is, that i installed
the beamer document class with the miktex package manager (so this is
done correctly, i checked the directories), updated the database and
reconfigured lyx, but it still won't find the class. Any ideas for me?
Thx
Christian




Hello Christian,

you still need to add the layout document for LyX, i.e. the document
telling LyX how to represent the Beamer document in the editor. In order
for do this in Linux, you simply copy (or link) the file beamer.layout
supplied by the Beamer's author to your profile directory in
~/.lyx/layout. I believe you should achieve the same result under
Windows without any hassle.

Here is a quick link for the file, if you do not find it in our MikTeX
installation.

http://www.tug.org/tex-archive/macros/latex/contrib/beamer/lyx/layouts/beamer.layout

Good luck,

David



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

2005-11-16 Thread John Kane
Modern installs of LyX store the config "Lyx" directory under yourusername.I checked and it was not there before installation. Unfortunately it is  not there after either.SH: If you have LyX installed now, then there is a new one there  now or LyX is not installed. It is good that the old one is gone.Paul had some hunch about pdfYes, I checked out his suggestion and my file looked okay.You mentioned a possible problem with R . I had uninstalled it so I  expect that it was not a problem but who knows. I'bm beginning to think  I should consult the augurs. Sheep livers probably are just as  comprehensible as DOS error messages. It also is an newer version  than the one mentioned in your mail   I have never loaded RWinEdt so it should not be a problem. R  comes with a base installation and one can then load all sorts of  packages for
 it. RWinEdit is just one of them. I had never even heard  of it before. I may have to look into it :) The current R-2.2.0  does not come with any .tex files that I can find.  Rd.sty currently resides in c:\Program  Files\R\R-2.2.0\share\texmf. Exactly what this may mean I don't  know. However it goes when I uninstall R which Idid  yesterday. Of course it's back today. Takes all of 30 seconds to  install-almost as fast as MikTeX.  As far as I can tell my tex list matches the screen shot that you included.  I am unsure from your last posts if you want me to try the -e compatibiltiy mode however I gave it a try and   To force MiKTeX to use e-TeX in compatibility mode, follow these steps:  1. Run the MiKTeX options program, choose the TeX formats page, and  then for each program that you want in compatibility mode (e.g. latex,  pdflatex, etc.) do the following:  2. Click on the Edit button,  3. Choose
 "e-TeX compatibility mode" as the compiler,  4. Click Apply,  5. Click Build"  Results of this is the same error message, as before, when trying an updatewhich comes down basically to   "initexmf: The file "latex.efmt" could not be found."  And as far as I can tell latex.efmt is not on my hard drive  BTW I have not been able to find a Lyx file in the Applications Data  file under User after I have installed, created and saved a file  in Lyx.  ARRGH!  John Kane, Kingston ON Canada
		Find your next car at Yahoo! Canada Autos

Re: LyX Windows installer and TeXLive

2005-11-16 Thread Stephen Harris


- Original Message - 
From: Uwe Stöhr [EMAIL PROTECTED]

To: Stephen Harris [EMAIL PROTECTED]
Cc: lyx-users@lists.lyx.org
Sent: Tuesday, November 15, 2005 6:15 PM
Subject: Re: LyX Windows installer and TeXLive



Stephen Harris wrote:


I meant that the reason I didn't test TeXlive2005, ProText, and
the Miktex .iso installs with both installers was because your
installer doesn't display Tex Information, which is one of my
testing criteria and the Angus installer does.


I found the bug now. I simply forgot to ship the find.exe from MSYS with 
my installer.

I'll upload a new version of the installer soon.

regards Uwe



I downloaded your Lyx1.3.6_1 version 2 installer yesterday, Nov. 15,
the full version. But I only uninstall my old Lyx1.3.6. Still the install
went well. And it loaded Gsview to c:\program files, which was not
where I have one. It showed up in the Edit/Preferences/Path prefix.
Strangely, the Path prefix also showed gs8.13 which I've deleted
in favor of gs8.51and which is also in my Windows path. So I'm
not sure where it came from, but printing worked. I changed the
Path Prefix over to the correct gs8.51 folder and it all still worked!

However, Nov.15 version must not be the one you fixed for find.exe
because that didn't work for displaying Tex Information. So I took a
chance and copied find.exe (and find2perl to be on the safe side) from
C:\msys\1.0\bin\ copy find*.* to C:\LyX\bin. Then I ran Reconfigure.
Lo and behold, the Tex Information was now fully populated with .cls!
So that turns out to be really easy to fix. The install went pretty quickly.

Regards,
Stephen







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

2005-11-16 Thread Paul A. Rubin

John Kane wrote:


As far as I can tell my tex list matches the screen shot that you included.
I am unsure from your last posts if you want me to try the -e 
compatibiltiy mode however I gave it a try and

 To force MiKTeX to use e-TeX in compatibility mode, follow these steps:
 1. Run the MiKTeX options program, choose the TeX formats page, and
 then for each program that you want in compatibility mode (e.g. latex,
pdflatex, etc.)  do the following:
 2. Click on the Edit button,
 3. Choose e-TeX compatibility mode as the compiler,
 4. Click Apply,
5. Click Build
Results of this is the same error message, as before, when trying an 
updatewhich comes down basically to

initexmf: The file latex.efmt could not be found.
And as far as I can tell latex.efmt is not on my hard drive


On my system it's at C:\localtexmf\miktex\fmt\latex.efmt.  The fact that 
it's in the localtexmf tree suggests that it is created during 
installation or format updating, as opposed to being part of the 
original installation.


Incidentally, with a working MiKTeX installation you can locate this and 
other style/format/class files by opening a DOS prompt and running 
kpsewhich, to wit 'kpsewhich latex.eftm'.  It's generally faster than 
using the OS to search the entire MiKTeX directory tree (let alone the 
entire drive).


BTW I have not been able to find a Lyx file in the Applications Data 
file under User after I have installed, created and saved  a file in Lyx.

ARRGH!


As I think Stephen said earlier, that would be indicative of a bad (or 
incomplete) LyX installation.  The LyX tree under Applications Data is 
created during installation (I'm pretty sure).  Saving a LyX document 
won't create it if it's not already there, and its absence may not 
affect the saving of the document.  Since we're pretty sure (?) the LyX 
configuration script is balking at a perceived lack of a working LaTeX 
executable, I wouldn't worry about this until after the MiKTeX issues 
are sorted out.


From the Groping In The Dark Department:  Did you install MiKTeX from 
the Internet (as opposed to either a CD or a local network repository)? 
 If yes, you might try opening the MiKTeX Package Manager, waiting 
waiting ... waiting ... for it to list all the packages, then syncing 
the directory (Repository-Synchronize) and checking for updates 
(Task-Update Wizard).  I've seen this used to resolve one or two 
miscellaneous installation bugs (which I think might have involved 
mixing older and newer MiKTeX components).


Paul



Building lyx from source

2005-11-16 Thread pete

Hello all,
I recently installed a slackware package of lyx 1.36 to my computer, but 
it doesn't work as well as when i compiled it myself; pdf preview 
preview doesn't work.


The problem when i compile myself is that it automatically uses xforms 
gui, which is minging, i'd much rather it used qt.


Does anyone know how i can make it use qt when building from source?

Thanks guys,
pete.


Re: Building lyx from source

2005-11-16 Thread Paul Smith
On 11/16/05, pete [EMAIL PROTECTED] wrote:
 I recently installed a slackware package of lyx 1.36 to my computer, but
 it doesn't work as well as when i compiled it myself; pdf preview
 preview doesn't work.

 The problem when i compile myself is that it automatically uses xforms
 gui, which is minging, i'd much rather it used qt.

 Does anyone know how i can make it use qt when building from source?

Grab

ftp://ftp.lyx.org/pub/lyx/stable/lyx-1.3.6.tar.gz

Then, unpack it into a directory.

Use the following commands, sequentially and inside the directory
containing the unpacked LyX source:

./configure  --with-frontend=qt --with-pspell --with-aiksaurus
make
make install (as superuser).

Instead of make install, you may want to use checkinstall to build a
binary file.

Paul


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

2005-11-16 Thread Stephen Harris


- Original Message - 
From: Paul A. Rubin [EMAIL PROTECTED]

To: lyx-users@lists.lyx.org
Sent: Wednesday, November 16, 2005 1:10 PM
Subject: Re: Installation Problem. All entries in Textclass.lst
are false  so no output. Any suggestions?



BTW I have not been able to find a Lyx file in the Applications Data

file under User after I have installed, created and saved  a file in Lyx.
ARRGH!


As I think Stephen said earlier, that would be indicative of a bad (or 
incomplete) LyX installation.  The LyX tree under Applications Data is 
created during installation (I'm pretty sure).  Saving a LyX document 
won't create it if it's not already there, and its absence may not affect 
the saving of the document.  Since we're pretty sure (?) the LyX 
configuration script is balking at a perceived lack of a working LaTeX 
executable, I wouldn't worry about this until after the MiKTeX issues are 
sorted out.




I think John first installed LyX 1.3.5. Was that under a different
c:\document and settings\...  path structure than is used currently?
Maybe a Preferences file under \username\ .lyx that needed deletion.

I mean delete \.lyx?
Stephen 





Re: LyX Windows installer and TeXLive

2005-11-16 Thread Uwe Stöhr

Stephen Harris schrieb wrote:


However, Nov.15 version must not be the one you fixed for find.exe
because that didn't work for displaying Tex Information.


Yes the fixed version will be 0.3 and is not yet uploaded.

regards Uwe


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

2005-11-16 Thread Paul A. Rubin

Stephen Harris wrote:



As I think Stephen said earlier, that would be indicative of a bad (or 
incomplete) LyX installation.  The LyX tree under Applications Data is 
created during installation (I'm pretty sure).  Saving a LyX document 
won't create it if it's not already there, and its absence may not 
affect the saving of the document.  Since we're pretty sure (?) the 
LyX configuration script is balking at a perceived lack of a working 
LaTeX executable, I wouldn't worry about this until after the MiKTeX 
issues are sorted out.




I think John first installed LyX 1.3.5. Was that under a different
c:\document and settings\...  path structure than is used currently?
Maybe a Preferences file under \username\ .lyx that needed deletion.

I mean delete \.lyx?


Version 1.3.5 and earlier did not put anything under Documents and 
Settings (nor under Program Files for that matter), since they were 
allergic to spaces in paths.  With 1.3.5, you designated a home 
directory, and a .lyx folder (with subfolders) was created thereunder, 
housing your preferences and customizations.  Version 1.3.6 looks 
specifically in Docs and Settings\your name here\Application Data, so 
there should be no collisions.  In fact, I've had 1.3.5 and 1.3.6 (and 
1.3.7, for that matter) peacefully coexisting on a couple of machines. 
1.3.6 has no idea the 1.3.5 preferences exist, and vice versa.


Paul




How to create a new page in Lyx?

2005-11-16 Thread Alex Radu

Hi,

For my MLA styled paper, I need to have the Works Cited on a separate 
page. How can I make a separate page in lyx without starting a whole new 
document?


Thansk in advance,
   Alex


Re: How to create a new page in Lyx?

2005-11-16 Thread John C. McCabe-Dansted
On Thursday 17 November 2005 13:35, Alex Radu wrote:
 For my MLA styled paper, I need to have the Works Cited on a separate
 page. How can I make a separate page in lyx without starting a whole new
 document?

Go to the menu item Layout\Paragraph, go to the Lines  Pagebreaks tab and 
click one of the Page Breaks options.

Hmmm, it would make more sense to put Pagebreaks under 
Insert\Special_Character together with linebreaks would it not?

--
John C. McCabe-Dansted
Masters Student 


Re: How to create a new page in Lyx?

2005-11-16 Thread Uwe Stöhr

Alex Radu wrote:

For my MLA styled paper, I need to have the Works Cited on a separate 
page. How can I make a separate page in lyx without starting a whole new 
document?


Menu Layout - Paragraph - Lines  Pagebreaks

regards Uwe


GSview/Ghostscript problems

2005-11-16 Thread Uwe Stöhr

Stephen Harris wrote:


I downloaded your Lyx1.3.6_1 version 2 installer yesterday, Nov. 15,
the full version. But I only uninstall my old Lyx1.3.6. Still the install
went well. And it loaded Gsview to c:\program files, which was not
where I have one. It showed up in the Edit/Preferences/Path prefix.
Strangely, the Path prefix also showed gs8.13 which I've deleted
in favor of gs8.51and which is also in my Windows path. So I'm
not sure where it came from,


The installer checks in the registry for ther version numbers of 
Ghostscript, if one is found its path is added to the path_prefix. 8.13 
comes before 8.51 in the registry and you therefore had troubles.
Have you deinstalled version 8.13 before you installed 8.51? Having two 
version installed mostly error prone.
But anyway another user reported me that old GS (de)installers don't 
delete the registry keys correctly so that my installer find wrong 
versions. I'll check this and if this is the case I'll change the code 
so that only the greatest version number is taken for the path_prefix.


Sigh, I've never thaught that the installer stuff will be so complicated 
and takes so much time.


regards Uwe


Re: GSview/Ghostscript problems

2005-11-16 Thread Stephen Harris


- Original Message - 
From: Uwe Stöhr [EMAIL PROTECTED]

To: Stephen Harris [EMAIL PROTECTED]
Cc: lyx-users@lists.lyx.org; [EMAIL PROTECTED]
Sent: Wednesday, November 16, 2005 4:49 PM
Subject: GSview/Ghostscript problems



Stephen Harris wrote:


I downloaded your Lyx1.3.6_1 version 2 installer yesterday, Nov. 15,
the full version. But I only uninstall my old Lyx1.3.6. Still the install
went well. And it loaded Gsview to c:\program files, which was not
where I have one. It showed up in the Edit/Preferences/Path prefix.
Strangely, the Path prefix also showed gs8.13 which I've deleted
in favor of gs8.51and which is also in my Windows path. So I'm
not sure where it came from,


The installer checks in the registry for ther version numbers of 
Ghostscript, if one is found its path is added to the path_prefix. 8.13 
comes before 8.51 in the registry and you therefore had troubles.
Have you deinstalled version 8.13 before you installed 8.51? Having two 
version installed mostly error prone.
But anyway another user reported me that old GS (de)installers don't 
delete the registry keys correctly so that my installer find wrong 
versions. I'll check this and if this is the case I'll change the code so 
that only the greatest version number is taken for the path_prefix.


Sigh, I've never thaught that the installer stuff will be so complicated 
and takes so much time.




It must bring you a rare joy unexperienced my most mortals. :=)


regards Uwe



Yes, I did a find for (gs8.13) in the registry and there it was.
So I deleted the gs8.13 value. I did a fresh uninstall/reinstall
of just LyX. I copied just find.exe from C:\msys\1.0\bin to
C:\Lyx\bin. Tex Information was correct. Everything seems
to work perfectly. The spellchecker also worked, although it
was not shown in the Path Prefix; I have it installed in C:\Aspell
which is in my Windows path. I didn't dl a non-English dictionary.

To test it thoroughly I suppose I should uninstall everything
but Aspell. Version 2 has small problems easy to fix manually.
It looks ideal for newcomer installations, someone complained
about having to visit the websites for installs, though I should
test it. Let's hope the LyX improvements are easy to incorporate.

Good job, thank you,
Stephen 





Re: align left and hyphenation

2005-11-16 Thread Juergen Spitzmueller
Marcelo Acuÿf1a wrote:
 How I can get align left and hyphention?

\usepackage{ragged2e}

At the begin of the document
\RaggedRight

HTH,
Jürgen


Installing Lyx on Windows: pb with Python (or msys?)

2005-11-16 Thread mel b
Hi all,

I am using lyx for a while on windows, and decided today to try the new,
supported ! , windows version. I uninstalled my lyx version the best I
could, and followed the instructions on the Lyx Wiki. Everything seemed fine
until I launch lyx.

Then, while lyx was configuring, just after the message creating
doc/LaTeXConfig.lyx has been written on the console, I get a nice windows
window tr.exe has encoutered a problem and needs to close. We are sorry for
the inconvenience. Then it goes on, and while checking for Tex fonts, it
writes checking for cmex10... and I have another error message In.exe has
encountered a problem..., and have the same again while checking for
cmmi10, cmr10, cmsy10, eufm10, musam10, msbm10, wasy10, then
same error message but about diff.exe 5 times. Then, it says that lyx has
been (re)configurated.

When I then try to use lyx, I can open a document and view it in DraftDVI,
but if I try to view it with anything else, I have an error Cannot convert
file Error while executing python C:/Program
Files/lyx/Resources/lyx/scripts and the message is an ImportError for the
os module.

I have tried reconfigurating lyx, checked all my installs the best I could,
but I have to say I don't know which way to approach it anymore: is it the
Python install or the msys one ??

Anybody has any hint ??

Thanks in advance for your help,

Mélanie


Re: Installing Lyx on Windows: pb with Python (or msys?)

2005-11-16 Thread Jose' Matos
On Tuesday 15 November 2005 22:44, mel b wrote:
 and the message is an ImportError for the os module.

  This is an indication that something is wrong with your python installation.

  I am not saying that this is the only problem or the cause of the others, 
but this should not happen in a normal setup.

-- 
José Abílio


blank rows above and below equations

2005-11-16 Thread Miki Dovrat
Is there a reason the lyx editor inserts extra space (a blank row) before 
and after equations? You can then stand at the end of the equation and press 
DEL to delete this extra space, or backspace from the beginning of the 
equation line.

Is there a typographical reason for this? 





Latex Errors in Lyx (with named.bst)

2005-11-16 Thread Nicolás

Hi!

I want to have references in the form [Author (et al.), year], so I am 
using named.bst and named.sty for that. The problem appears when I try 
to use a citation in a caption. In that case, when I try to generate a 
div file I get errors of the type:


! Undefined control sequence.
\citeauthoryear #1#2-\def [EMAIL PROTECTED]
{#1}\ifx [EMAIL PROTECTED] 
[EMAIL PROTECTED] \...

l.13 ...itation does not work \cite{beconico2005}}

If I just ignore these errors (running latex from the commad line) the 
genarated div file is actually correct. However, when using Lyx, I keep 
getting five Error boxes that prevent me from viewing the div file. Is 
there anything I can do to overcome this problem? Thanks!


Nicolás

PS.- An example of a latex file producing the aforementioned errors:

\documentclass{paper}
\usepackage{float}
\usepackage{graphicx}
\usepackage{named}

\begin{document}

This citation works \cite{beconico2005}.

\begin{figure}
\begin{center}\includegraphics{figure_file}\end{center}
\caption{This citation does not work \cite{beconico2005}}
\end{figure}

\bibliographystyle{C:/tools/latex/miktex/bibtex/bst/named}
\bibliography{C:/Documentos/Papers/biblio}

\end{document}


Lyx - MLA format

2005-11-16 Thread Alex Radu

Hi,

I recently had to do an English assignment and my professor asked for 
the MLA format. Despite my search efforts, I could not find an MLA 
document layout in Lyx and had to use OOo 2.0 to do the assignment.


I currently use Windows with Miktex and Lyx. I would really appreciate 
if someone could walk me through the process of getting Lyx to use the 
MLA format.


Thanks in advance,
   Alex


Re: change space between top line and text body

2005-11-16 Thread Marcelo Acuÿfffff1a

 I am using koma-script, scrbook, with scrpage2 package,
 How I can reduce space between top line and text body?

I am relatively sure that the koma-script documentation (scrguien.pdf) 
explains it. Also the following pages might help you:

http://wiki.lyx.org/uploads/Tips/paperLayout/paperDistances.png
http://wiki.lyx.org/Tips/PaperLayout
http://wiki.lyx.org/FAQ/Units

If nothing helps send an example file and I'll have a look at it.

regards Uwe
  Thanks for your help, Uwe.
  In scrguien.pdf I can find any command or mention of space
  between head sep line and body text.
  I make trial and error and I found
  \headsep = argument
  This work ok.
  Problem solved.
   
  Regards, Marcelo
  
 


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

Re: add weight to a font

2005-11-16 Thread Marcelo Acuÿfffff1a
 Hello,
 I selected pslatex font size 10.
 How I can add weight to this font?
 (more bolder)

 Thanks in advance.

pslatex comes as-is and cannot be subjected to uniform 
  customisation such
as all uppercase or bold throughout (unlike, for example,
  (X)HTML/CSS).
   
  Thanks for write me.
  Yes, I need uniform customisation in preamble.
  I need save pages but pslatex in size 10 is too ligth.
   
  Regards
  Marcelo
   
   



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

Re: align left and hyphenation

2005-11-16 Thread Marcelo Acuÿfffff1a
 Hello,
 I want use align left in my book but when
 changed from align justified I lost 
 hyphenation.
 This spent a lot of pages.
 How I can get align left and hyphention?
 
 I don't know if this is even possible. It could be, but
 as far as I know, hyphenation is turned on _because_ you
 use justification. Good justification is impossible
 without hyphenation, or the interword spacing would be
 way too big sometimes. This problem doesn't exist with left 
 align - then the line simply ends when there isn't
 enough room for the next word. Some will also say that the point of
 using left align is to avoid the hyphens.

 I wonder though, why you would even want to print a book left
 aligned. Some special reason?
   
  Yes.
   
   Usually, it is quite ugly and looks unprofessional.
   Like it was made with an amateur tool like word 
   
  ;-)
   
   - or by someone who don't know better. But of course there
 may be valid and good reasons for doing so. Still, look at
 some random books from ordinary publishers and I don't think you 
 find any set left aligned.
  
 Helge Hafting

  Thanks for write me!
  Excuse me for my English. I tried explain me.
  Left align with ugly right border ( irregular )
  make more easy to the eye find next line.
  My publisher want left align with hyphenation 
  and indent for paragraph separation.
  Hyphenation save a lot of pages.
  Several magazines turn to this mode.
  I can see that Lyx, when I selected left align,
  toogle from indent to skip.
  Now, I am in problem with my publisher.
  He said, Drop Lyx, take PageMaker!.
   
  I have option in Scribus (DTP for Linux) 
  but, for now, I don´t know how work this program.
   
  I want know if with Latex I can get:
  left align + hyphenation + indent separation paragraph
   
  Thanks in advance.
   
  Marcelo Acuña
   
   
   



__
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis! 
¡Abrí tu cuenta ya! - http://correo.yahoo.com.ar

Re: Lyx - MLA format

2005-11-16 Thread Todd Denniston
Alex Radu wrote:
 
 Hi,
 
 I recently had to do an English assignment and my professor asked for
 the MLA format. Despite my search efforts, I could not find an MLA
 document layout in Lyx and had to use OOo 2.0 to do the assignment.
 
 I currently use Windows with Miktex and Lyx. I would really appreciate
 if someone could walk me through the process of getting Lyx to use the
 MLA format.
 
 Thanks in advance,
 Alex

I am have not used MLA on anything but I know it has been been recently
discussed on the list, perhaps if you start with these links you can get
towards your goal (part of your problem searching was that what you call
format, is referred to as a style in the LaTeX world:) 

Re: MLA style for lyx
 http://article.gmane.org/gmane.editors.lyx.general/25494

Re: Using mla.sty in Lyx
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg41157.html

Re: More document styles
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg01356.html

Search results for 'MLA style '
http://www.mail-archive.com/cgi-bin/htsearch?config=lyx-users_lists_lyx_orgrestrict=exclude=words=%22MLA+style+%22

Hope this is helpful.
-- 
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane) 
Harnessing the Power of Technology for the Warfighter


Removing header chapter

2005-11-16 Thread Adinda Praditya
Hi list,...

I don't know how to put my question. I use book class as most of
parameters meets my need. However, i'd like to remove chapter header.
Is it possible to do that? What should i put in preamble?

Thanks,

Adinda P


Re: Removing header chapter

2005-11-16 Thread Roy Schestowitz

_/ On Wed 16 Nov 2005 16:36:05 GMT, [Adinda Praditya] wrote : \_


Hi list,...

I don't know how to put my question. I use book class as most of
parameters meets my need. However, i'd like to remove chapter header.
Is it possible to do that? What should i put in preamble?

Thanks,

Adinda P



See a thread from November 14th titled Chapters without headings Below
lies a snippet and a valuable link.

Hope it helps,

Roy

Caspar wrote:

[Hide Quoted Text]

hi,

this should be easy but it is beyond me.. i am working from the book
template and  am dividing my work into chapters but i don't want to
give them titles. i.e.

Chapter 1

rather than

Chapter 1
Some preliminaries

etc

at the moment i am just using a protected-break (command+space) but
this leaves me with a blank line i'd rather do without.

there must be another more elegant way to do this?


http://tug.org/TeXnik/mainFAQ.cgi?file=layouts/chapter

Herbert



Re: Write debug info to file

2005-11-16 Thread Michael Wojcik

[EMAIL PROTECTED] wrote:

On Wed, 9 Nov 2005, Georg Baum wrote:


You can redirect the standard error output to a file on unix systems:

lyx -dbg latex 2err.log


I'm guessing this assumes bash or sh as the shell? IIRC, it's slightly 
different in tcsh.


csh variants use  and ! (the latter overrides the noclobber 
option) to redirect both stdout and stderr.  In classic csh there is no 
way to redirect only stderr (though stdout can be redirected separately 
first); I don't remember if there is in tcsh.


That's one of the reasons why csh is not popular with Unix experts.  See 
Csh Programming Considered Harmful.



On windows it looks maybe different.


Actually it's the same, if you're running a current Windows version, 
using the stock cmd.exe shell, and have command extensions enabled.  (I 
don't remember offhand if command extensions are required, but they're 
almost always desirable; there's little reason to ever disable them.)


I'm not sure, but I don't think it's possible to redirect stderr 
separately on windows.


Unlike csh, this *is* possible in current versions of Windows (at least 
XP and subsequent).


The XP-era cmd allows 2 to redirect only stderr, and constructs like 
21 to redirect stderr to stdout.  It's still a far cry from ksh, but 
it's improved to the point where it's usable for simple tasks, anyway.


--
Michael Wojcik



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

2005-11-16 Thread Stephen Harris


Hello John, a major suggestion,

The problem with installing LyX may be a conflicting old *TeX.
I actually wrote this as a solution if you have R For Windows
installed which I think comes with RWinEdt. I'm speculating, so
if you don't, no need to read this. It is also somewhat of a summary.
I think that slighty older versions of R-Windows came with fpTeX.
And I noticed an R Folder under RWinEdt, and since you wrote:

I have checked and could not find any  rogue Latex.exe files
and I have hunted down and exterminated the localtexmf and
texmf and the only texmf which was in my R folder. I simply
removed R for the moment. :) [So I'm taking a chance for a fix.]

OTOH, if this post does not apply, I have not seen this topic
reported upon in this forum and a possible fix, so it may have
value by its addition to the mailing archives. Sent only to Lyx-users.

SH: This result came from Miktex Options, Update

Refresh ran okay
Update bombed
Cannot create the pdf latex format file
Cannot create the  plain TeX format file
Cannot create the latex2e format file
Cannot create the plain pdf format file.

SH: My working version of Miktex/Lyx has
the following non-excluded TeX Formats
pdfLaTeX
plain TeX
LaTeX2e (latex)
pdfTeX

SH: In the olden day I think they used c:\ initexmf --dump[=program]
For example:  initexmf --dump=tex

latex This creates the dump file latex.fmt which is used by latex.exe.

tex This creates the dump file plain.fmt which is used by tex.exe.

pdflatex This creates the dump file pdflatex.fmt which is used by
pdflatex.exe.

pdftex This creates the dump file pdftex.fmt which is used by pdftex.exe.

This suggests the following explanation applies:

http://www.murdoch-sutherland.com/Rtools/miktex.html

e-TeX compatibility mode

To force MiKTeX to use e-TeX in compatibility mode, follow these steps:

1. Run the MiKTeX options program, choose the TeX formats page, and
then for each program that you want in compatibility mode (e.g. latex,
pdflatex, etc.)  do the following:

2. Click on the Edit button,

3. Choose e-TeX compatibility mode as the compiler,

4. Click Apply,

5. Click Build

SH: I notice that a contributed package for R-Windows is RWinEdt.
I can run LyX, another TeX front-end and WinEdt, with MikTeX 2.4
(fpTex has bin-pdftex-1.20b-win32-static.zip 2005-01-16 9468 Kbyte
and RWinEdt also contains a file RW-LaTeX.png and latex directory.)
fpTex comes with the pdfTeX module. Another troubleshooter stated:

I'm bothered by the fact that the output from your format
refresh seems to be running pdfetex rather than etex, but I
don't know if I should be.

SH: I'm a bit dubious that LyX is modular enough to fill in for
RWinEdt? But could RWinEdt still work with RWindows and
LyX serve for other publishing tasks? Is solution #4 needed?

For one or two versions, MiKTeX has been ignoring the 
TEXINPUTS environment variable that most other TeX 
distributions use to indicate additions to the search path. 
The R make process uses TEXINPUTS to add 
$RHOME/share/texmf to the search path, so that

the Rd.sty style file will be found.

Instead of using TEXINPUTS, MiKTeX uses the command line option
-include-directory=foo, to prepend foo to the search path.

There are four workarounds to this.

Workaround 4: Install the R style files into MikTeX. Remember to
re-install updates when you upgrade R! Instructions for this were
written by Gabor Grothendieck [a name of categorical Universe fame]:

1. Create a new tex subfolder of your \localtexmf folder:

   md \localtexmf\tex

2. Copy your R .sty and .fd files into it:


cd \Program Files\R\rw2001\share\texmf
copy *.* \localtexmf\tex

3. Go into

Start | Programs | MiKTeX | MiKTeX Options | General

and press Update Now and Refresh Now. (I am not certain that this step
needs to be done but it can't hurt.)

4. You can check whether it is finding Rd.sty in the right place with
the command:

findtexmf Rd.sty

#2 - #4 need to be repeated each time one installs a new version of R
if the *.sty or *.fd files have changed but if they have not changed
then nothing at all needs to be done. It has the advantage that it
leaves all MiKTeX options at their defaults and does not need a custom
miktex.ini file.

[Added in February, 2005]:
The most recent version of pdftex no longer supports TEXINPUTS,
even with the old *pdftex* engine, so Workaround 1 no longer works.

SH: I included this #4 step so you wouldn't have to look it up and
I'm going to send a copy. Should e-compatibility mode be used and
also Step #4? Can Lyx serve as a front-end for RWindows; can both
RWinEdt and Lyx be used at the same time if LyX can't do RWindows?
I think they probably can. pdfTeX seems to be a player in the drama.

I think it is a good idea to run both Miktex Options, Refresh  Update
after running etex compatibility mode first, and also after running step 4.
To leave no stone unturned run LyX -- Reconfigure also at the very end.
I think maybe that CreateRegistryPath patch for RWinEdt won't 

Beamer Class under WinLyx

2005-11-16 Thread Christian Fischer
Hi,
i'm using lyx for windows and miktex. My problem is, that i installed
the beamer document class with the miktex package manager (so this is
done correctly, i checked the directories), updated the database and
reconfigured lyx, but it still won't find the class. Any ideas for me?
Thx
Christian




Re: Beamer Class under WinLyx

2005-11-16 Thread David Soukal

Christian Fischer wrote:

Hi,
i'm using lyx for windows and miktex. My problem is, that i installed
the beamer document class with the miktex package manager (so this is
done correctly, i checked the directories), updated the database and
reconfigured lyx, but it still won't find the class. Any ideas for me?
Thx
Christian




Hello Christian,

you still need to add the layout document for LyX, i.e. the document
telling LyX how to represent the Beamer document in the editor. In order
for do this in Linux, you simply copy (or link) the file beamer.layout
supplied by the Beamer's author to your profile directory in
~/.lyx/layout. I believe you should achieve the same result under
Windows without any hassle.

Here is a quick link for the file, if you do not find it in our MikTeX
installation.

http://www.tug.org/tex-archive/macros/latex/contrib/beamer/lyx/layouts/beamer.layout

Good luck,

David



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

2005-11-16 Thread John Kane
Modern installs of LyX store the config "Lyx" directory under yourusername.I checked and it was not there before installation. Unfortunately it is  not there after either.SH: If you have LyX installed now, then there is a new one there  now or LyX is not installed. It is good that the old one is gone.Paul had some hunch about pdfYes, I checked out his suggestion and my file looked okay.You mentioned a possible problem with R . I had uninstalled it so I  expect that it was not a problem but who knows. I'bm beginning to think  I should consult the augurs. Sheep livers probably are just as  comprehensible as DOS error messages. It also is an newer version  than the one mentioned in your mail   I have never loaded RWinEdt so it should not be a problem. R  comes with a base installation and one can then load all sorts of  packages for
 it. RWinEdit is just one of them. I had never even heard  of it before. I may have to look into it :) The current R-2.2.0  does not come with any .tex files that I can find.  Rd.sty currently resides in c:\Program  Files\R\R-2.2.0\share\texmf. Exactly what this may mean I don't  know. However it goes when I uninstall R which Idid  yesterday. Of course it's back today. Takes all of 30 seconds to  install-almost as fast as MikTeX.  As far as I can tell my tex list matches the screen shot that you included.  I am unsure from your last posts if you want me to try the -e compatibiltiy mode however I gave it a try and   To force MiKTeX to use e-TeX in compatibility mode, follow these steps:  1. Run the MiKTeX options program, choose the TeX formats page, and  then for each program that you want in compatibility mode (e.g. latex,  pdflatex, etc.) do the following:  2. Click on the Edit button,  3. Choose
 "e-TeX compatibility mode" as the compiler,  4. Click Apply,  5. Click Build"  Results of this is the same error message, as before, when trying an updatewhich comes down basically to   "initexmf: The file "latex.efmt" could not be found."  And as far as I can tell latex.efmt is not on my hard drive  BTW I have not been able to find a Lyx file in the Applications Data  file under User after I have installed, created and saved a file  in Lyx.  ARRGH!  John Kane, Kingston ON Canada
		Find your next car at Yahoo! Canada Autos

Re: LyX Windows installer and TeXLive

2005-11-16 Thread Stephen Harris


- Original Message - 
From: Uwe Stöhr [EMAIL PROTECTED]

To: Stephen Harris [EMAIL PROTECTED]
Cc: lyx-users@lists.lyx.org
Sent: Tuesday, November 15, 2005 6:15 PM
Subject: Re: LyX Windows installer and TeXLive



Stephen Harris wrote:


I meant that the reason I didn't test TeXlive2005, ProText, and
the Miktex .iso installs with both installers was because your
installer doesn't display Tex Information, which is one of my
testing criteria and the Angus installer does.


I found the bug now. I simply forgot to ship the find.exe from MSYS with 
my installer.

I'll upload a new version of the installer soon.

regards Uwe



I downloaded your Lyx1.3.6_1 version 2 installer yesterday, Nov. 15,
the full version. But I only uninstall my old Lyx1.3.6. Still the install
went well. And it loaded Gsview to c:\program files, which was not
where I have one. It showed up in the Edit/Preferences/Path prefix.
Strangely, the Path prefix also showed gs8.13 which I've deleted
in favor of gs8.51and which is also in my Windows path. So I'm
not sure where it came from, but printing worked. I changed the
Path Prefix over to the correct gs8.51 folder and it all still worked!

However, Nov.15 version must not be the one you fixed for find.exe
because that didn't work for displaying Tex Information. So I took a
chance and copied find.exe (and find2perl to be on the safe side) from
C:\msys\1.0\bin\ copy find*.* to C:\LyX\bin. Then I ran Reconfigure.
Lo and behold, the Tex Information was now fully populated with .cls!
So that turns out to be really easy to fix. The install went pretty quickly.

Regards,
Stephen







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

2005-11-16 Thread Paul A. Rubin

John Kane wrote:


As far as I can tell my tex list matches the screen shot that you included.
I am unsure from your last posts if you want me to try the -e 
compatibiltiy mode however I gave it a try and

 To force MiKTeX to use e-TeX in compatibility mode, follow these steps:
 1. Run the MiKTeX options program, choose the TeX formats page, and
 then for each program that you want in compatibility mode (e.g. latex,
pdflatex, etc.)  do the following:
 2. Click on the Edit button,
 3. Choose e-TeX compatibility mode as the compiler,
 4. Click Apply,
5. Click Build
Results of this is the same error message, as before, when trying an 
updatewhich comes down basically to

initexmf: The file latex.efmt could not be found.
And as far as I can tell latex.efmt is not on my hard drive


On my system it's at C:\localtexmf\miktex\fmt\latex.efmt.  The fact that 
it's in the localtexmf tree suggests that it is created during 
installation or format updating, as opposed to being part of the 
original installation.


Incidentally, with a working MiKTeX installation you can locate this and 
other style/format/class files by opening a DOS prompt and running 
kpsewhich, to wit 'kpsewhich latex.eftm'.  It's generally faster than 
using the OS to search the entire MiKTeX directory tree (let alone the 
entire drive).


BTW I have not been able to find a Lyx file in the Applications Data 
file under User after I have installed, created and saved  a file in Lyx.

ARRGH!


As I think Stephen said earlier, that would be indicative of a bad (or 
incomplete) LyX installation.  The LyX tree under Applications Data is 
created during installation (I'm pretty sure).  Saving a LyX document 
won't create it if it's not already there, and its absence may not 
affect the saving of the document.  Since we're pretty sure (?) the LyX 
configuration script is balking at a perceived lack of a working LaTeX 
executable, I wouldn't worry about this until after the MiKTeX issues 
are sorted out.


From the Groping In The Dark Department:  Did you install MiKTeX from 
the Internet (as opposed to either a CD or a local network repository)? 
 If yes, you might try opening the MiKTeX Package Manager, waiting 
waiting ... waiting ... for it to list all the packages, then syncing 
the directory (Repository-Synchronize) and checking for updates 
(Task-Update Wizard).  I've seen this used to resolve one or two 
miscellaneous installation bugs (which I think might have involved 
mixing older and newer MiKTeX components).


Paul



Building lyx from source

2005-11-16 Thread pete

Hello all,
I recently installed a slackware package of lyx 1.36 to my computer, but 
it doesn't work as well as when i compiled it myself; pdf preview 
preview doesn't work.


The problem when i compile myself is that it automatically uses xforms 
gui, which is minging, i'd much rather it used qt.


Does anyone know how i can make it use qt when building from source?

Thanks guys,
pete.


Re: Building lyx from source

2005-11-16 Thread Paul Smith
On 11/16/05, pete [EMAIL PROTECTED] wrote:
 I recently installed a slackware package of lyx 1.36 to my computer, but
 it doesn't work as well as when i compiled it myself; pdf preview
 preview doesn't work.

 The problem when i compile myself is that it automatically uses xforms
 gui, which is minging, i'd much rather it used qt.

 Does anyone know how i can make it use qt when building from source?

Grab

ftp://ftp.lyx.org/pub/lyx/stable/lyx-1.3.6.tar.gz

Then, unpack it into a directory.

Use the following commands, sequentially and inside the directory
containing the unpacked LyX source:

./configure  --with-frontend=qt --with-pspell --with-aiksaurus
make
make install (as superuser).

Instead of make install, you may want to use checkinstall to build a
binary file.

Paul


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

2005-11-16 Thread Stephen Harris


- Original Message - 
From: Paul A. Rubin [EMAIL PROTECTED]

To: lyx-users@lists.lyx.org
Sent: Wednesday, November 16, 2005 1:10 PM
Subject: Re: Installation Problem. All entries in Textclass.lst
are false  so no output. Any suggestions?



BTW I have not been able to find a Lyx file in the Applications Data

file under User after I have installed, created and saved  a file in Lyx.
ARRGH!


As I think Stephen said earlier, that would be indicative of a bad (or 
incomplete) LyX installation.  The LyX tree under Applications Data is 
created during installation (I'm pretty sure).  Saving a LyX document 
won't create it if it's not already there, and its absence may not affect 
the saving of the document.  Since we're pretty sure (?) the LyX 
configuration script is balking at a perceived lack of a working LaTeX 
executable, I wouldn't worry about this until after the MiKTeX issues are 
sorted out.




I think John first installed LyX 1.3.5. Was that under a different
c:\document and settings\...  path structure than is used currently?
Maybe a Preferences file under \username\ .lyx that needed deletion.

I mean delete \.lyx?
Stephen 





Re: LyX Windows installer and TeXLive

2005-11-16 Thread Uwe Stöhr

Stephen Harris schrieb wrote:


However, Nov.15 version must not be the one you fixed for find.exe
because that didn't work for displaying Tex Information.


Yes the fixed version will be 0.3 and is not yet uploaded.

regards Uwe


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

2005-11-16 Thread Paul A. Rubin

Stephen Harris wrote:



As I think Stephen said earlier, that would be indicative of a bad (or 
incomplete) LyX installation.  The LyX tree under Applications Data is 
created during installation (I'm pretty sure).  Saving a LyX document 
won't create it if it's not already there, and its absence may not 
affect the saving of the document.  Since we're pretty sure (?) the 
LyX configuration script is balking at a perceived lack of a working 
LaTeX executable, I wouldn't worry about this until after the MiKTeX 
issues are sorted out.




I think John first installed LyX 1.3.5. Was that under a different
c:\document and settings\...  path structure than is used currently?
Maybe a Preferences file under \username\ .lyx that needed deletion.

I mean delete \.lyx?


Version 1.3.5 and earlier did not put anything under Documents and 
Settings (nor under Program Files for that matter), since they were 
allergic to spaces in paths.  With 1.3.5, you designated a home 
directory, and a .lyx folder (with subfolders) was created thereunder, 
housing your preferences and customizations.  Version 1.3.6 looks 
specifically in Docs and Settings\your name here\Application Data, so 
there should be no collisions.  In fact, I've had 1.3.5 and 1.3.6 (and 
1.3.7, for that matter) peacefully coexisting on a couple of machines. 
1.3.6 has no idea the 1.3.5 preferences exist, and vice versa.


Paul




How to create a new page in Lyx?

2005-11-16 Thread Alex Radu

Hi,

For my MLA styled paper, I need to have the Works Cited on a separate 
page. How can I make a separate page in lyx without starting a whole new 
document?


Thansk in advance,
   Alex


Re: How to create a new page in Lyx?

2005-11-16 Thread John C. McCabe-Dansted
On Thursday 17 November 2005 13:35, Alex Radu wrote:
 For my MLA styled paper, I need to have the Works Cited on a separate
 page. How can I make a separate page in lyx without starting a whole new
 document?

Go to the menu item Layout\Paragraph, go to the Lines  Pagebreaks tab and 
click one of the Page Breaks options.

Hmmm, it would make more sense to put Pagebreaks under 
Insert\Special_Character together with linebreaks would it not?

--
John C. McCabe-Dansted
Masters Student 


Re: How to create a new page in Lyx?

2005-11-16 Thread Uwe Stöhr

Alex Radu wrote:

For my MLA styled paper, I need to have the Works Cited on a separate 
page. How can I make a separate page in lyx without starting a whole new 
document?


Menu Layout - Paragraph - Lines  Pagebreaks

regards Uwe


GSview/Ghostscript problems

2005-11-16 Thread Uwe Stöhr

Stephen Harris wrote:


I downloaded your Lyx1.3.6_1 version 2 installer yesterday, Nov. 15,
the full version. But I only uninstall my old Lyx1.3.6. Still the install
went well. And it loaded Gsview to c:\program files, which was not
where I have one. It showed up in the Edit/Preferences/Path prefix.
Strangely, the Path prefix also showed gs8.13 which I've deleted
in favor of gs8.51and which is also in my Windows path. So I'm
not sure where it came from,


The installer checks in the registry for ther version numbers of 
Ghostscript, if one is found its path is added to the path_prefix. 8.13 
comes before 8.51 in the registry and you therefore had troubles.
Have you deinstalled version 8.13 before you installed 8.51? Having two 
version installed mostly error prone.
But anyway another user reported me that old GS (de)installers don't 
delete the registry keys correctly so that my installer find wrong 
versions. I'll check this and if this is the case I'll change the code 
so that only the greatest version number is taken for the path_prefix.


Sigh, I've never thaught that the installer stuff will be so complicated 
and takes so much time.


regards Uwe


Re: GSview/Ghostscript problems

2005-11-16 Thread Stephen Harris


- Original Message - 
From: Uwe Stöhr [EMAIL PROTECTED]

To: Stephen Harris [EMAIL PROTECTED]
Cc: lyx-users@lists.lyx.org; [EMAIL PROTECTED]
Sent: Wednesday, November 16, 2005 4:49 PM
Subject: GSview/Ghostscript problems



Stephen Harris wrote:


I downloaded your Lyx1.3.6_1 version 2 installer yesterday, Nov. 15,
the full version. But I only uninstall my old Lyx1.3.6. Still the install
went well. And it loaded Gsview to c:\program files, which was not
where I have one. It showed up in the Edit/Preferences/Path prefix.
Strangely, the Path prefix also showed gs8.13 which I've deleted
in favor of gs8.51and which is also in my Windows path. So I'm
not sure where it came from,


The installer checks in the registry for ther version numbers of 
Ghostscript, if one is found its path is added to the path_prefix. 8.13 
comes before 8.51 in the registry and you therefore had troubles.
Have you deinstalled version 8.13 before you installed 8.51? Having two 
version installed mostly error prone.
But anyway another user reported me that old GS (de)installers don't 
delete the registry keys correctly so that my installer find wrong 
versions. I'll check this and if this is the case I'll change the code so 
that only the greatest version number is taken for the path_prefix.


Sigh, I've never thaught that the installer stuff will be so complicated 
and takes so much time.




It must bring you a rare joy unexperienced my most mortals. :=)


regards Uwe



Yes, I did a find for (gs8.13) in the registry and there it was.
So I deleted the gs8.13 value. I did a fresh uninstall/reinstall
of just LyX. I copied just find.exe from C:\msys\1.0\bin to
C:\Lyx\bin. Tex Information was correct. Everything seems
to work perfectly. The spellchecker also worked, although it
was not shown in the Path Prefix; I have it installed in C:\Aspell
which is in my Windows path. I didn't dl a non-English dictionary.

To test it thoroughly I suppose I should uninstall everything
but Aspell. Version 2 has small problems easy to fix manually.
It looks ideal for newcomer installations, someone complained
about having to visit the websites for installs, though I should
test it. Let's hope the LyX improvements are easy to incorporate.

Good job, thank you,
Stephen 





Re: align left and hyphenation

2005-11-16 Thread Juergen Spitzmueller
Marcelo Acuÿf1a wrote:
 How I can get align left and hyphention?

\usepackage{ragged2e}

At the begin of the document
\RaggedRight

HTH,
Jürgen


Installing Lyx on Windows: pb with Python (or msys?)

2005-11-16 Thread mel b
Hi all,

I am using lyx for a while on windows, and decided today to try the new,
supported ! , windows version. I uninstalled my lyx version the best I
could, and followed the instructions on the Lyx Wiki. Everything seemed fine
until I launch lyx.

Then, while lyx was configuring, just after the message "creating
doc/LaTeXConfig.lyx" has been written on the console, I get a nice windows
window "tr.exe has encoutered a problem and needs to close. We are sorry for
the inconvenience". Then it goes on, and while checking for Tex fonts, it
writes "checking for cmex10..." and I have another error message "In.exe has
encountered a problem...", and have the same again while checking for
"cmmi10", "cmr10", "cmsy10", "eufm10", "musam10", "msbm10", "wasy10", then
same error message but about "diff.exe" 5 times. Then, it says that lyx has
been (re)configurated.

When I then try to use lyx, I can open a document and view it in DraftDVI,
but if I try to view it with anything else, I have an error "Cannot convert
file Error while executing python "C:/Program
Files/lyx/Resources/lyx/scripts"" and the message is an ImportError for the
os module.

I have tried reconfigurating lyx, checked all my installs the best I could,
but I have to say I don't know which way to approach it anymore: is it the
Python install or the msys one ??

Anybody has any hint ??

Thanks in advance for your help,

Mélanie


Re: Installing Lyx on Windows: pb with Python (or msys?)

2005-11-16 Thread Jose' Matos
On Tuesday 15 November 2005 22:44, mel b wrote:
> and the message is an ImportError for the os module.

  This is an indication that something is wrong with your python installation.

  I am not saying that this is the only problem or the cause of the others, 
but this should not happen in a normal setup.

-- 
José Abílio


blank rows above and below equations

2005-11-16 Thread Miki Dovrat
Is there a reason the lyx editor inserts extra space (a blank row) before 
and after equations? You can then stand at the end of the equation and press 
DEL to delete this extra space, or backspace from the beginning of the 
equation line.

Is there a typographical reason for this? 





Latex Errors in Lyx (with named.bst)

2005-11-16 Thread Nicolás

Hi!

I want to have references in the form [Author (et al.), year], so I am 
using named.bst and named.sty for that. The problem appears when I try 
to use a citation in a caption. In that case, when I try to generate a 
div file I get errors of the type:


! Undefined control sequence.
\citeauthoryear #1#2->\def [EMAIL PROTECTED]
{#1}\ifx [EMAIL PROTECTED] 
[EMAIL PROTECTED] \...

l.13 ...itation does not work \cite{beconico2005}}

If I just ignore these errors (running "latex" from the commad line) the 
genarated div file is actually correct. However, when using Lyx, I keep 
getting five Error boxes that prevent me from viewing the div file. Is 
there anything I can do to overcome this problem? Thanks!


Nicolás

PS.- An example of a latex file producing the aforementioned errors:

\documentclass{paper}
\usepackage{float}
\usepackage{graphicx}
\usepackage{named}

\begin{document}

This citation works \cite{beconico2005}.

\begin{figure}
\begin{center}\includegraphics{figure_file}\end{center}
\caption{This citation does not work \cite{beconico2005}}
\end{figure}

\bibliographystyle{C:/tools/latex/miktex/bibtex/bst/named}
\bibliography{C:/Documentos/Papers/biblio}

\end{document}


Lyx - MLA format

2005-11-16 Thread Alex Radu

Hi,

I recently had to do an English assignment and my professor asked for 
the MLA format. Despite my search efforts, I could not find an MLA 
document layout in Lyx and had to use OOo 2.0 to do the assignment.


I currently use Windows with Miktex and Lyx. I would really appreciate 
if someone could walk me through the process of getting Lyx to use the 
MLA format.


Thanks in advance,
   Alex


Re: change space between top line and text body

2005-11-16 Thread Marcelo Acuÿfffff1a

>> I am using koma-script, scrbook, with scrpage2 package,
>> How I can reduce space between top line and text body?

>I am relatively sure that the koma-script documentation (scrguien.pdf) 
>explains it. Also the following pages might help you:

>http://wiki.lyx.org/uploads/Tips/paperLayout/paperDistances.png
>http://wiki.lyx.org/Tips/PaperLayout
>http://wiki.lyx.org/FAQ/Units

>If nothing helps send an example file and I'll have a look at it.

>regards Uwe
  Thanks for your help, Uwe.
  In scrguien.pdf I can find any command or mention of space
  between head sep line and body text.
  I make trial and error and I found
  \headsep = argument
  This work ok.
  Problem solved.
   
  Regards, Marcelo
  
 


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

Re: add weight to a font

2005-11-16 Thread Marcelo Acuÿfffff1a
>> Hello,
>> I selected pslatex font size 10.
>> How I can add weight to this font?
>> (more bolder)
>>
>> Thanks in advance.

>pslatex comes as-is and cannot be subjected to uniform 
  >customisation such
>as "all uppercase" or "bold throughout" (unlike, for example,
  >(X)HTML/CSS).
   
  Thanks for write me.
  Yes, I need uniform customisation in preamble.
  I need save pages but pslatex in size 10 is too ligth.
   
  Regards
  Marcelo
   
   



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

Re: align left and hyphenation

2005-11-16 Thread Marcelo Acuÿfffff1a
>> Hello,
>> I want use align left in my book but when
>> changed from align justified I lost 
>> hyphenation.
>> This spent a lot of pages.
>> How I can get align left and hyphention?
>> 
> I don't know if this is even possible. It could be, but
> as far as I know, hyphenation is turned on _because_ you
> use justification. Good justification is impossible
> without hyphenation, or the interword spacing would be
> way too big sometimes. This problem doesn't exist with left 
> align - then the line simply ends when there isn't
> enough room for the next word. Some will also say that the point of
> using left align is to avoid the hyphens.

> I wonder though, why you would even want to print a book left
> aligned. Some special reason?
   
  Yes.
   
  > Usually, it is quite ugly and looks unprofessional.
  > Like it was made with an amateur tool like word 
   
  ;-)
   
  > - or by someone who don't know better. But of course there
> may be valid and good reasons for doing so. Still, look at
> some random books from ordinary publishers and I don't think you 
> find any set left aligned.
  
> Helge Hafting

  Thanks for write me!
  Excuse me for my English. I tried explain me.
  Left align with "ugly" right border ( irregular )
  make more easy to the eye find next line.
  My publisher want left align with hyphenation 
  and indent for paragraph separation.
  Hyphenation save a lot of pages.
  Several magazines turn to this mode.
  I can see that Lyx, when I selected left align,
  toogle from indent to skip.
  Now, I am in problem with my publisher.
  He said, "Drop Lyx, take PageMaker!".
   
  I have option in Scribus (DTP for Linux) 
  but, for now, I don´t know how work this program.
   
  I want know if with Latex I can get:
  left align + hyphenation + indent separation paragraph
   
  Thanks in advance.
   
  Marcelo Acuña
   
   
   



__
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis! 
¡Abrí tu cuenta ya! - http://correo.yahoo.com.ar

Re: Lyx - MLA format

2005-11-16 Thread Todd Denniston
Alex Radu wrote:
> 
> Hi,
> 
> I recently had to do an English assignment and my professor asked for
> the MLA format. Despite my search efforts, I could not find an MLA
> document layout in Lyx and had to use OOo 2.0 to do the assignment.
> 
> I currently use Windows with Miktex and Lyx. I would really appreciate
> if someone could walk me through the process of getting Lyx to use the
> MLA format.
> 
> Thanks in advance,
> Alex

I am have not used MLA on anything but I know it has been been recently
discussed on the list, perhaps if you start with these links you can get
towards your goal (part of your problem searching was that what you call
format, is referred to as a style in the LaTeX world:) 

"Re: MLA style for lyx"
 http://article.gmane.org/gmane.editors.lyx.general/25494

"Re: Using mla.sty in Lyx"
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg41157.html

"Re: More document styles"
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg01356.html

Search results for '"MLA style "'
http://www.mail-archive.com/cgi-bin/htsearch?config=lyx-users_lists_lyx_org===%22MLA+style+%22

Hope this is helpful.
-- 
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane) 
Harnessing the Power of Technology for the Warfighter


Removing header chapter

2005-11-16 Thread Adinda Praditya
Hi list,...

I don't know how to put my question. I use book class as most of
parameters meets my need. However, i'd like to remove chapter header.
Is it possible to do that? What should i put in preamble?

Thanks,

Adinda P


Re: Removing header chapter

2005-11-16 Thread Roy Schestowitz

_/ On Wed 16 Nov 2005 16:36:05 GMT, [Adinda Praditya] wrote : \_


Hi list,...

I don't know how to put my question. I use book class as most of
parameters meets my need. However, i'd like to remove chapter header.
Is it possible to do that? What should i put in preamble?

Thanks,

Adinda P



See a thread from November 14th titled "Chapters without headings...". Below
lies a snippet and a valuable link.

Hope it helps,

Roy

Caspar wrote:

[Hide Quoted Text]

hi,

this should be easy but it is beyond me.. i am working from the book
template and  am dividing my work into chapters but i don't want to
give them titles. i.e.

Chapter 1

rather than

Chapter 1
Some preliminaries

etc

at the moment i am just using a protected-break (command+space) but
this leaves me with a blank line i'd rather do without.

there must be another more elegant way to do this?


http://tug.org/TeXnik/mainFAQ.cgi?file=layouts/chapter

Herbert



Re: Write debug info to file

2005-11-16 Thread Michael Wojcik

[EMAIL PROTECTED] wrote:

On Wed, 9 Nov 2005, Georg Baum wrote:


You can redirect the standard error output to a file on unix systems:

lyx -dbg latex 2>err.log


I'm guessing this assumes bash or sh as the shell? IIRC, it's slightly 
different in tcsh.


csh variants use ">&" and ">&!" (the latter overrides the noclobber 
option) to redirect both stdout and stderr.  In classic csh there is no 
way to redirect only stderr (though stdout can be redirected separately 
first); I don't remember if there is in tcsh.


That's one of the reasons why csh is not popular with Unix experts.  See 
"Csh Programming Considered Harmful".



On windows it looks maybe different.


Actually it's the same, if you're running a current Windows version, 
using the stock cmd.exe shell, and have command extensions enabled.  (I 
don't remember offhand if command extensions are required, but they're 
almost always desirable; there's little reason to ever disable them.)


I'm not sure, but I don't think it's possible to redirect stderr 
separately on windows.


Unlike csh, this *is* possible in current versions of Windows (at least 
XP and subsequent).


The XP-era cmd allows "2>" to redirect only stderr, and constructs like 
"2>&1" to redirect stderr to stdout.  It's still a far cry from ksh, but 
it's improved to the point where it's usable for simple tasks, anyway.


--
Michael Wojcik



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

2005-11-16 Thread Stephen Harris


Hello John, a major suggestion,

The problem with installing LyX may be a conflicting old *TeX.
I actually wrote this as a solution if you have R For Windows
installed which I think comes with RWinEdt. I'm speculating, so
if you don't, no need to read this. It is also somewhat of a summary.
I think that slighty older versions of R-Windows came with fpTeX.
And I noticed an R Folder under RWinEdt, and since you wrote:

"I have checked and could not find any  rogue Latex.exe files
and I have hunted down and exterminated the localtexmf and
texmf and the only texmf which was in my R folder. I simply
removed R for the moment. :)" [So I'm taking a chance for a fix.]

OTOH, if this post does not apply, I have not seen this topic
reported upon in this forum and a possible fix, so it may have
value by its addition to the mailing archives. Sent only to Lyx-users.

SH: This result came from Miktex Options, Update

Refresh ran okay
Update bombed
Cannot create the pdf latex format file
Cannot create the  plain TeX format file
Cannot create the latex2e format file
Cannot create the plain pdf format file.

SH: My working version of Miktex/Lyx has
the following non-excluded TeX Formats
pdfLaTeX
plain TeX
LaTeX2e (latex)
pdfTeX

SH: In the olden day I think they used c:\> initexmf --dump[=program]
For example:  initexmf --dump=tex

latex This creates the dump file latex.fmt which is used by latex.exe.

tex This creates the dump file plain.fmt which is used by tex.exe.

pdflatex This creates the dump file pdflatex.fmt which is used by
pdflatex.exe.

pdftex This creates the dump file pdftex.fmt which is used by pdftex.exe.

This suggests the following explanation applies:

http://www.murdoch-sutherland.com/Rtools/miktex.html

"e-TeX compatibility mode

To force MiKTeX to use e-TeX in compatibility mode, follow these steps:

1. Run the MiKTeX options program, choose the TeX formats page, and
then for each program that you want in compatibility mode (e.g. latex,
pdflatex, etc.)  do the following:

2. Click on the Edit button,

3. Choose "e-TeX compatibility mode" as the compiler,

4. Click Apply,

5. Click Build"

SH: I notice that a contributed package for R-Windows is RWinEdt.
I can run LyX, another TeX front-end and WinEdt, with MikTeX 2.4
(fpTex has bin-pdftex-1.20b-win32-static.zip 2005-01-16 9468 Kbyte
and RWinEdt also contains a file RW-LaTeX.png and latex directory.)
fpTex comes with the pdfTeX module. Another troubleshooter stated:

"I'm bothered by the fact that the output from your format
refresh seems to be running pdfetex rather than etex, but I
don't know if I should be."

SH: I'm a bit dubious that LyX is modular enough to fill in for
RWinEdt? But could RWinEdt still work with RWindows and
LyX serve for other publishing tasks? Is solution #4 needed?

"For one or two versions, MiKTeX has been ignoring the 
TEXINPUTS environment variable that most other TeX 
distributions use to indicate additions to the search path. 
The R make process uses TEXINPUTS to add 
$RHOME/share/texmf to the search path, so that

the Rd.sty style file will be found.

Instead of using TEXINPUTS, MiKTeX uses the command line option
"-include-directory=foo", to prepend foo to the search path.

There are four workarounds to this.

Workaround 4: Install the R style files into MikTeX. Remember to
re-install updates when you upgrade R! Instructions for this were
written by Gabor Grothendieck [a name of categorical Universe fame]:

1. Create a new tex subfolder of your \localtexmf folder:

   md \localtexmf\tex

2. Copy your R .sty and .fd files into it:


cd \Program Files\R\rw2001\share\texmf
copy *.* \localtexmf\tex

3. Go into

Start | Programs | MiKTeX | MiKTeX Options | General

and press Update Now and Refresh Now. (I am not certain that this step
needs to be done but it can't hurt.)

4. You can check whether it is finding Rd.sty in the right place with
the command:

findtexmf Rd.sty

#2 - #4 need to be repeated each time one installs a new version of R
if the *.sty or *.fd files have changed but if they have not changed
then nothing at all needs to be done. It has the advantage that it
leaves all MiKTeX options at their defaults and does not need a custom
miktex.ini file.

[Added in February, 2005]:
The most recent version of pdftex no longer supports TEXINPUTS,
even with the old *pdftex* engine, so Workaround 1 no longer works."

SH: I included this #4 step so you wouldn't have to look it up and
I'm going to send a copy. Should e-compatibility mode be used and
also Step #4? Can Lyx serve as a front-end for RWindows; can both
RWinEdt and Lyx be used at the same time if LyX can't do RWindows?
I think they probably can. pdfTeX seems to be a player in the drama.

I think it is a good idea to run both Miktex Options, Refresh & Update
after running etex compatibility mode first, and also after running step 4.
To leave no stone unturned run LyX --> Reconfigure also at the very end.
I think maybe that CreateRegistryPath patch for 

Beamer Class under WinLyx

2005-11-16 Thread Christian Fischer
Hi,
i'm using lyx for windows and miktex. My problem is, that i installed
the beamer document class with the miktex package manager (so this is
done correctly, i checked the directories), updated the database and
reconfigured lyx, but it still won't find the class. Any ideas for me?
Thx
Christian




Re: Beamer Class under WinLyx

2005-11-16 Thread David Soukal

Christian Fischer wrote:

Hi,
i'm using lyx for windows and miktex. My problem is, that i installed
the beamer document class with the miktex package manager (so this is
done correctly, i checked the directories), updated the database and
reconfigured lyx, but it still won't find the class. Any ideas for me?
Thx
Christian




Hello Christian,

you still need to add the layout document for LyX, i.e. the document
telling LyX how to represent the Beamer document in the editor. In order
for do this in Linux, you simply copy (or link) the file "beamer.layout"
supplied by the Beamer's author to your profile directory in
~/.lyx/layout. I believe you should achieve the same result under
Windows without any hassle.

Here is a quick link for the file, if you do not find it in our MikTeX
installation.

http://www.tug.org/tex-archive/macros/latex/contrib/beamer/lyx/layouts/beamer.layout

Good luck,

David



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

2005-11-16 Thread John Kane
>>>Modern installs of LyX store the config "Lyx" directory under yourusername.>>I checked and it was not there before installation. Unfortunately it is  >>not there after either.>SH: If you have LyX installed now, then there is a new one there  >now or LyX is not installed. It is good that the old one is gone.>Paul had some hunch about pdfYes, I checked out his suggestion and my file looked okay.You mentioned a possible problem with R . I had uninstalled it so I  expect that it was not a problem but who knows. I'bm beginning to think  I should consult the augurs.  Sheep livers probably are just as  comprehensible as DOS error messages.  It also is an newer version  than the one mentioned in your mail    I have never loaded RWinEdt so it should not be a problem.  R  comes with a base installation and one can then load all sorts of  packages for
 it. RWinEdit is just one of them. I had never even heard  of it before. I may have to look into it :)  The current R-2.2.0  does not come with any .tex files that I can find.  Rd.sty currently resides in c:\Program  Files\R\R-2.2.0\share\texmf.  Exactly what this may mean I don't  know.  However it goes when I uninstall R which Idid  yesterday.  Of course it's back today. Takes all of 30 seconds to  install-almost as fast as MikTeX.  As far as I can tell my tex list matches the screen shot that you included.  I am unsure from your last posts if you want me to try the -e compatibiltiy mode however I gave it a try and   >To force MiKTeX to use e-TeX in compatibility mode, follow these steps:  >1. Run the MiKTeX options program, choose the TeX formats page, and  >then for each program that you want in compatibility mode (e.g. latex,  pdflatex, etc.)  do the following:  >2. Click on the Edit button,  >3. Choose
 "e-TeX compatibility mode" as the compiler,  >4. Click Apply,  5. Click Build"  Results of this is the same error message, as before, when trying an updatewhich comes down basically to   "initexmf: The file "latex.efmt" could not be found."  And as far as I can tell latex.efmt is not on my hard drive  BTW I have not been able to find a Lyx file in the Applications Data  file under User after I have installed, created and saved  a file  in Lyx.  ARRGH!  John Kane, Kingston ON  Canada
		Find your next car at Yahoo! Canada Autos

Re: LyX Windows installer and TeXLive

2005-11-16 Thread Stephen Harris


- Original Message - 
From: "Uwe Stöhr" <[EMAIL PROTECTED]>

To: "Stephen Harris" <[EMAIL PROTECTED]>
Cc: 
Sent: Tuesday, November 15, 2005 6:15 PM
Subject: Re: LyX Windows installer and TeXLive



Stephen Harris wrote:


I meant that the reason I didn't test TeXlive2005, ProText, and
the Miktex .iso installs with both installers was because your
installer doesn't display Tex Information, which is one of my
testing criteria and the Angus installer does.


I found the bug now. I simply forgot to ship the "find.exe" from MSYS with 
my installer.

I'll upload a new version of the installer soon.

regards Uwe



I downloaded your Lyx1.3.6_1 version 2 installer yesterday, Nov. 15,
the full version. But I only uninstall my old Lyx1.3.6. Still the install
went well. And it loaded Gsview to c:\program files, which was not
where I have one. It showed up in the Edit/Preferences/Path prefix.
Strangely, the Path prefix also showed gs8.13 which I've deleted
in favor of gs8.51and which is also in my Windows path. So I'm
not sure where it came from, but printing worked. I changed the
Path Prefix over to the correct gs8.51 folder and it all still worked!

However, Nov.15 version must not be the one you fixed for find.exe
because that didn't work for displaying Tex Information. So I took a
chance and copied find.exe (and find2perl to be on the safe side) from
C:\msys\1.0\bin\ copy find*.* to C:\LyX\bin. Then I ran Reconfigure.
Lo and behold, the Tex Information was now fully populated with .cls!
So that turns out to be really easy to fix. The install went pretty quickly.

Regards,
Stephen







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

2005-11-16 Thread Paul A. Rubin

John Kane wrote:


As far as I can tell my tex list matches the screen shot that you included.
I am unsure from your last posts if you want me to try the -e 
compatibiltiy mode however I gave it a try and

 >To force MiKTeX to use e-TeX in compatibility mode, follow these steps:
 >1. Run the MiKTeX options program, choose the TeX formats page, and
 >then for each program that you want in compatibility mode (e.g. latex,
pdflatex, etc.)  do the following:
 >2. Click on the Edit button,
 >3. Choose "e-TeX compatibility mode" as the compiler,
 >4. Click Apply,
5. Click Build"
Results of this is the same error message, as before, when trying an 
updatewhich comes down basically to

"initexmf: The file "latex.efmt" could not be found."
And as far as I can tell latex.efmt is not on my hard drive


On my system it's at C:\localtexmf\miktex\fmt\latex.efmt.  The fact that 
it's in the localtexmf tree suggests that it is created during 
installation or format updating, as opposed to being part of the 
original installation.


Incidentally, with a working MiKTeX installation you can locate this and 
other style/format/class files by opening a DOS prompt and running 
kpsewhich, to wit 'kpsewhich latex.eftm'.  It's generally faster than 
using the OS to search the entire MiKTeX directory tree (let alone the 
entire drive).


BTW I have not been able to find a Lyx file in the Applications Data 
file under User after I have installed, created and saved  a file in Lyx.

ARRGH!


As I think Stephen said earlier, that would be indicative of a bad (or 
incomplete) LyX installation.  The LyX tree under Applications Data is 
created during installation (I'm pretty sure).  Saving a LyX document 
won't create it if it's not already there, and its absence may not 
affect the saving of the document.  Since we're pretty sure (?) the LyX 
configuration script is balking at a perceived lack of a working LaTeX 
executable, I wouldn't worry about this until after the MiKTeX issues 
are sorted out.


From the Groping In The Dark Department:  Did you install MiKTeX from 
the Internet (as opposed to either a CD or a local network repository)? 
 If yes, you might try opening the MiKTeX Package Manager, waiting 
 for it to list all the packages, then syncing 
the directory (Repository->Synchronize) and checking for updates 
(Task->Update Wizard).  I've seen this used to resolve one or two 
miscellaneous installation bugs (which I think might have involved 
mixing older and newer MiKTeX components).


Paul



Building lyx from source

2005-11-16 Thread pete

Hello all,
I recently installed a slackware package of lyx 1.36 to my computer, but 
it doesn't work as well as when i compiled it myself; pdf preview 
preview doesn't work.


The problem when i compile myself is that it automatically uses xforms 
gui, which is minging, i'd much rather it used qt.


Does anyone know how i can make it use qt when building from source?

Thanks guys,
pete.


Re: Building lyx from source

2005-11-16 Thread Paul Smith
On 11/16/05, pete <[EMAIL PROTECTED]> wrote:
> I recently installed a slackware package of lyx 1.36 to my computer, but
> it doesn't work as well as when i compiled it myself; pdf preview
> preview doesn't work.
>
> The problem when i compile myself is that it automatically uses xforms
> gui, which is minging, i'd much rather it used qt.
>
> Does anyone know how i can make it use qt when building from source?

Grab

ftp://ftp.lyx.org/pub/lyx/stable/lyx-1.3.6.tar.gz

Then, unpack it into a directory.

Use the following commands, sequentially and inside the directory
containing the unpacked LyX source:

./configure  --with-frontend=qt --with-pspell --with-aiksaurus
make
make install (as superuser).

Instead of "make install", you may want to use checkinstall to build a
binary file.

Paul


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

2005-11-16 Thread Stephen Harris


- Original Message - 
From: "Paul A. Rubin" <[EMAIL PROTECTED]>

To: 
Sent: Wednesday, November 16, 2005 1:10 PM
Subject: Re: Installation Problem. All entries in Textclass.lst
are "false " so no output. Any suggestions?



BTW I have not been able to find a Lyx file in the Applications Data

file under User after I have installed, created and saved  a file in Lyx.
ARRGH!


As I think Stephen said earlier, that would be indicative of a bad (or 
incomplete) LyX installation.  The LyX tree under Applications Data is 
created during installation (I'm pretty sure).  Saving a LyX document 
won't create it if it's not already there, and its absence may not affect 
the saving of the document.  Since we're pretty sure (?) the LyX 
configuration script is balking at a perceived lack of a working LaTeX 
executable, I wouldn't worry about this until after the MiKTeX issues are 
sorted out.




I think John first installed LyX 1.3.5. Was that under a different
c:\document and settings\...  path structure than is used currently?
Maybe a Preferences file under \username\ .lyx that needed deletion.

I mean delete \.lyx?
Stephen 





Re: LyX Windows installer and TeXLive

2005-11-16 Thread Uwe Stöhr

Stephen Harris schrieb wrote:


However, Nov.15 version must not be the one you fixed for find.exe
because that didn't work for displaying Tex Information.


Yes the fixed version will be 0.3 and is not yet uploaded.

regards Uwe


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

2005-11-16 Thread Paul A. Rubin

Stephen Harris wrote:



As I think Stephen said earlier, that would be indicative of a bad (or 
incomplete) LyX installation.  The LyX tree under Applications Data is 
created during installation (I'm pretty sure).  Saving a LyX document 
won't create it if it's not already there, and its absence may not 
affect the saving of the document.  Since we're pretty sure (?) the 
LyX configuration script is balking at a perceived lack of a working 
LaTeX executable, I wouldn't worry about this until after the MiKTeX 
issues are sorted out.




I think John first installed LyX 1.3.5. Was that under a different
c:\document and settings\...  path structure than is used currently?
Maybe a Preferences file under \username\ .lyx that needed deletion.

I mean delete \.lyx?


Version 1.3.5 and earlier did not put anything under Documents and 
Settings (nor under Program Files for that matter), since they were 
allergic to spaces in paths.  With 1.3.5, you designated a home 
directory, and a .lyx folder (with subfolders) was created thereunder, 
housing your preferences and customizations.  Version 1.3.6 looks 
specifically in Docs and Settings\your name here\Application Data, so 
there should be no collisions.  In fact, I've had 1.3.5 and 1.3.6 (and 
1.3.7, for that matter) peacefully coexisting on a couple of machines. 
1.3.6 has no idea the 1.3.5 preferences exist, and vice versa.


Paul




How to create a new page in Lyx?

2005-11-16 Thread Alex Radu

Hi,

For my MLA styled paper, I need to have the "Works Cited" on a separate 
page. How can I make a separate page in lyx without starting a whole new 
document?


Thansk in advance,
   Alex


Re: How to create a new page in Lyx?

2005-11-16 Thread John C. McCabe-Dansted
On Thursday 17 November 2005 13:35, Alex Radu wrote:
> For my MLA styled paper, I need to have the "Works Cited" on a separate
> page. How can I make a separate page in lyx without starting a whole new
> document?

Go to the menu item Layout\Paragraph, go to the Lines & Pagebreaks tab and 
click one of the Page Breaks options.

Hmmm, it would make more sense to put Pagebreaks under 
Insert\Special_Character together with linebreaks would it not?

--
John C. McCabe-Dansted
Masters Student 


Re: How to create a new page in Lyx?

2005-11-16 Thread Uwe Stöhr

Alex Radu wrote:

For my MLA styled paper, I need to have the "Works Cited" on a separate 
page. How can I make a separate page in lyx without starting a whole new 
document?


Menu Layout -> Paragraph -> Lines & Pagebreaks

regards Uwe


GSview/Ghostscript problems

2005-11-16 Thread Uwe Stöhr

Stephen Harris wrote:


I downloaded your Lyx1.3.6_1 version 2 installer yesterday, Nov. 15,
the full version. But I only uninstall my old Lyx1.3.6. Still the install
went well. And it loaded Gsview to c:\program files, which was not
where I have one. It showed up in the Edit/Preferences/Path prefix.
Strangely, the Path prefix also showed gs8.13 which I've deleted
in favor of gs8.51and which is also in my Windows path. So I'm
not sure where it came from,


The installer checks in the registry for ther version numbers of 
Ghostscript, if one is found its path is added to the path_prefix. 8.13 
comes before 8.51 in the registry and you therefore had troubles.
Have you deinstalled version 8.13 before you installed 8.51? Having two 
version installed mostly error prone.
But anyway another user reported me that old GS (de)installers don't 
delete the registry keys correctly so that my installer find wrong 
versions. I'll check this and if this is the case I'll change the code 
so that only the greatest version number is taken for the path_prefix.


Sigh, I've never thaught that the installer stuff will be so complicated 
and takes so much time.


regards Uwe


Re: GSview/Ghostscript problems

2005-11-16 Thread Stephen Harris


- Original Message - 
From: "Uwe Stöhr" <[EMAIL PROTECTED]>

To: "Stephen Harris" <[EMAIL PROTECTED]>
Cc: ; <[EMAIL PROTECTED]>
Sent: Wednesday, November 16, 2005 4:49 PM
Subject: GSview/Ghostscript problems



Stephen Harris wrote:


I downloaded your Lyx1.3.6_1 version 2 installer yesterday, Nov. 15,
the full version. But I only uninstall my old Lyx1.3.6. Still the install
went well. And it loaded Gsview to c:\program files, which was not
where I have one. It showed up in the Edit/Preferences/Path prefix.
Strangely, the Path prefix also showed gs8.13 which I've deleted
in favor of gs8.51and which is also in my Windows path. So I'm
not sure where it came from,


The installer checks in the registry for ther version numbers of 
Ghostscript, if one is found its path is added to the path_prefix. 8.13 
comes before 8.51 in the registry and you therefore had troubles.
Have you deinstalled version 8.13 before you installed 8.51? Having two 
version installed mostly error prone.
But anyway another user reported me that old GS (de)installers don't 
delete the registry keys correctly so that my installer find wrong 
versions. I'll check this and if this is the case I'll change the code so 
that only the greatest version number is taken for the path_prefix.


Sigh, I've never thaught that the installer stuff will be so complicated 
and takes so much time.




It must bring you a rare joy unexperienced my most mortals. :=)


regards Uwe



Yes, I did a find for (gs8.13) in the registry and there it was.
So I deleted the gs8.13 value. I did a fresh uninstall/reinstall
of just LyX. I copied just find.exe from C:\msys\1.0\bin to
C:\Lyx\bin. Tex Information was correct. Everything seems
to work perfectly. The spellchecker also worked, although it
was not shown in the Path Prefix; I have it installed in C:\Aspell
which is in my Windows path. I didn't dl a non-English dictionary.

To test it thoroughly I suppose I should uninstall everything
but Aspell. Version 2 has small problems easy to fix manually.
It looks ideal for newcomer installations, someone complained
about having to visit the websites for installs, though I should
test it. Let's hope the LyX improvements are easy to incorporate.

Good job, thank you,
Stephen 





Re: align left and hyphenation

2005-11-16 Thread Juergen Spitzmueller
Marcelo Acuÿf1a wrote:
> How I can get align left and hyphention?

\usepackage{ragged2e}

At the begin of the document
\RaggedRight

HTH,
Jürgen