Re: Error: Could not read configuration file
On Fri, May 12, 2006 at 11:59:51AM -0400, Paul A. Rubin wrote: > Sebastian Schetter wrote: > >Hello Paul! > >Great, it worked. Problem was in fact the not installed path variable. > >(C:\Programme\LyX141\bin on my system) Maybe it wasn't installed, > >because my Wind2k is configured in German?! > > So "PATH" is "PFAD" on your Win2K system? No, that's "PATH" even on "German" systems. A difference, though, is that 'C:\Program files' is 'C:\Programme' [Although there were times when Excel commands were translated *sigh*] Andre'
Re: Lyx 1.4.1 lost classes and views
On Sun, 14 May 2006 10:08:09 +1000 Russell Davie <[EMAIL PROTECTED]> wrote: after an upgrading tetex from 2.0 to 3.0 (Ubuntu-Dapper), Lyx found latex and the document classes! thanks for your help - R > On Sat, 13 May 2006 17:07:12 -0400 > "Paul A. Rubin" <[EMAIL PROTECTED]> wrote: > > > Russell Davie wrote: > > > > > > Hi > > > > > > after an upgrade, Lyx has lost the classes and views menu (convert to PS, > > > DIV, ...etc). The commands seem to be installed via synaptic and > > > available on the command line. > > > > > > tetex-bin. tetex-base, tetex-extra, tetex-htm, tex4ht are installed, so > > > is gs, etc. There were no issues installing and I manually ran texhash > > > after Lyx was installed. > > > > > > any suggestions? > > > > > > TIA > > > > > > Russell > > > > > > > Have you tried reconfiguring LyX? If it doesn't help, you might try > > running 'sh configure' in the LyX resources directory (where you can see > > the output from the script), to see if it finds tetex. > > > > /Paul > > thanks for that, Lyx couldn't find latex so maybe this is the problem. > running Lyx in Linux: Ubuntu/Breezy > Currently upgrading synaptic sources to Ubuntu/Dapper and Debian/Sarge-Etch, > this may do the trick. > > any other suggestions? > > the output from configure.sh shows ps and pdf converters are found... > > [EMAIL PROTECTED]:/usr/share/lyx$ sudo sh ./configure > checking for a LaTeX2e program... (latex latex2e) > +checking for "latex"... not useable > +checking for "latex2e"... no > checking for a LaTeX -> LyX converter... (reLyX) > +checking for "reLyX"... yes > checking for a Noweb -> LyX converter... (noweb2lyx) > +checking for "noweb2lyx"... yes > checking for a Noweb -> LaTeX converter... (noweave) > +checking for "noweave"... yes > checking for a HTML -> Latex converter... (html2latex) > +checking for "html2latex"... no > checking for a MSWord -> Latex converter... (wvCleanLatex word2x) > +checking for "wvCleanLatex"... yes > checking for Image converter... (convert) > +checking for "convert"... yes > checking for a Postscript previewer... (gsview32 gv ghostview) > +checking for "gsview32"... no > +checking for "gv"... yes > checking for a PDF preview... (acrobat acrord32 gsview32 acroread gv > ghostview xpdf) > +checking for "acrobat"... no > +checking for "acrord32"... no > +checking for "gsview32"... no > +checking for "acroread"... yes > checking for a DVI previewer... (xdvi windvi yap) > +checking for "xdvi"... yes > checking for a HTML previewer... (mozilla file://$$p$$i netscape) > +checking for "mozilla"... yes > checking for a PS to PDF converter... (ps2pdf13 $$i) > +checking for "ps2pdf13"... yes > checking for a DVI to PS converter... (dvips) > +checking for "dvips"... yes > checking for a DVI to PDF converter... (dvipdfm) > +checking for "dvipdfm"... yes > checking for a *roff formatter... (groff -t -Tlatin1 $$FName nroff) > +checking for "groff"... yes > checking for ChkTeX... (chktex -n1 -n3 -n6 -n9 -n22 -n25 -n30 -n38) > +checking for "chktex"... no > checking for a spell-checker... (ispell) > +checking for "ispell"... yes > checking for Octave... (octave) > +checking for "octave"... no > checking for Maple... (maple) > +checking for "maple"... no > checking for a fax program... (kdeprintfax ksendfax) > +checking for "kdeprintfax"... yes > checking for SGML-tools 1.x (LinuxDoc)... (sgml2lyx) > +checking for "sgml2lyx"... yes > checking for SGML-tools 2.x (DocBook) or db2x scripts... (sgmltools db2dvi) > +checking for "sgmltools"... yes > checking for a spool command... (lp lpr) > +checking for "lp"... yes > checking for a LaTeX -> HTML converter... (tth latex2html hevea) > +checking for "tth"... no > +checking for "latex2html"... no > +checking for "hevea"... no > checking LaTeX configuration... default values > +checking list of textclasses... done > creating packages.lst > creating doc/LaTeXConfig.lyx > checking whether TeX allows spaces in file names... creating lyxrc.defaults > checking for an FIG -> EPS/PPM converter... (fig2dev) > +checking for "fig2dev"... yes > checking for an TIFF -> PS converter... (tiff2ps) > +checking for "tiff2ps"... yes > checking for an TGIF -> EPS/PPM converter... (tgif) > +checking for "tgif"... yes > checking for an EPS -> PDF converter... (epstopdf) > +checking for "epstopdf"... yes > checking for a Grace -> Image converter... (gracebat) > +checking for "gracebat"... no > checking for TeX fonts > +checking for cmex10... yes (pfb) > +checking for cmmi10... yes (pfb) > +checking for cmr10... yes (pfb) > +checking for cmsy10... yes (pfb) > +checking for eufm10... yes (pfb) > +checking for msam10... yes (pfb) > +checking for msbm10... yes (pfb) > +checking for wasy10... yes (pfb) > > > > > > >
Re: Installation problem on WinXP
Mario wrote: When trying to install LyX 1.4.1 under Windows XP and selecting spanish as language, an error says "Lyx.cmd could not be created" and then LyX can not be run because of the Lyx.bat file is missing. -- Enrico Forestieri suggested for users to add the following line to lyx.bat: set LYX_LOCALEDIR=/Resources/locale where should be replaced by the path where LyX was installed. Maybe this will help in the process of fixing things. I think it fixes like menus being in English instead of Spanish. Regards, Stephen
Installation problem on WinXP
When trying to install LyX 1.4.1 under Windows XP and selecting spanish as language, an error says "Lyx.cmd could not be created" and then LyX can not be run because of the Lyx.bat file is missing.
Re: absolute paths in Windows LyX
Eric Zollars wrote: pdfpages requires absolute paths to include a pdf file in ERT. Is it possible to enter an absolute path in an ERT box in Windows? Thanks. Eric Yes, iirc it is done with forward slashes, {C:/lyxtemp/foo.pdf} I think this applies from the user list thread "Paths in pdfpages" \includepdf{/home/somebody/this/is/an/absolute.path} Re: pdfpages \includepdf not working "I had similar problems with includepdf. Although your Pdf and LyX files are in the same folder, this may not be true anymore when LaTeX runs. This happens because LyX is not aware of relative paths. Absolute ones should be used instead." \includepdf[pages=-]{C:/lyx/temp/Questionnaire.pdf} Regards, Stephen See bug #1751
Re: Lyx 1.4.1 lost classes and views
On Sat, 13 May 2006 17:07:12 -0400 "Paul A. Rubin" <[EMAIL PROTECTED]> wrote: > Russell Davie wrote: > > > > Hi > > > > after an upgrade, Lyx has lost the classes and views menu (convert to PS, > > DIV, ...etc). The commands seem to be installed via synaptic and available > > on the command line. > > > > tetex-bin. tetex-base, tetex-extra, tetex-htm, tex4ht are installed, so is > > gs, etc. There were no issues installing and I manually ran texhash after > > Lyx was installed. > > > > any suggestions? > > > > TIA > > > > Russell > > > > Have you tried reconfiguring LyX? If it doesn't help, you might try > running 'sh configure' in the LyX resources directory (where you can see > the output from the script), to see if it finds tetex. > > /Paul thanks for that, Lyx couldn't find latex so maybe this is the problem. running Lyx in Linux: Ubuntu/Breezy Currently upgrading synaptic sources to Ubuntu/Dapper and Debian/Sarge-Etch, this may do the trick. any other suggestions? the output from configure.sh shows ps and pdf converters are found... [EMAIL PROTECTED]:/usr/share/lyx$ sudo sh ./configure checking for a LaTeX2e program... (latex latex2e) +checking for "latex"... not useable +checking for "latex2e"... no checking for a LaTeX -> LyX converter... (reLyX) +checking for "reLyX"... yes checking for a Noweb -> LyX converter... (noweb2lyx) +checking for "noweb2lyx"... yes checking for a Noweb -> LaTeX converter... (noweave) +checking for "noweave"... yes checking for a HTML -> Latex converter... (html2latex) +checking for "html2latex"... no checking for a MSWord -> Latex converter... (wvCleanLatex word2x) +checking for "wvCleanLatex"... yes checking for Image converter... (convert) +checking for "convert"... yes checking for a Postscript previewer... (gsview32 gv ghostview) +checking for "gsview32"... no +checking for "gv"... yes checking for a PDF preview... (acrobat acrord32 gsview32 acroread gv ghostview xpdf) +checking for "acrobat"... no +checking for "acrord32"... no +checking for "gsview32"... no +checking for "acroread"... yes checking for a DVI previewer... (xdvi windvi yap) +checking for "xdvi"... yes checking for a HTML previewer... (mozilla file://$$p$$i netscape) +checking for "mozilla"... yes checking for a PS to PDF converter... (ps2pdf13 $$i) +checking for "ps2pdf13"... yes checking for a DVI to PS converter... (dvips) +checking for "dvips"... yes checking for a DVI to PDF converter... (dvipdfm) +checking for "dvipdfm"... yes checking for a *roff formatter... (groff -t -Tlatin1 $$FName nroff) +checking for "groff"... yes checking for ChkTeX... (chktex -n1 -n3 -n6 -n9 -n22 -n25 -n30 -n38) +checking for "chktex"... no checking for a spell-checker... (ispell) +checking for "ispell"... yes checking for Octave... (octave) +checking for "octave"... no checking for Maple... (maple) +checking for "maple"... no checking for a fax program... (kdeprintfax ksendfax) +checking for "kdeprintfax"... yes checking for SGML-tools 1.x (LinuxDoc)... (sgml2lyx) +checking for "sgml2lyx"... yes checking for SGML-tools 2.x (DocBook) or db2x scripts... (sgmltools db2dvi) +checking for "sgmltools"... yes checking for a spool command... (lp lpr) +checking for "lp"... yes checking for a LaTeX -> HTML converter... (tth latex2html hevea) +checking for "tth"... no +checking for "latex2html"... no +checking for "hevea"... no checking LaTeX configuration... default values +checking list of textclasses... done creating packages.lst creating doc/LaTeXConfig.lyx checking whether TeX allows spaces in file names... creating lyxrc.defaults checking for an FIG -> EPS/PPM converter... (fig2dev) +checking for "fig2dev"... yes checking for an TIFF -> PS converter... (tiff2ps) +checking for "tiff2ps"... yes checking for an TGIF -> EPS/PPM converter... (tgif) +checking for "tgif"... yes checking for an EPS -> PDF converter... (epstopdf) +checking for "epstopdf"... yes checking for a Grace -> Image converter... (gracebat) +checking for "gracebat"... no checking for TeX fonts +checking for cmex10... yes (pfb) +checking for cmmi10... yes (pfb) +checking for cmr10... yes (pfb) +checking for cmsy10... yes (pfb) +checking for eufm10... yes (pfb) +checking for msam10... yes (pfb) +checking for msbm10... yes (pfb) +checking for wasy10... yes (pfb) > >
absolute paths in Windows LyX
pdfpages requires absolute paths to include a pdf file in ERT. Is it possible to enter an absolute path in an ERT box in Windows? Thanks. Eric
Re: pdfpages LyX on Windows
Eric Zollars wrote: Hello, trying to include a pdf file in my LyX document. This is Lyx 1.3.7-3 on Windows. I have in my preamble: \usepackage{pdfpages} Then in the document ERT: \includepdf{testfile.pdf} When I export to pdflatex, a pdf is created but it does not have the included file. Interesting. I need to put an absolute path in the ERT (for instance, \includepdf{/temp/testfile.pdf}) in order to get View->PDF (pdflatex) or File->Export->PDF (pdflatex) to work at all; otherwise I get a latex error (can't find the included file), even if the included file sits in the same directory as the LyX document. On the other hand, if I export to LaTeX and compile outside LyX, it works without the path. Any advice or working lyx files would be greatly appreciated. 1. Take a look at the log file (View->LaTeX Log file) and see if anything informative shows up. 2. Export to LaTeX, run pdflatex from a command prompt, and see if you get a valid result. 3. (Long shot) make sure that there is not a file with the right name but zero byte length sitting around where pdflatex might grab it. /Paul Paul. Thank you for the information, both points 1 and 2 were helpful in tracking down the issue. 1. The log file suggests that LyX cannot find the file. 2. Running pdflatex from the MSYS window on the exported .tex file does work. So I have a solution. Thanks again. Eric
Re: cannot confiogure lyx on WinXP
Gerhard Schaffer wrote: PS: Nevertheless I'll try the new_msys-1.0.dll too and give you a feedback on that matter. I have made an msys installation and copied the new-msys-1.0.dll to that installation and renamed it to mysy-1.0.dll. Then I added the msys directory to the PATH and reconfigured LyX. I had no more problems to run the script and the LyX installtion works fine without cygwin too. The error message reported was found at this url: http://blog.gmane.org/gmane.comp.gnu.mingw.msys second post down Re: Couldn't reserve space for cygwin's heap,Win32 error 6 [SOLVED] http://prdownloads.sf.net/mingw/msys-1.0.dll-SNAP-1.0.11-2006.04.23.tar.bz2?download The new-msys replacement file is available in that bz2 file, which seems to have helped solve the problem. Posted in case this error message reappears on the list. Regards, Stephen
Re: pdfpages LyX on Windows
Eric Zollars wrote: Hello, trying to include a pdf file in my LyX document. This is Lyx 1.3.7-3 on Windows. I have in my preamble: \usepackage{pdfpages} Then in the document ERT: \includepdf{testfile.pdf} When I export to pdflatex, a pdf is created but it does not have the included file. Interesting. I need to put an absolute path in the ERT (for instance, \includepdf{/temp/testfile.pdf}) in order to get View->PDF (pdflatex) or File->Export->PDF (pdflatex) to work at all; otherwise I get a latex error (can't find the included file), even if the included file sits in the same directory as the LyX document. On the other hand, if I export to LaTeX and compile outside LyX, it works without the path. Any advice or working lyx files would be greatly appreciated. 1. Take a look at the log file (View->LaTeX Log file) and see if anything informative shows up. 2. Export to LaTeX, run pdflatex from a command prompt, and see if you get a valid result. 3. (Long shot) make sure that there is not a file with the right name but zero byte length sitting around where pdflatex might grab it. /Paul
Re: cannot confiogure lyx on WinXP
Gerhard Schaffer wrote: \path_prefix "C:\msys\1.0\bin;C:\Python24;C:\texmf\miktex\bin; C:\gs\gs8.51\bin;C:\ImageMagick" There is an interesting thing, all these Paths point to C: and not to the correct directories, nevertheless Acrobat and Yap are starteed witout problems. Why this ? The path prefix is appended (prepended?) to the system command path; so if the path prefix directories do not exist but the correct directories are on the system command path, the programs should be found. I think there is another problem, viewing the docu (formatted) as normal user, as lyx (or who ever) tries to save the intermediate file in Resouurce/docs where only admin has write access. I think this is actually normal (if not necessarily desirable) behavior. LyX will attempt to write exported files, converted graphics, emergency dumps and (unless an explicit backup directory is provided) backups to the same directory where the source document lives. In this case, if the source document is one of the help files (stored in Resource/docs), LyX will try (and fail) to write any generated files (other than temporary files) there. Now if you are talking about a document you created, rather than one of the help files, then this is something odd. /Paul
Re: Lyx 1.4.1 lost classes and views
Russell Davie wrote: Hi after an upgrade, Lyx has lost the classes and views menu (convert to PS, DIV, ...etc). The commands seem to be installed via synaptic and available on the command line. tetex-bin. tetex-base, tetex-extra, tetex-htm, tex4ht are installed, so is gs, etc. There were no issues installing and I manually ran texhash after Lyx was installed. any suggestions? TIA Russell Have you tried reconfiguring LyX? If it doesn't help, you might try running 'sh configure' in the LyX resources directory (where you can see the output from the script), to see if it finds tetex. /Paul
Re: page margins
Pol wrote: Any hints to change margins or text length of a special page, overrinding the document global setting? Perhaps this page will help you: http://wiki.lyx.org/uploads/Tips/paperLayout/paperDistances.png (http://wiki.lyx.org/Tips/PaperLayout) regards Uwe
Re: cannot confiogure lyx on WinXP
Stephen Harris wrote: Very well done! It has been a most excellent adventure. I learned something about what dv2dt.exe and dt2dt.exe do to earn their keep. PS: Nevertheless I'll try the new_msys-1.0.dll too and give you a feedback on that matter. I have made an msys installation and copied the new-msys-1.0.dll to that installation and renamed it to mysy-1.0.dll. Then I added the msys directory to the PATH and reconfigured LyX. I had no more problems to run the script and the LyX installtion works fine without cygwin too. You will need the msys sh.exe (sed.exe) too and temporarily take Cygwin out of the path and put the directory with the msys file into the path. I think you may be right about the configuration only having been partially completed because if you have ghostscript and gsview installed, the installation should find gsview as your postscript viewer (Cygwin has gv) and did Tools->Tex Information populate with all the .cls files? My LyX will many class files and if you click on show path, next to latex classes, it will report ...\texmf if you used the default for Miktex. Yes, I see there a long list of cls files all of them with the correct paths. If your install of LyX doesn't display those .cls files then getting msys to work becomes more important, because it is possible the .cls files won't be available for your LyX document. From my lyxrc \path_prefix "C:\msys\1.0\bin;C:\Python24;C:\texmf\miktex\bin; C:\gs\gs8.51\bin;C:\ImageMagick" There is an interesting thing, all these Paths point to C: and not to the correct directories, nevertheless Acrobat and Yap are starteed witout problems. Why this ? The place to edit Path prefix is under Tools->Preferences ->Paths click on it with the mouse to select Paths The Path prefix is to the right of this and should have C:\texmf\miktex\bin; Only substitute your drive letter P:? and your installation directory for texmf\miktex\bin When you edit this, then Apply and Save become active, and you should Save the change if you need to append Miktex to your Path prefix statement. This works just as well as adding to the Windows path statement. I mention this in case your Tex Information doesn't populate and display all your .cls files. Let me know. Regards, Stephen All the things I mentioned above, I did with the admin account. The first test as normal user leads to the next problems. - I cannot start Acrobat - there is no corresponding entry in the properties. IMHO the entries in lyxrc.defaults shopuld be available for all users ? - And even if I enter acrobat ther and set the paths as you explainde, Acrobat is still not started. But the export ist done correctly. But - success, success - clicking the DVI icon opens yap showing the file formatted. And I can list all the cls files with correct paths too. I think there is another problem, viewing the docu (formatted) as normal user, as lyx (or who ever) tries to save the intermediate file in Resouurce/docs where only admin has write access. -- Gerhard
Re: bibtex styles
[EMAIL PROTECTED] wrote: > Hi! > > I need to add new BibTeX sryles to that already integrated in Lyx. > How can I do that? I want to use plaindin.bst. Put it at a place where LaTeX can find it (e.g. /usr/share/texmf/bibtex/ or ~/texmf/bibtex or others, depending on your LaTeX installation), run texhash and reconfigure LyX. However, you can also chose the file directly with the Browse button (in 1.4: Add->Browse). > It is possible to choose it as source for a bibliography but Lyx throws > errors when trying to compile the document. What errors? Jürgen
Re: bibtex styles
These errors are being thrown by LaTeX. In such cases, it is always helpful to export to LaTeX, compile manually, and look at the LaTeX source to see what the problem is. [EMAIL PROTECTED] wrote: > Hi! > > I need to add new BibTeX sryles to that already integrated in Lyx. > How can I do that? I want to use plaindin.bst. > It is possible to choose it as source for a bibliography but Lyx throws > errors when trying to compile the document. > > Thanks > > Stefan >
bibtex styles
Hi! I need to add new BibTeX sryles to that already integrated in Lyx. How can I do that? I want to use plaindin.bst. It is possible to choose it as source for a bibliography but Lyx throws errors when trying to compile the document. Thanks Stefan
Unwanted accent
Dear All, I just installed the last version of lyx on windows xp. When i am typing accents "^" appear randomly. This is very frustrating. Could you let me know if there is anyway to get rid of this. Many Thanks Brice iFRANCE, exprimez-vous ! http://web.ifrance.com
Lyx 1.4.1 lost classes and views
Hi after an upgrade, Lyx has lost the classes and views menu (convert to PS, DIV, ...etc). The commands seem to be installed via synaptic and available on the command line. tetex-bin. tetex-base, tetex-extra, tetex-htm, tex4ht are installed, so is gs, etc. There were no issues installing and I manually ran texhash after Lyx was installed. any suggestions? TIA Russell
Re: page margins
Define a \newpagestyle that sets the margins and such as you want them for that page. Then, at the beginning of that page: \thispagestyle{whatever}. See http://www.iam.ubc.ca/~newbury/tex/page-set-up.html for information on margin setup. It's possible you can also use the geometry package to do that. Pol wrote: > Any hints to change margins or text length of a special page, > overrinding the document global setting? > > thank you > > --pol >
page margins
Any hints to change margins or text length of a special page, overrinding the document global setting? thank you --pol
Re: Let's get the Lyx Debian pkg back in sync with upstream
On Fri, May 12, 2006 at 03:12:43PM +0200, Charles de Miramon wrote: > Sven Hoexter wrote: > > On Fri, May 12, 2006 at 11:29:15AM +0200, Charles de Miramon wrote: Hi, NOTE: I think it's getting quite off-topic here. IMHO wie should move the package related discussion to this mailinglist: http://lists.alioth.debian.org/mailman/listinfo/pkg-lyx-devel If you guys prefer to have it on the lyx mailinglist that's ok for me. Just wanted to ask before someone complains about off-topic traffic on a user list. > >> I've started from Georg Baum's version but I made an ugly hack in > >> debian/rules to force it to compile with gcc 4.1. I don't know how you > >> should do it properly in Debian. I've updated the dependence fields also > >> and made some little changes. > > IIRC setting "CXX = g++-4.1" in the rules should work. > I wanted something that would work for sarge and sid, so we could keep one > file. A rule, saying on sarge use gcc 3.3 and on sid gcc 4.1 Indeed, that's ugly. A better way would be to force the unstable version to use g++ 4.1 (if realy needed) and then create a backport for backports.org that uses the default compiler or any other special compiler version needed. > > I'll take a look at your changes aswell but aehm why do you need to > > compile with gcc/g++ 4.1? A pointer to the thread would be enough so that > > I can catch up on that problem aswell. > > I've uploaded the total source package here : Thanks. (wow now I've at least 3 different versions to compare 8-) Sven -- If you won't forgive me the rest of my life Let me apologize while I'm still alive I know it's time to face all of my past mistakes [Less than Jake - Rest Of My Life]
Re: Let's get the Lyx Debian pkg back in sync with upstream
On Fri, May 12, 2006 at 12:58:18PM +0200, Georg Baum wrote: > Sven Hoexter wrote: Hi, > > I'll take a look at your changes aswell but aehm why do you need to > > compile with gcc/g++ 4.1? > > I believe that this is the default compiler in unstable. Not yet. At the moment it's still 4.0.3. > > Regarding g++ 4.1 I found this FTBFS bug in the Debian BTS > > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=357119 > > IIRC this is a boost bug that is fixed in 1.4.x. Ok. Sven -- If you won't forgive me the rest of my life Let me apologize while I'm still alive I know it's time to face all of my past mistakes [Less than Jake - Rest Of My Life]