Re: pdflatex always runs package manager
Am 27.10.2010 00:15, schrieb Jack Tanner: I'm on Windows 7 with MiKTeX 2.8 and LyX 1.6.7. I ran a MiKTeX update (using the admin version of MiKTeX Package Manager), and then reconfigured LyX. Now, every time I run pdflatex from LyX, Windows prompts me if I want to let MPM to make changes to my system. This is a bug in MiKTeX, see http://sourceforge.net/tracker/?func=detailaid=3081657group_id=10783atid=110783 The workaround is: 1. start a command prompt window as administrator 2. run: initexmf --admin -u 3. run: initexmf -u This MiKTeX bug won't be fixed, because it is not in the brand new MiKTeX 2.9. But don't upgrade to that MiKTeX-version because the installers for LyX 1.6.7 don't recognize this version. First with LyX 1.6.8 MiKTeX 2.9 will be supported. regards Uwe
Re: pdflatex always runs package manager
Am 27.10.2010 00:15, schrieb Jack Tanner: I'm on Windows 7 with MiKTeX 2.8 and LyX 1.6.7. I ran a MiKTeX update (using the admin version of MiKTeX Package Manager), and then reconfigured LyX. Now, every time I run pdflatex from LyX, Windows prompts me if I want to let MPM to make changes to my system. This is a bug in MiKTeX, see http://sourceforge.net/tracker/?func=detailaid=3081657group_id=10783atid=110783 The workaround is: 1. start a command prompt window as administrator 2. run: initexmf --admin -u 3. run: initexmf -u This MiKTeX bug won't be fixed, because it is not in the brand new MiKTeX 2.9. But don't upgrade to that MiKTeX-version because the installers for LyX 1.6.7 don't recognize this version. First with LyX 1.6.8 MiKTeX 2.9 will be supported. regards Uwe
Re: pdflatex always runs package manager
Am 27.10.2010 00:15, schrieb Jack Tanner: I'm on Windows 7 with MiKTeX 2.8 and LyX 1.6.7. I ran a MiKTeX update (using the admin version of MiKTeX Package Manager), and then reconfigured LyX. Now, every time I run pdflatex from LyX, Windows prompts me if I want to let MPM to make changes to my system. This is a bug in MiKTeX, see http://sourceforge.net/tracker/?func=detail=3081657_id=10783=110783 The workaround is: 1. start a command prompt window as administrator 2. run: initexmf --admin -u 3. run: initexmf -u This MiKTeX bug won't be fixed, because it is not in the brand new MiKTeX 2.9. But don't upgrade to that MiKTeX-version because the installers for LyX 1.6.7 don't recognize this version. First with LyX 1.6.8 MiKTeX 2.9 will be supported. regards Uwe
pdflatex always runs package manager
I'm on Windows 7 with MiKTeX 2.8 and LyX 1.6.7. I ran a MiKTeX update (using the admin version of MiKTeX Package Manager), and then reconfigured LyX. Now, every time I run pdflatex from LyX, Windows prompts me if I want to let MPM to make changes to my system. Very annoying. Worse, since there are two passes of pdflatex, I'm prompted twice. This wasn't happening before the MiKTeX update. Should I try reconfiguring again? Should I reinstall MiKTeX? Should I ask this on the MiKTeX lists rather than here? Thanks in advance.
Re: pdflatex always runs package manager
On 26/10/2010 8:37 PM, Jack Tanner wrote: Never mind. It turns out I got hit by this bug: http://sourceforge.net/tracker/index.php?func=detailaid=3067362group_id=10783atid=110783 There are several bugs that have poped up on the MikTeX mailing list since their 2.8 release; to be safe I would delay upgrading for a little while. Glad you solved your problem. Cheers, Julien
pdflatex always runs package manager
I'm on Windows 7 with MiKTeX 2.8 and LyX 1.6.7. I ran a MiKTeX update (using the admin version of MiKTeX Package Manager), and then reconfigured LyX. Now, every time I run pdflatex from LyX, Windows prompts me if I want to let MPM to make changes to my system. Very annoying. Worse, since there are two passes of pdflatex, I'm prompted twice. This wasn't happening before the MiKTeX update. Should I try reconfiguring again? Should I reinstall MiKTeX? Should I ask this on the MiKTeX lists rather than here? Thanks in advance.
Re: pdflatex always runs package manager
On 26/10/2010 8:37 PM, Jack Tanner wrote: Never mind. It turns out I got hit by this bug: http://sourceforge.net/tracker/index.php?func=detailaid=3067362group_id=10783atid=110783 There are several bugs that have poped up on the MikTeX mailing list since their 2.8 release; to be safe I would delay upgrading for a little while. Glad you solved your problem. Cheers, Julien
pdflatex always runs package manager
I'm on Windows 7 with MiKTeX 2.8 and LyX 1.6.7. I ran a MiKTeX update (using the admin version of MiKTeX Package Manager), and then reconfigured LyX. Now, every time I run pdflatex from LyX, Windows prompts me if I want to let MPM to make changes to my system. Very annoying. Worse, since there are two passes of pdflatex, I'm prompted twice. This wasn't happening before the MiKTeX update. Should I try reconfiguring again? Should I reinstall MiKTeX? Should I ask this on the MiKTeX lists rather than here? Thanks in advance.
Re: pdflatex always runs package manager
On 26/10/2010 8:37 PM, Jack Tanner wrote: Never mind. It turns out I got hit by this bug: http://sourceforge.net/tracker/index.php?func=detail=3067362_id=10783=110783 There are several bugs that have poped up on the MikTeX mailing list since their 2.8 release; to be safe I would delay upgrading for a little while. Glad you solved your problem. Cheers, Julien
Re: Package manager
Ehud Kaplan wrote: By the way-- if I chose to install texlive from the ISO image, do I need to uninstall the previous version? It's no necessary. I have lyx-1.5.5 working with texlive 2007 included in Ubuntu 8.04, that is installed in /usr/share/... And the compiled lyx 1.6.1 working with texlive 2008 manually installed from the ISO. This is installed in /usr/local and works independently. Only you must do some easy tweaks with the paths, follow the directions in the texlive ISO page Regards Igancio García
Re: Package manager
Ehud Kaplan wrote: By the way-- if I chose to install texlive from the ISO image, do I need to uninstall the previous version? It's no necessary. I have lyx-1.5.5 working with texlive 2007 included in Ubuntu 8.04, that is installed in /usr/share/... And the compiled lyx 1.6.1 working with texlive 2008 manually installed from the ISO. This is installed in /usr/local and works independently. Only you must do some easy tweaks with the paths, follow the directions in the texlive ISO page Regards Igancio García
Re: Package manager
Ehud Kaplan wrote: > By the way-- if I chose to install texlive from the ISO image, do I need to > uninstall the > previous version? It's no necessary. I have lyx-1.5.5 working with texlive 2007 included in Ubuntu 8.04, that is installed in /usr/share/... And the compiled lyx 1.6.1 working with texlive 2008 manually installed from the ISO. This is installed in /usr/local and works independently. Only you must do some easy tweaks with the paths, follow the directions in the texlive ISO page Regards Igancio García
Package manager
I realize that this is not a specific Lyx question, but someone here might know the answer. My main problem in running Lyx (or Latex) on Linux is the lack of a nice package manager like Miktex is on Windows. I heard that TexLive has a package manager, but I have not been able to find it. Can anyone help? Thanks, -- Ehud Kaplan
Re: Package manager
On Tuesday 24 February 2009 10:38:50 Ehud Kaplan wrote: I realize that this is not a specific Lyx question, but someone here might know the answer. My main problem in running Lyx (or Latex) on Linux is the lack of a nice package manager like Miktex is on Windows. I heard that TexLive has a package manager, but I have not been able to find it. Can anyone help? Thanks, I believe the latest TexLive (2008) has a package manager. However, many Linux distribution (like (K)Ubuntu) are still stuck withTexLive 2007---hence no package manager. One option is to download the TexLive 2008 DVD and install it manually. Another option is to wait for the next version of (K)Ubuntu which should have TeXLive 2008. See here for TeXlive package manager and various caveats: http://www.tug.org/texlive/tlmgr.html the DVD download canbe reached from here: http://www.tug.org/texlive/index.html Cheers, S. __ Stefano Franchi Department of Philosophy Ph: (979) 862-2211 Texas AM University Fax: (979) 845-0458 305B Bolton Hall fran...@philosophy.tamu.edu College Station, TX 77843-4237
Re: Package manager
By the way-- if I chose to install texlive from the ISO image, do I need to uninstall the previous version? Stefano Franchi wrote: On Tuesday 24 February 2009 10:38:50 Ehud Kaplan wrote: I realize that this is not a specific Lyx question, but someone here might know the answer. My main problem in running Lyx (or Latex) on Linux is the lack of a nice package manager like Miktex is on Windows. I heard that TexLive has a package manager, but I have not been able to find it. Can anyone help? Thanks, I believe the latest TexLive (2008) has a package manager. However, many Linux distribution (like (K)Ubuntu) are still stuck withTexLive 2007---hence no package manager. One option is to download the TexLive 2008 DVD and install it manually. Another option is to wait for the next version of (K)Ubuntu which should have TeXLive 2008. See here for TeXlive package manager and various caveats: http://www.tug.org/texlive/tlmgr.html the DVD download canbe reached from here: http://www.tug.org/texlive/index.html Cheers, S. __ Stefano Franchi Department of Philosophy Ph: (979) 862-2211 Texas AM University Fax: (979) 845-0458 305B Bolton Hall fran...@philosophy.tamu.edu College Station, TX 77843-4237 -- Ehud Kaplan, Ph.D. Jules and Doris Stein Research to Prevent Blindness Professor Director, The laboratory of Visual Neuroscience Departments of Neuroscience, Ophthalmology, Structural Chemical Biology, The Mount Sinai School of Medicine One Gustave Levy Place NY, NY, 10029
Re: Package manager
Stefano Franchi wrote: On Tuesday 24 February 2009 10:38:50 Ehud Kaplan wrote: I realize that this is not a specific Lyx question, but someone here might know the answer. My main problem in running Lyx (or Latex) on Linux is the lack of a nice package manager like Miktex is on Windows. I heard that TexLive has a package manager, but I have not been able to find it. Can anyone help? Thanks, I believe the latest TexLive (2008) has a package manager. However, many Linux distribution (like (K)Ubuntu) are still stuck withTexLive 2007---hence no package manager. One option is to download the TexLive 2008 DVD and install it manually. Another option is to wait for the next version of (K)Ubuntu which should have TeXLive 2008. See here for TeXlive package manager and various caveats: http://www.tug.org/texlive/tlmgr.html the DVD download canbe reached from here: http://www.tug.org/texlive/index.html 1. What's wrong with yum as package manager? 2. You can install tl2008. I have been using it on fedora f10 with good results.
Package manager
I realize that this is not a specific Lyx question, but someone here might know the answer. My main problem in running Lyx (or Latex) on Linux is the lack of a nice package manager like Miktex is on Windows. I heard that TexLive has a package manager, but I have not been able to find it. Can anyone help? Thanks, -- Ehud Kaplan
Re: Package manager
On Tuesday 24 February 2009 10:38:50 Ehud Kaplan wrote: I realize that this is not a specific Lyx question, but someone here might know the answer. My main problem in running Lyx (or Latex) on Linux is the lack of a nice package manager like Miktex is on Windows. I heard that TexLive has a package manager, but I have not been able to find it. Can anyone help? Thanks, I believe the latest TexLive (2008) has a package manager. However, many Linux distribution (like (K)Ubuntu) are still stuck withTexLive 2007---hence no package manager. One option is to download the TexLive 2008 DVD and install it manually. Another option is to wait for the next version of (K)Ubuntu which should have TeXLive 2008. See here for TeXlive package manager and various caveats: http://www.tug.org/texlive/tlmgr.html the DVD download canbe reached from here: http://www.tug.org/texlive/index.html Cheers, S. __ Stefano Franchi Department of Philosophy Ph: (979) 862-2211 Texas AM University Fax: (979) 845-0458 305B Bolton Hall fran...@philosophy.tamu.edu College Station, TX 77843-4237
Re: Package manager
By the way-- if I chose to install texlive from the ISO image, do I need to uninstall the previous version? Stefano Franchi wrote: On Tuesday 24 February 2009 10:38:50 Ehud Kaplan wrote: I realize that this is not a specific Lyx question, but someone here might know the answer. My main problem in running Lyx (or Latex) on Linux is the lack of a nice package manager like Miktex is on Windows. I heard that TexLive has a package manager, but I have not been able to find it. Can anyone help? Thanks, I believe the latest TexLive (2008) has a package manager. However, many Linux distribution (like (K)Ubuntu) are still stuck withTexLive 2007---hence no package manager. One option is to download the TexLive 2008 DVD and install it manually. Another option is to wait for the next version of (K)Ubuntu which should have TeXLive 2008. See here for TeXlive package manager and various caveats: http://www.tug.org/texlive/tlmgr.html the DVD download canbe reached from here: http://www.tug.org/texlive/index.html Cheers, S. __ Stefano Franchi Department of Philosophy Ph: (979) 862-2211 Texas AM University Fax: (979) 845-0458 305B Bolton Hall fran...@philosophy.tamu.edu College Station, TX 77843-4237 -- Ehud Kaplan, Ph.D. Jules and Doris Stein Research to Prevent Blindness Professor Director, The laboratory of Visual Neuroscience Departments of Neuroscience, Ophthalmology, Structural Chemical Biology, The Mount Sinai School of Medicine One Gustave Levy Place NY, NY, 10029
Re: Package manager
Stefano Franchi wrote: On Tuesday 24 February 2009 10:38:50 Ehud Kaplan wrote: I realize that this is not a specific Lyx question, but someone here might know the answer. My main problem in running Lyx (or Latex) on Linux is the lack of a nice package manager like Miktex is on Windows. I heard that TexLive has a package manager, but I have not been able to find it. Can anyone help? Thanks, I believe the latest TexLive (2008) has a package manager. However, many Linux distribution (like (K)Ubuntu) are still stuck withTexLive 2007---hence no package manager. One option is to download the TexLive 2008 DVD and install it manually. Another option is to wait for the next version of (K)Ubuntu which should have TeXLive 2008. See here for TeXlive package manager and various caveats: http://www.tug.org/texlive/tlmgr.html the DVD download canbe reached from here: http://www.tug.org/texlive/index.html 1. What's wrong with yum as package manager? 2. You can install tl2008. I have been using it on fedora f10 with good results.
Package manager
I realize that this is not a specific Lyx question, but someone here might know the answer. My main problem in running Lyx (or Latex) on Linux is the lack of a nice package manager like Miktex is on Windows. I heard that TexLive has a package manager, but I have not been able to find it. Can anyone help? Thanks, -- Ehud Kaplan
Re: Package manager
On Tuesday 24 February 2009 10:38:50 Ehud Kaplan wrote: > I realize that this is not a specific Lyx question, but someone here > might know the answer. > My main problem in running Lyx (or Latex) on Linux is the lack of a nice > package manager like Miktex is on Windows. > I heard that TexLive has a package manager, but I have not been able to > find it. > Can anyone help? > Thanks, I believe the latest TexLive (2008) has a package manager. However, many Linux distribution (like (K)Ubuntu) are still stuck withTexLive 2007---hence no package manager. One option is to download the TexLive 2008 DVD and install it manually. Another option is to wait for the next version of (K)Ubuntu which should have TeXLive 2008. See here for TeXlive package manager and various caveats: http://www.tug.org/texlive/tlmgr.html the DVD download canbe reached from here: http://www.tug.org/texlive/index.html Cheers, S. __ Stefano Franchi Department of Philosophy Ph: (979) 862-2211 Texas A University Fax: (979) 845-0458 305B Bolton Hall fran...@philosophy.tamu.edu College Station, TX 77843-4237
Re: Package manager
By the way-- if I chose to install texlive from the ISO image, do I need to uninstall the previous version? Stefano Franchi wrote: On Tuesday 24 February 2009 10:38:50 Ehud Kaplan wrote: I realize that this is not a specific Lyx question, but someone here might know the answer. My main problem in running Lyx (or Latex) on Linux is the lack of a nice package manager like Miktex is on Windows. I heard that TexLive has a package manager, but I have not been able to find it. Can anyone help? Thanks, I believe the latest TexLive (2008) has a package manager. However, many Linux distribution (like (K)Ubuntu) are still stuck withTexLive 2007---hence no package manager. One option is to download the TexLive 2008 DVD and install it manually. Another option is to wait for the next version of (K)Ubuntu which should have TeXLive 2008. See here for TeXlive package manager and various caveats: http://www.tug.org/texlive/tlmgr.html the DVD download canbe reached from here: http://www.tug.org/texlive/index.html Cheers, S. __ Stefano Franchi Department of Philosophy Ph: (979) 862-2211 Texas A University Fax: (979) 845-0458 305B Bolton Hall fran...@philosophy.tamu.edu College Station, TX 77843-4237 -- Ehud Kaplan, Ph.D. Jules and Doris Stein Research to Prevent Blindness Professor Director, The laboratory of Visual Neuroscience Departments of Neuroscience, Ophthalmology, Structural & Chemical Biology, The Mount Sinai School of Medicine One Gustave Levy Place NY, NY, 10029
Re: Package manager
Stefano Franchi wrote: > On Tuesday 24 February 2009 10:38:50 Ehud Kaplan wrote: >> I realize that this is not a specific Lyx question, but someone here >> might know the answer. >> My main problem in running Lyx (or Latex) on Linux is the lack of a nice >> package manager like Miktex is on Windows. >> I heard that TexLive has a package manager, but I have not been able to >> find it. >> Can anyone help? >> Thanks, > > I believe the latest TexLive (2008) has a package manager. However, many > Linux distribution (like (K)Ubuntu) are still stuck withTexLive > 2007---hence no > package manager. One option is to download the TexLive 2008 DVD and > install it manually. Another option is to wait for the next version of > (K)Ubuntu which should have TeXLive 2008. > > See here for TeXlive package manager and various caveats: > > http://www.tug.org/texlive/tlmgr.html > > the DVD download canbe reached from here: > > http://www.tug.org/texlive/index.html > 1. What's wrong with yum as package manager? 2. You can install tl2008. I have been using it on fedora f10 with good results.
TexLive package manager
That sounds very promising. What is the name of the TexLive package manager, and how do I run it? Thanks, Ehud Kaplan
Re: TexLive package manager
E. Kaplan wrote: That sounds very promising. What is the name of the TexLive package manager, and how do I run it? The GUI can be started with tlmgr --gui Look here for further information: http://www.tug.org/texlive/tlmgr.html Jürgen
TexLive package manager
That sounds very promising. What is the name of the TexLive package manager, and how do I run it? Thanks, Ehud Kaplan
Re: TexLive package manager
E. Kaplan wrote: That sounds very promising. What is the name of the TexLive package manager, and how do I run it? The GUI can be started with tlmgr --gui Look here for further information: http://www.tug.org/texlive/tlmgr.html Jürgen
TexLive package manager
That sounds very promising. What is the name of the TexLive package manager, and how do I run it? Thanks, Ehud Kaplan
Re: TexLive package manager
E. Kaplan wrote: > That sounds very promising. What is the name of the TexLive package > manager, and how do I run it? The GUI can be started with tlmgr --gui Look here for further information: http://www.tug.org/texlive/tlmgr.html Jürgen
Error in MiKTeX package manager
I was trying to install the preview package for instant preview (as instructed by the help docs online; just turning it on in Preferences did not work)... and I got this error. I am an Admin on the machine and have the newest LyX version. LyX was closed when I was doing this. Not sure what the cause would be. MiKTeX Problem Report Message: Permission denied: C:\Documents and Settings\All Users\Application Data\MiKTeX\2.6\miktex\config\5c9c2effd97adbeacc8bf220bf73149c.fndb Data: C:\Documents and Settings\All Users\Application Data\MiKTeX\2.6\miktex\config\5c9c2effd97adbeacc8bf220bf73149c.fndb Source: C:\work3\miktex-2.6\Libraries\MiKTeX\Core\win\winFile.cpp Line: 712 MiKTeX: 2.6 OS: Microsoft Windows XP Professional Service Pack 2 (Build 2600) SystemAdmin: yes PowerUser: yes SharedSetup: yes BinDir: C:\Program Files\MiKTeX 2.6\miktex\bin Root0: C:\Documents and Settings\dhewitt\Application Data\MiKTeX\2.6 Root1: C:\Documents and Settings\dhewitt\Local Settings\Application Data\MiKTeX\2.6 Root2: C:\Documents and Settings\All Users\Application Data\MiKTeX\2.6 Root3: C:\Program Files\MiKTeX 2.6 Install: C:\Program Files\MiKTeX 2.6 UserConfig: C:\Documents and Settings\dhewitt\Application Data\MiKTeX\2.6 UserData: C:\Documents and Settings\dhewitt\Local Settings\Application Data\MiKTeX\2.6 CommonConfig: C:\Documents and Settings\All Users\Application Data\MiKTeX\2.6 CommonData: C:\Documents and Settings\All Users\Application Data\MiKTeX\2.6
Re: Error in MiKTeX package manager
Dave Hewitt wrote: I was trying to install the preview package for instant preview (as instructed by the help docs online; just turning it on in Preferences did not work)... and I got this error. I am an Admin on the machine and have the newest LyX version. LyX was closed when I was doing this. Not sure what the cause would be. MiKTeX Problem Report Message: Permission denied: C:\Documents and Settings\All Users\Application Data\MiKTeX\2.6\miktex\config\5c9c2effd97adbeacc8bf220bf73149c.fndb Data: C:\Documents and Settings\All Users\Application Data\MiKTeX\2.6\miktex\config\5c9c2effd97adbeacc8bf220bf73149c.fndb Source: C:\work3\miktex-2.6\Libraries\MiKTeX\Core\win\winFile.cpp Line: 712 MiKTeX: 2.6 OS: Microsoft Windows XP Professional Service Pack 2 (Build 2600) SystemAdmin: yes PowerUser: yes SharedSetup: yes BinDir: C:\Program Files\MiKTeX 2.6\miktex\bin Root0: C:\Documents and Settings\dhewitt\Application Data\MiKTeX\2.6 Root1: C:\Documents and Settings\dhewitt\Local Settings\Application Data\MiKTeX\2.6 Root2: C:\Documents and Settings\All Users\Application Data\MiKTeX\2.6 Root3: C:\Program Files\MiKTeX 2.6 Install: C:\Program Files\MiKTeX 2.6 UserConfig: C:\Documents and Settings\dhewitt\Application Data\MiKTeX\2.6 UserData: C:\Documents and Settings\dhewitt\Local Settings\Application Data\MiKTeX\2.6 CommonConfig: C:\Documents and Settings\All Users\Application Data\MiKTeX\2.6 CommonData: C:\Documents and Settings\All Users\Application Data\MiKTeX\2.6 Could be a transient error. See http://groups.google.com/group/comp.text.tex/browse_thread/thread/f6c01b1b1df5cf3c for one possible explanation. If you run the MikTeX Settings application and click Refresh FNDB, does the same thing happen, or does it work ok? Have you retried the package installation? /Paul
Error in MiKTeX package manager
Paul et al., It was apparently a transient error, as you suggested. It worked the next time around, with a caveat. The caveat is that it gave me a timeout was reached error at one point and quit. I noticed that when I installed one package before, a DOS window came up near the end of the installation, did some work, and then disappeared. This time I was installing about 10 new packages (document classes, mostly). When the timeout was reached, the DOS window had not come up, so it never did. What goes on in that window, and is it critical? I ask because one of the packages (nrc) supposedly adds classes for articles in the NRC journals, but I don't get any classes of such name as options in LyX. So buried in here is a further question about adding classes and making them available in LyX, which continues to baffle me (I'm new to the whole LaTeX deal; started from square one a few days ago). Once a package is installed in MiKTeX, what else does one need to do, besides Reconfigure LyX? Thanks a bunch for the ongoing help, Dave
Re: Error in MiKTeX package manager
Dave Hewitt wrote: The caveat is that it gave me a timeout was reached error at one point and quit. I noticed that when I installed one package before, a DOS window came up near the end of the installation, did some work, and then disappeared. This time I was installing about 10 new packages (document classes, mostly). When the timeout was reached, the DOS window had not come up, so it never did. What goes on in that window, and is it critical? After the packages have been downloaded and unpacked, MikTeX has to refresh its file name database (which is how it knows where to find all those packages when you want to use them). Additionally, if the packages install new fonts, it has to do some LaTeX magic to record the font metrics or some such. As to whether it's critical that the post-download installation stuff runs, only if you want to use the packages. :-) Try running MikTeX's Settings application, and in the general tab click Refresh FNDB and, when that's done, Update Formats (may or may not be necessary, but can't hurt). This is the stuff the package installer does automatically at the end of an installation, but you can always do it here (and will have to if you install a LaTeX package from a source other than a MikTeX repository). I ask because one of the packages (nrc) supposedly adds classes for articles in the NRC journals, but I don't get any classes of such name as options in LyX. You wouldn't even if the installation went smoothly. In order to use a document class in LyX, you need two things: the LaTeX package, properly installed; and a layout file (which tells LyX what stuff goes in a document of that class, and how to lay it out on-screen). Help - Customization chapter 5 goes into the sordid details, but the usual approach is to copy a layout file from an existing class that's similar to yours, paste it into your local layouts directory with a new name, edit it a bit, reconfigure LyX (Tools - Reconfigure), restart LyX and hope for the best. (Sacrificing a small furry animal, such as a wolverine, might help, though I wouldn't advertise that to PETA.) The layouts that come with LyX are installed at lyxroot/Resources/layouts. When in doubt, article.layout (for the basic article class) is usually a good layout to start from. Customized layouts can be stored in home/layouts, where home is your home directory (helpfully listed under user directory in Help - About LyX). LyX expects the name of the layout file to match the name of the document class file, so if you installed 'nrc.cls' then you'll want to create 'nrc.layout'. In the second line of the layout file, you'll see # \DeclareLaTeXClass{whatever} -- change whatever is inside the braces to the language you want to see in the drop-down list of classes (e.g., article (NRC)). That should get you started. Further changes will be necessary to add some specialized feature of the NRC class that you really need (such as a special environment for cursing out reviewers) or to get rid of some environment that doesn't exist in the NRC class (so that you don't accidentally select it and have to sift through LaTeX error messages). So buried in here is a further question about adding classes and making them available in LyX, which continues to baffle me (I'm new to the whole LaTeX deal; started from square one a few days ago). Once a package is installed in MiKTeX, what else does one need to do, besides Reconfigure LyX? Thanks a bunch for the ongoing help, Dave /Paul
Error in MiKTeX package manager
I was trying to install the preview package for instant preview (as instructed by the help docs online; just turning it on in Preferences did not work)... and I got this error. I am an Admin on the machine and have the newest LyX version. LyX was closed when I was doing this. Not sure what the cause would be. MiKTeX Problem Report Message: Permission denied: C:\Documents and Settings\All Users\Application Data\MiKTeX\2.6\miktex\config\5c9c2effd97adbeacc8bf220bf73149c.fndb Data: C:\Documents and Settings\All Users\Application Data\MiKTeX\2.6\miktex\config\5c9c2effd97adbeacc8bf220bf73149c.fndb Source: C:\work3\miktex-2.6\Libraries\MiKTeX\Core\win\winFile.cpp Line: 712 MiKTeX: 2.6 OS: Microsoft Windows XP Professional Service Pack 2 (Build 2600) SystemAdmin: yes PowerUser: yes SharedSetup: yes BinDir: C:\Program Files\MiKTeX 2.6\miktex\bin Root0: C:\Documents and Settings\dhewitt\Application Data\MiKTeX\2.6 Root1: C:\Documents and Settings\dhewitt\Local Settings\Application Data\MiKTeX\2.6 Root2: C:\Documents and Settings\All Users\Application Data\MiKTeX\2.6 Root3: C:\Program Files\MiKTeX 2.6 Install: C:\Program Files\MiKTeX 2.6 UserConfig: C:\Documents and Settings\dhewitt\Application Data\MiKTeX\2.6 UserData: C:\Documents and Settings\dhewitt\Local Settings\Application Data\MiKTeX\2.6 CommonConfig: C:\Documents and Settings\All Users\Application Data\MiKTeX\2.6 CommonData: C:\Documents and Settings\All Users\Application Data\MiKTeX\2.6
Re: Error in MiKTeX package manager
Dave Hewitt wrote: I was trying to install the preview package for instant preview (as instructed by the help docs online; just turning it on in Preferences did not work)... and I got this error. I am an Admin on the machine and have the newest LyX version. LyX was closed when I was doing this. Not sure what the cause would be. MiKTeX Problem Report Message: Permission denied: C:\Documents and Settings\All Users\Application Data\MiKTeX\2.6\miktex\config\5c9c2effd97adbeacc8bf220bf73149c.fndb Data: C:\Documents and Settings\All Users\Application Data\MiKTeX\2.6\miktex\config\5c9c2effd97adbeacc8bf220bf73149c.fndb Source: C:\work3\miktex-2.6\Libraries\MiKTeX\Core\win\winFile.cpp Line: 712 MiKTeX: 2.6 OS: Microsoft Windows XP Professional Service Pack 2 (Build 2600) SystemAdmin: yes PowerUser: yes SharedSetup: yes BinDir: C:\Program Files\MiKTeX 2.6\miktex\bin Root0: C:\Documents and Settings\dhewitt\Application Data\MiKTeX\2.6 Root1: C:\Documents and Settings\dhewitt\Local Settings\Application Data\MiKTeX\2.6 Root2: C:\Documents and Settings\All Users\Application Data\MiKTeX\2.6 Root3: C:\Program Files\MiKTeX 2.6 Install: C:\Program Files\MiKTeX 2.6 UserConfig: C:\Documents and Settings\dhewitt\Application Data\MiKTeX\2.6 UserData: C:\Documents and Settings\dhewitt\Local Settings\Application Data\MiKTeX\2.6 CommonConfig: C:\Documents and Settings\All Users\Application Data\MiKTeX\2.6 CommonData: C:\Documents and Settings\All Users\Application Data\MiKTeX\2.6 Could be a transient error. See http://groups.google.com/group/comp.text.tex/browse_thread/thread/f6c01b1b1df5cf3c for one possible explanation. If you run the MikTeX Settings application and click Refresh FNDB, does the same thing happen, or does it work ok? Have you retried the package installation? /Paul
Error in MiKTeX package manager
Paul et al., It was apparently a transient error, as you suggested. It worked the next time around, with a caveat. The caveat is that it gave me a timeout was reached error at one point and quit. I noticed that when I installed one package before, a DOS window came up near the end of the installation, did some work, and then disappeared. This time I was installing about 10 new packages (document classes, mostly). When the timeout was reached, the DOS window had not come up, so it never did. What goes on in that window, and is it critical? I ask because one of the packages (nrc) supposedly adds classes for articles in the NRC journals, but I don't get any classes of such name as options in LyX. So buried in here is a further question about adding classes and making them available in LyX, which continues to baffle me (I'm new to the whole LaTeX deal; started from square one a few days ago). Once a package is installed in MiKTeX, what else does one need to do, besides Reconfigure LyX? Thanks a bunch for the ongoing help, Dave
Re: Error in MiKTeX package manager
Dave Hewitt wrote: The caveat is that it gave me a timeout was reached error at one point and quit. I noticed that when I installed one package before, a DOS window came up near the end of the installation, did some work, and then disappeared. This time I was installing about 10 new packages (document classes, mostly). When the timeout was reached, the DOS window had not come up, so it never did. What goes on in that window, and is it critical? After the packages have been downloaded and unpacked, MikTeX has to refresh its file name database (which is how it knows where to find all those packages when you want to use them). Additionally, if the packages install new fonts, it has to do some LaTeX magic to record the font metrics or some such. As to whether it's critical that the post-download installation stuff runs, only if you want to use the packages. :-) Try running MikTeX's Settings application, and in the general tab click Refresh FNDB and, when that's done, Update Formats (may or may not be necessary, but can't hurt). This is the stuff the package installer does automatically at the end of an installation, but you can always do it here (and will have to if you install a LaTeX package from a source other than a MikTeX repository). I ask because one of the packages (nrc) supposedly adds classes for articles in the NRC journals, but I don't get any classes of such name as options in LyX. You wouldn't even if the installation went smoothly. In order to use a document class in LyX, you need two things: the LaTeX package, properly installed; and a layout file (which tells LyX what stuff goes in a document of that class, and how to lay it out on-screen). Help - Customization chapter 5 goes into the sordid details, but the usual approach is to copy a layout file from an existing class that's similar to yours, paste it into your local layouts directory with a new name, edit it a bit, reconfigure LyX (Tools - Reconfigure), restart LyX and hope for the best. (Sacrificing a small furry animal, such as a wolverine, might help, though I wouldn't advertise that to PETA.) The layouts that come with LyX are installed at lyxroot/Resources/layouts. When in doubt, article.layout (for the basic article class) is usually a good layout to start from. Customized layouts can be stored in home/layouts, where home is your home directory (helpfully listed under user directory in Help - About LyX). LyX expects the name of the layout file to match the name of the document class file, so if you installed 'nrc.cls' then you'll want to create 'nrc.layout'. In the second line of the layout file, you'll see # \DeclareLaTeXClass{whatever} -- change whatever is inside the braces to the language you want to see in the drop-down list of classes (e.g., article (NRC)). That should get you started. Further changes will be necessary to add some specialized feature of the NRC class that you really need (such as a special environment for cursing out reviewers) or to get rid of some environment that doesn't exist in the NRC class (so that you don't accidentally select it and have to sift through LaTeX error messages). So buried in here is a further question about adding classes and making them available in LyX, which continues to baffle me (I'm new to the whole LaTeX deal; started from square one a few days ago). Once a package is installed in MiKTeX, what else does one need to do, besides Reconfigure LyX? Thanks a bunch for the ongoing help, Dave /Paul
Error in MiKTeX package manager
I was trying to install the "preview" package for instant preview (as instructed by the help docs online; just turning it on in Preferences did not work)... and I got this error. I am an Admin on the machine and have the newest LyX version. LyX was closed when I was doing this. Not sure what the cause would be. MiKTeX Problem Report Message: Permission denied: C:\Documents and Settings\All Users\Application Data\MiKTeX\2.6\miktex\config\5c9c2effd97adbeacc8bf220bf73149c.fndb Data: C:\Documents and Settings\All Users\Application Data\MiKTeX\2.6\miktex\config\5c9c2effd97adbeacc8bf220bf73149c.fndb Source: C:\work3\miktex-2.6\Libraries\MiKTeX\Core\win\winFile.cpp Line: 712 MiKTeX: 2.6 OS: Microsoft Windows XP Professional Service Pack 2 (Build 2600) SystemAdmin: yes PowerUser: yes SharedSetup: yes BinDir: C:\Program Files\MiKTeX 2.6\miktex\bin Root0: C:\Documents and Settings\dhewitt\Application Data\MiKTeX\2.6 Root1: C:\Documents and Settings\dhewitt\Local Settings\Application Data\MiKTeX\2.6 Root2: C:\Documents and Settings\All Users\Application Data\MiKTeX\2.6 Root3: C:\Program Files\MiKTeX 2.6 Install: C:\Program Files\MiKTeX 2.6 UserConfig: C:\Documents and Settings\dhewitt\Application Data\MiKTeX\2.6 UserData: C:\Documents and Settings\dhewitt\Local Settings\Application Data\MiKTeX\2.6 CommonConfig: C:\Documents and Settings\All Users\Application Data\MiKTeX\2.6 CommonData: C:\Documents and Settings\All Users\Application Data\MiKTeX\2.6
Re: Error in MiKTeX package manager
Dave Hewitt wrote: I was trying to install the "preview" package for instant preview (as instructed by the help docs online; just turning it on in Preferences did not work)... and I got this error. I am an Admin on the machine and have the newest LyX version. LyX was closed when I was doing this. Not sure what the cause would be. MiKTeX Problem Report Message: Permission denied: C:\Documents and Settings\All Users\Application Data\MiKTeX\2.6\miktex\config\5c9c2effd97adbeacc8bf220bf73149c.fndb Data: C:\Documents and Settings\All Users\Application Data\MiKTeX\2.6\miktex\config\5c9c2effd97adbeacc8bf220bf73149c.fndb Source: C:\work3\miktex-2.6\Libraries\MiKTeX\Core\win\winFile.cpp Line: 712 MiKTeX: 2.6 OS: Microsoft Windows XP Professional Service Pack 2 (Build 2600) SystemAdmin: yes PowerUser: yes SharedSetup: yes BinDir: C:\Program Files\MiKTeX 2.6\miktex\bin Root0: C:\Documents and Settings\dhewitt\Application Data\MiKTeX\2.6 Root1: C:\Documents and Settings\dhewitt\Local Settings\Application Data\MiKTeX\2.6 Root2: C:\Documents and Settings\All Users\Application Data\MiKTeX\2.6 Root3: C:\Program Files\MiKTeX 2.6 Install: C:\Program Files\MiKTeX 2.6 UserConfig: C:\Documents and Settings\dhewitt\Application Data\MiKTeX\2.6 UserData: C:\Documents and Settings\dhewitt\Local Settings\Application Data\MiKTeX\2.6 CommonConfig: C:\Documents and Settings\All Users\Application Data\MiKTeX\2.6 CommonData: C:\Documents and Settings\All Users\Application Data\MiKTeX\2.6 Could be a transient error. See http://groups.google.com/group/comp.text.tex/browse_thread/thread/f6c01b1b1df5cf3c for one possible explanation. If you run the MikTeX Settings application and click "Refresh FNDB", does the same thing happen, or does it work ok? Have you retried the package installation? /Paul
Error in MiKTeX package manager
Paul et al., It was apparently a transient error, as you suggested. It worked the next time around, with a caveat. The caveat is that it gave me a "timeout was reached" error at one point and quit. I noticed that when I installed one package before, a DOS window came up near the end of the installation, did some work, and then disappeared. This time I was installing about 10 new packages (document classes, mostly). When the timeout was reached, the DOS window had not come up, so it never did. What goes on in that window, and is it critical? I ask because one of the packages (nrc) supposedly adds classes for articles in the NRC journals, but I don't get any classes of such name as options in LyX. So buried in here is a further question about adding classes and making them available in LyX, which continues to baffle me (I'm new to the whole LaTeX deal; started from square one a few days ago). Once a package is installed in MiKTeX, what else does one need to do, besides Reconfigure LyX? Thanks a bunch for the ongoing help, Dave
Re: Error in MiKTeX package manager
Dave Hewitt wrote: The caveat is that it gave me a "timeout was reached" error at one point and quit. I noticed that when I installed one package before, a DOS window came up near the end of the installation, did some work, and then disappeared. This time I was installing about 10 new packages (document classes, mostly). When the timeout was reached, the DOS window had not come up, so it never did. What goes on in that window, and is it critical? After the packages have been downloaded and unpacked, MikTeX has to refresh its file name database (which is how it knows where to find all those packages when you want to use them). Additionally, if the packages install new fonts, it has to do some LaTeX magic to record the font metrics or some such. As to whether it's critical that the post-download installation stuff runs, only if you want to use the packages. :-) Try running MikTeX's Settings application, and in the general tab click "Refresh FNDB" and, when that's done, "Update Formats" (may or may not be necessary, but can't hurt). This is the stuff the package installer does automatically at the end of an installation, but you can always do it here (and will have to if you install a LaTeX package from a source other than a MikTeX repository). I ask because one of the packages (nrc) supposedly adds classes for articles in the NRC journals, but I don't get any classes of such name as options in LyX. You wouldn't even if the installation went smoothly. In order to use a document class in LyX, you need two things: the LaTeX package, properly installed; and a layout file (which tells LyX what stuff goes in a document of that class, and how to lay it out on-screen). Help -> Customization chapter 5 goes into the sordid details, but the usual approach is to copy a layout file from an existing class that's similar to yours, paste it into your local layouts directory with a new name, edit it a bit, reconfigure LyX (Tools -> Reconfigure), restart LyX and hope for the best. (Sacrificing a small furry animal, such as a wolverine, might help, though I wouldn't advertise that to PETA.) The layouts that come with LyX are installed at /Resources/layouts. When in doubt, article.layout (for the basic article class) is usually a good layout to start from. Customized layouts can be stored in /layouts, where is your home directory (helpfully listed under "user directory" in Help -> About LyX). LyX expects the name of the layout file to match the name of the document class file, so if you installed 'nrc.cls' then you'll want to create 'nrc.layout'. In the second line of the layout file, you'll see # \DeclareLaTeXClass{whatever} -- change whatever is inside the braces to the language you want to see in the drop-down list of classes (e.g., "article (NRC)"). That should get you started. Further changes will be necessary to add some specialized feature of the NRC class that you really need (such as a special environment for cursing out reviewers) or to get rid of some environment that doesn't exist in the NRC class (so that you don't accidentally select it and have to sift through LaTeX error messages). So buried in here is a further question about adding classes and making them available in LyX, which continues to baffle me (I'm new to the whole LaTeX deal; started from square one a few days ago). Once a package is installed in MiKTeX, what else does one need to do, besides Reconfigure LyX? Thanks a bunch for the ongoing help, Dave /Paul