quotes don't replace selected text
Version of a couple of weeks ago, Xforms. When text is selected, either manually or with find, it is not replaced with the double quote character. Other typed characters replace the double quotes. I'm set for the american left and right curlies. hawk -- Richard E. Hawkins, Asst. Prof. of Economics/"\ ASCII ribbon campaign [EMAIL PROTECTED] Smeal 178 (814) 375-4700 \ / against HTML mail These opinions will not be those of Xand postings. Penn State until it pays my retainer. / \
Re: New LyX Win32 build 1.3.0
On Thu, Feb 27, 2003 at 03:25:07PM +0100, Edwin Leuven wrote: > > the hole cannot be fixed without permission of all contributors. > so why not get it and fix the license? Last time around, we figured that contacting them all would be an impossibility (we're not even sure who they are for some of the early stuff). hawk -- Richard E. Hawkins, Asst. Prof. of Economics/"\ ASCII ribbon campaign [EMAIL PROTECTED] Smeal 178 (814) 375-4700 \ / against HTML mail These opinions will not be those of Xand postings. Penn State until it pays my retainer. / \
and the old posts from when we corrected the licensej
Argh, I didn't include before sending. Here are the old posts from my old mail, headers and all, with the discussions from when we fixed the license. I'd forgotten just how much more, uhh, perturbed John Weiss was about the High Church of Emacs than I was :) And it was Asger, not Lars, who committed the change. I'd been expecting one more round of editing, so there's a clause missing. 5) should have become 6), with the new 5) reserving the future editing to us rather than the FSF. (I wouldn't include this now; we really only get one bite at the apple on clarification). I also wasn't able to get the word "muttonhead" in, for which I again apologize to John Weiss :) hawk >From [EMAIL PROTECTED] Sat Aug 03 08:47:18 2002 Return-Path: <[EMAIL PROTECTED]> Received: from wierdlmpc.msci.memphis.edu (really [141.225.11.87]) by eyry.econ.iastate.edu via in.smtpd with smtp id <[EMAIL PROTECTED]> (Debian Smail3.2.0.101) for <[EMAIL PROTECTED]>; Wed, 13 Jan 1999 11:59:22 -0600 (EST) Received: (qmail 3882 invoked by uid 514); 13 Jan 1999 18:00:29 - Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm Precedence: bulk X-No-Archive: yes Delivered-To: mailing list [EMAIL PROTECTED] X-num: 1416 Received: (qmail 3870 invoked from network); 13 Jan 1999 18:00:28 - Message-ID: <[EMAIL PROTECTED]> X-Mailer: XFMail 1.3 [p0] on IRIX X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <[EMAIL PROTECTED]> Date: Wed, 13 Jan 1999 11:54:28 -0600 (CST) Reply-To: [EMAIL PROTECTED] Organization: Center for Computational Mechanics, Washington University, St. Louis Sender: [EMAIL PROTECTED] From: Roland Krause <[EMAIL PROTECTED]> To: "Richard E. Hawkins Esq." <[EMAIL PROTECTED]> Subject: RE: license clarification Cc: [EMAIL PROTECTED] Status: RO Content-Length: 3243 Lines: 77 Hi My wife is a lawyer and I went to law school with her (sorta...) Anyway I have asked her earlier (in the contents of the whole Qt-KDE-GPL-RedHat mess). She pretty much said the exact same thing than you Rick. She wouldnt offer legal council even if I volunteered doing dishes for a week.. Anyway I think that you proposal sounds very reasonable even for non lawyers. A discussion with OSS enthusiasts will certainly follow but someone should really clarify this issue once and for all (of course there is no such thing in the law). Roland On 13-Jan-99 Richard E. Hawkins Esq. wrote: > > While we're cleaning up, it might be a good idea to clarify the > license, even if we don't switch. > > Regardless of our past statements, lyx is not GPL, but quasi-GPL. > > The act of releasing LyX under the GPL while it dependent upon xforms > has two interpetations: > 1) we're complete idiots and in violation of our license (the debian >view :) > 2) The license is modified by our actions (all Common Law (english >speaking) countries, and I presume civil code countries, and I >expect anywhere else where the rule of law is real). > > So before there's a KDE-style nightmare, I suggest language along these > lines: > > "While LyX has been released nominally under the GPL in the past, it > has in fact never been truly GPL. Particularly, it has always been > linked to a closed source library. While some have taken a view that > such actions violate the GPL, this is a legal impossibility. The law > is quite clear that the release of the software by the original authors > and copyright holders changed the licenses. > > "Rather than leaving the issue to be debated, the following > clarifications are given. This is not a change of license, but a > clarification of the license that LyX has always used. > > "1) LyX is quasi-GPL software. The terms of the GPL apply save where > they conflict with this statement. > > "2) There is no limitation on the license or nature of any software, > source, binary, library, or other, that may be linked to LyX, or to > which LyX may be linked. Particularly, clauses *** of the GPL are > rejected in their entirety. > > "3) There is no limitation on combining LyX source code with code > subject to any other license, provided that the LyX source remains > under this same license. Particularly, clause ** of the GPL is > rejected in its entirety. > > "4) Any other clause or interpretation of the GPL limiting the > combination of other software of any type and LyX is rejected in its > entirety, provided that the LyX code and modifications to the LyX > source dode remains under this same license. > > "5) Nothing in this statement purports to alter or interpret the > license of any other software. Any combination of other software with > LyX must also meet the requirements of that software." > > Although I'd prefer to replace the "legal impossibility" with "only a > complete muttonhead could conclude", but I suppose that would be > impolitic :) > > rick, esq. > > -- > Roland Krause
more license posts from back then
OK, I've dug them out; here is the context of the license. Also note that it was Asger, not Lars, that committed the (correct) license. However, I was expecting one more round of editing when he did it--it's missing a clause reserving future changes to lyx rather than the FSF (would have become 5), pushing 5) to 6)). It also meant I wasn't able to get the word "muttonhead" in, for which I apologize once more to John Weiss :) hawk, esq. -- Richard E. Hawkins, Asst. Prof. of Economics/"\ ASCII ribbon campaign [EMAIL PROTECTED] Smeal 178 (814) 375-4700 \ / against HTML mail These opinions will not be those of Xand postings. Penn State until it pays my retainer. / \
the patch that put the license in error
Sorting through my old mail, I found this. It's John's patch that uncorrected the license. Reversing this solves the problem, as neither John nor anyone else had the legal standing to make this change. This patch should be reversed. Note that QT/xforms is not the only difference; the other clauses adress real anticipated problems. And again, the removed portions + GPL *are* the license of lyx; we have no power to change this. hawk, esq. - Forwarded message from John Levon <[EMAIL PROTECTED]> - Date: Tue, 30 Oct 2001 22:33:16 + From: John Levon <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: License on www site I propose the following to match COPYING. IT's also clearer IMHO regards john Index: about/license.php3 === RCS file: /usr/local/lyx/cvsroot/www-user/about/license.php3,v retrieving revision 1.4 diff -u -r1.4 license.php3 --- about/license.php3 2001/06/27 07:53:22 1.4 +++ about/license.php3 2001/10/30 22:28:00 @@ -12,68 +12,18 @@ What license applies to LyX? -While LyX has been released nominally under the GPL in the past, it -has in fact never been truly GPL. Particularly, it has always been -linked to a closed source library. While some have taken a view that -such actions violate the GPL, this is a legal impossibility. The law -is quite clear that the release of the software by the original authors -and copyright holders changed the licenses. - - -Rather than leaving the issue to be debated, the following -clarifications are given. This is *not* a change of license, but a -clarification of the license that LyX has always used. All patches -submitted to LyX fall under this same license. - - - -1) LyX is quasi-GPL software. The terms of the GPL apply save where -they conflict with this statement. - - - -2) There is no limitation on the license or nature of any software, -source, binary, library, or other, that may be linked to LyX, or to -which LyX may be linked. Particularly, the second full paragraph of -section 2, from 'These requirements apply to the modified work' -through 'who wrote it.' is rejected in its entirety. - - - -3) There is no limitation on combining LyX source code with code -subject to any other license, provided that the LyX source remains -under this same license. Particularly, Section 3 of the GPL is -rejected in its entirety. To redistribute a modified version of LyX, -the entire source code of the modified LyX must be made available under -the terms of this license or such other licenses as apply to portions -of the original or modified code. - - - -4) Any other clause or interpretation of the GPL limiting the -combination of other software of any type and LyX is rejected in its -entirety, provided that the LyX code and modifications to the LyX -source code remains under this same license, or such other licenses as -apply to portions of the original or modified code. - - - -5) Nothing in this statement purports to alter or interpret the -license of any other software. Any combination of other software with -LyX must also meet the requirements of that software. - - A copy of the GNU General Public License version 2 follows. - - - - Yours, - - - - The LyX Team - - +The LyX license is the GPL version 2 or above. +In addition, as a special exception, the LyX Team gives permission to +link the code of this program with the XForms library (or with modified +versions of XForms that use the same license as XForms), and distribute +linked combinations including the two. You must obey the GNU General +Public License in all respects for all of the code used other than XForms. +If you modify this file, you may extend this exception to your version of +the file, but you are not obligated to do so. If you do not wish to do so, +delete this exception statement from your version. + + GNU GENERAL PUBLIC LICENSE -- "If the software that a company produces isn't reliable, adding a bunch of 'Mother, may I' rules to the language and the code won't fix it." - Pete Becker - End forwarded message - -- Richard E. Hawkins, Asst. Prof. of Economics/"\ ASCII ribbon campaign [EMAIL PROTECTED] Smeal 178 (814) 375-4700 \ / against HTML mail These opinions will not be those of Xand postings. Penn State until it pays my retainer. / \
Re: New LyX Win32 build 1.3.0
On Thu, Feb 27, 2003 at 03:43:18PM +0100, Andre Poenitz wrote: > On Thu, Feb 27, 2003 at 09:36:50AM -0500, Dr. Richard E. Hawkins wrote: > > > GPL with "may be linked to whatever"? > > It's very close to this. I sat down, analyzed what happened, applied > > the law, and wrote the qualification to the license to describe what > > happened. > > I did *not* create the license; neither I nor anyone else (without > > consent of all developers ever) could possibly do this. > Sure. > But when the License _is_ "may be linked to whatever", and all contributors > contributed under this license as you imply, wouldn't that mean there is > no problem linking it to Qt? Exactly. > > made, but I suspect if we checkout from 2000 we'll find it. (we don't > > actually have a searchable mailing list archive from the late 90's, do > > we?). > None that I am aware of, unfortunately... Well, cvs should save us all :) hawk -- Richard E. Hawkins, Asst. Prof. of Economics/"\ ASCII ribbon campaign [EMAIL PROTECTED] Smeal 178 (814) 375-4700 \ / against HTML mail These opinions will not be those of Xand postings. Penn State until it pays my retainer. / \
Re: New LyX Win32 build 1.3.0
On Thu, Feb 27, 2003 at 03:24:03PM +0100, Andre Poenitz wrote: > On Thu, Feb 27, 2003 at 09:18:02AM -0500, Dr. Richard E. Hawkins wrote: > > > But that would still mean you need approval of all contributors to change > > > the licence, wouldn't it? > > No. Permission was never obtained to switch to the current purported > > license. Lyx has always had a big hole in the GPL that allows this, and > > the hole cannot be fixed without permission of all contributors. > So what do you think is the current valid license? > GPL? (probably not) > GPL with "may be linked to xforms"? > GPL with "may be linked to whatever"? It's very close to this. I sat down, analyzed what happened, applied the law, and wrote the qualification to the license to describe what happened. I did *not* create the license; neither I nor anyone else (without consent of all developers ever) could possibly do this. The short version is that when he announced it as GPL, his actions contradicted this, and revoked the "boilerplate" language of the GPL that were inconsistent with his actions. Everyone that ever contributed code contributed under the actual license, not the GPL. However, as it held itself out as GPL, third parties would be able to take it as GPL (as the developers woudl be "estopped" from asserting the modified license). > Of course I remember your complaints a while ago, but I was not too > interested in licensing issues back than. So I remember you said something, > but not what. Pointer to archive perhaps? My original writing came in response to the "critical bug" at debian (license impurity). Lars included the paragraphs sometime while I was at Iowa State, which means sometime between 1996-1999. I don't know when the change to the current, legally wrong, claim of license was made, but I suspect if we checkout from 2000 we'll find it. (we don't actually have a searchable mailing list archive from the late 90's, do we?). hawk -- Richard E. Hawkins, Asst. Prof. of Economics/"\ ASCII ribbon campaign [EMAIL PROTECTED] Smeal 178 (814) 375-4700 \ / against HTML mail These opinions will not be those of Xand postings. Penn State until it pays my retainer. / \
Re: New LyX Win32 build 1.3.0
On Thu, Feb 27, 2003 at 03:04:09PM +0100, Andre Poenitz wrote: > On Thu, Feb 27, 2003 at 08:39:21AM -0500, Kuba Ober wrote: > > I can compile it for you using latest commercial Qt3 (enterprise) as long as > > you put proper exclusion in the license. > > I have done it several times with other software, and it's perfectly OK > > (legal). > But that would still mean you need approval of all contributors to change > the licence, wouldn't it? No. Permission was never obtained to switch to the current purported license. Lyx has always had a big hole in the GPL that allows this, and the hole cannot be fixed without permission of all contributors. hawk, esq. -- Richard E. Hawkins, Asst. Prof. of Economics/"\ ASCII ribbon campaign [EMAIL PROTECTED] Smeal 178 (814) 375-4700 \ / against HTML mail These opinions will not be those of Xand postings. Penn State until it pays my retainer. / \
Re: New LyX Win32 build 1.3.0
On Thu, Feb 27, 2003 at 02:17:43PM +0100, Ruurd Reitsma wrote: > "Jean-Marc Lasgouttes" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > Did you check the various licenses to make sure that you have the > > right to distribute this? And what about the Qt license? > To be honest, I have no rights to do this. So, please don't sue me ;-) > The licence should be extended in the some fashion as it was extended for > xforms. The question is, who should do this? Matthias Ettrich? > Anyway, it's a bit of a dead end, since Trolltech won't be releasing any new > non-commercial Qt libs. On the other hand, it will probably work for a > while. Qt3 is not that different from Qt2. No, the current lyx license just plain isn't correct (as a legal issue). I wrote the prior qualifications a few years ago, but John replaced that with what it says now. The problem is that that's just not what the law did on the initial release. Regardless of what the current "license" says, xforms does not have a special status; the entire clause of the putative GPL license was put aside when Matthias released the code, saying it was GPL but inviting people to redistribute. *Any* library can be used in the same manner as xforms, and we are powerless to object or assert that clause of the GPL. But what do I know; I'm just a lawyer who contributed time to get this right only to see it wiped aside without consulting me. hawk, esq.
I had to do a fresh checkout to compile
I've been trying to update on two machines for several days now, with no success. I've distcleaned, and even rm -r'd the src directory. Still no luck. I've run autogen.sh and reconfigure. I've shed hair on my keyboard. Ultimately, I removed the entire directory and did a fresh checkout. It compiled without a problem. OK, now this is really odd. It failed yesterday on both machines, and I've done the fresh checkout and successful compile on the workstation. I ran gmake on the laptop so that I could include the output in this message--and this time it compiled successfully. This is on FreeBSD STABLE, xforms interface. hawk,perplexec -- Richard E. Hawkins, Asst. Prof. of Economics/"\ ASCII ribbon campaign [EMAIL PROTECTED] Smeal 178 (814) 375-4700 \ / against HTML mail These opinions will not be those of Xand postings. Penn State until it pays my retainer. / \
spellcheck failure
I haven't seen anything like this in a while. February 6 devel, plain old xforms (does anything else actually work, anyway?) I tried to spellcheck my file, lyx hung for about 15 seconds. gdb shows: Error: The file "/home/hawk/Research/Price/price.dict" is not in the proper format. Ispell read timed out, what now? Given that lyx created that dictionary file, and has been using it for weeks, something is amiss . . . OK, even worse: the file is now empty! -- Richard E. Hawkins, Asst. Prof. of Economics/"\ ASCII ribbon campaign [EMAIL PROTECTED] Smeal 178 (814) 375-4700 \ / against HTML mail These opinions will not be those of Xand postings. Penn State until it pays my retainer. / \
Re: shorcut automatization
On Wed, Feb 12, 2003 at 12:54:46PM +1000, Allan Rae wrote: > On Tue, 11 Feb 2003, John Levon wrote: > > On Tue, Feb 11, 2003 at 11:59:28AM +0100, Lars Gullik Bj?nnes wrote: > > > | I have never been able to use that interface, and it buys us precisely > > > | nothing, and costs a lot. > Poor John, failed at Emacs but rules with vi. When are you vi guys > going to get your acts together and put a vi-style command interface > or are you quietly admitting defeat here also. :P Hey, that was the first thing that John and I agreed on! Seriously, what could be better than a hybrid that used vi editing but with lyx as a display engine, and lyx-like math/environment commands to avoid worring about the longer latex writing? As it is, I try to use real editing commands fairly often in lyx :) But the vim license and lyx license status are utterly incompatible, so it would have to be done as a script and a patch leaving people to download and compile it all themselves :( hawk -- Richard E. Hawkins, Asst. Prof. of Economics/"\ ASCII ribbon campaign [EMAIL PROTECTED] Smeal 178 (814) 375-4700 \ / against HTML mail These opinions will not be those of Xand postings. Penn State until it pays my retainer. / \
Re: shorcut automatization
On Tue, Feb 11, 2003 at 03:00:49PM +0100, Alfredo Braunstein wrote: > Christian Ridderstr?m wrote: > > Insert->List & TOC > > O > I know. The question was if there are examples of 'natural' letter which > aren't the first one. Are those of your example particularly better than > choosing the first 'unused' one? absolutely. His stay put when someone adds a feature higher up the menu, or earlier in the alphabet. There afe few things worse than the commands in your application changing with each release (this is where MS started losing it in the mac market). hawk -- Richard E. Hawkins, Asst. Prof. of Economics/"\ ASCII ribbon campaign [EMAIL PROTECTED] Smeal 178 (814) 375-4700 \ / against HTML mail These opinions will not be those of Xand postings. Penn State until it pays my retainer. / \
Re: shorcut automatization
On Tue, Feb 11, 2003 at 09:08:25AM +0100, Alfredo Braunstein wrote: > If you want my opinion, I think shorcuts are useful when they are on the > first letter. With some effort I can use if they are on the first letter of > the second word, but if I have to find the underlined letter in the middle > then I better tab out or click with the mouse. M-c c i I have no idea why anyone would associate that with "insert columnt," but after doing a bunch from the menu, I finally noticed it, and it sure helps. Intuitive ones are nice (and again I'll mention early ms software for mac; I was using commands I'd never heard of!), but "available" sure beats the rodent if you have to do it a lot . . . hawk
Re: shorcut automatization
On Tue, Feb 11, 2003 at 12:43:58PM +, John Levon wrote: > On Tue, Feb 11, 2003 at 01:41:34PM +0100, Andre Poenitz wrote: > > > I want default usable interfaces that do not require book-learnin' > > I've never seen a search-and-replace dialog that would qualify as "more > > usable" than a minibuffer based approach with a decent history. > > I did require some learning, though... > The point is that the occassional or new user gets to use the dialog, > which is (hopefully) obvious to use. As a user gets more experienced, or > starts using search more heavily, the more efficient interface is there > for them. Yes! (Oh, dear; I'm agreeing with John again :) This is the Mac/Windows difference. Any idiot can sit down and use either (ok, today's windows; not older ones). Mac tends to have other and more efficient ways of doing things as you get experience--oddly, these stem from early MS products for mac, the company which has been systematically forcing everyone to stay in beginner mode. I'm not going to be able to sit someone down in front of LyX and convince them to try it if I have to do a minibuffer instead of a dialog search (unless it's someone accustomed to either emacs or a real editor to start with :). You keep people who ar able to find more efficient ways of doing things (which go into finger memory). Lyx has three major advantages that I see over latex at the moment: 1) You can see your complicated equations, and coherently edit them. 2) Less keystrokes than latex for the same effect (including auto-termination). 3) You can sit down at it with no training. The first is big for new and experienced users; the second keeps experienced users, and the third catches new users. hawk, who would still like the vi interface to lyx :) > Efficiency is not exactly equal to usability. Rather, efficiency is (an > important part) of the whole package > > regards, > john -- Richard E. Hawkins, Asst. Prof. of Economics/"\ ASCII ribbon campaign [EMAIL PROTECTED] Smeal 178 (814) 375-4700 \ / against HTML mail These opinions will not be those of Xand postings. Penn State until it pays my retainer. / \
Re: shorcut automatization
On Mon, Feb 10, 2003 at 07:40:06PM +0100, Lars Gullik Bj?nnes wrote: > Alfredo Braunstein <[EMAIL PROTECTED]> writes: > | I'm wondering... Maybe it's a stupid idea, but it seems to me that it would > | not be so difficult to set up a pair of shell scripts to automatically > | assign unique shorcuts to ui elements (menus, dialogs, etc). Like taking > | the first unused letter of the word. Not so flexible, but > | consistent. > What I'd rather do is to remove most of the shortcuts from dialogs, > and have the user use tab to move around. > Not everything needs a shortcut. ??? Heresy! You are talking about extra keystrokes, and forcing poeple to watch the dialog. Also, the sequence of keystrokes will change as the dialogs change. ack! Evil! hawk, keystroke whore -- Richard E. Hawkins, Asst. Prof. of Economics/"\ ASCII ribbon campaign [EMAIL PROTECTED] Smeal 178 (814) 375-4700 \ / against HTML mail These opinions will not be those of Xand postings. Penn State until it pays my retainer. / \
"preview" option gone in graphics dialog
The new tabbed design is nice, but the wonderful old "preview" button is gone! hawk -- Richard E. Hawkins, Asst. Prof. of Economics/"\ ASCII ribbon campaign [EMAIL PROTECTED] Smeal 178 (814) 375-4700 \ / against HTML mail These opinions will not be those of Xand postings. Penn State until it pays my retainer. / \
mouse needed before keys in insert reference
While it is possible to change the selection in insert-reference with the up/down keys, this cannot be done until the mouse is moved into the scroll-window (is that the right term?). This is odd and frustrating. If the keys are ususable, home/end and pageup/down should probably also work. hawk, busy today :) -- Richard E. Hawkins, Asst. Prof. of Economics/"\ ASCII ribbon campaign [EMAIL PROTECTED] Smeal 178 (814) 375-4700 \ / against HTML mail These opinions will not be those of Xand postings. Penn State until it pays my retainer. / \
indent as default in floats makes no sense
After unindenting lots of floats, it finally occurred to me: Even when indentation is used for paragraph breaks in the body, it makes no sense to indent within a float--the preference should be overridden. The nature of the float is that it's its own thing away from the text. I've tried, but cannot conceive of a situation where it makes sense for a table or figure to be indented by the same amount as a paragraph. hawk -- Richard E. Hawkins, Asst. Prof. of Economics/"\ ASCII ribbon campaign [EMAIL PROTECTED] Smeal 178 (814) 375-4700 \ / against HTML mail These opinions will not be those of Xand postings. Penn State until it pays my retainer. / \
a used as accellerator twice in insert graphics dialog
"a" is used as the accellerator/shortcut for both "Draft mode" and "Apply" in the insert graphics dialog. It causes draft mode; the correct behavior would be Applay, just like everywhere else. hawk -- Richard E. Hawkins, Asst. Prof. of Economics/"\ ASCII ribbon campaign [EMAIL PROTECTED] Smeal 178 (814) 375-4700 \ / against HTML mail These opinions will not be those of Xand postings. Penn State until it pays my retainer. / \
Re: irritating spam
On Mon, Jan 27, 2003 at 04:41:18PM +0100, Andre Poenitz wrote: > On Mon, Jan 27, 2003 at 10:35:29AM -0500, Dr. Richard E. Hawkins wrote: > > I actually have a line for that addres in my filters that catches both > > the direct spam and the stuff that comes here. The only address I've > > been bothered to do that for (thouhg once I get a few minutes to > > understand one I found that checks for 90% 8 bit high characters . . . > Nevertheless, these mails are fairly big, so this is annoying... I never notice the size, sitting on top of a fat connectio :) Oh, and unlike everything else which goes to a spam folder, his go to /dev/null . . . hawk -- Richard E. Hawkins, Asst. Prof. of Economics/"\ ASCII ribbon campaign [EMAIL PROTECTED] Smeal 178 (814) 375-4700 \ / against HTML mail These opinions will not be those of Xand postings. Penn State until it pays my retainer. / \
Re: irritating spam
On Mon, Jan 27, 2003 at 03:39:32PM +, Angus Leeming wrote: > How do we contact Mate to get him to filter out all these messages > from big at boss dot com. I though that he had a spam filter set up. > In fact, he must do because this irritating bugger is the only one to > get through more than once. > I just noticed that his continued presence is starting to piss me off > ;-) I actually have a line for that addres in my filters that catches both the direct spam and the stuff that comes here. The only address I've been bothered to do that for (thouhg once I get a few minutes to understand one I found that checks for 90% 8 bit high characters . . . hawk -- Richard E. Hawkins, Asst. Prof. of Economics/"\ ASCII ribbon campaign [EMAIL PROTECTED] Smeal 178 (814) 375-4700 \ / against HTML mail These opinions will not be those of Xand postings. Penn State until it pays my retainer. / \
Re: [PATCH] lyx2lyx helper
On Wed, Jan 22, 2003 at 03:05:28PM +, John Levon wrote: > On Wed, Jan 22, 2003 at 10:38:40AM +0100, Jean-Marc Lasgouttes wrote: > > Why not use the same option for specifying either a lyx version or a > > file format? It is not like we are going to release LyX 215 one of > > these days... > Well, given that lyx changes its release numbering scheme every release > Hey, can the next one be 1.IV? -- Richard E. Hawkins, Asst. Prof. of Economics/"\ ASCII ribbon campaign [EMAIL PROTECTED] Smeal 178 (814) 375-4700 \ / against HTML mail These opinions will not be those of Xand postings. Penn State until it pays my retainer. / \
Re: footnote numbering [was: Re: footnotes preview in lyx-1.3]
On Tue, Jan 21, 2003 at 06:11:59PM +0100, Edwin Leuven wrote: > even if the number of footnotes is not overwhelming, going from paper > corrections ("can you change this in footnote 6") to the right place in lyx > is a bit of a hassle... It occurs to me that in the cases where footnote numbering would be useful, numbering the footnotes that exist on loading the document would be sufficient--these are the only ones that can already be on paper or in someone else's hands . . . in fact, it would seem to be more useful *not* to update numbering after opening the document . . . hawk -- Richard E. Hawkins, Asst. Prof. of Economics/"\ ASCII ribbon campaign [EMAIL PROTECTED] Smeal 178 (814) 375-4700 \ / against HTML mail These opinions will not be those of Xand postings. Penn State until it pays my retainer. / \
more thoughts on including documents
I'm partially thinking out loud here, so bear with me as I say stupid things :) As I'm understanding them right now, all forms of include and insert actually make the other document part of the current document. What would be really useful in many circumstances (such as what I'm working in right now) would be the ability to include the output of the other file, rather than it's contents. For example, I want Appenix C to be the syllabus for my class. To make the final document, I'm going to have to break apart my document into the main body and the separator pages for the appendices, making a postscript file for each (with gv "save as", I suppose). and then use psmerge to put syllabii and such into the single output file. It would be useful to have something like an include that would cause the processing of the document to stop, the output of the "included" document inserted, and then processing of the original document again. But as I think this over, this would stil have the tex problem of having multiple titles and the like. OK, so maybe this is really a tex problem, and not a lyx one; I'm not sure. But it would be such a useful thing to be possible, that I thought I'd toss it out. hawk -- Richard E. Hawkins, Asst. Prof. of Economics/"\ ASCII ribbon campaign [EMAIL PROTECTED] Smeal 178 (814) 375-4700 \ / against HTML mail These opinions will not be those of Xand postings. Penn State until it pays my retainer. / \
Re: section/chapter names lost on html conversion
On Fri, Jan 17, 2003 at 07:17:59PM -0500, Dr. Richard E. Hawkins wrote: > On Fri, Jan 17, 2003 at 10:58:56PM +0100, Lars Gullik Bj?nnes wrote: > Nope. I did err, belay that. It did work. I patched and did gmake on the main machine (where the mail comes in), and he install on the machine I was sitting at (readingthe mail on the other). It works. hawk -- Richard E. Hawkins, Asst. Prof. of Economics/"\ ASCII ribbon campaign [EMAIL PROTECTED] Smeal 178 (814) 375-4700 \ / against HTML mail These opinions will not be those of Xand postings. Penn State until it pays my retainer. / \
Re: section/chapter names lost on html conversion
On Fri, Jan 17, 2003 at 10:58:56PM +0100, Lars Gullik Bj?nnes wrote: > "Dr. Richard E. Hawkins" <[EMAIL PROTECTED]> writes: > | I've tried this with export-html, tth, and latex2html, and in both > | article and book format. > What I like to know is if the crash you saw yesterday was fixed by my > patch! Oh, it didn't crash. It just wiped out the entire file with no way to recover, and with undo nhot working right. But the program was still running :) Sorry about that, I've been putting out fires. It just finished recompiling. > Is it? Nope. I did firstline secondline and went between them to insert a fall 2000 file. the screen showed firstline [INPUT] secondline, but the document was entirely the input file, and after scrolling to cause a redraw, firstline & secondline were gone. :( hawk
section/chapter names lost on html conversion
I've tried this with export-html, tth, and latex2html, and in both article and book format. The top level (chapter or section) names are lost on conversion; instead they show as the title of the document--and navigate back to themselves. hawk -- Richard E. Hawkins, Asst. Prof. of Economics/"\ ASCII ribbon campaign [EMAIL PROTECTED] Smeal 178 (814) 375-4700 \ / against HTML mail These opinions will not be those of Xand postings. Penn State until it pays my retainer. / \
Re: lethal bug--insert lyx file destroyed document
On Thu, Jan 16, 2003 at 10:12:46PM +0100, Lars Gullik Bj?nnes wrote: > "Dr. Richard E. Hawkins" <[EMAIL PROTECTED]> writes: > > | I used insert lyx file to insert another file into an appendix. It > | wiped out *everything* but the new file! Undo gave me back only the > | most recent paragraph upon which I was working. > | Fortunately, I had just saved. > Am I correct in guessing that the file you inserted is not created > with lyx 1.3.0cvs? > I.e. it had to be run throught lyx2lyx? There are two possible files that it could have been; one was dated Jan 8 2001, the other Jan 5 2002. (I needed a syllabus to work with; any syllabus). Either would have come from reasonably current cvs lyx (whatever the devel version would have been on those dates). hawk -- Richard E. Hawkins, Asst. Prof. of Economics/"\ ASCII ribbon campaign [EMAIL PROTECTED] Smeal 178 (814) 375-4700 \ / against HTML mail These opinions will not be those of Xand postings. Penn State until it pays my retainer. / \
lethal bug--insert lyx file destroyed document
I used insert lyx file to insert another file into an appendix. It wiped out *everything* but the new file! Undo gave me back only the most recent paragraph upon which I was working. Fortunately, I had just saved. hawk, heart still pounding -- Richard E. Hawkins, Asst. Prof. of Economics/"\ ASCII ribbon campaign [EMAIL PROTECTED] Smeal 178 (814) 375-4700 \ / against HTML mail These opinions will not be those of Xand postings. Penn State until it pays my retainer. / \
calligraphic does not return to normal typing in mathed
Inside a mathed, m-c e to get a calligraphic character. The letter is correct, but subsequent letters remain in this font. This should (and used to be) a single character operation. hawk -- Richard E. Hawkins, Asst. Prof. of Economics/"\ ASCII ribbon campaign [EMAIL PROTECTED] Smeal 178 (814) 375-4700 \ / against HTML mail These opinions will not be those of Xand postings. Penn State until it pays my retainer. / \
strikethrough and tilde underline?
A few years ago, when I needed to identify changes in my dissertation, someone here showed me a quick and dirty way to define styles causeing typethrough and underlining with tilde's. Unfortunately, theose definitions apparently came out of the document by the end. Could someone give me a quick pointer? thanks hawk -- Richard E. Hawkins, Asst. Prof. of Economics/"\ ASCII ribbon campaign [EMAIL PROTECTED] Smeal 178 (814) 375-4700 \ / against HTML mail These opinions will not be those of Xand postings. Penn State until it pays my retainer. / \
alt-r doesn't replace in spellcheck dialog
edit the replacement line, hit alt-r, and nothing happens yesterday's cvs. hawk -- Richard E. Hawkins, Asst. Prof. of Economics/"\ ASCII ribbon campaign [EMAIL PROTECTED] Smeal 178 (814) 375-4700 \ / against HTML mail These opinions will not be those of Xand postings. Penn State until it pays my retainer. / \
Re: [WARNING] Bad bug in lyx 1.2.2 configure script
On Wed, Jan 08, 2003 at 12:32:24PM +0100, Jean-Marc Lasgouttes wrote: > > There is a very nasty bug in LyX 1.2.2 configure script: if you > configure as root and an error occurs during the configure step > (e.g. xforms not found), the the script will delete the /dev/null > device. This undoubtly leads to very bad effect, since /dev/null is a > very basic device in any unix system. Oh, /dev/null isn't much of a loss; I've never been able to get anything out of it, anyway :) hawk -- Richard E. Hawkins, Asst. Prof. of Economics/"\ ASCII ribbon campaign [EMAIL PROTECTED] Smeal 178 (814) 375-4700 \ / against HTML mail These opinions will not be those of Xand postings. Penn State until it pays my retainer. / \
Re: still can't import any latex tabulars
On Tue, Jan 07, 2003 at 06:14:14PM +0100, Juergen Spitzmueller wrote: > Dr. Richard E. Hawkins wrote: > > Yes; I can't even reproduce the order or pattern of blank/nonblank. All > > I have so far is that it seems to be affected by a failed import, abut > > also by using anything on the menu. > Here's what I figured out: > Start LyX: all is ok (5 import options) > if I: > a.) choose a menu command without opening a doc (e.g. TeX information), the > whole "Import" item is greyed out. > b.) open a doc, all but ASCII (as lines, as pars) disappears > > Having done b.), I get all 5 import options back if I move on the menue bar to > the right (from file to help) and back. If I chose a menue command now (open > a dialog), they disappear again. > This is with qt. I've found that if I open a new file, and close it, the 5 options come back. While any file is open, only the ascii options seem available. (though maybe I"m just looking during the wrong part of the menu dance . . . -- Richard E. Hawkins, Asst. Prof. of Economics/"\ ASCII ribbon campaign [EMAIL PROTECTED] Smeal 178 (814) 375-4700 \ / against HTML mail These opinions will not be those of Xand postings. Penn State until it pays my retainer. / \
yes/no/cancel doesn't work properly
When told to close a file, and the yes/no/cancel dialog comes up, under plain old X, the "cancel" button will appear directly under the mouse. This causes y, n, alt-y, and alt-n to all cause cancellation rather than their intended effects. hawk -- Richard E. Hawkins, Asst. Prof. of Economics/"\ ASCII ribbon campaign [EMAIL PROTECTED] Smeal 178 (814) 375-4700 \ / against HTML mail These opinions will not be those of Xand postings. Penn State until it pays my retainer. / \
no \noindent on tabulars in relyx, either
A little more poking shows that \noindent before a \begin{tabular} is ignored. Lyx will include it if the paragraph dialog is used, and export tex with it--but retrieving its own tex, it loses it. hawk -- Richard E. Hawkins, Asst. Prof. of Economics/"\ ASCII ribbon campaign [EMAIL PROTECTED] Smeal 178 (814) 375-4700 \ / against HTML mail These opinions will not be those of Xand postings. Penn State until it pays my retainer. / \
more sublte upper left on relyx
OK, I'm now happily importing tabulars. Well, mostly. I'm having trouble with the left borders on multicolumnts. I start with: \documentclass{article} \begin{document} \begin {tabular} {|p{1.5in}|p{.4in}|p{.4in}|p{.4in}|p{.4in}|p{.4in}|p{.4in}|p{.4in}|p{.4in}|p{.4in}|p{.4in}|p{.4in}|p{.4in}|} \cline{2-3} \cline{4-5} \cline{6-7} \cline{8-9} \cline{10-11} \cline{12-13} \multicolumn{1}{c|}{} & \multicolumn{2}{c}{Exceptional} & \multicolumn{2}{c}{Excellent} & \multicolumn{2}{c}{Very Good} & \multicolumn{2}{c}{Average} & \multicolumn{2}{c}{Below Average} & \multicolumn{2}{c}{Unsatisfactory} \\ LaTeX correctly renders this with no left border on the 1 cell multicolumn. Lyx loses this, and turns it into |c| If I manually edit the multicolumn in lyx, it will export the correct latex. indeed, a diff shows that the extra | inserted by lyx is the only difference in the two exported latex files. hawk -- Richard E. Hawkins, Asst. Prof. of Economics/"\ ASCII ribbon campaign [EMAIL PROTECTED] Smeal 178 (814) 375-4700 \ / against HTML mail These opinions will not be those of Xand postings. Penn State until it pays my retainer. / \
Re: still can't import any latex tabulars
On Tue, Jan 07, 2003 at 06:34:33PM +, Jos? Matos wrote: > On Tuesday 07 January 2003 17:42, Dr. Richard E. Hawkins wrote: > > \\ 1. int > > & 4 > > & 9 > > & 14 > > \\ 2. Instructors > It is definitively reLyX's fault. The BUGS file in reLyX warns to this. In > this case you declare 15 columns but only defines 4 and reLyX does not > complete the request, something that lyx expects. That's not all, though. I stqrted with 15 defined; and that didn't work, either. I just went to less to simplify things. I just changed > \begin{tabular}{lrrr} > & > & > & > \tabularnewline Now that's intereting. I just added those, and now it works. Hmm, taking out the \\ I have before any data does it, too. Hmm, looks like I had that in there from misreading Lamport. > > > BTW I have fixed 4 bugs from files that were in my que from yours. :-) > > thanks :) I seem to find plenty . . . > the one with further bugs founded. ;-) :) Really, I find mine on accident just in the course of usage. hawk -- Richard E. Hawkins, Asst. Prof. of Economics/"\ ASCII ribbon campaign [EMAIL PROTECTED] Smeal 178 (814) 375-4700 \ / against HTML mail These opinions will not be those of Xand postings. Penn State until it pays my retainer. / \
Re: still can't import any latex tabulars
On Tue, Jan 07, 2003 at 05:25:07PM +, Jos? Matos wrote: > On Tuesday 07 January 2003 17:04, Dr. Richard E. Hawkins wrote: > > I doubt it--wouldn't relyx be rebuilt with "make install"? The only > > lyx on this system is the development branch (the reason I find so many > > weird bugs :) > I would think so. i slytherin ttyp2:y3>ls -l `which reLyX` -rwxr-xr-x 1 root wheel 2482 Jan 7 11:43 /usr/local/bin/reLyX ^^ seems current. > > > Just to be sure could you post the error message that shows in the > > > console? > > The alert says "An error occurred while running the conversion script" > Does it have any other error output? nope. > > GDB reports > > reLyX directory is: /usr/local/share/lyx/reLyX > > reLyX, the LaTeX to LyX translator. Revision date 2001/08/31 > > Reading LaTeX command syntax > > (simple.tex: Splitting Preamble > > Creating LyX preamble > > Reading layout file > > Cleaning... Translating... Writing... ) > > Deleting temp files > > Finished successfully! > > Malformed lyx file > > I can put an account for you on this machine if it helps, so that you > > can run this copy remotely. > Or that or you could send me a small example that fails. This is becoming > very intriguing. this *is* the small example (simple.tex): \documentclass{article} \begin{document} Hi there \begin {tabular}{lrr} \\ 1. int & 4 & 9 & 14 \\ 2. Instructors & 0 & 0 & 3 \end{tabular} \end{document} > BTW I have fixed 4 bugs from files that were in my que from yours. :-) thanks :) I seem to find plenty . . . hawk -- Richard E. Hawkins, Asst. Prof. of Economics/"\ ASCII ribbon campaign [EMAIL PROTECTED] Smeal 178 (814) 375-4700 \ / against HTML mail These opinions will not be those of Xand postings. Penn State until it pays my retainer. / \
Re: still can't import any latex tabulars
On Tue, Jan 07, 2003 at 05:54:29PM +0100, Juergen Spitzmueller wrote: > Dr. Richard E. Hawkins wrote: > > ALso, I'm noticing strange behavior on the failed imports. The latex > > options disappear from the import submenu. Sometimes import itself gets > > greyed out. I generally have to quit to try again. > I can confirm this: sometimes only the two ASCII import options are displayed > in the submenue, sometimes the whole item is disabled (I could not figure out > the logic behind it). This is a serious problem. Yes; I can't even reproduce the order or pattern of blank/nonblank. All I have so far is that it seems to be affected by a failed import, abut also by using anything on the menu. hawk -- Richard E. Hawkins, Asst. Prof. of Economics/"\ ASCII ribbon campaign [EMAIL PROTECTED] Smeal 178 (814) 375-4700 \ / against HTML mail These opinions will not be those of Xand postings. Penn State until it pays my retainer. / \
Re: still can't import any latex tabulars
On Tue, Jan 07, 2003 at 02:45:07PM +, Jos? Matos wrote: > On Monday 06 January 2003 19:12, Dr. Richard E. Hawkins wrote: > > I've rebuilt again today, and it still appears utterly impossible to > > import a latex tabular. > > I'm not sure how a latex file with a chart could > > get any simpler than this: > Try again now, it should be possible. My father may be right about machines being out to get me--literally *as* this message was unloading, my build of lyx 1.2 from the ports collection finished compiling . . . . cvs update; compile Nope; still an error, and an undreadable file. ALso, I'm noticing strange behavior on the failed imports. The latex options disappear from the import submenu. Sometimes import itself gets greyed out. I generally have to quit to try again. hawk -- Richard E. Hawkins, Asst. Prof. of Economics/"\ ASCII ribbon campaign [EMAIL PROTECTED] Smeal 178 (814) 375-4700 \ / against HTML mail These opinions will not be those of Xand postings. Penn State until it pays my retainer. / \
still can't import any latex tabulars
I've rebuilt again today, and it still appears utterly impossible to import a latex tabular. I'm not sure how a latex file with a chart could get any simpler than this: simple.tex: \documentclass{article} \begin{document} Hi there \begin {tabular}{lrr} \\ 1. int & 4 & 9 & 14 \\ 2. Instructors & 0 & 0 & 3 \end{tabular} \end{document} latex handles this with no errors, but lyx says, "an error occurred wile runing the script" The console output in gdb is: There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-unknown-freebsd"...Deprecated bfd_read called at /usr/src/gnu/usr.bin/binutils/gdb/../../../../contrib/gdb/gdb/dbxread.c line 2627 in elfstab_build_psymtabs Deprecated bfd_read called at /usr/src/gnu/usr.bin/binutils/gdb/../../../../contrib/gdb/gdb/dbxread.c line 933 in fill_symbuf reLyX directory is: /usr/local/share/lyx/reLyX reLyX, the LaTeX to LyX translator. Revision date 2001/08/31 Reading LaTeX command syntax (simple.tex: Splitting Preamble Creating LyX preamble Reading layout file Cleaning... Translating... Writing... ) Deleting temp files Finished successfully! Malformed lyx file hawk -- Richard E. Hawkins, Asst. Prof. of Economics/"\ ASCII ribbon campaign [EMAIL PROTECTED] Smeal 178 (814) 375-4700 \ / against HTML mail These opinions will not be those of Xand postings. Penn State until it pays my retainer. / \
Re: cross-document references?
On Fri, Jan 03, 2003 at 05:02:48PM +0100, Juergen Spitzmueller wrote: > Dr. Richard E. Hawkins wrote: > > I've put > > \usepackage{xr} > > into each preamble, saved, and still no dice. I seem to have xr where > > it belongs: > You need > \externaldocument{refered_doc} > Furthermore, I think, xr needs the aux file of the document on which you > refer. Therefore you might have to export the second doc to LaTeX and run > latex on it. I have never tried xr, so you have to play around a little bit. All of these, and more :) With both magics added (and leave off the .tex or .lyx suffix!), I can latex them both and latex produces a correct file. However, they still don't get picked up from within lyx. But at least I can print :) hawk
Re: cross-document references?
On Fri, Jan 03, 2003 at 08:35:34AM +0100, Juergen Spitzmueller wrote: > Dr. Richard E. Hawkins wrote: > > I have companion documents, one of which needs to refer to appendices of > > the other. > You have to use the xr package (standard tools). I've put \usepackage{xr} into each preamble, saved, and still no dice. I seem to have xr where it belongs: slytherin ttyp2:y3>ls /usr/local/share/texmf/tex/latex/tools/xr.sty /usr/local/share/texmf/tex/latex/tools/xr.sty I've also exported to latex and tried that way, but get LaTeX Warning: Reference `sec:Sample-Trials' on page 3 undefined on input line 226. and so forth (but no warning about the package.) thanks hawk -- Richard E. Hawkins, Asst. Prof. of Economics/"\ ASCII ribbon campaign [EMAIL PROTECTED] Smeal 178 (814) 375-4700 \ / against HTML mail These opinions will not be those of Xand postings. Penn State until it pays my retainer. / \
cross-document references?
I have companion documents, one of which needs to refer to appendices of the other. The Insert Reference dialog quite kindly allows me to insert the reference to a label in the other document, but puts a ?? in the output rather than the reference. I'm assuming that I'm missing something obvious again . . . hawk -- Richard E. Hawkins, Asst. Prof. of Economics/"\ ASCII ribbon campaign [EMAIL PROTECTED] Smeal 178 (814) 375-4700 \ / against HTML mail These opinions will not be those of Xand postings. Penn State until it pays my retainer. / \
Re: Feature request: gzipped LyX files
On Fri, Jan 03, 2003 at 02:50:52AM +1030, Darren Freeman wrote: > On Tue, 2002-12-31 at 07:44, Dr. Richard E. Hawkins wrote: > > On Fri, Dec 20, 2002 at 11:26:59AM +0100, Jean-Marc Lasgouttes wrote: > > Also, bz2 compression can handle losing bits out of the middle, unlike > > gzip. > Interesting. It's a shame that bz2 isn't really widespread in its use, > although it's probably installed on most systems. It's been part of the base install of FreeBSD for a year or so, and I assume similarly for the other *bsds. > VI can transparently un-gzip files. It transparently re-gzips them when > you're done! At least mine does =) > Less can also read gzips. I think these are installtion-dependent options--it depends upon how they were compiled. hawk -- Richard E. Hawkins, Asst. Prof. of Economics/"\ ASCII ribbon campaign [EMAIL PROTECTED] Smeal 178 (814) 375-4700 \ / against HTML mail These opinions will not be those of Xand postings. Penn State until it pays my retainer. / \
the lyx output on failed table
Oh, and here's the output from gdb: reLyX directory is: /usr/local/share/lyx/reLyX reLyX, the LaTeX to LyX translator. Revision date 2001/08/31 Reading LaTeX command syntax (dumb.tex: Splitting Preamble Creating LyX preamble Reading layout file Cleaning... Translating... Use of uninitialized value in string eq at /usr/local /share/lyx/reLyX/RelyxTable.pm line 460, line 14. Writing... ) Deleting temp files Finished successfully! Traceback (most recent call last): File "/usr/local/share/lyx/lyx2lyx/lyx2lyx", line 180, in ? main(sys.argv) File "/usr/local/share/lyx/lyx2lyx/lyx2lyx", line 173, in main __import__("lyxconvert_" + fmt).convert(header,body) File "/usr/local/share/lyx/lyx2lyx/lyxconvert_217.py", line 104, in convert update_tabular(body) File "/usr/local/share/lyx/lyx2lyx/lyxconvert_217.py", line 43, in update_tabu lar new_table = table_update(lines[i:j]) File "/usr/local/share/lyx/lyx2lyx/lyxconvert_217.py", line 89, in table_updat e lines[i] = '' % (bool_table[v al[0]], bool_table[val[1]], bool_table[val[2]]) KeyError: 4 -- Richard E. Hawkins, Asst. Prof. of Economics/"\ ASCII ribbon campaign [EMAIL PROTECTED] Smeal 178 (814) 375-4700 \ / against HTML mail These opinions will not be those of Xand postings. Penn State until it pays my retainer. / \
complete inability to import latex tables at the moment?
I'm trying to get tables into lyx from a word document (I really don't want to fight that ill-formatted monster in starwriter!). I can dump to text well enough, but I want to keep the tables filled in. I was even able to trivially get the tables into latex with a bit of vi magic [ %s/^/ & / and then change the starting of the left columns to \\] latex handles these fine, and can display them. Lyx won't import it. Then, in a flash of insight, I made a trivial lyx file; "Hi" followed by a 2x2 tabular with all defaults, filled with a b c d Export this silly little file to latex, and try to import it back in. No dice. Do a cvs update, and the problem remains I've attached the offending file. hawk -- Richard E. Hawkins, Asst. Prof. of Economics/"\ ASCII ribbon campaign [EMAIL PROTECTED] Smeal 178 (814) 375-4700 \ / against HTML mail These opinions will not be those of Xand postings. Penn State until it pays my retainer. / \ #LyX 1.3 created this file. For more info see http://www.lyx.org/ \lyxformat 221 \textclass article \language english \inputencoding auto \fontscheme default \graphics default \paperfontsize default \papersize Default \paperpackage a4 \use_geometry 0 \use_amsmath 0 \use_natbib 0 \use_numerical_citations 0 \paperorientation portrait \secnumdepth 3 \tocdepth 3 \paragraph_separation indent \defskip medskip \quotes_language english \quotes_times 2 \papercolumns 1 \papersides 1 \paperpagestyle default \layout Standard Hi \layout Standard \begin_inset Tabular \begin_inset Text \layout Standard a \end_inset \begin_inset Text \layout Standard b \end_inset \begin_inset Text \layout Standard c \end_inset \begin_inset Text \layout Standard d \end_inset \end_inset \the_end
Re: leading dots in toc not until heading-3
On Thu, Jan 02, 2003 at 12:26:02AM -0400, Garst R. Reese wrote: > "Dr. Richard E. Hawkins" wrote: > > I think I've been through this before . . . > > In the article class, the table of contents uses no leading dots for the > > sections, but it does for the subsections. My text, in book class, uses > > them for all levels. > > I don't see any ert setting this in either, or any preamble magic, and I > > can't find anything in the menus that seems to do it. > Does your book class use leading dots for Chapters? I'm pretty sure I'm using the default book class; I don't know how I could be using anything else. It gives leading dots for chapters. My preamble is \pagenumbering{roman} %\makeindex \@addtoreset{page}{chapter} \newfont {\web}{phvr at 9.0pt} \newfont {\email}{pcrr at 10.0pt } \newfont {\mrgfnt}{phvr at 6.0pt } \newcommand{\mrg}{\tiny \smallskip} and it has the following magic (for which I don't remember all the purposes): %\let\myChapter\chapter %\renewcommand{\chapter}[1]{% %\cleardoublepage %\myChapter{#1}% %} % \let\myChapter\chapter \renewcommand{\chapter}[1]{% \cleardoublepage \myChapter{#1}% \setcounter{page}{1}% \thispagestyle{empty}% without any pagenumber } \renewcommand{\thefigure}{\thechapter-\arabic{figure}} \renewcommand{\thetable}{\arabic{chapter}.\roman{table}.} \renewcommand{\theequation}{\thechapter-\arabic{equation}} > I think the primary level in a class does not use dots. In the case of > Article, this is Section. > Book does not use dots either for Part or Chapter. But it is :) Is there anyplace else I could have set something to cause that? > See LaTeX Companion, pp 31-39 Unfortunately, all I have accessible is Lamport's User GUide & Reference manual :( thanks hawk -- Richard E. Hawkins, Asst. Prof. of Economics/"\ ASCII ribbon campaign [EMAIL PROTECTED] Smeal 178 (814) 375-4700 \ / against HTML mail These opinions will not be those of Xand postings. Penn State until it pays my retainer. / \
leading dots in toc not until heading-3
I think I've been through this before . . . In the article class, the table of contents uses no leading dots for the sections, but it does for the subsections. My text, in book class, uses them for all levels. I don't see any ert setting this in either, or any preamble magic, and I can't find anything in the menus that seems to do it. -- Richard E. Hawkins, Asst. Prof. of Economics/"\ ASCII ribbon campaign [EMAIL PROTECTED] Smeal 178 (814) 375-4700 \ / against HTML mail These opinions will not be those of Xand postings. Penn State until it pays my retainer. / \
glitch in epsi->png for latex export
I note that we now seem to be using tth to export to html . . . Anyway, I have an epsi in my syllabus. When I export to html, instead of getting a relative link and a png, I end up with a reference to file://tmp/lyxdir_path_from_home_picture.png Shouldn't the correct behavior be to end up with a local file and a relative path? I'm baffled to think of any circumstance under which what happens would actually be useful . . . Oh, and I've attached the schedule file in question, for no better reason than I'm pleased with myself :) I wrote a fortran program to take a feeder file and produce this thing, after getting continually frustrated with plan's output (which is hard to successfully include!). hawk hawk -- Richard E. Hawkins, Asst. Prof. of Economics/"\ ASCII ribbon campaign [EMAIL PROTECTED] Smeal 178 (814) 375-4700 \ / against HTML mail These opinions will not be those of Xand postings. Penn State until it pays my retainer. / \ %!PS-Adobe-2.0 EPSF-1.2 %%Title: Week Calendar %%Creator: hawk %%CreationDate: Dec 31 14:55 %%For:hawk hawk %%Pages: 1 %%DocumentFonts: Helvetica %%BoundingBox: 47.000 544.000 544.000 746.000 save countdictstack mark newpath /showpage {} def /setpagedevice {pop} def %%EndProlog %%Page: 1 1 %%BeginDocument: abc.ps 0.5 setlinewidth % Set up ISO Latin 1 character encoding /reencodeISO { dup dup findfont dup length dict begin { 1 index /FID ne { def }{ pop pop } ifelse } forall /Encoding ISOLatin1Encoding def currentdict end definefont } def /Helvetica-Bold reencodeISO def /Helvetica reencodeISO def /Courier reencodeISO def /Courier-Bold reencodeISO def /DefNormFont /Helvetica findfont def 0 setgray DefNormFont 14 scalefont setfont 236.49 729.840027 moveto (Dr. Hawkins' Schedule) show .97 setgray 86.760 705.600 moveto 544.000 705.600 lineto 544.000 544.000 lineto 86.760 544.000 lineto fill 0 setgray 47.000 704.600 moveto 47.000 544.000 lineto 48.000 544.000 lineto 48.000 704.600 lineto fill 0 setgray DefNormFont 6 scalefont setfont 0 setgray 86.760 704.600 moveto 86.760 544.000 lineto 85.760 544.000 lineto 85.760 704.600 lineto fill 86.760 705.600 moveto ( 8:00) show 0 setgray 128.327 704.600 moveto 128.327 544.000 lineto 127.327 544.000 lineto 127.327 704.600 lineto fill 128.327 705.600 moveto ( 9:00) show 0 setgray 169.895 704.600 moveto 169.895 544.000 lineto 168.895 544.000 lineto 168.895 704.600 lineto fill 169.895 705.600 moveto (10:00) show 0 setgray 211.462 704.600 moveto 211.462 544.000 lineto 210.462 544.000 lineto 210.462 704.600 lineto fill 211.462 705.600 moveto (11:00) show 0 setgray 253.029 704.600 moveto 253.029 544.000 lineto 252.029 544.000 lineto 252.029 704.600 lineto fill 253.029 705.600 moveto (12:00) show 0 setgray 294.596 704.600 moveto 294.596 544.000 lineto 293.596 544.000 lineto 293.596 704.600 lineto fill 294.596 705.600 moveto ( 1:00) show 0 setgray 336.164 704.600 moveto 336.164 544.000 lineto 335.164 544.000 lineto 335.164 704.600 lineto fill 336.164 705.600 moveto ( 2:00) show 0 setgray 377.731 704.600 moveto 377.731 544.000 lineto 376.731 544.000 lineto 376.731 704.600 lineto fill 377.731 705.600 moveto ( 3:00) show 0 setgray 419.298 704.600 moveto 419.298 544.000 lineto 418.298 544.000 lineto 418.298 704.600 lineto fill 419.298 705.600 moveto ( 4:00) show 0 setgray 460.865 704.600 moveto 460.865 544.000 lineto 459.865 544.000 lineto 459.865 704.600 lineto fill 460.865 705.600 moveto ( 5:00) show 0 setgray 502.433 704.600 moveto 502.433 544.000 lineto 501.433 544.000 lineto 501.433 704.600 lineto fill 502.433 705.600 moveto ( 6:00) show 0 setgray 544.000 704.600 moveto 544.000 544.000 lineto 543.000 544.000 lineto 543.000 704.600 lineto fill 0 setgray 47.000 703.600 moveto 544.000 703.600 lineto 544.000 704.600 lineto 47.000 704.600 lineto fill 0 setgray 47.000 544.000 moveto 544.000 544.000 lineto 544.000 545.000 lineto 47.000 545.000 lineto fill 52.000 691.600 moveto (Monday ) show 52.000 659.280 moveto (Tuesday ) show 52.000 626.960 moveto (Wednesday) show 52.000 594.640 moveto (Thursday ) show 52.000 562.320 moveto (Friday ) show 1. setgray 128.327 691.600 moveto 131.791 698.600 lineto 159.503 698.600 lineto 162.967 691.600 lineto 159.503 684.600 lineto 131.791 684.600 lineto 128.327 691.600 lineto fill 0. setgray 128.327 691.600 moveto 131.791 698.600 lineto 159.503 698.600 lineto 162.967 691.600 lineto 159.503 684.600 lineto 131.791 684.600 lineto 128.327 691.600 lineto stroke 0 setgray DefNormFont 5 scalefont setfont 131.791214 689.599976 moveto (Appointments)show 1. setgray 128.327 626.960 moveto 131.791 633.960 lineto 159.503 633.960 lineto 162.967 626.960 lineto 159.503 619.960 lineto 131.791 619.960 lineto 128.327 626.960 lineto fill 0. setgray 128.327 626.960 moveto 131.791 633.960 lineto 159.503 633.960 lineto 162.967 626.960 lineto 159.503 619.
Re: Feature request: gzipped LyX files
On Fri, Dec 20, 2002 at 11:26:59AM +0100, Jean-Marc Lasgouttes wrote: > > "Andre" == Andre Poenitz <[EMAIL PROTECTED]> writes: > Andre> I'd rather make .lyx gzipped by default. Doesn't Staroffice do > Andre> something similar? > We could have both the plain .lyx format and a compressed .lyz format. > Or use the plain old .lyx.gz. > We could also do what emacs does: if the file is already compressed, > uncompress it and compress it back on saving. If it is not compressed, > leve it alone. This seems to make the most sense. Plain text storage that can survive user error and disk failure is a strentgth of lyx. Also, bz2 compression can handle losing bits out of the middle, unlike gzip. > Andre> This is an extra burden for people like me who regularly do > Andre> search&replace in the .lyx file itself, but I'd guess that's > Andre> the minority. > I would not be so sure about that. I assumed we were the overwhelming majority :) There's too many things you just can't do with lyx that need vi on the lyx file. hawk -- Richard E. Hawkins, Asst. Prof. of Economics/"\ ASCII ribbon campaign [EMAIL PROTECTED] Smeal 178 (814) 375-4700 \ / against HTML mail These opinions will not be those of Xand postings. Penn State until it pays my retainer. / \
it's even uglier
It seems that the rescue file is the file I was inserting, rather than the file from before insert! I'm attaching the backup, the file (after "rescue", and the emergency file). hawk -- Richard E. Hawkins, Asst. Prof. of Economics/"\ ASCII ribbon campaign [EMAIL PROTECTED] Smeal 178 (814) 375-4700 \ / against HTML mail These opinions will not be those of Xand postings. Penn State until it pays my retainer. / \ hawk.oop.tar.bz2 Description: Binary data
lyx crash inserting document
I have been inserting a bunch of documents into another. After a few, it crashed. I selected the name of the document in the scrollbox, and hit enter to cause insertion THis is from a Dec. 10 cvs devel build hawk ] [3] [4] [5] [6] [7] [8] [9] [10 ] [11] [12] [13] [14] [15] [16] [17] [18] [19] [20] [21] [22] [23] [24] [25] [26] [27] [28] LyX: Attempting to save document /home/hawk/Classes/micro/tests/old/final.f01.is siued.key.lyx /home/hawk/Classes/micro/tests/old/final.f01.issiued.key.lyx.emergency Save seems successful. Phew. LyX: Attempting to save document /home/hawk/Classes/micro/tests/final/final.f02. lyx /home/hawk/Classes/micro/tests/final/final.f02.lyx.emergency Save seems successful. Phew. Program received signal SIGABRT, Aborted. 0x28765890 in kill () from /usr/lib/libc.so.4 (gdb) bt #0 0x28765890 in kill () from /usr/lib/libc.so.4 #1 0x287a850d in abort () from /usr/lib/libc.so.4 #2 0x84ae143 in lyx::abort () at abort.C:9 #3 0x81b63fd in Paragraph::Pimpl::getChar (this=0x89788c0, pos=78) at support/LAssert.h:24 #4 0x81b21db in Paragraph::getChar (this=0x8978880, pos=78) at paragraph.C:1826 #5 0x81b091c in Paragraph::isSeparator (this=0x8978880, pos=78) at paragraph.C:1638 #6 0x81f2a19 in LyXText::setCurrentFont (this=0x86c, bview=0x8614060) at text2.C:1938 #7 0x81f2984 in LyXText::setCursorIntern (this=0x86c, bview=0x8614060, par=0x8978880, pos=0, setfont=true, boundary=false) at text2.C:1924 #8 0x81f222a in LyXText::setCursor (this=0x86c, bview=0x8614060, par=0x8978880, pos=0, setfont=true, boundary=false) at text2.C:1767 #9 0x805d968 in BufferView::Pimpl::resizeCurrentBuffer (this=0x860e480) at BufferView_pimpl.C:319 #10 0x8050937 in BufferView::resize (this=0x8614060) at BufferView.C:110 #11 0x8051905 in BufferView::insertLyXFile (this=0x8614060, filen=@0xbfbfded8) at BufferView.C:325 #12 0x8061bc1 in BufferView::Pimpl::MenuInsertLyXFile (this=0x860e480, filen=@0xbfbfeb98) at BufferView_pimpl.C:880 #13 0x8062de3 in BufferView::Pimpl::dispatch (this=0x860e480, ev=@0xbfbfeb90) ---Type to continue, or q to quit--- at BufferView_pimpl.C:954 #14 0x8050bcf in BufferView::dispatch (this=0x8614060, ev=@0xbfbfeb90) at BufferView.C:257 #15 0x816b7d0 in LyXFunc::dispatch (this=0x857ca00, ev=@0xbfbfeb90, verbose=true) at lyxfunc.C:1490 #16 0x81645d3 in LyXFunc::dispatch (this=0x857ca00, ac=152, verbose=true) at lyxfunc.C:689 #17 0x83d5308 in Menubar::Pimpl::MenuCallback (ob=0x8601c00, button=1) at Menubar_pimpl.C:411 #18 0x83d139c in C_Menubar_Pimpl_MenuCallback (ob=0x8601c00, button=1) at Menubar_pimpl.C:82 #19 0x28581c9b in fl_object_qread () from /usr/X11R6/lib/libforms.so.1 #20 0x28592057 in fl_check_forms () from /usr/X11R6/lib/libforms.so.1 #21 0x83f6b6d in lyx_gui::start (batch=@0xbfbff4f4, files=0xbfbff35c) at lyx_gui.C:312 #22 0x8147006 in LyX::LyX (this=0xbfbff4f0, argc=@0xbfbff520, argv=0xbfbff56c) at ../src/lyx_main.C:159 #23 0x81a7612 in main (argc=1, argv=0xbfbff56c) at ../src/main.C:31 #24 0x8050681 in _start () -- Richard E. Hawkins, Asst. Prof. of Economics/"\ ASCII ribbon campaign [EMAIL PROTECTED] Smeal 178 (814) 375-4700 \ / against HTML mail These opinions will not be those of Xand postings. Penn State until it pays my retainer. / \
lists.lyx.org on spamassassain's list?
I just noticed on my daily security log that lists.lyx.org is in the refused mail connectons list. I don't believe that I'm using anything but spamassassain. hawk, who apparently won't receive replies to this. -- Richard E. Hawkins, Asst. Prof. of Economics/"\ ASCII ribbon campaign [EMAIL PROTECTED] Smeal 178 (814) 375-4700 \ / against HTML mail These opinions will not be those of Xand postings. Penn State until it pays my retainer. / \
crash while opening file from menu
I tried to open the second file on the menu (which I had just closed). The pulldown appeared, and lyx bombed. THis is developer cvs as of Oct. 10. hawk ] [3] lyx in free(): warning: chunk is already free lyx in free(): warning: chunk is already free lyx in free(): warning: chunk is already free Solitary \end_inset. Missing \begin_inset?. Last inset read was: LatexCommand Program received signal SIGSEGV, Segmentation fault. vector >::_M _insert_aux (this=0x8762004, __position=0x0, __x=@0xbfbfc11c) at /usr/include/g++/stl_alloc.h:422 422 *__my_free_list = __result -> _M_free_list_link; (gdb) bt #0 vector >::_M_insert_aux (this=0x8762004, __position=0x0, __x=@0xbfbfc11c) at /usr/include/g++/stl_alloc.h:422 #1 0x81ab14d in Paragraph::setFont (this=0x8767f80, pos=0, font=@0xbfbfd090) at /usr/include/g++/stl_vector.h:348 #2 0x81b6506 in Paragraph::Pimpl::insertChar (this=0x8762000, pos=0, c=91 '[', font=@0xbfbfd090) at paragraph_pimpl.C:126 #3 0x81a910c in Paragraph::insertChar (this=0x8767f80, pos=0, c=91, font=@0xbfbfd090) at paragraph.C:410 #4 0x80c7749 in Buffer::parseSingleLyXformat2Token (this=0x876a600, lex=@0xbfbfd7e4, par=@0xbfbfd0c8, first_par=@0xbfbfce4c, token=@0xbfbfd074, pos=@0xbfbfce50, depth=@0xbfbfce54, font=@0xbfbfd090) at buffer.C:400 #5 0x80c5e19 in Buffer::readLyXformat2 (this=0x876a600, lex=@0xbfbfd7e4, par=0x8767f80) at buffer.C:346 #6 0x80d357f in Buffer::readFile (this=0x876a600, lex=@0xbfbfd7e4, filename=@0xbfbfd908, par=0x0) at buffer.C:1209 #7 0x80d3355 in Buffer::readFile (this=0x876a600, lex=@0xbfbfdb40, filename=@0xbfbfdc34, par=0x0) at buffer.C:1200 #8 0x80f0cd1 in BufferList::readFile (this=0x8546814, s=@0xbfbfdd24, ronly=false) at bufferlist.C:424 #9 0x80f21cb in BufferList::loadLyXFile (this=0x8546814, filename=@0xbfbfe334, tolastfiles=true) at bufferlist.C:533 ---Type to continue, or q to quit--- #10 0x81712f2 in LyXFunc::open (this=0x857ca00, fname=@0xbfbfeb44) at lyxfunc.C:1682 #11 0x8167fc4 in LyXFunc::dispatch (this=0x857ca00, ev=@0xbfbfeb8c, verbose=true) at lyxfunc.C:1175 #12 0x81645d3 in LyXFunc::dispatch (this=0x857ca00, ac=515, verbose=true) at lyxfunc.C:689 #13 0x83d5308 in Menubar::Pimpl::MenuCallback (ob=0x8601800, button=1) at Menubar_pimpl.C:411 #14 0x83d139c in C_Menubar_Pimpl_MenuCallback (ob=0x8601800, button=1) at Menubar_pimpl.C:82 #15 0x28581d6f in fl_object_qread () at events.c:206 #16 0x28592113 in fl_check_forms () at forms.c:2109 #17 0x83f6b6d in lyx_gui::start (batch=@0xbfbff4f0, files=0xbfbff358) at lyx_gui.C:312 #18 0x8147006 in LyX::LyX (this=0xbfbff4ec, argc=@0xbfbff51c, argv=0xbfbff568) at ../src/lyx_main.C:159 #19 0x81a7612 in main (argc=1, argv=0xbfbff568) at ../src/main.C:31 #20 0x8050681 in _start () -- Richard E. Hawkins, Asst. Prof. of Economics/"\ ASCII ribbon campaign [EMAIL PROTECTED] Smeal 178 (814) 375-4700 \ / against HTML mail These opinions will not be those of Xand postings. Penn State until it pays my retainer. / \
Re: right margin wrong for typewriter face
On Fri, Nov 15, 2002 at 08:20:17PM +0200, Dekel Tsur wrote: > On Fri, Nov 15, 2002 at 09:32:43AM -0500, Dr. Richard E. Hawkins wrote: > > I don't know whether this is a lyx or latex issue, but the right margtin > > is *very* wrong for the paragraphs in this document using the typewriter > > face. The outer margin is set to .75", and it's practially 0. > It is, partially, a latex issue. > But you are latex do have a block aligned paragraph with monospaced > font, which is senseless. Not necessarily--programs that figured out the spacing to justify text on daisywheels used to be a big deal. > The solution: change the alignment of the paragraph to "Left". OK. I guess I should get around to definging and "answer" paragraph style . . . thanks hawk -- Richard E. Hawkins, Asst. Prof. of Economics/"\ ASCII ribbon campaign [EMAIL PROTECTED] Smeal 178 (814) 375-4700 \ / against HTML mail These opinions will not be those of Xand postings. Penn State until it pays my retainer. / \
right margin wrong for typewriter face
I don't know whether this is a lyx or latex issue, but the right margtin is *very* wrong for the paragraphs in this document using the typewriter face. The outer margin is set to .75", and it's practially 0. hawk -- Richard E. Hawkins, Asst. Prof. of Economics/"\ ASCII ribbon campaign [EMAIL PROTECTED] Smeal 178 (814) 375-4700 \ / against HTML mail These opinions will not be those of Xand postings. Penn State until it pays my retainer. / \ #LyX 1.3 created this file. For more info see http://www.lyx.org/ \lyxformat 221 \textclass article \begin_preamble %\leftline{ Name: \rule{4.75in}{.4pt} \\[10pt]} \end_preamble \language english \inputencoding latin1 \fontscheme default \graphics default \paperfontsize default \spacing single \papersize letterpaper \paperpackage a4 \use_geometry 1 \use_amsmath 0 \use_natbib 0 \use_numerical_citations 0 \paperorientation portrait \leftmargin 0.75in \topmargin 1.25in \rightmargin 0.75in \bottommargin 0.25in \secnumdepth 3 \tocdepth 3 \paragraph_separation indent \defskip medskip \quotes_language english \quotes_times 2 \papercolumns 1 \papersides 1 \paperpagestyle default \layout Title Business Statistics Quiz 4--Key \layout Date November 11, 1:30 P.M., MMII \layout Author Prof. Hawkins \layout Enumerate [20] Thanksgiving is coming, and I'm stocking my store with turkeys. Over the last nine years, I have sold an average of sixty-seven turkeys with a variance of nine. \begin_deeper \layout Enumerate [5] Find a \begin_inset Formula $ 95\% $ \end_inset confidence interval for the number of turkeys I sell. \begin_deeper \layout Standard \family typewriter Small sample, measured varianc (came from past years)--therefore \begin_inset Formula $ t$ \end_inset \family default . \layout Standard \family typewriter Form confidence interval with what you saw, give or take a critical statistic times the standard deviation of what you saw. \layout Standard \family typewriter \begin_inset Formula $ \bar{X}\pm t_{c}s_{\bar{X}}=\bar{X}\pm t_{c}\frac{s}{\sqrt{n}}$ \end_inset \layout Standard \family typewriter nine observations, so eight degrees of freedom \layout Standard \family typewriter \begin_inset Formula $ 67\pm 2.306\times\frac{3}{3}=67\pm 2.306$ \end_inset . \end_deeper \layout Enumerate [5] My marketing association informed me that the true variance is sixteen. Make a \begin_inset Formula $ 90\% $ \end_inset confidence interval. \begin_deeper \layout Standard \family typewriter Now I know the true variance, and can use \begin_inset Formula $ z$ \end_inset . \layout Standard \family typewriter \begin_inset Formula $ \bar{X}\pm z_{c}\sigma_{\bar{X}}$ \end_inset \layout Standard \family typewriter \begin_inset Formula $ 67\pm 1.65\times\frac{4}{3}=67\pm 2.20$ \end_inset . \end_deeper \layout Enumerate [5] Using the association's variance at the \begin_inset Formula $ 99\% $ \end_inset level, test the idea that the true mean is \begin_inset Formula $ 64$ \end_inset . \begin_deeper \layout Standard \family typewriter Step 1: State the hypothesis \layout Standard \family typewriter \begin_inset Formula $ H_{0}:\mu =64$ \end_inset \layout Standard \family typewriter \begin_inset Formula $ H_{1}:\mu\neq 64$ \end_inset \layout Standard \family typewriter Step 2: Find the critical statistic \layout Standard \family typewriter Since this is true variance, it's \begin_inset Formula $ z$ \end_inset . It's two-tailed, so \begin_inset Formula $ z_{c}=\pm 2.576$ \end_inset . \layout Standard \family typewriter Step 3: Calculate the test statistic \layout Standard \family typewriter \begin_inset Formula $ z=\frac{\bar{X}-\mu_{ 0}}{\sigma_{\bar{X}}}=\frac{67-64}{4/3}=\frac{3}{4}\times 3=\frac{9}{4}=2.25$ \end_inset \layout Standard \family typewriter Step 4: Perform the test \layout Standard \family typewriter This falls short of the critical value, so \emph on fail to reject \emph default the null hypothesis. \layout Standard \family typewriter Step 5: Summarize \layout Standard \family typewriter We can't prove with a \begin_inset Formula $ 99\% $ \end_inset chance of being right that the averach is something other than \begin_inset Formula $ 64.$ \end_inset \layout Standard \family typewriter \emph on \SpecialChar ~ \SpecialChar ~ \SpecialChar ~ or \layout Standard \family typewriter The data is consistent with a true mean of \begin_inset Formula $ 64$ \end_inset .(But this version is not preferred--this is at the upper edges of what we fail to reject, and we would have rejected at the \begin_inset Formula $ 95\% $ \end_inset level!) \end_deeper \layout Enumerate [5] Using my variance, see if I can prove that the average sales are less than \begin_inset Formula $ 69$ \end_inset with \begin_inset Formula $ 5\% $ \end_inset chance of error. \begin_deeper \layout Standard \
Re: seg fault, I don't know why
on continue, it gave me: (gdb) c Continuing. 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. Program received signal SIGABRT, Aborted. 0x28765850 in kill () from /usr/lib/libc.so.4 -- Richard E. Hawkins, Asst. Prof. of Economics/"\ ASCII ribbon campaign [EMAIL PROTECTED] Smeal 178 (814) 375-4700 \ / against HTML mail These opinions will not be those of Xand postings. Penn State until it pays my retainer. / \
seg fault, I don't know why
Lyx was mostly blocked by other windows. I think it received some random mouseclicks. This is cvs of Oct 10. Program received signal SIGSEGV, Segmentation fault. MathCursor::depth (this=0x0) at /usr/include/g++/stl_vector.h:210 210 { return size_type(end() - begin()); } (gdb) bt #0 MathCursor::depth (this=0x0) at /usr/include/g++/stl_vector.h:210 #1 0x822acef in MathCursor::cursor (this=0x0) at math_cursor.C:945 #2 0x8229f21 in MathCursor::par (this=0x0) at math_cursor.C:670 #3 0x8229e8f in MathCursor::getPos (this=0x0, x=@0xbfbfe4b4, y=@0xbfbfe4b8) at math_cursor.C:654 #4 0x821af97 in InsetFormulaBase::showInsetCursor (this=0x8701e80, bv=0x8614060) at formulabase.C:242 #5 0x821af4f in InsetFormulaBase::toggleInsetCursor (this=0x8701e80, bv=0x8614060) at formulabase.C:232 #6 0x805e988 in BufferView::Pimpl::cursorToggle (this=0x860e480) at BufferView_pimpl.C:606 #7 0x806bbad in boost::detail::function::void_function_obj_invoker0, boost::_bi::list1 > >, void>::invoke (function_obj_ptr={ obj_ptr = 0x8606400, const_obj_ptr = 0x8606400, func_ptr = 0x8606400}) at ../boost/boost/bind.hpp:135 #8 0x80576f2 in boost::signal0, int, less, b oost::function0 > >::operator() (this=0x860e49c) at ../../boost/boost/function/function_base.hpp:328 #9 0x8319a6a in Timeout::emit (this=0x860e49c) at Timeout.C:62 #10 0x83d7059 in C_intern_timeout_cb (data=0x860e49c) at Timeout_pimpl.C:33 #11 0x285b31bf in fl_handle_timeouts (msec=200) at timeout.c:134 ---Type to continue, or q to quit--- #12 0x285915fb in fl_handle_automatic (xev=0x285d7280, idle_cb=1) at forms.c:1704 #13 0x28591976 in do_interaction_step (wait_io=0) at forms.c:1835 #14 0x285920d9 in fl_treat_interaction_events (wait=0) at forms.c:2097 #15 0x28592121 in fl_check_forms () at forms.c:2111 #16 0x83f6b6d in lyx_gui::start (batch=@0xbfbff508, files=0xbfbff370) at lyx_gui.C:312 #17 0x8147006 in LyX::LyX (this=0xbfbff504, argc=@0xbfbff534, argv=0xbfbff580) at ../src/lyx_main.C:159 #18 0x81a7612 in main (argc=1, argv=0xbfbff580) at ../src/main.C:31 #19 0x8050681 in _start () (gdb) -- Richard E. Hawkins, Asst. Prof. of Economics/"\ ASCII ribbon campaign [EMAIL PROTECTED] Smeal 178 (814) 375-4700 \ / against HTML mail These opinions will not be those of Xand postings. Penn State until it pays my retainer. / \
still table troubles
Using what I was offered last week, I've produced some tables--but with milde problems. I've found that a table in the lower right of a 2x2 table gets me most of the way on spaceing--but not quite there. I want the label in the lower right to run sideways, as suggested. However, when I try to set this cell to a multicolumn so that I can align it, I get an error of "misplaced \omit \multicolumn{1}{|c|{Firm}. I expect to see \omit only after tab marks or the\crof an alighment. Proceed,and I'll ignorethis case. I've (hopefully) attachedthe file hawk -- Richard E. Hawkins, Asst. Prof. of Economics/"\ ASCII ribbon campaign [EMAIL PROTECTED] Smeal 178 (814) 375-4700 \ / against HTML mail These opinions will not be those of Xand postings. Penn State until it pays my retainer. / \ #LyX 1.3 created this file. For more info see http://www.lyx.org/ \lyxformat 221 \textclass article \language english \inputencoding auto \fontscheme default \graphics default \paperfontsize default \papersize Default \paperpackage a4 \use_geometry 0 \use_amsmath 0 \use_natbib 0 \use_numerical_citations 0 \paperorientation portrait \secnumdepth 3 \tocdepth 3 \paragraph_separation indent \defskip medskip \quotes_language english \quotes_times 2 \papercolumns 1 \papersides 1 \paperpagestyle default \layout Standard The first game is here and Figure \begin_inset LatexCommand \ref{cap:game-simple} \end_inset \layout Standard \begin_inset Float table wide false collapsed false \layout Standard \begin_inset Tabular \begin_inset Text \layout Standard \end_inset \begin_inset Text \layout Standard Public \end_inset \begin_inset Text \layout Standard \begin_inset Tabular \begin_inset Text \layout Standard \end_inset \begin_inset Text \layout Standard Firm \end_inset \end_inset \end_inset \begin_inset Text \layout Standard \begin_inset Tabular \begin_inset Text \layout Standard \end_inset \begin_inset Text \layout Standard Ignore \end_inset \begin_inset Text \layout Standard Contribute \end_inset \begin_inset Text \layout Standard Closed \end_inset \begin_inset Text \layout Standard \begin_inset Formula $ \left(0,0\right)$ \end_inset \end_inset \begin_inset Text \layout Standard \begin_inset Formula $ \left(0,0\right)$ \end_inset \end_inset \begin_inset Text \layout Standard Open \end_inset \begin_inset Text \layout Standard \begin_inset Formula $ \left(5,0\right)$ \end_inset \end_inset \begin_inset Text \layout Standard \begin_inset Formula $ \left(7,5\right)$ \end_inset \end_inset \end_inset \end_inset \end_inset \layout Caption Simple Game for Firm and Public \begin_inset LatexCommand \label{cap:game-simple} \end_inset \begin_inset LatexCommand \label{cap:Simple-Game} \end_inset \end_inset \layout Standard The more complicated game is \begin_inset LatexCommand \ref{cap:game-license-choice} \end_inset \layout Standard \begin_inset Float table wide false collapsed false \layout Standard \begin_inset Tabular \begin_inset Text \layout Standard \end_inset \begin_inset Text \layout Standard Public \end_inset \begin_inset Text \layout Standard \begin_inset Tabular \begin_inset Text \layout Standard \end_inset \begin_inset Text \layout Standard Firm \end_inset \end_inset \end_inset \begin_inset Text \layout Standard \begin_inset Tabular \begin_inset Text \layout Standard \end_inset \begin_inset Text \layout Standard Ignore \end_inset \begin_inset Text \layout Standard Contribute \end_inset \begin_inset Text \layout Standard Closed \end_inset \begin_inset Text \layout Standard \begin_inset Formula $ \left(0,0\right)$ \end_inset \end_inset \begin_inset Text \layout Standard \begin_inset Formula $ \left(0,0\right)$ \end_inset \end_inset \begin_inset Text \layout Standard Public \end_inset \begin_inset Text \layout Standard \begin_inset Formula $ \left(5,0\right)$ \end_inset \end_inset \begin_inset Text \layout Standard \begin_inset Formula $ \left(7,5\right)$ \end_inset \end_inset \begin_inset Text \layout Standard Viral \end_inset \begin_inset Text \layout Standard \begin_inset Formula $ \left(4,0\right)$ \end_inset \end_inset \begin_inset Text \layout Standard \begin_inset Formula $ \left(7,2\right)$ \end_inset \end_inset \end_inset \end_inset \end_inset \layout Caption License Choice for the Firm \begin_inset LatexCommand \label{cap:game-license-choice} \end_inset \end_inset \layout Standard The longest game is \begin_inset LatexCommand \ref{cap:game-competitor} \end_inset \layout Standard \begin_inset Float table wide false collapsed false \layout Standard \begin_inset Tabular \begin_inset Text \layout Standard \end_inset \begin_inset Tex
displaying game theory "games"?
Has anyone found a way to do this, either in lyx or latex? The problem with tabulars is that the lines extend all the way out. Roughly what I need is Player1name move1 move2 p m *** l o * * * a v * (3,5) *(4,7) * y e * * * e 1 * * * r *** 2 m * * * n o * (7,3) *(0,7) * a v * * * m e * * * e 2 *** That is, I need a couple of rows up top and columns to the left with no lines. hawk, baffled -- Richard E. Hawkins, Asst. Prof. of Economics/"\ ASCII ribbon campaign [EMAIL PROTECTED] Smeal 178 (814) 375-4700 \ / against HTML mail These opinions will not be those of Xand postings. Penn State until it pays my retainer. / \
Re: enumeration failure
On Mon, Nov 04, 2002 at 04:53:35PM +0100, Andre Poenitz wrote: > On Mon, Nov 04, 2002 at 10:50:09AM -0500, Dr. Richard E. Hawkins wrote: > > Also, ^G to insert a greek character seems to have stopped working. > Was this some personal setting of you? > Default is M-m g, and this seems to work well. I thought that last time we went through this, it came out that it *wasn't* my personal setting, and that it had made it into default bindings sometime along the way (I'm certain that it wasn't originally bound to that, as binding changes were infrequent in those days. When the command was kindly added at my request (good heavens; the command is older than two of my children!), I bound it to the closest thing I could to what I'd been typing for years on my macs :) > Those who desire to give up Freedom in order to gain Security, > will not have, nor do they deserve, either one. (T. Jefferson) Are you sure? I usually see it attributed to Franklin--though either of them would be likely to have come forth with it (then again, the phrasing isn't qutie what I'd expect of franklin). hawk -- Richard E. Hawkins, Asst. Prof. of Economics/"\ ASCII ribbon campaign [EMAIL PROTECTED] Smeal 178 (814) 375-4700 \ / against HTML mail These opinions will not be those of Xand postings. Penn State until it pays my retainer. / \
enumeration failure
At about page eleven (Conducting a Chi-square test), lyx displays the enumeration as 0 for each entry. The latex output renders correctly. Also, ^G to insert a greek character seems to have stopped working. Did a recent update clobber config files or some such? -- Richard E. Hawkins, Asst. Prof. of Economics/"\ ASCII ribbon campaign [EMAIL PROTECTED] Smeal 178 (814) 375-4700 \ / against HTML mail These opinions will not be those of Xand postings. Penn State until it pays my retainer. / \
Re: Thanx for autosave!
On Tue, Oct 22, 2002 at 03:24:34AM +0930, Darren Freeman wrote: > Thanks for autosave!!! It's rare for me to entirely recover from > something like a hard reset, so you guys should pat yourselves on the > back. Yes, it's wonderful (although there was that glitch a few years ago, that bit if you hadn't autosaved . . .) > Even MS Word *still* can't recover properly via autosaves. Oh, they > assure us that you can, but in practice the autosave is usually > corrupted anyway! I used Word almost daily from its release in 1984 until I switched completely to lyx in 1996 (over equations, not autosave). This includes 5 years of a full time law practice. Autosave recovered exactly one (1) file successfully in 12 years . . . hawk
reconfigure reset me from aspell to ispell
I just tried to use the spellchecker. Apparently, reconfigure has reset me to ispell rather than aspell as I had previously set lyx to. Additionally, the "can't find ispell" dialog box pops up twice rather than once. hawk -- Richard E. Hawkins, Asst. Prof. of Economics/"\ ASCII ribbon campaign [EMAIL PROTECTED] Smeal 178 (814) 375-4700 \ / against HTML mail These opinions will not be those of Xand postings. Penn State until it pays my retainer. / \
Re: Feature request: word count needed
On Thu, Oct 17, 2002 at 06:06:32PM +0100, John Levon wrote: > On Fri, Oct 18, 2002 at 02:32:28AM +0930, Darren Freeman wrote: > > I couldn't find a way to get a word count in LyX 1.2.1 (other than > > spellchecking which is a pain). > Long-requested, and long wanted. It just hit me--why not just list this as a command, but have it do a text export piped to wc? hawk
Re: [LyX meeting 2003] good news
On Tue, Oct 15, 2002 at 09:33:16PM +0100, John Levon wrote: > On Tue, Oct 15, 2002 at 04:15:07PM -0400, Dr. Richard E. Hawkins wrote: > > > If there is any hope of me coming it can't be the last weekend. That's > > > Glastonbury weekend ! > > Is that when everyone limps around the castle looking for the Holy > > Grail? > Not far off , actually ... > http://www.glastonburyfestivals.co.uk/ > 120,00 people in a field :) mmm, interesting. And now it occurs to me that Glaston and Glastonbury are not likely the same, anyway . . . hawk, who should find a copy of The Hidden Treasures of Glaston for his daughters oh, wait; that may be that old Jr. HIgh book I ended up with . . .
Re: [LyX meeting 2003] good news
On Tue, Oct 15, 2002 at 08:08:18PM +0100, John Levon wrote: > On Tue, Oct 15, 2002 at 10:55:24AM +0200, Andre Poenitz wrote: > > As Juergen and Jean-Marc have stated preference for June and nobody else > > said something I'll try to fix everything for "end of June" (21. or 28.) > If there is any hope of me coming it can't be the last weekend. That's > Glastonbury weekend ! Is that when everyone limps around the castle looking for the Holy Grail? :) hawk
Re: status for cascading depths problem?
On Fri, Oct 11, 2002 at 03:14:06PM +0100, Angus Leeming wrote: > On Friday 11 October 2002 3:08 pm, Dr. Richard E. Hawkins wrote: > > Here's the original. > which appears fine with my copy of today's cvs... Hmm, and now it's fine on mine. And now I realize that yesterday I probably opened that temporary copy I made on Wednesday, rather than the original file . . . hawk -- Richard E. Hawkins, Asst. Prof. of Economics/"\ ASCII ribbon campaign [EMAIL PROTECTED] Smeal 178 (814) 375-4700 \ / against HTML mail These opinions will not be those of Xand postings. Penn State until it pays my retainer. / \
preparation for watching for the undo crash?
I haven't been bit for a couple of weeks, but knowing that it's a hard to solve problem, I assume that it will byte again. I'm already running lyx in a debugger all the time (I've aliased ly to xterm -iconic -n lyxterm -e gdb /usr/local/bin/lyx -x ~/.scripts/lyxrun & and the script is merely "run" When the bug bytes again, is there anything I should provide other than the backtrace? A corefile? The document--but in what form? Last saved version? the emergency save? I assume that a verbal description of where I was will help, too. hawk -- Richard E. Hawkins, Asst. Prof. of Economics/"\ ASCII ribbon campaign [EMAIL PROTECTED] Smeal 178 (814) 375-4700 \ / against HTML mail These opinions will not be those of Xand postings. Penn State until it pays my retainer. / \
Re: status for cascading depths problem?
On Thu, Oct 10, 2002 at 04:20:26PM +0200, Dekel Tsur wrote: > On Thu, Oct 10, 2002 at 10:16:11AM -0400, Dr. Richard E. Hawkins wrote: > > > If you have a file doesn't work, post it here. > > Here's one from November, 2000: > > #LyX 1.3 created this file. For more info see http://www.lyx.org/ > > \lyxformat 221 > This file was saved by lyx 1.3.0cvs. Post the original file. Seems that I outsmarted myself by saving it to /tmp before attaching it :) Here's the original. hawk -- Richard E. Hawkins, Asst. Prof. of Economics/"\ ASCII ribbon campaign [EMAIL PROTECTED] Smeal 178 (814) 375-4700 \ / against HTML mail These opinions will not be those of Xand postings. Penn State until it pays my retainer. / \ #LyX 1.1 created this file. For more info see http://www.lyx.org/ \lyxformat 2.15 \textclass article \begin_preamble %\leftline{ Name: \rule{4.75in}{.4pt} \\[10pt]} \end_preamble \language default \inputencoding latin1 \fontscheme default \graphics default \paperfontsize default \spacing single \papersize letterpaper \paperpackage a4 \use_geometry 1 \use_amsmath 0 \paperorientation portrait \leftmargin 0.75in \topmargin 0.75in \rightmargin 0.75in \bottommargin 0.25in \secnumdepth 3 \tocdepth 3 \paragraph_separation indent \defskip medskip \quotes_language english \quotes_times 2 \papercolumns 1 \papersides 1 \paperpagestyle default \layout Title Microeconomics Quiz 5 \layout Author Prof. Hawkins \layout Date November 28, 2000 \layout LaTeX \backslash vspace{-2.5in} \layout LaTeX \backslash leftline{ Name: \backslash rule{3in}{.4pt} \backslash \backslash [10pt]} \layout LaTeX \backslash vspace{2.5in} \layout Enumerate [4] Table \begin_inset LatexCommand \ref{compFirmMC} \end_inset shows supply and demand curves for individual firm, and Table \begin_inset LatexCommand \ref{compConsumerDemand1} \end_inset for an individual consumer. Suppose that the market is made up of 30 such consumers, and 10 such firms. \begin_float tab \layout Standard \align center \LyXTable multicol5 13 2 0 0 -1 -1 -1 -1 1 1 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 1 0 0 4 1 0 "" "" 4 1 1 "" "" 0 4 1 0 0 0 0 "" "" 0 4 1 0 0 0 0 "" "" 0 4 1 0 0 0 0 "" "" 0 4 1 0 0 0 0 "" "" 0 4 1 0 0 0 0 "" "" 0 4 1 0 0 0 0 "" "" 0 4 1 0 0 0 0 "" "" 0 4 1 0 0 0 0 "" "" 0 4 1 0 0 0 0 "" "" 0 4 1 0 0 0 0 "" "" 0 4 1 0 0 0 0 "" "" 0 4 1 0 0 0 0 "" "" 0 4 1 0 0 0 0 "" "" 0 4 1 0 0 0 0 "" "" 0 4 1 0 0 0 0 "" "" 0 4 1 0 0 0 0 "" "" 0 4 1 0 0 0 0 "" "" 0 4 1 0 0 0 0 "" "" 0 4 1 0 0 0 0 "" "" 0 4 1 0 0 0 0 "" "" 0 4 1 0 0 0 0 "" "" 0 4 1 0 0 0 0 "" "" 0 4 1 0 0 0 0 "" "" 0 4 1 0 0 0 0 "" "" 0 4 1 0 0 0 0 "" "" 0 4 1 0 0 0 0 "" "" Q \newline MC \newline 1 \newline 0 \newline 2 \newline 0 \newline 3 \newline 10 \newline 4 \newline 20 \newline 5 \newline 30 \newline 6 \newline 40 \newline 7 \newline 50 \newline 8 \newline 60 \newline 9 \newline 70 \newline 10 \newline 80 \newline 11 \newline 90 \newline 12 \newline 100 \layout Caption Cost data for one firm \begin_inset LatexCommand \label{compFirmMC} \end_inset \end_float \begin_float tab \layout Standard \align center \LyXTable multicol5 10 2 0 0 -1 -1 -1 -1 1 1 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 1 0 0 8 1 0 "" "" 8 1 1 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" P \newline Q \newline 10 \newline 8 \newline 20 \newline 7 \newline 40 \newline 6 \newline 50 \newline 5 \newline 60 \newline 4 \newline 70 \newli
Re: Towards 1.2.2 [status update #1]
On Thu, Oct 10, 2002 at 11:50:50AM +0200, Jean-Marc Lasgouttes wrote: > > In 1.2.2.cvs, I see > > case LFUN_WORDRIGHTSEL: > case LFUN_WORDLEFTSEL: > break; > Which really looks like something which is not implemented. Aren't those those the functions I wrote for selecting the "current" word for the default insert-index? It seems to me that you replaced them a couple of years ago. If these *are* those, though, I believe that I had multiple functions for use depending upon whether the cursor was immediately after the word (base case), had text on both sides, or had white space to the left. hawk -- Richard E. Hawkins, Asst. Prof. of Economics/"\ ASCII ribbon campaign [EMAIL PROTECTED] Smeal 178 (814) 375-4700 \ / against HTML mail These opinions will not be those of Xand postings. Penn State until it pays my retainer. / \
Re: status for cascading depths problem?
On Wed, Oct 09, 2002 at 10:06:49PM +0200, Dekel Tsur wrote: > On Wed, Oct 09, 2002 at 04:01:09PM -0400, Dr. Richard E. Hawkins wrote: > > I had thought that there was a fix for the cascading depth problem > > committed a couple of weeks ago, but an update from today didn't get it. > The problem has been fixed. Are you sure you have an updated version ? Yes; cvs yesterday, and then again today. > If you have a file doesn't work, post it here. Here's one from November, 2000: -- Richard E. Hawkins, Asst. Prof. of Economics/"\ ASCII ribbon campaign [EMAIL PROTECTED] Smeal 178 (814) 375-4700 \ / against HTML mail These opinions will not be those of Xand postings. Penn State until it pays my retainer. / \ #LyX 1.3 created this file. For more info see http://www.lyx.org/ \lyxformat 221 \textclass article \begin_preamble %\leftline{ Name: \rule{4.75in}{.4pt} \\[10pt]} \end_preamble \language english \inputencoding latin1 \fontscheme default \graphics default \paperfontsize default \spacing single \papersize letterpaper \paperpackage a4 \use_geometry 1 \use_amsmath 0 \use_natbib 0 \use_numerical_citations 0 \paperorientation portrait \leftmargin 0.75in \topmargin 0.75in \rightmargin 0.75in \bottommargin 0.25in \secnumdepth 3 \tocdepth 3 \paragraph_separation indent \defskip medskip \quotes_language english \quotes_times 2 \papercolumns 1 \papersides 1 \paperpagestyle default \layout Title Microeconomics Quiz 5 \layout Author Prof. Hawkins \layout Date November 28, 2000 \layout Standard \begin_inset ERT status Collapsed \layout Standard \backslash vspace{-2.5in} \layout Standard \backslash leftline{ Name: \backslash rule{3in}{.4pt} \backslash \backslash [10pt]} \layout Standard \backslash vspace{2.5in} \end_inset \layout Enumerate [1] If a competitive firm is making an economic profit, what can we say about its operating environment? Make as strong a statement as you can. \begin_deeper \layout Standard \begin_inset ERT status Collapsed \layout Standard \backslash vspace{1.5in} \end_inset \layout Enumerate [2] How do MR and P compare \begin_deeper \layout Enumerate for the competitive firm? \begin_deeper \layout Standard \begin_inset ERT status Collapsed \layout Standard \backslash vspace{.5in} \end_inset \layout Enumerate How about for a monopolist? \begin_deeper \layout Standard \begin_inset ERT status Collapsed \layout Standard \backslash vspace{.5in} \layout Standard \backslash clearpage \end_inset \layout Enumerate [4] Table \begin_inset LatexCommand \ref{compFirmMC} \end_inset shows supply and demand curves for individual firm, and Table \begin_inset LatexCommand \ref{compConsumerDemand1} \end_inset for an individual consumer. Suppose that the market is made up of 30 such consumers, and 10 such firms. \begin_inset Float table wide false collapsed false \layout Standard \align center \begin_inset Tabular \begin_inset Text \layout Standard Q \end_inset \begin_inset Text \layout Standard MC \end_inset \begin_inset Text \layout Standard 1 \end_inset \begin_inset Text \layout Standard 0 \end_inset \begin_inset Text \layout Standard 2 \end_inset \begin_inset Text \layout Standard 0 \end_inset \begin_inset Text \layout Standard 3 \end_inset \begin_inset Text \layout Standard 10 \end_inset \begin_inset Text \layout Standard 4 \end_inset \begin_inset Text \layout Standard 20 \end_inset \begin_inset Text \layout Standard 5 \end_inset \begin_inset Text \layout Standard 30 \end_inset \begin_inset Text \layout Standard 6 \end_inset \begin_inset Text \layout Standard 40 \end_inset \begin_inset Text \layout Standard 7 \end_inset \begin_inset Text \layout Standard 50 \end_inset \begin_inset Text \layout Standard 8 \end_inset \begin_inset Text \layout Standard 60 \end_inset \begin_inset Text \layout Standard 9 \end_inset \begin_inset Text \layout Standard 70 \end_inset \begin_inset Text \layout Standard 10 \end_inset \begin_inset Text \layout Standard 80 \end_inset \begin_inset Text \layout Standard 11 \end_inset \begin_inset Text \layout Standard 90 \end_inset \begin_inset Text \layout Standard 12 \end_inset \begin_inset Text \layout Standard 100 \end_inset \end_inset \layout Caption Cost data for one firm \begin_inset LatexCommand \label{compFirmMC} \end_inset \end_inset \begin_inset Float table wide false collapsed false \layout Standard \align center \begin_inset Tabular \begin_inset Text \layout Standard P \end_inset \begin_inset Text \layout Standard Q \end_inset \begin_inset Text \layout Standard 10 \end_inset \begin_inset Text \layout Standard 8 \end_inset \begin_inset Text \layout Standard 20 \end_inset \begin_inset Text \layout
status for cascading depths problem?
I had thought that there was a fix for the cascading depth problem committed a couple of weeks ago, but an update from today didn't get it. I need to print out a couple of dozen documents from two years ago until the present. Is my best bet to build another lyx of appropriate vintage? (and if so, can someone remeind me what the cvs flag to do this is?) hawk -- Richard E. Hawkins, Asst. Prof. of Economics/"\ ASCII ribbon campaign [EMAIL PROTECTED] Smeal 178 (814) 375-4700 \ / against HTML mail These opinions will not be those of Xand postings. Penn State until it pays my retainer. / \
crash moving with arrow in a fraction
I had a fraction inside a comment. I put n in the numerator, asked for parenthesis in the denominator, entered n-r, exited the parentheses, added an exclamation point, and hit up-arrow to get back to the numerator. Both numerator and denominatro became highlighted, and ived signal SIGSEGV, Segmentation fault. 0x822695d in MathAtom::MathAtom (this=0x87fbb40, at=@0x87fbb3c) at math_atom.C:38 38 : nucleus_(at.nucleus_ ? at.nucleus_->clone() : 0) (gdb) bt #0 0x822695d in MathAtom::MathAtom (this=0x87fbb40, at=@0x87fbb3c) at math_atom.C:38 #1 0x8234d0d in vector >::_M_insert_aux ( this=0x87faaf8, __position=0x87fbb44, __x=@0xbfbfd03c) at /usr/include/g++/stl_construct.h:48 #2 0x8233f85 in MathArray::insert (this=0x87faaf8, pos=1, t=@0xbfbfd03c) at /usr/include/g++/stl_vector.h:348 #3 0x82279f0 in MathCursor::plainInsert (this=0x880dfc0, t=@0xbfbfd03c) at math_cursor.C:349 #4 0x8227c19 in MathCursor::insert (this=0x880dfc0, c=33 '!') at math_cursor.C:367 #5 0x822e464 in MathCursor::interpret (this=0x880dfc0, c=33 '!') at math_cursor.C:1337 #6 0x821cdd9 in InsetFormulaBase::localDispatch (this=0x8802000, cmd=@0xbfbfdfac) at formulabase.C:695 #7 0x8164421 in LyXFunc::dispatch (this=0x857ba00, ev=@0xbfbfe044, verbose=false) at lyxfunc.C:754 #8 0x816229c in LyXFunc::processKeySym (this=0xbfbfe0fc, keysym=0xbfbfe0fc, state=shift) at lyxfunc.C:239 #9 0x805de9a in BufferView::Pimpl::workAreaKeyPress (this=0x860e480, key={ px = 0xbfbfe178, pn = {pi_ = 0x4}}, state=shift) at BufferView_pimpl.C:406 #10 0x806c26e in boost::detail::function::void_function_obj_invoker2 to continue, or q to quit--- :bind_t, key_modifier::state>, boost::_bi::list3, boost::arg<1>, boost::arg<2> > >, void, boost::shared_ptr, key_modifier::state>::invoke (function_obj_ptr={obj_ptr = 0x8609d90, const_obj_ptr = 0x8609d90, func_ptr = 0x8609d90}, a0=0xbfbfe3fc, a1=shift) at ../boost/boost/bind/mem_fn_template.hpp:213 #11 0x83ebdcb in boost::signal2, key_modifier::state, boost::last_value, int, less, boost::function2, key_modifier::state, boost::empty_function_policy, boost::empty_function_mixin, allocator > >::operator() ( this=0xbfbfeb08, a1=0xbfbfeb08, a2=shift) at ../../../boost/boost/function/function_template.hpp:328 #12 0x83e61d4 in XWorkArea::work_area_handler (ob=0x860fe00, event=9, key=33, xev=0x285d6280) at XWorkArea.C:503 #13 0x83e4ad2 in C_XWorkArea_work_area_handler (ob=0x860fe00, event=9, key=33, xev=0x285d6280) at XWorkArea.C:143 #14 0x2859fb66 in fl_handle_it (obj=0x860fe00, event=9, mx=286, my=732, key=33, xev=0x285d6280) at objects.c:1542 #15 0x2859fc28 in fl_handle_object (obj=0x860fe00, event=9, mx=286, my=732, key=33, xev=0x285d6280) at objects.c:1572 #16 0x2858fb1b in fl_keyboard (form=0x85fc700, key=33, x=286, y=732, xev=0x285d6280) at forms.c:1286 #17 0x2858ff68 in fl_handle_form (form=0x85fc700, event=9, key=33, ---Type to continue, or q to quit--- xev=0x285d6280) at forms.c:1427 #18 0x28590368 in do_keyboard (xev=0x285d6280, formevent=9) at forms.c:1586 #19 0x28590a62 in do_interaction_step (wait_io=0) at forms.c:1867 #20 0x285910d9 in fl_treat_interaction_events (wait=0) at forms.c:2097 #21 0x28591121 in fl_check_forms () at forms.c:2111 #22 0x83f57d1 in lyx_gui::start (batch=@0xbfbff57c, files=0xbfbff3e4) at lyx_gui.C:312 #23 0x814700a in LyX::LyX (this=0xbfbff578, argc=@0xbfbff5a8, argv=0xbfbff5f4) at ../src/lyx_main.C:159 #24 0x81a6cde in main (argc=1, argv=0xbfbff5f4) at ../src/main.C:31 #25 0x8050685 in _start () is the impetus for so many varied, spread formations, the new > role of the tight end and a desire to throw the ball? > > "It is difficult to run it," said Kevin Gilbride, Buffalo's offensive > coordinator. "Defenses are bunched up at the line negating the run > and you put them at a disadvantage by making them play in open > spaces. The preponderance of zone blitzes gives you an opportunity to > throw the ball into some of those voids. And somehow that is viewed > as OK now. When I was with Houston a few years ago and we ran a > pass-first offense, it was somewhat viewed as a negative. I do not > see, feel or hear that anymore." > > Chad Lewis, Philadelphia's rock-solid tight end, said that when he > entered the league six years ago he was primarily used on third downs > and in the red zone. > > "We have an offense that is not afraid now to use me from first to > fourth down and on third-and-long as well as third-and-short," Lewis > said. "I have the responsibility of knowing all of the offensive > linemen's calls and the quarterback's receiver calls. Teams around > the league now are using tight ends to expose defensive weaknesses." > > When Carolina plays at Green Bay on Sunday, Jack Del Rio, Carolina's > defensive coordinator, expects the Packers to employ their tight ends > in numerous ways. So far, Del Rio said, Carolina has not played a >
another crash
I think I was printing or using custom export. It was right before class, and I just launched another lyx to print. Program received signal SIGSEGV, Segmentation fault. MathCursor::depth (this=0x0) at /usr/include/g++/stl_vector.h:210 210 { return size_type(end() - begin()); } (gdb) bt #0 MathCursor::depth (this=0x0) at /usr/include/g++/stl_vector.h:210 #1 0x822a387 in MathCursor::cursor (this=0x0) at math_cursor.C:945 #2 0x82295b9 in MathCursor::par (this=0x0) at math_cursor.C:670 #3 0x8229527 in MathCursor::getPos (this=0x0, x=@0xbfbfe528, y=@0xbfbfe52c) at math_cursor.C:654 #4 0x821a62f in InsetFormulaBase::showInsetCursor (this=0x869bd00, bv=0x8602fe0) at formulabase.C:242 #5 0x821a5e7 in InsetFormulaBase::toggleInsetCursor (this=0x869bd00, bv=0x8602fe0) at formulabase.C:232 #6 0x805e98c in BufferView::Pimpl::cursorToggle (this=0x860e480) at BufferView_pimpl.C:606 #7 0x806bbb1 in boost::detail::function::void_function_obj_invoker0, boost::_bi::list1 > >, void>::invoke (function_obj_ptr={ obj_ptr = 0x8609dc0, const_obj_ptr = 0x8609dc0, func_ptr = 0x8609dc0}) at ../boost/boost/bind.hpp:135 #8 0x80576f6 in boost::signal0, int, less, boost::function0 > >::operator() (this=0x860e49c) at ../../boost/boost/function/function_base.hpp:328 #9 0x8318976 in Timeout::emit (this=0x860e49c) at Timeout.C:62 #10 0x83d5c95 in C_intern_timeout_cb (data=0x860e49c) at Timeout_pimpl.C:33 #11 0x285b21bf in fl_handle_timeouts (msec=10) at timeout.c:134 ---Type to continue, or q to quit--- #12 0x28591a63 in get_next_event (wait_io=0, form=0xbfbfedc8, xev=0x285d6280) at forms.c:2484 #13 0x285906d2 in do_interaction_step (wait_io=0) at forms.c:1765 #14 0x285910d9 in fl_treat_interaction_events (wait=0) at forms.c:2097 #15 0x28591121 in fl_check_forms () at forms.c:2111 #16 0x83f57d1 in lyx_gui::start (batch=@0xbfbff57c, files=0xbfbff3e4) at lyx_gui.C:312 #17 0x814700a in LyX::LyX (this=0xbfbff578, argc=@0xbfbff5a8, argv=0xbfbff5f4) at ../src/lyx_main.C:159 #18 0x81a6cde in main (argc=1, argv=0xbfbff5f4) at ../src/main.C:31 #19 0x8050685 in _start () (gdb) -- Richard E. Hawkins, Asst. Prof. of Economics/"\ ASCII ribbon campaign [EMAIL PROTECTED] Smeal 178 (814) 375-4700 \ / against HTML mail These opinions will not be those of Xand postings. Penn State until it pays my retainer. / \
here's the image
On Wed, Oct 02, 2002 at 12:28:24PM -0400, Dr. Richard E. Hawkins wrote: > After adding a graphic, this little yellow message stays in the same > spot on the screen as I scroll! Did it again. Here's the attachment. -- Richard E. Hawkins, Asst. Prof. of Economics/"\ ASCII ribbon campaign [EMAIL PROTECTED] Smeal 178 (814) 375-4700 \ / against HTML mail These opinions will not be those of Xand postings. Penn State until it pays my retainer. / \ badmessage.png Description: PNG image
yellow message sticks around
After adding a graphic, this little yellow message stays in the same spot on the screen as I scroll! No dialog boxes are still open. Selecting the text behind didn't help. It seems to have gone away when I used xv to capture it. hawk -- Richard E. Hawkins, Asst. Prof. of Economics/"\ ASCII ribbon campaign [EMAIL PROTECTED] Smeal 178 (814) 375-4700 \ / against HTML mail These opinions will not be those of Xand postings. Penn State until it pays my retainer. / \
space no longer gets out of subscripts in math
Current cvs. Space no longer gets out of a subscript in math, at least in the numerator of a fraction. hawk -- Richard E. Hawkins, Asst. Prof. of Economics/"\ ASCII ribbon campaign [EMAIL PROTECTED] Smeal 178 (814) 375-4700 \ / against HTML mail These opinions will not be those of Xand postings. Penn State until it pays my retainer. / \
Re: VACATION IN ORLANDO FLORIDA
Gee, should this be taken as an offer of airfare and lodging for the next lyx conference? :) hawk -- Richard E. Hawkins, Asst. Prof. of Economics/"\ ASCII ribbon campaign [EMAIL PROTECTED] Smeal 178 (814) 375-4700 \ / against HTML mail These opinions will not be those of Xand postings. Penn State until it pays my retainer. / \
Re: this file has the cascade problem really bad!
On Tue, Oct 01, 2002 at 09:39:13AM +0200, Andre Poenitz wrote: > On Tue, Oct 01, 2002 at 08:40:25AM +0100, Jos? Ab?lio Oliveira Matos wrote: > > Reading Martin's messages I don't think that the problem is related with > > lyx2lyx but with the new counter code. Maybe I am wrong, in that case I will > > take a look. > Well. Is the .lyx produced by lyx2lyx ok or not? This is a file from last semester; lyx2lyx first gets near it when you load it. hawk
this file has the cascade problem really bad!
yikes! -- Richard E. Hawkins, Asst. Prof. of Economics/"\ ASCII ribbon campaign [EMAIL PROTECTED] Smeal 178 (814) 375-4700 \ / against HTML mail These opinions will not be those of Xand postings. Penn State until it pays my retainer. / \ #LyX 1.2 created this file. For more info see http://www.lyx.org/ \lyxformat 218 \textclass article \begin_preamble %\leftline{ Name: \rule{4.75in}{.4pt} \\[10pt]} \end_preamble \language english \inputencoding latin1 \fontscheme default \graphics default \paperfontsize default \spacing single \papersize letterpaper \paperpackage a4 \use_geometry 1 \use_amsmath 0 \paperorientation portrait \leftmargin 0.75in \topmargin 1.25in \rightmargin 0.75in \bottommargin 0.25in \secnumdepth 3 \tocdepth 3 \paragraph_separation indent \defskip medskip \quotes_language english \quotes_times 2 \papercolumns 1 \papersides 1 \paperpagestyle default \layout Title Probability \layout Author Prof. Hawkins \layout Date Due: June 19, MMI, Noon \layout Standard 5 points. Your report should be typed and in a coherent format. \layout Standard Recall the example in class where we each rolled three dice, and calculated the mean. This continues from there. \layout Enumerate For a single roll of \begin_inset Formula \( 1d6 \) \end_inset , what is the \begin_deeper \layout Enumerate expected value \layout Enumerate the variance? \end_deeper \layout Enumerate \begin_inset LatexCommand \label{makeRolls} \end_inset Make a table with the results of \begin_inset Formula \( 36 \) \end_inset rolls. \begin_deeper \layout Enumerate Calculate your sample mean. \layout Enumerate Calculate your sample variance. \layout Enumerate Make a histogram of the individual rolls \end_deeper \layout Enumerate How do your results in \begin_inset LatexCommand \ref{makeRolls} \end_inset compare to what you expected? Be specific. \layout Enumerate Using a spreadsheet or Minitab, draw \begin_inset Formula \( 100 \) \end_inset samples of \begin_inset Formula \( 49 \) \end_inset observations each. Calculate the mean for each of your samples. In a spreadsheet, a random number from \begin_inset Formula \( 1 \) \end_inset to \begin_inset Formula \( n \) \end_inset can be created by the equation \begin_inset Formula \( =int\left( n*rand()\right) +1 \) \end_inset (In current versions of excel, you may use \begin_inset Formula \( rand\_between(1,n) \) \end_inset to obtain an integer from \begin_inset Formula \( 1 \) \end_inset to \begin_inset Formula \( n \) \end_inset if you have appropriate modules installed). The \begin_inset Formula \( rand() \) \end_inset returns a variable between \begin_inset Formula \( 0 \) \end_inset and \begin_inset Formula \( 1 \) \end_inset , the \begin_inset Formula \( n \) \end_inset scales it, the \begin_inset Formula \( int \) \end_inset turns it into the next lowest integer, and the \begin_inset Formula \( +1 \) \end_inset shifts it so the minimum value is \begin_inset Formula \( 1 \) \end_inset rather than \begin_inset Formula \( 0 \) \end_inset . \layout Enumerate Make a histogram of your sample means. \layout Enumerate Download the data from \latex latex \latex default http://www.personal.psu.edu/reh18/stat200/lab2.xls \latex latex \begin_deeper \layout Enumerate Calculate \begin_deeper \layout Enumerate the mean \layout Enumerate the median \layout Enumerate the mode \layout Enumerate the variance \layout Enumerate the standard deviation \end_deeper \layout Enumerate make a histogram \layout Enumerate what might have produced this data? \layout LaTeX \backslash pagebreak \end_deeper \layout Enumerate Let the following definitions hold: \begin_deeper \layout Standard \begin_inset Formula \( A\equiv \left\{ 1,3,5,7,9\right\} \) \end_inset \layout Standard \begin_inset Formula \( B\equiv \left\{ 2,4,6,8\right\} \) \end_inset \layout Standard \begin_inset Formula \( C\equiv \left\{ 3,5,8,9\right\} \) \end_inset \layout Standard \begin_inset Formula \( D\equiv \left\{ 2,4\right\} \) \end_inset \layout Standard \begin_inset Formula \( E\equiv \left\{ 7\right\} \) \end_inset \layout Enumerate what is \begin_inset Formula \( S \) \end_inset , the universal set? \begin_deeper \layout LaTeX \backslash vskip .5in \end_deeper \layout Enumerate what is \begin_inset Formula \( D\cap E \) \end_inset \begin_deeper \layout LaTeX \backslash vskip .5in \end_deeper \layout Enumerate what is \begin_inset Formula \( \bar{C} \) \end_inset \begin_deeper \layout LaTeX \backslash vskip .5in \end_deeper \layout Enumerate What is \begin_inset Formula \( E/A \) \end_inset \begin_deeper \layout LaTeX \backslash vskip .5in \end_deeper \layout Enumerate what is \begin_inset Formula \( D\cup C \) \end_inset \begin_deeper \layout LaTeX \backslash vskip .5in \end_de
Re: depth not working right on file conversion
On Sat, Sep 28, 2002 at 08:56:18PM +0300, Dekel Tsur wrote: > On Thu, Sep 26, 2002 at 11:58:41AM -0400, Dr. Richard E. Hawkins wrote: > > I've seen a few varieties of this--the depth cascades rightward instead > > of coming back on old files. I've attached a file that does this. > Where is the file? ack. Still not quite used to mutt . . . Here's one htat does it: -- Richard E. Hawkins, Asst. Prof. of Economics/"\ ASCII ribbon campaign [EMAIL PROTECTED] Smeal 178 (814) 375-4700 \ / against HTML mail These opinions will not be those of Xand postings. Penn State until it pays my retainer. / \ #LyX 1.1 created this file. For more info see http://www.lyx.org/ \lyxformat 2.15 \textclass article \language default \inputencoding default \fontscheme default \graphics default \paperfontsize default \spacing single \papersize Default \paperpackage a4 \use_geometry 1 \use_amsmath 0 \paperorientation portrait \leftmargin 1in \topmargin 1in \rightmargin 1in \bottommargin 1in \secnumdepth 3 \tocdepth 3 \paragraph_separation indent \defskip medskip \quotes_language english \quotes_times 2 \papercolumns 1 \papersides 1 \paperpagestyle default \layout Title Homework 5 \layout Date Fall 2000 \layout Author Prof. Richard Hawkins, Microeconomics \layout Standard Turn in this homework, and also Exercise 10 from the book. \layout Enumerate Price elasticity of demand is useful because it measures __ responsivene ss to changes in __. \layout Enumerate \begin_inset Quotes eld \end_inset Less elastic \begin_inset Quotes erd \end_inset means \begin_deeper \layout Enumerate unchanging \layout Enumerate less desirable \layout Enumerate more desirable \layout Enumerate less responsive \layout Enumerate more responsive \end_deeper \layout Enumerate The price elasticity of demand measures \layout Enumerate If something is more elastic, it suggests that (as compared to something less elastic with the same underlying variable) \layout Enumerate Does the price elasticity of demand usually vary as we move along the demand curve? How? \begin_deeper \layout Standard For the folllowing questions 6 through 16, assume that we have made the following initial observations. \layout Standard \added_space_top 0.3cm \added_space_bottom 0.3cm \align center \LyXTable multicol5 4 3 0 0 -1 -1 -1 -1 1 1 0 0 1 0 0 0 1 0 0 0 1 1 0 0 2 1 0 "" "" 4 1 0 "" "" 4 1 1 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 2 1 0 0 0 0 "" "" 0 4 1 0 0 0 0 "" "" 0 4 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" 0 8 1 0 0 0 0 "" "" Good \newline Price \newline Quantity Demanded \newline Ice Cream \newline $1.60 \newline 40 \newline Cherries \newline $.20 \newline 30 \newline Frozen Yogurt \newline $1.00 \newline 15 \layout Standard Suppose that we then observe that the price of ice cream increases to $1.76, and quantity demanded decreases to 38. For the purposes of calculating elasticity, \end_deeper \layout Enumerate Price is \layout Enumerate Quantity is \layout Enumerate The change in price is \layout Enumerate The change in quantity is \layout Enumerate The price elasticity of demand is (show your work) \begin_deeper \layout LaTeX \backslash vspace{2in} \end_deeper \layout Enumerate Characerize this demand (i.e., elastic, perfectly inelastic, etc.) \layout Enumerate How does the change affect the seller's revenue? \begin_deeper \layout Standard For questions \begin_inset LatexCommand \ref{beginCherries} \end_inset - \begin_inset LatexCommand \ref{endCherries} \end_inset , suppose that when the price of cherries changes to $.24, the quantity demanded of ice cream at the original price drops to 36. \end_deeper \layout Enumerate \begin_inset LatexCommand \label{beginCherries} \end_inset This suggests that cherries and ice cream are \begin_deeper \layout Enumerate substitutes \layout Enumerate complements \layout Enumerate inferior goods \layout Enumerate normal goods \layout Enumerate superior goods \end_deeper \layout Enumerate The relevant elasticicty would be \begin_deeper \layout Enumerate price elasticity of demand \layout Enumerate income elasticity of demand \layout Enumerate cross price elasticty \layout Enumerate price elasticity of supply \layout Enumerate cherry elasticity of ice cream \end_deeper \layout Enumerate \begin_inset LatexCommand \label{endCherries} \end_inset Calculate the elasticity. \begin_deeper \layout LaTeX \backslash vspace{2in} \end_deeper \la
this file kills lyx2lyx
With yesterday's cvs, this file fauses lyx2lyx to roll over and die. -- Richard E. Hawkins, Asst. Prof. of Economics/"\ ASCII ribbon campaign [EMAIL PROTECTED] Smeal 178 (814) 375-4700 \ / against HTML mail These opinions will not be those of Xand postings. Penn State until it pays my retainer. / \ #This file was created by Tue Oct 17 09:42:43 2000 #LyX 1.0 (C) 1995-1999 Matthias Ettrich and the LyX Team \lyxformat 2.15 \textclass slides \options dvips \layout Slide \layout Standard Chapter 5: Elasticity \layout Standard \protected_separator \layout Standard How much does demand bend when price changes? \layout Itemize \begin_inset Quotes eld \end_inset responsiveness \begin_inset Quotes erd \end_inset \layout Itemize recall the Law of Demand \begin_deeper \layout Itemize \begin_inset Formula \( P\uparrow \Longrightarrow Q\downarrow \) \end_inset \layout Itemize but maybe the seller is better off with lower quantity and higher price \end_deeper \layout Itemize elasticity affects Total Revenue \layout Slide \layout Standard Example 1 \layout Itemize At a price of 100, I sell 50, for revenue of 5,000 \layout Itemize At a price of 200, I sell 40, for revenue of 8,000 \layout Itemize Seller receives more revenue at the higher price \layout Slide \layout Standard Proportional Change \layout Itemize Elasticity measures \emph on proportional \emph default changes. It is the ratio of two changes, expressed as percentages \layout Itemize The elasticity of Y with respect to X is the percentage change in Y divided by the percentage change in X \layout Itemize \begin_inset Formula \( E_{y,x}=\frac{\%\textrm{ change in Y}}{\%\textrm{ change in X}}=\frac{\textrm{ }\frac{\Delta Y}{Y}\textrm{ }}{\frac{\Delta X}{X}} \) \end_inset \layout Itemize elasticity does \emph on not \emph default depend on units used to measure \layout Note \layout Standard Go quickly on next four; they're quite similar \layout Slide \layout Standard Price Elasticity of Demand \layout Itemize \begin_inset Formula \( E_{d}=\frac{\textrm{ }\frac{\Delta Q_{d}}{Q_{d}}\textrm{ }}{\frac{\Delta P}{P}}=\frac{\Delta Q_{d}}{\Delta P}\frac{P}{Q_{d}} \) \end_inset \layout Itemize it is \emph on always \emph default negative \begin_deeper \layout Itemize that is, demand always goes down when the price increases \end_deeper \layout Slide \layout Standard The Base point for calculation \layout Itemize We get different answers depending upon where we measure from \layout Itemize Change from price of $100 to $200 with decrease in quantity demanded from 75 to 25 \layout Slide \layout Standard Measure starting from (100,75), \layout Itemize price is \begin_inset Formula \( 100 \) \end_inset \begin_deeper \layout Itemize quantity is \begin_inset Formula \( 75 \) \end_inset \layout Itemize change in price is \begin_inset Formula \( 100 \) \end_inset \layout Itemize change in quantity is \begin_inset Formula \( -50 \) \end_inset \layout Itemize \begin_inset Formula \( E_{d}=\frac{\Delta Q_{d}}{\Delta P}\frac{P}{Q_{d}}=\frac{-50}{100}\frac{100}{75}=-\frac{2}{3} \) \end_inset \end_deeper \layout Slide \layout Standard Measure starting from (200,25) \layout Itemize price is \begin_inset Formula \( 200 \) \end_inset \layout Itemize quantity is \begin_inset Formula \( 25 \) \end_inset \layout Itemize change in price is \begin_inset Formula \( -100 \) \end_inset \layout Itemize change in quantity is \begin_inset Formula \( 50 \) \end_inset \layout Itemize and get \begin_inset Formula \( e_{d}=\frac{\Delta Q_{d}}{\Delta P}\frac{P}{Q_{d}}=\frac{50}{-100}\frac{200}{25}=-4 \) \end_inset \layout Slide \layout Standard Measure from the middle--price increase \layout Itemize price is \begin_inset Formula \( \frac{100+200}{2}=150 \) \end_inset \layout Itemize quantity is \begin_inset Formula \( \frac{25+75}{2}=50 \) \end_inset \layout Itemize for price increase \layout Itemize \begin_inset Formula \( \Delta P=100 \) \end_inset \layout Itemize \begin_inset Formula \( \Delta Q=-50 \) \end_inset \layout Itemize \begin_inset Formula \( E_{d}=\frac{-50}{100}\times \frac{150}{50}=-\frac{3}{2} \) \end_inset \layout Slide \layout Standard Measure from the middle--price decrease \layout Itemize price is \begin_inset Formula \( \frac{100+200}{2}=150 \) \end_inset \layout Itemize quantity is \begin_inset Formula \( \frac{25+75}{2}=50 \) \end_inset \layout Itemize \begin_inset Formula \( \Delta P=-100 \) \end_inset \layout Itemize \begin_inset Formula \( \Delta Q=50 \) \end_inset \layout Itemize \begin_inset Formula \( E_{d}=\frac{50}{-100}\times \frac{150}{50}=-\frac{3}{2} \) \end_inset \layout Slide \layout Standard Benefits of measuring from the middle \layout Itemize Measuring from the middle may reduce err
Re: latex2html problems with equations
On Fri, Sep 27, 2002 at 08:40:03AM +0100, Angus Leeming wrote: > On Thursday 26 September 2002 8:04 pm, Dr. Richard E. Hawkins > wrote: > For what it's worth, tth will export your equations as valid > html and word can import them... Ooh, that's nice. Someday I'll even get mozilla's fonts figured out so that it can display it :) Staroffice could, though. And the program almost has a proper name! thanks hawk, distrustful of programs with names longer than two letters -- Richard E. Hawkins, Asst. Prof. of Economics/"\ ASCII ribbon campaign [EMAIL PROTECTED] Smeal 178 (814) 375-4700 \ / against HTML mail These opinions will not be those of Xand postings. Penn State until it pays my retainer. / \
Re: latex2html problems with equations (the file)
oops; here's the file. #LyX 1.3 created this file. For more info see http://www.lyx.org/ \lyxformat 221 \textclass article \language english \inputencoding auto \fontscheme default \graphics default \paperfontsize default \papersize Default \paperpackage a4 \use_geometry 0 \use_amsmath 0 \use_natbib 0 \use_numerical_citations 0 \paperorientation portrait \secnumdepth 3 \tocdepth 3 \paragraph_separation indent \defskip medskip \quotes_language english \quotes_times 2 \papercolumns 1 \papersides 1 \paperpagestyle default \layout Title Statistics for Crisis Management \layout Section The Statistical Methodology \layout Standard Answering a question in a particular manner can be treated as a Bernoulli variable, having a success (or value of 1) when answered that way, and a failure (or value of 0) when not answered that way. \begin_inset Formula $ p_{i}$ \end_inset is the underlying parameter indicating the proportion of the population that will answer in that manner, also called the frequency. It is customary to define \begin_inset Formula \begin{equation} q_{i}=1-p_{i}\end{equation} \end_inset The fraction of respondents answering in this matter is then a sample mean, and can be calculated as \layout Standard \begin_inset Formula \[ \hat{p}_{i}=\frac{x_{i}}{n}\] \end_inset For \begin_inset Quotes eld \end_inset large \begin_inset Quotes erd \end_inset samples, the Central Limit Theorem guarantees that this variable will be asymptotically normal \begin_inset Marginal collapsed false \layout Standard jack--cite this? \end_inset distributed, and using the well-known variance of the Bernoulli trial, \begin_inset Formula \begin{equation} \hat{p}_{i}~N\left(p,\frac{pq}{n}\right)\end{equation} \end_inset where \begin_inset Formula $ n$ \end_inset is the number of responses. \layout Standard Generally, a large sample is taken to be thirty or more. In the particular case of frequencies, the additional requirements are generally made that \begin_inset Formula \begin{equation} np\geq 5\end{equation} \end_inset and \begin_inset Formula \begin{equation} nq\geq 5\end{equation} \end_inset when this is not the case, the distribution is not sufficiently normal. \begin_inset Marginal collapsed false \layout Standard cite! (Davidson?) \end_inset \layout Standard For the present data, the null hypothesis for any given survey question will be that the American response and the Guatemalan are identical. Under this hypothesis, \begin_inset Formula $ \hat{p}_{i,a}$ \end_inset and \begin_inset Formula $ \hat{p}_{i,g}$ \end_inset are separate observations of the same underlying parameter, \begin_inset Formula $ p_{i}$ \end_inset . That is, if the hypothesis is true, \begin_inset Formula $ p_{i}$ \end_inset is the true frequency for both American and Guatamalen firms, while \begin_inset Formula $ \hat{p}_{i,a}$ \end_inset and \begin_inset Formula $ \hat{p}_{i,g}$ \end_inset are two separate variables drawn from the distribution. Linear combinations of normal variables are distributed normally themsleves; in the case of straightforward addition and subtraction the combined variance is the sum of the variances, while the combined mean is the sum or difference of the means. \begin_inset Marginal collapsed false \layout Standard jack--cite? \end_inset In this case, the means are the same under the hypothesis, their difference is hypothesized as mean zero, and is distributed \begin_inset Formula \begin{equation} \hat{p}_{i,a}-\hat{p}_{i,g}~N\left(0,\sigma_{ p_{i,a}}^{2}+\sigma_{ p_{i,g}}^{2}\right)\end{equation} \end_inset with the individual variances being of the form \begin_inset Formula \begin{equation} \sigma_{\hat{p}_{i,j}}^{2}=\frac{pq}{n_{i,j}}\end{equation} \end_inset which combine as \begin_inset Formula \begin{equation} \sigma_{\hat{p}_{i,a}-\hat{p}_{i,g}}^{2}=\frac{pq}{n_{i,a}}+\frac{pq}{n_{i,g}}=pq\left(\frac{1}{n_{i,a}}+\frac{1}{n_{i,g}}\right)\end{equation} \end_inset and therefore the quantity \begin_inset Formula \begin{equation} z_{p_{i}}\equiv\frac{\hat{p}_{i,a}-\hat{p}_{i,g}}{\sqrt{pq}\sqrt{\frac{1}{n_{i,a}}+\frac{1}{n_{j,b\label{eq:zdef-init}\end{equation} \end_inset has a standard normal distribution. \layout Standard Equation \begin_inset LatexCommand \prettyref{eq:zdef-init} \end_inset still requires a calculation of \begin_inset Formula $ p$ \end_inset , which in turn yields a usable \begin_inset Formula $ q$ \end_inset . Returning to the hypothesis that both groups are the same, the best estimate of the true frequency will come from the underlying frequency \begin_inset Formula $ p_{i}$ \end_inset can be best estimated by using the degrees of freedom for each observation to form a weighted average, \begin_inset Marginal collapsed false \layout Standard jack--cite? I can show that it's BLUE if we want \end_inset \begin_inset Formula \begin{equation} \hat{p}_{i}=\
latex2html problems with equations
I'm coauthoring a paper that will ultimately be submitted in word. There's no way that I'm going to use equation editor until the final draft, though :) I'm trying to send the doc to html and use pngs for the equation for the momennt. If lyx created these images during export, I have no idea where it stuffed them (and neither does the document it created. I don't see the creation messages in the debug window. Exporting to latex, and then using latex2html by hand, the right-hand side of multiline equations gets a greay background. hawk -- Richard E. Hawkins, Asst. Prof. of Economics/"\ ASCII ribbon campaign [EMAIL PROTECTED] Smeal 178 (814) 375-4700 \ / against HTML mail These opinions will not be those of Xand postings. Penn State until it pays my retainer. / \
depth not working right on file conversion
I've seen a few varieties of this--the depth cascades rightward instead of coming back on old files. I've attached a file that does this. But the conversion now runs automatically! hawk -- Richard E. Hawkins, Asst. Prof. of Economics/"\ ASCII ribbon campaign [EMAIL PROTECTED] Smeal 178 (814) 375-4700 \ / against HTML mail These opinions will not be those of Xand postings. Penn State until it pays my retainer. / \
Re: just killed the spellchecker
On Thu, Sep 26, 2002 at 10:49:04AM +0900, R. Lahaye wrote: > Dr. Richard E. Hawkins wrote: > >This is fresh cvs from today. I created a new document, and ran the > >spellchecker on one word. Still not sure, I put in a misspelling, and > >ran again. I'm pretty sure I moved the cursor back to the beginning, > >and that it took (I might have just assumed). > > Yes, don't move the cursor backward in the buffer, while the > spellchecker's dialog is open; SIGSEGV garanteed! > I think John has put an entry in the bugzilla on this. Wow. I've been doing this for years, but usually only to the line before (but this was a two word document). hawk
Re: lyx2lyx still not called from within lyx
On Wed, Sep 25, 2002 at 11:30:42PM +0300, Dekel Tsur wrote: > On Wed, Sep 25, 2002 at 04:18:38PM -0400, Nirmal Govind wrote: > No. Today I changed the Makefile to install the lyx2lyx files in > LYXDIR/lyx2lyx. > > "Dr. Richard E. Hawkins" <[EMAIL PROTECTED]> wrote: > > > I was under the impression that fixes had been committed that would > > > cause lyx2lyx to be automatically called. I'm still getting the > > > "conversion script not found" message. > Did you use latest CVS? My source directory is timestamped 12:17 eastern (15:17 Geneva, I think) today. WOuld that be recent enough, or did we cross paths? -- Richard E. Hawkins, Asst. Prof. of Economics/"\ ASCII ribbon campaign [EMAIL PROTECTED] Smeal 178 (814) 375-4700 \ / against HTML mail These opinions will not be those of Xand postings. Penn State until it pays my retainer. / \
lyx2lyx still not called from within lyx
I was under the impression that fixes had been committed that would cause lyx2lyx to be automatically called. I'm still getting the "conversion script not found" message. hawk -- Richard E. Hawkins, Asst. Prof. of Economics/"\ ASCII ribbon campaign [EMAIL PROTECTED] Smeal 178 (814) 375-4700 \ / against HTML mail These opinions will not be those of Xand postings. Penn State until it pays my retainer. / \
just killed the spellchecker
This is fresh cvs from today. I created a new document, and ran the spellchecker on one word. Still not sure, I put in a misspelling, and ran again. I'm pretty sure I moved the cursor back to the beginning, and that it took (I might have just assumed). It didn't mark either word wrong, so I tried again, and it didn't respond at all. Program received signal SIGSEGV, Segmentation fault. 0x843c43f in ControlSpellchecker::check (this=0x85ec668) at ControlSpellchecker.C:108 108 if (!speller_->alive()) { (gdb) bt #0 0x843c43f in ControlSpellchecker::check (this=0x85ec668) at ControlSpellchecker.C:108 #1 0x83c358a in FormSpellchecker::input (this=0x85ec724, obj=0x86afa00, val=0) at FormSpellchecker.C:91 #2 0x833a4ac in FormBase::InputCB (this=0x85ec724, ob=0x86afa00, data=0) at FormBase.C:179 #3 0x833a60e in C_FormBaseInputCB (ob=0x86afa00, d=0) at FormBase.C:230 #4 0x2857fd6f in fl_object_qread () at events.c:206 #5 0x28590113 in fl_check_forms () at forms.c:2109 #6 0x83f57ad in lyx_gui::start (batch=@0xbfbff4f0, files=0xbfbff358) at lyx_gui.C:312 #7 0x814700a in LyX::LyX (this=0xbfbff4ec, argc=@0xbfbff51c, argv=0xbfbff568) at ../src/lyx_main.C:159 #8 0x81a6cde in main (argc=1, argv=0xbfbff568) at ../src/main.C:31 #9 0x8050685 in _start () (gdb) -- Richard E. Hawkins, Asst. Prof. of Economics/"\ ASCII ribbon campaign [EMAIL PROTECTED] Smeal 178 (814) 375-4700 \ / against HTML mail These opinions will not be those of Xand postings. Penn State until it pays my retainer. / \
Re: bugzilla
On Mon, Sep 23, 2002 at 03:50:22PM +0200, Jean-Marc Lasgouttes wrote: > >>>>> "John" == John Levon <[EMAIL PROTECTED]> writes: > John> On Mon, Sep 23, 2002 at 09:22:55AM -0400, Dr. Richard E. Hawkins > John> wrote: > >> If theres' a way to allow cookies *only* from specified sites, > >> rather than individually banning the rest of the world, I have yet > >> to find it in mozilla . . . > John> No. > Of course there is. In prefs>privacy>cookies, choose > ( ) Enable all cookies > and > ( ) ask me before storing a cookie > Then when you are asked for a given cookie, you can give an answer > which is _always_ valid for the given site. > I guess you can obtain the same effect by editing some preference > file. Yes, but this still doesn't get to the "no, unless permitted" behavior--I *hate* being popped at; it's one of my reasons for text browsers. It's trivial to configure junkbuster to only allow pre-approved cookies, but I'm still having trobule with the occasional site I need that blows up when using a proxy. hawk
Re: bugzilla
On Mon, Sep 23, 2002 at 02:06:41PM +0100, John Levon wrote: > On Mon, Sep 23, 2002 at 09:13:14AM +0200, Andre Poenitz wrote: > > > Bugzilla requires cookies. Well documented (and your paranoia is > > > unwarranted) > > Why? Session management is doable by encoding stuff in URLs. No cookies > > needed. > Perhaps you should go explain this to the bugzilla team. I'd love to > hear their response :) If theres' a way to allow cookies *only* from specified sites, rather than individually banning the rest of the world, I have yet to find it in mozilla . . . hawk
more on selection problem in Insert-citation
On Thu, Sep 19, 2002 at 05:12:00PM -0400, Dr. Richard E. Hawkins wrote: > The insert citation dialog has a similar problem to the export-custom > dialog. > Make a new citation, select something from the list, and close. The > inset now has nothing (it really seems to me that the selected cite > should somehow default over there; there's far too much mousing here). > Open the inset, and the selection is still highlighted, but the arrow to > use it isn't available. THe search command can be used from the keyboard. There should be a keybinding that will cause it to use the result found. It would appear that Alt-I is meant to do so, but it doesn't. For that matter, double-clicking should do it (there are other menus where triple-click seems to do so, but also closes dialog). hawk
selection problem in Insert-citation
The insert citation dialog has a similar problem to the export-custom dialog. Make a new citation, select something from the list, and close. The inset now has nothing (it really seems to me that the selected cite should somehow default over there; there's far too much mousing here). Open the inset, and the selection is still highlighted, but the arrow to use it isn't available. hawk -- Richard E. Hawkins, Asst. Prof. of Economics/"\ ASCII ribbon campaign [EMAIL PROTECTED] Smeal 178 (814) 375-4700 \ / against HTML mail These opinions will not be those of Xand postings. Penn State until it pays my retainer. / \
adapting the kluewr.cls class for submissions?
Has anyone already dealt with the kluwer.cls document class? I need to use it to submit a paper, and am really not sure where to start (unless I export to latex and follow their instructions :) hawk -- Richard E. Hawkins, Asst. Prof. of Economics/"\ ASCII ribbon campaign [EMAIL PROTECTED] Smeal 178 (814) 375-4700 \ / against HTML mail These opinions will not be those of Xand postings. Penn State until it pays my retainer. / \
Re: cut no longer works in tables!
On Wed, Sep 18, 2002 at 05:08:49PM +0100, John Levon wrote: > On Wed, Sep 18, 2002 at 12:05:27PM -0400, Dr. Richard E. Hawkins wrote: > > I rebuilt from cvs yesterday. It seems that when selecting multiple > > cells in a table (mine was 5x4 with 1 digit numbers), it is no longer > > possible to clear the table with "cut". > I committed the fix yesterday Oooh, fast and sneaky he is, this one . . . :) If it matters, I just discovered that the bug only applies while using the mouse; I entered a table with arrow keys and it worked. hawk