Re: Bogus responses to my [EMAIL PROTECTED] posts
Jean-Marc Lasgouttes [EMAIL PROTECTED] writes: Le 6 mai 08 à 22:18, Abdelrazak Younes a écrit : I see that too. JMarc, is the user list also handled by Mate? In which case maybe he could erase this account? I forwarded your message to Mate's super secret spam-free address (the one he notices) Mate removed the address now. JMarc
Re: Bogus responses to my [EMAIL PROTECTED] posts
Jean-Marc Lasgouttes wrote: Jean-Marc Lasgouttes [EMAIL PROTECTED] writes: Le 6 mai 08 à 22:18, Abdelrazak Younes a écrit : I see that too. JMarc, is the user list also handled by Mate? In which case maybe he could erase this account? I forwarded your message to Mate's super secret spam-free address (the one he notices) Mate removed the address now. Thanks, Abdel.
Table wrap float
How do I make a table wrap float instead of a figre wrap float? -- Rune
Re: why are the table too wide?
Helge Hafting [EMAIL PROTECTED] writes: Jon Bendtsen wrote: On 23/04/2008, at 12.39, Helge Hafting wrote: Jon Bendtsen wrote: I dont want to spent time fixing the table width. I suggest 2 possible options if the table is too wide. 1) scale font so all text can be there in one line 2) break the text inside the table into multiple lines As you show - there are several ways of doing this. they look very different, so clearly the computer cannot make the choice automatically. Different people may want to do this differently, after all. When breaking text inside the table, what columns would you want to do that with? Perhaps you want one of them a little wider than the other because it is more important? LyX simply can't guess such things. You can change the font if you like. Or you can make a table column fixed-width and then the text inside will break into lines automatically. I ask because I have never seen a word processor that can do this fully automatic in a sane way. Of course, a word processor can limit the table to the available width when you just keep typing into the cells. But how can it possibly decide how wide each columns should be, if you puts lots of text into several of them? Usually, only the writer can know which columns are useful to limit and which should adapt to the exact width of the widest cell. And therefore, LyX and the latex typesetter doesn't even try. Helge Hafting I think this is a sane default: When the table becomes so wide that it would not fit the page (or the user set width) then { avail_width - calculate the available width (maybe user set); too_large_columns - amount of table columns; max_width - avail_width / too_large_columns; while next column width max_width OR column width is user set { // don't want to make small columns wider too_large_columns--; avail_width - avail_width - this column width; max_width - avail_width / too_large_columns; } restrict columns that are wider than max_width to max_width; } Or do it like firefox handles tables (it is a bit different, but similar). Rune
Re: Font import
On 6.05.08, snvv wrote: You may use xetex within LyX While using system fonts is far more straightforward with xetex, using xetex from LyX = 1.5 is not. The LyX wiki has more info on this: http://wiki.lyx.org/Mac/XeTeX% using XeTeX with LyX 1.5.x (somewhat % Mac specific but should be adaptable % to other systems http://wiki.lyx.org/LyX/XeTeX% pointers and example file for using % XeTeX with LyX 1.6.x Günter
Re: Bogus responses to my [EMAIL PROTECTED] posts
On Wednesday 07 May 2008 05:11, Abdelrazak Younes wrote: Jean-Marc Lasgouttes wrote: Jean-Marc Lasgouttes [EMAIL PROTECTED] writes: Le 6 mai 08 à 22:18, Abdelrazak Younes a écrit : I see that too. JMarc, is the user list also handled by Mate? In which case maybe he could erase this account? I forwarded your message to Mate's super secret spam-free address (the one he notices) Mate removed the address now. Thanks, Abdel. Yes, thanks! SteveT
Re: generic X copy-and-paste not working
On Tue, 6 May 2008 09:34:33 -0500 (CDT) Mark Hansel [EMAIL PROTECTED] wrote: On Tue, 6 May 2008, Pavel Sanda wrote: Normally, I can highlight text in a terminal and paste it with a middle-click. In LyX, usually I can get to it with Edit - Paste Special. (I can copy-and-paste fine in my xterms.) Now only the selection choices are shaded out and not clickable. But the other choices do nothing for me. This is LyX 1.5.2 on NetBSD. I am not running any clipboard utility. Any ideas why I can't paste into LyX? Jeremy, is this the case with only single LyX window or are running more windows simultaneously? Running just one single instance could help. No, only one LyX running. I have a text highlighted in an xterm. But can't paste into LyX. Tried middle click. Tried using menu options. Workaround: When I cannot get the desired result (say, from a browser window), I can usually get it by pasting into an emacs window as an intermediate step and then highlighting and paste into lyx from the emacs window. Another copy/paste peculiarity (changes from past behavior): Deleted lines (emacs key bindings: ^k) that have not been highlighted won't paste for me (maybe by design). But highlighted lines that are deleted (using ^w) can be pasted (probably to move them). Emacs behavior is different. Contiguous deleted lines (^k) can be yanked back (^y) -- anywhere in a document. (I do not consider Emacs is the gold standard -- let's not repeat the editor flame wars -- it is a convenient feature.) ^k and ^y use the emacs kill buffer, not the X copy buffer. Highlighting the line does use the X buffer. I don't fully understand the X copy/paste methods but IIRC there are also several standards which may be some of the problem. I think it was Helge who pointed out to me some time ago that there was a but that is supposed to be fixed in 1.5.4 and that sometimes closing and reopening lyx can reset the problem. mark hansel
Audio keyboard hot keys not working in Lyx
Has anyone else experienced that hot keys, such as special keys on laptops for controlling the audio level doesn't work while lyx has focus? What might cause this strange behaviour? -- Mvh Rune
Re: [announce] preview test release of LyX 1.6.0alpha2 for Windows
Olivier Ripoll wrote: Uwe Stöhr wrote: Olivier Ripoll schrieb: It works fine here (no crash yet). As for the previous versions (svn1 and svn2), the installer detects that I have the dictionaries installed (English and French), but spell checking fails complaining: The Spellchecker could not be started No words list can be found for the language en_US. I see the same message in the console when I start lyx from there. I couldn't reproduce this problem. Does Aspell work with your existing LyX 1.5 installation? I did not have 1.5 installed. So I installed yesterday the 1.5.4 from LyX-1.5.4-1-Installer.exe. During the installation, I checked the download of English and French dictionaries. As for 1.6, the spellchecking does not work (same error message, but only as a popup, I do not see it in the console if I start LyX from there... probably some debug option). Ok, I managed to get aspell to work ... finally. I had installed 1.5.4 for all users, so its aspell dictionaries were not in the same place as 1.6 expected. Copying them into the right tree made LyX 1.6 find them. It seems there was only the German dictionary there, so spell-checking in English could not work (*) Then I de-installed everything from aspell and both lyx versions (except LyX 1.6 user preferences), and I noticed LyX 1.6alpha2 installer was still pretending that I had English and French dictionaries already installed. Puzzling, since a search for files/folders containing the word aspell on the hard drive returned no matches (same in the registry). At that step, spell-checking failed again. I then installed by hand the dictionaries (aspell6-fr-0.50-3.exe and aspell6-en-6.0-0.exe) but spell-checking was now failing to find some iso cset files IIRC. Re-installing 1.5.4 for me only, then de-installing it solved the issue. In the add/remove software, I noticed that the difference seems to be the presence of aspell data. I found some installer file for it in the uploads of the wiki (aspelldata-0.60.4-root.exe). I might use it in the future to avoid installing/removing 1.5. So, to summarise: - LyX 1.5.4 probably failed because it was looking in the wrong tree for English/French dictionaries (all users vs. my user name). - LyX 1.6alpha2 seems to fail to install aspelldata and dictionaries. - Now, spell-checking works fine :-) Best regards, Olivier (*) I however do not think I ever asked the installers to install the German dictionary... I do not write German documents (well, I hardly speak German anyway) Perhaps to do with my regional settings (switzerland)
Re: how can I adapt documents for LARGE PRINT versions?
Joe(theWordy)Philbrook wrote: Yeah, Though the more things I _CAN_ micromanage with ugly red text the better I'll like it. In fact, even though I knew when I first became interested in LyX that it would be a long time before I had much time to spend on learning latex, it was the fact that one can override lyx with embedded latex commands that convinced my to start using lyx... I've never been happy with the idea of depending on whoever is developing/maintaining a gui package to keep the parts I count on, in the package... So the way LyX uses LaTeX, and incorporates the idea of embedding actual LaTeX commands, while letting me do almost anything I might have done with a word processor without having to already know LaTeX is the main reason I do more with it than OOffice... Seems we mostly agree then. I use LyX mechanisms (such as document settings or stuff on the insert menu) whenever it is available. ERT is only for what LyX does not (yet) support, but it is then a very nice capability to have. With enough knowledge, ERT lets you do anything you can imagine. ERT is unfortunately also capable of screwing up in very subtle ways. The cases where the document fail to print are the easier ones, as you see the problem immediately. The worst is when a nice improvement in one place redefines something and cause slight ugliness in many other places. Stuff looks bad, but it is hard to point a finger at what it is. Redefining a length/size that is used for several purposes is one way of achieving this. :-( If you want to become a latex expert with time, get a book or two about it. And use the web, there are lots of latex tricks to pick up. Having a book for reference is essential though. It will show a lot of what latex can do and how to do it. And it will likely steer you away from the worst mistakes as well. Helge Hafting
Re: Audio keyboard hot keys not working in Lyx
Rune Schjellerup Philosof wrote: Has anyone else experienced that hot keys, such as special keys on laptops for controlling the audio level doesn't work while lyx has focus? What might cause this strange behaviour? Lyx has focus, and decides to ignore keys that aren't bound to any action. Not that strange. Of course it'd be nice if LyX did whatever other apps do in order to pass these keys on to other apps (presumably your colume control app.) Some apps wants detailed control of the keyboard, in order to inspect shift states and such, or in order to impose alternative keyboard layouts. I guess the hotkeys gets mixed into this somehow. Helge Hafting
Re: Table wrap float
Rune Schjellerup Philosof schrieb: How do I make a table wrap float instead of a figre wrap float? Only with ERT, look at the description of the LateX package wrapfig. The upcoming LyX 1.6 will provide table wrap floats. regards Uwe
Re: Audio keyboard hot keys not working in Lyx
Helge Hafting skrev: Rune Schjellerup Philosof wrote: Has anyone else experienced that hot keys, such as special keys on laptops for controlling the audio level doesn't work while lyx has focus? What might cause this strange behaviour? Lyx has focus, and decides to ignore keys that aren't bound to any action. Not that strange. Of course it'd be nice if LyX did whatever other apps do in order to pass these keys on to other apps (presumably your colume control app.) Some apps wants detailed control of the keyboard, in order to inspect shift states and such, or in order to impose alternative keyboard layouts. I guess the hotkeys gets mixed into this somehow. I forgot to mention that other hot keys on my keyboard works perfectly. - Rune
Re: Printing a book
John wrote: Hi everyone I've used LyX from the beginning and love it! But in the last few weeks I've been inspired to raise my horizons and print a book sized book. In the past I have printed all my LyX documents on A4 paper. But for a book that is far too big. So I decided to try for 9 x 6 or 225mm x 160mm which seem to be the sizes offered by local Print on Demand businesses in New Zealand. I would welcome advice by people who have used LyX to produce PDF files for printing and binding by POD businesses. I have done this once. They wanted a camera-ready PDF, for a custom page size. It has been some time since then so I don't remember everything. But feel free to keep asking. My difficulty is that, having set the page size in LyX, it shows up fine in xpdf but seems to be scaled to A4 when viewed by Acrobat Reader (which I suspect will be what the POD company will use). It should hopefully _print_ fine anyway, which is what matters. When I attempt to print it on my home printer (with A4 paper in the tray), the pages are the right size but appear alternatively at the top left and the botton right of the A4 sheets - resulting in sheets that cannot be trimmed to size without cropping off the content of one face of the sheet. I guess your book is set up to print on both sides of each sheet, but the printer you use prints single-side? What you see is a consequence of two-sided layouts - the page origin alternate between two corners because page two is supposed to go on the backside of page 1 and so on throughout the book. Consider trying this: Put a single page in the printer. Print first page. Turn it over sideways and insert it again, and you should get the second page printed on the backside so that cropping will work. For book printing, don't turn over pages individually. Have LyX print all the odd pages in reverse order. Turn the entire stack over, then print the even pages in normal order. You should now have your book. (Experiment with smaller runs of pages until the procedure works.) Some printers may not need the reverse order stuff, this depends on the output order. Another test: just take page 2 and put it on the backside of page 1. Check that cropping works this way. Getting a duplex printer might be interesting too, if you're going to print more than the occational test book. There are bound to be tricks to this, both for printing at home so that I can guillotine the A4 down to the size I want, and for submitting a PDF file which a Digital Printing business can use directly. Ask the printing business about what they want. I needed to add crop marks (used for cutting pages precisely), the crop latex package supports that nicely. If it looks like A4 in acrobat, then the crop marks fitting the real size will show the print people what you mean. Also, try the three ways of making a pdf: export-PDF (dvipdfm/pdflatex/ps2pdf) In my case, dvipdfm was the only way that worked for everything. That was 5 years ago though. Helge Hafting
Re: Audio keyboard hot keys not working in Lyx
On Wednesday 07 May 2008 09:04, Helge Hafting wrote: Rune Schjellerup Philosof wrote: Has anyone else experienced that hot keys, such as special keys on laptops for controlling the audio level doesn't work while lyx has focus? What might cause this strange behaviour? Lyx has focus, and decides to ignore keys that aren't bound to any action. Not that strange. Of course it'd be nice if LyX did whatever other apps do in order to pass these keys on to other apps (presumably your colume control app.) Some apps wants detailed control of the keyboard, in order to inspect shift states and such, or in order to impose alternative keyboard layouts. I guess the hotkeys gets mixed into this somehow. This behavior is not universal. While Lyx 1.5.3 has focus, I can press Ctrl+9 to open UMENU, and it works perfectly. My window manager is IceWM, and within IceWM's keys file I've defined Ctrl+9 to run UMENU. So at least under my circumstances, LyX does the right thing. SteveT Steve Litt Books written in LyX: Troubleshooting Techniques of the Successful Technologist Twenty Eight Tales of Troubleshooting Troubleshooting: Just the Facts
installing new layouts/packages - new and non-tech person
Hey everyone, I am struggling (for 6 hours now) on installing new packages on lyx. I am new to Lyx and MikTek. I love it because of the formatting, but now I'm having trouble with exactly the same thing. I am trying to install new packages for report. I didn't like Koma.script or the default report. I read Customization - Chapter 5. Lost at pt 2, ie cant find texmf.cnf 2. Read the file texmf.cnf (this usually lives in the directory $TEXMF/web2c, though you can run kpsewhich texmf.cnf to locate it). It describes how to add a local texmf directory; follow the instructions. You need to insert the name of your local texmf directory in texmf.cnf. Under Linux, /usr/local is a logical place to install software that did not come with your distribution, so you might use /usr/local/texmf. Usually, you will have to modify only two things: I cant seem to find texmf.cnf anywhere in my directory. did a global file search in Windows, no result. Did a local search on both Miktek and Lyx15 directory, no luck. Did a run (from start menu), black box appear and disappear. Is this file on CTAN? But I selected and downloaded packages from Miktek Pkg Mng. (is Miktek Pkg Mng the same as CTAN?) Do I need to create it? If I do, it is stated I need to follow the root of texmf (which is not available at the first place). Where do I start? I did a FNBD (Miktek setting) refresh. On lyx, I reconfigure and restart. I can see them in Tooltex information. But in Documentsettings doc class, some packages didn't appear, some still unavailable. Then found from one of the discussion thread, I tried to create a layout folder in /usr/application data/lyx15/layouts, which files to put in this newly created folder??? I found that all the packages downloaded are scattered all over Miktek directory. What should I do Please please please helpI cant even find a local tutor, hence I am writing on this forum, anomaly for me Desperately in need of help, Jacque PhD UCL p/s I am using Lyx1.5.4, downloaded in Feb 2008. -- View this message in context: http://www.nabble.com/installing-new-layouts-packages---new-and-non-tech-person-tp17110202p17110202.html Sent from the LyX - Users mailing list archive at Nabble.com.
Re: Audio keyboard hot keys not working in Lyx
Steve Litt skrev: On Wednesday 07 May 2008 09:04, Helge Hafting wrote: Rune Schjellerup Philosof wrote: Has anyone else experienced that hot keys, such as special keys on laptops for controlling the audio level doesn't work while lyx has focus? What might cause this strange behaviour? Lyx has focus, and decides to ignore keys that aren't bound to any action. Not that strange. Of course it'd be nice if LyX did whatever other apps do in order to pass these keys on to other apps (presumably your colume control app.) Some apps wants detailed control of the keyboard, in order to inspect shift states and such, or in order to impose alternative keyboard layouts. I guess the hotkeys gets mixed into this somehow. This behavior is not universal. While Lyx 1.5.3 has focus, I can press Ctrl+9 to open UMENU, and it works perfectly. My window manager is IceWM, and within IceWM's keys file I've defined Ctrl+9 to run UMENU. So at least under my circumstances, LyX does the right thing. Silly me, I forgot to mention that I run Windows Vista. -- Rune
Re: installing new layouts/packages - new and non-tech person
Jacque wrote: Hey everyone, I am struggling (for 6 hours now) on installing new packages on lyx. I am new to Lyx and MikTek. I love it because of the formatting, but now I'm having trouble with exactly the same thing. I am trying to install new packages for report. I didn't like Koma.script or the default report. I read Customization - Chapter 5. Lost at pt 2, ie cant find texmf.cnf 2. Read the file texmf.cnf (this usually lives in the directory $TEXMF/web2c, though you can run kpsewhich texmf.cnf to locate it). It describes how to add a local texmf directory; follow the instructions. You need to insert the name of your local texmf directory in texmf.cnf. Under Linux, /usr/local is a logical place to install software that did not come with your distribution, so you might use /usr/local/texmf. Usually, you will have to modify only two things: This description is pretty accurate for most (Linux-based) LaTeX distributions, but less so for MiKTeX, which automates some of the stuff you would otherwise do manually. I cant seem to find texmf.cnf anywhere in my directory. did a global file search in Windows, no result. Did a local search on both Miktek and Lyx15 directory, no luck. Did a run (from start menu), black box appear and disappear. Is this file on CTAN? I don't think MiKTeX has this file. FYI, if you're looking for the location of a MiKTeX file, the easiest way is to open a DOS shell and run 'kpsewhich file.ext' (substituting the name and extension of the file you seek). But I selected and downloaded packages from Miktek Pkg Mng. (is Miktek Pkg Mng the same as CTAN?) No, but they're related. CTAN is a repository for all sorts of individual LaTeX packages. MiKTeX's maintainer converts most if not all of those LaTeX packages into Windows .cab file, including installation instructions, so that the MiKTeX package manager can install them for you. If you download a package from CTAN, you have to do the installation housekeeping. If you use the MiKTeX package manager (which presumes it's available as a MiKTeX package), the package manager does all that for you. Occasionally you may need a LaTeX package put out by a publisher, journal or conference that's not on CTAN and not available through the package manager, in which case you download and install manually. But that's a tale for another day... Do I need to create it? If I do, it is stated I need to follow the root of texmf (which is not available at the first place). Where do I start? Don't need it. Don't worry about it. I did a FNBD (Miktek setting) refresh. If you install a package through the package manager, the package manager automatically refreshes the database for you. An extra refresh won't hurt, though; it's just unnecessary. On lyx, I reconfigure and restart. That's correct. I can see them in Tooltex information. But in Documentsettings doc class, some packages didn't appear, some still unavailable. If you install a document class for which LyX does not have a corresponding layout file, the class will not show up at all in the list. If the document class is listed there but still says unavailable after you've reconfigured and restarted LyX, then it means LyX did not find the corresponding MiKTeX package. Let's say you are trying to use article (AA) and it is listed as unavailable. Look in the ...\Resources\layouts folder for the corresponding layout file. You may have to guess the name. In this case, it's aa.layout. You can confirm your guess by looking in the layout file using a text editor (such as Notepad). The second line should contain the label used in the Document Settings list. In this case, it reads \DeclareLaTeXClass[aa]{article (AA)}. Now that you know the name of the layout file, you need to know if MiKTeX contains a class file with the same name (and extension .cls). Use kpsewhich for this. In my example, I open a DOS shell and run 'kpsewhich aa.cls'. Nothing is returned, telling me I lack the MiKTeX package (or else it is installed but for some reason the filename database has not been refreshed). In contrast, LyX says that article (AMS) is available. The corresponding layout file is amsart.layout, and 'kpsewhich amsart.cls' returns the path to the class file. Then found from one of the discussion thread, I tried to create a layout folder in /usr/application data/lyx15/layouts, which files to put in this newly created folder??? This looks like a Linux path, not a Windows path. In any case, you do not need to create the directory. In LyX, click 'Help About LyX' and note the User directory entry. It gives you the path to your LyX local settings. Expand '~' to your home directory. For most Windows users, this is C:\Documents and Settings\your id\Application Data\lyx15. Under that directory, there is a 'layouts' folder where you can store locally generated layout files. You would do this when you had to
Is this a known bug?
Dears, It is possible that I should put this on developers list too, but I didn't. If any of you it is worth, please do. I was fighting with my report and when I click View PDF (pdflatex) icon... nothing happened. LyX 1.5.4 under Windows. Remembering a few times from this lists when someone advices to run lyxc.exe from cmd, I do that. Console shows: Error 42 returned from iconv when converting from UCS-4LE to ISO-8859-2: Illegal byte sequence Converted input: Stopped at: 0x03b2 Unconverted input: Converted output: File 'C:/Documents and Settings/Manveru/Ustawienia lokalne/Temp/lyx_tmpdir3416a0 5128/lyx_tmpbuf0/spr5.tex' was not closed properly. Then I open that not properly closed file and look at the end. That points me a place where I have wrong character (beta character instead of \beta command). I think that LyX should handle this case and show error message showing the description and last few words of wrongly converted file. This would be much more helpful to the user than nothing (as currently LyX without console do in such situation). Is this a LyX bug?? If it is an iconv problem, that a really a problem. Wrong error handling in library is vary bad situation for developers. Cheers! -- Manveru jabber: [EMAIL PROTECTED] gg: 1624001 http://www.manveru.pl
Re: installing new layouts/packages - new and non-tech person
Jacque schrieb: I am trying to install new packages for report. I didn't like Koma.script or the default report. What is wrong with them. Before you start to build your own class, read the documentation of koma-script - you can customize it in nearly every field. What do you want to change? Besides koma-script, we also provide other report clases, you can also use article or book classes to write reports. I read Customization - Chapter 5. Lost at pt 2, ie cant find texmf.cnf 2. Read the file texmf.cnf ... This info is only for Linux. With MiKTeX, you can simply start its package manager program to install the LaTeX package you want. (For custom LaTeX classes you need to create a new layout file to make LyX able to acces it.) What is the package you want to use? I did a FNBD (Miktek setting) refresh. On lyx, I reconfigure and restart. I can see them in Tooltex information. But in Documentsettings doc class, some packages didn't appear, some still unavailable. Yes, because some layouts uses classes that are not freely distributable and therefore not included in MiKTeX. This are mostly classes of publishing companies like Springer, Elsevier, etc. In case you have to use such a class, go to the publishers homepage to get the class files and to read how they are installed. regards Uwe
RE: Tex capacity exceeded
Turned out the error was being caused by having single quotes in math equations. I was using them to indicate derivatives. I changed them to \prime and everything worked! Also it didn't like it if I placed a single quote inside a \mbox within a math equation. Anyone know why this is? Thanks. Adrian -Original Message- From: Paul A. Rubin [mailto:[EMAIL PROTECTED] Sent: Saturday, May 03, 2008 1:36 PM To: lyx-users@lists.lyx.org Subject: Re: Tex capacity exceeded Adrian Peter wrote: Hi, I am working on a multipart thesis using Lyx. I keep getting the following error when I try to export to PDF or view the DVI: TeX capacity exceeded, sorry [input stack size=5000] I checked the mail archive and saw that there could be several issues that cause this error: unterminated brackets, infinite loops from the \renew command, too many eps figures, etc. Nothing was conclusive. My child documents do use several eps figures with many of them exceeding 30MB in size. Could someone help me figure out what is really causing this error and how to fix it? If it is the eps figures, will the problem be solved if I convert them to PNG of smaller size? Thank you. You have EPS figures that individually exceed 30MB??? Yikes!! I assume the bulk of these are bitmaps? If the bitmaps are previews (see, for instance, http://bourbon.usc.edu/tgif/faq/importeps.html), I would chop them out; they won't (at least, shouldn't) be used when generating PDF output. Don't know if they would cause LaTeX to run out of memory, though. If that's not the source of the memory problem, you might try a divide-and-conquer approach. Chop out pieces of the thesis until you get something that compiles, then put things back until you either identify a maximum amount of the document that compiles or identify one particular piece that's at fault (meaning the entire document minus that piece compiles, and that piece by itself does not). If it's the latter case, use divide-and-conquer within just that piece to find the culprit. /Paul
Re: Bogus responses to my [EMAIL PROTECTED] posts
Jean-Marc Lasgouttes [EMAIL PROTECTED] writes: Le 6 mai 08 à 22:18, Abdelrazak Younes a écrit : I see that too. JMarc, is the user list also handled by Mate? In which case maybe he could erase this account? I forwarded your message to Mate's super secret spam-free address (the one he notices) Mate removed the address now. JMarc
Re: Bogus responses to my [EMAIL PROTECTED] posts
Jean-Marc Lasgouttes wrote: Jean-Marc Lasgouttes [EMAIL PROTECTED] writes: Le 6 mai 08 à 22:18, Abdelrazak Younes a écrit : I see that too. JMarc, is the user list also handled by Mate? In which case maybe he could erase this account? I forwarded your message to Mate's super secret spam-free address (the one he notices) Mate removed the address now. Thanks, Abdel.
Table wrap float
How do I make a table wrap float instead of a figre wrap float? -- Rune
Re: why are the table too wide?
Helge Hafting [EMAIL PROTECTED] writes: Jon Bendtsen wrote: On 23/04/2008, at 12.39, Helge Hafting wrote: Jon Bendtsen wrote: I dont want to spent time fixing the table width. I suggest 2 possible options if the table is too wide. 1) scale font so all text can be there in one line 2) break the text inside the table into multiple lines As you show - there are several ways of doing this. they look very different, so clearly the computer cannot make the choice automatically. Different people may want to do this differently, after all. When breaking text inside the table, what columns would you want to do that with? Perhaps you want one of them a little wider than the other because it is more important? LyX simply can't guess such things. You can change the font if you like. Or you can make a table column fixed-width and then the text inside will break into lines automatically. I ask because I have never seen a word processor that can do this fully automatic in a sane way. Of course, a word processor can limit the table to the available width when you just keep typing into the cells. But how can it possibly decide how wide each columns should be, if you puts lots of text into several of them? Usually, only the writer can know which columns are useful to limit and which should adapt to the exact width of the widest cell. And therefore, LyX and the latex typesetter doesn't even try. Helge Hafting I think this is a sane default: When the table becomes so wide that it would not fit the page (or the user set width) then { avail_width - calculate the available width (maybe user set); too_large_columns - amount of table columns; max_width - avail_width / too_large_columns; while next column width max_width OR column width is user set { // don't want to make small columns wider too_large_columns--; avail_width - avail_width - this column width; max_width - avail_width / too_large_columns; } restrict columns that are wider than max_width to max_width; } Or do it like firefox handles tables (it is a bit different, but similar). Rune
Re: Font import
On 6.05.08, snvv wrote: You may use xetex within LyX While using system fonts is far more straightforward with xetex, using xetex from LyX = 1.5 is not. The LyX wiki has more info on this: http://wiki.lyx.org/Mac/XeTeX% using XeTeX with LyX 1.5.x (somewhat % Mac specific but should be adaptable % to other systems http://wiki.lyx.org/LyX/XeTeX% pointers and example file for using % XeTeX with LyX 1.6.x Günter
Re: Bogus responses to my [EMAIL PROTECTED] posts
On Wednesday 07 May 2008 05:11, Abdelrazak Younes wrote: Jean-Marc Lasgouttes wrote: Jean-Marc Lasgouttes [EMAIL PROTECTED] writes: Le 6 mai 08 à 22:18, Abdelrazak Younes a écrit : I see that too. JMarc, is the user list also handled by Mate? In which case maybe he could erase this account? I forwarded your message to Mate's super secret spam-free address (the one he notices) Mate removed the address now. Thanks, Abdel. Yes, thanks! SteveT
Re: generic X copy-and-paste not working
On Tue, 6 May 2008 09:34:33 -0500 (CDT) Mark Hansel [EMAIL PROTECTED] wrote: On Tue, 6 May 2008, Pavel Sanda wrote: Normally, I can highlight text in a terminal and paste it with a middle-click. In LyX, usually I can get to it with Edit - Paste Special. (I can copy-and-paste fine in my xterms.) Now only the selection choices are shaded out and not clickable. But the other choices do nothing for me. This is LyX 1.5.2 on NetBSD. I am not running any clipboard utility. Any ideas why I can't paste into LyX? Jeremy, is this the case with only single LyX window or are running more windows simultaneously? Running just one single instance could help. No, only one LyX running. I have a text highlighted in an xterm. But can't paste into LyX. Tried middle click. Tried using menu options. Workaround: When I cannot get the desired result (say, from a browser window), I can usually get it by pasting into an emacs window as an intermediate step and then highlighting and paste into lyx from the emacs window. Another copy/paste peculiarity (changes from past behavior): Deleted lines (emacs key bindings: ^k) that have not been highlighted won't paste for me (maybe by design). But highlighted lines that are deleted (using ^w) can be pasted (probably to move them). Emacs behavior is different. Contiguous deleted lines (^k) can be yanked back (^y) -- anywhere in a document. (I do not consider Emacs is the gold standard -- let's not repeat the editor flame wars -- it is a convenient feature.) ^k and ^y use the emacs kill buffer, not the X copy buffer. Highlighting the line does use the X buffer. I don't fully understand the X copy/paste methods but IIRC there are also several standards which may be some of the problem. I think it was Helge who pointed out to me some time ago that there was a but that is supposed to be fixed in 1.5.4 and that sometimes closing and reopening lyx can reset the problem. mark hansel
Audio keyboard hot keys not working in Lyx
Has anyone else experienced that hot keys, such as special keys on laptops for controlling the audio level doesn't work while lyx has focus? What might cause this strange behaviour? -- Mvh Rune
Re: [announce] preview test release of LyX 1.6.0alpha2 for Windows
Olivier Ripoll wrote: Uwe Stöhr wrote: Olivier Ripoll schrieb: It works fine here (no crash yet). As for the previous versions (svn1 and svn2), the installer detects that I have the dictionaries installed (English and French), but spell checking fails complaining: The Spellchecker could not be started No words list can be found for the language en_US. I see the same message in the console when I start lyx from there. I couldn't reproduce this problem. Does Aspell work with your existing LyX 1.5 installation? I did not have 1.5 installed. So I installed yesterday the 1.5.4 from LyX-1.5.4-1-Installer.exe. During the installation, I checked the download of English and French dictionaries. As for 1.6, the spellchecking does not work (same error message, but only as a popup, I do not see it in the console if I start LyX from there... probably some debug option). Ok, I managed to get aspell to work ... finally. I had installed 1.5.4 for all users, so its aspell dictionaries were not in the same place as 1.6 expected. Copying them into the right tree made LyX 1.6 find them. It seems there was only the German dictionary there, so spell-checking in English could not work (*) Then I de-installed everything from aspell and both lyx versions (except LyX 1.6 user preferences), and I noticed LyX 1.6alpha2 installer was still pretending that I had English and French dictionaries already installed. Puzzling, since a search for files/folders containing the word aspell on the hard drive returned no matches (same in the registry). At that step, spell-checking failed again. I then installed by hand the dictionaries (aspell6-fr-0.50-3.exe and aspell6-en-6.0-0.exe) but spell-checking was now failing to find some iso cset files IIRC. Re-installing 1.5.4 for me only, then de-installing it solved the issue. In the add/remove software, I noticed that the difference seems to be the presence of aspell data. I found some installer file for it in the uploads of the wiki (aspelldata-0.60.4-root.exe). I might use it in the future to avoid installing/removing 1.5. So, to summarise: - LyX 1.5.4 probably failed because it was looking in the wrong tree for English/French dictionaries (all users vs. my user name). - LyX 1.6alpha2 seems to fail to install aspelldata and dictionaries. - Now, spell-checking works fine :-) Best regards, Olivier (*) I however do not think I ever asked the installers to install the German dictionary... I do not write German documents (well, I hardly speak German anyway) Perhaps to do with my regional settings (switzerland)
Re: how can I adapt documents for LARGE PRINT versions?
Joe(theWordy)Philbrook wrote: Yeah, Though the more things I _CAN_ micromanage with ugly red text the better I'll like it. In fact, even though I knew when I first became interested in LyX that it would be a long time before I had much time to spend on learning latex, it was the fact that one can override lyx with embedded latex commands that convinced my to start using lyx... I've never been happy with the idea of depending on whoever is developing/maintaining a gui package to keep the parts I count on, in the package... So the way LyX uses LaTeX, and incorporates the idea of embedding actual LaTeX commands, while letting me do almost anything I might have done with a word processor without having to already know LaTeX is the main reason I do more with it than OOffice... Seems we mostly agree then. I use LyX mechanisms (such as document settings or stuff on the insert menu) whenever it is available. ERT is only for what LyX does not (yet) support, but it is then a very nice capability to have. With enough knowledge, ERT lets you do anything you can imagine. ERT is unfortunately also capable of screwing up in very subtle ways. The cases where the document fail to print are the easier ones, as you see the problem immediately. The worst is when a nice improvement in one place redefines something and cause slight ugliness in many other places. Stuff looks bad, but it is hard to point a finger at what it is. Redefining a length/size that is used for several purposes is one way of achieving this. :-( If you want to become a latex expert with time, get a book or two about it. And use the web, there are lots of latex tricks to pick up. Having a book for reference is essential though. It will show a lot of what latex can do and how to do it. And it will likely steer you away from the worst mistakes as well. Helge Hafting
Re: Audio keyboard hot keys not working in Lyx
Rune Schjellerup Philosof wrote: Has anyone else experienced that hot keys, such as special keys on laptops for controlling the audio level doesn't work while lyx has focus? What might cause this strange behaviour? Lyx has focus, and decides to ignore keys that aren't bound to any action. Not that strange. Of course it'd be nice if LyX did whatever other apps do in order to pass these keys on to other apps (presumably your colume control app.) Some apps wants detailed control of the keyboard, in order to inspect shift states and such, or in order to impose alternative keyboard layouts. I guess the hotkeys gets mixed into this somehow. Helge Hafting
Re: Table wrap float
Rune Schjellerup Philosof schrieb: How do I make a table wrap float instead of a figre wrap float? Only with ERT, look at the description of the LateX package wrapfig. The upcoming LyX 1.6 will provide table wrap floats. regards Uwe
Re: Audio keyboard hot keys not working in Lyx
Helge Hafting skrev: Rune Schjellerup Philosof wrote: Has anyone else experienced that hot keys, such as special keys on laptops for controlling the audio level doesn't work while lyx has focus? What might cause this strange behaviour? Lyx has focus, and decides to ignore keys that aren't bound to any action. Not that strange. Of course it'd be nice if LyX did whatever other apps do in order to pass these keys on to other apps (presumably your colume control app.) Some apps wants detailed control of the keyboard, in order to inspect shift states and such, or in order to impose alternative keyboard layouts. I guess the hotkeys gets mixed into this somehow. I forgot to mention that other hot keys on my keyboard works perfectly. - Rune
Re: Printing a book
John wrote: Hi everyone I've used LyX from the beginning and love it! But in the last few weeks I've been inspired to raise my horizons and print a book sized book. In the past I have printed all my LyX documents on A4 paper. But for a book that is far too big. So I decided to try for 9 x 6 or 225mm x 160mm which seem to be the sizes offered by local Print on Demand businesses in New Zealand. I would welcome advice by people who have used LyX to produce PDF files for printing and binding by POD businesses. I have done this once. They wanted a camera-ready PDF, for a custom page size. It has been some time since then so I don't remember everything. But feel free to keep asking. My difficulty is that, having set the page size in LyX, it shows up fine in xpdf but seems to be scaled to A4 when viewed by Acrobat Reader (which I suspect will be what the POD company will use). It should hopefully _print_ fine anyway, which is what matters. When I attempt to print it on my home printer (with A4 paper in the tray), the pages are the right size but appear alternatively at the top left and the botton right of the A4 sheets - resulting in sheets that cannot be trimmed to size without cropping off the content of one face of the sheet. I guess your book is set up to print on both sides of each sheet, but the printer you use prints single-side? What you see is a consequence of two-sided layouts - the page origin alternate between two corners because page two is supposed to go on the backside of page 1 and so on throughout the book. Consider trying this: Put a single page in the printer. Print first page. Turn it over sideways and insert it again, and you should get the second page printed on the backside so that cropping will work. For book printing, don't turn over pages individually. Have LyX print all the odd pages in reverse order. Turn the entire stack over, then print the even pages in normal order. You should now have your book. (Experiment with smaller runs of pages until the procedure works.) Some printers may not need the reverse order stuff, this depends on the output order. Another test: just take page 2 and put it on the backside of page 1. Check that cropping works this way. Getting a duplex printer might be interesting too, if you're going to print more than the occational test book. There are bound to be tricks to this, both for printing at home so that I can guillotine the A4 down to the size I want, and for submitting a PDF file which a Digital Printing business can use directly. Ask the printing business about what they want. I needed to add crop marks (used for cutting pages precisely), the crop latex package supports that nicely. If it looks like A4 in acrobat, then the crop marks fitting the real size will show the print people what you mean. Also, try the three ways of making a pdf: export-PDF (dvipdfm/pdflatex/ps2pdf) In my case, dvipdfm was the only way that worked for everything. That was 5 years ago though. Helge Hafting
Re: Audio keyboard hot keys not working in Lyx
On Wednesday 07 May 2008 09:04, Helge Hafting wrote: Rune Schjellerup Philosof wrote: Has anyone else experienced that hot keys, such as special keys on laptops for controlling the audio level doesn't work while lyx has focus? What might cause this strange behaviour? Lyx has focus, and decides to ignore keys that aren't bound to any action. Not that strange. Of course it'd be nice if LyX did whatever other apps do in order to pass these keys on to other apps (presumably your colume control app.) Some apps wants detailed control of the keyboard, in order to inspect shift states and such, or in order to impose alternative keyboard layouts. I guess the hotkeys gets mixed into this somehow. This behavior is not universal. While Lyx 1.5.3 has focus, I can press Ctrl+9 to open UMENU, and it works perfectly. My window manager is IceWM, and within IceWM's keys file I've defined Ctrl+9 to run UMENU. So at least under my circumstances, LyX does the right thing. SteveT Steve Litt Books written in LyX: Troubleshooting Techniques of the Successful Technologist Twenty Eight Tales of Troubleshooting Troubleshooting: Just the Facts
installing new layouts/packages - new and non-tech person
Hey everyone, I am struggling (for 6 hours now) on installing new packages on lyx. I am new to Lyx and MikTek. I love it because of the formatting, but now I'm having trouble with exactly the same thing. I am trying to install new packages for report. I didn't like Koma.script or the default report. I read Customization - Chapter 5. Lost at pt 2, ie cant find texmf.cnf 2. Read the file texmf.cnf (this usually lives in the directory $TEXMF/web2c, though you can run kpsewhich texmf.cnf to locate it). It describes how to add a local texmf directory; follow the instructions. You need to insert the name of your local texmf directory in texmf.cnf. Under Linux, /usr/local is a logical place to install software that did not come with your distribution, so you might use /usr/local/texmf. Usually, you will have to modify only two things: I cant seem to find texmf.cnf anywhere in my directory. did a global file search in Windows, no result. Did a local search on both Miktek and Lyx15 directory, no luck. Did a run (from start menu), black box appear and disappear. Is this file on CTAN? But I selected and downloaded packages from Miktek Pkg Mng. (is Miktek Pkg Mng the same as CTAN?) Do I need to create it? If I do, it is stated I need to follow the root of texmf (which is not available at the first place). Where do I start? I did a FNBD (Miktek setting) refresh. On lyx, I reconfigure and restart. I can see them in Tooltex information. But in Documentsettings doc class, some packages didn't appear, some still unavailable. Then found from one of the discussion thread, I tried to create a layout folder in /usr/application data/lyx15/layouts, which files to put in this newly created folder??? I found that all the packages downloaded are scattered all over Miktek directory. What should I do Please please please helpI cant even find a local tutor, hence I am writing on this forum, anomaly for me Desperately in need of help, Jacque PhD UCL p/s I am using Lyx1.5.4, downloaded in Feb 2008. -- View this message in context: http://www.nabble.com/installing-new-layouts-packages---new-and-non-tech-person-tp17110202p17110202.html Sent from the LyX - Users mailing list archive at Nabble.com.
Re: Audio keyboard hot keys not working in Lyx
Steve Litt skrev: On Wednesday 07 May 2008 09:04, Helge Hafting wrote: Rune Schjellerup Philosof wrote: Has anyone else experienced that hot keys, such as special keys on laptops for controlling the audio level doesn't work while lyx has focus? What might cause this strange behaviour? Lyx has focus, and decides to ignore keys that aren't bound to any action. Not that strange. Of course it'd be nice if LyX did whatever other apps do in order to pass these keys on to other apps (presumably your colume control app.) Some apps wants detailed control of the keyboard, in order to inspect shift states and such, or in order to impose alternative keyboard layouts. I guess the hotkeys gets mixed into this somehow. This behavior is not universal. While Lyx 1.5.3 has focus, I can press Ctrl+9 to open UMENU, and it works perfectly. My window manager is IceWM, and within IceWM's keys file I've defined Ctrl+9 to run UMENU. So at least under my circumstances, LyX does the right thing. Silly me, I forgot to mention that I run Windows Vista. -- Rune
Re: installing new layouts/packages - new and non-tech person
Jacque wrote: Hey everyone, I am struggling (for 6 hours now) on installing new packages on lyx. I am new to Lyx and MikTek. I love it because of the formatting, but now I'm having trouble with exactly the same thing. I am trying to install new packages for report. I didn't like Koma.script or the default report. I read Customization - Chapter 5. Lost at pt 2, ie cant find texmf.cnf 2. Read the file texmf.cnf (this usually lives in the directory $TEXMF/web2c, though you can run kpsewhich texmf.cnf to locate it). It describes how to add a local texmf directory; follow the instructions. You need to insert the name of your local texmf directory in texmf.cnf. Under Linux, /usr/local is a logical place to install software that did not come with your distribution, so you might use /usr/local/texmf. Usually, you will have to modify only two things: This description is pretty accurate for most (Linux-based) LaTeX distributions, but less so for MiKTeX, which automates some of the stuff you would otherwise do manually. I cant seem to find texmf.cnf anywhere in my directory. did a global file search in Windows, no result. Did a local search on both Miktek and Lyx15 directory, no luck. Did a run (from start menu), black box appear and disappear. Is this file on CTAN? I don't think MiKTeX has this file. FYI, if you're looking for the location of a MiKTeX file, the easiest way is to open a DOS shell and run 'kpsewhich file.ext' (substituting the name and extension of the file you seek). But I selected and downloaded packages from Miktek Pkg Mng. (is Miktek Pkg Mng the same as CTAN?) No, but they're related. CTAN is a repository for all sorts of individual LaTeX packages. MiKTeX's maintainer converts most if not all of those LaTeX packages into Windows .cab file, including installation instructions, so that the MiKTeX package manager can install them for you. If you download a package from CTAN, you have to do the installation housekeeping. If you use the MiKTeX package manager (which presumes it's available as a MiKTeX package), the package manager does all that for you. Occasionally you may need a LaTeX package put out by a publisher, journal or conference that's not on CTAN and not available through the package manager, in which case you download and install manually. But that's a tale for another day... Do I need to create it? If I do, it is stated I need to follow the root of texmf (which is not available at the first place). Where do I start? Don't need it. Don't worry about it. I did a FNBD (Miktek setting) refresh. If you install a package through the package manager, the package manager automatically refreshes the database for you. An extra refresh won't hurt, though; it's just unnecessary. On lyx, I reconfigure and restart. That's correct. I can see them in Tooltex information. But in Documentsettings doc class, some packages didn't appear, some still unavailable. If you install a document class for which LyX does not have a corresponding layout file, the class will not show up at all in the list. If the document class is listed there but still says unavailable after you've reconfigured and restarted LyX, then it means LyX did not find the corresponding MiKTeX package. Let's say you are trying to use article (AA) and it is listed as unavailable. Look in the ...\Resources\layouts folder for the corresponding layout file. You may have to guess the name. In this case, it's aa.layout. You can confirm your guess by looking in the layout file using a text editor (such as Notepad). The second line should contain the label used in the Document Settings list. In this case, it reads \DeclareLaTeXClass[aa]{article (AA)}. Now that you know the name of the layout file, you need to know if MiKTeX contains a class file with the same name (and extension .cls). Use kpsewhich for this. In my example, I open a DOS shell and run 'kpsewhich aa.cls'. Nothing is returned, telling me I lack the MiKTeX package (or else it is installed but for some reason the filename database has not been refreshed). In contrast, LyX says that article (AMS) is available. The corresponding layout file is amsart.layout, and 'kpsewhich amsart.cls' returns the path to the class file. Then found from one of the discussion thread, I tried to create a layout folder in /usr/application data/lyx15/layouts, which files to put in this newly created folder??? This looks like a Linux path, not a Windows path. In any case, you do not need to create the directory. In LyX, click 'Help About LyX' and note the User directory entry. It gives you the path to your LyX local settings. Expand '~' to your home directory. For most Windows users, this is C:\Documents and Settings\your id\Application Data\lyx15. Under that directory, there is a 'layouts' folder where you can store locally generated layout files. You would do this when you had to
Is this a known bug?
Dears, It is possible that I should put this on developers list too, but I didn't. If any of you it is worth, please do. I was fighting with my report and when I click View PDF (pdflatex) icon... nothing happened. LyX 1.5.4 under Windows. Remembering a few times from this lists when someone advices to run lyxc.exe from cmd, I do that. Console shows: Error 42 returned from iconv when converting from UCS-4LE to ISO-8859-2: Illegal byte sequence Converted input: Stopped at: 0x03b2 Unconverted input: Converted output: File 'C:/Documents and Settings/Manveru/Ustawienia lokalne/Temp/lyx_tmpdir3416a0 5128/lyx_tmpbuf0/spr5.tex' was not closed properly. Then I open that not properly closed file and look at the end. That points me a place where I have wrong character (beta character instead of \beta command). I think that LyX should handle this case and show error message showing the description and last few words of wrongly converted file. This would be much more helpful to the user than nothing (as currently LyX without console do in such situation). Is this a LyX bug?? If it is an iconv problem, that a really a problem. Wrong error handling in library is vary bad situation for developers. Cheers! -- Manveru jabber: [EMAIL PROTECTED] gg: 1624001 http://www.manveru.pl
Re: installing new layouts/packages - new and non-tech person
Jacque schrieb: I am trying to install new packages for report. I didn't like Koma.script or the default report. What is wrong with them. Before you start to build your own class, read the documentation of koma-script - you can customize it in nearly every field. What do you want to change? Besides koma-script, we also provide other report clases, you can also use article or book classes to write reports. I read Customization - Chapter 5. Lost at pt 2, ie cant find texmf.cnf 2. Read the file texmf.cnf ... This info is only for Linux. With MiKTeX, you can simply start its package manager program to install the LaTeX package you want. (For custom LaTeX classes you need to create a new layout file to make LyX able to acces it.) What is the package you want to use? I did a FNBD (Miktek setting) refresh. On lyx, I reconfigure and restart. I can see them in Tooltex information. But in Documentsettings doc class, some packages didn't appear, some still unavailable. Yes, because some layouts uses classes that are not freely distributable and therefore not included in MiKTeX. This are mostly classes of publishing companies like Springer, Elsevier, etc. In case you have to use such a class, go to the publishers homepage to get the class files and to read how they are installed. regards Uwe
RE: Tex capacity exceeded
Turned out the error was being caused by having single quotes in math equations. I was using them to indicate derivatives. I changed them to \prime and everything worked! Also it didn't like it if I placed a single quote inside a \mbox within a math equation. Anyone know why this is? Thanks. Adrian -Original Message- From: Paul A. Rubin [mailto:[EMAIL PROTECTED] Sent: Saturday, May 03, 2008 1:36 PM To: lyx-users@lists.lyx.org Subject: Re: Tex capacity exceeded Adrian Peter wrote: Hi, I am working on a multipart thesis using Lyx. I keep getting the following error when I try to export to PDF or view the DVI: TeX capacity exceeded, sorry [input stack size=5000] I checked the mail archive and saw that there could be several issues that cause this error: unterminated brackets, infinite loops from the \renew command, too many eps figures, etc. Nothing was conclusive. My child documents do use several eps figures with many of them exceeding 30MB in size. Could someone help me figure out what is really causing this error and how to fix it? If it is the eps figures, will the problem be solved if I convert them to PNG of smaller size? Thank you. You have EPS figures that individually exceed 30MB??? Yikes!! I assume the bulk of these are bitmaps? If the bitmaps are previews (see, for instance, http://bourbon.usc.edu/tgif/faq/importeps.html), I would chop them out; they won't (at least, shouldn't) be used when generating PDF output. Don't know if they would cause LaTeX to run out of memory, though. If that's not the source of the memory problem, you might try a divide-and-conquer approach. Chop out pieces of the thesis until you get something that compiles, then put things back until you either identify a maximum amount of the document that compiles or identify one particular piece that's at fault (meaning the entire document minus that piece compiles, and that piece by itself does not). If it's the latter case, use divide-and-conquer within just that piece to find the culprit. /Paul
Re: Bogus responses to my [EMAIL PROTECTED] posts
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: > Le 6 mai 08 à 22:18, Abdelrazak Younes a écrit : >> I see that too. JMarc, is the user list also handled by Mate? In >> which case maybe he could erase this account? > > I forwarded your message to Mate's super secret spam-free address > (the one he notices) Mate removed the address now. JMarc
Re: Bogus responses to my [EMAIL PROTECTED] posts
Jean-Marc Lasgouttes wrote: Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: Le 6 mai 08 à 22:18, Abdelrazak Younes a écrit : I see that too. JMarc, is the user list also handled by Mate? In which case maybe he could erase this account? I forwarded your message to Mate's super secret spam-free address (the one he notices) Mate removed the address now. Thanks, Abdel.
Table wrap float
How do I make a table wrap float instead of a figre wrap float? -- Rune
Re: why are the table too wide?
Helge Hafting <[EMAIL PROTECTED]> writes: > > Jon Bendtsen wrote: > > > > On 23/04/2008, at 12.39, Helge Hafting wrote: > > > >> Jon Bendtsen wrote: > >>> I dont want to spent time fixing the table width. I suggest 2 > >>> possible options if the table is too wide. > >>> > >>> 1) scale font so all text can be there in one line > >>> 2) break the text inside the table into multiple lines > >> As you show - there are several ways of doing this. they look very > >> different, so > >> clearly the computer cannot make the choice automatically. Different > >> people > >> may want to do this differently, after all. When breaking text inside > >> the table, > >> what columns would you want to do that with? Perhaps you want one of > >> them > >> a little wider than the other because it is more important? LyX > >> simply can't > >> guess such things. > >> > >> You can change the font if you like. Or you can make a table column > >> fixed-width > >> and then the text inside will break into lines automatically. > > > I ask because I have never seen a word processor that can do this fully > automatic in a sane way. Of course, a word processor can limit > the table to the available width when you just keep typing into the cells. > > But how can it possibly decide how wide each columns should be, if you > puts lots of text into several of them? Usually, only the writer can > know which > columns are useful to limit and which should adapt to the exact width > of the widest cell. And therefore, LyX and the latex typesetter doesn't > even try. > > Helge Hafting > > I think this is a sane default: When the table becomes so wide that it would not fit the page (or the user set width) then { avail_width <- calculate the available width (maybe user set); too_large_columns <- amount of table columns; max_width <- avail_width / too_large_columns; while next column width < max_width OR column width is user set { // don't want to make small columns wider too_large_columns--; avail_width <- avail_width - this column width; max_width <- avail_width / too_large_columns; } restrict columns that are wider than max_width to max_width; } Or do it like firefox handles tables (it is a bit different, but similar). Rune
Re: Font "import"
On 6.05.08, snvv wrote: > You may use xetex within LyX While using system fonts is far more straightforward with xetex, using xetex from LyX <= 1.5 is not. The LyX wiki has more info on this: http://wiki.lyx.org/Mac/XeTeX% using XeTeX with LyX 1.5.x (somewhat % Mac specific but should be adaptable % to other systems http://wiki.lyx.org/LyX/XeTeX% pointers and example file for using % XeTeX with LyX 1.6.x Günter
Re: Bogus responses to my [EMAIL PROTECTED] posts
On Wednesday 07 May 2008 05:11, Abdelrazak Younes wrote: > Jean-Marc Lasgouttes wrote: > > Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: > >> Le 6 mai 08 à 22:18, Abdelrazak Younes a écrit : > >>> I see that too. JMarc, is the user list also handled by Mate? In > >>> which case maybe he could erase this account? > >> > >> I forwarded your message to Mate's super secret spam-free address > >> (the one he notices) > > > > Mate removed the address now. > > Thanks, > Abdel. Yes, thanks! SteveT
Re: generic X copy-and-paste not working
On Tue, 6 May 2008 09:34:33 -0500 (CDT) Mark Hansel <[EMAIL PROTECTED]> wrote: > > On Tue, 6 May 2008, Pavel Sanda wrote: > > > >>> Normally, I can highlight text in a terminal and paste it with a > >>> middle-click. In LyX, usually I can get to it with Edit -> Paste Special. > >>> (I can copy-and-paste fine in my xterms.) > > > > Now only the "selection" choices are shaded out and not clickable. But the > > other choices do nothing for me. > > > >>> This is LyX 1.5.2 on NetBSD. I am not running any clipboard utility. > >>> > >>> Any ideas why I can't paste into LyX? > >> > >> Jeremy, is this the case with only single LyX window or are running more > >> windows simultaneously? Running just one single instance could help. > > > > No, only one LyX running. > > > > I have a text highlighted in an xterm. But can't paste into LyX. Tried > > middle click. Tried using menu options. > > Workaround: > > When I cannot get the desired result (say, from a browser window), I can > usually get it by pasting into an emacs window as an intermediate step and > then highlighting and paste into lyx from the emacs window. > > Another copy/paste peculiarity (changes from past behavior): > > Deleted lines (emacs key bindings: ^k) that have not been highlighted > won't paste for me (maybe by design). But highlighted lines that are > deleted (using ^w) can be pasted (probably to move them). Emacs behavior > is different. Contiguous deleted lines (^k) can be "yanked" back (^y) -- > anywhere in a document. (I do not consider Emacs is the gold standard -- > let's not repeat the editor flame wars -- it is a convenient feature.) > ^k and ^y use the emacs kill buffer, not the X copy buffer. Highlighting the line does use the X buffer. I don't fully understand the X copy/paste methods but IIRC there are also several standards which may be some of the problem. I think it was Helge who pointed out to me some time ago that there was a but that is supposed to be fixed in 1.5.4 and that sometimes closing and reopening lyx can reset the problem. > mark hansel >
Audio keyboard hot keys not working in Lyx
Has anyone else experienced that hot keys, such as special keys on laptops for controlling the audio level doesn't work while lyx has focus? What might cause this strange behaviour? -- Mvh Rune
Re: [announce] preview test release of LyX 1.6.0alpha2 for Windows
Olivier Ripoll wrote: Uwe Stöhr wrote: Olivier Ripoll schrieb: It works fine here (no crash yet). As for the previous versions (svn1 and svn2), the installer detects that I have the dictionaries installed (English and French), but spell checking fails complaining: The Spellchecker could not be started No words list can be found for the language "en_US". I see the same message in the console when I start lyx from there. I couldn't reproduce this problem. Does Aspell work with your existing LyX 1.5 installation? I did not have 1.5 installed. So I installed yesterday the 1.5.4 from LyX-1.5.4-1-Installer.exe. During the installation, I checked the download of English and French dictionaries. As for 1.6, the spellchecking does not work (same error message, but only as a popup, I do not see it in the console if I start LyX from there... probably some debug option). Ok, I managed to get aspell to work ... finally. I had installed 1.5.4 for all users, so its aspell dictionaries were not in the same place as 1.6 expected. Copying them into the right tree made LyX 1.6 find them. It seems there was only the German dictionary there, so spell-checking in English could not work (*) Then I de-installed everything from aspell and both lyx versions (except LyX 1.6 user preferences), and I noticed LyX 1.6alpha2 installer was still pretending that I had English and French dictionaries already installed. Puzzling, since a search for files/folders containing the word "aspell" on the hard drive returned no matches (same in the registry). At that step, spell-checking failed again. I then installed by hand the dictionaries (aspell6-fr-0.50-3.exe and aspell6-en-6.0-0.exe) but spell-checking was now failing to find some "iso" "cset" files IIRC. Re-installing 1.5.4 for me only, then de-installing it solved the issue. In the "add/remove software", I noticed that the difference seems to be the presence of "aspell data". I found some installer file for it in the uploads of the wiki (aspelldata-0.60.4-root.exe). I might use it in the future to avoid installing/removing 1.5. So, to summarise: - LyX 1.5.4 probably failed because it was looking in the wrong tree for English/French dictionaries (all users vs. my user name). - LyX 1.6alpha2 seems to fail to install aspelldata and dictionaries. - Now, spell-checking works fine :-) Best regards, Olivier (*) I however do not think I ever asked the installers to install the German dictionary... I do not write German documents (well, I hardly speak German anyway) Perhaps to do with my regional settings (switzerland)
Re: how can I adapt documents for LARGE PRINT versions?
Joe(theWordy)Philbrook wrote: Yeah, Though the more things I _CAN_ micromanage with ugly red text the better I'll like it. In fact, even though I knew when I first became interested in LyX that it would be a long time before I had much time to spend on learning latex, it was the fact that one can override lyx with embedded latex commands that convinced my to start using lyx... I've never been happy with the idea of depending on whoever is developing/maintaining a gui package to keep the parts I count on, in the package... So the way LyX uses LaTeX, and incorporates the idea of embedding actual LaTeX commands, while letting me do almost anything I might have done with a word processor without having to already know LaTeX is the main reason I do more with it than OOffice... Seems we mostly agree then. I use LyX mechanisms (such as document settings or stuff on the "insert" menu) whenever it is available. ERT is only for what LyX does not (yet) support, but it is then a very nice capability to have. With enough knowledge, ERT lets you do anything you can imagine. ERT is unfortunately also capable of screwing up in very subtle ways. The cases where the document fail to print are the easier ones, as you see the problem immediately. The worst is when a nice improvement in one place redefines something and cause slight ugliness in many other places. Stuff looks bad, but it is hard to point a finger at what it is. Redefining a length/size that is used for several purposes is one way of achieving this. :-( If you want to become a latex expert with time, get a book or two about it. And use the web, there are lots of latex tricks to pick up. Having a book for reference is essential though. It will show a lot of what latex can do and how to do it. And it will likely steer you away from the worst mistakes as well. Helge Hafting
Re: Audio keyboard hot keys not working in Lyx
Rune Schjellerup Philosof wrote: Has anyone else experienced that hot keys, such as special keys on laptops for controlling the audio level doesn't work while lyx has focus? What might cause this strange behaviour? Lyx has focus, and decides to ignore keys that aren't bound to any action. Not that strange. Of course it'd be nice if LyX did whatever other apps do in order to pass these keys on to other apps (presumably your colume control app.) Some apps wants detailed control of the keyboard, in order to inspect shift states and such, or in order to impose alternative keyboard layouts. I guess the hotkeys gets mixed into this somehow. Helge Hafting
Re: Table wrap float
Rune Schjellerup Philosof schrieb: How do I make a table wrap float instead of a figre wrap float? Only with ERT, look at the description of the LateX package "wrapfig". The upcoming LyX 1.6 will provide table wrap floats. regards Uwe
Re: Audio keyboard hot keys not working in Lyx
Helge Hafting skrev: Rune Schjellerup Philosof wrote: Has anyone else experienced that hot keys, such as special keys on laptops for controlling the audio level doesn't work while lyx has focus? What might cause this strange behaviour? Lyx has focus, and decides to ignore keys that aren't bound to any action. Not that strange. Of course it'd be nice if LyX did whatever other apps do in order to pass these keys on to other apps (presumably your colume control app.) Some apps wants detailed control of the keyboard, in order to inspect shift states and such, or in order to impose alternative keyboard layouts. I guess the hotkeys gets mixed into this somehow. I forgot to mention that other hot keys on my keyboard works perfectly. - Rune
Re: Printing a book
John wrote: Hi everyone I've used LyX from the beginning and love it! But in the last few weeks I've been inspired to raise my horizons and print a book sized book. In the past I have printed all my LyX documents on A4 paper. But for a book that is far too big. So I decided to try for 9" x 6" or 225mm x 160mm which seem to be the sizes offered by local Print on Demand businesses in New Zealand. I would welcome advice by people who have used LyX to produce PDF files for printing and binding by POD businesses. I have done this once. They wanted a camera-ready PDF, for a custom page size. It has been some time since then so I don't remember everything. But feel free to keep asking. My difficulty is that, having set the page size in LyX, it shows up fine in xpdf but seems to be scaled to A4 when viewed by Acrobat Reader (which I suspect will be what the POD company will use). It should hopefully _print_ fine anyway, which is what matters. When I attempt to print it on my home printer (with A4 paper in the tray), the pages are the right size but appear alternatively at the top left and the botton right of the A4 sheets - resulting in sheets that cannot be trimmed to size without cropping off the content of one face of the sheet. I guess your book is set up to print on both sides of each sheet, but the printer you use prints single-side? What you see is a consequence of two-sided layouts - the page origin alternate between two corners because page two is supposed to go on the backside of page 1 and so on throughout the book. Consider trying this: Put a single page in the printer. Print first page. Turn it over sideways and insert it again, and you should get the second page printed on the backside so that cropping will work. For book printing, don't turn over pages individually. Have LyX print all the odd pages in reverse order. Turn the entire stack over, then print the even pages in normal order. You should now have your book. (Experiment with smaller runs of pages until the procedure works.) Some printers may not need the reverse order stuff, this depends on the output order. Another test: just take page 2 and put it on the backside of page 1. Check that cropping works this way. Getting a duplex printer might be interesting too, if you're going to print more than the occational test book. There are bound to be tricks to this, both for printing at home so that I can guillotine the A4 down to the size I want, and for submitting a PDF file which a Digital Printing business can use directly. Ask the printing business about what they want. I needed to add crop marks (used for cutting pages precisely), the "crop" latex package supports that nicely. If it looks like A4 in acrobat, then the crop marks fitting the real size will show the print people what you mean. Also, try the three ways of making a pdf: export->PDF (dvipdfm/pdflatex/ps2pdf) In my case, dvipdfm was the only way that worked for everything. That was 5 years ago though. Helge Hafting
Re: Audio keyboard hot keys not working in Lyx
On Wednesday 07 May 2008 09:04, Helge Hafting wrote: > Rune Schjellerup Philosof wrote: > > Has anyone else experienced that hot keys, such as special keys on > > laptops for controlling the audio level doesn't work while lyx has focus? > > > > What might cause this strange behaviour? > > Lyx has focus, and decides to ignore keys that aren't bound to any action. > Not that strange. Of course it'd be nice if LyX did whatever other apps > do in order to pass these keys on to other apps (presumably > your colume control app.) > > Some apps wants detailed control of the keyboard, in order to inspect shift > states and such, or in order to impose alternative keyboard layouts. I > guess the hotkeys gets mixed into this somehow. This behavior is not universal. While Lyx 1.5.3 has focus, I can press Ctrl+9 to open UMENU, and it works perfectly. My window manager is IceWM, and within IceWM's keys file I've defined Ctrl+9 to run UMENU. So at least under my circumstances, LyX "does the right thing". SteveT Steve Litt Books written in LyX: Troubleshooting Techniques of the Successful Technologist Twenty Eight Tales of Troubleshooting Troubleshooting: Just the Facts
installing new layouts/packages - new and non-tech person
Hey everyone, I am struggling (for 6 hours now) on installing new packages on lyx. I am new to Lyx and MikTek. I love it because of the formatting, but now I'm having trouble with exactly the same thing. I am trying to install new packages for report. I didn't like Koma.script or the default report. I read Customization - Chapter 5. Lost at pt 2, ie cant find texmf.cnf "2. Read the file texmf.cnf (this usually lives in the directory $TEXMF/web2c, though you can run kpsewhich texmf.cnf to locate it). It describes how to add a local texmf directory; follow the instructions. You need to insert the name of your local texmf directory in texmf.cnf. Under Linux, /usr/local is a logical place to install software that did not come with your distribution, so you might use /usr/local/texmf. Usually, you will have to modify only two things:" I cant seem to find texmf.cnf anywhere in my directory. did a global file search in Windows, no result. Did a local search on both Miktek and Lyx15 directory, no luck. Did a run (from start menu), black box appear and disappear. Is this file on CTAN? But I selected and downloaded packages from Miktek Pkg Mng. (is Miktek Pkg Mng the same as CTAN?) Do I need to create it? If I do, it is stated I need to follow the root of texmf (which is not available at the first place). Where do I start? I did a FNBD (Miktek setting) refresh. On lyx, I reconfigure and restart. I can see them in Tool>tex information. But in Document>settings> doc class, some packages didn't appear, some still "unavailable". Then found from one of the discussion thread, I tried to create a layout folder in /usr/application data/lyx15/layouts, which files to put in this newly created folder??? I found that all the packages downloaded are scattered all over Miktek directory. What should I do Please please please helpI cant even find a local tutor, hence I am writing on this forum, anomaly for me Desperately in need of help, Jacque PhD UCL p/s I am using Lyx1.5.4, downloaded in Feb 2008. -- View this message in context: http://www.nabble.com/installing-new-layouts-packages---new-and-non-tech-person-tp17110202p17110202.html Sent from the LyX - Users mailing list archive at Nabble.com.
Re: Audio keyboard hot keys not working in Lyx
Steve Litt skrev: On Wednesday 07 May 2008 09:04, Helge Hafting wrote: Rune Schjellerup Philosof wrote: Has anyone else experienced that hot keys, such as special keys on laptops for controlling the audio level doesn't work while lyx has focus? What might cause this strange behaviour? Lyx has focus, and decides to ignore keys that aren't bound to any action. Not that strange. Of course it'd be nice if LyX did whatever other apps do in order to pass these keys on to other apps (presumably your colume control app.) Some apps wants detailed control of the keyboard, in order to inspect shift states and such, or in order to impose alternative keyboard layouts. I guess the hotkeys gets mixed into this somehow. This behavior is not universal. While Lyx 1.5.3 has focus, I can press Ctrl+9 to open UMENU, and it works perfectly. My window manager is IceWM, and within IceWM's keys file I've defined Ctrl+9 to run UMENU. So at least under my circumstances, LyX "does the right thing". Silly me, I forgot to mention that I run Windows Vista. -- Rune
Re: installing new layouts/packages - new and non-tech person
Jacque wrote: Hey everyone, I am struggling (for 6 hours now) on installing new packages on lyx. I am new to Lyx and MikTek. I love it because of the formatting, but now I'm having trouble with exactly the same thing. I am trying to install new packages for report. I didn't like Koma.script or the default report. I read Customization - Chapter 5. Lost at pt 2, ie cant find texmf.cnf "2. Read the file texmf.cnf (this usually lives in the directory $TEXMF/web2c, though you can run kpsewhich texmf.cnf to locate it). It describes how to add a local texmf directory; follow the instructions. You need to insert the name of your local texmf directory in texmf.cnf. Under Linux, /usr/local is a logical place to install software that did not come with your distribution, so you might use /usr/local/texmf. Usually, you will have to modify only two things:" This description is pretty accurate for most (Linux-based) LaTeX distributions, but less so for MiKTeX, which automates some of the stuff you would otherwise do manually. I cant seem to find texmf.cnf anywhere in my directory. did a global file search in Windows, no result. Did a local search on both Miktek and Lyx15 directory, no luck. Did a run (from start menu), black box appear and disappear. Is this file on CTAN? I don't think MiKTeX has this file. FYI, if you're looking for the location of a MiKTeX file, the easiest way is to open a DOS shell and run 'kpsewhich file.ext' (substituting the name and extension of the file you seek). But I selected and downloaded packages from Miktek Pkg Mng. (is Miktek Pkg Mng the same as CTAN?) No, but they're related. CTAN is a repository for all sorts of individual LaTeX packages. MiKTeX's maintainer converts most if not all of those LaTeX packages into Windows .cab file, including installation instructions, so that the MiKTeX package manager can install them for you. If you download a package from CTAN, you have to do the installation "housekeeping". If you use the MiKTeX package manager (which presumes it's available as a MiKTeX package), the package manager does all that for you. Occasionally you may need a LaTeX package put out by a publisher, journal or conference that's not on CTAN and not available through the package manager, in which case you download and install manually. But that's a tale for another day... Do I need to create it? If I do, it is stated I need to follow the root of texmf (which is not available at the first place). Where do I start? Don't need it. Don't worry about it. I did a FNBD (Miktek setting) refresh. If you install a package through the package manager, the package manager automatically refreshes the database for you. An extra refresh won't hurt, though; it's just unnecessary. On lyx, I reconfigure and restart. That's correct. I can see them in Tool>tex information. But in Document>settings> doc class, some packages didn't appear, some still "unavailable". If you install a document class for which LyX does not have a corresponding layout file, the class will not show up at all in the list. If the document class is listed there but still says unavailable after you've reconfigured and restarted LyX, then it means LyX did not find the corresponding MiKTeX package. Let's say you are trying to use "article (A)" and it is listed as unavailable. Look in the ...\Resources\layouts folder for the corresponding layout file. You may have to guess the name. In this case, it's aa.layout. You can confirm your guess by looking in the layout file using a text editor (such as Notepad). The second line should contain the label used in the Document > Settings list. In this case, it reads "\DeclareLaTeXClass[aa]{article (A)}". Now that you know the name of the layout file, you need to know if MiKTeX contains a class file with the same name (and extension .cls). Use kpsewhich for this. In my example, I open a DOS shell and run 'kpsewhich aa.cls'. Nothing is returned, telling me I lack the MiKTeX package (or else it is installed but for some reason the filename database has not been refreshed). In contrast, LyX says that "article (AMS)" is available. The corresponding layout file is amsart.layout, and 'kpsewhich amsart.cls' returns the path to the class file. Then found from one of the discussion thread, I tried to create a layout folder in /usr/application data/lyx15/layouts, which files to put in this newly created folder??? This looks like a Linux path, not a Windows path. In any case, you do not need to create the directory. In LyX, click 'Help > About LyX' and note the User directory entry. It gives you the path to your LyX local settings. Expand '~' to your home directory. For most Windows users, this is C:\Documents and Settings\\Application Data\lyx15. Under that directory, there is a 'layouts' folder where you can store locally generated layout files. You would do this when you
Is this a known bug?
Dears, It is possible that I should put this on developers list too, but I didn't. If any of you it is worth, please do. I was fighting with my report and when I click "View PDF (pdflatex)" icon... nothing happened. LyX 1.5.4 under Windows. Remembering a few times from this lists when someone advices to run lyxc.exe from cmd, I do that. Console shows: Error 42 returned from iconv when converting from UCS-4LE to ISO-8859-2: Illegal byte sequence Converted input: Stopped at: 0x03b2 Unconverted input: Converted output: File 'C:/Documents and Settings/Manveru/Ustawienia lokalne/Temp/lyx_tmpdir3416a0 5128/lyx_tmpbuf0/spr5.tex' was not closed properly. Then I open that not properly closed file and look at the end. That points me a place where I have wrong character (beta character instead of \beta command). I think that LyX should handle this case and show error message showing the description and last few words of wrongly converted file. This would be much more helpful to the user than nothing (as currently LyX without console do in such situation). Is this a LyX bug?? If it is an iconv problem, that a really a problem. Wrong error handling in library is vary bad situation for developers. Cheers! -- Manveru jabber: [EMAIL PROTECTED] gg: 1624001 http://www.manveru.pl
Re: installing new layouts/packages - new and non-tech person
Jacque schrieb: I am trying to install new packages for report. I didn't like Koma.script or the default report. What is wrong with them. Before you start to build your own class, read the documentation of koma-script - you can customize it in nearly every field. What do you want to change? Besides koma-script, we also provide other report clases, you can also use article or book classes to write reports. I read Customization - Chapter 5. Lost at pt 2, ie cant find texmf.cnf "2. Read the file texmf.cnf ... This info is only for Linux. With MiKTeX, you can simply start its package manager program to install the LaTeX package you want. (For custom LaTeX classes you need to create a new layout file to make LyX able to acces it.) What is the package you want to use? I did a FNBD (Miktek setting) refresh. On lyx, I reconfigure and restart. I can see them in Tool>tex information. But in Document>settings> doc class, some packages didn't appear, some still "unavailable". Yes, because some layouts uses classes that are not freely distributable and therefore not included in MiKTeX. This are mostly classes of publishing companies like Springer, Elsevier, etc. In case you have to use such a class, go to the publishers homepage to get the class files and to read how they are installed. regards Uwe
RE: Tex capacity exceeded
Turned out the error was being caused by having single quotes in math equations. I was using them to indicate derivatives. I changed them to \prime and everything worked! Also it didn't like it if I placed a single quote inside a \mbox within a math equation. Anyone know why this is? Thanks. Adrian -Original Message- From: Paul A. Rubin [mailto:[EMAIL PROTECTED] Sent: Saturday, May 03, 2008 1:36 PM To: lyx-users@lists.lyx.org Subject: Re: Tex capacity exceeded Adrian Peter wrote: > Hi, > > > > I am working on a multipart thesis using Lyx. I keep getting the following > error when I try to export to PDF or view the DVI: > > > > TeX capacity exceeded, sorry [input stack size=5000] > > > > I checked the mail archive and saw that there could be several issues that > cause this error: unterminated brackets, infinite loops from the \renew > command, too many eps figures, etc. Nothing was conclusive. My child > documents do use several eps figures with many of them exceeding 30MB in > size. Could someone help me figure out what is really causing this error > and how to fix it? If it is the eps figures, will the problem be solved if > I convert them to PNG of smaller size? Thank you. > You have EPS figures that individually exceed 30MB??? Yikes!! I assume the bulk of these are bitmaps? If the bitmaps are previews (see, for instance, http://bourbon.usc.edu/tgif/faq/importeps.html), I would chop them out; they won't (at least, shouldn't) be used when generating PDF output. Don't know if they would cause LaTeX to run out of memory, though. If that's not the source of the memory problem, you might try a divide-and-conquer approach. Chop out pieces of the thesis until you get something that compiles, then put things back until you either identify a maximum amount of the document that compiles or identify one particular piece that's at fault (meaning the entire document minus that piece compiles, and that piece by itself does not). If it's the latter case, use divide-and-conquer within just that piece to find the culprit. /Paul