Re: AW: Re: Chapter with numbering but without word chapter - more questions...
[EMAIL PROTECTED] wrote: Thank you very much! I did manage to get the numbering in front of my own chapter title and also got rid of the space above the chapter title. Great! However, I still have the space at the end of a chapter before a new chapter starts. Can I somehow let a new chapter start on the same page the last one ends? chapters start by default on a new page. However, write in preamble \renewcommand\chapter{\thispagestyle{plain}% [EMAIL PROTECTED]@ [EMAIL PROTECTED] [EMAIL PROTECTED]@schapter} Herbert
Re: Is this possible with lyx?
ZAVARISE GIORGIO wrote: Paul Smith [EMAIL PROTECTED] Oggetto: Re: Is this possible in lyx? Data: Tue, 25 Oct 2005 12:14:54 +0100 A:lyx-users@lists.lyx.org On 10/25/05, Herbert Voss [EMAIL PROTECTED] wrote: I just figured out how to disallow LaTeX to linebreak a math inline formula that resides in the end of a line. Sometimes they turn so awkward when they are breaked in the end of the line. With LaTeX I just type a formula in an \mbox and it solves my problem.. but what about lyx? how can I perform an \mbox in Lyx? .. I can of course input a latex code within lyx.. but it would be great if I could do it in a lyx way too so that I could also have the benefit of actually seeing to formula. _inside_ the math mode put all in braces { ... } no need for ERT Inside math mode, just write \mbox This solution does not need ERT as well. Paul I needed it also, and it works fine, thanks, but to see the box frame I used \fbox. enable the amsmath button and then use \boxed{...} inside the math mode, it is the better way Herbert
Re: LyX and xypic
David L. Johnson wrote: On Tue, 25 Oct 2005 13:44:54 +0200 (CEST) H. Peter Gumm [EMAIL PROTECTED] wrote: Hi, is there anyone working with LyX and xypic. Is there any support, or are there any workarounds to see commutative diagrams in their full glory within LyX. I usually kludge it by using a matrix. The only problem with that is that labels on the arrows need to be finagled to keep the arrow aligned (for a horizontal arrow, put a 3x1 submatrix in with the arrow in the center, the label on top, and a blank below). This will be somewhat short of full glory; for that you would, I presume, have to do it all in ERT. use psmatrix of the PSTricks package - http://PSTricks.tug.org Herbert
Re: textclass.lst
Stephen Harris wrote: I decided to test LyX 1.3.7pre2 (25 October 2005, 6.6MB) (for Windows XP) and so uninstalled LyX 1.3.6 and there was an error message during the install that the configure script failed to finish. I also had the start LyX box ticked. So after ok'ing the configure script error message LyX tried to start but failed with: couldn't find textclass.lst sorry has to exit. Hi, Stephen. Could you give me a detailed prescription on how to reproduce this? Regards, Angus
Re: How to set latex path on windows?
Scott Otterson wrote: Lyx 1.3.6 has worked well on my WinXP machine until today, when I loaded a copy of my resume and got the error message: 'Textclass error The document uses a missing Tex class cv. Lyx will not be able to produce output.' I've got a couple of cv.* things installed: c:/ProgsNoSpace/lyx/Resources/lyx/tex/cv.cls This won't be found by LaTeX. c:/ProgsNoSpace/texmf/tex/latex/cv/CV.sty This will, but it's in upper case, no? What should I set so that lyx can find them? That depends entirely on your LaTeX distribution. TeTeX has a texhash tool that you use to generate a ls-R file containing an index of all files in the distribution. MikTeX has an update files button or somesuch on its package manager. The general idea is that you don't mess with the official tree at all, but create a local tree for your own stuff. Thus, I put the cv.cls file at something like (don't have the Windows box in front of me ATM): C:\Program Files\MikTeX\ main\ ... local\ tex\ latex\ cv\ cv.cls and then told MikTeX's package manager about the local tree. HTH, Angus
Re: textclass.lst
- Original Message - From: Angus Leeming [EMAIL PROTECTED] To: lyx-users@lists.lyx.org Sent: Wednesday, October 26, 2005 2:26 AM Subject: Re: textclass.lst Stephen Harris wrote: I decided to test LyX 1.3.7pre2 (25 October 2005, 6.6MB) (for Windows XP) and so uninstalled LyX 1.3.6 and there was an error message during the install that the configure script failed to finish. I also had the start LyX box ticked. So after ok'ing the configure script error message LyX tried to start but failed with: couldn't find textclass.lst sorry has to exit. Hi, Stephen. Could you give me a detailed prescription on how to reproduce this? Regards, Angus Yes, I will do it again. I've deleted my original c:\Lyx install. I uninstalled Lyx137 from Control Panel because it won't start because of the missing textclass.lst error. I have deleted c:\program files\lyx and c:\documentss and settings\... \...\Application data\stephen\lyx so there is no lyx installation/files. Starting fresh then, I go to Control Panel, Add and Remove programs (which I will do as I type this email and report it step by step). I stored lyx137_2 in lyxfiles and I start the installation there. First thing is to approve English. Lyx install finds my 6 helper applications, msys, perl, python, ImageMagic, Texmf and ghostscript(gs) and says 'I will add them to the path_prefix string of lyxrc.defaults' then 'I agree' The next screen is choosing the install location. The default location is c:\program files\lyx (using lyx_setup_137_version2.exe) I don't want it there because I've experienced path with space problems with some other apps that interact with LyX. I tested the install with the default directory c:\program files\lyx and it certainly seem to install properly, no error messages. Instead I create C:\LyX and change the destination directory to C:\Lyx Then choose English again; I choose the default components to install: all users, desktop icon, file associations; And there is an Ok for a Lyx shortcut for startup (incidental). I click install. The output graphic to c:\lyx completes about 98%. Then says failed attempting to execute the configure script I click OK. The next screen appears: Completing the LyX Setup Wizard with a checkmark next to 'launch lyx' I click Finish Lyx then does it routine which normally results in the Lyx Welcome Screen being opened. But it doesn't, it says: Lyx wasn't able to find its layout descriptions! Check that the file textclass.lst is installed correctly. Sorry has to exit (:- The LyX icon does appear, and Lyx can be removed in Control Panel. Several installs ago I had to manually delete the Lyx directory which was under c:\documents and settings ... \stephen\lyx But that was already removed this time. Prior, Lyx136 installed to c:\lyx without error. To reproduce the error change the default destination directory from c:\program files\lyx to c:\LyX And as I said, if I do choose c:\program files\lyx , the install proceeds without error. So the helper apps are in order and they also worked before with Lyx136. However, I didn't notice whether C:\Aspell was recognized with Lyx137 which worked Lyx136. Regards, Stephen
Re: textclass.lst
Stephen Harris wrote: From: Angus Leeming I decided to test LyX 1.3.7pre2 (25 October 2005, 6.6MB) (for Windows XP) and so uninstalled LyX 1.3.6 and there was an error message during the install that the configure script failed to finish. I also had the start LyX box ticked. So after ok'ing the configure script error message LyX tried to start but failed with: couldn't find textclass.lst sorry has to exit. Hi, Stephen. Could you give me a detailed prescription on how to reproduce this? Yes, I will do it again. Stephen, you're a star! I'll try and reproduce this myself this evening. Regards, Angus
Custom layout and psmatrix from pstricks, 1.4.0pre2
Hi, I have some trouble when trying to getting this ERT to work correctly: \begin{psmatrix}[colsep=0.5cm] \psframebox{Yes} \psframebox{No} C \\ \psframebox{Yesy} \psframebox{No} C \\ \ncline{-}{1,1}{2,1} \end{psmatrix} I've put \usepackage{pst-node} in the document preamble. This works (ps2pdf) as long as I use the standard book layout. When I use pdflatex this does not work (as I understand obviously). On the other hand, if I generate pdf from my books (without any pstricks) with ps2pdf I get a complaint LaTex Error: Cannot determine size of graphic logo.png. But this works fine with pdflatex. Does anyone have a workaround? I run 1.4.0pre2. Maarten =my layout=== #% Do not delete the line below; configure depends on this # \DeclareLaTeXClass[book]{book in van Oord stijl} # Book textclass definition file. Taken from initial LyX source code # Author : Matthias Ettrich [EMAIL PROTECTED] # Transposed by Pascal André [EMAIL PROTECTED] # Heavily modifed and enhanced by serveral developers. # Input general definitions Input stdclass.inc Input numreport.inc # Global parameters. Sides 2 PageStyle Headings # There is no abstract environment in book.cls NoStyle Abstract # a few changes to the bibliography Style Bibliography TopSep4 LabelString Bibliography # label font definition LabelFont Series Bold SizeHuge EndFont End Preamble % Lettertype \usepackage[scaled=0.92]{helvet} \renewcommand{\familydefault}{\sfdefault} % Marges \addtolength{\evensidemargin}{-22pt} \addtolength{\voffset}{-0.3in} \oddsidemargin 0.0in \textwidth 6.3in \textheight 9.0in % Versiebeheer tags \usepackage{rcs} % Kop en voetteksten \usepackage{fancyhdr} \pagestyle{fancy} \renewcommand{\footrulewidth}{0.5pt} \renewcommand{\headrulewidth}{0.5pt} \newsavebox{\oordlogo} \savebox{\oordlogo}{\includegraphics[width=15mm]{logo.png}} \rhead{\usebox{\oordlogo}} \lhead{Left top} \chead{Middle top} \rfoot{Right bottom} \cfoot{\thepage} \lfoot{Left bottom} % Conditionele teksten \usepackage{ifthen} \newcommand{\boot}{Volvox Hopper} % file-namen afbreken \usepackage{path} \discretionaries |[EMAIL PROTECTED]*()_+`-=#{}[]:;,.?\/| % truukje om taakmenuhelpfile en %mainmenuhelpfile goed af te breken. k en u erbij, ' eruit % dit is wel tricky, maar voorlopig werkt het % Indexen en PDF opties \usepackage{chappg} \usepackage{tocbibind} \usepackage{cmap} \usepackage[ plainpages=false, %linktocpage=true, pdfpagelabels=true, pdftex, bookmarks=true, a4paper=true, pdfpagemode=UseOutlines, bookmarksnumbered=true]{hyperref} EndPreamble
Re: textclass.lst
- Original Message - From: Angus Leeming [EMAIL PROTECTED] To: lyx-users@lists.lyx.org Sent: Wednesday, October 26, 2005 2:26 AM Subject: Re: textclass.lst Hi, Stephen. Could you give me a detailed prescription on how to reproduce this? Regards, Angus This is an addendum to my first detailed reply. I reinstalled stable lyx-1.3.6_win32_setup_v1.exe to C:\Lyx and it installed and works as expected. I notice that I saw more of the underlying process of installation appearing in a command window during the lyx136 install than I saw with lyx137 install. But perhaps seeing that doslike process was deliberately suppressed. This is my current path_prefix statement from lyxrc.defaults \path_prefix C:\msys\1.0\bin;C:\Python24;C:\texmf\miktex\bin;C:\Perl\bin;C:\gs\gs8.13\bin;C:\ImageMagick which is also included and part of my Windows path. Regards, Stephen
Lyx Figure Placement
Hi I am using Lyx (1.3.5 on XP) to write my thesis and have the following questions. 1. How do I force every figure to start on a separate page? 2. How I force every figure to be on the right page? Thanks Santanu
Re: Custom layout and psmatrix from pstricks, 1.4.0pre2
maarten wrote: Hi, I have some trouble when trying to getting this ERT to work correctly: \begin{psmatrix}[colsep=0.5cm] \psframebox{Yes} \psframebox{No} C \\ \psframebox{Yesy} \psframebox{No} C \\ \ncline{-}{1,1}{2,1} \end{psmatrix} I've put \usepackage{pst-node} in the document preamble. This works (ps2pdf) as long as I use the standard book layout. When I use pdflatex this does not work (as I understand obviously). PSTricks - PostScript Tricks ... this cannot be compiled with pdflatex. However, unless you didn't use character expansion, ps2pdf does the same job. On the other hand, if I generate pdf from my books (without any pstricks) with ps2pdf I get a complaint LaTex Error: Cannot determine size of graphic logo.png. But this works fine with pdflatex. you should read some basic informations about LaTeX/pdflatex Does anyone have a workaround? I run 1.4.0pre2. latex - ps/eps images pdflatex - png,jpg,pdf images % Marges \addtolength{\evensidemargin}{-22pt} \addtolength{\voffset}{-0.3in} \oddsidemargin 0.0in \textwidth 6.3in \textheight 9.0in let this be done by geometry, at least by LyX \newsavebox{\oordlogo} \savebox{\oordlogo}{\includegraphics[width=15mm]{logo.png}} \rhead{\usebox{\oordlogo}} why did you put this in a box? Herbert
Re: multiinclude with beamer
Myriam Abramson [EMAIL PROTECTED] wrote: Hi! I desperately need to include some animation. I tried the multiinclude as in the Beamer's users guide but I got a file corrupted message with acroread (7.0). Any ideas? I am not sure exactly how to achieve this from the latex end, but under linux one of the best ways to add animations to a presentation is simply to include a link in the presentation to run a program like mplayer to show an animation clip. This may not be what you want, as it is more suited for showing small movie clips within a presentation. Does anyone know how to include a link that runs a system command like mplayer FILENAME?
Re: Lyx Figure Placement
Santanu Chakraborty [EMAIL PROTECTED] wrote: I am using Lyx (1.3.5 on XP) to write my thesis and have the following questions. 1. How do I force every figure to start on a separate page? I assume that this means you want every figure to be at the top of the page. Within Lyx, if you make sure that the figures are set inside a figure float (perhaps ask a question if this does not make sense). Collapse the float and then right click on the float symbol. You will get a set of check-box items, and if you de-select use default placement you can then select top of page. 2. How I force every figure to be on the right page? I can't help you with this one, but it may even be a similar solution.
Windows Lyx-1.3.6: Font problems in headings
Hello, I've tried to google for that but no success, maybe someone could help me here :-). I have some font problems with either dvi, ps, or pdf generated by lyx. With Yap (dvi) there is an error message (see below) and the font for chapters and sections (first level) are replaced by a default font. With GSView, the headings just disappears in (but not in the table of contents). With Pdf, Acrobat just replace the font with helvetica and Foxit will not show the heading. I have multiple document class but the results are with same. Thanks in advance for any hint, Abdel. _ Yap message _ Making PK font: D:\program\texmf\miktex\bin\makepk.exe --verbose ecsx2488 600 600 magstep(0.0) ljfour Trying to make PK font ecsx2488 (at 600 DPI)... Creating ecsx2488.pk... mf \mode:=ljfour; \mag:=magstep(0.0);nonstopmode;input ecsx2488 This is METAFONT, Version 2.71828 (MiKTeX 2.4) (D:\program\texmf\fonts\source\jknappen\ec\ecsx2488.mf (D:\program\texmf\fonts\source\jknappen\ec\exbase.mf ! This can't happen (copy). mode_def-(EXPR5000) :=incr.number_of_modes;mode_name[(EXPR5000)]:=str(EXPR50... to be read again = l.1140 mode_def canonical_sharp_mode = % nearly |proof| mode Transcript written on ecsx2488.log. METAFONT failed for some reason makepk: METAFONT failed on ecsx2488.
Some wishes
Hi all, I'm a new LyX user. I tried this editor for several days and liked it. But I also come up with many inconvinieces when using it. I wish lyx can be improved (in my perspective) in the following ways: 1. Things on the left part of the math panel (functions etc.) can also be organized in the same way as those on the right. Doing this will allow the math panel to be more flexibly resized (e.g. to be thing and tall, or wide and flat). 2. If the previous feature is acheived, I'd like the math panel be dockable onto the main window (in a way similar to that many other apps dock their tool panels). 3. The focus had better transfer back to the main edit window after clicking a symbol on the math panel, so that the user can imediately continue editing. (I'm using lyx qt front-end on both windows and linux, this does not happen to me). 4. TeXmacs defined a well orgnized set of short cuts for math editing (http://www.texmacs.org/tmweb/manual/webman-math.en.html). I think it will be nice if lyx adopt this or similar short cuts. Short cuts for symbols can be shown as tool tips on the math panel, to facilitate learning. 5. Is it possible to build a tool that assist writing lyx layout files by giving one (or more) example tex suorce(s)? This tool will have to PARTIALLY UNDERSTAND latex commands so as to identify enviroments and their attributes. Thanks for taking the time reading.
Re: Windows Lyx-1.3.6: Font problems in headings
YOUNES Abdelrazak / M3SYSTEM wrote: Hello, I've tried to google for that but no success, maybe someone could help me here :-). I have some font problems with either dvi, ps, or pdf generated by lyx. With Yap (dvi) there is an error message (see below) and the font for chapters and sections (first level) are replaced by a default font. With GSView, the headings just disappears in (but not in the table of contents). With Pdf, Acrobat just replace the font with helvetica and Foxit will not show the heading. I have multiple document class but the results are with same. Thanks in advance for any hint, You should try the MikTeX users list... I believe I've seen similar in the past after I upgraded my MikTeX distribution; basically you need to regenerate some database files within MikTeX. Is therenot some menu item on the MikTeX package manager Rebuild databases or somesuch? The MikTeX archives/list will have the definitive answer. Angus
Re: Custom layout and psmatrix from pstricks, 1.4.0pre2
Herbert, It's solved! But I still have some questions. See below. On Wed, 2005-10-26 at 13:45 +0200, Herbert Voss wrote: maarten wrote: Hi, I have some trouble when trying to getting this ERT to work correctly: \begin{psmatrix}[colsep=0.5cm] \psframebox{Yes} \psframebox{No} C \\ \psframebox{Yesy} \psframebox{No} C \\ \ncline{-}{1,1}{2,1} \end{psmatrix} I've put \usepackage{pst-node} in the document preamble. This works (ps2pdf) as long as I use the standard book layout. When I use pdflatex this does not work (as I understand obviously). PSTricks - PostScript Tricks ... this cannot be compiled with pdflatex. However, unless you didn't use character expansion, ps2pdf does the same job. On the other hand, if I generate pdf from my books (without any pstricks) with ps2pdf I get a complaint LaTex Error: Cannot determine size of graphic logo.png. But this works fine with pdflatex. you should read some basic informations about LaTeX/pdflatex Does anyone have a workaround? I run 1.4.0pre2. latex - ps/eps images pdflatex - png,jpg,pdf images I know the latex basics, but I forgot to mention that also when I use logo.eps it happened. In the mean time I found out logo.png in the header works for pdflatex as long as you put another image somewhere in the document. If you use ps2pdf you NEED logo.eps. In the rest of the document you can still use other types of images, lyx takes care about that. After some trail and error I found out: The solution is to remove \usepackage{cmap} (why?) and - off course - put ps2pdf instead of pdftex in the hyperref options in the preamble. % Marges \addtolength{\evensidemargin}{-22pt} \addtolength{\voffset}{-0.3in} \oddsidemargin 0.0in \textwidth 6.3in \textheight 9.0in let this be done by geometry, at least by LyX Is that really needed? I try to keep the user interaction about document layout as low possible so I specified this in the layout Preamble. \newsavebox{\oordlogo} \savebox{\oordlogo}{\includegraphics[width=15mm]{logo.png}} \rhead{\usebox{\oordlogo}} why did you put this in a box? I don't know, I copied a sample I found somewhere and it worked. This works also and is perhaps 'cleaner' code: \rhead{\includegraphics[width=15mm]{logo.eps}} Herbert Maarten
Re: Windows Lyx-1.3.6: Font problems in headings
Angus Leeming [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] YOUNES Abdelrazak / M3SYSTEM wrote: I believe I've seen similar in the past after I upgraded my MikTeX distribution; basically you need to regenerate some database files within MikTeX. Is therenot some menu item on the MikTeX package manager Rebuild databases or somesuch? There is Repository-Synchronise but nothing solved. I have tried also the Refresh Now button in the General Options dialog but nothing solved also. The MikTeX archives/list will have the definitive answer. I will try, sorry for the noise. Thanks for the windows version by the way it made me come back to lyx ;-) Abdel Angus
Re: Windows Lyx-1.3.6: Font problems in headings
The Refresh Now button in the Miktek options solved the problem. Thanks! Abdel. Angus Leeming [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] YOUNES Abdelrazak / M3SYSTEM wrote: Hello, I've tried to google for that but no success, maybe someone could help me here :-). I have some font problems with either dvi, ps, or pdf generated by lyx. With Yap (dvi) there is an error message (see below) and the font for chapters and sections (first level) are replaced by a default font. With GSView, the headings just disappears in (but not in the table of contents). With Pdf, Acrobat just replace the font with helvetica and Foxit will not show the heading. I have multiple document class but the results are with same. Thanks in advance for any hint, You should try the MikTeX users list... I believe I've seen similar in the past after I upgraded my MikTeX distribution; basically you need to regenerate some database files within MikTeX. Is therenot some menu item on the MikTeX package manager Rebuild databases or somesuch? The MikTeX archives/list will have the definitive answer. Angus
Re: updating postscript file, but not eepic picture
Gunnar wrote: Hi. I have a LyX (1.3.6) file that contains a reference to an eepic file that is be included with \input command. That works, but when I change in the eepic file, the LyX files preview is not updataed, even though I use update postscript/ view postscript and reloads the postscript file. What can I do to fix this problem? Does closing and reopening the LyX document rectify the problem? Paul
Re: updating postscript file, but not eepic picture
Does closing and reopening the LyX document rectify the problem? Don't know, but going to sleep, start from the beginning and be aware of what I'm doing solved it. Sorry for bothering you with my mistakes.
Finding the Reason xdvi Output Disappeared
I just upgraded all the systems here to Slackware-10.2. I've been busy developing beamer presentations (another one to be done in the next couple of weeks), so I've been viewing compiled output with pdflatex. Yesterday, however, I wrote a short article and tried to view the output by pressing ctrl-d. The status line shows the compiler at work, but there is no display. Here's the log file: This is TeX, Version 3.14159 (Web2C 7.4.5) (format=latex 2003.3.8) 26 OCT 2005 09:27 **st-andrews-prize.phase-1.tex (./st-andrews-prize.phase-1.tex LaTeX2e 2001/06/01 Babel v3.7h and hyphenation patterns for american, french, german, ngerman, n ohyphenation, loaded. (/usr/share/texmf/tex/latex/base/article.cls Document Class: article 2001/04/21 v1.4e Standard LaTeX document class (/usr/share/texmf/tex/latex/base/size10.clo File: size10.clo 2001/04/21 v1.4e Standard LaTeX file (size option) ) [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] \abovecaptionskip=\skip41 \belowcaptionskip=\skip42 \bibindent=\dimen102 ) (/usr/share/texmf/tex/latex/psnfss/palatino.sty Package: palatino 2002/09/08 PSNFSS-v9.0a (SPQR) ) (/usr/share/texmf/tex/latex/base/fontenc.sty Package: fontenc 2001/06/05 v1.94 Standard LaTeX package (/usr/share/texmf/tex/latex/base/t1enc.def File: t1enc.def 2001/06/05 v1.94 Standard LaTeX file LaTeX Font Info:Redeclaring font encoding T1 on input line 38. )) (/usr/share/texmf/tex/latex/base/inputenc.sty Package: inputenc 2001/07/10 v0.99a Input encoding file (/usr/share/texmf/tex/latex/base/latin1.def File: latin1.def 2001/07/10 v0.99a Input encoding file )) (/usr/share/texmf/tex/latex/fancyhdr/fancyhdr.sty \headwidth=\dimen103 ) (/usr/share/texmf/tex/generic/babel/babel.sty Package: babel 2001/03/01 v3.7h The Babel package (/usr/share/texmf/tex/generic/babel/english.ldf Language: english 2001/04/15 v3.3l English support from the babel system (/usr/share/texmf/tex/generic/babel/babel.def File: babel.def 2001/03/01 v3.7h Babel common definitions [EMAIL PROTECTED] [EMAIL PROTECTED] ) [EMAIL PROTECTED] = a dialect from [EMAIL PROTECTED] )) No file st-andrews-prize.phase-1.aux. \openout1 = `st-andrews-prize.phase-1.aux'. LaTeX Font Info:Checking defaults for OML/cmm/m/it on input line 18. LaTeX Font Info:... okay on input line 18. LaTeX Font Info:Checking defaults for T1/cmr/m/n on input line 18. LaTeX Font Info:... okay on input line 18. LaTeX Font Info:Checking defaults for OT1/cmr/m/n on input line 18. LaTeX Font Info:... okay on input line 18. LaTeX Font Info:Checking defaults for OMS/cmsy/m/n on input line 18. LaTeX Font Info:... okay on input line 18. LaTeX Font Info:Checking defaults for OMX/cmex/m/n on input line 18. LaTeX Font Info:... okay on input line 18. LaTeX Font Info:Checking defaults for U/cmr/m/n on input line 18. LaTeX Font Info:... okay on input line 18. LaTeX Font Info:Try loading font information for T1+ppl on input line 18. (/usr/share/texmf/tex/latex/psnfss/t1ppl.fd File: t1ppl.fd 2001/06/04 font definitions for T1/ppl. ) LaTeX Font Info:External font `cmex10' loaded for size (Font) 12 on input line 22. LaTeX Font Info:External font `cmex10' loaded for size (Font) 8 on input line 22. LaTeX Font Info:External font `cmex10' loaded for size (Font) 6 on input line 22. LaTeX Warning: No \author given. [1 ] [2] (./st-andrews-prize.phase-1.aux) ) Here is how much of TeX's memory you used: 899 strings out of 95847 9400 string characters out of 1195949 59003 words of memory out of 101 3872 multiletter control sequences out of 1+5 10896 words of font info for 28 fonts, out of 50 for 1000 14 hyphenation exceptions out of 1000 30i,10n,43p,185b,333s stack positions out of 1500i,500n,5000p,20b,5000s Output written on st-andrews-prize.phase-1.dvi (2 pages, 4388 bytes). So, why don't I see anything? Rich -- Dr. Richard B. Shepard, President | Author of Quantifying Environmental Applied Ecosystem Services, Inc. (TM) | Impact Assessments Using Fuzzy Logic http://www.appl-ecosys.com Voice: 503-667-4517 Fax: 503-667-8863
lyx-gtk compilation error
Trying to compile lyx with gtk frontend (./configure --with-frontend=gtk xforms --disable debug) I get the following errors: ../xforms/FormPreferences.h:18:23: error: lyx_forms.h: No such file or directory ../xforms/FormPreferences.h:98 error: 'FL_FREE_COL15' was not declared in this scope ../xforms/FormPreferences.h:98 error: 'FL_FREE_COL16' was not declared in this scope Am I supposed to compile lyx-xforms before trying with gtk??
Forcing LyX to retypeset included files?
I have a LyX file for a book that essentially contains a list of include statements for the single chapters. Additionally, it has a long preamble with all the formatting instructions. Since I am now fiddling with formatting details, I would like LyX/LaTeX to typeset everything from scratch whenever I chose the ViewPDF option. Is it possible to do that? Most of the times LyX seems to relies on the previously generated files. Thanks for the help, Stefano __ Stefano Franchi Department of Philosophy Ph: (64) 9 373-7599 x83940 University Of Auckland Fax: (64) 9 373-7408 Private Bag 92019 [EMAIL PROTECTED] Auckland New Zealand
Re: lyx-gtk compilation error
Ok, sorry for bothering ... my fault ... it should have been --with-frontend=xforms gtk 2005/10/26, Luca Nicotra [EMAIL PROTECTED]: Trying to compile lyx with gtk frontend (./configure --with-frontend=gtk xforms --disable debug) I get the following errors: ../xforms/FormPreferences.h:18:23: error: lyx_forms.h: No such file or directory ../xforms/FormPreferences.h:98 error: 'FL_FREE_COL15' was not declared in this scope ../xforms/FormPreferences.h:98 error: 'FL_FREE_COL16' was not declared in this scope Am I supposed to compile lyx-xforms before trying with gtk??
Re: Forcing LyX to retypeset included files?
Stefano Franchi schrieb: I have a LyX file for a book that essentially contains a list of include statements for the single chapters. Additionally, it has a long preamble with all the formatting instructions. Since I am now fiddling with formatting details, I would like LyX/LaTeX to typeset everything from scratch whenever I chose the ViewPDF option. Is it possible to do that? Most of the times LyX seems to relies on the previously generated files. Thanks for the help, Stefano Hi, could you check whether or not your problem is related to bug 1992? http://bugzilla.lyx.org/show_bug.cgi?id=1992 good luck, sven
Re: Is this possible with lyx?
On 10/25/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I thought I'd add the stuff below to the wiki, but first I'd like to check that it's correct (since I haven't tried it myself). Question: How can I disallow LaTeX to linebreak an inlined math formula? (This is typically useful for formulas at the end of a line) Answer: You can put the formula inside an mbox to prevent LaTeX from splitting up the formula. The steps can be summarized as follows: 1) Go to math mode (inline formula or display formula) 2) Type \mbox and then a press carriage return or the spacebar 3) The text \mbox disappear and a box appears 4) Type the equation inside the box Note that if you'd like a frame around your equation, you can use fbox instead of mbox. - Christian, I think the text below is correct and appropiate. Regards, Paul Question: How can I disallow LaTeX to linebreak an inlined math formula? (This is typically useful for formulas at the end of a line) Answer: You can put the formula inside an mbox to prevent LaTeX from splitting up the formula. The steps can be summarized as follows: 1) Go to math mode (inline formula or display formula) 2) Type \mbox and then a press carriage return or the spacebar 3) The text \mbox disappears and a box appears 4) Select math mode 5) Type the equation inside the box Alternatively to the above solution, you can type, inside math mode, \{ and \}, respectively, before and after your formula. Question: How can I insert a frame around my equation? 1) Go to math mode (inline formula or display formula) 2) Type \boxed and then a press carriage return or the spacebar 3) The text \boxed disappears and a framed box appears 4) Type the equation inside the box
Re: Finding the Reason xdvi Output Disappeared
Rich Shepard wrote: I just upgraded all the systems here to Slackware-10.2. I've been busy developing beamer presentations (another one to be done in the next couple of weeks), so I've been viewing compiled output with pdflatex. Yesterday, however, I wrote a short article and tried to view the output by pressing ctrl-d. The status line shows the compiler at work, but there is no display. Here's the log file: This is TeX, Version 3.14159 (Web2C 7.4.5) (format=latex 2003.3.8) 26 OCT 2005 09:27 **st-andrews-prize.phase-1.tex (./st-andrews-prize.phase-1.tex LaTeX2e 2001/06/01 Babel v3.7h and hyphenation patterns for american, french, german, ngerman, n ohyphenation, loaded. (/usr/share/texmf/tex/latex/base/article.cls Document Class: article 2001/04/21 v1.4e Standard LaTeX document class (/usr/share/texmf/tex/latex/base/size10.clo File: size10.clo 2001/04/21 v1.4e Standard LaTeX file (size option) ) [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] \abovecaptionskip=\skip41 \belowcaptionskip=\skip42 \bibindent=\dimen102 ) (/usr/share/texmf/tex/latex/psnfss/palatino.sty Package: palatino 2002/09/08 PSNFSS-v9.0a (SPQR) ) (/usr/share/texmf/tex/latex/base/fontenc.sty Package: fontenc 2001/06/05 v1.94 Standard LaTeX package (/usr/share/texmf/tex/latex/base/t1enc.def File: t1enc.def 2001/06/05 v1.94 Standard LaTeX file LaTeX Font Info:Redeclaring font encoding T1 on input line 38. )) (/usr/share/texmf/tex/latex/base/inputenc.sty Package: inputenc 2001/07/10 v0.99a Input encoding file (/usr/share/texmf/tex/latex/base/latin1.def File: latin1.def 2001/07/10 v0.99a Input encoding file )) (/usr/share/texmf/tex/latex/fancyhdr/fancyhdr.sty \headwidth=\dimen103 ) (/usr/share/texmf/tex/generic/babel/babel.sty Package: babel 2001/03/01 v3.7h The Babel package (/usr/share/texmf/tex/generic/babel/english.ldf Language: english 2001/04/15 v3.3l English support from the babel system (/usr/share/texmf/tex/generic/babel/babel.def File: babel.def 2001/03/01 v3.7h Babel common definitions [EMAIL PROTECTED] [EMAIL PROTECTED] ) [EMAIL PROTECTED] = a dialect from [EMAIL PROTECTED] )) No file st-andrews-prize.phase-1.aux. \openout1 = `st-andrews-prize.phase-1.aux'. LaTeX Font Info:Checking defaults for OML/cmm/m/it on input line 18. LaTeX Font Info:... okay on input line 18. LaTeX Font Info:Checking defaults for T1/cmr/m/n on input line 18. LaTeX Font Info:... okay on input line 18. LaTeX Font Info:Checking defaults for OT1/cmr/m/n on input line 18. LaTeX Font Info:... okay on input line 18. LaTeX Font Info:Checking defaults for OMS/cmsy/m/n on input line 18. LaTeX Font Info:... okay on input line 18. LaTeX Font Info:Checking defaults for OMX/cmex/m/n on input line 18. LaTeX Font Info:... okay on input line 18. LaTeX Font Info:Checking defaults for U/cmr/m/n on input line 18. LaTeX Font Info:... okay on input line 18. LaTeX Font Info:Try loading font information for T1+ppl on input line 18. (/usr/share/texmf/tex/latex/psnfss/t1ppl.fd File: t1ppl.fd 2001/06/04 font definitions for T1/ppl. ) LaTeX Font Info:External font `cmex10' loaded for size (Font) 12 on input line 22. LaTeX Font Info:External font `cmex10' loaded for size (Font) 8 on input line 22. LaTeX Font Info:External font `cmex10' loaded for size (Font) 6 on input line 22. LaTeX Warning: No \author given. [1 ] [2] (./st-andrews-prize.phase-1.aux) ) Here is how much of TeX's memory you used: 899 strings out of 95847 9400 string characters out of 1195949 59003 words of memory out of 101 3872 multiletter control sequences out of 1+5 10896 words of font info for 28 fonts, out of 50 for 1000 14 hyphenation exceptions out of 1000 30i,10n,43p,185b,333s stack positions out of 1500i,500n,5000p,20b,5000s Output written on st-andrews-prize.phase-1.dvi (2 pages, 4388 bytes). So, why don't I see anything? Rich Best guess(es): either the upgrade munged xdvi, or the path to xdvi that LyX is using is wrong. To rule out the first, try exporting the doc as a DVI and then running xdvi against it manually. This is what you get for upgrading. Whatever happened to if it ain't broke, don't fix it? :-) Paul
Re: Finding the Reason xdvi Output Disappeared
On Wed, 26 Oct 2005, Paul A. Rubin wrote: To rule out the first, try exporting the doc as a DVI and then running xdvi against it manually. Paul, Sigh. Why didn't I think of this? (That's a rhetorical question, by the way.) For some reason, the t1lib was not upgraded. No library, no display. This is what you get for upgrading. Whatever happened to if it ain't broke, don't fix it? :-) Well, one of the major benefits of Slackware -- for me -- is that it's far back from the bleeding edge. I upgrade only when Patrick releases a new suite of packages; otherwise, only security patches are applied. Unlike others, I don't run daily or weekly upgrades for apt-get, up2date, or yum. There's another way of looking at that old wives' tale: if it ain't broke, break it. :-) That's how we progress. Many thanks, Rich -- Dr. Richard B. Shepard, President | Author of Quantifying Environmental Applied Ecosystem Services, Inc. (TM) | Impact Assessments Using Fuzzy Logic http://www.appl-ecosys.com Voice: 503-667-4517 Fax: 503-667-8863
Re: Finding the Reason xdvi Output Disappeared
* Rich Shepard [EMAIL PROTECTED], 2005-10-26 18:40 +0200: I just upgraded all the systems here to Slackware-10.2. I've been busy developing beamer presentations (another one to be done in the next couple of weeks), so I've been viewing compiled output with pdflatex. Yesterday, however, I wrote a short article and tried to view the output by pressing ctrl-d. The status line shows the compiler at work, but there is no display. Here's the log file: This is TeX, Version 3.14159 (Web2C 7.4.5) (format=latex 2003.3.8) 26 OCT 2005 09:27 **st-andrews-prize.phase-1.tex [...] Output written on st-andrews-prize.phase-1.dvi (2 pages, 4388 bytes). So, why don't I see anything? You have to define a viewer like \format dvi dvi DVI D xdvi in ~/.lyx/preferences -Andre
Re: Finding the Reason xdvi Output Disappeared
On Wed, 26 Oct 2005, Andre Berger wrote: You have to define a viewer like \format dvi dvi DVI D xdvi No, that's not it. It turns out that apparently xdvi is behind the t1 libraries. The application is looking for libt1.so.1, and the current version of the library is libt1.so.5.1.0. The upgrade made the proper soft link so that libt1.so.5 points to the executable's node, but xdvi can't use that. I made an additional soft link and now xdvi is happy. So am I. Rich -- Dr. Richard B. Shepard, President | Author of Quantifying Environmental Applied Ecosystem Services, Inc. (TM) | Impact Assessments Using Fuzzy Logic http://www.appl-ecosys.com Voice: 503-667-4517 Fax: 503-667-8863
Re: Finding the Reason xdvi Output Disappeared
* Rich Shepard [EMAIL PROTECTED], 2005-10-26 21:20 +0200: On Wed, 26 Oct 2005, Andre Berger wrote: You have to define a viewer like \format dvi dvi DVI D xdvi No, that's not it. It turns out that apparently xdvi is behind the t1 libraries. The application is looking for libt1.so.1, and the current version of the library is libt1.so.5.1.0. The upgrade made the proper soft link so that libt1.so.5 points to the executable's node, but xdvi can't use that. I made an additional soft link and now xdvi is happy. So am I. Glad you solved it. -Andre
Re: Finding the Reason xdvi Output Disappeared
On Wed, 26 Oct 2005, Andre Berger wrote: Glad you solved it. Andre, Thanks! I am, too. Now I'm trying to learn why the error occurred in the first place. I suspect it's the way xdvi was packaged. Rich -- Dr. Richard B. Shepard, President | Author of Quantifying Environmental Applied Ecosystem Services, Inc. (TM) | Impact Assessments Using Fuzzy Logic http://www.appl-ecosys.com Voice: 503-667-4517 Fax: 503-667-8863
period after author in reference list
hello i have this irritating problem that i cannot figure out why i get a comma instead of a period between the author block and the date block in my reference list. the bst file is custom made with makebst: http://130.226.106.174/~paste/cgi-bin/mol_reprod_dev.bst http://130.226.106.174/~paste/cgi-bin/mol_reprod_dev.dbj if anyone is good at this, i would dearly like some advice! sincerely martin
Re: Lyx Figure Placement
On Wed, Oct 26, 2005 at 07:45:51AM -0400, Santanu Chakraborty wrote: Hi I am using Lyx (1.3.5 on XP) to write my thesis and have the following questions. 1. How do I force every figure to start on a separate page? A little unclear what you mean. _only_ the figure on that page, or the figure first on that page and perhaps some text too if the figure didn't need the whole page? This is taken from lyx-1.4, but lyx-1.3 have much of the same options: Insert a figure float, put the figure in that. Right-click the float in order to bring up placement options. Use top of page if you want the float to appear first on a page, while also allowing text. Use page of floats to put the float on a page of its own, without any text interfering. If your figures are small, then several might go on the same page. If you don't like that, then the easy way is to make the float bigger so nothing more fits. Another and better option, use ERT: \setcounter{totalnumber}{1} for maximum one float per page. 2. How I force every figure to be on the right page? I know of no lyx specific way, but surely latex can do this. Look up exiting latex tips, and put the latex command(s) you need in ERT or the preamble. Ask on a latex maling list if you can't find this from here. www.lyx.org have some links to latex tip pages, I believe. Helge Hafting
Re: Forcing LyX to retypeset included files?
On Oct 26, 2005, at 10:28 AM, Sven Schreiber wrote: Stefano Franchi schrieb: I have a LyX file for a book that essentially contains a list of include statements for the single chapters. Additionally, it has a long preamble with all the formatting instructions. Since I am now fiddling with formatting details, I would like LyX/LaTeX to typeset everything from scratch whenever I chose the ViewPDF option. Is it possible to do that? Most of the times LyX seems to relies on the previously generated files. Thanks for the help, Stefano Hi, could you check whether or not your problem is related to bug 1992? http://bugzilla.lyx.org/show_bug.cgi?id=1992 Yes, it seems to be related, but I am not sure exactly how. My situation is a bit more complex than what you and Paul described in the bug report, as I have about 10 files included in the master file. I have not been able to track down what triggers the update and what doesn't. I suppose I will have to use the add a space/delete a space trick on all of them to force LyX to update. I have added a few lines describing my situation to the bug report. BTW, I could not find a panel in LyX preference related to the /temp directory. Do you know where it is? Cheers, S. good luck, sven __ Stefano Franchi Department of Philosophy Ph: (64) 9 373-7599 x83940 University Of Auckland Fax: (64) 9 373-7408 Private Bag 92019 [EMAIL PROTECTED] Auckland New Zealand
Re: Forcing LyX to retypeset included files?
Stefano Franchi wrote: BTW, I could not find a panel in LyX preference related to the /temp directory. Do you know where it is? Edit-Preferences-Paths has a check box for whether to use a temp directory; next to that is a box to enter the path (and a browse button for non-typists). Paul
[announce] beta release of new LyXWin installer
Hello LyXers, I followed the discussion on this and the lyx-devel list about the installer for LyXWin. As consequence especially from this article: http://www.heise.de/newsticker/meldung/61789 (in german) I decided to write a new one that includes all neccessary files and programs. The installer installs a full functional LaTeX-environment on Windows. This are in detail - math fonts needed by LyX - needed python, perl, and UNIX shell files - basic installation of MiKTeX - ImageMagick - Ghostscript - Aspell - GSview (optional) - LyX 1.3.6 (with complete documentation) The installer analyses your system and installs only the missing programs. The big advantage is the guidance through the installation process. All program versions are tested to work together and are installed in the correct order and the correct folders. This assures to get a working LyX installation. (For example actual versions of ImageMagick have problems with EPS-files. That's why the installer includes an older version without this problem.) The first beta release 0.1 of the installer can be downloaded from: http://developer.berlios.de/project/showfiles.php?group_id=5117 There are two versions available: - Complete; contains all programs listed above - Small; doesn't contain MiKTeX and GSview (to reduce the download time) PLEASE READ THE README FILES CAREFULLY BEFORE STARTING THE INSTALLER! Note that this is the first release that might have bugs, so please save your LyX-files before trying out the installer. It is very difficult to take care of all eventualities of different Windows installations, so I need your feedback. Please report bugs to this bugtracker: http://developer.berlios.de/bugs/?group_id=5117 or directly to me. At this point I want to thank Angus Leeming for his help - and without him no LyX for Windows! I'm curious about your opinions and comments. regards Uwe p.s. The installer is only partly internationalized, if you want to improve this, grab the source scripts http://download.berlios.de/lyxwininstall/LyXPackage-0-1.rar and follow the instructions in http://download.berlios.de/lyxwininstall/ReadmeScripts.txt Someone could also improve my bad english ;-) p.p.s. Can someone send me a LyX-file in the LyX1.2.x format for testing some conversion scripts? Thanks in advance.
do we have something like #ifdef from C in LyX? (multipart documents with common macros)
Hello guys, I'm sorry to bother you with something that's must have been answered many times, but I can't find a quick answer in the documentation. I've just discovered the beauty of multipart documents. But I almost instantly ran into problems. What happens is the following. I have a big document (thesis :)) with a lot of math-macro commands defined at the very beginning. After my recent casual browsing through the documentation I rediscovered that I can have my long document split into parts. Happily, I divideded my thesis into files: each chapter now has its own file. The problem is how to share the macros defined originally once at the top of the long document. I created one more file containing only the macros and then I inputted it into each of the files with the individual chapters. The chapters compile fine, however, the master won't compile because of multiple definition of the same macros. So, I'm looking for conditional compilation... something from C header files.. Or is there something more elegant that I'm not seeing? THANK YOU! David
Re: Some wishes
1. Things on the left part of the math panel (functions etc.) can also .. 2. If the previous feature is acheived, I'd like the math panel be ... I uaually use \symbol or shortcuts but a dockable math panel would be nice. Note that 1.4.0 has better toolbars. 4. TeXmacs defined a well orgnized set of short cuts for math editing (http://www.texmacs.org/tmweb/manual/webman-math.en.html). I think it will be nice if lyx adopt this or similar short cuts. Short cuts for symbols can be shown as tool tips on the math panel, to facilitate learning. One of the biggest advantages of lyx is that you can define shortcuts easily. If you want a math-oriented shortcut set, you can use my shortcuts available at http://wiki.lyx.org/LyX/KeyboardShortcuts . A reference card is provided. Bo
Re: AW: Re: Chapter with numbering but without word chapter - more questions...
[EMAIL PROTECTED] wrote: Thank you very much! I did manage to get the numbering in front of my own chapter title and also got rid of the space above the chapter title. Great! However, I still have the space at the end of a chapter before a new chapter starts. Can I somehow let a new chapter start on the same page the last one ends? chapters start by default on a new page. However, write in preamble \renewcommand\chapter{\thispagestyle{plain}% [EMAIL PROTECTED]@ [EMAIL PROTECTED] [EMAIL PROTECTED]@schapter} Herbert
Re: Is this possible with lyx?
ZAVARISE GIORGIO wrote: Paul Smith [EMAIL PROTECTED] Oggetto: Re: Is this possible in lyx? Data: Tue, 25 Oct 2005 12:14:54 +0100 A:lyx-users@lists.lyx.org On 10/25/05, Herbert Voss [EMAIL PROTECTED] wrote: I just figured out how to disallow LaTeX to linebreak a math inline formula that resides in the end of a line. Sometimes they turn so awkward when they are breaked in the end of the line. With LaTeX I just type a formula in an \mbox and it solves my problem.. but what about lyx? how can I perform an \mbox in Lyx? .. I can of course input a latex code within lyx.. but it would be great if I could do it in a lyx way too so that I could also have the benefit of actually seeing to formula. _inside_ the math mode put all in braces { ... } no need for ERT Inside math mode, just write \mbox This solution does not need ERT as well. Paul I needed it also, and it works fine, thanks, but to see the box frame I used \fbox. enable the amsmath button and then use \boxed{...} inside the math mode, it is the better way Herbert
Re: LyX and xypic
David L. Johnson wrote: On Tue, 25 Oct 2005 13:44:54 +0200 (CEST) H. Peter Gumm [EMAIL PROTECTED] wrote: Hi, is there anyone working with LyX and xypic. Is there any support, or are there any workarounds to see commutative diagrams in their full glory within LyX. I usually kludge it by using a matrix. The only problem with that is that labels on the arrows need to be finagled to keep the arrow aligned (for a horizontal arrow, put a 3x1 submatrix in with the arrow in the center, the label on top, and a blank below). This will be somewhat short of full glory; for that you would, I presume, have to do it all in ERT. use psmatrix of the PSTricks package - http://PSTricks.tug.org Herbert
Re: textclass.lst
Stephen Harris wrote: I decided to test LyX 1.3.7pre2 (25 October 2005, 6.6MB) (for Windows XP) and so uninstalled LyX 1.3.6 and there was an error message during the install that the configure script failed to finish. I also had the start LyX box ticked. So after ok'ing the configure script error message LyX tried to start but failed with: couldn't find textclass.lst sorry has to exit. Hi, Stephen. Could you give me a detailed prescription on how to reproduce this? Regards, Angus
Re: How to set latex path on windows?
Scott Otterson wrote: Lyx 1.3.6 has worked well on my WinXP machine until today, when I loaded a copy of my resume and got the error message: 'Textclass error The document uses a missing Tex class cv. Lyx will not be able to produce output.' I've got a couple of cv.* things installed: c:/ProgsNoSpace/lyx/Resources/lyx/tex/cv.cls This won't be found by LaTeX. c:/ProgsNoSpace/texmf/tex/latex/cv/CV.sty This will, but it's in upper case, no? What should I set so that lyx can find them? That depends entirely on your LaTeX distribution. TeTeX has a texhash tool that you use to generate a ls-R file containing an index of all files in the distribution. MikTeX has an update files button or somesuch on its package manager. The general idea is that you don't mess with the official tree at all, but create a local tree for your own stuff. Thus, I put the cv.cls file at something like (don't have the Windows box in front of me ATM): C:\Program Files\MikTeX\ main\ ... local\ tex\ latex\ cv\ cv.cls and then told MikTeX's package manager about the local tree. HTH, Angus
Re: textclass.lst
- Original Message - From: Angus Leeming [EMAIL PROTECTED] To: lyx-users@lists.lyx.org Sent: Wednesday, October 26, 2005 2:26 AM Subject: Re: textclass.lst Stephen Harris wrote: I decided to test LyX 1.3.7pre2 (25 October 2005, 6.6MB) (for Windows XP) and so uninstalled LyX 1.3.6 and there was an error message during the install that the configure script failed to finish. I also had the start LyX box ticked. So after ok'ing the configure script error message LyX tried to start but failed with: couldn't find textclass.lst sorry has to exit. Hi, Stephen. Could you give me a detailed prescription on how to reproduce this? Regards, Angus Yes, I will do it again. I've deleted my original c:\Lyx install. I uninstalled Lyx137 from Control Panel because it won't start because of the missing textclass.lst error. I have deleted c:\program files\lyx and c:\documentss and settings\... \...\Application data\stephen\lyx so there is no lyx installation/files. Starting fresh then, I go to Control Panel, Add and Remove programs (which I will do as I type this email and report it step by step). I stored lyx137_2 in lyxfiles and I start the installation there. First thing is to approve English. Lyx install finds my 6 helper applications, msys, perl, python, ImageMagic, Texmf and ghostscript(gs) and says 'I will add them to the path_prefix string of lyxrc.defaults' then 'I agree' The next screen is choosing the install location. The default location is c:\program files\lyx (using lyx_setup_137_version2.exe) I don't want it there because I've experienced path with space problems with some other apps that interact with LyX. I tested the install with the default directory c:\program files\lyx and it certainly seem to install properly, no error messages. Instead I create C:\LyX and change the destination directory to C:\Lyx Then choose English again; I choose the default components to install: all users, desktop icon, file associations; And there is an Ok for a Lyx shortcut for startup (incidental). I click install. The output graphic to c:\lyx completes about 98%. Then says failed attempting to execute the configure script I click OK. The next screen appears: Completing the LyX Setup Wizard with a checkmark next to 'launch lyx' I click Finish Lyx then does it routine which normally results in the Lyx Welcome Screen being opened. But it doesn't, it says: Lyx wasn't able to find its layout descriptions! Check that the file textclass.lst is installed correctly. Sorry has to exit (:- The LyX icon does appear, and Lyx can be removed in Control Panel. Several installs ago I had to manually delete the Lyx directory which was under c:\documents and settings ... \stephen\lyx But that was already removed this time. Prior, Lyx136 installed to c:\lyx without error. To reproduce the error change the default destination directory from c:\program files\lyx to c:\LyX And as I said, if I do choose c:\program files\lyx , the install proceeds without error. So the helper apps are in order and they also worked before with Lyx136. However, I didn't notice whether C:\Aspell was recognized with Lyx137 which worked Lyx136. Regards, Stephen
Re: textclass.lst
Stephen Harris wrote: From: Angus Leeming I decided to test LyX 1.3.7pre2 (25 October 2005, 6.6MB) (for Windows XP) and so uninstalled LyX 1.3.6 and there was an error message during the install that the configure script failed to finish. I also had the start LyX box ticked. So after ok'ing the configure script error message LyX tried to start but failed with: couldn't find textclass.lst sorry has to exit. Hi, Stephen. Could you give me a detailed prescription on how to reproduce this? Yes, I will do it again. Stephen, you're a star! I'll try and reproduce this myself this evening. Regards, Angus
Custom layout and psmatrix from pstricks, 1.4.0pre2
Hi, I have some trouble when trying to getting this ERT to work correctly: \begin{psmatrix}[colsep=0.5cm] \psframebox{Yes} \psframebox{No} C \\ \psframebox{Yesy} \psframebox{No} C \\ \ncline{-}{1,1}{2,1} \end{psmatrix} I've put \usepackage{pst-node} in the document preamble. This works (ps2pdf) as long as I use the standard book layout. When I use pdflatex this does not work (as I understand obviously). On the other hand, if I generate pdf from my books (without any pstricks) with ps2pdf I get a complaint LaTex Error: Cannot determine size of graphic logo.png. But this works fine with pdflatex. Does anyone have a workaround? I run 1.4.0pre2. Maarten =my layout=== #% Do not delete the line below; configure depends on this # \DeclareLaTeXClass[book]{book in van Oord stijl} # Book textclass definition file. Taken from initial LyX source code # Author : Matthias Ettrich [EMAIL PROTECTED] # Transposed by Pascal André [EMAIL PROTECTED] # Heavily modifed and enhanced by serveral developers. # Input general definitions Input stdclass.inc Input numreport.inc # Global parameters. Sides 2 PageStyle Headings # There is no abstract environment in book.cls NoStyle Abstract # a few changes to the bibliography Style Bibliography TopSep4 LabelString Bibliography # label font definition LabelFont Series Bold SizeHuge EndFont End Preamble % Lettertype \usepackage[scaled=0.92]{helvet} \renewcommand{\familydefault}{\sfdefault} % Marges \addtolength{\evensidemargin}{-22pt} \addtolength{\voffset}{-0.3in} \oddsidemargin 0.0in \textwidth 6.3in \textheight 9.0in % Versiebeheer tags \usepackage{rcs} % Kop en voetteksten \usepackage{fancyhdr} \pagestyle{fancy} \renewcommand{\footrulewidth}{0.5pt} \renewcommand{\headrulewidth}{0.5pt} \newsavebox{\oordlogo} \savebox{\oordlogo}{\includegraphics[width=15mm]{logo.png}} \rhead{\usebox{\oordlogo}} \lhead{Left top} \chead{Middle top} \rfoot{Right bottom} \cfoot{\thepage} \lfoot{Left bottom} % Conditionele teksten \usepackage{ifthen} \newcommand{\boot}{Volvox Hopper} % file-namen afbreken \usepackage{path} \discretionaries |[EMAIL PROTECTED]*()_+`-=#{}[]:;,.?\/| % truukje om taakmenuhelpfile en %mainmenuhelpfile goed af te breken. k en u erbij, ' eruit % dit is wel tricky, maar voorlopig werkt het % Indexen en PDF opties \usepackage{chappg} \usepackage{tocbibind} \usepackage{cmap} \usepackage[ plainpages=false, %linktocpage=true, pdfpagelabels=true, pdftex, bookmarks=true, a4paper=true, pdfpagemode=UseOutlines, bookmarksnumbered=true]{hyperref} EndPreamble
Re: textclass.lst
- Original Message - From: Angus Leeming [EMAIL PROTECTED] To: lyx-users@lists.lyx.org Sent: Wednesday, October 26, 2005 2:26 AM Subject: Re: textclass.lst Hi, Stephen. Could you give me a detailed prescription on how to reproduce this? Regards, Angus This is an addendum to my first detailed reply. I reinstalled stable lyx-1.3.6_win32_setup_v1.exe to C:\Lyx and it installed and works as expected. I notice that I saw more of the underlying process of installation appearing in a command window during the lyx136 install than I saw with lyx137 install. But perhaps seeing that doslike process was deliberately suppressed. This is my current path_prefix statement from lyxrc.defaults \path_prefix C:\msys\1.0\bin;C:\Python24;C:\texmf\miktex\bin;C:\Perl\bin;C:\gs\gs8.13\bin;C:\ImageMagick which is also included and part of my Windows path. Regards, Stephen
Lyx Figure Placement
Hi I am using Lyx (1.3.5 on XP) to write my thesis and have the following questions. 1. How do I force every figure to start on a separate page? 2. How I force every figure to be on the right page? Thanks Santanu
Re: Custom layout and psmatrix from pstricks, 1.4.0pre2
maarten wrote: Hi, I have some trouble when trying to getting this ERT to work correctly: \begin{psmatrix}[colsep=0.5cm] \psframebox{Yes} \psframebox{No} C \\ \psframebox{Yesy} \psframebox{No} C \\ \ncline{-}{1,1}{2,1} \end{psmatrix} I've put \usepackage{pst-node} in the document preamble. This works (ps2pdf) as long as I use the standard book layout. When I use pdflatex this does not work (as I understand obviously). PSTricks - PostScript Tricks ... this cannot be compiled with pdflatex. However, unless you didn't use character expansion, ps2pdf does the same job. On the other hand, if I generate pdf from my books (without any pstricks) with ps2pdf I get a complaint LaTex Error: Cannot determine size of graphic logo.png. But this works fine with pdflatex. you should read some basic informations about LaTeX/pdflatex Does anyone have a workaround? I run 1.4.0pre2. latex - ps/eps images pdflatex - png,jpg,pdf images % Marges \addtolength{\evensidemargin}{-22pt} \addtolength{\voffset}{-0.3in} \oddsidemargin 0.0in \textwidth 6.3in \textheight 9.0in let this be done by geometry, at least by LyX \newsavebox{\oordlogo} \savebox{\oordlogo}{\includegraphics[width=15mm]{logo.png}} \rhead{\usebox{\oordlogo}} why did you put this in a box? Herbert
Re: multiinclude with beamer
Myriam Abramson [EMAIL PROTECTED] wrote: Hi! I desperately need to include some animation. I tried the multiinclude as in the Beamer's users guide but I got a file corrupted message with acroread (7.0). Any ideas? I am not sure exactly how to achieve this from the latex end, but under linux one of the best ways to add animations to a presentation is simply to include a link in the presentation to run a program like mplayer to show an animation clip. This may not be what you want, as it is more suited for showing small movie clips within a presentation. Does anyone know how to include a link that runs a system command like mplayer FILENAME?
Re: Lyx Figure Placement
Santanu Chakraborty [EMAIL PROTECTED] wrote: I am using Lyx (1.3.5 on XP) to write my thesis and have the following questions. 1. How do I force every figure to start on a separate page? I assume that this means you want every figure to be at the top of the page. Within Lyx, if you make sure that the figures are set inside a figure float (perhaps ask a question if this does not make sense). Collapse the float and then right click on the float symbol. You will get a set of check-box items, and if you de-select use default placement you can then select top of page. 2. How I force every figure to be on the right page? I can't help you with this one, but it may even be a similar solution.
Windows Lyx-1.3.6: Font problems in headings
Hello, I've tried to google for that but no success, maybe someone could help me here :-). I have some font problems with either dvi, ps, or pdf generated by lyx. With Yap (dvi) there is an error message (see below) and the font for chapters and sections (first level) are replaced by a default font. With GSView, the headings just disappears in (but not in the table of contents). With Pdf, Acrobat just replace the font with helvetica and Foxit will not show the heading. I have multiple document class but the results are with same. Thanks in advance for any hint, Abdel. _ Yap message _ Making PK font: D:\program\texmf\miktex\bin\makepk.exe --verbose ecsx2488 600 600 magstep(0.0) ljfour Trying to make PK font ecsx2488 (at 600 DPI)... Creating ecsx2488.pk... mf \mode:=ljfour; \mag:=magstep(0.0);nonstopmode;input ecsx2488 This is METAFONT, Version 2.71828 (MiKTeX 2.4) (D:\program\texmf\fonts\source\jknappen\ec\ecsx2488.mf (D:\program\texmf\fonts\source\jknappen\ec\exbase.mf ! This can't happen (copy). mode_def-(EXPR5000) :=incr.number_of_modes;mode_name[(EXPR5000)]:=str(EXPR50... to be read again = l.1140 mode_def canonical_sharp_mode = % nearly |proof| mode Transcript written on ecsx2488.log. METAFONT failed for some reason makepk: METAFONT failed on ecsx2488.
Some wishes
Hi all, I'm a new LyX user. I tried this editor for several days and liked it. But I also come up with many inconvinieces when using it. I wish lyx can be improved (in my perspective) in the following ways: 1. Things on the left part of the math panel (functions etc.) can also be organized in the same way as those on the right. Doing this will allow the math panel to be more flexibly resized (e.g. to be thing and tall, or wide and flat). 2. If the previous feature is acheived, I'd like the math panel be dockable onto the main window (in a way similar to that many other apps dock their tool panels). 3. The focus had better transfer back to the main edit window after clicking a symbol on the math panel, so that the user can imediately continue editing. (I'm using lyx qt front-end on both windows and linux, this does not happen to me). 4. TeXmacs defined a well orgnized set of short cuts for math editing (http://www.texmacs.org/tmweb/manual/webman-math.en.html). I think it will be nice if lyx adopt this or similar short cuts. Short cuts for symbols can be shown as tool tips on the math panel, to facilitate learning. 5. Is it possible to build a tool that assist writing lyx layout files by giving one (or more) example tex suorce(s)? This tool will have to PARTIALLY UNDERSTAND latex commands so as to identify enviroments and their attributes. Thanks for taking the time reading.
Re: Windows Lyx-1.3.6: Font problems in headings
YOUNES Abdelrazak / M3SYSTEM wrote: Hello, I've tried to google for that but no success, maybe someone could help me here :-). I have some font problems with either dvi, ps, or pdf generated by lyx. With Yap (dvi) there is an error message (see below) and the font for chapters and sections (first level) are replaced by a default font. With GSView, the headings just disappears in (but not in the table of contents). With Pdf, Acrobat just replace the font with helvetica and Foxit will not show the heading. I have multiple document class but the results are with same. Thanks in advance for any hint, You should try the MikTeX users list... I believe I've seen similar in the past after I upgraded my MikTeX distribution; basically you need to regenerate some database files within MikTeX. Is therenot some menu item on the MikTeX package manager Rebuild databases or somesuch? The MikTeX archives/list will have the definitive answer. Angus
Re: Custom layout and psmatrix from pstricks, 1.4.0pre2
Herbert, It's solved! But I still have some questions. See below. On Wed, 2005-10-26 at 13:45 +0200, Herbert Voss wrote: maarten wrote: Hi, I have some trouble when trying to getting this ERT to work correctly: \begin{psmatrix}[colsep=0.5cm] \psframebox{Yes} \psframebox{No} C \\ \psframebox{Yesy} \psframebox{No} C \\ \ncline{-}{1,1}{2,1} \end{psmatrix} I've put \usepackage{pst-node} in the document preamble. This works (ps2pdf) as long as I use the standard book layout. When I use pdflatex this does not work (as I understand obviously). PSTricks - PostScript Tricks ... this cannot be compiled with pdflatex. However, unless you didn't use character expansion, ps2pdf does the same job. On the other hand, if I generate pdf from my books (without any pstricks) with ps2pdf I get a complaint LaTex Error: Cannot determine size of graphic logo.png. But this works fine with pdflatex. you should read some basic informations about LaTeX/pdflatex Does anyone have a workaround? I run 1.4.0pre2. latex - ps/eps images pdflatex - png,jpg,pdf images I know the latex basics, but I forgot to mention that also when I use logo.eps it happened. In the mean time I found out logo.png in the header works for pdflatex as long as you put another image somewhere in the document. If you use ps2pdf you NEED logo.eps. In the rest of the document you can still use other types of images, lyx takes care about that. After some trail and error I found out: The solution is to remove \usepackage{cmap} (why?) and - off course - put ps2pdf instead of pdftex in the hyperref options in the preamble. % Marges \addtolength{\evensidemargin}{-22pt} \addtolength{\voffset}{-0.3in} \oddsidemargin 0.0in \textwidth 6.3in \textheight 9.0in let this be done by geometry, at least by LyX Is that really needed? I try to keep the user interaction about document layout as low possible so I specified this in the layout Preamble. \newsavebox{\oordlogo} \savebox{\oordlogo}{\includegraphics[width=15mm]{logo.png}} \rhead{\usebox{\oordlogo}} why did you put this in a box? I don't know, I copied a sample I found somewhere and it worked. This works also and is perhaps 'cleaner' code: \rhead{\includegraphics[width=15mm]{logo.eps}} Herbert Maarten
Re: Windows Lyx-1.3.6: Font problems in headings
Angus Leeming [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] YOUNES Abdelrazak / M3SYSTEM wrote: I believe I've seen similar in the past after I upgraded my MikTeX distribution; basically you need to regenerate some database files within MikTeX. Is therenot some menu item on the MikTeX package manager Rebuild databases or somesuch? There is Repository-Synchronise but nothing solved. I have tried also the Refresh Now button in the General Options dialog but nothing solved also. The MikTeX archives/list will have the definitive answer. I will try, sorry for the noise. Thanks for the windows version by the way it made me come back to lyx ;-) Abdel Angus
Re: Windows Lyx-1.3.6: Font problems in headings
The Refresh Now button in the Miktek options solved the problem. Thanks! Abdel. Angus Leeming [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] YOUNES Abdelrazak / M3SYSTEM wrote: Hello, I've tried to google for that but no success, maybe someone could help me here :-). I have some font problems with either dvi, ps, or pdf generated by lyx. With Yap (dvi) there is an error message (see below) and the font for chapters and sections (first level) are replaced by a default font. With GSView, the headings just disappears in (but not in the table of contents). With Pdf, Acrobat just replace the font with helvetica and Foxit will not show the heading. I have multiple document class but the results are with same. Thanks in advance for any hint, You should try the MikTeX users list... I believe I've seen similar in the past after I upgraded my MikTeX distribution; basically you need to regenerate some database files within MikTeX. Is therenot some menu item on the MikTeX package manager Rebuild databases or somesuch? The MikTeX archives/list will have the definitive answer. Angus
Re: updating postscript file, but not eepic picture
Gunnar wrote: Hi. I have a LyX (1.3.6) file that contains a reference to an eepic file that is be included with \input command. That works, but when I change in the eepic file, the LyX files preview is not updataed, even though I use update postscript/ view postscript and reloads the postscript file. What can I do to fix this problem? Does closing and reopening the LyX document rectify the problem? Paul
Re: updating postscript file, but not eepic picture
Does closing and reopening the LyX document rectify the problem? Don't know, but going to sleep, start from the beginning and be aware of what I'm doing solved it. Sorry for bothering you with my mistakes.
Finding the Reason xdvi Output Disappeared
I just upgraded all the systems here to Slackware-10.2. I've been busy developing beamer presentations (another one to be done in the next couple of weeks), so I've been viewing compiled output with pdflatex. Yesterday, however, I wrote a short article and tried to view the output by pressing ctrl-d. The status line shows the compiler at work, but there is no display. Here's the log file: This is TeX, Version 3.14159 (Web2C 7.4.5) (format=latex 2003.3.8) 26 OCT 2005 09:27 **st-andrews-prize.phase-1.tex (./st-andrews-prize.phase-1.tex LaTeX2e 2001/06/01 Babel v3.7h and hyphenation patterns for american, french, german, ngerman, n ohyphenation, loaded. (/usr/share/texmf/tex/latex/base/article.cls Document Class: article 2001/04/21 v1.4e Standard LaTeX document class (/usr/share/texmf/tex/latex/base/size10.clo File: size10.clo 2001/04/21 v1.4e Standard LaTeX file (size option) ) [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] \abovecaptionskip=\skip41 \belowcaptionskip=\skip42 \bibindent=\dimen102 ) (/usr/share/texmf/tex/latex/psnfss/palatino.sty Package: palatino 2002/09/08 PSNFSS-v9.0a (SPQR) ) (/usr/share/texmf/tex/latex/base/fontenc.sty Package: fontenc 2001/06/05 v1.94 Standard LaTeX package (/usr/share/texmf/tex/latex/base/t1enc.def File: t1enc.def 2001/06/05 v1.94 Standard LaTeX file LaTeX Font Info:Redeclaring font encoding T1 on input line 38. )) (/usr/share/texmf/tex/latex/base/inputenc.sty Package: inputenc 2001/07/10 v0.99a Input encoding file (/usr/share/texmf/tex/latex/base/latin1.def File: latin1.def 2001/07/10 v0.99a Input encoding file )) (/usr/share/texmf/tex/latex/fancyhdr/fancyhdr.sty \headwidth=\dimen103 ) (/usr/share/texmf/tex/generic/babel/babel.sty Package: babel 2001/03/01 v3.7h The Babel package (/usr/share/texmf/tex/generic/babel/english.ldf Language: english 2001/04/15 v3.3l English support from the babel system (/usr/share/texmf/tex/generic/babel/babel.def File: babel.def 2001/03/01 v3.7h Babel common definitions [EMAIL PROTECTED] [EMAIL PROTECTED] ) [EMAIL PROTECTED] = a dialect from [EMAIL PROTECTED] )) No file st-andrews-prize.phase-1.aux. \openout1 = `st-andrews-prize.phase-1.aux'. LaTeX Font Info:Checking defaults for OML/cmm/m/it on input line 18. LaTeX Font Info:... okay on input line 18. LaTeX Font Info:Checking defaults for T1/cmr/m/n on input line 18. LaTeX Font Info:... okay on input line 18. LaTeX Font Info:Checking defaults for OT1/cmr/m/n on input line 18. LaTeX Font Info:... okay on input line 18. LaTeX Font Info:Checking defaults for OMS/cmsy/m/n on input line 18. LaTeX Font Info:... okay on input line 18. LaTeX Font Info:Checking defaults for OMX/cmex/m/n on input line 18. LaTeX Font Info:... okay on input line 18. LaTeX Font Info:Checking defaults for U/cmr/m/n on input line 18. LaTeX Font Info:... okay on input line 18. LaTeX Font Info:Try loading font information for T1+ppl on input line 18. (/usr/share/texmf/tex/latex/psnfss/t1ppl.fd File: t1ppl.fd 2001/06/04 font definitions for T1/ppl. ) LaTeX Font Info:External font `cmex10' loaded for size (Font) 12 on input line 22. LaTeX Font Info:External font `cmex10' loaded for size (Font) 8 on input line 22. LaTeX Font Info:External font `cmex10' loaded for size (Font) 6 on input line 22. LaTeX Warning: No \author given. [1 ] [2] (./st-andrews-prize.phase-1.aux) ) Here is how much of TeX's memory you used: 899 strings out of 95847 9400 string characters out of 1195949 59003 words of memory out of 101 3872 multiletter control sequences out of 1+5 10896 words of font info for 28 fonts, out of 50 for 1000 14 hyphenation exceptions out of 1000 30i,10n,43p,185b,333s stack positions out of 1500i,500n,5000p,20b,5000s Output written on st-andrews-prize.phase-1.dvi (2 pages, 4388 bytes). So, why don't I see anything? Rich -- Dr. Richard B. Shepard, President | Author of Quantifying Environmental Applied Ecosystem Services, Inc. (TM) | Impact Assessments Using Fuzzy Logic http://www.appl-ecosys.com Voice: 503-667-4517 Fax: 503-667-8863
lyx-gtk compilation error
Trying to compile lyx with gtk frontend (./configure --with-frontend=gtk xforms --disable debug) I get the following errors: ../xforms/FormPreferences.h:18:23: error: lyx_forms.h: No such file or directory ../xforms/FormPreferences.h:98 error: 'FL_FREE_COL15' was not declared in this scope ../xforms/FormPreferences.h:98 error: 'FL_FREE_COL16' was not declared in this scope Am I supposed to compile lyx-xforms before trying with gtk??
Forcing LyX to retypeset included files?
I have a LyX file for a book that essentially contains a list of include statements for the single chapters. Additionally, it has a long preamble with all the formatting instructions. Since I am now fiddling with formatting details, I would like LyX/LaTeX to typeset everything from scratch whenever I chose the ViewPDF option. Is it possible to do that? Most of the times LyX seems to relies on the previously generated files. Thanks for the help, Stefano __ Stefano Franchi Department of Philosophy Ph: (64) 9 373-7599 x83940 University Of Auckland Fax: (64) 9 373-7408 Private Bag 92019 [EMAIL PROTECTED] Auckland New Zealand
Re: lyx-gtk compilation error
Ok, sorry for bothering ... my fault ... it should have been --with-frontend=xforms gtk 2005/10/26, Luca Nicotra [EMAIL PROTECTED]: Trying to compile lyx with gtk frontend (./configure --with-frontend=gtk xforms --disable debug) I get the following errors: ../xforms/FormPreferences.h:18:23: error: lyx_forms.h: No such file or directory ../xforms/FormPreferences.h:98 error: 'FL_FREE_COL15' was not declared in this scope ../xforms/FormPreferences.h:98 error: 'FL_FREE_COL16' was not declared in this scope Am I supposed to compile lyx-xforms before trying with gtk??
Re: Forcing LyX to retypeset included files?
Stefano Franchi schrieb: I have a LyX file for a book that essentially contains a list of include statements for the single chapters. Additionally, it has a long preamble with all the formatting instructions. Since I am now fiddling with formatting details, I would like LyX/LaTeX to typeset everything from scratch whenever I chose the ViewPDF option. Is it possible to do that? Most of the times LyX seems to relies on the previously generated files. Thanks for the help, Stefano Hi, could you check whether or not your problem is related to bug 1992? http://bugzilla.lyx.org/show_bug.cgi?id=1992 good luck, sven
Re: Is this possible with lyx?
On 10/25/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I thought I'd add the stuff below to the wiki, but first I'd like to check that it's correct (since I haven't tried it myself). Question: How can I disallow LaTeX to linebreak an inlined math formula? (This is typically useful for formulas at the end of a line) Answer: You can put the formula inside an mbox to prevent LaTeX from splitting up the formula. The steps can be summarized as follows: 1) Go to math mode (inline formula or display formula) 2) Type \mbox and then a press carriage return or the spacebar 3) The text \mbox disappear and a box appears 4) Type the equation inside the box Note that if you'd like a frame around your equation, you can use fbox instead of mbox. - Christian, I think the text below is correct and appropiate. Regards, Paul Question: How can I disallow LaTeX to linebreak an inlined math formula? (This is typically useful for formulas at the end of a line) Answer: You can put the formula inside an mbox to prevent LaTeX from splitting up the formula. The steps can be summarized as follows: 1) Go to math mode (inline formula or display formula) 2) Type \mbox and then a press carriage return or the spacebar 3) The text \mbox disappears and a box appears 4) Select math mode 5) Type the equation inside the box Alternatively to the above solution, you can type, inside math mode, \{ and \}, respectively, before and after your formula. Question: How can I insert a frame around my equation? 1) Go to math mode (inline formula or display formula) 2) Type \boxed and then a press carriage return or the spacebar 3) The text \boxed disappears and a framed box appears 4) Type the equation inside the box
Re: Finding the Reason xdvi Output Disappeared
Rich Shepard wrote: I just upgraded all the systems here to Slackware-10.2. I've been busy developing beamer presentations (another one to be done in the next couple of weeks), so I've been viewing compiled output with pdflatex. Yesterday, however, I wrote a short article and tried to view the output by pressing ctrl-d. The status line shows the compiler at work, but there is no display. Here's the log file: This is TeX, Version 3.14159 (Web2C 7.4.5) (format=latex 2003.3.8) 26 OCT 2005 09:27 **st-andrews-prize.phase-1.tex (./st-andrews-prize.phase-1.tex LaTeX2e 2001/06/01 Babel v3.7h and hyphenation patterns for american, french, german, ngerman, n ohyphenation, loaded. (/usr/share/texmf/tex/latex/base/article.cls Document Class: article 2001/04/21 v1.4e Standard LaTeX document class (/usr/share/texmf/tex/latex/base/size10.clo File: size10.clo 2001/04/21 v1.4e Standard LaTeX file (size option) ) [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] \abovecaptionskip=\skip41 \belowcaptionskip=\skip42 \bibindent=\dimen102 ) (/usr/share/texmf/tex/latex/psnfss/palatino.sty Package: palatino 2002/09/08 PSNFSS-v9.0a (SPQR) ) (/usr/share/texmf/tex/latex/base/fontenc.sty Package: fontenc 2001/06/05 v1.94 Standard LaTeX package (/usr/share/texmf/tex/latex/base/t1enc.def File: t1enc.def 2001/06/05 v1.94 Standard LaTeX file LaTeX Font Info:Redeclaring font encoding T1 on input line 38. )) (/usr/share/texmf/tex/latex/base/inputenc.sty Package: inputenc 2001/07/10 v0.99a Input encoding file (/usr/share/texmf/tex/latex/base/latin1.def File: latin1.def 2001/07/10 v0.99a Input encoding file )) (/usr/share/texmf/tex/latex/fancyhdr/fancyhdr.sty \headwidth=\dimen103 ) (/usr/share/texmf/tex/generic/babel/babel.sty Package: babel 2001/03/01 v3.7h The Babel package (/usr/share/texmf/tex/generic/babel/english.ldf Language: english 2001/04/15 v3.3l English support from the babel system (/usr/share/texmf/tex/generic/babel/babel.def File: babel.def 2001/03/01 v3.7h Babel common definitions [EMAIL PROTECTED] [EMAIL PROTECTED] ) [EMAIL PROTECTED] = a dialect from [EMAIL PROTECTED] )) No file st-andrews-prize.phase-1.aux. \openout1 = `st-andrews-prize.phase-1.aux'. LaTeX Font Info:Checking defaults for OML/cmm/m/it on input line 18. LaTeX Font Info:... okay on input line 18. LaTeX Font Info:Checking defaults for T1/cmr/m/n on input line 18. LaTeX Font Info:... okay on input line 18. LaTeX Font Info:Checking defaults for OT1/cmr/m/n on input line 18. LaTeX Font Info:... okay on input line 18. LaTeX Font Info:Checking defaults for OMS/cmsy/m/n on input line 18. LaTeX Font Info:... okay on input line 18. LaTeX Font Info:Checking defaults for OMX/cmex/m/n on input line 18. LaTeX Font Info:... okay on input line 18. LaTeX Font Info:Checking defaults for U/cmr/m/n on input line 18. LaTeX Font Info:... okay on input line 18. LaTeX Font Info:Try loading font information for T1+ppl on input line 18. (/usr/share/texmf/tex/latex/psnfss/t1ppl.fd File: t1ppl.fd 2001/06/04 font definitions for T1/ppl. ) LaTeX Font Info:External font `cmex10' loaded for size (Font) 12 on input line 22. LaTeX Font Info:External font `cmex10' loaded for size (Font) 8 on input line 22. LaTeX Font Info:External font `cmex10' loaded for size (Font) 6 on input line 22. LaTeX Warning: No \author given. [1 ] [2] (./st-andrews-prize.phase-1.aux) ) Here is how much of TeX's memory you used: 899 strings out of 95847 9400 string characters out of 1195949 59003 words of memory out of 101 3872 multiletter control sequences out of 1+5 10896 words of font info for 28 fonts, out of 50 for 1000 14 hyphenation exceptions out of 1000 30i,10n,43p,185b,333s stack positions out of 1500i,500n,5000p,20b,5000s Output written on st-andrews-prize.phase-1.dvi (2 pages, 4388 bytes). So, why don't I see anything? Rich Best guess(es): either the upgrade munged xdvi, or the path to xdvi that LyX is using is wrong. To rule out the first, try exporting the doc as a DVI and then running xdvi against it manually. This is what you get for upgrading. Whatever happened to if it ain't broke, don't fix it? :-) Paul
Re: Finding the Reason xdvi Output Disappeared
On Wed, 26 Oct 2005, Paul A. Rubin wrote: To rule out the first, try exporting the doc as a DVI and then running xdvi against it manually. Paul, Sigh. Why didn't I think of this? (That's a rhetorical question, by the way.) For some reason, the t1lib was not upgraded. No library, no display. This is what you get for upgrading. Whatever happened to if it ain't broke, don't fix it? :-) Well, one of the major benefits of Slackware -- for me -- is that it's far back from the bleeding edge. I upgrade only when Patrick releases a new suite of packages; otherwise, only security patches are applied. Unlike others, I don't run daily or weekly upgrades for apt-get, up2date, or yum. There's another way of looking at that old wives' tale: if it ain't broke, break it. :-) That's how we progress. Many thanks, Rich -- Dr. Richard B. Shepard, President | Author of Quantifying Environmental Applied Ecosystem Services, Inc. (TM) | Impact Assessments Using Fuzzy Logic http://www.appl-ecosys.com Voice: 503-667-4517 Fax: 503-667-8863
Re: Finding the Reason xdvi Output Disappeared
* Rich Shepard [EMAIL PROTECTED], 2005-10-26 18:40 +0200: I just upgraded all the systems here to Slackware-10.2. I've been busy developing beamer presentations (another one to be done in the next couple of weeks), so I've been viewing compiled output with pdflatex. Yesterday, however, I wrote a short article and tried to view the output by pressing ctrl-d. The status line shows the compiler at work, but there is no display. Here's the log file: This is TeX, Version 3.14159 (Web2C 7.4.5) (format=latex 2003.3.8) 26 OCT 2005 09:27 **st-andrews-prize.phase-1.tex [...] Output written on st-andrews-prize.phase-1.dvi (2 pages, 4388 bytes). So, why don't I see anything? You have to define a viewer like \format dvi dvi DVI D xdvi in ~/.lyx/preferences -Andre
Re: Finding the Reason xdvi Output Disappeared
On Wed, 26 Oct 2005, Andre Berger wrote: You have to define a viewer like \format dvi dvi DVI D xdvi No, that's not it. It turns out that apparently xdvi is behind the t1 libraries. The application is looking for libt1.so.1, and the current version of the library is libt1.so.5.1.0. The upgrade made the proper soft link so that libt1.so.5 points to the executable's node, but xdvi can't use that. I made an additional soft link and now xdvi is happy. So am I. Rich -- Dr. Richard B. Shepard, President | Author of Quantifying Environmental Applied Ecosystem Services, Inc. (TM) | Impact Assessments Using Fuzzy Logic http://www.appl-ecosys.com Voice: 503-667-4517 Fax: 503-667-8863
Re: Finding the Reason xdvi Output Disappeared
* Rich Shepard [EMAIL PROTECTED], 2005-10-26 21:20 +0200: On Wed, 26 Oct 2005, Andre Berger wrote: You have to define a viewer like \format dvi dvi DVI D xdvi No, that's not it. It turns out that apparently xdvi is behind the t1 libraries. The application is looking for libt1.so.1, and the current version of the library is libt1.so.5.1.0. The upgrade made the proper soft link so that libt1.so.5 points to the executable's node, but xdvi can't use that. I made an additional soft link and now xdvi is happy. So am I. Glad you solved it. -Andre
Re: Finding the Reason xdvi Output Disappeared
On Wed, 26 Oct 2005, Andre Berger wrote: Glad you solved it. Andre, Thanks! I am, too. Now I'm trying to learn why the error occurred in the first place. I suspect it's the way xdvi was packaged. Rich -- Dr. Richard B. Shepard, President | Author of Quantifying Environmental Applied Ecosystem Services, Inc. (TM) | Impact Assessments Using Fuzzy Logic http://www.appl-ecosys.com Voice: 503-667-4517 Fax: 503-667-8863
period after author in reference list
hello i have this irritating problem that i cannot figure out why i get a comma instead of a period between the author block and the date block in my reference list. the bst file is custom made with makebst: http://130.226.106.174/~paste/cgi-bin/mol_reprod_dev.bst http://130.226.106.174/~paste/cgi-bin/mol_reprod_dev.dbj if anyone is good at this, i would dearly like some advice! sincerely martin
Re: Lyx Figure Placement
On Wed, Oct 26, 2005 at 07:45:51AM -0400, Santanu Chakraborty wrote: Hi I am using Lyx (1.3.5 on XP) to write my thesis and have the following questions. 1. How do I force every figure to start on a separate page? A little unclear what you mean. _only_ the figure on that page, or the figure first on that page and perhaps some text too if the figure didn't need the whole page? This is taken from lyx-1.4, but lyx-1.3 have much of the same options: Insert a figure float, put the figure in that. Right-click the float in order to bring up placement options. Use top of page if you want the float to appear first on a page, while also allowing text. Use page of floats to put the float on a page of its own, without any text interfering. If your figures are small, then several might go on the same page. If you don't like that, then the easy way is to make the float bigger so nothing more fits. Another and better option, use ERT: \setcounter{totalnumber}{1} for maximum one float per page. 2. How I force every figure to be on the right page? I know of no lyx specific way, but surely latex can do this. Look up exiting latex tips, and put the latex command(s) you need in ERT or the preamble. Ask on a latex maling list if you can't find this from here. www.lyx.org have some links to latex tip pages, I believe. Helge Hafting
Re: Forcing LyX to retypeset included files?
On Oct 26, 2005, at 10:28 AM, Sven Schreiber wrote: Stefano Franchi schrieb: I have a LyX file for a book that essentially contains a list of include statements for the single chapters. Additionally, it has a long preamble with all the formatting instructions. Since I am now fiddling with formatting details, I would like LyX/LaTeX to typeset everything from scratch whenever I chose the ViewPDF option. Is it possible to do that? Most of the times LyX seems to relies on the previously generated files. Thanks for the help, Stefano Hi, could you check whether or not your problem is related to bug 1992? http://bugzilla.lyx.org/show_bug.cgi?id=1992 Yes, it seems to be related, but I am not sure exactly how. My situation is a bit more complex than what you and Paul described in the bug report, as I have about 10 files included in the master file. I have not been able to track down what triggers the update and what doesn't. I suppose I will have to use the add a space/delete a space trick on all of them to force LyX to update. I have added a few lines describing my situation to the bug report. BTW, I could not find a panel in LyX preference related to the /temp directory. Do you know where it is? Cheers, S. good luck, sven __ Stefano Franchi Department of Philosophy Ph: (64) 9 373-7599 x83940 University Of Auckland Fax: (64) 9 373-7408 Private Bag 92019 [EMAIL PROTECTED] Auckland New Zealand
Re: Forcing LyX to retypeset included files?
Stefano Franchi wrote: BTW, I could not find a panel in LyX preference related to the /temp directory. Do you know where it is? Edit-Preferences-Paths has a check box for whether to use a temp directory; next to that is a box to enter the path (and a browse button for non-typists). Paul
[announce] beta release of new LyXWin installer
Hello LyXers, I followed the discussion on this and the lyx-devel list about the installer for LyXWin. As consequence especially from this article: http://www.heise.de/newsticker/meldung/61789 (in german) I decided to write a new one that includes all neccessary files and programs. The installer installs a full functional LaTeX-environment on Windows. This are in detail - math fonts needed by LyX - needed python, perl, and UNIX shell files - basic installation of MiKTeX - ImageMagick - Ghostscript - Aspell - GSview (optional) - LyX 1.3.6 (with complete documentation) The installer analyses your system and installs only the missing programs. The big advantage is the guidance through the installation process. All program versions are tested to work together and are installed in the correct order and the correct folders. This assures to get a working LyX installation. (For example actual versions of ImageMagick have problems with EPS-files. That's why the installer includes an older version without this problem.) The first beta release 0.1 of the installer can be downloaded from: http://developer.berlios.de/project/showfiles.php?group_id=5117 There are two versions available: - Complete; contains all programs listed above - Small; doesn't contain MiKTeX and GSview (to reduce the download time) PLEASE READ THE README FILES CAREFULLY BEFORE STARTING THE INSTALLER! Note that this is the first release that might have bugs, so please save your LyX-files before trying out the installer. It is very difficult to take care of all eventualities of different Windows installations, so I need your feedback. Please report bugs to this bugtracker: http://developer.berlios.de/bugs/?group_id=5117 or directly to me. At this point I want to thank Angus Leeming for his help - and without him no LyX for Windows! I'm curious about your opinions and comments. regards Uwe p.s. The installer is only partly internationalized, if you want to improve this, grab the source scripts http://download.berlios.de/lyxwininstall/LyXPackage-0-1.rar and follow the instructions in http://download.berlios.de/lyxwininstall/ReadmeScripts.txt Someone could also improve my bad english ;-) p.p.s. Can someone send me a LyX-file in the LyX1.2.x format for testing some conversion scripts? Thanks in advance.
do we have something like #ifdef from C in LyX? (multipart documents with common macros)
Hello guys, I'm sorry to bother you with something that's must have been answered many times, but I can't find a quick answer in the documentation. I've just discovered the beauty of multipart documents. But I almost instantly ran into problems. What happens is the following. I have a big document (thesis :)) with a lot of math-macro commands defined at the very beginning. After my recent casual browsing through the documentation I rediscovered that I can have my long document split into parts. Happily, I divideded my thesis into files: each chapter now has its own file. The problem is how to share the macros defined originally once at the top of the long document. I created one more file containing only the macros and then I inputted it into each of the files with the individual chapters. The chapters compile fine, however, the master won't compile because of multiple definition of the same macros. So, I'm looking for conditional compilation... something from C header files.. Or is there something more elegant that I'm not seeing? THANK YOU! David
Re: Some wishes
1. Things on the left part of the math panel (functions etc.) can also .. 2. If the previous feature is acheived, I'd like the math panel be ... I uaually use \symbol or shortcuts but a dockable math panel would be nice. Note that 1.4.0 has better toolbars. 4. TeXmacs defined a well orgnized set of short cuts for math editing (http://www.texmacs.org/tmweb/manual/webman-math.en.html). I think it will be nice if lyx adopt this or similar short cuts. Short cuts for symbols can be shown as tool tips on the math panel, to facilitate learning. One of the biggest advantages of lyx is that you can define shortcuts easily. If you want a math-oriented shortcut set, you can use my shortcuts available at http://wiki.lyx.org/LyX/KeyboardShortcuts . A reference card is provided. Bo
Re: AW: Re: Chapter with numbering but without word "chapter" - more questions...
[EMAIL PROTECTED] wrote: > Thank you very much! I did manage to get the numbering in front of my own > chapter title and also got rid of the space above the chapter title. > Great! However, I still have the space at the end of a chapter before a > new chapter starts. Can I somehow let a new chapter start on the same page > the last one ends? chapters start by default on a new page. However, write in preamble \renewcommand\chapter{\thispagestyle{plain}% [EMAIL PROTECTED]@ [EMAIL PROTECTED] [EMAIL PROTECTED]@schapter} Herbert
Re: Is this possible with lyx?
ZAVARISE GIORGIO wrote: >>Paul Smith <[EMAIL PROTECTED]> >>Oggetto: Re: Is this possible in lyx? >>Data: Tue, 25 Oct 2005 12:14:54 +0100 >>A:lyx-users@lists.lyx.org > > > >>On 10/25/05, Herbert Voss <[EMAIL PROTECTED]> >>wrote: >> > I just figured out how to disallow LaTeX to linebreak >> > a math inline formula that resides in the end of a >> > line. Sometimes they turn so awkward when they are >> > breaked in the end of the line. With LaTeX I just type >> > a formula in an \mbox and it solves my problem.. but >> > what about lyx? how can I perform an \mbox in Lyx? .. >> > I can of course input a latex code within lyx.. but it >> > would be great if I could do it in a "lyx" way too so >> > that I could also have the benefit of actually seeing >> > to formula. >> >> _inside_ the math mode put all in braces { ... } >> no need for ERT > >>Inside math mode, just write > >>\mbox > >>This solution does not need ERT as well. > >>Paul > > I needed it also, and it works fine, thanks, but to see > the box frame I used \fbox. enable the amsmath button and then use \boxed{...} inside the math mode, it is the better way Herbert
Re: LyX and xypic
David L. Johnson wrote: > On Tue, 25 Oct 2005 13:44:54 +0200 (CEST) > "H. Peter Gumm" > <[EMAIL PROTECTED]> wrote: > >> Hi, >> >> is there anyone working with LyX and xypic. >> >> Is there any support, or are there any workarounds >> to see commutative diagrams in their full glory within LyX. > > I usually kludge it by using a matrix. The only problem with that is that > labels on the arrows need to be finagled to keep the arrow aligned (for a > horizontal arrow, put a 3x1 submatrix in with the arrow in the center, the > label on top, and a blank below). This will be somewhat short of "full > glory"; for that you would, I presume, have to do it all in ERT. use psmatrix of the PSTricks package -> http://PSTricks.tug.org Herbert
Re: textclass.lst
Stephen Harris wrote: > I decided to test LyX 1.3.7pre2 (25 October 2005, 6.6MB) (for > Windows XP) and so uninstalled LyX 1.3.6 > > and there was an error message during the install that the > configure script failed to finish. I also had the "start LyX" > box ticked. So after ok'ing the configure script error message > LyX tried to start but failed with: > couldn't find textclass.lst sorry has to exit. Hi, Stephen. Could you give me a detailed prescription on how to reproduce this? Regards, Angus
Re: How to set latex path on windows?
Scott Otterson wrote: > Lyx 1.3.6 has worked well on my WinXP machine until today, when I > loaded a copy of my resume and got the error message: > > 'Textclass error > The document uses a missing Tex class "cv". Lyx will not be able to > produce output.' > > I've got a couple of cv.* things installed: > > c:/ProgsNoSpace/lyx/Resources/lyx/tex/cv.cls This won't be found by LaTeX. > c:/ProgsNoSpace/texmf/tex/latex/cv/CV.sty This will, but it's in upper case, no? > What should I set so that lyx can find them? That depends entirely on your LaTeX distribution. TeTeX has a "texhash" tool that you use to generate a "ls-R" file containing an index of all files in the distribution. MikTeX has an "update files" button or somesuch on its package manager. The general idea is that you don't mess with the "official" tree at all, but create a local tree for your own stuff. Thus, I put the "cv.cls" file at something like (don't have the Windows box in front of me ATM): C:\Program Files\MikTeX\ main\ ... local\ tex\ latex\ cv\ cv.cls and then told MikTeX's package manager about the "local" tree. HTH, Angus
Re: textclass.lst
- Original Message - From: "Angus Leeming" <[EMAIL PROTECTED]> To:Sent: Wednesday, October 26, 2005 2:26 AM Subject: Re: textclass.lst Stephen Harris wrote: I decided to test LyX 1.3.7pre2 (25 October 2005, 6.6MB) (for Windows XP) and so uninstalled LyX 1.3.6 and there was an error message during the install that the configure script failed to finish. I also had the "start LyX" box ticked. So after ok'ing the configure script error message LyX tried to start but failed with: couldn't find textclass.lst sorry has to exit. Hi, Stephen. Could you give me a detailed prescription on how to reproduce this? Regards, Angus Yes, I will do it again. I've deleted my original c:\Lyx install. I uninstalled Lyx137 from Control Panel because it won't start because of the missing textclass.lst error. I have deleted c:\program files\lyx and c:\documentss and settings\... \...\Application data\stephen\lyx so there is no lyx installation/files. Starting fresh then, I go to Control Panel, Add and Remove programs (which I will do as I type this email and report it step by step). I stored lyx137_2 in lyxfiles and I start the installation there. First thing is to approve English. Lyx install finds my 6 helper applications, msys, perl, python, ImageMagic, Texmf and ghostscript(gs) and says 'I will add them to the path_prefix string of lyxrc.defaults' then 'I agree' The next screen is choosing the install location. The default location is c:\program files\lyx (using lyx_setup_137_version2.exe) I don't want it there because I've experienced path with space problems with some other apps that interact with LyX. I tested the install with the default directory c:\program files\lyx and it certainly seem to install properly, no error messages. Instead I create C:\LyX and change the destination directory to C:\Lyx Then choose English again; I choose the default components to install: all users, desktop icon, file associations; And there is an Ok for a Lyx shortcut for startup (incidental). I click install. The output graphic to c:\lyx completes about 98%. Then says "failed attempting to execute the configure script" I click OK. The next screen appears: Completing the LyX Setup Wizard" with a checkmark next to 'launch lyx' I click "Finish" Lyx then does it routine which normally results in the Lyx Welcome Screen being opened. But it doesn't, it says: "Lyx wasn't able to find its layout descriptions! Check that the file textclass.lst is installed correctly. Sorry has to exit (:- " The LyX icon does appear, and Lyx can be removed in Control Panel. Several installs ago I had to manually delete the Lyx directory which was under c:\documents and settings ... \stephen\lyx But that was already removed this time. Prior, Lyx136 installed to c:\lyx without error. To reproduce the error change the default destination directory from c:\program files\lyx to c:\LyX And as I said, if I do choose c:\program files\lyx , the install proceeds without error. So the helper apps are in order and they also worked before with Lyx136. However, I didn't notice whether C:\Aspell was recognized with Lyx137 which worked Lyx136. Regards, Stephen
Re: textclass.lst
Stephen Harris wrote: > From: "Angus Leeming" >>> I decided to test LyX 1.3.7pre2 (25 October 2005, 6.6MB) (for >>> Windows XP) and so uninstalled LyX 1.3.6 >>> and there was an error message during the install that the >>> configure script failed to finish. I also had the "start LyX" >>> box ticked. So after ok'ing the configure script error message >>> LyX tried to start but failed with: >>> couldn't find textclass.lst sorry has to exit. >> >> Hi, Stephen. Could you give me a detailed prescription on how to >> reproduce this? > Yes, I will do it again. Stephen, you're a star! I'll try and reproduce this myself this evening. Regards, Angus
Custom layout and psmatrix from pstricks, 1.4.0pre2
Hi, I have some trouble when trying to getting this ERT to work correctly: \begin{psmatrix}[colsep=0.5cm] \psframebox{Yes} & \psframebox{No} & C \\ \psframebox{Yesy} & \psframebox{No} & C \\ \ncline{->}{1,1}{2,1} \end{psmatrix} I've put \usepackage{pst-node} in the document preamble. This works (ps2pdf) as long as I use the standard book layout. When I use pdflatex this does not work (as I understand obviously). On the other hand, if I generate pdf from my books (without any pstricks) with ps2pdf I get a complaint "LaTex Error: Cannot determine size of graphic logo.png". But this works fine with pdflatex. Does anyone have a workaround? I run 1.4.0pre2. Maarten =my layout=== #% Do not delete the line below; configure depends on this # \DeclareLaTeXClass[book]{book in van Oord stijl} # Book textclass definition file. Taken from initial LyX source code # Author : Matthias Ettrich <[EMAIL PROTECTED]> # Transposed by Pascal André <[EMAIL PROTECTED]> # Heavily modifed and enhanced by serveral developers. # Input general definitions Input stdclass.inc Input numreport.inc # Global parameters. Sides 2 PageStyle Headings # There is no abstract environment in book.cls NoStyle Abstract # a few changes to the bibliography Style Bibliography TopSep4 LabelString Bibliography # label font definition LabelFont Series Bold SizeHuge EndFont End Preamble % Lettertype \usepackage[scaled=0.92]{helvet} \renewcommand{\familydefault}{\sfdefault} % Marges \addtolength{\evensidemargin}{-22pt} \addtolength{\voffset}{-0.3in} \oddsidemargin 0.0in \textwidth 6.3in \textheight 9.0in % Versiebeheer tags \usepackage{rcs} % Kop en voetteksten \usepackage{fancyhdr} \pagestyle{fancy} \renewcommand{\footrulewidth}{0.5pt} \renewcommand{\headrulewidth}{0.5pt} \newsavebox{\oordlogo} \savebox{\oordlogo}{\includegraphics[width=15mm]{logo.png}} \rhead{\usebox{\oordlogo}} \lhead{Left top} \chead{Middle top} \rfoot{Right bottom} \cfoot{\thepage} \lfoot{Left bottom} % Conditionele teksten \usepackage{ifthen} \newcommand{\boot}{Volvox Hopper} % file-namen afbreken \usepackage{path} \discretionaries |[EMAIL PROTECTED]&*()_+`-=#{}[]:";<>,.?\/| % truukje om taakmenuhelpfile en %mainmenuhelpfile goed af te breken. k en u erbij, ' eruit % dit is wel tricky, maar voorlopig werkt het % Indexen en PDF opties \usepackage{chappg} \usepackage{tocbibind} \usepackage{cmap} \usepackage[ plainpages=false, %linktocpage=true, pdfpagelabels=true, pdftex, bookmarks=true, a4paper=true, pdfpagemode=UseOutlines, bookmarksnumbered=true]{hyperref} EndPreamble
Re: textclass.lst
- Original Message - From: "Angus Leeming" <[EMAIL PROTECTED]> To:Sent: Wednesday, October 26, 2005 2:26 AM Subject: Re: textclass.lst Hi, Stephen. Could you give me a detailed prescription on how to reproduce this? Regards, Angus This is an addendum to my first detailed reply. I reinstalled stable lyx-1.3.6_win32_setup_v1.exe to C:\Lyx and it installed and works as expected. I notice that I saw more of the underlying process of installation appearing in a command window during the lyx136 install than I saw with lyx137 install. But perhaps seeing that doslike process was deliberately suppressed. This is my current path_prefix statement from lyxrc.defaults \path_prefix "C:\msys\1.0\bin;C:\Python24;C:\texmf\miktex\bin;C:\Perl\bin;C:\gs\gs8.13\bin;C:\ImageMagick" which is also included and part of my Windows path. Regards, Stephen
Lyx Figure Placement
Hi I am using Lyx (1.3.5 on XP) to write my thesis and have the following questions. 1. How do I force every figure to start on a separate page? 2. How I force every figure to be on the right page? Thanks Santanu
Re: Custom layout and psmatrix from pstricks, 1.4.0pre2
maarten wrote: > Hi, > > I have some trouble when trying to getting this ERT to work correctly: > > \begin{psmatrix}[colsep=0.5cm] > \psframebox{Yes} & \psframebox{No} & C \\ > \psframebox{Yesy} & \psframebox{No} & C \\ > \ncline{->}{1,1}{2,1} > \end{psmatrix} > > I've put \usepackage{pst-node} in the document preamble. > > This works (ps2pdf) as long as I use the standard book layout. When I > use pdflatex this does not work (as I understand obviously). PSTricks -> PostScript Tricks ... this cannot be compiled with pdflatex. However, unless you didn't use character expansion, ps2pdf does the same job. > On the other hand, if I generate pdf from my books (without any > pstricks) with ps2pdf I get a complaint "LaTex Error: Cannot determine > size of graphic logo.png". But this works fine with pdflatex. you should read some basic informations about LaTeX/pdflatex > Does anyone have a workaround? I run 1.4.0pre2. latex -> ps/eps images pdflatex -> png,jpg,pdf images > % Marges > \addtolength{\evensidemargin}{-22pt} > \addtolength{\voffset}{-0.3in} > \oddsidemargin 0.0in > \textwidth 6.3in > \textheight 9.0in let this be done by geometry, at least by LyX > \newsavebox{\oordlogo} > \savebox{\oordlogo}{\includegraphics[width=15mm]{logo.png}} > \rhead{\usebox{\oordlogo}} why did you put this in a box? Herbert
Re: multiinclude with beamer
Myriam Abramson <[EMAIL PROTECTED]> wrote: > > Hi! > > I desperately need to include some animation. I tried the multiinclude > as in the Beamer's users guide but I got a "file corrupted" message > with acroread (7.0). Any ideas? I am not sure exactly how to achieve this from the latex end, but under linux one of the best ways to add animations to a presentation is simply to include a link in the presentation to run a program like mplayer to show an animation clip. This may not be what you want, as it is more suited for showing small movie clips within a presentation. Does anyone know how to include a link that runs a system command like "mplayer FILENAME"?
Re: Lyx Figure Placement
Santanu Chakraborty <[EMAIL PROTECTED]> wrote: > I am using Lyx (1.3.5 on XP) to write my thesis and have the following > questions. > > 1. How do I force every figure to start on a separate page? I assume that this means you want every figure to be at the top of the page. Within Lyx, if you make sure that the figures are set inside a figure float (perhaps ask a question if this does not make sense). Collapse the float and then right click on the float symbol. You will get a set of check-box items, and if you de-select "use default placement" you can then select "top of page". > 2. How I force every figure to be on the right page? I can't help you with this one, but it may even be a similar solution.
Windows Lyx-1.3.6: Font problems in headings
Hello, I've tried to google for that but no success, maybe someone could help me here :-). I have some font problems with either dvi, ps, or pdf generated by lyx. With Yap (dvi) there is an error message (see below) and the font for chapters and sections (first level) are replaced by a default font. With GSView, the headings just disappears in (but not in the table of contents). With Pdf, Acrobat just replace the font with helvetica and Foxit will not show the heading. I have multiple document class but the results are with same. Thanks in advance for any hint, Abdel. _ Yap message _ Making PK font: D:\program\texmf\miktex\bin\makepk.exe --verbose ecsx2488 600 600 magstep(0.0) ljfour Trying to make PK font "ecsx2488" (at 600 DPI)... Creating "ecsx2488.pk"... "mf" \mode:=ljfour; \mag:=magstep(0.0);nonstopmode;input ecsx2488 This is METAFONT, Version 2.71828 (MiKTeX 2.4) (D:\program\texmf\fonts\source\jknappen\ec\ecsx2488.mf (D:\program\texmf\fonts\source\jknappen\ec\exbase.mf ! This can't happen (copy). mode_def->(EXPR5000) :=incr.number_of_modes;mode_name[(EXPR5000)]:=str(EXPR50... = l.1140 mode_def canonical_sharp_mode = % nearly |proof| mode Transcript written on ecsx2488.log. METAFONT failed for some reason makepk: METAFONT failed on "ecsx2488".
Some wishes
Hi all, I'm a new LyX user. I tried this editor for several days and liked it. But I also come up with many inconvinieces when using it. I wish lyx can be improved (in my perspective) in the following ways: 1. Things on the left part of the math panel (functions etc.) can also be organized in the same way as those on the right. Doing this will allow the math panel to be more flexibly resized (e.g. to be thing and tall, or wide and flat). 2. If the previous feature is acheived, I'd like the math panel be dockable onto the main window (in a way similar to that many other apps dock their tool panels). 3. The focus had better transfer back to the main edit window after clicking a symbol on the math panel, so that the user can imediately continue editing. (I'm using lyx qt front-end on both windows and linux, this does not happen to me). 4. TeXmacs defined a well orgnized set of short cuts for math editing (http://www.texmacs.org/tmweb/manual/webman-math.en.html). I think it will be nice if lyx adopt this or similar short cuts. Short cuts for symbols can be shown as tool tips on the math panel, to facilitate learning. 5. Is it possible to build a tool that assist writing lyx layout files by giving one (or more) example tex suorce(s)? This tool will have to PARTIALLY UNDERSTAND latex commands so as to identify enviroments and their attributes. Thanks for taking the time reading.
Re: Windows Lyx-1.3.6: Font problems in headings
YOUNES Abdelrazak / M3SYSTEM wrote: > Hello, > > I've tried to google for that but no success, maybe someone could > help me here :-). > > I have some font problems with either dvi, ps, or pdf generated by > lyx. With Yap (dvi) there is an error message (see below) and the > font for chapters and sections (first level) are replaced by a > default font. With GSView, the headings just disappears in (but not > in the table of contents). > With Pdf, Acrobat just replace the font with helvetica and Foxit > will not show the heading. > > I have multiple document class but the results are with same. > > Thanks in advance for any hint, You should try the MikTeX users list... I believe I've seen similar in the past after I upgraded my MikTeX distribution; basically you need to regenerate some database files within MikTeX. Is therenot some menu item on the MikTeX package manager "Rebuild databases" or somesuch? The MikTeX archives/list will have the definitive answer. Angus
Re: Custom layout and psmatrix from pstricks, 1.4.0pre2
Herbert, It's solved! But I still have some questions. See below. On Wed, 2005-10-26 at 13:45 +0200, Herbert Voss wrote: > maarten wrote: > > > Hi, > > > > I have some trouble when trying to getting this ERT to work correctly: > > > > \begin{psmatrix}[colsep=0.5cm] > > \psframebox{Yes} & \psframebox{No} & C \\ > > \psframebox{Yesy} & \psframebox{No} & C \\ > > \ncline{->}{1,1}{2,1} > > \end{psmatrix} > > > > I've put \usepackage{pst-node} in the document preamble. > > > > This works (ps2pdf) as long as I use the standard book layout. When I > > use pdflatex this does not work (as I understand obviously). > > PSTricks -> PostScript Tricks ... > this cannot be compiled with pdflatex. However, unless > you didn't use character expansion, ps2pdf does the same job. > > > > On the other hand, if I generate pdf from my books (without any > > pstricks) with ps2pdf I get a complaint "LaTex Error: Cannot determine > > size of graphic logo.png". But this works fine with pdflatex. > > you should read some basic informations about LaTeX/pdflatex > > > Does anyone have a workaround? I run 1.4.0pre2. > > latex -> ps/eps images > pdflatex -> png,jpg,pdf images I know the latex basics, but I forgot to mention that also when I use logo.eps it happened. In the mean time I found out logo.png in the header works for pdflatex as long as you put another image somewhere in the document. If you use ps2pdf you NEED logo.eps. In the rest of the document you can still use other types of images, lyx takes care about that. After some trail and error I found out: The solution is to remove \usepackage{cmap} (why?) and - off course - put ps2pdf instead of pdftex in the hyperref options in the preamble. > > > % Marges > > \addtolength{\evensidemargin}{-22pt} > > \addtolength{\voffset}{-0.3in} > > \oddsidemargin 0.0in > > \textwidth 6.3in > > \textheight 9.0in > > let this be done by geometry, at least by LyX Is that really needed? I try to keep the "user" interaction about document layout as low possible so I specified this in the layout Preamble. > > > \newsavebox{\oordlogo} > > \savebox{\oordlogo}{\includegraphics[width=15mm]{logo.png}} > > \rhead{\usebox{\oordlogo}} > > why did you put this in a box? I don't know, I copied a sample I found somewhere and it worked. This works also and is perhaps 'cleaner' code: \rhead{\includegraphics[width=15mm]{logo.eps}} > > > Herbert > Maarten
Re: Windows Lyx-1.3.6: Font problems in headings
"Angus Leeming" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > YOUNES Abdelrazak / M3SYSTEM wrote: > > I believe I've seen similar in the past after I upgraded my MikTeX > distribution; basically you need to regenerate some database files > within MikTeX. Is therenot some menu item on the MikTeX package > manager "Rebuild databases" or somesuch? There is "Repository->Synchronise" but nothing solved. I have tried also the "Refresh Now" button in the General Options dialog but nothing solved also. > > The MikTeX archives/list will have the definitive answer. I will try, sorry for the noise. Thanks for the windows version by the way it made me come back to lyx ;-) Abdel > Angus > > >
Re: Windows Lyx-1.3.6: Font problems in headings
The "Refresh Now" button in the Miktek options solved the problem. Thanks! Abdel. "Angus Leeming" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > YOUNES Abdelrazak / M3SYSTEM wrote: > > > Hello, > > > > I've tried to google for that but no success, maybe someone could > > help me here :-). > > > > I have some font problems with either dvi, ps, or pdf generated by > > lyx. With Yap (dvi) there is an error message (see below) and the > > font for chapters and sections (first level) are replaced by a > > default font. With GSView, the headings just disappears in (but not > > in the table of contents). > > With Pdf, Acrobat just replace the font with helvetica and Foxit > > will not show the heading. > > > > I have multiple document class but the results are with same. > > > > Thanks in advance for any hint, > > You should try the MikTeX users list... > > I believe I've seen similar in the past after I upgraded my MikTeX > distribution; basically you need to regenerate some database files > within MikTeX. Is therenot some menu item on the MikTeX package > manager "Rebuild databases" or somesuch? > > The MikTeX archives/list will have the definitive answer. > Angus > > >
Re: updating postscript file, but not eepic picture
Gunnar wrote: Hi. I have a LyX (1.3.6) file that contains a reference to an eepic file that is be included with "\input" command. That works, but when I change in the eepic file, the LyX files preview is not updataed, even though I use update postscript/ view postscript and reloads the postscript file. What can I do to fix this problem? Does closing and reopening the LyX document rectify the problem? Paul