Re: Show pagebreaks in the editor?
Rich Shepard wrote: Nor the TeX way. If someone wants a WISIWIG writing tool there are multiple word processors that are specifically designed for that. They'll show page breaks, different typefaces, and all the other appearance items on the screen as the document is being written. If that's what's desired, use those tools and don't ask that a totally different tool be adapted to your wants. Rich Well, I found this answer to be a little rude, and this moved me to answer. Maybe it was not the intention, but it looks to me that way. What is wrong with asking LyX to be adapted to one's needs? Nothing, in my opinion. If LyX is becoming a more and more powerful and comfortable to use tool is thanks to the developers, but also thanks to all the people that suggest feature improvements (based on their own needs). A different thing is demanding your request to be fulfilled! But that was not what bigblop did. He was just wondering about any potential plans for showing separate pages in LyX. I guess he was just not aware that this is actually not feasible in LyX, as Richard G. Heck kindly explained. You say "nor the TeX way". Well, if I am not wrong, LyX is not a mere front-end for TeX, so you should say "nor the LyX way". :-) Cheers, Nicolás
Re: Springer Style in Lyx
The lecture notes style is given by the llncs.cls class. If that is the one you want to use, then LyX includes already a layout. The svjour3.cls class is for journals. The layout that you created should work (if I am not wrong). Be sure that you reconfigure LyX to have the layout available. Cheers, Nicolás bluegreengrassnow bluegreengrassnow wrote: I'm trying to use lyx to write a document in springer lecture notes style. I created the following layout file, however it doesn't create output documents in the correct style: #% Do not delete the line below; configure depends on this # \DeclareLaTeXClass[svjour3]{article (svjour3)} # Input general definitions Input stdclass.inc The svglov3.clo and svjour3.cls files provided by springer are installed in tex\latex\sv-journ3. Springer also provides a template latex file that renders correctly in TeXnicCenter but not in Lyx when imported. Can someone help with this?
Re: LyX 1.6.0. breaks down all the time
I can reproduce the recipe from Olivier. I had reported that in this bug entry: http://bugzilla.lyx.org/show_bug.cgi?id=5472 Still I do not know if we can call this a bug or a nice anti-Microsoft feature :-D Cheers, Nicolás Alex wrote: Olivier Ripoll <[EMAIL PROTECTED]> writes: Benno Bühler wrote: How can I access the log-file of the crashes? There pops up a window of LyX, saying that I found a bug. But I cannot fully read or copy/paste the text. IIRC, Windows XP saves them somewhere in your "Local Settings\Temp directory". Or somewhere around. To copy/paste the log of the crash from the window saying you found a bug (though I don't know how helpful that text is), you need to right-click in that window and you can then "Copy to Clipboard". Go to a text editor and paste the contents! Alex
Re: Problem with full-screen mode: can you reproduce?
Yes! You are right Vincent. I can get the menu bar pressing Alt-F and then all other shortcuts work again. This is definitely a windows related bug (present with both installers). I had already reported it, but Jürgen Spitzmüller could not reproduce it, therefore I asked here. Thanks for your help. Cheers, Nicolás Vincent van Ravesteijn - TNW wrote: Nicolás wrote: Hi! This is related to LyX 1.6 on Windows. When I enter into full-screen mode (pressing F11) when no document is opened (i.e. just the welcome screen with the LyX logo is visible), I cannot go back. Nothing works. Neither F11 nor Ctrl-Q nor any other thing. LyX hangs and I have to kill it. Can someone reproduce this problem? For what it's worth, I don't see this on Linux. rh I can see it on Windows. The only thing that does work is to press Alt-F (e.g.) .. then the menu appears and you can close Full-Screen. Even all short-cuts work when the menu bar is visible. Vincent
Problem with full-screen mode: can you reproduce?
Hi! This is related to LyX 1.6 on Windows. When I enter into full-screen mode (pressing F11) when no document is opened (i.e. just the welcome screen with the LyX logo is visible), I cannot go back. Nothing works. Neither F11 nor Ctrl-Q nor any other thing. LyX hangs and I have to kill it. Can someone reproduce this problem? Cheers, Nicolás
Re: Is it possible to insert bibliography after the appendices?
I am not sure if Charles' solution will always work. I myself had a similiar problem. I had several child documents, each of them describing a chapter of a book. One of the child documents had an appendix, and the result was that all the child documents (i.e. chapters) following the one with the appendix appeared as part of the appendix itself. In my case I was using the memoir class. To solve the problem I used \begin{subappendices} and \end{subappendices}, which is part of the appendix package that is natively supported by the memoir class. In your case I guess you should use \begin{appendices} and \end{appendices}. That is, forget about Lyx's support of appendices and insert those commands inside an ERT insert at the beginning and end of your appendix. You may also need to load the appendix package in the document preamble with \usepackage{appendix}. Take a look here for more info: http://www.tex.ac.uk/cgi-bin/texfaq2html?label=appendix Hope this helps Cheers, Nicolás charles reid wrote: Hi Manoj - This has a pretty easy solution. You can put the appendix into a child document[s] (i.e. its own Lyx file or files). Then, in your thesis, you can do Insert > File > Child Document There will be a small gray box in your Lyx document that now represents the Appendix file. Next, you can go to a line after that gray box and do Insert > List / TOC > BibTeX Bibliography (or whatever you want to put after the Appendix) and make sure its gray box goes after the Appendix's gray box. I just tested this out to make sure it works OK using LyX 1.5.6. (Note that if you are using macros in your Appendix, you'll have to also include those in the document before you run the latex part. You could even put those macros in their own file and include them as a child document.) Charles == [When Vonnegut tells his wife he's going out to buy an envelope] Oh, she says well, you're not a poor man. You know, why don't you go online and buy a hundred envelopes and put them in the closet? And so I pretend not to hear her. And go out to get an envelope because I'm going to have a hell of a good time in the process of buying one envelope. I meet a lot of people. And, see some great looking babes. And a fire engine goes by. And I give them the thumbs up. And, and ask a woman what kind of dog that is. And, and I don't know. The moral of the story is, is we're here on Earth to fart around. And, of course, the computers will do us out of that. And, what the computer people don't realize, or they don't care, is we're dancing animals. You know, we love to move around. And, we're not supposed to dance at all anymore. - Kurt Vonnegut On Thu, Nov 13, 2008 at 1:27 PM, Manoj Rajagopalan <[EMAIL PROTECTED]> wrote: hi all, I am working on writing my dissertation and of the samples I have seen all have the bibliography after the appendices. Is this possible in Lyx? I find that LyX starts and Appendix section which extends till the end of the document. In creating a bibtex generated bibliography section Lyx assigns it an chapter number which I do not want. How do I go about setting this up? thanks, Manoj
Re: Problem with LyX 1.6 on Windows
Olivier Ripoll wrote: Nicolás wrote: Hi! I just installed LyX 1.6 on my Windows machine and I am really excited to start using it. The first thing I tried is the context-sensitive menu... and a smile appeared in my face :-) But this post is about some problems detected during the installation and during normal use. [...] When using Lyx, if I close it with a document still opened, and open LyX again, I do get the file automatically opened (I think I should, shouldn't I?). Hi, It should depends on your settings: look into Tools->Preferences... Then into Look & Feel->User interface->Session There is a checkbox saying "Load opened files from last session". I suspect it is checked for you. Mine is unchecked, and I have no files opening when starting LyX. Thanks Oliver! It was what you said. I was unaware of this new configuration option. Cheers Nicolás Best regards, Olivier Cheers, Nicolás
Problem with LyX 1.6 on Windows
Hi! I just installed LyX 1.6 on my Windows machine and I am really excited to start using it. The first thing I tried is the context-sensitive menu... and a smile appeared in my face :-) But this post is about some problems detected during the installation and during normal use. Almost at the end of the installation, I got a "cannot write to file " error message. The installation log looks like this: Output folder: MiKTeX 2.7SystemAdmin yesPowerUser noSharedSetup unknownBinDir C\tools\latex\MiKTeX 2.7\miktex\binOS Microsoft Windows XP Professional Service Pack 3 (Build 2600)Root0 C\Documents and Settings\hum\Application Data\MiKTeX\2.7Root1 C\Documents and Settings\hum\Local Settings\Application Data\MiKTeX\2.7Root2 C\tools\latex\MiKTeX 2.7Install C\tools\latex\MiKTeX 2.7UserData C\Documents and Settings\hum\Local Settings\Application Data\MiKTeX\2.7UserConfig C\Documents and Settings\hum\Application Data\MiKTeX\2.7fndb0 C\Documents and Settings\hum\Local Settings\Application Data\MiKTeX\2.7\miktex\config\d42afcd09b2a33a4d4fde3fef0e5a74f.fndbfndb1 C\Documents and Settings\hum\Local Settings\Application Data\MiKTeX\2.7\miktex\config\dcbb80e86481737e2e94cfe55fa8845d.fndbfndb2 C\Documents and Settings\hum\Local Settings\Application Data\MiKTeX\2.7\miktex\config\0620fbc95f112eed7b49ccbfab40c734.fndbfndbmpm C\Documents and Settings\h Can't write: MiKTeX 2.7SystemAdmin yesPowerUser noSharedSetup unknownBinDir C\tools\latex\MiKTeX 2.7\miktex\binOS Microsoft Windows XP Professional Service Pack 3 (Build 2600)Root0 C\Documents and Settings\hum\Application Data\MiKTeX\2.7Root1 C\Documents and Settings\hum\Local Settings\Application Data\MiKTeX\2.7Root2 C\tools\latex\MiKTeX 2.7Install C\tools\latex\MiKTeX 2.7UserData C\Documents and Settings\hum\Local Settings\Application Data\MiKTeX\2.7UserConfig C\Documents and Settings\hum\Application Data\MiKTeX\2.7fndb0 C\Documents and Settings\hum\Local Settings\Application Data\MiKTeX\2.7\miktex\config\d42afcd09b2a33a4d4fde3fef0e5a74f.fndbfndb1 C\Documents and Settings\hum\Local Settings\Application Data\MiKTeX\2.7\miktex\config\dcbb80e86481737e2e94cfe55fa8845d.fndbfndb2 C\Documents and Settings\hum\Local Settings\Application Data\MiKTeX\2.7\miktex\config\0620fbc95f112eed7b49ccbfab40c734.fndbfndbmpm C\Documents and Settings\h\dvipost.sty The first time I pressed "retry" twice and I got an "unsuccessful installation" message. The second time (after uninstalling) I pressed "ignore" and the installation continued. When using Lyx, if I close it with a document still opened, and open LyX again, I do get the file automatically opened (I think I should, shouldn't I?). Cheers, Nicolás
Re: algorithm2e in LyX 1.5.6: algorithm already defined
This seems to be a problem with version 1.5.6, since I have used algorithm2e with Lyx 1.5.5 and had no problem. Since I do not have installed v1.5.6 (don't know why :-)), I cannot say if you can do anything to solve your problem. Take a look at Document Settings to see if there is any option concerning algorithms. Unless anyone else gives a solution, I suggest that you file a bug in bugzilla.lyx.org. A possible workaround is to install v 1.5.5. I think it should be able to coexist with your current version. Cheers, Nicolás A. Scottedward Hodel wrote: I'm importing a student's PhD dissertation into LyX to use the "track changes" function for markup. Unfortunately, there seems to be a conflict between some LyX default behavior and the algorithm2e.sty package: ! LaTeX Error: Command \algorithm already defined. Or name \end... illegal, see p.192 of the manual. I used the command line to translate LyX to LaTeX, lyx --export latex WahbaSummary.lyx and found the following code in the .tex file: %% LyX specific LaTeX commands. %% Because html converters don't know tabularnewline \providecommand{\tabularnewline}{\\} \floatstyle{ruled} \newfloat{algorithm}{tbp}{loa} \floatname{algorithm}{Algorithm} %% User specified LaTeX commands. If I comment out the \newfloat and \floatname commands, then the error goes away. Is there a way to get rid of them without manually editing the .tex file? A. Scottedward Hodel [EMAIL PROTECTED] http://homepage.mac.com/hodelas/tar
List of figures with child documents
Hi! I have a document with several child documents included. The list of figures generated by the \listoffigues command does not include the figures inside the child documents. Is there any way to make those figures be included? Thanks! Cheers, Nicolás
Re: Refernces
Use Refworks to export your references as Bibtex. A .bib file should be generated. Then follow the intructions in LyX's User's Guide (Help->User's Guide, section 6.5.1) to insert your references in the document. Cheers, Nicolás Hesham Kamel wrote: Hello, I am writing my thesis now, and just knew about LATEX. I downloaded LyX, and started to work with, however I have a concern. In MS Word, I am using a citation manager, Refworks to insert citations, and at the end it produces a bibliography numbered list, while in the main document itself, it generates references to the list according to the selected style. e.g. a full frontal impact can extend for more than half a day even with current computational capabilities [1]. and 1. REFERENCES [1] Natori, S., and Yu, Q., 2007, "2007-01-0882 an Application of CAP (Computer-Aided Principle) to Structural Design for Vehicle Crash Safety," SAE SP, (2072) pp. 73-80. so, can I get the same using LyX? Do I need any additional software? Thank you,
Re: Converting msword to LyX is ugly!
All that seems like too much work! I would first try to convert Word to Latex, import into LyX and chechk the result. You will still probably have to do some manual adjustment, but they will hopefully be less. I recently use this application: http://www.grindeq.com/index.php?p=word2latex It is not free, but you can download a trail version. If I am not wrong, it works with all the features for a limited period of time. Since you only want to do one conversion, it should be enough. Good luck! Nicolás Steve Litt wrote: Hi all, I have a 300 page book written in MS Word version 97, and I have to convert it to LyX in order to make the second edition. I'll accept all condolences now :-) Believe it or not, the MS Word version was written very much what you guys would call WYSIWYM. I had styles for everything -- almost no appearance was fine tuned. Obviously it's essential that all those styles transfer over into the LyX version. I'll accept all condolences now :-) So heres what my plan, unless someone else has a better idea. First, I'll export to RTF. I'll accept all condolences now :-) Then in Vim I'll do this: :%s/}/}\r/g Now the rtf file will have lines that are somewhat recognizeable as markup. Next I'll look at the \stylesheet part of the RTF, and make a list of all paragraph and character styles, sort of like this: \fs20 Normal \s1 heading 1 \s2 heading 2 \cs10 \additive Default Paragraph Font \s16 myparagraphstyle \cs17 mycharstyle \cs18 mycharstyle2 Then, within Vim I'll run substitions so that the text referred to by the numbers such as \s2 are prepended with my own tags such as phdr2, and better yet that text has a proper ending tag appended. This is not so simple for three reasons: 1) There's always a bunch of gobblety gook between the \s2 and the text to which it refers, and that must eventually be deleted. 2) There's often gobblety gook before the \s2, and that gobblety gook must eventually be deleted. 3) It's MUCH harder to reliably put end tags at the end of the text to which it refers. If I don't put end tags, that means I'll have a much harder time converting it to LyX. Next, I'll re-import the rtf into MS Word. What should happen is it re-imports the same as it originally was, only now it has my tags. From there I should be able to export it to plain text, and use my tags to create the LyX file with suitable scripts. Or maybe make scripts to directly manipulate the RTF. Of course, for all my custom character and paragraph styles, I'll need to create those styles within LyX, in a blank document, before appending the actual content. Then comes the cleanup. Stuff like tables and images won't convert -- I'll need to manually do that cleanup and then run at least a rough proofread. The good news is, because the original document used styles for almost every appearance, fine tuning won't be necessary (hooray for styles!). I'd estimate this to be about a week's job. That's a lot of time, but in the end I'll have converted a 300 page book, style for style, from MS Word to LyX. If anyone has a better idea for converting a 300 page MS Word document to LyX, style for style and word for word, please let me know. Thanks STeveT Steve Litt Recession Relief Package http://www.recession-relief.US
Re: Why the ugly PNG pictures?
I strongly suggest you to use the OTEditor utility to convert Visio diagrams to EPS. I have been using it for a long time now and I am very, very happy with the result. OTEditor is a free program that can be downloaded from www.sourceforge.net/projects/oletex. It is rather simple to install and to use. Assuming that you have this program installed, this are the steps to make the conversion: 1- Select the diagram in Visio, Powerpoint, etc 2- Copy it into the OTEditor 3- Choose "EPS properties" and give a name (you may also change the size of the figure) 4- Choose "Convert.." and that's it! One nice thing is that the generated EPS has a correct bounding box! Nicolás Aleksandar Kanchev wrote: Hey Georg, thanks a lot for this nice explanation. I figured out yesterday that using bitmaps (i.e. PNG, JPEG) is not the right way. I actually tried exporting the drawing into SVG from MS Visio but it was a disaster. Visio itself was able to recreate the drawing without any problems, but unfortunately the libraries that came with Fedora 9 couldn't. I also tried other free tools like inkscape, but none of them could handle the Visio SVG. So I'm currently using the Adobe Illustrator, I'm importing the SVG from Visio than I'm exporting it to EPS. It works wonderfully, the drawing looks to be exactly the same. Thanks for the link about the Metafile EPS Converter. I don't know how did I miss that. The automatic convertsion sounds nice, but it's kind of better if you're using LyX under windows. I'll stick with using the Illustrator for now. Thanks, Aleksandar Georg Baum wrote: Aleksandar Kanchev wrote: Hello list, whats wrong with LyX and PNG files? Nothing. PNG files usually work fine. I draw a diagram in MS Visio, export Since Visio produces vector graphics it would be better to use a vector format, e.g. EMF. Then you will not get any scaling problems. See http://wiki.lyx.org/Windows/MetafileToEPSConverter for instructions on getting good EMF/WMF support in LyX. it to PNG, open it on LyX 1.5.5 (on Fedora 9). The PNG looks nice in LyX itself, but when I create a pdf the picture gets over-scaled beyond the page size. I tried forcing the picture size in lyx but it looked like it was first over-scaled, then scaled again to the size I gave it and as a result it looked completely ugly. This seems to be a problem with PNG files, I tried exporting from MS Visio the same file with the same size in JPEG and it displayed ok in LyX and the picture wasn't over-scaled I left it to automatically scale the picture. Am I doing something wrong? Is there a known problem with PNG files? Could it be fixed? I really don't like JPEG, the diagram looks better in PNG. The picture size is 14x11,2 cm or 529x423 pixels. It is the nature of bitmap files that the size is always measured in pixels, never in physical length units like cm. Some bitmap formats do allow to specify a resolution, so that you can relate pixels to physical lengths, but this setting is usually ignored. In order to get predictable results you should therefore avoid the setting "Original size" for bitmap files and specify a fixed size, either in physical length units or LaTeX variables, e.g. page width. If you get ugly looking PNGs you are probably not using pdflatex (which supports PNG directly), and a bad PNG->EPS converter. Georg
Re: change page order for "parts"
If I am not wrong, you get this for free when you use the book class (or a derived one) and you choose the "two-sided" option in Docuemnt Settings. assasukasse wrote: Hello i was wondering if is possible to tell LyX, to impaginate following this rule: the page bearing the Part I, Part II or similar, should be always the front side of a sheet, since at the moment i have "part" pages in the back side of the sheet as well (i am printing double side). I am not sure i am clear enough, but i will try to use a more specific language: I want the "part" to be always printed in the recto of the paper sheet, NEVER it should end up in the verso.. Is that possible? Thanks alot! Agostino
Re: Bounding box problem (not caused by LyX but ghostscript)
Tom, you can specify the resolution with -r300 (that's the maximun) You may also consider embedding the fonts with: -dEmbeddAllFonts=true -dSubsetFonts=true You may find this interesting: http://wiki.ljackson.us/EPS_Optimization#Convert_.26_CleanUp_EPS Nicolás Tom Schlangen wrote: Dear Olivier, I did the following in Windows (one line, mail agent may wrap it): gswin32c -dBATCH -dNOPAUSE -dEPSCrop -sDEVICE=epswrite -sOutputFile=dummy2.eps dummy.eps I tried this, but ... The resulting image displays fine in LyX with or without the clipping options While this is true regarding the bounding box problem, the resulting picture quality I get (LyX display and printout) is very poor compared to the other method I used so far. I am using AFPL Ghostscript V8.54, because it is installed on the Windows machine anyway. I will try some younger Windows versions of ghostscript tomorrow and report back. This morning I tried the GPL GS V8.61 windows binary using your suggested method too, sadly also giving bad quality/resolution results. Any suggestion to improve the output quality? Regards, Tom Schlangen
Re: Bounding box problem (not caused by LyX but ghostscript)
Well, it seems that I have a lucky configuration/installation in my machine. As I already said, I have LyX 1.5.5, ImageMagick-6.2.7-Q16, AFPL Ghostscript 8.14 and GSview 4.6, Miktex 2.7 and Acrobat Reader 7. For me, all images except dummy_bbget_gs862.eps (which GsView reports errors when trying to open it) are correctly visualized in LyX and in pdf, with and w/o the clipping option selected. Could someone explain what LyX really does when the cclipping option is selected? Nicolás Olivier Ripoll wrote: Hi, I tried your eps files in LyX 1.6 beta3 under windows XP. I use Adobe reader 8 for pdf (generated by pdflatex IIRC) and gsview 4.9 / ghostscript 8.62 for postscript viewing. It does work better for me that for you it seems (you may suffer from an outdated/buggy imagemagick). I tried the images without checking the option to clip to the bounding box, and with it (ion that case, also with clicking on the button to get the size from the file). Tom Schlangen wrote: Okay, I have prepared some files to illustrate the problem, so other have a chance to verify. Output from bbget, using esp-gs v7.70.x: http://www.ines.mynetcologne.de/dummy_bbget_espgs770.eps (64k) (works!) displays fine in LyX with or without the clipping options pdf/ps/dvi output is fine Output from bbget, using gs v8.62: http://www.ines.mynetcologne.de/dummy_bbget_gs862.eps (64k) (doesn´t work) gsview 4.9 cannot even open this file... it reports errors. displays wrong in LyX with and without the clipping options. LyX cannot actually read the bounding box at all. does not display in pdf (blank pages), result in errors in gsview and dvi viewer. Output from gsview v4.7, using option PS to EPS, also checkmarked "Automatically calculate Baounding Box". BTW, using gsview v4.9 gives the same result. http://www.ines.mynetcologne.de/dummy_gsview47.eps (64k) (doesn´t work) displays wrong (full page) in LyX with or without the clipping options pdf/ps/dvi is fine though Output from ps2eps v1.64 utility, parameters as suggested by http://www.tm.uka.de/~bless/ps2eps.html: http://www.ines.mynetcologne.de/dummy_ps2eps164.eps (64k) (doesn´t work) displays wrong (full page) in LyX without the clipping options and fine with it. ps/dvi are correct pdf is correct without the clipping option, but the figure is missing when using the clipping option (yep... it works without and _not_ with). Now, I do not really understand why you need such a complex workflow. Why do you need to go in Linux ? I did the following in Windows (one line, mail agent may wrap it): gswin32c -dBATCH -dNOPAUSE -dEPSCrop -sDEVICE=epswrite -sOutputFile=dummy2.eps dummy.eps (You need to have gs in your path) The resulting image displays fine in LyX with or without the clipping options, and ps/pdf/dvi is fine also. So my conclusion is : don't care about what LyX displays, care about the final result, and most encapsulated postscripts (eps) are fine there. And also, use ghostscript 8.62 on windows. Regards, Tom Schlangen Regards, Olivier PS: personally, I use pdf instead of eps: it takes less disc space, you can edit easily with inkscape, everyone can view them, and last but not least, it is the base format for pdf(La)TeX which is nicer (pdf bookmarks).
Re: Lyx 1.5.3 not showing references from Jabref 2.3.1
If I create a .bib file with those two references and use it in LyX, I can see both references. Don't know where is the problem. I use JabRef 2.3.1 to create my .bib file and have not experienced any problem so far. Ralf77 wrote: rgheck wrote: vu wrote: rgheck wrote: Export the document to LaTeX and try compiling it manually. Report the error messages. It sounds to me as if either LyX or LaTeX isn't finding the .bib file, and there are various reasons this can happen. Hi, I have a similar problem. Some of my References from Jabref 2.3.1 are shown in the list of references in lyx 1.5.5 but SOME ARE NOT. e.g. this entry is shown: @TECHREPORT{URI-standard, author = {{Tim Berners-Lee}}, title = {{Uniform Resource Identifier (URI): Generic Syntax}}, institution = {W3C / MIT / The Internet Society}, year = {2005}, type = {RFC}, number = {3986}, owner = {rwe}, timestamp = {2008.06.26}, url = {http://tools.ietf.org/html/rfc3986} } while this one is not: @MISC{Thatte2001, author = {{Thatte}}, title = {{XLANG – Web Services for Business Process Design}}, howpublished = {Online}, year = {2001}, institution = {Microsoft Corporation}, owner = {rwe}, timestamp = {2008.06.24}, url = {http://www.gotdotnet.com/team/xml_wsspecs/xlang-c/default.htm} } Can someone help? Cheers, Ralf
Re: Bounding box problem (not caused by LyX but ghostscript)
Do you mean that when the eps is displayed in LyX is not clipped, as it would happen if it was opened with Gsview? In my machine I can see the clipped figure both in LyX and in the generated pdf/ps/dvi. I have LyX 1.5.5, ImageMagick-6.2.7-Q16, AFPL Ghostscript 8.14 and GSview 4.6. Nicolás Mukhtar Ullah wrote: Dear Tom, I checked your figures in LyX and could verify your problem. It seems that imagemagick is culprit. I converted your eps files to pdf and included that in LyX. That was shown perfectly clipped. So you could consider switchin gto pdflatex, converting all your eps files by a script using epstopdf command from MiKTeX. That, ofcourse, will only be possible if you are not using pstricks. Mukhtar
Re: Bounding box problem (not caused by LyX but ghostscript)
I you select the "Clip to bounding box" option and get the bounding box from the file, the result will be the same as if you simply do not select the "Clip to bounding box" option (in my experience, at least). Now, regarding your eps files, are the last two or three eps files really useless? I can see that the only difference with the ok file is that their bounding box is one point bigger in both th evertical and horizontal dimensions. Is that really a problem? What you get is a white frame of less than 1mm of thickness, and since I assume your paper is white... no one will notice such fame! Just my opinion. Cheers, Nicolás Tom Schlangen wrote: Okay, I have prepared some files to illustrate the problem, so other have a chance to verify. .EPS output file of the circuit drawing program I use: http://www.ines.mynetcologne.de/dummy.eps (64k) bbget script from http://silas.psfc.mit.edu/elec_fig/ : http://www.ines.mynetcologne.de/bbget Output from bbget, using esp-gs v7.70.x: http://www.ines.mynetcologne.de/dummy_bbget_espgs770.eps (64k) (works!) Output from bbget, using gs v8.62: http://www.ines.mynetcologne.de/dummy_bbget_gs862.eps (64k) (doesn´t work) Output from gsview v4.7, using option PS to EPS, also checkmarked "Automatically calculate Baounding Box". BTW, using gsview v4.9 gives the same result. http://www.ines.mynetcologne.de/dummy_gsview47.eps (64k) (doesn´t work) Output from ps2eps v1.64 utility, parameters as suggested by http://www.tm.uka.de/~bless/ps2eps.html: http://www.ines.mynetcologne.de/dummy_ps2eps164.eps (64k) (doesn´t work) Just import those example eps files dummy_bbget_espgs770.eps (64k) (works!) dummy_bbget_gs862.eps (64k) (doesn´t work) dummy_gsview47.eps (64k) (doesn´t work) dummy_ps2eps164.eps (64k) (doesn´t work) to LyX always using the "Clip to bounding box" and "Read from file" options in the dialog, and have a look at the output. You will see the only file giving correct clipping is the one with the bounding box values generated by bbget and an old, discontinued ESP ghostscript version. Now, everybody can say "that is not a problem of LyX", but on the other hand, the LyX image import dialogue is left pretty useless if there is only some certain script/program combination being able to generate bounding boxes that LyX is able to deal with? Regards, Tom Schlangen
Find & Replace with ERT insets
Hi! LyX (v1.5.5) is able to find a certain text string inside an ERT inset. However, the automatic replacement feature does not seem to work. Is this a bug or the intended behavior? If the second case applies, what is the reason for such behavior? Thanks! Nicolás
Re: LyX renumbered footnotes when I began new chapter---how to fix?
I would say that this is not a problem of LyX (although I may be wrong), but of the Latex class you are using. Anyway, the following link might be of help: http://newsgroups.derkeiler.com/Archive/Comp/comp.text.tex/2007-05/msg01776.html Cheers, Nicolás drew loewe wrote: Hello. I recently installed LyX 1.5.5, updating from 1.3. I am using LyX to write my dissertation. Footnotes are to be numbered consecutively through the document, and indeed the output in 1.3 did this. Now, however, LyX renumbered the footnotes, beginning again with footnote 1, where a new chapter begins. Here is my preamble, if it helps: \ProvidesPackage{mla}\RequirePackage{geometry,setspace,fancyhdr}\geometry{margin=1.5in,top=0.5in,headheight=15pt,headsep=0.25in, nofoot}\lhead{}\chead{}\rhead{Loewe~\thepage}\lfoot{}\cfoot{}\rfoot{}\renewcommand{\headrulewidth}{0in}\pagestyle{fancy}\renewcommand{\doublespacing}{\setstretch{1.92}} % only for 12 pt\doublespacing\setlength{\parindent}{0.5in} \textwidth=6in\oddsidemargin=0.5in \evensidemargin=0.5in \topmargin=-0.5in\textheight=9in \usepackage{url} \tolerance 1414 \hbadness 1414 \emergencystretch 1.5em \hfuzz 0.3pt \widowpenalty=1 \hyphenpenalty=1 \vfuzz \hfuzz \raggedbottom \usepackage{titlesec} Help! Thank you!
Re: No headers with memoir class
Thanks Maksi! Your solution almost worked. It removed the headings as I wanted, but I also wanted the page number on the foot of the page. I have seen now that the "plain" page style defined by memoir is exactly the one I want. So by setting \pagestyle{plain} I solved my problem. I have also seen now that there was some related info already in the list: http://www.mail-archive.com/lyx-users@lists.lyx.org/msg44139.html Cheers, Nicolás Maksi wrote: Nicolás wrote: Does someone know whether it is possible to suppress the headers of part of a document using the memoir class? Thanks If I got you right, you want to avoid your default page style (headings) for some parts of a document. Try to insert some ERT before: \pagestyle{empty} and after the section: \pagestyle{your_style_as_in_document_settings_dialogue} This should work but I have not tried it myself. Regards, Maksi
No headers with memoir class
Hi! Does someone know whether it is possible to suppress the headers of part of a document using the memoir class? Thanks Nicolás
Bibliography in each chapter of a book
Hi! I writing a book with the memoir class and each chapter should have its own bibliography section. In addition, I want a comprenhensive bibliography for the whole. I have seen that I should use the chapterbib package. I load this package in the preamble of my master document. Each chapter is included as a child document, and each child document has its own Bibliography inset. The master document has also a bibliography inset. The problem is that when I export to latex, I get an error message saying "command \etalchar already defined". Could someone help me and tell me what I am doing wrong? Thanks! Nicolás
Child document inside LyX note
Hi! I have an include child document inset (of type "input") inside a LyX note. Despite being inside a note, when I export to latex, LyX reads and tries to compile the child document. I guess this is a bug? Nicolás
Re: paragraph ending unexpectedly?
Paragraph ended before [EMAIL PROTECTED] was complete Extra }, or forgotten \endgroup. Extra }, or forgotten \endgroup. Argument of [EMAIL PROTECTED] has an extra }. Paragraph ended before [EMAIL PROTECTED] was complete. LyX has highlighted the title and there is nothing wrong with it in the source (it hasn't changed in weeks...) I think this sort of error message sometimes occurs when something is inserted in the wrong place, or inserted containing something it ought not contain. LyX highlights approximately where the error is, but not always exactly. Right, the error might not always be near the place where LyX (or latex, I guess) points to. Try to think if you changed something, whatever, since last time it compiled well. There should be the problem. When I cannot find the source of an error, what I do is to use a divide and conquer strategy. I insert parts of the document in Notes and compile. If everything is ok, I know the problem is not there. Nicolás
Re: Discussion: Labels and parent-child documents
Well, one problem I can see is that this could make cut and paste between documents difficult. And it involves a lot of keeping track of what's a child of what. Not really. Note that labels and cross-references are only updated when we export to latex. But maybe something like this could be made to work. You're welcome to bugzilla it. I just wanted to see what people thought about it before opening a file in bugzilla. But it seems most people do not have an opinion on this :-) I will report it now on bugzilla. rh
Discussion: Labels and parent-child documents
You are right in that we may have cross-references between children documents. I still think that my proposal of automatically renaming labels is a good idea. What you say is actually not a problem is a little of care is taken by LyX when inserting cros-references. Imagine we are working in document A and want to insert a reference to a label "LabelInA" in the same document. Then LyX would introduce the reference as usual, i.e. \ref{LabelInA}. Now we want to insert a reference to a label "LabelInB" in same document B. LyX would detect that the label is in another document (easy, since we have to choose that document in the cross-references dialog) and introduce the reference as, e.g., \ref{DocumentB:LabelInB}. Now, when we include document A in a third document and compile, LyX would rename all labels of document A (and of all documents, including the master) by adding a prefix "DocumentA:" and would update the references (in the same document A) to those lables accordingly (in our example would change \ref{LabelInA} to \ref{DocumentA:LabelInA}). Note that the \ref{DocumentB:LabelInB} would not be modified, and that would not be necessary, since the labels in document B would also be renamed by adding prefix "DocumentB:" to them. I actually thing that, with independence of doing what I say or not, differentiating whether a reference points to a label in the same document or in another document is wise to facilitate debugging, in case this is necessary. Cheers, Nicolás rgheck wrote: Humberto Castejon wrote: Hi! I have just realized that when importing child documents, the labels of the different documents may overlap. That is, the same label may have been used, e.g., in two child documents. Does LyX take this into account and add any kind of prefix to the labels of the children documents? If not, I think this would be a nice feature, rather than having to modify manually the overlapping labels. No, you don't really want LyX to do that. It should be possible to reference labels in one child from the other children---which it is, as things are. If you start modifying the labels themselves, then you would have also to modify the references to those labels. But then how do you know which one you meant to reference? rh
Re: Justify the text
Hi! I think rgheck was not talking about the Paragraph environment (or style?), but about changing the format of your paragraphs (Edit->Paragraph settings). From the Paragraph settings dialog you can select if you want your paragraph justified, centered, etc. Nicolás sarah84 wrote: Hello again, Acutally I used "standard" for this part of my memo, I used it to write the section. for exemple: MADCOW (the section title "Section") (Multimedia Annotation of Digital Content Over the Web) est un système d’annotation pour les documents multimédias, créé par des chercheurs de l’université de Rome «La Sapienza» ("Standard") Because if i will use "Paragraphe" insted of "Standard" in the visualtion it will be "Bold, and bigger". Sarah rgheck wrote: sarah84 wrote: Hello, I am using Lyx1.5 to write my master's memo, the problem is that every time I visualise thet texte there r some parts of the texte that r not justify, I dont know what to do, and I am just using it scine 2 days!! By the way I am writing in french so I dont know if the special french caracters make this pb. Have you been using the paragraph settings dialog and changing justification? If not, can you post (or send me privately) the file that is causing the problem? rh
Re: Footnote without numbering (new)
It works for me when using the article textclass. This is, I guess, because the style of the title page is set to "plain", and not the rest of the document. But it is true that the behavior may change with other classes. I have seen now that the major sectioning commands (\part, \chapter or \maketitle) specify a \thispagestyle{plain}. So the footer would be repeated at the beginning of every part or chapter. To avoid that the "plain" style should be redefined after a new \chapter or \part, if I am not wrong. Take a look here for related info: http://en.wikibooks.org/wiki/LaTeX/Page_Layout#Page_Styles Cheers, Nicolás Manveru wrote: Are you sure of it? I see this will change footer on every page in whole document... 2008/5/29 Nicolás <[EMAIL PROTECTED]>: A possibility to get a footnote not connected to a part of the document is to use the fancyhdr package In the preamble, write: \usepackage{fancyhdr} \fancypagestyle{plain}{ \cfoot{} \lfoot{ \scriptsize your text\ \begin{center} \thepage \end{center} } \renewcommand{\headrulewidth}{0pt} \renewcommand{\footrulewidth}{0.5pt} } Nicolás Michael Wojcik wrote: Jean-Marc Lasgouttes wrote: Adrian Peter <[EMAIL PROTECTED]> writes: Thank you for the suggestion but unfortunately I really need to put a footnote without a symbol or anything. I am trying to use Lyx for my thesis. Our college requires that if any of the chapters has already appeared as a publication that we need to list it on the first page of the chapter as a footnote. I thought that in such cases a numbered footnote was appended to the title of the chapter. The style Adrian describes seems to be relatively common in the US, for various purposes. For example, many journals set text formatted as a footnote with no number (often on the first or last page of an article), with material such as previous publication, requirements for reproduction, acknowledgments, and so on. A couple of examples I have to hand are _Critical Inquiry_ and _Communications of the ACM_. So I'm not surprised that Adrian's college uses the same convention when documenting prior publication.
Re: Footnote without numbering (new)
A possibility to get a footnote not connected to a part of the document is to use the fancyhdr package In the preamble, write: \usepackage{fancyhdr} \fancypagestyle{plain}{ \cfoot{} \lfoot{ \scriptsize your text\ \begin{center} \thepage \end{center} } \renewcommand{\headrulewidth}{0pt} \renewcommand{\footrulewidth}{0.5pt} } Nicolás Michael Wojcik wrote: Jean-Marc Lasgouttes wrote: Adrian Peter <[EMAIL PROTECTED]> writes: Thank you for the suggestion but unfortunately I really need to put a footnote without a symbol or anything. I am trying to use Lyx for my thesis. Our college requires that if any of the chapters has already appeared as a publication that we need to list it on the first page of the chapter as a footnote. I thought that in such cases a numbered footnote was appended to the title of the chapter. The style Adrian describes seems to be relatively common in the US, for various purposes. For example, many journals set text formatted as a footnote with no number (often on the first or last page of an article), with material such as previous publication, requirements for reproduction, acknowledgments, and so on. A couple of examples I have to hand are _Critical Inquiry_ and _Communications of the ACM_. So I'm not surprised that Adrian's college uses the same convention when documenting prior publication.
How can I do this?
Hi! I am writing a thesis and I need to include some articles verbatim, that is, with the format and style they where originally published. Using child documents requires files to have the same style. So how can I do, if it is possible, what I want to do? Thanks Nicolás
Awful feature or bug?
Hi! When I select something in a document and then press Ctrl+N+N to get it inserted into a LyX Note, the part of the document that I had selected goes into the clipboard. I guess this is a bug. Or is it an awful feature? Nicolás
Re: Downloading missing latex classes
I see your point. I still think that something could be done (I am a persistent person! :-) ). Many applications have an initial screen that is displayed while all the needed libraries, etc are loaded. LyX may have something similar. Once LyX is launched, and before latex.exe is invoked, an initial screen could be displayed saying something like "LyX is being started. This make take some time.". In most of the cases, this screen would be closed before the user can read anything. In cases where Miktex needs to download something, the user would know it may take time to launch LyX. Nicolás Paul A. Rubin wrote: Nicolás wrote: Yes, I guess it was Miktex, and not directly LyX, that was downloading the style or class. But MikTex is certainly called from LyX. I do not necessarily expect getting a dialog showing the exact status of the downloading process, but, at least, I expect to see a dialog saying "Downloading . Please wait". That way I can know that LyX is running. Because believe me. It can become quite confusing if the downloading takes long and nothing is known regarding what is happening. But anyway, it was just a suggestion. :-) It's a good suggestion; I just don't know if it's feasible to implement. The problem is that I don't think LyX knows what MiKTeX is doing. LyX spawns a child process to run latex.exe (or pdflatex.exe). It then waits for that program to issue a return code (success or failure). There is no ongoing communication between latex.exe and LyX (that I'm aware of), so no way for LyX to know that MiKTeX is downloading something. I have MiKTeX set to ask permission before downloading a missing package, so at least that way I know what it's up to (although it's still hard to tell if it is making any progress or just blocked). A lot of MiKTeX users apparently are not aware of the various options for dealing with missing packages, though, and I know for them it's confusing to have MiKTeX go off into space, particularly if they have a slow connection (or no connection). But I'm pretty sure that if anything is going to issue a "busy downloading" warning, it is going to have to be MiKTeX; I don't think there is any way that LyX can know this is going on. Cheers, Paul
Downloading missing latex classes
Hi! Today, after a long, long time without crashing, my copy of LyX 1.5.2 crashed. I decided then to upgrade to 1.5.4. Installation went ok, but when I launched LyX, a dialog message notifying about the need to download a missing latex class appeared. So far so good. The problem is that when I pressed the OK button, the dialog dissapeared and was not replaced by any other. I assumed that LyX was downloading the class in the background, but after a while I had to confirmed this by looking at the Task Manager (in Windows). I think that LyX should show a dialog where the user could see the progress of the downloading process. Nicolás
Re: Navigation toolbar
Thanks Abdelrazak. This is a possible workaround, but is no substitute to a pair of "go back/goforward buttons", I believe. Nicolás Abdelrazak Younes wrote: Abdelrazak Younes wrote: Nicolás wrote: Hi! When I use the outline to navigate quickly from one section of a document to another, I miss a "Go Back" feature that would allow me to navigate back to the exact point in the document where the cursor was before I clicked on an item in the outline. You can use bookmarks: - Ctrl-1 where you want to go back. Sorry, that is Ctrl-Alt-1 (or Navigate->set bookmark) - Navigate where you want - Ctrl-Shift-1 to go back. And this one is Ctrl-1 instead. Abdel.
Re: Navigation toolbar
Yes, I have just seen your entry (http://bugzilla.lyx.org/show_bug.cgi?id=1410), which is marked as dupplicate of this http://bugzilla.lyx.org/show_bug.cgi?id=898 I have also seen that I wrote a comment on that enhancement proposal :-) I guess we just have to wait and see... Nicolás Uwe Stöhr wrote: Nicolás schrieb: When I use the outline to navigate quickly from one section of a document to another, I miss a "Go Back" feature that would allow me to navigate back to the exact point in the document where the cursor was before I clicked on an item in the outline. I'm sure I reported this as enhancement request in bugzilla, but can't find it. COuld you please report it again in bugzilla? I don't know when this will be implemented, but in general we have since LyX 1.5 the framework to do this. regards Uwe
Navigation toolbar
Hi! When I use the outline to navigate quickly from one section of a document to another, I miss a "Go Back" feature that would allow me to navigate back to the exact point in the document where the cursor was before I clicked on an item in the outline. Does anybody know if there are any plans of implementing such feature? Cheers, Nicolás
Re: odd mistake
Hi! Sometimes I get some errors for which I do not exactly know where is the source. I use then a pragmatic approach to the problem: divide and conquer. That is, I remove part of the document (e.g. put it inside a Note) and compile. If everything is ok, I know the problem is within the removed part. I gradually remove less and less text, until I find the source of the error. Good luck! Nicolás NinaNutz wrote: Hello all, I have been working with lyx 1.4.4 in windows for more than a year and I always have been able to solve the mistakes that the program presents. But now, I have written more than 150 pages (in pdf) and I dont know what it's happening. The window shows a mistake that I've captured to show you... http://farm3.static.flickr.com/2055/2262086269_a7e9cfc1b1_o.png The mistake is in the middle of the text and are exactly the same words that I used in the previous document that in fact works. ¿Any idea? please... I have been trying different things for more than three days. Maybe do I have too much images... too much text or something similar? Thank you in advance
Re: Memory use
I am working with 3 documents, 2 of which have plenty of formulae. When I open the three of them, LyX uses 40Mb of RAM. If I close them, the memory consumption reduces to about 25Mb-33Mb. When LyX has been running for a while (and several hibernations have happened), LyX reaches 60Mb of more. At that moment, even if I close the documents or minimize LyX, no RAM is released. Are you sure that this is 60MB of RAM? Maybe part of it is virtual and was "forgotten" by Windows... I cannot say for sure, but I think it is RAM. I have 1Gb of RAM and, if I interpret correctly the info provided by the Task Manager, only half of it is being used. So no virtual memory should be necessary.
Re: Memory use
Jean-Marc Lasgouttes wrote: Nicolás <[EMAIL PROTECTED]> writes: When a file is closed the memory the file was using is released and when LyX is minimized, the memory used is reduced to a minimum. That's great! However, this is no longer true when LyX is running and I go into and come back from hibernation. I am using v1.5.2 on Windows XP. What do you observe after hibernation? I am working with 3 documents, 2 of which have plenty of formulae. When I open the three of them, LyX uses 40Mb of RAM. If I close them, the memory consumption reduces to about 25Mb-33Mb. When LyX has been running for a while (and several hibernations have happened), LyX reaches 60Mb of more. At that moment, even if I close the documents or minimize LyX, no RAM is released.
Memory use
Hi! LyX seems to make a good use of RAM just after it has been started up. When a file is closed the memory the file was using is released and when LyX is minimized, the memory used is reduced to a minimum. That's great! However, this is no longer true when LyX is running and I go into and come back from hibernation. I am using v1.5.2 on Windows XP. I wonder if this is a problem of LyX that could be solved, or whether it is a problem with hibernation that is out of the scope of LyX. Cheers, Nicolás
Re: Lyx en español
Hi! I would say that the "de facto" language (if not the official one) of the list is English. So if you can speak English, I would advise you to use it. But if you can not speak English, you may ask in Spanish, add an automatic translation, and kindly ask someone to help you correct the translation if not clear. I am pretty sure you will find some Spanish-speaking person willing to help you (maybe myself :-) ). And now in Spanish, in case you do not understand English: Hola! Me atrevería a decir que el idioma de hecho (si no el oficial) de la lista es el inglés, así que te recomendaría preguntar en inglés si es que puedes. Si no hablas inglés, pregunta en español, añade una traducción automática y pide por favor a yuda a alguna persona de habla hispana para que te ayude a corregir la traducción, en caso de que ésta no sea del todo correcta. Estoy seguro de que encontrarás a alguien, quizás yo mismo :-), dispuesto a ayudarte. Nicolás Todd Denniston wrote: Jorge Mario wrote, On 12/12/2007 10:32 AM: Hola compañeros Comapñeros de habal hispana. podemos preguntar en español? atte Ken from http://www.google.com/language_tools?hl=en we get Automatically translated text: Comapñeros of habal Hispanic. We ask in Spanish? From an email thread a few months ago[1], I would suspect you can, but it might be better to ask in both Spanish, and _attempt_ to put an english translation in the email too, in case those who can answer your question don't read Spanish. [1] http://www.mail-archive.com/lyx-users@lists.lyx.org/msg58916.html passed through: http://translate.google.com/translate_t?langpair=en|es Texto traducido de forma automática: Desde un subproceso de correo electrónico hace unos meses [1], yo sospecho que puede, pero tal vez sería mejor preguntar en español, y el intento de poner Inglés traducción en el mensaje de correo electrónico también, en caso de los que pueden hacer responder a su pregunta No saben leer español.
Re: Spell check on the fly?
bigblop wrote: Is there any chance that LyX in the future will support spell check on fly, where each misspelled word is underlined with a red line in the editor if its incorrectly spelled? I HOPE NOT! :-) This, in my modest opinion, is not helpul at all and just contributes to disturb your writing. Nicolás
Re: Possible to cross-reference labels inside Notes (Bug?)
G. Milde wrote: On 28.11.07, Nicolás wrote: Now I have found that if you have a label inside a LyX Note, it appears in the cross-reference dialog. ... For me this is again a bug. Would like to hear opinions from other users before I file a bug report. Thanks For me, this is a nice loophole: If I include some raw latex (e.g. a latex file) in my doucment that contains a label, I can put a dummy label in a note and then use it "the normal way" to create cross-references with the GUI. Although this is not necessary. You can just write yourself the name of the label in the cross-reference dialog. This means that if you place some text that includes a label inside a LyX Note, and then you continue using that the same label in the document body, two labels with the same name will appear in the cross-reference dialog. I will never want to make a reference to a label inside a LyX Note, but if a want to make a reference to the label in the document body, how can I differentiate it from the one inside the LyX Note? The "label inside the LyX note" will be invisible for LaTeX and therefore not influence the cross references in the final output. So, no problem with identically named labels should appear. The danger is rather with cross references to labels that only exist in a note: they will generate a latex error. You are right! I did not think about this. So there is no problem at all. Forget everything! :-) Günter
Possible to cross-reference labels inside Notes (Bug?)
Hi! Some time ago I discovered that section headings inside a LyX Note where considered when the outline is built. That is, imagine that you have written some text that include (sub)section headings and then you decide to modify it. Before editing it, you copy the whole text and place it inside a LyX Note, just in case you want to come back to or check the original text. Then, the (sub)sections from that text will appear twice in the outline, since (sub)sections inside a LyX Note appear in the outline. I reported this as a bug, because in my opinion it creates confusion. It was however rejected. Now I have found that if you have a label inside a LyX Note, it appears in the cross-reference dialog. This means that if you place some text that includes a label inside a LyX Note, and then you continue using that the same label in the document body, two labels with the same name will appear in the cross-reference dialog. I will never want to make a reference to a label inside a LyX Note, but if a want to make a reference to the label in the document body, how can I differentiate it from the one inside the LyX Note? For me this is again a bug. Would like to hear opinions from other users before I file a bug report. Thanks Cheers, Nicolás
Re: Bug or feature? Find and Replace
This is definitely a bug, in my opinion Nicolás Tobias Krause wrote: Hi, is the following behavior a bug of feature? While using "Find and Replace" "Replace" usually replaces the current text and jumps to the next hit - this way in hitting replace several times I can replace several hits but if "Replace with" contains the text specified in "Find" this does not work. Just an dumb example: assume the following: The text is "Hello Tom, hello Tim, who are you?" The text specified in "Find" is "Hello" The text specified in "Replace with" is "Hello World" Hitting Replace twice ends up with "Hello World World Tom, hello Tim, who are you?" instead of "Hello World Tom, hello World Tim, how are you?" This means the after replacing the text the search for the next hit starts at the start of the just replaced text. I myself would prefer, that the second search starts at the end of the replaced text - not at the start of it... Are there any reasons for the current behavior? Regards Toby
Re: font embedding
Don't know if the following is of any help, but just in case. I had recently a problem with embedding fonts in the pdf generated by LyX. In my case, all fonts in the document body where correctly embedded. However, fonts inside EPS files where not embedded. I did not managed to configure LyX in such a way that the generated pdf contained all fonts embedded. Since embedding fonts will be normally desired only for the final version of a document (while working on the document I do not mind), my solution was an easy one: genarate a .ps file from LyX for the final version and use GSView to convert into pdf. For the ps to pdf conversion I used -dSubsetFonts=true and -dEmbedAllFonts=true. I also found necessary to set -pdfsettings=/prepress Cheers, Nicolás Paul A. Rubin wrote: Alexander Sklar wrote: How do I make sure all the fonts in my pdf generated by LyX has all the necessary fonts embedded and subset? Good idea. I was at a conference a couple of weeks ago where close to 1/3 of the presenters used Beamer (I had no idea it was that popular here in the States), and at least one of them ran into a problem with missing fonts that caused his math formulas to evaporate. (Consolation: a similar problem afflicted close to half the people using Powerpoint.) I suspect this was due to borrowing the first presenter's laptop. (I guess the trick would be to pass -dSubsetFonts=true -dEmbedAllFonts=true to ps2pdf but how do I do that from LyX?) DISCLAIMER: I have not tried this myself (I use pdflatex, and seem to get lucky with the fonts). Go to Tools -> Preferences -> Converters, highlight "Postscript -> PDF (ps2pdf)", type the options you want into the "Extra flag" field, then click Modify and Save. You may have to exit and restart LyX to have it take effect (I'm not sure). HTH, Paul
Re: Aspell broken
I got this message once. My problem was that, despite I had a running installation of Aspell on my computer, when I installed LyX 1.5.2 Aspell was installed again, but without the dictionaries (I think I cancelled their installation, since I already had them). You will probably have an Aspell directory under C:\Documents and Settings\All Users\Application Data\ or C:\Documents and Settings\<>\Application Data\Aspell. That directory should have a Dictionaries sub.directory that will probably be empty. If this is the case, download and install the dictionaries you need from: http://wiki.lyx.org/Windows/Aspell6 Good luck! Nicolás M. Zapukhlyak wrote: exactly the same problem and I have no solution for it christiaan pauw wrote: Hi everybody I use to have a working Aspell on LyX 1.5.1 of Win XP but I seem to have broken it. When I try F7 get the message: The spellchecker could not be started No word list could be found for language "en_US". Does anyone know what to do bar re-installing LyX? thanks Christiaan
Re: Command disable
Jean-Marc Lasgouttes wrote: Nicolás <[EMAIL PROTECTED]> writes: I get a "command disabled" message when I press Crtl-TAB, which is bound to buffer-next in the cua.bind file. However, If I press Ctrl-PgUp or execute the command directly from the mini-buffer, I obtain the desired result. Thie means that it is not the buffer-next command taht is disbaled, but its invocation via Ctrl-TAB. Any clue about this? Actually, C-Tab is not really bound to buffer-next, because in math.bind there is \bind "C-Tab" "cell-split" So it is the cell-split function that is disabled, not buffer-next. I do not know whether this cell-split function is useful though. Andre'? Right. I did not think it might be re-bound in other files. I have changed the binding of "cell-split", which I do not use much, and now C-Tab works for switching among documents. Great! Thanks very much for your help. Nicolás
Re: Command disable
Jean-Marc Lasgouttes wrote: Nicolás <[EMAIL PROTECTED]> writes: When I press certain combinations of keys I can see the message "command disable" in the lower bar. Could someone explain me what can cause this message to appear? In other words, how/why is a command disabled, and how can be enabled? Thanks! A command is disabled when it does not make sense at a given position (for example try to collapse an inset when there is no inset around cursor position). There is not much that needs to be done about it. I get a "command disabled" message when I press Crtl-TAB, which is bound to buffer-next in the cua.bind file. However, If I press Ctrl-PgUp or execute the command directly from the mini-buffer, I obtain the desired result. Thie means that it is not the buffer-next command taht is disbaled, but its invocation via Ctrl-TAB. Any clue about this?
Command disable
Hi! When I press certain combinations of keys I can see the message "command disable" in the lower bar. Could someone explain me what can cause this message to appear? In other words, how/why is a command disabled, and how can be enabled? Thanks! Nicolás
Re: Issues with LyX
Salim Namik wrote: Hi, I have recently started using LyX 1.5.2 and have few questions regarding formatting figures (especially in IEEEtrans class document): 1. How can I change the the style of the caption HEADER? e.g. make the caption at the center of the page, or make the word "Figure" italic? I am not sure, but maybe you cannot modify the format of a Figure caption without modifying the latex class or style you are using. If a journal releases a layout, it is normally because they want all papers to look the same, so it has no sense you to do what you want. 2. I create a lot of diagrams in MS Word and I to insert them in LyX, but when I do, the quality of the figure is rubbish!! what is the best format for diagrams made by MS Word? Look here: http://wiki.lyx.org/Windows/WinGraphics I personally use the OLETeX program (can be downloaded from www.sourceforge.net/projects/oletex) to make the conversion of Visio diagrams or any other Microsoft/OLE-based diagram into EPS figures. It works great! The program is rather simple to install and to use. Assuming that you have this program installed, this are the steps to make the conversion: 1- Select and copy the diagram in Visio, Powerpoint, Word, etc 2- Copy it into the OTEditor 3- Choose "EPS properties" and select the size of the figure (this is optional) 4- Choose "Convert.." and that's it! The generated EPS has a correct bounding box. 3. When cross-referencing figures, how can I make LyX automatically put "Figure 2" instead of "2" or "Figure 2 on page 3"? Your help is most appreciated. Kind Regards, Salim Namik -- Salim Namik PhD Candidate Department of Electrical & Computer Engineering The University of Auckland
Re: list of figures
Morgan Silverman wrote: Hello, I have figured out how to add the word Figure before the figure number that is automatically displayed in the list of figures. I would like to put a space between Figure and the number, so it looks like Figure 1.2. Right now it looks like Figure1.2 with no space. Does anyone know how to add this space? Thanks. -Morgan Silverman I guess you can add a protected space (Insert->Formatting) after "Figure"
Re: IEICE transaction
Hi! You have to install the latex class in your Latex distribution (e.g. MikTex). Then you have to install in LyX an associated layout, which tells LyX how to deal with that class. You can find in the Help how to construct your own layout file. You might be lucky, since in one of the mailinglist's messages, Allan Rae says he is writing a layout for this class: http://www.mail-archive.com/[EMAIL PROTECTED]/msg07496.html It seems he is a LyX developer (http://www.elec.uq.edu.au/~rae/index.html), so you may contact him and possibly obtain the layout you need. Good luck! Cheers, Humberto Horacio Sanson wrote: Can someone tell me how to add the ieice.cls document class to LyX? This class is needed to submit to the IEICE transactions that is a pretty large association in Japan. The latex related files can be found here: http://www.ieice.org/ftp/tex/ieice/LaTeX2e/ regards,
[Fwd: Re: 2 Bugs]
Original Message Subject: Re: 2 Bugs Date: Thu, 25 Oct 2007 20:30:36 +0200 From: Patrick De Visschere <[EMAIL PROTECTED]> To: Nicolás <[EMAIL PROTECTED]> References: <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> On Oct 25, 2007, at 1:09 PM, Nicolás wrote: Hi! I confirm both bugs with LyX 1.5.2 on Windows (official installer) Recipes here: 1st Bug- Open Latex Preamble window. Write whatever in the preamble. Click with the mouse on themain LyX window. As a result the little window with the document settings goes to second plane. Go back to that window. MAGIC! What you wrote has disappeared. I can confirm this on OS X 2nd Bug- Open a new document. Create an ERT box. Execute Navigate- >Bookmarks->Save bookmark 1. Try to open a new document and LyX crashes. No problem on OS X Nicolás Juergen Spitzmueller wrote: Tobias Krause wrote: @ Juergen: detailded recipe is here: With recipe, I mean: what actions do you exactly perform in order to trigger the crash? I'm unable to reproduce the crash. Most of your console output is unrelated, the related part is this: Assertion triggered in void __thiscall lyx::Text::setCurrentFont (class lyx::Cursor &) by failing check "this == cur.text()" in file D:\LyX\lyx-1.5.2\src\Text2.cpp:757 Which installer did you use? I think assertions should be really disabled in stable releases. Jürgen
Re: 2 Bugs
Juergen Spitzmueller wrote: Nicolás wrote: You mean a debugging trace? If so, which debug option you want me to use? No, a backtrace with a debugger like GDB. I don't know what's the best way to get this on windows, though. Neither myself :-) Maybe someone else can do it? Jürgen
Re: 2 Bugs
Juergen Spitzmueller wrote: Nicolás wrote: 2nd Bug- Open a new document. Create an ERT box. Execute Navigate->Bookmarks->Save bookmark 1. Try to open a new document and LyX crashes. I cannot reproduce on Linux. Could you provide a backtrace? You mean a debugging trace? If so, which debug option you want me to use? Jürgen
Re: 2 Bugs
Hi! I confirm both bugs with LyX 1.5.2 on Windows (official installer) Recipes here: 1st Bug- Open Latex Preamble window. Write whatever in the preamble. Click with the mouse on themain LyX window. As a result the little window with the document settings goes to second plane. Go back to that window. MAGIC! What you wrote has disappeared. 2nd Bug- Open a new document. Create an ERT box. Execute Navigate->Bookmarks->Save bookmark 1. Try to open a new document and LyX crashes. Nicolás Juergen Spitzmueller wrote: Tobias Krause wrote: @ Juergen: detailded recipe is here: With recipe, I mean: what actions do you exactly perform in order to trigger the crash? I'm unable to reproduce the crash. Most of your console output is unrelated, the related part is this: Assertion triggered in void __thiscall lyx::Text::setCurrentFont(class lyx::Cursor &) by failing check "this == cur.text()" in file D:\LyX\lyx-1.5.2\src\Text2.cpp:757 Which installer did you use? I think assertions should be really disabled in stable releases. Jürgen
Re: Bug LyX1.5.2: Keyboard problem
Jean-Marc Lasgouttes wrote: Nicolás <[EMAIL PROTECTED]> writes: Now to the point. Your suggestion did not work, but allowed me to realise I have found a bug (I think). The behavior I experience is the following. With LyX just started, the first time I type ALTgr + "´" followed by "o", I get "ó" (with independence of whether I have "Right-to-left language support" checked or not). However, the next time I type ALTgr + "´" followed by "o", I just get a normal "o". FWIW I also encounter in linux cases where composition stops to work at time. It is not sufficiently reproducible to be a useful report, though. Right! It is not sifficientlt reproducible because it is totally random! Here it is the sequence of characters I get when typing multiple times the composition (ALTgr+´)+e or (Ctrl+Alt+´)+e: eeeé´€€´€´€ééeeéeeéééeeé And this is what I get when typing (Shift+`)+e: èeeeèèèeèÈÈÈÈÈÈEEÈee Nice, isn't it? Can someone reproduce this behavior? Nicolás
Bug LyX1.5.2: Keyboard problem
In previous versions of LyX I could use (in Windows) (Alt gr + "´") + "o" in order to get an accented o: "ó". In LyX 1.5.2 (and I think also in 1.5.1) this does not work. Is this a bug or do I have to configure something? Thanks! I have no idea how the mechanism you describe used to work, but here's a long shot: try turning off the "Right-to-left language support" option in the preferences, and see if that makes a difference. If it does, please let us know! Well, I use a norwegian keyboard. As I said, if I want to obtain "ó", I type the acute accent while keeping ALTgr pressed (ALTgr + "´"). Then I release ALTgr and type "o". Now to the point. Your suggestion did not work, but allowed me to realise I have found a bug (I think). The behavior I experience is the following. With LyX just started, the first time I type ALTgr + "´" followed by "o", I get "ó" (with independence of whether I have "Right-to-left language support" checked or not). However, the next time I type ALTgr + "´" followed by "o", I just get a normal "o". Nicolás
Re: itemize and enumerate in Spanish language
You should put this on the Wiki, although I do not know the user and password :-( Ignacio García wrote: The style 'spanish' for babel sets up certain values overwriting the defaults and preventing customized bullets. The behavior of the lists itemize and enumerate is special to labeling the items. With the last version of 'spanish' is possible to change all that (and more) using options and commands. I have writed a small document describing the options and commands availables in 'spanish' for customizing the label bullets, with some examples. The LyX document is in Spanish, obviously, and is attached. Regards Ignacio
Re: Toggle between documents
Jean-Marc Lasgouttes wrote: Nicolás <[EMAIL PROTECTED]> writes: Thanks a lot for the answer. Now I have a second quetion. Could I replace Ctrl-PageUp/Down with Alt-TAB? Well, Alt-tab is hijacked by windows already. JMarc Sorry, I meant Ctrl-Tab. I have seen now that I may configure switching between documents by modifying the "bind" file. I have tried to assign "C-Tab" to "buffer-next", but it does not work. Actually, by default, if I press "C-Tab" I get a "command disabled" message. Could someone explain me what this means? By the way, I have seen that the standard cua.bind file includes three different bindings for "buffer-next"! Cheers, Nicolás
Re: Toggle between documents
Thanks a lot for the answer. Now I have a second quetion. Could I replace Ctrl-PageUp/Down with Alt-TAB? Jean-Marc Lasgouttes wrote: Nicolás <[EMAIL PROTECTED]> writes: Hi! In Opera and Acrobat I can use Ctrl-Tab to toggle between opened documents. Is there (or can I declare) a similar shortcut in LyX? Ctrl-PageUp/Down. JMarc
LyX1.5.2: Keyboard problem
Hi! In previous versions of LyX I could use (in Windows) (Alt gr + "´") + "o" in order to get an accented o: "ó". In LyX 1.5.2 (and I think also in 1.5.1) this does not work. Is this a bug or do I have to configure something? Thanks! Cheers, Nicolás
Toggle between documents
Hi! In Opera and Acrobat I can use Ctrl-Tab to toggle between opened documents. Is there (or can I declare) a similar shortcut in LyX? Cheers, Nicolás
Re: llncs class
I am not completely sure, but I would say llncs has not support for keywords. Nicolás Myriam Abramson wrote: Hello, How can I specify keywords in a document of the Article(LNCS) class? TIA
PDFView
Hi! Could anyone explain me what are the steps that LyX follows in Windows in order to preview a PDF document? This feature does not work as I would like in my system, and I would like to see if I can do something about it. More specifically, I would like to try using an script with some combinations of pdfclose and pdfopen. I guess I should specify this script in Preferences->File Formats-> PDF->Viewer. Should I pass any parameter? If I want different behavior for first time view and for update view, what do I have to do? Thanks! Nicolás
Re: Some formatting questions
Rayne wrote: Hi all, I'm new to Lyx, and and some questions regarding how the layout looks after conversion to PDF. The way your document looks like depends on the latex class that you use to format it. Such class is (indirectly) chosen when you select the LyX layout for your document. Some layouts come by default with no page numbering, for example. You can choose the layout you want via Document->Settings->Document class I realize that a page number is added to the PDF file. How do I remove that? There are several ways (look here: http://www.tex.ac.uk/cgi-bin/texfaq2html?label=nopageno) If you want absolutely no page numbering and no headers, you may install the nopageno.sty latex package (using MikTex) and use it in your document by adding in the preamble (Document->Settings->Latex Preamble) the following line: \usepackage{nopageno} Alternatively, you can add these two lines to the preamble: [EMAIL PROTECTED]@empty [EMAIL PROTECTED] Is there a way to reduce the margins in the PDF file? I'm forced to write some of my expressions on the second line because the left and right margins are too narrow. Document->Settings->Page Margins Lastly, is there a way to increase the font size of the text/symbols in the PDF file? To change the font size all over the document, you may try to specify the font size (e.g. 12pt)you want in Document->Settings->Document class->Options To change the size of a piece of text, select it and choose the size via Edit->Text Style->Customized Cheers, Nicolás Thank you! Regards, Rayne Shape Yahoo! in your own image. Join our Network Research Panel today! http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7
Re: LyX 1.5.1 crashes
Juergen Spitzmueller wrote: Nicolás wrote: It is the fourth or fifth time that LyX (on Windows) crashes when I insert a Note (Alt+i+n+n). Unfortunately the crashes happen randomly, and I cannot reproduce them. Is this a known problem? For 1.5.2, some bugs in this area have been fixed, so the issue might be cured. For further debugging, we's need a backtrace or a crash recipe. Can you try out 1.5svn? If not, 1.5.2 will be released soon, so we'll see then. I would be more than ready to try out 1.5svn, if I would not be in the middle of finishing my PhD thesis right now. What I could do is to run LyX in debug mode, if this could help. What debugging option should I use? Nicolás
LyX 1.5.1 crashes
Hi! It is the fourth or fifth time that LyX (on Windows) crashes when I insert a Note (Alt+i+n+n). Unfortunately the crashes happen randomly, and I cannot reproduce them. Is this a known problem? After the last crash I got this debug message, although I think it is probably not related: NoRepeatedApplyReadOnlyPolicy: No transition for input SMI_OKAY from state INVALID Completed Cheers, Nicolás
Re: [LyX] Unsubscribing...
I would say you are unsubscribed from the announcement list. To unsubscribe from the user's list, you should send an email to [EMAIL PROTECTED] Check here: http://www.lyx.org/internet/mailing.php Nicolás [EMAIL PROTECTED] wrote: I've sent an e-mail to [EMAIL PROTECTED]: one a several days ago and one today. Though, I have not received any confirmation that I indeed have been unsubscribed. What's going on here? Should I expect a confirmation or should I assume (I really hate to assume) I have been unsubscribed? Is the supplied e-mail address of [EMAIL PROTECTED] not correct? If not, where do I find the correct address? <...insert other questions here if you so desire...> Mr DPD
A question on latex/bibtex
Hi! I have just read a paper containing an interesting feature. Each citation in the bibliography section contains a list of links to the pages where such citation appears. For example, if citation [1] appears in pages 5 and 7, in the bibliography section we have: [1] Me and you, "The book of our lives", in Kindly Publication, 2007 5 7 Does someone know how to achieve that? Thanks, Nicolás
Embedding Fonts (was EPS to PDF conversion)
Thanks Paul! I had already tried doing that, but it seems ImageMagick does not read delegates.xml. Now I have decided to broaden my question. I would like to know if there is a way to configure LyX (or the auxiliary applications it uses) so that all fonts are embedded in a generated PDF. With my current configuration, the fonts for the body text of the document are embedded, no matter which of the three pdf generation options I use. However, fonts inside eps figures are not embedded. My installation uses pdfview.exe to handle the generation of pdf. How can it be configured so that pdflatex, ps2pdf and dvipdfm embedd figure fonts? Thanks! Cheers, Nicolás Paul A. Rubin wrote: Nicolás wrote: I am using LyX 1.5.1 on Windows and I wonder if there is any way I can configure the conversion from EPS to PDF (when I run pdflatex). The point is that the fonts of my figures (which are in EPS format) are not embedded on the PDF. If am not wrong, LyX uses Imagemagick, and the latter uses Ghostscript. I know the proper parameter I have to pass to Ghostscript, but I do not know how the latter is invoked. Look at /config/delegates.xml. There should be a line like I think maybe you want to add the parameter there. /Paul
Re: How to add a figure
Hi! I do not know if the beamer style is special, but if not, this should work: 1-Insert->float->figure 2- Inside the float, do Insert->Graphics and select your file If this does not work you may have a problem with the conversion from EPS to PDF (not sure of this) Cheers, Nicolás Lucas Amorim wrote: Hello, I am making a beamer presentation using lyx. I am trying to add a figure to a frame, a graph for example. I have converted it to eps. Then I tryied adding via the option Insert>Float>Figure and typinf the adress to the figure which is in my /home/lucas directory. Then I generated the pdf via pdflatex and the figure isn't shown in the pdf. I also tryied Insert>Graphics option and I got the same result. I really need this help because if I can't add this figure I will have redo everything I have already done (20 slides) to oo.org impress and that will be a total waste of time. Please help me! Thank you!
EPS to PDF conversion
Hi! I am using LyX 1.5.1 on Windows and I wonder if there is any way I can configure the conversion from EPS to PDF (when I run pdflatex). The point is that the fonts of my figures (which are in EPS format) are not embedded on the PDF. If am not wrong, LyX uses Imagemagick, and the latter uses Ghostscript. I know the proper parameter I have to pass to Ghostscript, but I do not know how the latter is invoked. Thanks! Cheers, Nicolás
Re: Screen not refreshed when opening/closing document
After re-starting LyX I cannot reproduce the problem any longer. After reading Richard's comment, it seems to me there is still some buggy behavior somewhere there, but it is difficult to reproduce. Not a big deal, anyway. :-) Cheers, Humberto Richard Heck wrote: Paul A. Rubin wrote: Nicolás wrote: Hi! My screen is not properly refreshed when opening/closing a document, if there are other documents already opened. I am using Lyx v1.5.1 on Windows. More specifically, this is what happens. Imagine I have at least 2 documents opened (with only one document opened the behavior is as expected). If I press Ctrl+N to create a new document, a new tab appears, but the screen still shows the last document I was viewing. If I write something, the screen is still not refreshed. Only when I press 'return' the screen is refreshed. Imagine now I have at least 3 documents opened. I select the first document (i.e. the first tab) and go to its end, so that the screen is only partially covered with the document's text. Now I go to the second document, and make it cover the whole screen. Done this, I close the document clicking on the on the cross on the right-top corner. LyX highlights the tab of the first document and shows its content mixed with the content of the just closed document. It is, the screen has not been refreshed. Can anyone confirm this behavior? I cannot. I followed the instructions above, but all tabs refreshed properly. I'm also on LyX 1.5.1-1, Win XP. There were bugs like this prior to the release of 1.5.0, so it's possible that there is still something that will trigger it. If we can get a recipe for it, I'm guessing Abdel can fix it pretty quickly. Richard
Screen not refreshed when opening/closing document
Hi! My screen is not properly refreshed when opening/closing a document, if there are other documents already opened. I am using Lyx v1.5.1 on Windows. More specifically, this is what happens. Imagine I have at least 2 documents opened (with only one document opened the behavior is as expected). If I press Ctrl+N to create a new document, a new tab appears, but the screen still shows the last document I was viewing. If I write something, the screen is still not refreshed. Only when I press 'return' the screen is refreshed. Imagine now I have at least 3 documents opened. I select the first document (i.e. the first tab) and go to its end, so that the screen is only partially covered with the document's text. Now I go to the second document, and make it cover the whole screen. Done this, I close the document clicking on the on the cross on the right-top corner. LyX highlights the tab of the first document and shows its content mixed with the content of the just closed document. It is, the screen has not been refreshed. Can anyone confirm this behavior? Cheers, Nicolás
Re: other LyX books at lulu (Re: Self-publishing with LyX)
I have not taken a look at these books, so I do not know if they are good or not. I just found funny the review for this book: http://www.lulu.com/content/1165817 It smells a little bit fake to me, do not you agree? According to the review, the son installed LyX, learnt to use it, and converted his MS-Word-based PhD thesis into a LyX document in one night! Impressive! Cheers, Nicolás Graham Smith wrote: I bought the copy on publishing for LULU (I didn't realise there were two other options) The style is very different to Alan's book, with detailed hand holding instructions on installing Lyx, Gimp etc.more screen grabs, and step by step menu paths The focus on Windows is appropriate because the feel of the book is that it is written to encourage people who have never used anything other than Windows/Word to have a go AND take you by the hand every step of the way. Graham Jeremy C. Reed wrote: Today, I search lulu for Alan's book (so I could send the http://www.lulu.com/content/1085870 link to a list I am on). And I found a few other books too: http://www.lulu.com/content/1165817 http://www.lulu.com/content/1097620 http://www.lulu.com/content/983754 Has anyone here read any of those? I don't recall them mentioned on this list. Jeremy C. Reed __ NOD32 2514 (20070908) Information __ This message was checked by NOD32 antivirus system. http://www.eset.com
Re: Lyx 1.5.1 failed to start on Windows XP
Are you using MikTex and, if so, have you the latest version? If I am not wrong, the problem you mention disappeared with the last version. You may also want to take a look at this thread: http://www.mail-archive.com/lyx-users@lists.lyx.org/msg53308.html Cheers, Nicolás Paul A. Rubin wrote: Steven Truong wrote: I downloaded both installers and after enough uninstallation of one version and trying another version, I am about to give up. I also followed this discussion in http://www.mail-archive.com/lyx-users@lists.lyx.org/msg58077.html and run this c:\program files\lyx15\resources> ..\python\python.exe configure.py After executing this command, a small window popped up and said "the required file blah blah blah is missing ...", I then clicked OK to install the missing pieces. After that, the whole thing hung or refused to continue and the last thing I could see on the terminal was: + checking for ec support in Latex format ... yes I had waited for roughly 1/2 hour on a laptop 1.8 GHz with 512 MB of RAM (currently firefox is running with 2 tabs). This same problems also happened on my other 2 PCs (very new and even dual core), so I do not think my computers are slow or anything. Please help because this is really frustrating. Thank you. Ignore what follows if you're not using MikTeX. I'm not sure if this is your problem, but there have been installation failures relating to MikTeX's attempts to install packages. During the installation script, LyX looks for a variety of common (?) LaTeX packages. Very few of these packages are actually essential, and as far as I know the essential ones are all part of the base MikTeX installation. When a package is not installed, MikTeX will react in one of three ways, depending on how a particular MikTeX option is set: it may automatically attempt to download and install the package; it may ask for permission to download and install; or it may ignore the missing package. LyX will interpret the third option as the package not being installed, which is correct and causes no problem. The difficulty occurs with the first option (automatic download), or possibly with the second option if permission to download is granted. If the selected MikTeX repository is offline or possibly out of synch, or if the user's Internet connection is slow (or worse yet turned off), the download can fail (or take forever), and the installation script in turn fails. It may also fail if MikTeX is set to install from a local disk drive and the drive is unready (empty CD drive, for instance). If this is the problem, the resolution is straightforward. Run MikTeX's "Settings" application, go to the package installation section of the general tab, and select 'no' for installation on the fly. Then run the LyX configuration script again. If it runs successfully and LyX starts, feel free to change the MikTeX setting back to 'yes' or 'ask me'. /Paul
Re: Installer improvement (was Lyx 1.5.1Spellchecker error)
I am not criticizing the installer. The first time I install LyX was a pain in the a%s#s. Now it is wonderful! In my case it is only me who uses my machine, but I am a mess, and sometimes I choose all users, other times the current user (it depends on the weather! ;-)) What I was trying to say is that the installer could include a warning about the potential problem. That is, once the installer proceeds to the installation of Aspell and/or the dictionaries, a dialog could be shown saying something like: "If you have a previous installation of Aspell, be aware of bla, bla, bla. If you experience this, please check the wiki at ..." It would then be much easier for the user to solve the problem. Cheers, Nicolás Joost Verburg wrote: Nicolás wrote: I experienced exactly the same problem. In my case LyX was using the version installed for all users (I guess it depends on the option you choose when installing LyX). I think the installer should warn about this situation. Ideally, the installer should be able to install the dictionaries in the right directory. The installer installs the dictionaries for all users if LyX is installed for all users and for the current user if LyX is only installed for the current user. If you install LyX for all users but have an additional copy of Aspell for the current user, LyX will use the current user version of Aspell. This allows you to use install dictionaries that have not been installed by the system administrator. So the installer does the right thing. The only problem is that some users were not aware of a previously installed current user version of Aspell. I think this is likely the case because installation of Aspell used to be quite problematic before the current system was created, so users often tried a few things before it worked right. Joost
Re: Lyx 1.5.1 can't show preview in pdf
Using the PDFViewWin.exe (and related files) that come with Uwe's installer (v1.5.1) I experience the following: - Acrobat Standard 7.0: PDF-View works fine. To update the view, I run again PDF-View. The document is updated in Acrobat and sometimes, but only sometimes, the updated document is shown from the page I was previously visualizing. - Acrobat Reader 8.1: The same as before, but when updating the document is always shown from the first page. Concerning Acrobat 8.x, due to a bug in these Acrobat versions you can't show the updated file at the last visited page. I contacted Adobe about this and you can find posts in mailing lists where people also complain about this. But I cannot do much about this. Try to go back to Acrobat 7.x and it works as expected. As I said, your solution does not work always fine with Acrobat Standard 7.0. If the LyX document is the only one opened in Acrobat, everything is ok. However, if there are other documents opened in Acrobat, the LyX document is updated, but it is shown from the first page. Cheers, Nicolás
Re: Lyx 1.5.1 can't show preview in pdf
The PDFViewWin.exe is there to be able to update PDFs that are open in Acrobat. Unfortunately there is a bug in Acroread 8.0.x that opened files could not be closed. We therefore built in a workaround. It seems that this workaraound doesn't work with Adobe Reader 8.1. I'll check this. You can remove all workarounds, the bugs are fixed in Adobe Reader 8.1. The tools from the official installer work fine with 8.1. Can someone tell me what can I expect from the PDFLatex View and Update View functionalities? Using the pdfview.exe (and related files) that come with the official installer (v1.5.1) I experience the following with both Acrobat Standard 7.0 and Acrobat Reader 8.1: -PDFLatex-View works fine -PDFLatex-View-Update does NOT work. The document is recompiled, but the buffer-update command does nothing! That is, the document is not update in Acrobat. Using the PDFViewWin.exe (and related files) that come with Uwe's installer (v1.5.1) I experience the following: - Acrobat Standard 7.0: PDF-View works fine. To update the view, I run again PDF-View. The document is updated in Acrobat and sometimes, but only sometimes, the updated document is shown from the page I was previously visualizing. - Acrobat Reader 8.1: The same as before, but when updating the document is always shown from the first page. Are the behaviours I describe the expected ones? Thanks Cheers, Nicolás
Installer improvement (was Lyx 1.5.1Spellchecker error)
I experienced exactly the same problem. In my case LyX was using the version installed for all users (I guess it depends on the option you choose when installing LyX). I think the installer should warn about this situation. Ideally, the installer should be able to install the dictionaries in the right directory. Cheers, Nicolás Vaibhav wrote: Joost Verburg <[EMAIL PROTECTED]> writes: You may have two copies of Aspell on your system, one for your own user account and one for all users. LyX will then use the version that has been installed for your own account, but you may not have installed the dictionaries for this version. Thank you very much for your suggestion, Joost. I actually had two instances of Aspell on my system. I uninstalled both of them and ran the Lyx installer again. This time too it downloaded the dictionaries and installed it. And this time it worked. Thanks again for your help. -Vaibhav
Re: Same footnote referred more than once
In the text styles menu, "SaveFN" appears twice. I also noticed this weird thing. It may be a bug (see attached file). Anyone can confirm? Yes, it happens also to me. Mael.
Re: Same footnote referred more than once
The package savefnmark provides a simple ERT solution. Can developers implement a solution without ERT? When I use savefnmark and hyperref I get both footnore-references as hyperlinks. However, while the first one (defined normally) works fine (i.e. it really points to the footnote), the second one (defined with useFN) does not work :-( Maybe the best is to forget about hyperlinks? You can use character styles: Put them into a file e.g. named "savefnmark.inc" and then use an "Input savefnmark.inc" into your document class layout (you should have to make a copy of "article.layout" for an article). Don't forget to reconfigure. Character styles are available from "Edit>TextStyle". This is nice! Nicolás
Shortcut for View->pdflatex
Hi! Is there or can I create a shortcut for View->pdflatex? Thanks! Cheers, Nicolás
Re: Same footnote referred more than once
Hi! I have the same problem. The solution suggested by Helge does not produce a completely good result, since the generated reference is not in superscript format. I have been investigating and have found these pages: http://www.tex.ac.uk/cgi-bin/texfaq2html?label=repfootnote http://anthony.liekens.net/index.php/LaTeX/MultipleFootnoteReferences Using \footnotemark[\value{footnote}] I get one footnote with two proper references (both as superscript). However, in the PDF generated by pdflatex, the second reference (the one with footnotemark) does not appear as an hyperlink. Using \footref from the package footmisc, I get two proper references in DVI. However, with pdflatex I get an unresolved reference for the second reference, although this time it appears as an hyperlink. Any idea of how to obtain proper references as hyperlinks? Cheers, Nicolás Paul Smith wrote: On 8/2/07, Paul Smith <[EMAIL PROTECTED]> wrote: Is there some way of having the same footnote referred more than once? This seems so obvious that maybe I misunderstand your question? You can refer to one particular footnote as much as you want. There is no limitiation at all. Inside your footnote, "Insert->Label." Whenever you want to refer to that footnote, "Insert->Cross Reference", then select that particular footnote. I admit that I was not clear enough. What I mean is the following. Suppose that one has two footnotes with the same contents. Then, one would prefer using twice the same footnote mark (directing the reader to the same footnote text) instead of having two footnotes with exactly the same contents. This is particularly important when one is writing a paper with two authors with the same affiliation, and the affiliations being given in footnotes. A small example of what I mean follows. Maybe the LyX team could consider the direct implementation of this feature (without ERT) in LyX. Paul
Re: PDF view update problem
Joost Verburg wrote: Nicolás wrote: If a PDF preview is already open and I run View->Update->PDFlatex to update it, nothing happens (LyX executes some commands, but the pdf document is not updated). Are you using the official installer? It includes support for PDF updating. No, I used Uwe's installer. Anyway, as I said, the updating of the pdf file works ok, although not via View->Update->PDFlatex, but using View->PDFlatex again. Joost
Aspell dictionary not found
Hi! When I try to run the spellchecker I get an error message saying no en_US dictionary could be found. I had Aspell already installed on C:\Aspell before I installed LyXv1.5.0rc2, and spellchecking used to work fine in v1.4.4. I have re-installed the english dictionary (on C:\Aspell), but it did not solve the problem. Any help is welcome! Cheers, Nicolás
PDF view update problem
Hi! If a PDF preview is already open and I run View->Update->PDFlatex to update it, nothing happens (LyX executes some commands, but the pdf document is not updated). However, if I just run View->PDFlatex, the document is updated. Is this a problem with my configuration (on Windows XP) or a tiny bug? If View->PDFlatex updates the document, why is View->Update->PDFlatex needed? And.. by the way... is there a shorcut or can I create a shortcut to invoke View->PDFlatex? Thanks Cheers, Nicolás
Re: lyx 1.5 new window bug?
It works fine for me Nicolás Rodrigo Fresneda wrote: Hi, every time I choose to open a new window for an existing open document, it fails after the first try, that is, the first attempt works, but after I close the new window and try again, it fails to open. The rc-versions had a buggy new window behavior, but I don´t recall this happening. So is this a bug? best regards, rodrigo.
v1.5.0rc2: BUG affecting insets?
Hi! I think I have found a new bug affecting insets. Hope someone can confirm. 1) I insert an ERT inset and write on it something like this: "Hello Hello Hello Hello Hello Hello Hello Hello Hello Hello Hello Hello Hello Hello Hello Hello Hello Hello Hello Hello Hello Hello Hello Hello Hello Hello Hello Hello " (the text has to be long enough to fill up several screen lines) 2) Place the cursor at the beginning of the text and start writing something. Then the right part of the inset-frame is not correctly updated. The same happens if the cursor is placed at the end of the first line and text is deleted. Cheers, Nicolás
BUG LyX1.5.0rc2: Frame of math-insets does not dissapear
Now I think I know what the cause of the problem is. If someone else confirm it, I will open a bug entry. It is due to a tricky combination of mouse and keyboard behavior. Steps to reproduce the problem: 1- Click on the inset with the mouse and do NOT move the mouse pointer (i.e. leave it on top of the inset). Then the frame appears and then cursor is placed in the inset. 2- Go out of the inset with the keyboard. Then the frame does not disappear Sometimes the frame also remains when the mouse pointer is moved out of the inset, but I did not manage to reproduce this behavior in all cases. Cheers, Nicolás Richard Heck wrote: Rodrigo Fresneda wrote: Hi, I confirm this, except not with your particular example. It occurs rather randomly with my files. (lyx 1.5 compiled under debian sid) These kinds of bugs are hard to reproduce sometimes. Pay attention to how you move the cursor out of the inset: Mouse or keyboard; what keys you are using, if the latter. If it's using the keyboard, where is the mouse? Over the inset? Over a different inset? Over the toolbar? rh On Thursday 19 July 2007 05:21:46 Nicolás wrote: Hi! I am using LyX1.5.0rc2 on Windows XP. Sometimes, after moving the cursor out of a math-inset, the frame that appears surrounding the inset while the cursor is inside does not disappears. Can someone confirm this? I attach a file, where the problem appears with the first math-inset. Cheers, Nicolás
Re: LyX1.5.0rc2: Frame of math-insets does not dissapear
In my case it also happens randomly, actually. Now, for example, it does not happen to me with the file I sent. I hope something can be done with this, because sometimes is quite annoying. Cheers, Nicolás Rodrigo Fresneda wrote: Hi, I confirm this, except not with your particular example. It occurs rather randomly with my files. (lyx 1.5 compiled under debian sid) best regards, rodrigo On Thursday 19 July 2007 05:21:46 Nicolás wrote: Hi! I am using LyX1.5.0rc2 on Windows XP. Sometimes, after moving the cursor out of a math-inset, the frame that appears surrounding the inset while the cursor is inside does not disappears. Can someone confirm this? I attach a file, where the problem appears with the first math-inset. Cheers, Nicolás
Lyx 1.5.0rc2: End/Home with insets
Hi! The behaviour of PgUp/PgDn and End/Home keys in the presence of insets is not what I would expect. When the cursor is inside a math-inset, and End(Home) is pressed, the cursor moves to the end(beginning) of the inset. If it is pressed again, it moves out of the inset and to the end(beginning) of the line. This is the behaviour I expect. When the cursor is inside an ERT-inset or a Note (not checked with other insets) and End(Home) is pressed, the cursor moves, as expected, to the end(beginning) of the inset. However, if it is pressed again, it does not move out of the inset. I guess this is a bug? When the cursor is inside a non-math inset and PgUp(PgDn) is pressed, the cursor moves directly out of the inset and is placed some lines above the inset. This is what I expect. However, when the cursor is inside a math inset and PgUp(PgDn) is pressed, the cursor moves to the beginning(end) of the inset, and only if PgUp(PgDn) is pressed again, it moves out of the inset. I guess this is a bug? Cheers, Nicolás
LyX1.5.0rc2: Debug
Hi! My LyX installation has crashed twice. With v1.4.4, a dialog with a debug message used to appear after the crash. This does not happen with V1.5.0. Is there a reason for that? I have tried to start LyX in debugging mode, but I failed. If I am not wrong, "lyx.bat -dbg any" should work, but it does not. Can anyone help me? Cheers, Nicolás
LyX1.5.0rc2: Frame of math-insets does not dissapear
Hi! I am using LyX1.5.0rc2 on Windows XP. Sometimes, after moving the cursor out of a math-inset, the frame that appears surrounding the inset while the cursor is inside does not disappears. Can someone confirm this? I attach a file, where the problem appears with the first math-inset. Cheers, Nicolás newfile1.lyx Description: application/lyx
Re: PgUp/PgDn problem
Gunnar Lindholm wrote: Hi. i've tried the 1.5.0. RC2 in Windows and I noticed that the PgUp/PgDn keys on the keyboard doesn't move all the way to the start/end when I place the cursor in the middle of a short file. The keys works fine in longer files, but even there, when I get close to the start/end of the file, it doesn't move any further. Has anyone noticed this? Yes, I experience the same. Sometimes the cursor goes all the way to the first/last line, other times does not. I have also seen that if the cursor is inside a math-inset and PgUp (PgDown) is pressed, the cursor just goes to the beginning (end) of the inset, and the page does not scroll. Is there a good reason for this? Or is it a bug? Cheers, Nicolás
LyX 1.5.0rc2: Can someone check this?
Hi! In my machine, when I write \overset{def}{=} in math mode, the preview is not the expected one: the upper bar of the '=' symbol overlaps with the word 'def' 8see attached picture). Uwe does not have this problem with his installation, however. Could anyone check if this is a bug of v1.5.0rc2 or an isolated problem that affects only to me? (In v1.4.4 everything was ok) Cheers, Nicolás <>