Re: LyX on Debian or Ubuntu
On Sat, 16 Dec 2006 17:47:42 -0600 Bill Wood [EMAIL PROTECTED] wrote: Hi, I'm considering switching Linux distributions to Debian or Ubuntu, and I wanted to know what the community experience was regarding Lyx on either. In particular, are there any known functional or performance issues? Also, is there any difficulty staying current? Many thanks, -- Bill Wood I have used the binaries made by the LyX Deb team when I ran Debian and they are 100% reliable. Thanks guys! Now I am Ubuntu-Dapper which is limited to LyX 1.3.7. To get most recent (1.4.3) I compiled from source which works. However this bypasses the packaging system. More recently I found out about how to make simple Debian packages using checkinstall. To make a deb with checkinstall is a relatively easy thing to do. Technically its a Debian packaging layer on top of compiling from source. Although checkinstall makes a deb that fits into the the Debian packaging system, the package is lacking notification for dependencies. So it can't be considered official deb package in any way. I have used checkinstall to make a deb package of 1.4.3. This also works well and fits into the Ubuntu packaging system. If you want my recent checkinsall deb for LyX 1.4.3. to run on Ubuntu-Dapper, just say and I'll post it. I am reading Ubuntu's packaging guide which takes the official packaging process step by step. https://help.ubuntu.com/6.10/pdf/ubuntu/C/packagingguide.pdf So it looks like I will be able to make a proper Ubuntu-Dapper package some time in the new year. HTH Russell
Re: LyX crashes using LyX150svn builds for Windows
In a recent message [EMAIL PROTECTED], Uwe Stöhr [EMAIL PROTECTED] wrote. [...] 4. Choose View PDF (pdflatex) -- Error: Windows cannot find PDViewWin -- Error: Cannot view file This is a tipo it should be PDFViewWin. Change this in the preferences for the PDF-formats or wait until tuesday when I'll publish the next version that also includes other bugfixes related to the installer. [...] Ha, that's the reason, I had this problem too. In my case I changed the PDF-viewer to 'acrord32' and everything worked as it should. Regards, Nick. -- Nick Hopton and Anne Hopton Caversham, Reading, England [EMAIL PROTECTED]
The spell-checker detects typos but no suggestions window
Dear All The spell-checker detects typos but never any window with replacements suggestion is shown. I am using LyX 1.4.3 installed from the official repositories on Fedora Core 6, and aspell-en-6.0-2.1 is installed. Any ideas? Thanks in advance, Paul
Special case of enumerate
Dear All I am trying to get the following special case of enumerate: - A1. The first item; A2. The second item; A3. The third item; Here, there is some standard text and then enumerate again. A4. The fourth item; A5. The fifth item. - Any ideas? Thanks in advance, Paul
PDF problems
Hello I have just installed Lyx 1.4.3 on Win XP Pro and I am unable to create or view PDF output. I have the following difficulties depending on which conversion I use 1. dvipdfm - error message an error ocurred whilst running dvipdfmx -p letter -o 2. pdflatex - error message an error ocurred whilst running epstopdf --outline pdf is produced containing errors and blank pages where in place of the diagrams 3. ps2pdf - only produces the first 6 pages of my document I would be very grateful for any indication how I can overcome any of these problems, Thanks, Frank -- Francis Hindle Laboratoire de Physico-Chimie de l'Atmosphère UMR CNRS 8101 Université du Littoral Côte d'Opale 189A Av. Maurice Schumann 59140 Dunkerque Tel : +33 (0)3 28 65 82 70 Fax : +33 (0)3 28 65 82 44
RE: no textclasses found on windows
Ditto. I tried the fix suggested by Torsten Andersen (12 dec) of using -userdir (path) and for the path made sure no spaces were in it... no help, the installation rebuilt the user space and again failed with textclasses not found... I re-installed three times so far. Bill -Original Message- From: Cobus Jacobs [mailto:[EMAIL PROTECTED] Sent: Friday, December 15, 2006 12:01 PM To: lyx-users@lists.lyx.org Subject: no textclasses found on windows Hi Has anyone solved the textclasses not found issue with the windows install? I've read on the net it has something to do with the userdir. I tried the -userdir x option (with classic LyX install), and got it to run, although some packages seemed to be missing. I really wanted to run the alternative install (LyXWinInstaller), but that never seemed to work, even with the -userdiroption or deleting the application data\lyx* folder. I have my My documents folder on 'n different drive, but my documents and setting\user folder still resides on the C-drive with winXP. Help please Cobus
Re: Question concerning Preamble in Child Documents
Date: Mon, 18 Dec 2006 13:48:52 +0200 From: Rainer M Krug [EMAIL PROTECTED] To: Georg Baum [EMAIL PROTECTED] CC: lyx-users@lists.lyx.org Subject: Re: Question concerning Preamble in Child Documents Georg Baum wrote: Rainer M Krug wrote: Hi Am I right in assuming that when I have a preamble in the Child Document, this preamble is ignored when the Child Document is used from the Main Document, i.e. if I have a special preamble in the Child Document, I have to copy it to the Main Document? Yes. If you don't want to compile the child documnt separately then delete the preamble of the child document. If you want to compile it separately then it is better to put the preamble into a separate .tex file and only have \include{preamble.tex} That sounds interesting. But I don't manage to do it. I guess it's a typo, should read \input{preamble.tex} \include is restricted to chapters, and must be in the document body. -- Jean-Pierre
Re: LyX on Debian or Ubuntu
On Mon, 18 Dec 2006 19:02:07 +1100 Russell Davie [EMAIL PROTECTED] wrote: I have used the binaries made by the LyX Deb team when I ran Debian and they are 100% reliable. Thanks guys! Now I am Ubuntu-Dapper which is limited to LyX 1.3.7. To get most recent (1.4.3) I compiled from source which works. However this bypasses the packaging system. More recently I found out about how to make simple Debian packages using checkinstall. To make a deb with checkinstall is a relatively easy thing to do. Technically its a Debian packaging layer on top of compiling from source. Although checkinstall makes a deb that fits into the the Debian packaging system, the package is lacking notification for dependencies. So it can't be considered official deb package in any way. I have used checkinstall to make a deb package of 1.4.3. This also works well and fits into the Ubuntu packaging system. If you want my recent checkinsall deb for LyX 1.4.3. to run on Ubuntu-Dapper, I don't know about Ubuntu, but debian-etch comes with LyX 1.4.3 now, so there is really no need to make your own package. It might also be not a great idea to distribute it, since that might not be compatible with the official one in terms of dependencies. Does Ubuntu come in various levels of cutting-edge-ness like pure debian does? Maybe there is already a package there you could use. -- David L. Johnson __o | Deserves death! I daresay he does. Many that live deserve _`\(,_ | death. And some that die deserve life. Can you give it to (_)/ (_) | them? Then do not be too eager to deal out death in judgement. -- J. R. R. Tolkein
Re: LyX on Debian or Ubuntu
On Mon, Dec 18, 2006 at 09:36:14AM -0500, David L. Johnson wrote: I don't know about Ubuntu, but debian-etch comes with LyX 1.4.3 now, so there is really no need to make your own package. It might also be not a great idea to distribute it, since that might not be compatible with the official one in terms of dependencies. Let's take a look at the Ubuntu package listing: http://tinyurl.com/wj737 So the latest release 'feisty' is up to date. The 'edgy' release has a backport avaible. The only 'problematic' case is the LTS (Long Term Support) release 'dapper'. It's a little bit problematic because there where some more intrusive changes in the Debian python policy which also effect Ubuntu. Those changes need to be reverted if you want to backport something to the Dapper release. Does Ubuntu come in various levels of cutting-edge-ness like pure debian does? Maybe there is already a package there you could use. For everything that is not 'LTS' they've a very short ttl and so they only fetch new packages for the latest release they're working on. From my perspective (without experience in using it) it's looking like bigger mess than what Debian/unstable is from time to time. Regarding the backports for Ubuntus LTS release 'dapper' I've demonstrated how to do it with the 1.4.2 packages from the 'edgy' release. ftp://hxt.homelinux.org/foobuntu/ It's nearly the same for the 1.4.3 package from 'feisty' but I'm not going to maintain such things. It's just meant as an example to maybe encourage someone who's actually using Ubuntu to work on it to improve the situation. Cheers, 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: PDF problems
Frank Hindle schrieb: 3. ps2pdf - only produces the first 6 pages of my document It seems that you have a buggy EPS-image in your file. Extract the first EPS-file in the document region that is not converted by ps2pdf. Try to open this EPS with e.g. Acrobat or GSview to look what's the problem with it. If you're not sure if you found the buggy file, include it to a new LyX-file and try to produce a PDF. regards Uwe
Re: Special case of enumerate
On Mon, Dec 18, 2006 at 11:54:11AM +, Paul Smith wrote: Dear All I am trying to get the following special case of enumerate: - A1. The first item; A2. The second item; A3. The third item; Here, there is some standard text and then enumerate again. A4. The fourth item; A5. The fifth item. - Any ideas? Thanks in advance, Paul Someone else can address the A1 through Ax part, but the change out of, then back into enumeration is accomplished with the package mdwlist, which I believe is part of a regular TeX distribution. \usepackage{mdwlist} goes into the preamble. Essentially, you add \suspend{enumeration} ... \resume{enumeration} in ERT at those points in the text where needed. This must be accompanied by a change in depth (alt-shift-right arrow, for instance) of the entire part being turned into standard text. HTH, Kenward -- In a completely rational society, the best of us would aspire to be _teachers_ and the rest of us would have to settle for something less, because passing civilization along from one generation to the next ought to be the highest honor and the highest responsibility anyone could have. - Lee Iacocca
Re: The spell-checker detects typos but no suggestions window
On Monday 18 December 2006 11:16 am, Paul Smith wrote: Dear All The spell-checker detects typos but never any window with replacements suggestion is shown. I am using LyX 1.4.3 installed from the official repositories on Fedora Core 6, and aspell-en-6.0-2.1 is installed. Any ideas? Here, with the same initial conditions I have that problem only for the first word in the document. It works for every other word in the document (as far as can see). Thanks in advance, Paul -- José Abílio
Re: Special case of enumerate
Paul Smith wrote: Dear All I am trying to get the following special case of enumerate: - A1. The first item; A2. The second item; A3. The third item; Here, there is some standard text and then enumerate again. A4. The fourth item; A5. The fifth item. - Any ideas? Thanks in advance, Paul The mdwlist package has commands to suspend and resume an enumeration. /Paul
Re: Special case of enumerate
Paul Smith wrote: Dear All I am trying to get the following special case of enumerate: - A1. The first item; A2. The second item; A3. The third item; Here, there is some standard text and then enumerate again. A4. The fourth item; A5. The fifth item. - Any ideas? Thanks in advance, Paul Sorry if this is a repeat -- I posted a response two hours ago, but it has not shown up on the server. Have a look at http://www.tex.ac.uk/cgi-bin/texfaq2html?label=interruptlist for some options. I've used mdwlist to do what you want. /Paul
Re: LyX on Debian or Ubuntu
There's an Ubuntu derivative called Linuxmint. For some reason it upgraded to Lyx 1.4.3 from 1.4.2 some days before ubuntu itself did. In general this distro appears very solid. Declan
Re: Question concerning Preamble in Child Documents
Am Montag, 18. Dezember 2006 15:07 schrieb Jean-Pierre Chretien: I guess it's a typo, should read \input{preamble.tex} \include is restricted to chapters, and must be in the document body. It was no typo, I always confuse the two. Thanks for the correction. Georg
Re: Question concerning Preamble in Child Documents
Georg Baum wrote: Am Montag, 18. Dezember 2006 15:07 schrieb Jean-Pierre Chretien: I guess it's a typo, should read \input{preamble.tex} \include is restricted to chapters, and must be in the document body. It was no typo, I always confuse the two. Thanks for the correction. That makes it a thinko, as my friend and colleague Martin Davies calls such things. Richard -- == Richard G Heck, Jr Professor of Philosophy Brown University http://bobjweil.com/heck/ == Get my public key from http://sks.keyserver.penguin.de Hash: 0x1DE91F1E66FFBDEC Learn how to sign your email using Thunderbird and GnuPG at: http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto
Table question for LaTeX-experts - was: Tables inside an enumerate environment
Hillel schrieb: I did try to play with the content alignment setting, but it didn't solve all my problems. The remaining problem is that even when the content alignment is set to middle, the top of the box is aligned with the *bottom* of the text line. What I need is to get the top of the box aligned with the *top* of the text line. Is there a way I can get that effect? There is a way, but it is not exact. I added the new section Vertical table alignment to the Extended-Insets manual: http://wiki.lyx.org/LyX/DocumentationDevelopment#Extended-Insets where I describe a possible solution. Attached is also a small LyX-example file. I'm not content with the solution, so if someone knows a better one please tell me. regards Uwe newfile1.lyx Description: application/lyx
Re: Question concerning Preamble in Child Documents
Date: Mon, 18 Dec 2006 16:56:32 -0500 From: Richard Heck [EMAIL PROTECTED] To: Georg Baum [EMAIL PROTECTED] CC: lyx-users@lists.lyx.org Subject: Re: Question concerning Preamble in Child Documents X-Enigmail-Version: 0.94.0.0 Georg Baum wrote: Am Montag, 18. Dezember 2006 15:07 schrieb Jean-Pierre Chretien: I guess it's a typo, should read \input{preamble.tex} \include is restricted to chapters, and must be in the document body. It was no typo, I always confuse the two. Thanks for the correction. That makes it a thinko, as my friend and colleague Martin Davies calls such things. Or a lapsus scriptae ? ... :-) -- Jean-Pierre
Re: Question concerning Preamble in Child Documents
Georg Baum wrote: Am Montag, 18. Dezember 2006 15:07 schrieb Jean-Pierre Chretien: I guess it's a typo, should read \input{preamble.tex} \include is restricted to chapters, and must be in the document body. It was no typo, I always confuse the two. Thanks for the correction. Georg Hi I don't get it to work. My setup is below, and I don't get any error messages concerning the \input{preamble.tex}. preamble.tex is in the same directory as the LyX file, but the preamble is not loaded, as \AIC gives an error message (when used in Math Mode). Any ideas? Rainer ### BEGIN Preamble in LyX file \input{preamble.tex} \setcounter{chapter}{7} END Preamble in LyX file ### ### BEGIN preamble.tex \usepackage{thumbpdf} \usepackage{textcomp} \usepackage{lmodern} \usepackage{chapterbib} \DeclareMathOperator{\AIC}{AIC} \DeclareMathOperator{\AICc}{AIC_c} \DeclareMathOperator{\FON}{FON} \DeclareMathOperator{\PDK}{PDK} \DeclareMathOperator{\ADK}{ADK} \DeclareMathOperator{\Comp}{Comp} \DeclareMathOperator{\ZOI}{ZOI} \usepackage{dcolumn} \newcolumntype{d}[1]{D{.}{.}{#1}} \AtBeginDocument{\renewcommand\bibname{References}} \hypersetup{pdftex} ### END preamble.tex BEGIN LyX Main Document translated into LaTeX ### %% LyX 1.4.3 created this file. For more info, see http://www.lyx.org/. %% Do not edit unless you really know what you are doing. \documentclass[11pt,a4paper,twoside,british,PhD,afrikaans,english,backref=page,colorlinks=true]{usthesis} \usepackage{times} \usepackage[T1]{fontenc} \usepackage[latin1]{inputenc} \usepackage{array} \usepackage{amsmath} \usepackage{graphicx} \usepackage{setspace} \doublespacing \usepackage[authoryear]{natbib} \makeatletter %% LyX specific LaTeX commands. \newcommand{\noun}[1]{\textsc{#1}} %% Because html converters don't know tabularnewline \providecommand{\tabularnewline}{\\} %% Textclass specific LaTeX commands. \usepackage[afrikaans, UKenglish]{babel} \usepackage{color} \definecolor{USmaroon}{rgb}{0.375,0.1328,0.2305} \definecolor{USgray}{rgb}{0.5469,0.5895,0.6016} \usepackage{graphicx} \usepackage[backref=page,breaklinks=true,colorlinks=true]{hyperref} \usepackage{thumbpdf} \usepackage{textcomp} \usepackage{lmodern} \usepackage{microtype} \newcommand{\address}{\adress} % spelling mistake in USThesis \AtBeginDocument{\renewcommand\bibname{References}} %% User specified LaTeX commands. \input{preamble.tex} \setcounter{chapter}{7} \usepackage{babel} \makeatother \begin{document} \input{Chapter_8_Hakea_and_biocontrol/Chapter_8_Hakea_and_Biocontrol.tex} \input{Chapter_9_Hankea_from_Area_Source/Chapter_9_Hakea_from_area_source.tex} \bibliographystyle{plainnatwithouturl} \cleardoublepage\addcontentsline{toc}{chapter}{\bibname}\bibliography{/home/rkrug/Documents/Publications/PhD/Literature,/home/rkrug/Documents/Publications/PhD/Reprint_Collection} \end{document} ### END LyX Main Document translated into LaTeX -- Rainer M. Krug, Dipl. Phys. (Germany), MSc Conservation Biology (UCT) Department of Conservation Ecology and Entomology University of Stellenbosch Matieland 7602 South Africa Tel:+27 - (0)72 808 2975 (w) Fax:+27 - (0)86 516 2782 Fax:+27 - (0)21 808 3304 (w) Cell: +27 - (0)83 9479 042 email: [EMAIL PROTECTED] [EMAIL PROTECTED]
Re: LyX on Debian or Ubuntu
On Sat, 16 Dec 2006 17:47:42 -0600 Bill Wood [EMAIL PROTECTED] wrote: Hi, I'm considering switching Linux distributions to Debian or Ubuntu, and I wanted to know what the community experience was regarding Lyx on either. In particular, are there any known functional or performance issues? Also, is there any difficulty staying current? Many thanks, -- Bill Wood I have used the binaries made by the LyX Deb team when I ran Debian and they are 100% reliable. Thanks guys! Now I am Ubuntu-Dapper which is limited to LyX 1.3.7. To get most recent (1.4.3) I compiled from source which works. However this bypasses the packaging system. More recently I found out about how to make simple Debian packages using checkinstall. To make a deb with checkinstall is a relatively easy thing to do. Technically its a Debian packaging layer on top of compiling from source. Although checkinstall makes a deb that fits into the the Debian packaging system, the package is lacking notification for dependencies. So it can't be considered official deb package in any way. I have used checkinstall to make a deb package of 1.4.3. This also works well and fits into the Ubuntu packaging system. If you want my recent checkinsall deb for LyX 1.4.3. to run on Ubuntu-Dapper, just say and I'll post it. I am reading Ubuntu's packaging guide which takes the official packaging process step by step. https://help.ubuntu.com/6.10/pdf/ubuntu/C/packagingguide.pdf So it looks like I will be able to make a proper Ubuntu-Dapper package some time in the new year. HTH Russell
Re: LyX crashes using LyX150svn builds for Windows
In a recent message [EMAIL PROTECTED], Uwe Stöhr [EMAIL PROTECTED] wrote. [...] 4. Choose View PDF (pdflatex) -- Error: Windows cannot find PDViewWin -- Error: Cannot view file This is a tipo it should be PDFViewWin. Change this in the preferences for the PDF-formats or wait until tuesday when I'll publish the next version that also includes other bugfixes related to the installer. [...] Ha, that's the reason, I had this problem too. In my case I changed the PDF-viewer to 'acrord32' and everything worked as it should. Regards, Nick. -- Nick Hopton and Anne Hopton Caversham, Reading, England [EMAIL PROTECTED]
The spell-checker detects typos but no suggestions window
Dear All The spell-checker detects typos but never any window with replacements suggestion is shown. I am using LyX 1.4.3 installed from the official repositories on Fedora Core 6, and aspell-en-6.0-2.1 is installed. Any ideas? Thanks in advance, Paul
Special case of enumerate
Dear All I am trying to get the following special case of enumerate: - A1. The first item; A2. The second item; A3. The third item; Here, there is some standard text and then enumerate again. A4. The fourth item; A5. The fifth item. - Any ideas? Thanks in advance, Paul
PDF problems
Hello I have just installed Lyx 1.4.3 on Win XP Pro and I am unable to create or view PDF output. I have the following difficulties depending on which conversion I use 1. dvipdfm - error message an error ocurred whilst running dvipdfmx -p letter -o 2. pdflatex - error message an error ocurred whilst running epstopdf --outline pdf is produced containing errors and blank pages where in place of the diagrams 3. ps2pdf - only produces the first 6 pages of my document I would be very grateful for any indication how I can overcome any of these problems, Thanks, Frank -- Francis Hindle Laboratoire de Physico-Chimie de l'Atmosphère UMR CNRS 8101 Université du Littoral Côte d'Opale 189A Av. Maurice Schumann 59140 Dunkerque Tel : +33 (0)3 28 65 82 70 Fax : +33 (0)3 28 65 82 44
RE: no textclasses found on windows
Ditto. I tried the fix suggested by Torsten Andersen (12 dec) of using -userdir (path) and for the path made sure no spaces were in it... no help, the installation rebuilt the user space and again failed with textclasses not found... I re-installed three times so far. Bill -Original Message- From: Cobus Jacobs [mailto:[EMAIL PROTECTED] Sent: Friday, December 15, 2006 12:01 PM To: lyx-users@lists.lyx.org Subject: no textclasses found on windows Hi Has anyone solved the textclasses not found issue with the windows install? I've read on the net it has something to do with the userdir. I tried the -userdir x option (with classic LyX install), and got it to run, although some packages seemed to be missing. I really wanted to run the alternative install (LyXWinInstaller), but that never seemed to work, even with the -userdiroption or deleting the application data\lyx* folder. I have my My documents folder on 'n different drive, but my documents and setting\user folder still resides on the C-drive with winXP. Help please Cobus
Re: Question concerning Preamble in Child Documents
Date: Mon, 18 Dec 2006 13:48:52 +0200 From: Rainer M Krug [EMAIL PROTECTED] To: Georg Baum [EMAIL PROTECTED] CC: lyx-users@lists.lyx.org Subject: Re: Question concerning Preamble in Child Documents Georg Baum wrote: Rainer M Krug wrote: Hi Am I right in assuming that when I have a preamble in the Child Document, this preamble is ignored when the Child Document is used from the Main Document, i.e. if I have a special preamble in the Child Document, I have to copy it to the Main Document? Yes. If you don't want to compile the child documnt separately then delete the preamble of the child document. If you want to compile it separately then it is better to put the preamble into a separate .tex file and only have \include{preamble.tex} That sounds interesting. But I don't manage to do it. I guess it's a typo, should read \input{preamble.tex} \include is restricted to chapters, and must be in the document body. -- Jean-Pierre
Re: LyX on Debian or Ubuntu
On Mon, 18 Dec 2006 19:02:07 +1100 Russell Davie [EMAIL PROTECTED] wrote: I have used the binaries made by the LyX Deb team when I ran Debian and they are 100% reliable. Thanks guys! Now I am Ubuntu-Dapper which is limited to LyX 1.3.7. To get most recent (1.4.3) I compiled from source which works. However this bypasses the packaging system. More recently I found out about how to make simple Debian packages using checkinstall. To make a deb with checkinstall is a relatively easy thing to do. Technically its a Debian packaging layer on top of compiling from source. Although checkinstall makes a deb that fits into the the Debian packaging system, the package is lacking notification for dependencies. So it can't be considered official deb package in any way. I have used checkinstall to make a deb package of 1.4.3. This also works well and fits into the Ubuntu packaging system. If you want my recent checkinsall deb for LyX 1.4.3. to run on Ubuntu-Dapper, I don't know about Ubuntu, but debian-etch comes with LyX 1.4.3 now, so there is really no need to make your own package. It might also be not a great idea to distribute it, since that might not be compatible with the official one in terms of dependencies. Does Ubuntu come in various levels of cutting-edge-ness like pure debian does? Maybe there is already a package there you could use. -- David L. Johnson __o | Deserves death! I daresay he does. Many that live deserve _`\(,_ | death. And some that die deserve life. Can you give it to (_)/ (_) | them? Then do not be too eager to deal out death in judgement. -- J. R. R. Tolkein
Re: LyX on Debian or Ubuntu
On Mon, Dec 18, 2006 at 09:36:14AM -0500, David L. Johnson wrote: I don't know about Ubuntu, but debian-etch comes with LyX 1.4.3 now, so there is really no need to make your own package. It might also be not a great idea to distribute it, since that might not be compatible with the official one in terms of dependencies. Let's take a look at the Ubuntu package listing: http://tinyurl.com/wj737 So the latest release 'feisty' is up to date. The 'edgy' release has a backport avaible. The only 'problematic' case is the LTS (Long Term Support) release 'dapper'. It's a little bit problematic because there where some more intrusive changes in the Debian python policy which also effect Ubuntu. Those changes need to be reverted if you want to backport something to the Dapper release. Does Ubuntu come in various levels of cutting-edge-ness like pure debian does? Maybe there is already a package there you could use. For everything that is not 'LTS' they've a very short ttl and so they only fetch new packages for the latest release they're working on. From my perspective (without experience in using it) it's looking like bigger mess than what Debian/unstable is from time to time. Regarding the backports for Ubuntus LTS release 'dapper' I've demonstrated how to do it with the 1.4.2 packages from the 'edgy' release. ftp://hxt.homelinux.org/foobuntu/ It's nearly the same for the 1.4.3 package from 'feisty' but I'm not going to maintain such things. It's just meant as an example to maybe encourage someone who's actually using Ubuntu to work on it to improve the situation. Cheers, 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: PDF problems
Frank Hindle schrieb: 3. ps2pdf - only produces the first 6 pages of my document It seems that you have a buggy EPS-image in your file. Extract the first EPS-file in the document region that is not converted by ps2pdf. Try to open this EPS with e.g. Acrobat or GSview to look what's the problem with it. If you're not sure if you found the buggy file, include it to a new LyX-file and try to produce a PDF. regards Uwe
Re: Special case of enumerate
On Mon, Dec 18, 2006 at 11:54:11AM +, Paul Smith wrote: Dear All I am trying to get the following special case of enumerate: - A1. The first item; A2. The second item; A3. The third item; Here, there is some standard text and then enumerate again. A4. The fourth item; A5. The fifth item. - Any ideas? Thanks in advance, Paul Someone else can address the A1 through Ax part, but the change out of, then back into enumeration is accomplished with the package mdwlist, which I believe is part of a regular TeX distribution. \usepackage{mdwlist} goes into the preamble. Essentially, you add \suspend{enumeration} ... \resume{enumeration} in ERT at those points in the text where needed. This must be accompanied by a change in depth (alt-shift-right arrow, for instance) of the entire part being turned into standard text. HTH, Kenward -- In a completely rational society, the best of us would aspire to be _teachers_ and the rest of us would have to settle for something less, because passing civilization along from one generation to the next ought to be the highest honor and the highest responsibility anyone could have. - Lee Iacocca
Re: The spell-checker detects typos but no suggestions window
On Monday 18 December 2006 11:16 am, Paul Smith wrote: Dear All The spell-checker detects typos but never any window with replacements suggestion is shown. I am using LyX 1.4.3 installed from the official repositories on Fedora Core 6, and aspell-en-6.0-2.1 is installed. Any ideas? Here, with the same initial conditions I have that problem only for the first word in the document. It works for every other word in the document (as far as can see). Thanks in advance, Paul -- José Abílio
Re: Special case of enumerate
Paul Smith wrote: Dear All I am trying to get the following special case of enumerate: - A1. The first item; A2. The second item; A3. The third item; Here, there is some standard text and then enumerate again. A4. The fourth item; A5. The fifth item. - Any ideas? Thanks in advance, Paul The mdwlist package has commands to suspend and resume an enumeration. /Paul
Re: Special case of enumerate
Paul Smith wrote: Dear All I am trying to get the following special case of enumerate: - A1. The first item; A2. The second item; A3. The third item; Here, there is some standard text and then enumerate again. A4. The fourth item; A5. The fifth item. - Any ideas? Thanks in advance, Paul Sorry if this is a repeat -- I posted a response two hours ago, but it has not shown up on the server. Have a look at http://www.tex.ac.uk/cgi-bin/texfaq2html?label=interruptlist for some options. I've used mdwlist to do what you want. /Paul
Re: LyX on Debian or Ubuntu
There's an Ubuntu derivative called Linuxmint. For some reason it upgraded to Lyx 1.4.3 from 1.4.2 some days before ubuntu itself did. In general this distro appears very solid. Declan
Re: Question concerning Preamble in Child Documents
Am Montag, 18. Dezember 2006 15:07 schrieb Jean-Pierre Chretien: I guess it's a typo, should read \input{preamble.tex} \include is restricted to chapters, and must be in the document body. It was no typo, I always confuse the two. Thanks for the correction. Georg
Re: Question concerning Preamble in Child Documents
Georg Baum wrote: Am Montag, 18. Dezember 2006 15:07 schrieb Jean-Pierre Chretien: I guess it's a typo, should read \input{preamble.tex} \include is restricted to chapters, and must be in the document body. It was no typo, I always confuse the two. Thanks for the correction. That makes it a thinko, as my friend and colleague Martin Davies calls such things. Richard -- == Richard G Heck, Jr Professor of Philosophy Brown University http://bobjweil.com/heck/ == Get my public key from http://sks.keyserver.penguin.de Hash: 0x1DE91F1E66FFBDEC Learn how to sign your email using Thunderbird and GnuPG at: http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto
Table question for LaTeX-experts - was: Tables inside an enumerate environment
Hillel schrieb: I did try to play with the content alignment setting, but it didn't solve all my problems. The remaining problem is that even when the content alignment is set to middle, the top of the box is aligned with the *bottom* of the text line. What I need is to get the top of the box aligned with the *top* of the text line. Is there a way I can get that effect? There is a way, but it is not exact. I added the new section Vertical table alignment to the Extended-Insets manual: http://wiki.lyx.org/LyX/DocumentationDevelopment#Extended-Insets where I describe a possible solution. Attached is also a small LyX-example file. I'm not content with the solution, so if someone knows a better one please tell me. regards Uwe newfile1.lyx Description: application/lyx
Re: Question concerning Preamble in Child Documents
Date: Mon, 18 Dec 2006 16:56:32 -0500 From: Richard Heck [EMAIL PROTECTED] To: Georg Baum [EMAIL PROTECTED] CC: lyx-users@lists.lyx.org Subject: Re: Question concerning Preamble in Child Documents X-Enigmail-Version: 0.94.0.0 Georg Baum wrote: Am Montag, 18. Dezember 2006 15:07 schrieb Jean-Pierre Chretien: I guess it's a typo, should read \input{preamble.tex} \include is restricted to chapters, and must be in the document body. It was no typo, I always confuse the two. Thanks for the correction. That makes it a thinko, as my friend and colleague Martin Davies calls such things. Or a lapsus scriptae ? ... :-) -- Jean-Pierre
Re: Question concerning Preamble in Child Documents
Georg Baum wrote: Am Montag, 18. Dezember 2006 15:07 schrieb Jean-Pierre Chretien: I guess it's a typo, should read \input{preamble.tex} \include is restricted to chapters, and must be in the document body. It was no typo, I always confuse the two. Thanks for the correction. Georg Hi I don't get it to work. My setup is below, and I don't get any error messages concerning the \input{preamble.tex}. preamble.tex is in the same directory as the LyX file, but the preamble is not loaded, as \AIC gives an error message (when used in Math Mode). Any ideas? Rainer ### BEGIN Preamble in LyX file \input{preamble.tex} \setcounter{chapter}{7} END Preamble in LyX file ### ### BEGIN preamble.tex \usepackage{thumbpdf} \usepackage{textcomp} \usepackage{lmodern} \usepackage{chapterbib} \DeclareMathOperator{\AIC}{AIC} \DeclareMathOperator{\AICc}{AIC_c} \DeclareMathOperator{\FON}{FON} \DeclareMathOperator{\PDK}{PDK} \DeclareMathOperator{\ADK}{ADK} \DeclareMathOperator{\Comp}{Comp} \DeclareMathOperator{\ZOI}{ZOI} \usepackage{dcolumn} \newcolumntype{d}[1]{D{.}{.}{#1}} \AtBeginDocument{\renewcommand\bibname{References}} \hypersetup{pdftex} ### END preamble.tex BEGIN LyX Main Document translated into LaTeX ### %% LyX 1.4.3 created this file. For more info, see http://www.lyx.org/. %% Do not edit unless you really know what you are doing. \documentclass[11pt,a4paper,twoside,british,PhD,afrikaans,english,backref=page,colorlinks=true]{usthesis} \usepackage{times} \usepackage[T1]{fontenc} \usepackage[latin1]{inputenc} \usepackage{array} \usepackage{amsmath} \usepackage{graphicx} \usepackage{setspace} \doublespacing \usepackage[authoryear]{natbib} \makeatletter %% LyX specific LaTeX commands. \newcommand{\noun}[1]{\textsc{#1}} %% Because html converters don't know tabularnewline \providecommand{\tabularnewline}{\\} %% Textclass specific LaTeX commands. \usepackage[afrikaans, UKenglish]{babel} \usepackage{color} \definecolor{USmaroon}{rgb}{0.375,0.1328,0.2305} \definecolor{USgray}{rgb}{0.5469,0.5895,0.6016} \usepackage{graphicx} \usepackage[backref=page,breaklinks=true,colorlinks=true]{hyperref} \usepackage{thumbpdf} \usepackage{textcomp} \usepackage{lmodern} \usepackage{microtype} \newcommand{\address}{\adress} % spelling mistake in USThesis \AtBeginDocument{\renewcommand\bibname{References}} %% User specified LaTeX commands. \input{preamble.tex} \setcounter{chapter}{7} \usepackage{babel} \makeatother \begin{document} \input{Chapter_8_Hakea_and_biocontrol/Chapter_8_Hakea_and_Biocontrol.tex} \input{Chapter_9_Hankea_from_Area_Source/Chapter_9_Hakea_from_area_source.tex} \bibliographystyle{plainnatwithouturl} \cleardoublepage\addcontentsline{toc}{chapter}{\bibname}\bibliography{/home/rkrug/Documents/Publications/PhD/Literature,/home/rkrug/Documents/Publications/PhD/Reprint_Collection} \end{document} ### END LyX Main Document translated into LaTeX -- Rainer M. Krug, Dipl. Phys. (Germany), MSc Conservation Biology (UCT) Department of Conservation Ecology and Entomology University of Stellenbosch Matieland 7602 South Africa Tel:+27 - (0)72 808 2975 (w) Fax:+27 - (0)86 516 2782 Fax:+27 - (0)21 808 3304 (w) Cell: +27 - (0)83 9479 042 email: [EMAIL PROTECTED] [EMAIL PROTECTED]
Re: LyX on Debian or Ubuntu
On Sat, 16 Dec 2006 17:47:42 -0600 Bill Wood <[EMAIL PROTECTED]> wrote: > Hi, I'm considering switching Linux distributions to Debian or Ubuntu, > and I wanted to know what the community experience was regarding Lyx on > either. In particular, are there any known functional or performance > issues? Also, is there any difficulty staying current? > > Many thanks, > > -- Bill Wood > I have used the binaries made by the LyX Deb team when I ran Debian and they are 100% reliable. Thanks guys! Now I am Ubuntu-Dapper which is limited to LyX 1.3.7. To get most recent (1.4.3) I compiled from source which works. However this bypasses the packaging system. More recently I found out about how to make simple Debian packages using checkinstall. To make a deb with checkinstall is a relatively easy thing to do. Technically its a Debian packaging layer on top of compiling from source. Although checkinstall makes a deb that fits into the the Debian packaging system, the package is lacking notification for dependencies. So it can't be considered official deb package in any way. I have used checkinstall to make a deb package of 1.4.3. This also works well and fits into the Ubuntu packaging system. If you want my recent checkinsall deb for LyX 1.4.3. to run on Ubuntu-Dapper, just say and I'll post it. I am reading Ubuntu's packaging guide which takes the official packaging process step by step. https://help.ubuntu.com/6.10/pdf/ubuntu/C/packagingguide.pdf So it looks like I will be able to make a proper Ubuntu-Dapper package some time in the new year. HTH Russell
Re: LyX crashes using LyX150svn builds for Windows
In a recent message <[EMAIL PROTECTED]>, Uwe Stöhr <[EMAIL PROTECTED]> wrote. [...] 4. Choose View > PDF (pdflatex) --> Error: Windows cannot find PDViewWin --> Error: Cannot view file This is a tipo it should be "PDFViewWin". Change this in the preferences for the PDF-formats or wait until tuesday when I'll publish the next version that also includes other bugfixes related to the installer. [...] Ha, that's the reason, I had this problem too. In my case I changed the PDF-viewer to 'acrord32' and everything worked as it should. Regards, Nick. -- Nick Hopton and Anne Hopton Caversham, Reading, England <[EMAIL PROTECTED]>
The spell-checker detects typos but no suggestions window
Dear All The spell-checker detects typos but never any window with replacements suggestion is shown. I am using LyX 1.4.3 installed from the official repositories on Fedora Core 6, and aspell-en-6.0-2.1 is installed. Any ideas? Thanks in advance, Paul
Special case of enumerate
Dear All I am trying to get the following special case of enumerate: - A1. The first item; A2. The second item; A3. The third item; Here, there is some standard text and then enumerate again. A4. The fourth item; A5. The fifth item. - Any ideas? Thanks in advance, Paul
PDF problems
Hello I have just installed Lyx 1.4.3 on Win XP Pro and I am unable to create or view PDF output. I have the following difficulties depending on which conversion I use 1. dvipdfm - error message "an error ocurred whilst running dvipdfmx -p letter -o" 2. pdflatex - error message "an error ocurred whilst running epstopdf --outline" pdf is produced containing errors and blank pages where in place of the diagrams 3. ps2pdf - only produces the first 6 pages of my document I would be very grateful for any indication how I can overcome any of these problems, Thanks, Frank -- Francis Hindle Laboratoire de Physico-Chimie de l'Atmosphère UMR CNRS 8101 Université du Littoral Côte d'Opale 189A Av. Maurice Schumann 59140 Dunkerque Tel : +33 (0)3 28 65 82 70 Fax : +33 (0)3 28 65 82 44
RE: "no textclasses found" on windows
Ditto. I tried the fix suggested by Torsten Andersen (12 dec) of using -userdir (path) and for the path made sure no spaces were in it... no help, the installation rebuilt the user space and again failed with "textclasses not found..." I re-installed three times so far. Bill -Original Message- From: Cobus Jacobs [mailto:[EMAIL PROTECTED] Sent: Friday, December 15, 2006 12:01 PM To: lyx-users@lists.lyx.org Subject: "no textclasses found" on windows Hi Has anyone solved the "textclasses not found" issue with the windows install? I've read on the net it has something to do with the userdir. I tried the "-userdir x" option (with classic LyX install), and got it to run, although some packages seemed to be missing. I really wanted to run the alternative install (LyXWinInstaller), but that never seemed to work, even with the "-userdir"option or deleting the "application data\lyx*" folder. I have my "My documents" folder on 'n different drive, but my "documents and setting\user" folder still resides on the C-drive with winXP. Help please Cobus
Re: Question concerning Preamble in Child Documents
>>Date: Mon, 18 Dec 2006 13:48:52 +0200 >>From: Rainer M Krug <[EMAIL PROTECTED]> >>To: Georg Baum <[EMAIL PROTECTED]> >>CC: lyx-users@lists.lyx.org >>Subject: Re: Question concerning Preamble in Child Documents >> >>Georg Baum wrote: >>> Rainer M Krug wrote: >>> Hi Am I right in assuming that when I have a preamble in the Child Document, this preamble is ignored when the Child Document is used from the Main Document, i.e. if I have a special preamble in the Child Document, I have to copy it to the Main Document? >>> >>> Yes. If you don't want to compile the child documnt separately then delete >>> the preamble of the child document. If you want to compile it separately >>> then it is better to put the preamble into a separate .tex file and only >>> have >>> >>> \include{preamble.tex} >> >>That sounds interesting. But I don't manage to do it. I guess it's a typo, should read \input{preamble.tex} \include is restricted to chapters, and must be in the document body. -- Jean-Pierre
Re: LyX on Debian or Ubuntu
On Mon, 18 Dec 2006 19:02:07 +1100 Russell Davie <[EMAIL PROTECTED]> wrote: > I have used the binaries made by the LyX Deb team when I ran Debian and they > are 100% reliable. Thanks guys! > > Now I am Ubuntu-Dapper which is limited to LyX 1.3.7. To get most recent > (1.4.3) I compiled from source which works. However this > bypasses the packaging system. More recently I found out about how to make > simple Debian packages using checkinstall. To make a deb with checkinstall is > a relatively easy thing to do. Technically its a Debian packaging layer on > top of compiling from source. Although checkinstall makes a deb that fits > into the the Debian packaging system, the package is lacking notification > for dependencies. So it can't be considered official deb package in any way. > I have used checkinstall to make a deb package of 1.4.3. This also works > well and fits into the Ubuntu packaging system. > > If you want my recent checkinsall deb for LyX 1.4.3. to run on Ubuntu-Dapper, I don't know about Ubuntu, but debian-etch comes with LyX 1.4.3 now, so there is really no need to make your own package. It might also be not a great idea to distribute it, since that might not be compatible with the official one in terms of dependencies. Does Ubuntu come in various levels of "cutting-edge"-ness like pure debian does? Maybe there is already a package there you could use. -- David L. Johnson __o | Deserves death! I daresay he does. Many that live deserve _`\(,_ | death. And some that die deserve life. Can you give it to (_)/ (_) | them? Then do not be too eager to deal out death in judgement. -- J. R. R. Tolkein
Re: LyX on Debian or Ubuntu
On Mon, Dec 18, 2006 at 09:36:14AM -0500, David L. Johnson wrote: > I don't know about Ubuntu, but debian-etch comes with LyX 1.4.3 now, so there > is really no need to make your own package. It might also be not a great idea > to distribute it, since that might not be compatible with the official one > in terms of dependencies. Let's take a look at the Ubuntu package listing: http://tinyurl.com/wj737 So the latest release 'feisty' is up to date. The 'edgy' release has a backport avaible. The only 'problematic' case is the LTS (Long Term Support) release 'dapper'. It's a little bit problematic because there where some more intrusive changes in the Debian python policy which also effect Ubuntu. Those changes need to be reverted if you want to backport something to the Dapper release. > Does Ubuntu come in various levels of "cutting-edge"-ness like pure debian > does? Maybe there is already a package there you could use. For everything that is not 'LTS' they've a very short ttl and so they only fetch new packages for the latest release they're working on. >From my perspective (without experience in using it) it's looking like bigger mess than what Debian/unstable is from time to time. Regarding the backports for Ubuntus LTS release 'dapper' I've demonstrated how to do it with the 1.4.2 packages from the 'edgy' release. ftp://hxt.homelinux.org/foobuntu/ It's nearly the same for the 1.4.3 package from 'feisty' but I'm not going to maintain such things. It's just meant as an example to maybe encourage someone who's actually using Ubuntu to work on it to improve the situation. Cheers, 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: PDF problems
Frank Hindle schrieb: 3. ps2pdf - only produces the first 6 pages of my document It seems that you have a buggy EPS-image in your file. Extract the first EPS-file in the document region that is not converted by ps2pdf. Try to open this EPS with e.g. Acrobat or GSview to look what's the problem with it. If you're not sure if you found the buggy file, include it to a new LyX-file and try to produce a PDF. regards Uwe
Re: Special case of enumerate
On Mon, Dec 18, 2006 at 11:54:11AM +, Paul Smith wrote: > Dear All > > I am trying to get the following special case of enumerate: > > - > A1. The first item; > A2. The second item; > A3. The third item; > > Here, there is some standard text and then enumerate again. > > A4. The fourth item; > A5. The fifth item. > - > > Any ideas? > > Thanks in advance, > > Paul Someone else can address the A1 through Ax part, but the change out of, then back into enumeration is accomplished with the package mdwlist, which I believe is part of a regular TeX distribution. \usepackage{mdwlist} goes into the preamble. Essentially, you add \suspend{enumeration} ... \resume{enumeration} in ERT at those points in the text where needed. This must be accompanied by a change in depth (alt-shift-right arrow, for instance) of the entire part being turned into standard text. HTH, Kenward -- In a completely rational society, the best of us would aspire to be _teachers_ and the rest of us would have to settle for something less, because passing civilization along from one generation to the next ought to be the highest honor and the highest responsibility anyone could have. - Lee Iacocca
Re: The spell-checker detects typos but no suggestions window
On Monday 18 December 2006 11:16 am, Paul Smith wrote: > Dear All > > The spell-checker detects typos but never any window with replacements > suggestion is shown. I am using LyX 1.4.3 installed from the official > repositories on Fedora Core 6, and aspell-en-6.0-2.1 is installed. Any > ideas? Here, with the same initial conditions I have that problem only for the first word in the document. It works for every other word in the document (as far as can see). > Thanks in advance, > > Paul -- José Abílio
Re: Special case of enumerate
Paul Smith wrote: Dear All I am trying to get the following special case of enumerate: - A1. The first item; A2. The second item; A3. The third item; Here, there is some standard text and then enumerate again. A4. The fourth item; A5. The fifth item. - Any ideas? Thanks in advance, Paul The mdwlist package has commands to suspend and resume an enumeration. /Paul
Re: Special case of enumerate
Paul Smith wrote: Dear All I am trying to get the following special case of enumerate: - A1. The first item; A2. The second item; A3. The third item; Here, there is some standard text and then enumerate again. A4. The fourth item; A5. The fifth item. - Any ideas? Thanks in advance, Paul Sorry if this is a repeat -- I posted a response two hours ago, but it has not shown up on the server. Have a look at http://www.tex.ac.uk/cgi-bin/texfaq2html?label=interruptlist for some options. I've used mdwlist to do what you want. /Paul
Re: LyX on Debian or Ubuntu
There's an Ubuntu derivative called Linuxmint. For some reason it upgraded to Lyx 1.4.3 from 1.4.2 some days before ubuntu itself did. In general this distro appears very solid. Declan
Re: Question concerning Preamble in Child Documents
Am Montag, 18. Dezember 2006 15:07 schrieb Jean-Pierre Chretien: > I guess it's a typo, should read \input{preamble.tex} > \include is restricted to chapters, and must be in the document body. It was no typo, I always confuse the two. Thanks for the correction. Georg
Re: Question concerning Preamble in Child Documents
Georg Baum wrote: > Am Montag, 18. Dezember 2006 15:07 schrieb Jean-Pierre Chretien: > > >> I guess it's a typo, should read \input{preamble.tex} >> \include is restricted to chapters, and must be in the document body. >> > > It was no typo, I always confuse the two. Thanks for the correction. > That makes it a thinko, as my friend and colleague Martin Davies calls such things. Richard -- == Richard G Heck, Jr Professor of Philosophy Brown University http://bobjweil.com/heck/ == Get my public key from http://sks.keyserver.penguin.de Hash: 0x1DE91F1E66FFBDEC Learn how to sign your email using Thunderbird and GnuPG at: http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto
Table question for LaTeX-experts - was: Tables inside an enumerate environment
Hillel schrieb: I did try to play with the "content alignment" setting, but it didn't solve all my problems. The remaining problem is that even when the "content alignment" is set to middle, the top of the box is aligned with the *bottom* of the text line. What I need is to get the top of the box aligned with the *top* of the text line. Is there a way I can get that effect? There is a way, but it is not exact. I added the new section "Vertical table alignment" to the Extended-Insets" manual: http://wiki.lyx.org/LyX/DocumentationDevelopment#Extended-Insets where I describe a possible solution. Attached is also a small LyX-example file. I'm not content with the solution, so if someone knows a better one please tell me. regards Uwe newfile1.lyx Description: application/lyx
Re: Question concerning Preamble in Child Documents
>>Date: Mon, 18 Dec 2006 16:56:32 -0500 >>From: Richard Heck <[EMAIL PROTECTED]> >>To: Georg Baum <[EMAIL PROTECTED]> >>CC: lyx-users@lists.lyx.org >>Subject: Re: Question concerning Preamble in Child Documents >>X-Enigmail-Version: 0.94.0.0 >> >>Georg Baum wrote: >>> Am Montag, 18. Dezember 2006 15:07 schrieb Jean-Pierre Chretien: >>> >>> I guess it's a typo, should read \input{preamble.tex} \include is restricted to chapters, and must be in the document body. >>> >>> It was no typo, I always confuse the two. Thanks for the correction. >>> >>That makes it a thinko, as my friend and colleague Martin Davies calls >>such things. Or a lapsus scriptae ? ... :-) -- Jean-Pierre
Re: Question concerning Preamble in Child Documents
Georg Baum wrote: Am Montag, 18. Dezember 2006 15:07 schrieb Jean-Pierre Chretien: I guess it's a typo, should read \input{preamble.tex} \include is restricted to chapters, and must be in the document body. It was no typo, I always confuse the two. Thanks for the correction. Georg Hi I don't get it to work. My setup is below, and I don't get any error messages concerning the \input{preamble.tex}. preamble.tex is in the same directory as the LyX file, but the preamble is not loaded, as \AIC gives an error message (when used in Math Mode). Any ideas? Rainer ### BEGIN Preamble in LyX file \input{preamble.tex} \setcounter{chapter}{7} END Preamble in LyX file ### ### BEGIN preamble.tex \usepackage{thumbpdf} \usepackage{textcomp} \usepackage{lmodern} \usepackage{chapterbib} \DeclareMathOperator{\AIC}{AIC} \DeclareMathOperator{\AICc}{AIC_c} \DeclareMathOperator{\FON}{FON} \DeclareMathOperator{\PDK}{PDK} \DeclareMathOperator{\ADK}{ADK} \DeclareMathOperator{\Comp}{Comp} \DeclareMathOperator{\ZOI}{ZOI} \usepackage{dcolumn} \newcolumntype{d}[1]{D{.}{.}{#1}} \AtBeginDocument{\renewcommand\bibname{References}} \hypersetup{pdftex} ### END preamble.tex BEGIN LyX Main Document translated into LaTeX ### %% LyX 1.4.3 created this file. For more info, see http://www.lyx.org/. %% Do not edit unless you really know what you are doing. \documentclass[11pt,a4paper,twoside,british,PhD,afrikaans,english,backref=page,colorlinks=true]{usthesis} \usepackage{times} \usepackage[T1]{fontenc} \usepackage[latin1]{inputenc} \usepackage{array} \usepackage{amsmath} \usepackage{graphicx} \usepackage{setspace} \doublespacing \usepackage[authoryear]{natbib} \makeatletter %% LyX specific LaTeX commands. \newcommand{\noun}[1]{\textsc{#1}} %% Because html converters don't know tabularnewline \providecommand{\tabularnewline}{\\} %% Textclass specific LaTeX commands. \usepackage[afrikaans, UKenglish]{babel} \usepackage{color} \definecolor{USmaroon}{rgb}{0.375,0.1328,0.2305} \definecolor{USgray}{rgb}{0.5469,0.5895,0.6016} \usepackage{graphicx} \usepackage[backref=page,breaklinks=true,colorlinks=true]{hyperref} \usepackage{thumbpdf} \usepackage{textcomp} \usepackage{lmodern} \usepackage{microtype} \newcommand{\address}{\adress} % spelling mistake in USThesis \AtBeginDocument{\renewcommand\bibname{References}} %% User specified LaTeX commands. \input{preamble.tex} \setcounter{chapter}{7} \usepackage{babel} \makeatother \begin{document} \input{Chapter_8_Hakea_and_biocontrol/Chapter_8_Hakea_and_Biocontrol.tex} \input{Chapter_9_Hankea_from_Area_Source/Chapter_9_Hakea_from_area_source.tex} \bibliographystyle{plainnatwithouturl} \cleardoublepage\addcontentsline{toc}{chapter}{\bibname}\bibliography{/home/rkrug/Documents/Publications/PhD/Literature,/home/rkrug/Documents/Publications/PhD/Reprint_Collection} \end{document} ### END LyX Main Document translated into LaTeX -- Rainer M. Krug, Dipl. Phys. (Germany), MSc Conservation Biology (UCT) Department of Conservation Ecology and Entomology University of Stellenbosch Matieland 7602 South Africa Tel:+27 - (0)72 808 2975 (w) Fax:+27 - (0)86 516 2782 Fax:+27 - (0)21 808 3304 (w) Cell: +27 - (0)83 9479 042 email: [EMAIL PROTECTED] [EMAIL PROTECTED]