No Mouse scrolling in LyX 2.0 - Mac?
I just discovered that mouse scrolling does not work in 2.0 alpha 4 on Mac. Can anyone else confirm? James
Re: LyX 2.0 GUI Issue on Mac
On Tue, Jun 29, 2010 at 5:56 AM, Pavel Sanda wrote: > James C. Sutherland wrote: > > I just started looking at the 2.0 alpha 4 version of LyX. > > > > This issue may already be well-known, but there are several parts of the > GUI > > that appear improperly on my Mac. Thus far, I have seen these on: > > > >- The advanced find dialogue window > > i guess this just needs adding some layout to the dialog... please put it > into > bugzilla. > Done. Ticket #6796 > > >- The "Progress/Debug Messages" window > > > > I have attached screenshots illustrating the problem. Note that the > > "Progress" window does not have these problems when it is undocked. > > you don't get rid of it when you make the progress window vertically > bigger? > > It doesn't fix the advanced find window, but it did fix the Progress Messages window. > > *Another issue*: LyX hangs and then crashes reliably if I do the > following: > > > >1. Advanced Search - select "All Manuals" > >2. In the find box, enter "PDF Command" and then click "Find" > >3. After getting the "End of manuals reached..." dialogue box, click > >"Yes" > > > > This hangs LyX 2.0 every time and results in a crash. > > i'm not able to reproduce the the crash, however the search runs for a > quite > long time (i take long time togo through math manual). it could help if > you > provide backtrace from the crash. anyway put it into bugzilla too. > > pavel > Hmm. Now I cannot reproduce the crash either. Yesterday I reproduced this 3-4 times in a row. If I can get it to fail again I will open a ticket. Thanks, James
LyX 2.0 alpha 4 - Right-Click on Mac broken
I have found another bug in 2.0 alpha for Mac. Right-clicking a text selection does not work properly. No context menu comes up when right-clicking. Can anyone else confirm? If so I can file a bug report. By the way, I really like the new spell checking capabilities in LyX 2.0. I never succeeded in getting a fully functional spell checker with previous LyX versions, and this works out of the box! Thanks to all of the developers for their hard work - 2.0 will surely be a major step forward once the kinks are worked out! James
Re: LyX 2.0 alpha 4 - Right-Click on Mac broken
Hmm - it is working again. Must be some gremlins on my machine. James On Thu, Jul 1, 2010 at 10:02 AM, James C. Sutherland < james.sutherl...@utah.edu> wrote: > I have found another bug in 2.0 alpha for Mac. Right-clicking a text > selection does not work properly. No context menu comes up when > right-clicking. Can anyone else confirm? If so I can file a bug report. > > By the way, I really like the new spell checking capabilities in LyX 2.0. > I never succeeded in getting a fully functional spell checker with previous > LyX versions, and this works out of the box! > > Thanks to all of the developers for their hard work - 2.0 will surely be a > major step forward once the kinks are worked out! > > James >
Re: [ANNOUNCE] LyX 1.6.7 is released!
ol, if installed > (bug 6658). See http://wiki.lyx.org/Tools/LyXBlogger. > > > * USER INTERFACE > > - Layout and template file for document class "article (IEEEtran)" were > updated for IEEEtran 1.7a. > > - Do not unnecessarily truncate the text of notes, footnotes and marginals > (bug 6672, part 1). > > - Tooltips are added to the outliner (bug 6672, part 2). > > - Add GUI support for big delimiters variants without 'l', 'm' or 'r' > endings and for '<' and '>' with all variants. > > > * DOCUMENTATION AND LOCALIZATION > > - New Greek translation of the Intro manual. > > - Updated Basque, Czech, French, German, Greek, Indonesian, Italian, > Japanese and Slovak user interace localizations. > > - Major update of the Basque User's Guide, Tutorial and Intro. > > - Updated Japanese Additional LyX Features manual. > > - Updated French User's Guide, Additional LyX Features, Embedded Objects > and Math manual as well as the French LaTeX Configuration overview. > > - Updated LaTeX Configuration overview. > > > * BUILD/INSTALLATION > > - On cygwin, install lyxprofile and lyxrc.dist by default. This avoids the > use of post-install scripts for this task. > > > ** Bug fixes: > * > > * DOCUMENT INPUT/OUTPUT > > - Fix a crash when reopening a hidden buffer in another window (bug 6791). > > - Fix an assertion when using an empty user macro taking an argument as > the base of script inset (bug 6739). > > - Fix reverse search when the document name contains a character that is > forbidden in LaTeX filenames (such as spaces). > > - Improve reverse search for documents containing index insets (bug 6649). > > - Honour physical paper size settings on output (bug 5247). > > - Fix compilation error in documents containing passages in Arabic and > Farsi (bug 6714). > > - Fix direction of references to section numbers in documents with > right-to-left-languages (bug 6711). > > - Safer creation of backup files on ext4 (part of bug 6587). > > - Simplify definition of \greektext (bug 6456 and 6458). > > - Don't overwrite child .tex documents on latex export (bug 2434). > > - Don't allow the creation multiple buffers with same name (bug 6645). > > - Don't automatically overwrite files on export from command line, > unless the newly introduced -f flag is used (bug 2762). > > - Allow to overwrite files without dialog popup on export from GUI > (bug 2844). > > - Correct the LaTeX output of framed boxes (bug 4776). > > - Correctly parse math formulas having a backslash as last character on a > line (bug 6756). > > - Only use the page margins if the option "Default margins" is not checked > (bug 6699). > > - Load the package "amsmath" when using cfrac (bug 6787). > > - Fix chapter and section label declaration in the Tufte book class. > > - Do not swallow an empty last line in matrix or eqnarray types of > environments (bug 6595). > > - Rerun Latex if Biblatex requests for it. > > > * USER INTERFACE > > - Fix a warning and an incidental crash when using the outliner (bug > 6680). > > - Fix an assertion when copying insets from a deleted range of text > deleted by a different author (bug 6744). > > - Correctly restore a dissolved macro inset on undo (bug 6678). > > - Fix cursor positioning in ERT insets with leading blanks (bug 6746). > > - Correctly handle empty custom line spacing in settings (bug 6649). > > - Correctly display color changes in math formulas (bug 4071). > > - Make sure that the '|'-character in headings does not confuse the TOC > list in navigate menu (bug 2009). > > - Do not report the word count by the spellchecker twice (bug 6254). > > - Fix the display of the "Address" environment in LyX when using the > elsart layout (bug 3930). (Note: elsart.layout is obsolete, please use > elsarticle.layout instead). > > - Clear an existing selection when using "Navigate Back" (bug 6686). > > - Correctly paint the button for external material when the "Preview" > attribute is not defined (bug 6677). > > - Box dialog: horizontal box alignment is only possible with a simple > frame and without an inner box > > - Box dialog: without an inner box the specification of the width is only > possible with a simple frame (bug 6721). > > - Use correct fonts for rendering the \underbar and \ensuremath macros in > math when they are nested in certain environments (bug 6729 and 6745). > > - Use display-formatted file name when asking about removing an emergency
Re: [ANNOUNCE] LyX 1.6.7 is released!
On Thu, Jul 15, 2010 at 9:24 AM, BH wrote: > On Thu, Jul 15, 2010 at 11:12 AM, James C. Sutherland > wrote: > > Another regression on Mac: some of the dialogue boxes (e.g. the spell > check > > dialogue box) is not rendered properly. See the attached image. > Resizing > > it does not help. This was also a problem that I noticed in 2.0 alpha on > > the Mac. > > I believe the screenshot is from the LyX-2.0 alpha, where it is indeed > a problem. However, are you sure there's a problem with 1.6.7? (I > don't see it.) > > BH > Bennett, The problem shows up for me when I undock the dialogue window. When docked, there is no problem. And yes, this problem is in 1.6.7. James
Re: [ANNOUNCE] LyX 1.6.7 is released!
Sorry all - false alarm. For whatever reason, when I installed 1.6.7, the default LyX switched to 2.0alpha4 on my system, and I did not notice this. So it turns out that scrolling and dialogue boxes work fine in 1.6.7. Again, sorry for the false alarm. James On Thu, Jul 15, 2010 at 11:46 AM, William Bray wrote: > I installed Lyx 1.6.7 on my mac running OSX 10.6.4 and encounter no > problems with mouse scrolling. I have not experimented with Lyx 2.0 as yet. > > bill > > On Thu, Jul 15, 2010 at 11:09 AM, James C. Sutherland < > james.sutherl...@utah.edu> wrote: > >> It appears that mouse scrolling is broken on the Mac for LyX 1.6.7. This >> same problem is present in the alpha versions of 2.0 on the Mac, and it >> looks like it slipped through the cracks for this release. >> >> Any chance of a patch being released in the very near future to fix this >> serious regression? >> >> James >> >> >> On Thu, Jul 15, 2010 at 12:54 AM, Jürgen Spitzmüller wrote: >> >>> Public release of LyX version 1.6.7 >>> === >>> >>> We are pleased to announce the release of LyX 1.6.7. This is the eighth >>> maintenance release in the 1.6.x series. >>> >>> >From the list of fixes and improvements, we'd like to highlight >>> particularly that this release irons out all known stability problems >>> with >>> Qt 4.6. LyX 1.6.7 is our first release that is supposed to run smoothly >>> with Qt 4.6, so we urge all distributors who use that version to upgrade >>> LyX as well. >>> >>> A detailed list of changes is appended below, remaining known problems >>> are listed in the file RELEASE-NOTES. >>> >>> All users are encouraged to upgrade to this version. >>> >>> In case you are wondering what LyX is, here is what >>> http://www.lyx.org/ has to say on the subject: >>> >>> LyX is a document processor that encourages an approach to writing >>> based on the structure of your documents, not their appearance. It >>> is released under a Free Software/Open Source license. >>> >>> LyX is for people that write and want their writing to look great, >>> right out of the box. No more endless tinkering with formatting >>> details, 'finger painting' font attributes or futzing around with >>> page boundaries. You just write. In the background, Prof. Knuth's >>> legendary TeX typesetting engine makes you look good. >>> >>> On screen, LyX looks like any word processor; its printed output -- >>> or richly cross-referenced PDF, just as readily produced -- looks >>> like nothing else. Gone are the days of industrially bland .docs, >>> all looking similarly not-quite-right, yet coming out unpredictably >>> different on different printer drivers. Gone are the crashes >>> 'eating' your dissertation the evening before going to press. >>> >>> LyX is stable and fully featured. It is a multi-platform, fully >>> internationalized application running natively on Unix/Linux, the >>> Macintosh and modern Windows platforms. >>> >>> You can download LyX 1.6.7 here (the .bz2 are compressed with bzip2, >>> which yields smaller files): >>> >>>ftp://ftp.lyx.org/pub/lyx/stable/1.6.x/lyx-1.6.7.tar.gz >>>ftp://ftp.lyx.org/pub/lyx/stable/1.6.x/lyx-1.6.7.tar.bz2 >>>ftp://ftp.devel.lyx.org/pub/lyx/stable/lyx-1.6.7.tar.gz >>>ftp://ftp.devel.lyx.org/pub/lyx/stable/lyx-1.6.7.tar.bz2 >>> >>> and it should propagate shortly to the following mirrors (which will >>> also host the .bz2 versions): >>> >>>ftp://ftp.lip6.fr/pub/lyx/stable/1.6.x/lyx-1.6.7.tar.gz >>>http://lyx.cybermirror.org/stable/1.6.x/lyx-1.6.7.tar.gz >>> >>> ftp://gd.tuwien.ac.at/publishing/tex/lyx/stable/1.6.x/lyx-1.6.7.tar.gz >>>ftp://ftp.ntua.gr/pub/X11/LyX/stable/1.6.x/lyx-1.6.7.tar.gz >>> >>> >>> http://sunsite.icm.edu.pl/pub/unix/editors/lyx/stable/1.6.x/lyx-1.6.7.tar.gz >>>http://lyx.mirror.fr/stable/1.6.x/lyx-1.6.7.tar.gz >>> >>> Prebuilt binaries (rpms for Linux distributions, Mac OS X and Windows >>> installers) should soon be available at: >>> >>>ftp://ftp.lyx.org/pub/lyx/bin/1.6.7/ >>> >>> If you already have the sources of the previous release (1.6.6.1), you >>> may >>> want to apply one of the following
Re: Pure Promotion - LyX Talk at University of Utah
Rob, You didn't mention a DATE for the event... By the way, if you are mentioning Mendeley, I know that they have promotional event support (e.g. handouts, free pizza, etc). It may be worth contacting them if you are interested in pursuing that. James On Wed, Aug 18, 2010 at 2:45 PM, Rob Oakes wrote: > Dear LyX Users, > > This is a pure piece of personal promotion, but ... here goes. > > Tonight, I will be giving a talk about LyX to the Salt Lake Linux Users > Group. The meeting will be at the University of Utah in the Warnock > Engineering building. (See below for directions.) > > It will start at just after 7:00 pm. Free admission. > > Though it will focus heavily on LyX (I'm even going to demo a mostly > functioning LyX-Outline), the talk will also deal with how to research, > write, and publish using Linux. For that reason, I'll also be highlighting > several other programs (Zotero, BibTeX, Mendely, LaTeX, Inkscape and > Scribus) and describing how they work together. > > If this interests you at all, and you are in the Salt Lake area, please > come. It would be wonderful to put faces to email addresses. > > /End Shameless Self Promotion > > Cheers, > > Rob > > > Warnock Engineering Building > 72 South Central Campus Drive > Salt Lake City > > *From Downtown* > >1. *Drive East on 400 South:* As you reach the foothills, 400 South >will curve so that it's name changes to 500 South by the time you are on > top >of the hill. Continue driving East on 500 South until you come to the 1300 >East intersection. > >2. *Turn left on 1300 East:* You will now be facing North. Continue >driving North on 1300 East until you come to the 100 South intersection. > >3. *Turn right on 100 South* (North Campus Drive): You will now be >facing East. Continue driving East on 100 South. As you go up the hill, >100 South will abruptly turn to the left (North), at which point it's name >changes to North Campus Drive. Later, it will make a large sweeping turn > to >the right (East). Continue following North Camus Drive until you come to >Central Campus Drive. > >4. *Turn right on Central Campus Drive:* You will now be facing >South. Continue driving South on Central Campus Drive until you come to > the >intersection with the street named Federal Way. > >5. *The Warnock Engineering Building* (WEB) is located off the South >West corner of the intersection of Central Campus Drive and Federal Way. > > > *Parking > * > > There is ample parking in three lots adjacent to WEB. Additionally, 7:00 > pm is unofficially considered "after hours" by the attendants With that > said, the University of Utah parking trolls are evil, aggressive, and can > magically detect the presence of violators. > > (Really. I have no other explanation for my most recent ticket. I had to > drop off an edit to a friend and was away from the car for five minutes. By > the time I got back to the car, the attendant was gone and the ticket was on > my dash. For this reason, you might consider the purchase of a parking day > pass (Ithey're $5.00), even though it shouldn't be necessary. > > >
Re: opening two tabs with outline on and closing one, crashes lyx.
FWIW, I cannot duplicate this on Mac running LyX 1.6.7. Also, step 6 creates "newfile1" for me, not "newfile2" James On Thu, Sep 2, 2010 at 11:01 AM, Todd Denniston < todd.dennis...@tsb.cranrdte.navy.mil> wrote: > OS: Centos 5.5 up to date (equivalent to RHEL 5.5) > LyX: lyx 1.6.7 (lyx-1.6.7-1.el5 from the EPEL repository) > Also affected lyx 1.6.6.1 from the EPEL repository > > simple method to cause crash: > 1) fire up lyx > 2) open a file > 3) turn Outline mode on (get the check beside Document -> Outline), if it > is not already on > 4) exit lyx > 5) fire up lyx > 6) File -> New (creates newfile2 tab) > 7) File -> New (creates newfile3 tab) > 8) select the tab for the first new file (newfile2) > 9) File -> Close > 10) see > -Begin message > lyx: SIGSEGV signal caught > Sorry, you have found a bug in LyX. Please read the bug-reporting > instructions in Help->Introduction > and send us a bug report, if necessary. Thanks ! > Bye. > Aborted > -End message > > So is this affecting current lyx 1.6.x on other distros? > > bugzilla's hate me right now, not their fault though, so I am sending to > the list. :] > -- > Todd Denniston > Crane Division, Naval Surface Warfare Center (NSWC Crane) > Harnessing the Power of Technology for the Warfighter >
extract all equations in a document?
Fellow LyX enthusiasts, Does anyone know if there is a way to extract all of the equations from a document into a single file? Along the same lines, is there a way to do this for tables and figures as well? James
bug with brackets in subfloat?
I may have discovered a bug, but it may be in LaTeX itself. Steps to reproduce: 1. Create a figure float 2. create a sub-float within it. 3. In the subfloat caption, enter (in math mode): $[A]$, where $ indicates math mode. 4. Compile the file. This results in a LaTeX error that has to due with the right-bracket. If you remove it, things compile just fine. I have attached a very brief LyX file (2.0beta3 format) that illustrates this problem. Is there a known work-around for this problem? Thanks, James subfloat_bug.lyx Description: Binary data
using "import" package within LyX?
I need to use the LaTeX import package to manage hierarchical directory structures with graphics files distributed throughout the structure. Furthermore, this is in a mixed LyX/LaTeX environment, where LyX gathers the LaTeX files to create various "master" documents. While the "import" package seems to work fine in straight LaTeX, it fails in even the simplest LyX example, even when the LaTeX-exported file works fine. Steps: 1. create a file "master.lyx" and edit the LaTeX preamble to include "\usepackage{import}" 2. Insert ERT "\subimport{subdir}{trythis.tex}" 3. create "trythis.tex" in subdir 4. Compile. This will fail. If you export your "master.lyx" file to a LaTeX file, it will work. Is there a way to get this working in LyX? James
Re: using "import" package within LyX?
On Tue, Mar 1, 2011 at 12:41 AM, Jürgen Spitzmüller wrote: > Richard Heck wrote: > > > 1. create a file "master.lyx" and edit the LaTeX preamble to include > > > "\usepackage{import}" > > > 2. Insert ERT "\subimport{subdir}{trythis.tex}" > > > 3. create "trythis.tex" in subdir > > > 4. Compile. > > > > > > This will fail. > > > > > > If you export your "master.lyx" file to a LaTeX file, it will work. > > > > > > Is there a way to get this working in LyX? > > > > I'm guessing that maybe import.sty needs more LaTeX runs than we do? > > You have to remember that the file is copied to and processed in a > temporary > directory. So if \subimport points to a relative path, this path will need > to > be relative from the temporary directory. Absolute paths should work, > though. > > Jürgen > The problem with this is that relative directories are very useful when sharing documents among various people, since the absolute path will be broken the moment you move the directory structure to another machine. Can't LyX sort through this issue in the same manner as it does with graphics paths, i.e. by transforming relative paths to absolute paths when the LaTeX is exported to the temporary directory? So behind the scenes, LyX could change: \subimport{ relative path } to \import{ absolute path } when it exports the temporary files... James
Re: Poll for the default icon theme in LyX 2.0
oxygen
A few suggestions for fixes in LyX 2.0
I have very much enjoyed using LyX 2.0! Thanks to the development team for your efforts! A few minor things that I have found recently regarding forward/reverse PDF search on Mac with Skim: In section 5.6 of "Additional.lyx" on the "Skim" directions for reverse search, there is a problem with the status quo. It should read: "Skim->Preferences->Sync choose 'custom' preset and enter command /Applications/LyX.app/Contents/MacOS/lyxeditor" I have not had success in getting forward search to work with Skim on Mac (using the default commands supplied with LyX for forward search with Skim). It opens a file, but does not position itself anywhere near the requested line. Can anyone duplicate this? Best wishes, James
passing options to bibtopic
When using the "sectioned bibliography" option, LyX automatically adds: \usepackage[dot]{bibtopic} to the preamble. Is there a way to add additional options to the bibtopic package, e.g. \usepackage[dot,sectcntreset]{bibtopic} James
Re: passing options to bibtopic
On Wed, Jun 22, 2011 at 3:47 PM, Richard Heck wrote: > ** > On 06/22/2011 05:40 PM, James C. Sutherland wrote: > > When using the "sectioned bibliography" option, LyX automatically adds: > \usepackage[dot]{bibtopic} > to the preamble. > > Is there a way to add additional options to the bibtopic package, e.g. > \usepackage[dot,sectcntreset]{bibtopic} > > You can add "sectcntreset" to the class options, under Document>Settings. > It will be passed on. > > rh > > Great! I thought those were only passed as options to the document class. That is a nice functionality! James
Re: Question on section - properties in the menu bar
In 1.6.x you can right-click to do this. It is still not as quick as a button, but is quicker than digging through menus... On Jan 1, 2009, at 5:27 AM, Dieter Jurzitza online.de> wrote: Dear Steve, dear listmembers, your answer tells me that I haven't been precise enough. Imagine you have a section in your document you want to be centered rather than (i.e.) flushleft. To achieve this in LyX, you have to mark the section and then klick on the section menu, from where you can choose the appropriate orientation of the text. Well, lazy me, what I would like to see are three little symbols for flush-right, flush-left or center on the top-level menu bar that help me avoid diving into a submenu in order to achieve this. Such an option is very common in other text processing systems and I must admit that I like it because I need it every other time. So my question was whether some guy shares my kind of laziness and probably readily did something similar so I could just copy :-) Thanks again, take care Dieter Jurzitza -- --- | \ /\_/\ | | ~x~ |/-\ / \ /- \_/ ^^__ _/ _ / <°°__ \- \_/ | |/| | || || _| _|_| _| if you really want to see the pictures above - use some font with constant spacing like courier! :-) ---Am Mittwoch, 31. Dezember 2008 19:03:55 schrieb Steve Litt: * Dieter -- did you mean making the same mod to every section in the book, or on a case by case basis? *
Re: Lyx, version clash
Is there some way I could open a Lyx 1.6.X file with Lyx 1.5.X? You need to use 1.5.7, which can read 1.6.x files.
Re: How to create a list where each item can have its own paragraphs?
Just use an enumerated list. To create a new paragraph, use Ctrl-Return. On Jan 3, 2009, at 11:29 PM, "Shital Shah" wrote: I'd like to create a list that looks like following: 1. My first item This is the description for first item. This is some more description for first item in next paragraph. 2. My second item This is the description for second item. This is some more description for second item in next paragraph. I tried to experiment with Description type list but it always makes first word bold and that looks ugly.
Macros with optional arguments - LyX 1.6.1
I have been using macros in 1.6.1, and recently tried to use a macro with an optional argument. I have attached a trivial LyX file that shows this macro and an example of its use. This compiles through LyX just fine. The problem is that if I export the file to LaTeX and then try to compile it, the macro definition seems to create problems. This does not occur with macros that only have required arguments. I don't know much about LaTeX macros, so I am not sure if what LyX is doing for the LaTeX export makes sense or not. However, macros with optional arguments have the "\newcommandx" tag while macros without optional arguments do not. The "\newcommandx" tag seems to give LaTeX some trouble. Specifically, when I compile the .tex file, I get the error "Undefined control sequence" when the "\newcommandx" line is parsed. I have also attached the exported .tex file. Can anyone duplicate this? Is this a known problem? I am on Mac OSX with LyX 1.6.1. James macro_test.tex Description: Binary data macro_test.lyx Description: Binary data
Re: Macros with optional arguments - LyX 1.6.1
Okay, I think that I found the problem: I am missing the "xargs" package. The exported LaTeX file actually had a line: \usepackage{xargs}[2008/03/08] which I discarded. This is presumably where the "\newcommandx" tag is defined. The problem is that when I run LaTeX on the file, I get an error: "File 'xargs.sty' not found" The LyX file compiles fine, so I must have this file installed, but I cannot seem to find where. I have attached the actual .tex file that LyX produces. Is anyone else able to compile this? James macro_test.tex Description: Binary data On Jan 6, 2009, at 8:58 AM, James C. Sutherland wrote: I have been using macros in 1.6.1, and recently tried to use a macro with an optional argument. I have attached a trivial LyX file that shows this macro and an example of its use. This compiles through LyX just fine. The problem is that if I export the file to LaTeX and then try to compile it, the macro definition seems to create problems. This does not occur with macros that only have required arguments. I don't know much about LaTeX macros, so I am not sure if what LyX is doing for the LaTeX export makes sense or not. However, macros with optional arguments have the "\newcommandx" tag while macros without optional arguments do not. The "\newcommandx" tag seems to give LaTeX some trouble. Specifically, when I compile the .tex file, I get the error "Undefined control sequence" when the "\newcommandx" line is parsed. I have also attached the exported .tex file. Can anyone duplicate this? Is this a known problem? I am on Mac OSX with LyX 1.6.1. James
Re: Macros with optional arguments - LyX 1.6.1
On Jan 7, 2009, at 2:05 PM, Stefan Schimanski wrote: Updating your MacTex to the latest version will solve the problem. Updating MacTex did the job. Thank you! James
Re: Float Tables in Lyx 1.6.1 for Mac?
On Jan 16, 2009, at 12:15 PM, Laura wrote: I am trying to use the Float table available in Lyx, but when I insert a table, I do not get a dialog box that allows me to pick no of rows and columns. I plan to use a lot of tables in my dissertation, and although I know how to code them in the Tex language, I was hoping to use the easier to visualize approach described in the Lyx User Guides. I also cannot right click on the tables to try and change the number of rows and columns. Any suggestions? Yes. Read through the user manuals. Inserting the table float is different than inserting the table itself.
Re: Display problem in lyx 1.4.3
I recently installed lyx 1.4.3 on my Eee PC 901 and encountered the following problem: In equation mode, when I enter a LaTex command, the symbol that appears is wrong, but when I compile, it's okay again. For example: If I type \infty the symbol that appears is an x, but when I compile it's the correct infinity sign. If I type \int, what appears on screen is a square, and when I compile it's the correct integral sign. Any help will be appreciated. Try installing a recent LyX distribution like 1.5.7 or 1.6.1. That may solve your problem...
Re: paragraph mode in table?
On Jan 22, 2009, at 9:45 AM, Neal Becker wrote: I have a table where the first row has text describing the entries below each column (nothing unusual about that). One of the text entries is too long, and should be multi-line. If I was using latex, I would use paragraph mode. How do I do this with lyx? One way to achieve this is to set a fixed width for the column where you have the long descriptions. This will force line wrapping...
Re: Strategies for Writing Co-operation with Non-LyX Users?
On Jan 26, 2009, at 1:07 PM, Ehud Kaplan wrote: Thanks, Jurgen. Your comments were helpful. As for the inserted comments (item #4), sometimes one needs to insert comments for one's colleagues while editing a text. I tried to insert a Lyx note or a comment, and although they showed up in the Lyx file, they did not show up in the output file, even though I checked the "Show changes in output". Convert it to a "Greyed Out" comment by right-clicking on the note box. This will show up in output. The "Note" only shows up in LyX...
Re: How could I add a greek letter?
On Jan 29, 2009, at 10:36 AM, jezZiFeR wrote: I would like to add the greek "ē", which is an "e" with a straight dash on the top. In math mode, \bar{e}
Re: Best way to insert system of equations
On Jan 31, 2009, at 10:43 AM, Paul Smith wrote: Dear All, I am trying to insert a system of equation in a LyX document. I am using the cases environment, but, as you can see from the attached example, the space between the first system of equations and the equivalence symbol is too large and not symmetric regarding the distance between the equivalence symbol and the second system of equations. Any ideas about how to improve this? Try using a { delimiter (in LaTeX: \left{ \right. ) along with an array to accomplish this. See attached. example_system_equations.lyx Description: Binary data
Re: Best way to insert system of equations
On Jan 31, 2009, at 11:12 AM, Paul Smith wrote: On Sat, Jan 31, 2009 at 5:50 PM, James C. Sutherland wrote: I am trying to insert a system of equation in a LyX document. I am using the cases environment, but, as you can see from the attached example, the space between the first system of equations and the equivalence symbol is too large and not symmetric regarding the distance between the equivalence symbol and the second system of equations. Any ideas about how to improve this? Try using a { delimiter (in LaTeX: \left{ \right. ) along with an array to accomplish this. See attached. Thanks, James, but you solution stills contains asymmetric distances between each system and the equivalence symbol. Can it be still improved? You could insert a \, (small space) after the arrow. See attached. example_system_equations.lyx Description: Binary data
Re: tables go out of the page
On Feb 13, 2009, at 12:58 AM, Sindhu Sundar wrote: Hi! Am doing by final year project, we are required to submit erd diagrams and stuff. In lyx when I create tables, some of the go out of the page...please see http://dl.getdropbox.com/u/394046/Narration.pdf how do i make the tables come within the page margin? please help. thanks :) -Sindhu S Two possible solutions that come to mind: 1. Set column widths. This will force line-wrapping in a cell. 2. Rotate the table to landscape. I would probably favor option 1 for most of your tables.
Re: discussion in lyx, or lyx for wikis
On Feb 14, 2009, at 9:51 AM, Ralph Boland wrote: I'm teaching a math class where the students use lyx to write down their ideas and proofs, and it would be nice to > have a way to use lyx to post to a discussion or write in a wiki. This will be hard, because every Wiki has its own syntax. But for MediaWiki, the engine that is used by the Wikipedia > and other Wikis, you can highlight formula part in LyX and copy/paste them to the Wiki. This is possible, because MediaWiki uses LaTeX for typesetting formulas. For more special applications, I would have a look of you find some solution where you can use LaTeX. Then you can simply copy/paste things from LyX's LateX output. regards Uwe I would like to see a wiki that uses Lyx as its editor. Editing in Lyx is afterall, pretty simple for the most part. Of course such a wiki would be limited to those who have Lyx unless the wiki also supports simple text editing of simple text submissions. I have not thought through what changes to Lyx would be needed to support this. Perhaps we could have a wiki for Lyx that works this way!? I'd be willing to make a wiki for my open source project that works this way, once it is ready for release, but alas, at the current rate of progress, that will be years from now. Ralph Boland There has been some discussion of this topic in this forum from time to time. The tricky (well perhaps not tricky, but at least very time consuming) part is writing the import/export filters for the wiki syntax. I use mediawiki with emacs to edit pages, and use LyX to quickly generate the LaTeX code for equations. A bit tedious, but it seems to work well...
Re: Howto downgrade LyX 1.6.1 documents to LyX 1.5.5 documents?
On Feb 18, 2009, at 10:15 AM, Vincent van Ravesteijn - TNW wrote: I've switched from Debian unstable to the new stable release, but now now I have a few dozen LyX 1.6.1 documents that LyX 1.5.5 says it cannot convert. How can I convert the 1.6.1 documents to the older 1.5.5 format? In LyX 1.6.1, choose File->Export->LyX 1.5.x Or install 1.5.7, which can read 1.6.x documents.
Re: How to write degree symbol ° ?
On Feb 19, 2009, at 2:07 AM, Hubert Christiaen wrote: I have big probems for entering a degree symbol as in 'cos 30°'. If entered as such from the keyboard in TeX, it's not accepted. If entered in Lyx, it's represented as '\lyxmathsym{\textdegree}', but when it comes to producing output an error is the result. I simply use a ^\circ in math mode. This works well.
Re: highlight spelling errors
i would prefer it if speling errors could be highlighted/underlined like in other edititors. is this possible? Not currently possible. It has been discussed here as a possible future feature.
Re: line breaking in (visual issue..) please help
But, when I write something...the line gets long from left to right side of the monitor. Which is uncomfortable for me(I think for all). How can I fix/adjust lyx so that, when editing, still the line looks beautiful like this :" single line "...> Just adjust the LyX window.
Re: About Tables in LyX?
On Feb 23, 2009, at 7:48 AM, Hesham Kamel wrote: Hi, Please, I want to know if there is a way to merge two cells in a column under each others? In LyX, you can only merge two cells in a row but not in a column. I am using xls2latex but it does not work for merged cells. Thank you, H The user manual "Embedded Objects" describes how to do this.
Re: Jumping back from Pdf file to LyX (Latex) source?
On Feb 24, 2009, at 8:46 PM, Joao Luis Meloni Assirati wrote: As far as I know, It is not possible to reverse search from a pdf file. You need to use the dvi, which supports marks known as dvi specials. I don't maintain my patches anymore. Best regards, João. There was a recent discussion on this issue. At least on Mac it is possible (I use this occasionally) using the PDFSYNC package. See http://wiki.lyx.org/Mac/Mac#toc13
compressing citations with "cite" doesn't work?
I typically include: \usepackage{cite} in my preamble to compress citations so that [1 2 3 4] becomes [1-4]. However, it seems to not work. I saw a thread http://www.mail-archive.com/lyx-users@lists.lyx.org/msg12977.html that suggests removing Babel. I did so (I think) and it still does not work. I am using an article class with an unsrt bibliography style. Any tips?
pdfsync and tables clash
If you use the pdfsync class and then create a table with a specified column width then the table column width becomes very wide. Removing the pdfsync package seems to fix the problem. Can anyone duplicate this? Is it a LyX bug or a LaTeX problem???
Re: Nice LYX report template
You can easily change the number of columns to one. Document -> Settings -> Text Layout Uncheck the "Two-column document" box. On Mar 24, 2009, at 9:58 AM, Benjamin K wrote: Thankyou for your quick answer - but an article - does it not have 2 colomns on one page? I need 1 colomn 2009/3/24 James C. Sutherland The basic "article" class (default in LyX) will probably do everything you need. On Mar 24, 2009, at 8:45 AM, Benjamin K wrote: Hi I am working with LYX for the first time and am looking for a very nice looking LYX report template for my assignments af the Engineering college of Copenhagen. It is not a thesis template i am looking for but rather something that would give room for the following content: Synopsis 1 Introduction 2 Requirement specification 3 Design 4 Theory 5 Analysis 6 Simulations 7 Test 8 Conclusion 9 Appendix I have been looking for this template myself but without result. I tried to search for: "technical report lyx template" etc. I am studying to Electronics engineering and am looking forward to produce better looking reports. Often i am using a lot of figures and graphs. I would be very greatfull for a link or an attachment of such an template. Thank you. Benjamin
Re: Nice LYX report template
On Mar 24, 2009, at 10:09 AM, Benjamin K wrote: Any tutorials on the article layout? Have a look at the "Tutorial" document in the Help menu. Most document classes have some things in common such as section, subsection, etc. The primary difference is often how these are formatted when you generate PDF output.
new paragraph after enum or list environment
Does anyone know how to tell LyX to make a new paragraph after a list? For example, if I have new paragraphs indented, then one immediately following an enum or list will not be indented. How to I change that?
Re: new paragraph after enum or list environment
On Mar 27, 2009, at 4:43 PM, rgheck wrote: James C. Sutherland wrote: Does anyone know how to tell LyX to make a new paragraph after a list? For example, if I have new paragraphs indented, then one immediately following an enum or list will not be indented. How to I change that? Have you tried to put the Separator environment in between? That does the trick - I was not aware of the "separator" environment! Thanks!
Re: 3 columns
looking at lyx it gives me an option for 2 column, i would guess that a 3 column would be an option somewhere, either that or i need to put it in a pre amble somewhere. Take a look at the description of using "multicol" in the help manual: Help -> Specific Manuals -> Multicol
Re: bug in hyperlink and footnote?
On Apr 19, 2009, at 5:04 AM, Uwe Stöhr wrote: One important not: you example used an address in this form: http://www.bla.blub/#1 This is not conform to the URL specification. There must be at least a character after the "/" and before the "#". Or do you have an example of a valid URL where this is not the case? regards Uwe Reported as bug #5908 (http://www.lyx.org/trac/ticket/5908) I should have been more precise regarding the URL. An example URL is: http://scriptures.lds.org/en/luke/24/6#6 I assume that this is a valid URL.
Re: Can I please have an example of conditional ERT in LyX
This is the typical example for using branches. (Document->Settings->Branches and Insert->Branch). I use branches for this purpose as well (creating exams). They work very well, and are scalable to any number of "branches" that you can turn on and off to create different compiled documents...
blue underline of pasted text
When I paste text from one document to another, I get blue underlines. I do not have change tracking turned on. Does anyone know how to disable this underlining? The underlining does not show up in compiled output - only in the LyX editor...
Re: blue underline of pasted text
On Apr 28, 2009, at 8:29 AM, James C. Sutherland wrote: When I paste text from one document to another, I get blue underlines. I do not have change tracking turned on. Does anyone know how to disable this underlining? The underlining does not show up in compiled output - only in the LyX editor... LyX 1.6.2 on Mac OSX 10.5.6.
hyperref conflicts with cite package?
If I turn on hyperref support, then the cite package breaks. Specifically, citations that would normally appear as [5-9] now appear as [5,6,7,8,9]. If I turn off hyperref then it works again. Is this a package conflict, or a bug in LyX? LyX 1.6.2, Mac OSX 10.5.6
Re: 2 or more Figures/examples with convenient numbering
On Apr 28, 2009, at 12:51 PM, Piero Faustini wrote: Hello, I would like to put 2 or more figures of an example in a way that they are somewhat "put together" for comparing them, and I want them to be numbered, instead, let's say of "1.1", "1.2" and "1.3" in a more convenient and logical way, for example "1.1a", "1.1b", "1.1c" (subsequent figures/examples should continue the normal numbering: 1.2, 1.3 etc.) For the same reason, I would like to have them put in the same line, if needed. I have a link to a html document which have several examples like this (sorry, musicology stuff, my daily bread!): http://www.rodoni.ch/MITODIFAUST/CD2/boito-mefistofele-girardi.htm How to achieve this? You can use subfigures (available in 1.6). See section 1.2 in the "Embedded Objects" help manual. This will give you exactly what you want, I think.
Re: Boxed multiline formula
On Apr 30, 2009, at 4:06 AM, Luca Carlon wrote: Hi! I'm facing this problem: I would like to write long equations (two or even three lines are needed) in which (possibly) each line is center aligned in the page and so that it is possible to box them all together. I have never figured out how to do this for an eqnarray environment - only in a regular equation. One possibility would be to use a minipage and frame it. This doesn't look to great, however... Moreover I really need to have one reference number only (not one for each line). Is this possible? You can just assign a number to one line (e.g. the last line) in the equation. Within the equation, choose Edit->Math->Number This Line I tried reading the manual but the methods I read about multiline equations seem not to fit my needs. I have a Tex code which does almost this (it lacks the center alignment), but I would like to know if it is possible to do this without the code to have the good looking equation, and not the inline code :-). Is this possible? Thanks guys! See attached for an example. equation.lyx Description: Binary data equation.pdf Description: Adobe PDF document
Re: Boxed multiline formula
On Apr 30, 2009, at 8:12 AM, Luca Carlon wrote: James C. Sutherland writes: I have never figured out how to do this for an eqnarray environment - only in a regular equation. One possibility would be to use a minipage and frame it. This doesn't look to great, however... Well... better than nothing! Unfortunately the box is far larger than the equation. This is somehow different from the appearance of \boxed. You can change the size of the box - right click and choose "settings" and change the "width". Unfortunately, you have to do this manually - I don't know how to get the box to fit tightly around a multiline equation like \boxed does in math mode...
Re: Question about eqnarray environment (multiple = or <> symbols)
On May 4, 2009, at 5:27 PM, Jim Rockford wrote: Hello : this is probably more of a latex issue than Lyx, but I would like to do this quickly in Lyx, so... What I want is a neatly formatted set of relations like a < S < b c < T < d and so forth. I just need the analog of the usual "3 column" equation array environment so that the various inequality symbols match up properly. In the above example I want 5 columns instead of the usual 3. I tried to use the AMS align environment, but had trouble adding the columns (the results came out with way too much spacing). How do I do this in Lyx? You could use an array in a regular equation environment. Then you have more control over alignment of each column in the array.
module question - modifying list environment
LyX Module Gurus: I am trying to create a modified List environment where is counter is not reset each time the environment begins. I have created a module (attached) that does part of this for me - it creates a new "TaskList" environment in LyX. However, I cannot seem to get the counter to keep incrementing - it resets with each instantiation of the environment. This may be a LaTeX question, since I cannot get it working properly in LaTeX either. I just hope someone out there can shed some light on this... James tasklist.module Description: Binary data
Re: module question - modifying list environment
On May 5, 2009, at 6:06 PM, James C. Sutherland wrote: LyX Module Gurus: I am trying to create a modified List environment where is counter is not reset each time the environment begins. I have created a module (attached) that does part of this for me - it creates a new "TaskList" environment in LyX. However, I cannot seem to get the counter to keep incrementing - it resets with each instantiation of the environment. This may be a LaTeX question, since I cannot get it working properly in LaTeX either. I just hope someone out there can shed some light on this... I have managed to find a solution to this (see attached), although I could really benefit from knowing how modules work in more depth. The user manual (Customization Ch. 5) is very terse on this topic! tasklist.module Description: Binary data
Re: module question - modifying list environment
On May 5, 2009, at 10:26 PM, Steve Litt wrote: On Tuesday 05 May 2009 11:07:13 pm James C. Sutherland wrote: On May 5, 2009, at 6:06 PM, James C. Sutherland wrote: LyX Module Gurus: I am trying to create a modified List environment where is counter is not reset each time the environment begins. I have created a module (attached) that does part of this for me - it creates a new "TaskList" environment in LyX. However, I cannot seem to get the counter to keep incrementing - it resets with each instantiation of the environment. This may be a LaTeX question, since I cannot get it working properly in LaTeX either. I just hope someone out there can shed some light on this... I have managed to find a solution to this (see attached), although I could really benefit from knowing how modules work in more depth. The user manual (Customization Ch. 5) is very terse on this topic! I'm almost positive both of you should have used "LatexType Item_Environment" in the LyX part of your definitions. Actually it works fine without it. I tried two things: LatexType List_Environment LatexType Item_Environment The "List" option worked better for me since the "Item" one just gives a bullet in LyX whereas the List option allows you more control over what LyX shows for the enumeration. However, this is all pretty cloudy to me - there is a sore lack of documentation on this really nice feature in LyX.
Re: module question - modifying list environment
On May 6, 2009, at 12:40 AM, Guenter Milde wrote: On 2009-05-06, James C. Sutherland wrote: I am trying to create a modified List environment where is counter is not reset each time the environment begins. I have created a module (attached) that does part of this for me - it creates a new "TaskList" environment in LyX. However, I cannot seem to get the counter to keep incrementing - it resets with each instantiation of the environment. You might try the enumitem.module. Search at http://wiki.lyx.org for "enumitem". (Actually, the Counter is re-set in LyX as well (but blue to make sure it is just an internal label), the LaTeX output uses the "enumitem" package.) Günter I have used the enumitem module. However, I wanted to change the enumeration name ("Task 1" rather than "1"). Also, I wanted to be able to have enumeration environments in my document and a special "TaskItem" environment that was globally incremented. The enumitem module will not quite allow this. I think that we could benefit from a detailed description of how to create modules, and what all of the knobs mean. For example, I struggled with determining how to set a "LabelType" and "LabelString" in LyX. I never got quite what I wanted: something like "Task 1" "Task 2" etc. The closest I could get was "Task" or "1" but not a string and a counter together. The compiled output looks fine, but in LyX it isn't quite what I would like...
hyperref bug with parent/child documents?
I think I found a LyX bug. LyX 1.6.2, Mac OSX 10.5.6 1. Create a parent document and turn off hyperref support (Document- >Settings->PDF Properties, deselct hyperref) 2. Create a child document with hyperref support enabled. 3. Include the child in the parent. At this point, the LaTeX source code for the parent now has hyperref included in it. I thought that parent document settings override child document settings. Is this a bug? See attached example files. The .tex files were generated by exporting the parent lyx file to LaTeX. James parent.lyx Description: Binary data child.lyx Description: Binary data child.tex Description: Binary data parent.tex Description: Binary data
Re: Reference Formatting
On May 11, 2009, at 7:56 AM, Hesham Kamel wrote: Hi, Please, I am using the book more font size class with the unsrt style. I need to have the references show up as: 1-5 instead 1,2,3,4,5. Put: \usepackage{cite} in the preamble.
Re: hyperref bug with parent/child documents?
Bug #5941 http://www.lyx.org/trac/ticket/5941 On May 11, 2009, at 1:24 PM, Pavel Sanda wrote: Jürgen Spitzmüller wrote: James C. Sutherland wrote: I think I found a LyX bug. LyX 1.6.2, Mac OSX 10.5.6 1. Create a parent document and turn off hyperref support (Document- Settings->PDF Properties, deselct hyperref) 2. Create a child document with hyperref support enabled. 3. Include the child in the parent. At this point, the LaTeX source code for the parent now has hyperref included in it. I thought that parent document settings override child document settings. Is this a bug? I'd say so, yes. Hyperref should only be loaded if either turned on in the master or if a master or a child requests it (e.g., when you use a href hyperlink). unfortunately this uncover more general bug in our latex generation of master/child documents. we are not able to distinguish child/master in validate() so things are added to latexparameters and returned back to master... i just checked few other parameters from document settings and it has the same problem (eg use true small caps or background color). i'm not sure about the solution. maybe to change validate prototype adding bool in_child. CC-ing devel list. Please check whether this is already reported, and if not, file a bug report. yes, please fill the bug report. pavel
Can language support be disabled?
Is there a way of disabling "Language Support" in LyX? Every time that I paste text between documents I get blue underlining of the text and have to "reset" the language to get rid of it. In the language settings dialogue box there are a lot of cryptic options, but none to just turn it all off. I don't remember having this problem in prior versions of LyX (perhaps it wasn't yet a "feature").
Re: Can language support be disabled?
On May 12, 2009, at 2:08 PM, Vincent van Ravesteijn wrote: James C. Sutherland schreef: Is there a way of disabling "Language Support" in LyX? Every time that I paste text between documents I get blue underlining of the text and have to "reset" the language to get rid of it. In the language settings dialogue box there are a lot of cryptic options, but none to just turn it all off. I don't remember having this problem in prior versions of LyX (perhaps it wasn't yet a "feature"). In Tools->Preferences, you can uncheck "Mark foreign languages". Thank you. This gets rid of the annoying blue underlining. However, the LyX code still contains all of the language markup. Can you completely disable all of the language "features" in LyX?
Re: Can language support be disabled?
On May 12, 2009, at 2:50 PM, Uwe Stöhr wrote: James C. Sutherland schrieb: Is there a way of disabling "Language Support" in LyX? Every time that I paste text between documents I get blue underlining of the text and have to "reset" the language to get rid of it. Then the document language of both LyX documents is not the same. So have a look at the document settings and correct the language there (and save the right one as the default language that is used for new documents). regards Uwe I deduced this. However, I really don't want to have any notion of the "language" my documents are written in. So to repeat my original question, can I just turn off all of this language business altogether?
Re: align equations
On May 13, 2009, at 12:08 AM, Guenter Milde wrote: On 2009-05-12, Paul A. Rubin wrote: ... 4. In the fourth column of each row, type \textrm followed by a space, which will switch you to roman font, then type the explanation. You can also use \textup (upright) in place of \textrm, in case you're not using roman as the base font family. The LyX-way of declaring text-in-math is pressing Ctrl-M (or typing \text). This will use the current text font. Günter I have found \mathrm or \textrm to be a much better option since using Ctrl-M in math mode doesn't seem to retain the proper font size. For example, in a super/subscript the text appears much too large if you use Ctrl-M.
Re: I inserted a figure float on chapter two, but after generated the output it goes to chapter 1
On May 28, 2009, at 2:11 PM, Marcelo Reis wrote: Marcelo Reis wrote: Guys, Maybe I'm to stupid, but is there any trick to insert a figure in Lyx?!?! In editing mode I inserted it on chapter two of my document and it is perfect. After I create the PDF ou DVI file the image automatically goes to the Chapter one?!? Any ideas? Marcelo LOL, I ask and I answer. Discovered(at least I think) there is an option where you chose *Advanced Placement Options - Here Definitely. Alternatively, insert a "clear page" (Insert -> Formatting -> Clear Page). This will dump all remaining floats to the output. This is always a good idea prior to starting a new chapter. James
Re: Augmented like matrix
On Jun 2, 2009, at 11:27 AM, Semih Özmen wrote: Hi, I need to express the equation which is presented in attachment. I could not do the horizontal or vertical lines in to matrix..Any suggestions? In math mode: 1. create square brackets 2. Insert a matrix (3x3) 3. Right-click a cell in the matrix and choose "Add Line to Left/Right" 4. Repeat step 3 for any number of horizontal/vertical lines.
Re: Augmented like matrix
Hi, I need to express the equation which is presented in attachment. I could not do the horizontal or vertical lines in to matrix..Any suggestions? In math mode: 1. create square brackets 2. Insert a matrix (3x3) 3. Right-click a cell in the matrix and choose "Add Line to Left/Right" 4. Repeat step 3 for any number of horizontal/vertical lines.
Re: fast label formating
On Jun 3, 2009, at 11:43 AM, Semih Özmen wrote: Hi, I almost finished my thesis and now I recognized that all eqaution cross-references are shown as 1.23 I want them all be written as Eq. 1.23 or any other prefix. Are there any fast way to do this? thanks in advance.. Semih This is easily done. 1. Open the LyX file in a text editor like vim or emacs 2. Replace instances of "LatexCommand ref" with "LatexCommand eqref". Be sure that you only do this for equation references, not for other references (like figures, sections, tables, etc.) 3. Save the file in your text editor. 4. Re-open in LyX. NOTE: you should definitely make a backup of your LyX file before you do this, just in case you corrupt something...
Re: adjusting distance before and after figures or tables
On Jun 3, 2009, at 1:41 PM, Semih Özmen wrote: Hi, I couldnot find any setting to adjust distance before and after the figures and tables. Can it be defined in latex class? if so, what parameter should I search for? Thanks Semih You are keeping the list busy today. Try adding something like the following to the preamble: % float spacing \setlength{\textfloatsep}{5mm} \setlength{\floatsep}{1cm} \setlength{\abovecaptionskip}{2mm} \setlength{\belowcaptionskip}{3mm} A google search could also prove fruitful here. I seem to remember that you mentioned earlier that you were working on a dissertation. Your university's style file should define float separations.
color package options
It appears that \usepackage{color} is automatically placed in the preamble when a program listing with coloring options is used. However, what if I want \usepackage[usenames]{color} instead? Is there a way to do this? If I put this directly in the preamble then I get a LaTeX compile failure due to clashing uses of the "color" package James
Re: Unavailable document classes
On Jun 5, 2009, at 3:08 AM, Walter van Holst wrote: Hello, I'm a somewhat infrequent user of LyX on Mac OS X. About every other update (my current version is 1.6.1), most of the document classes become unavailable. That is LyX can edit documents in them, but not produce output. How do I prevent this from happening? This is an exceedingly annoying 'feature' of LyX. Regards, Walter This sounds like a problem with your LaTeX installation more than your LyX installation. You might try reinstalling/updating both. FYI, I use LyX routinely on Mac and have found it to be very stable and reliable...
Re: Inserting C++ code
On Jun 7, 2009, at 5:55 AM, Sajjad wrote: Hello forum, I have installed LyX 2.6.1 and trying to insert C++ code. I am trying as follows: 1. Inserted a float algorithm . 2. Pasted the code snippet inside that But the code is not well formatted Any hint on how to keep the format ? I have noticed that when I copy code from the emacs editor, line breaks are not respected when pasted into LyX. However, if I copy code from XCode (Mac) then the problem goes away. While I don't know why this is the case, my suggestion to you is to try to open your C++ file in a different editor and copy it into LyX. James
Re: how to skip to next page
On Jun 12, 2009, at 8:58 AM, Jason Lillywhite wrote: I have not searched for this answer very well online because I'm not sure exactly how to ask it in a few words. My problem is simple: I have a cover page with title and abstract and I want to skip to the next page to start my Introduction. How do you skip to the next page? This would be the equivelent of doing Ctrl-Enter in MS-Word. Insert -> Formatting -> New Page
Re: help with lyx
On Jun 15, 2009, at 6:09 AM, esrone noel wrote: Good day, Is there a way to write your name in the background using lyx or an option to write your name on every page without manually inserting your name on every page..I am trying to do this to prevent plagiarism of my documentPlease help Try using the fancy headers. Document -> Settings -> Page Layout -> Headings style -> fancy Then add to your preamble: \lhead{left header text} \rhead{right header text} See also the docs on the fancyhdr package: http://tug.ctan.org/get/macros/latex/contrib/fancyhdr/fancyhdr.pdf
Re: new paragraph after enum or list environment
On Mar 27, 2009, at 4:43 PM, rgheck wrote: James C. Sutherland wrote: Does anyone know how to tell LyX to make a new paragraph after a list? For example, if I have new paragraphs indented, then one immediately following an enum or list will not be indented. How to I change that? Have you tried to put the Separator environment in between? rh Is the Separator environment available in the article (Elsevier) document class? It seems that it should be universally available in all document classes. Is there a simple way of getting it into a class? James
copying figures - absolute vs. relative paths
I have observed a somewhat annoying feature of LyX: when I cut/paste a figure (moving it around within a document, for example), the relative path of the figure changes to an absolute path. I can see the merits of this when copying between documents so that the figure doesn't get "lost" due to relative paths, but it is somewhat inconvenient otherwise. The biggest problem is that if I move the document to another directory then everything can break. Is there a way to force LyX to keep relative paths when copying figures? James
Re: How do I change the citation from [1,2,3,4] to [1-4]?
On Jul 6, 2009, at 10:55 AM, Randy Tobe wrote: I have a few parts in my document in Lyx where I cite multiple sources together and they are all separated by a comma instead of listing the first and last with a dash in between. My references are in JabRef and my citation style is ieeetr. Is there another citation style that would fix this problem? Try adding \usepackage{cite} to your preamble. Also note that this conflicts with the hyperref package, so you will need to disable that - see "PDF Properties" in document settings.
Re: scrolling=shutdown
No problems on a Mac running LyX 1.6.3. On Jul 9, 2009, at 8:36 AM, Marcus Broberg wrote: 2009/7/9 rgheck Marcus Broberg wrote: hi I have a problem. When a scroll(arrow down) trough a document lyx exits. Is this a know issue? It probably has something specific to do with some document you are using. If you could post it, or better a simplified version, with instructions for causing the crash, then we might be able to fix it. You can also check the trac buglist and see if it's been reported, or even better fixed. rh I add a copy of the file. The file is i swedish and english, but that shouldnt matter
Re: Mac: Refresh of pdf-view?
You may want to try Skim as a pdf reader (http://skim-app.sourceforge.net ). I have used it for quite a while and am very pleased. It will allow auto reloading as well. To hook it in, go to LyX->Preferences->File Formats and then in the drop-down box choose PDF and then in the "Viewer" box enter: open -a Skim.app $$i On Jul 9, 2009, at 12:58 PM, Jannick Asmus wrote: Hi, hitting the dvi or pdf button a second time the TexShop previewer does not refresh. I need to close the pdf window and hit the dvi button again. How can this be amended? Is this because I have some weird configuration? Details of the machine are: - Mac OS X 10.5 - TexShop 2.26 - LyX 1.6.3 Thanks !!! Best wishes, J.
Re: AW: Mac: Refresh of pdf-view?
On Jul 9, 2009, at 2:23 PM, Jannick Asmus wrote: "James C. Sutherland" schrieb im Newsbeitrag news:37a1d2d4-5503-40e4-9aac-8067212df...@utah.edu... You may want to try Skim as a pdf reader (http://skim-app.sourceforge.net ). I have used it for quite a while and am very pleased. It will allow auto reloading as well. To hook it in, go to LyX->Preferences->File Formats and then in the drop-down box choose PDF and then in the "Viewer" box enter: open -a Skim.app $$i Thanks !!! The PDF-preview feature works with the Mac-PDF-Previewer as described in my latest posting, but the dvi-preview does not seem to be very comfortable. I was a bit puzzled since on my Windows machine the dvi's are opened by yap shipped with MikTeX, but on the iMac the dvi's have the extension .pdf, but are opened by the TeXShop-Previewer. J. Mac's Preview.app likes to take over for DVI and EPS. If you install a dvi previewer like xdvi you can preview DVI directly without Preview trying to take over. In that case, tell LyX to open the dvi files with xdvi following analogous instructions as above, but put "xdvi" in the "Viewer" box. The easiest way to get xdvi may be through Fink if you are on a mac. Or build and install from source...
Re: e.g. and other dots that do not end sentences
On Aug 5, 2009, at 7:46 AM, Niko Schwarz wrote: How do you type things like e.g. in lyx? If you do not take special care, it is translated to latex merely as "e.g." and therefore creates a giant space after the abbreviation. How to avoid that? Insert -> Formatting -> Inter-Word Space or you can insert a "protected" space that will prevent line breaks on that space if you want. You can right-click on the space and change its type.
Re: Problem with table
On Aug 14, 2009, at 4:37 AM, Matthias Bußjäger wrote: Hello, I have a problem to build a table with different rows in the columns. For Example: I have 4 rows and 2 columns. How is it possible to merge the 4 rows in the first column? Or something else to get the text in the first column centered vertically? The rows in the second column should be untouched and with lines because I need the partitioning there. The only way I know to manage this problem works with an odd number of rows: For example if I have 3 rows, I just write in the second row and delete the lines over and below it. So the text in the first column is centered vertically. Of course this doesn't work with an even number of rows :( Any hints to solve this problem? (I bet that it's simple, but I don't understand :) ) I suggest that you read the user manual. Specifically, the "Embedded Objects" manual, which describes how to do what you are asking.
text wrap figure misbehaving
I have a text wrap figure that is inserted at the beginning of a paragraph. After the paragraph, I have an enum environment with three items. These span a page break. The second item correctly wraps around the figure, but the third item is confused. An example output that illustrates the problem, with some comments in the output, is available at http://drop.io/zkjqlmd I couldn't attach it because the LyX mail server rejected the attachment... Any suggestions to fix this problem? Space is at a premium here, so I would prefer not to have the figure as a regular float. James
\renewcommand conflicts with ams?
I am trying to alter the format of section headings. I have something like \renewcommand{\subsection}{ % \...@startsection{subsection}{2}{0pt} % {1.1ex plus 2.0ex minus 1ex}% {1.2ex plus 2.0ex minus 1ex} % {\bfseries} % } However, if I the AMS math package gets included by LyX, then any subsection* constructs break. Is this a known conflict with AMS? A simple recipe to reproduce: 1. add the above "renewcommand" to the document LaTeX preamble. 2. create a subsection and subsection* environment 3. In document settings -> math options, disable AMS. This compiles fine. Now replace step 3 above by enabling AMS. Now the subsection* environments are broken. I have attached a simple LyX file that can serve as a basis for testing. It is currently configured to break. newfile2.lyx Description: Binary data
Re: Equation
On Aug 22, 2009, at 9:36 AM, Alexis Salcedo wrote: Hello. How do I align the equation, with item 1? See attached file. Thanks Can you be more specific? What do you men by "align?"
Re: \renewcommand conflicts with ams?
On Aug 22, 2009, at 11:39 AM, rgheck wrote: On 08/22/2009 12:12 PM, James C. Sutherland wrote: I am trying to alter the format of section headings. [snip] Perhaps this is one reason to use the interface provided by the titlesec package to do this. rh Thanks for the tip! That is a really nice package - I was not aware of it previously! It does solve the AMS package conflict I had earlier.
Re: text wrap figure misbehaving
On Aug 22, 2009, at 8:50 AM, James C. Sutherland wrote: I have a text wrap figure that is inserted at the beginning of a paragraph. After the paragraph, I have an enum environment with three items. These span a page break. The second item correctly wraps around the figure, but the third item is confused. An example output that illustrates the problem, with some comments in the output, is available at http://drop.io/zkjqlmd I couldn't attach it because the LyX mail server rejected the attachment... Any suggestions to fix this problem? Space is at a premium here, so I would prefer not to have the figure as a regular float. James FWIW, this seems to be due to selecting the "Allow Floating" option in the wrap figure environment. Any ideas of how to allow floating but not have the text-wrapping broken?
Re: Did something about indexes change between 1.5.x and 1.6.x?
So, before I devote 4 hours to troubleshooting, does anyone have any suggestions on what to try either to resolve the problem or how to narrow it down? 4 Hours!? I thought you were the troubleshooting guru! (Sorry - couldn't resist) ;-)
Re: Extra spacing in tables
On Aug 27, 2009, at 10:59 AM, Uwe Stöhr wrote: John Coppens schrieb: I have a table with some math in it. The matrices were touching the borders, Have you already had a look at the EmbeddedObjects manual that you find in LyX's Help menu? There you find nearly every possible trick for tables. regards Uwe I have also seen the math-spacing problem in tables, and have tried increasing the spacing. What I usually see is that this creates "breaks" in the table borders that are very annoying.
Re: Text on right, images on left
On Aug 30, 2009, at 12:19 PM, L Duperval wrote: Hi, I want to create a booklet which has text on the right-hand page, while the left-hand page contains a graph, an image, a table or something similar. I suppose I can do this manually by inserting page breaks all over but is there a package that controls such flow automatically? My personal feeling is that when you need explicit control over layout, LaTeX (LyX) is not the right tool. Something like Apple's Pages would be much better suited to the task. You could try text-wrap floats, but that will probably not give you the level of control that you are looking for.
Re: Floating Windows for Editing
On Sep 8, 2009, at 9:14 AM, Rob wrote: Hi, I want to be able to view the open files that I'm editing as floating windows. This would be like having multiple files open for editing and being able to drag them around for optimal viewing (like in Excel, UltraEdit, WinEdit and a number of other text editors). Can I do this? File -> New Window or if you want this to be the default behavior, Preferences -> Look & Feel -> User Interface then uncheck the "Open documents in tabs" box. Also, I want to be able to make something like margins in the text that I'm editing so that the text lines don't flow to the width of the LyX window. This is for editing only, not for the output. I've read a number of requests for this option in the archive--is there an option or hack for doing this? Really the only way to do this is to resize the window. Many of us actually really like this feature of LyX - that it doesn't try to impose a particular layout (e.g. margins) on you when editing.
Re: "eqref" not working properly
On Sep 12, 2009, at 7:06 AM, Uwe Stöhr wrote: Stefano Baroni schrieb: Hi! I am editing a file imported from raw LaTeX. After adding some text, I started inserting cross-references to equations selecting the "()" style. Ti my surprise, the subsequent LaTeX compilation gives me errors because it cannot find a proper definition of the "\eqref{}" command. Then AMSTeX is not properly installed. AMS is part of every LaTeX distribution so it seems to be a problem with your LaTeX distribution. It is also possible that you have un-checked the "Use AMS math package automatically" in Document->Settings->Math Options.
Fwd: "eqref" not working properly
Begin forwarded message: From: Stefano Baroni Date: September 12, 2009 8:27:06 AM MDT To: James C.Sutherland Subject: Re: "eqref" not working properly On Sep 12, 2009, at 3:47 PM, James C. Sutherland wrote: On Sep 12, 2009, at 7:06 AM, Uwe Stöhr wrote: Stefano Baroni schrieb: Hi! I am editing a file imported from raw LaTeX. After adding some text, I started inserting cross-references to equations selecting the "()" style. Ti my surprise, the subsequent LaTeX compilation gives me errors because it cannot find a proper definition of the "\eqref{}" command. Then AMSTeX is not properly installed. AMS is part of every LaTeX distribution so it seems to be a problem with your LaTeX distribution. It is also possible that you have un-checked the "Use AMS math package automatically" in Document->Settings->Math Options. bravo! you got it. Although I did not (consciously) uncheck anything. that option must have gone unchecked automaticaly upon importing a Latex file. As a general remark, I really love LyX, but if I can make friendly criticism, I find its user interface a bit clumsy, especially in what concerns the setting of different options that is often hidden where you ("I" !!!) would not expect it. thanks again for the great piece of software and for willing-to-help community of users Stefano
Re: Typing lag in Lyx 1.6.4.1, OS X 10.6.0
On Sep 16, 2009, at 3:18 AM, Josh Whitney wrote: I'm currently working on an early 2008 Macbook with 4 gb of RAM. I am running OS X 10.6.0 and Lyx 1.6.4.1. I've been writing some very long documents in Lyx and once they are more than a few pages long typing becomes excruciatingly slow. That is, I type and the characters appearing on the screen lag the keystrokes by several seconds. I was also having the same issue both with earlier versions of Lyx and with OS X 10.5.*, though it seemed a bit more mild with Leopard. I do not have the view source window open. I started typing the document with instant preview off for math but after reading some of the questions on the mailing list I've turned instant preview on. The typing remains very slow and also the preview for math doesn't seem to want to work (i.e., all math remains text instead of previewed as typeset). I've read through the mailing list to see if I could find a solution to this problem but nothing seemed to work. Any help would be greatly appreciated. FWIW, I am running LyX 1.6.4.1 on 10.6 and haven't seen any of these problems (only the pseudo-crash that has been mentioned previously). So this is likely not a universal problem, but perhaps a problem related to your system in particular?
Re: text size in mac version
On Sep 16, 2009, at 2:25 AM, Dave Garbutt wrote: HI, I have an annoying & frustrating problem- On the Mac OS - X version I was looking for a shortcut and typed crtl +- several times (don't ask me why, I was in lemming like panic at the time) this shortcut I cannot find in the Lyx doc or the OS X doc at http://support.apple.com/kb/HT1343 The effect is to shrink the text size in the document view (but not in typeset output) ctrl++ does not reverse it. Every document I open in Lyx is now unreadable.. I haven't stumbled on that, but if you hold down the command key and use the mouse scroll wheel you can change the font size. That may help you get it back to norma.
Re: LyX 1.6.4.1 and Snow Leopard
On Sep 22, 2009, at 2:14 AM, Jean-Marc Lasgouttes wrote: Julio Rojas writes: Dear all, does LyX 1.6.4.1 solve the problem with Snow Leopard? No :( But fortunately the problem is only an annoyance. LyX "crashes" (you get an OSX crash warning), but the app remains functional and I have not experienced any loss of work. So I would personally not shy away from the OS upgrade due to LyX fears. Now if you are a software developer, that is another story. The 32 bit to 64 bit transition can be a bit painful! James
Re: Help on 1.5.6 - 1.6.4 windows upgrade please
On Sep 22, 2009, at 1:13 PM, Richard Strauss wrote: I have an old working version of Lyx 1.5.6 (LyX-156-3-25- AltInstaller-Complete.exe) on windows XP. I now want to upgrade to the latest version. Which release do you recommend, without having to compile lyx manully. Thanks. Richard The most recent release is 1.6.4 (or 1.6.4.1 which is the same for the windows platform). You should update to one of those two.
Re: Forced floats to stay in their subsection in my "Results section"?
On Sep 23, 2009, at 6:42 AM, NanoPete wrote: Hello, I'm writing my masterthesis in lyx and are having problems in my results section. In this section I have a lot of figures (float figures) and I really want them to stay within their subsection here eventhough there's not much text compared to amount of floats. Is there any good solution to handle floats in such a results section/chapter? I've tried setting floats to "here definitely" but those little bandits still just jump aheard into the next section... You could also try Insert -> Formatting -> Clear Page This will force all remaining floats to be placed before the subsequent text.
Re: LyX 1.6.4.1 and Snow Leopard
On Sep 23, 2009, at 8:50 AM, Stefano Baroni wrote: Hi All. It seems that having a version of LyX working poperly on OS X 10.6 may require some time. Do you confirm that the only feature not working properly is autosave? That has been my observation. Do you confirm that by disabling autosave LyX 1.6.4.1 works all right on MAC OS X 10.6? No. It seems that even by disabling autosave, LyX still attempts to perform autosaving and the "crash" still occurs. However, this is little more than an annoyance since the app doesn't actually crash and no work is lost. If so, would you please remind us how to disable autosave? LyX -> Preferences -> Look & Feel -> User Interface -> "Backup Documents every XXX Minutes"