Re: newbie's request: installing hollywood.cls
Matej Cepl wrote: kpsewhich did found hollywood.cls. However, that was as far as I got. After running Edit/Reconfigure the "Latex Configuration"-helpfile didn't recongnize hollywood.cls as present/installed. What does Help/About LyX about "Library directory" and "User directory"? Library directory: d:/programme/lyx/share/LYX/ User directory: .lyx/ I think everything is ok with that. Anyway, thanks for the help Matej. Maybe it's a MikTeX-specific issue. I will try post in the MikTeX forum/list, but if anyone on the lyx community can lend me a hand on this, please, feel free to write me. Regards -- Rafael
Re: newbie's request: installing hollywood.cls
Matej Cepl wrote: What happens when you move hollywood.cls somewhere to the TeXMF tree (e.g., c:\program files\TeXLive\texmf-local\tex\latex, if your TeX distribution is TeXLive), refresh kpsepath database (there is a Start-menu item for it in TeXLive), and then run kpsewhich hollywood.cls in DOS/Shell window? If it finds hollywood.cls, you are half way through. Start LyX and run Edit/Reconfigure. Then restart LyX and File/New from Template. Select hollywood.lyx as a template. Save under the new name and you are all set! Matej I moved hollywood.cls to \texmf\tex\latex (as my \texmflocal directory hasn't any texmflocal\tex\latex subdirectories) and, as I did not find "kpsepath", I run an update for the package database in the mpm (miktex package manager). After that, kpsewhich did found hollywood.cls. However, that was as far as I got. After running Edit/Reconfigure the "Latex Configuration"-helpfile didn't recongnize hollywood.cls as present/installed. I even checked the mpm and there wasn't no hollywood package nor hollywood.cls file to be found for installing. The MikTeX FAQ reads: "If (for some reason) you have to install a package by hand, then you should copy the input files into the directory tex\latex\/package/ relative to the local TEXMF directory (usually C:\localtexmf\). Remember to refresh the file name database, so that MiKTeX finds the files." I did it, but it didn't help. The mpm still don't "see" hollywood.cls. I forgot to tell that I run Windows98SE (pity me!) and downloaded and installed MikTeX directly from miktex.org (no TeXLive CD). -- Rafael
newbie's request: installing hollywood.cls
Can anybody help me install the hollywood class? I have the Ruurd Reitsma's win32 port of LyX 1.3.2 and miktex 2.4 installed. The documentation wasn't very helpful on this (maybe because I run LyX under windows...?). Thanks in advance, -- Rafael Maguiña
Re: View -> dvi doesn't work - FIXED!
On Wed, 9 Jul 2003 21:06:36 + (UTC), "Paul A. Rubin" <[EMAIL PROTECTED]> said: > [posted and mailed] > > "Rafael Maguiña" <[EMAIL PROTECTED]> wrote in > news:[EMAIL PROTECTED]: > > > The log-file wasn't there. The test.tex file is written, the path is > > also alright - yap looks for the temp dvi file in the right place, but > > then, there is just the tex file, the dvi file is missing. So, i guess > > it is a latex problem, because the *.tex file is not converted to > > *.dvi... I couldn't go farther than that, but then... I'm just a > > newby at latex/lyx. > > Well, that's a bit puzzling (though consistent with what Jim Reid > reported). This is a long shot, but try Help-LaTeX Configuration and > check "LaTeX version currently in use". If it does not contain a date > (and typically this would also mean that the page itself has question > marks in lieu of a date in its heading), then LyX can't find your LaTeX > installation. In that case, you need to make sure that latex.exe is on > your path, then run Edit->Reconfigure. I think Jim Reid said that his > LyX was indicating that LaTeX had been found, though, so I'm not > optimistic about this. > > If you were using a more recent version of Windoze, I might suspect a > permissions problem (LyX trying to invoke latex.exe but latex.exe > requiring root permissions, or some such). I had a problem a while back > on a Windows 2000 machine that boiled down to a difference between the > permissions Cygwin assigned to a file and the permissions Windoze > assigned to it. However, Win 98 SE isn't particularly anal about > permissions (in fact, I don't recall being able to assign permissions in > it), so that's not likely to be the problem. > > Another experiment you might try: load a document into LyX; use ctrl-alt- > del to pop up the list of processes running; then click View->DVI and > watch the process list to see whether latex.exe starts or not. It might > be that latex.exe is being invoked but dying without writing a log file. > > Or maybe this is something peculiar to the native version, in which case > someone else will have to come up with the answer. > > Meanwhile, you at least have a workaround, albeit a tedious one: > > 1. Use File->Export to export your LyX file as a LaTeX file. This > should export to the same directory in which the LyX file lives, not to a > temp directory. > > 2. Open a DOS prompt in that directory and run latex . Since > you're new to LaTeX, I'll warn you that if you have references in your > document, you have to run LaTeX at least twice (the first time creates an > auxiliary file with the references, the second time uses that file to > fill in reference numbers). Also, if you put in a bibliography, you'll > have to run bibtex after the first latex run and before the second one. > My rule of thumb is to keep running latex until the log output > stabilizes. :-) > > 3. Now run yap, or whatever your DVI viewer is, on the DVI. > > You still get to use LyX to shield you from Evil Red TeX, so this is not > all bad, but obviously it's not nearly as good as resolving the problem. > > > And I'm astonished to having got so much help so > > quick. Thanks! > > Benjamin Franklin predates Windows, but nonetheless has a quote relevant > to Windows users: "We must all hang together, or assuredly we shall all > hang separately." > > -- Paul It was just the paths!! They were missing. Neither yap.exe nor latex.exe or the rest dll's that are needed for converting the lyx -> tex -> dvi were being loaded. That is why there wasn't also any log file being written. So, I tried editing Edit -> Preferences -> Converters (-> File Formats), i.e. typing the whole paths to the viewer (in my case yap) and to the converter (latex), and it worked! Thanks for the help! And I hope this helps some other newbie like myself... Regards, Rafael -- http://www.fastmail.fm - Sent 0.02 seconds ago
Re: View -> dvi doesn't work
On Wed, 9 Jul 2003 18:11:18 + (UTC), "Paul A. Rubin" <[EMAIL PROTECTED]> said: > Easy way to tell if LyX is running LaTeX: open the doc, do View->DVI, > then (in LyX) View->LaTeX log file. If the log file's not there, or if > it contains an error message, it gives you a clue what's up. If the > log file is there, scroll to the bottom and see if it says that it > wrote a .dvi file. > > When you View-DVI, LyX writes a LaTeX file in a temp directory, runs > LaTeX there (along with BibTeX if needed), then invokes your DVI viewer > on the DVI file created in that temp directory. So I'm wondering if > you and/or Rafael are running into some kind of problem where the > viewer is being passed the file name but not the path to the temp > directory. There's probably a smarter way to figure that out, but my > inclination would be to write a batch file that just echos its command > parameters to the screen, and substitute that batch file (and the path > to it) for the path to Yap in > Edit->Preferences->Conversion->Formats->DVI. Then try viewing a test > file, and see if the batch file is passed an accurate path to the temp > directory. -- Paul The log-file wasn't there. The test.tex file is written, the path is also alright - yap looks for the temp dvi file in the right place, but then, there is just the tex file, the dvi file is missing. So, i guess it is a latex problem, because the *.tex file is not converted to *.dvi... I couldn't go farther than that, but then... I'm just a newby at latex/lyx. And I'm astonished to having got so much help so quick. Thanks! Rafael -- http://www.fastmail.fm - I mean, what is it about a decent email service?
Re: View -> dvi doesn't work
On Tue, 8 Jul 2003 21:12:15 + (UTC), "Paul A. Rubin" <[EMAIL PROTECTED]> said: > [posted and mailed] > 1. Does your DVI viewer work properly from a command line? > > 2. Does Edit->Preferences->Conversion->Formats->DVI show the correct > program in the Viewer slot? > > 2a. If yes, does it have the correct path? (If it's missing the path, > try adding the path to the entry.) > > -- Paul I followed your advice and came so far as to step "2a". The path was indeed missing and I added it. But there is still something missing. It displays something like: "The DVI file \...\test.dvi does not exist." (The lyx file I try to see is "test.lyx"). Regards, Rafael -- http://www.fastmail.fm - Choose from over 50 domains or use your own
Re: View -> dvi doesn't work
Thanx for the quick response! I downloaded the listings.cab package from ctan and installed it with the miktex package manager. The package was really missing in my repository folder. Then I restarted and tried again... but still no luck. Any other ideas?? Cheers, Rafael On Tue, 8 Jul 2003 13:57:23 -0500 (COT), "Andres Becerra Sandoval" <[EMAIL PROTECTED]> said: > > Hello, > > I had a similar problem, and I solved it downloading the latest > listings package (which contains a patch) and overwriting the original > files in tex directories ... > > http://www.atscire.de/products/listings/downloads.htm > > Hope it helps, and the problem be the same.. > > > Andres. -- http://www.fastmail.fm - Access all of your messages and folders wherever you are
View -> dvi doesn't work
Hi, I've just installed the Ruurd Reitsma's windows port for lyx (qt). It worked fine until I tried to view what I was writing... "file not found..." is all I got. I've had already installed MiKTeX before installing lyx... (but not in the default directories though). I've got Win98 SE on my machine. Has anyone some clues about what I might be missing here? Thanks, Rafael -- http://www.fastmail.fm - Choose from over 50 domains or use your own