question

1999-10-24 Thread Xiantao Li
Hello, I am using Lyx, and I realize that it's a wonderful software. What puzzled me now is about putting a fugure into the file. When I put the figure into the float, I can see it on the screen, but when I want to see the ps file, it gave 2 errors, like 'no bounding error'. I attached the file

Question

1999-05-24 Thread Xiantao Li
Dear Sir/Madam, I am using Lyx. It is really wonderful. But now there is one thing I am not able to complete. When I wrote a math fomula in Math mode, I wanted to make some characters inside to be 'bold' so that it appears to be a vector. But I can not achieve the effect. Can you give me some

question

2001-07-09 Thread Edwin Leuven
Hi guys, I am trying to move the spellchecker to frontends. I've written a spellcontroller and the ensemble is working (a bit). At the moment I think I need two signals in the controller class to which I need to connect from the Dialog: setProgress updateDialog Am I right in thinking this a

question

2001-08-21 Thread Edwin Leuven
I am trying to compile the qt2 frontend and get the following, namespace trouble? gr.ed. make[5]: Entering directory `/home/leuven/cvs/lyx-devel/src/frontends/qt2/moc' /bin/sh ../../../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../../../../src -I../../../../src/ -I../../../../s

RE: question

1999-10-25 Thread Juergen Vigna
On 24-Oct-99 Xiantao Li wrote: > Hello, > I am using Lyx, and I realize that it's a wonderful software. What > puzzled me now is about putting a fugure into the file. When I put the > figure into the float, I can see it on the screen, but when I want to see > the ps file, it gave 2 errors, lik

Textclasses question

1999-11-12 Thread Damon Horrocks
Hi there I have a question for you regarding lyx: Is it possible for me to create my own textclasses using lyx? For example, if I wanted to create something like a business card, or a standard fax sheet, is there anyway I can go about doing it (in the same way that you have textclasses for

m4 question

2000-03-03 Thread Angus Leeming
having read the latest installment of the lyx development news, I checked the rae branch out of cvs and tried to compile it. Compilation fails in sigc++ with m4 -I./macros macros/func_slot.h.m4 > func_slot.h m4: illegal option -- I I'm running on an Alpha with Digital Unix v3.2 and have the D

C++ question

2000-03-09 Thread Angus Leeming
Anyone with greater knowledge of C++ than me out there? I'm getting a linking error: /usr/bin/ld: Unresolved: FormCopyright::SigC::ObjectScoped virtual table FormCopyright virtual table collect2: ld returned 1 exit status make[2]: *** [lyx] Error 1 FormCopyright is derived from FormBase: #includ

MenuExport question

2000-03-11 Thread Angus Leeming
I'm attempting to move the print dialog over to the SigC++ stuff. My interest is in the print form, rather than how it's called, but if anyone out there can answer my question... Calling the print dialog from lyxfunc.C is easy: string LyXFunc::Dispatch(int ac, char const * do_not_us

XForms question

2000-03-16 Thread Angus Leeming
Here's one for the xform gurus out there: When I lauch (say) the Help->Copyright form, I get a dialog with two buttons on its titlebar; a "minimise" button and a "kill window" button. Note that there is no "maximise" button and I can't change the size of the dialog by pulling at its sides. If I

string question

2000-03-28 Thread Angus Leeming
Reading the documentation in lyxstring.h: "it is written to be a drop in replacement for STL string" which suggests that the configure option "--with-included-string" is just that --- an option. It is not, however. Configuring lyx (1.1.5 CVS) with "configure --without-included-string" le

insetbib question

2000-05-09 Thread Angus Leeming
In Insetbib.[hC], I'm familiar with InsetCitation and InsetBibtex, but what is InsetBibKey? How is it used? (How can I invoke it to experiment and thus understand what's going on???) Angus

cvs question

2000-05-12 Thread Angus Leeming
I'd like to submit a patch for a new citation dialog, but my current attempt: cvs diff -p -u > angus.patch documented the differences between my files and those in the repository, but didn't add the NEW files in my directories to the patch. I can do this by hand, but what is the correct wa

insetcommand.h question

2000-05-18 Thread Angus Leeming
Very simple one: Can I propose changing the protected status of "command", "options", "contents" in insetcommand.h to private? Can I also propose changing the name of "command" to "cmdname"? Things as they stand are a little counter intuitive. Angus insetcommand.h contains: public: str

Inset question

2000-06-29 Thread Angus Leeming
Hi. I'm trying to fix a small bug in the citation dialog. Namely, an empty inset can hang around after the user has returned from the citation dialog without entering anything. Prompted by Jean-Marc (a long time ago, admittedly) I thought I'd fix this. To do so, I modified a function citation_cb

insetcommand question

2000-07-21 Thread Angus Leeming
A very quick and easy question. I have a working Class InsetCommandParams that does no more than manipulate the command parameters cmdname, options and contents in exactly the same manner to the existing InsetCommand class. In addition it has two methods that can convert a single string to/from

a question

2000-07-26 Thread Angus Leeming
Hi. I've just ported InsetUrl over to GUI-independence. Testing it out I notice that when I open an existing inset a little message appears at the bottom of the screen: Opened URL which is returned by the method EditMessage(). When I open a citation inset, however, I get the message

TOC question

2000-07-31 Thread Angus Leeming
I've just about finished porting InsetTOC, InsetLOA, InsetLOF and InsetLOT over to GUI-independence together with an xforms implementation of the dialog. I have a question, however: It appears that my version of Buffer::getTocList() returns the TOC list only for the true TOC and not fo

SigC++ question

2000-08-06 Thread Baruch Even
In the decoupling process of the image loading from the figure inset I needed to use a signal on the image loader to notify when the image has loaded. For this my InsetGraphics now inherits also from SigC::Object. As I have no idea what is going on in the signals, I wanted to know what adverse ef

coding question

2000-08-07 Thread Angus Leeming
I have a question for those that know: in my new GUIIndependent (xforms implementation) InsetRef dialog (that is the new "big" dialog with browser), I can go to the reference and go back. Well and good. I go back by calling LxXFunc::Dispatch( LFUN_REF_BACK ), which in turn calls

bind question

2000-09-04 Thread Angus Leeming
(I have now re-subscribed to the list. No need to reply to me individually any more.) When launching a recent CVS version of lyx (no document), I get the following warning messages: LyX: Unknown LyX function `buffer-view-ps' [around line 47 of file /usr/local/share/lyx/bind/cua.bind] LyX: Unkno

DebugStream.C question

2000-10-18 Thread Angus Leeming
Lars, here's one for you since I see that you wrote the code and it means nothing to me! Compiling support/DebugStream.C I get cxx: Info: DebugStream.C, line 94: #1136-D conversion to integral type of smaller size could lose data sb2->sputc(c);

linux question

2000-10-18 Thread Amir Karger
OK, totally unrelated to lyx, except that I can't mail the lyx list if my mail isn't working right. I upgraded to RH6.2 today. (Yes, I'm a bit behind the times. So sue me.) Now, whenever I start a new xterm and run vim, my backspaces come out as ^? instead of backspacing. When I say stty, it says

Dialogs.h question

2000-10-20 Thread Angus Leeming
st all the signals we use are stored in Dialogs.h. Most of the insets that launch one of the new dialogs, however, also store a Signal0 hide signal. The honourable exception to this is InsetTabular. Here the hide signal is stored in Dialogs.h. The question is: why are we polluting the global name

Dumn question

2000-11-06 Thread Angus Leeming
Why have all functions returning a string changed from string func(); to string const func(); ? Equally, why hasn't this been done to functions returning an int, or a bool etc? Angus

UserGuide question

2000-11-29 Thread Angus Leeming
In the UserGuide : The undo-mechanism has been limited to 100 steps in the beta-version, as this feature has not yet been properly tested out. Is this still true? In lyxfunc.C::Dispatch() case LFUN_UNDO: disable = buf->undostack.empty(); break; I can se

cvs question

2000-12-04 Thread Angus Leeming
mapping C callbacks to the C++ member functions. - */ - etc My question: Is "cvs remove src/frontends/xforms/xform_macros.h" the correct call and if so, what other call should/can I make to actually remove this file from the repository. Or should this be left to the "applier"

C++ question

2001-01-12 Thread Angus Leeming
I've managed to create a GUI-I ControlCitation class that stores a pointer to a ButtonController abstract base class. However, in my xforms specific FormViewCitation class, I need to access FormButtonController specific functions and must, therefore, resort to dynamic_cast. Are we allowed to u

silly question

2001-02-14 Thread John Levon
How should I get rid of stuff from commandtags.h ? Comment it out ? The numbering will screw up either way ... I want to delete LFUN_MENUOPEN and merge functionality with LFUN_FILE_OPEN, a side effect of the GUI independent file dialog. There will also be some other changes. Basically I have mo

Design question

2001-02-22 Thread Andre Poenitz
First of all: I really hate plain pointers so I am probably biased when it comes to judge the benefits of implementations using pointers. The problem is, we currently need pointers in order to use virtual functions (references are not acceptable, since we can't put them in containers for instan

FormParagraph question

2001-03-05 Thread Angus Leeming
Jürgen, I was browsing through FormParagraph and I've come across something that confuses me. Do you really mean to "activate" the lines below that I've highlighted with a "?", or should they be "deactivate"? The reason I ask is because I have a little helper function that I thought would sim

style question

2001-03-09 Thread John Levon
Why are people using : (*iterator).whatever rather than : iterator->whatever IMHO it's harder to type and read ... john -- "I try to keep an open mind, but not so open that my brains fall out." - Judge Harold T. Stone

figinset.C question

2001-03-20 Thread Angus Leeming
In order to compile figinset.C with Lars' namespace anon in place, I have to move the function below outside of the namespace. My question is one about the comment. Is this function one that xforms should define, but was forgotten from the header file ? If so, I'll state that exp

C++ question

2001-03-20 Thread Angus Leeming
Please excuse the dumm question, but is their a simple way to extract the vector from a vector > ? Eg, I have: typedef std::pair FamilyPair; std::vector family; And I'd like to do this: std::vector names = family.first; Do I have to write a loop or is there a

FormToc question

2001-03-29 Thread Angus Leeming
I guess that this is directed mainly at Lars, frontends/xforms/FormToc.C is full of #if... #else... #endif statements. So, the questions are: * what needs to be done to the new code to bring it up to standard? * The new code seems to work to me. Can I strip out the old code? Angus FormToc.

C++ question

2001-05-09 Thread Angus Leeming
Can someone cleverer than me explain this compiler error (and perhaps give me a clue about what to do about it). Angus -- This compiles without problem: class HMenu { ... }; class Menus { public: /// typedef std::vector M

FormParagraph question

2001-05-30 Thread Angus Leeming
I've been re-designinging the FormParagraph dialog as something quick and easy to do, but I have a question: Are the "Minipage" and "Floatflt" check buttons in FormParagraph->Extra mutually exclusive? If so, I'll create a "Type" choice that will h

GUI question!

1998-12-11 Thread José Abílio de Oliveira Matos
Hi, I have the loonely knight, fighting all the evil ghost of the past ( read latexdel insets) while you are having all the fun discussing the scripting language... Now I need help because I'm not able to advance on my own (at least on a reasonable time). I need to do two

Re: Question

1999-03-18 Thread Lars Gullik Bjønnes
>> Asger Alstrup Nielsen writes: AAN> Yes, but then we would have N times the wait of loading AAN> external code tables, rather than 1 time the waiting for you only need one or two, why load it if you don't need it? Lgb

Re: Question

1999-03-18 Thread Asger Alstrup Nielsen
> AAN> Yes, but then we would have N times the wait of loading > AAN> external code tables, rather than 1 time the waiting for > > you only need one or two, why load it if you don't need it? Because I don't care to implement an encoding parser, just to save maybe 15k of memory. Also, notice

Re: Question

1999-03-21 Thread miyata
"Asger Alstrup Nielsen" <[EMAIL PROTECTED]> wrote: > Also, the size issue is wrong: Having an external file will require more > space, because you need both the data and then a parser for the data on top of > that. Also, the size of all of these 14 encoding files is less than 20k, if > you comp

Re: Question

1999-03-21 Thread Asger K. Alstrup Nielsen
> I haven't been contributing to LyX for too long. So I decided to write > encoding converters for > > Big5 > CNS11643 > GB2312 (GB7589, GB7590, GB8565 and subset 7 are ignored until someone > GB12345 supplies me an explanation: XLC_LOCALE file does not tell me >

Re: Question

1999-03-21 Thread miyata
"Asger K. Alstrup Nielsen" <[EMAIL PROTECTED]> wrote: > Hmm, that's a surprise to me. I suppose we have to turn to 32 bit wstrings... > Variable length encoding is not fun. > > Alternatively, we have to use a selective encoding, where only the glyphs > that are used are mapped to the private reg

Re: Question

1999-05-24 Thread Asger Alstrup Nielsen
> When I wrote a math fomula in Math mode, I wanted to make some > characters inside to be 'bold' so that it appears to be a vector. But I > can not achieve the effect. Can you give me some instruction? This is documented in the User's Guide, read the chapter on math. I *think* you can type "m

Re: Question

1999-05-24 Thread Martin Vermeer
> When I wrote a math fomula in Math mode, I wanted to make some > characters inside to be 'bold' so that it appears to be a vector. But I > can not achieve the effect. Can you give me some instruction? M-c b RTFM User Guide 5.6.1 :-) HTH Martin

Re: question

2001-07-09 Thread Angus Leeming
E. Am I right in saying that this is what happens: The user hits the "start spellchecking" button in the dialog, thus calling controller().resume(); The controller does its stuff and goes through the document so that the progress bar in the dialog needs updating. You want to emit a

Inset question

2001-07-31 Thread Michael Schmitt
Hi, a short question from a curious user (answer with just a sentence or two): Do all these insets have a common code base? As you know there are still some repainting problems with insets and I wonder whether they can be fixed once for all insets. Michael

small question

2001-07-31 Thread John Levon
what do people think of things like : - if (inset && inset->editable() == Inset::HIGHLY_EDITABLE) { + if (isHighlyEditableInset(inset)) { where it's some small inline function ? I personally think things like this improve readability a lot, especially in things like

style question

2001-08-03 Thread Andre Poenitz
MathInsets contain an internal cache for their "last" dimensions. This is set during calls to metrics() and used in subsequent calls to draw() metrics() leaves the inset _logically_ unchanged, so I'd like to make it const and the cache members 'mutable'. But I know that some people don't like '

Re: question

2001-08-21 Thread John Levon
On Tue, Aug 21, 2001 at 11:51:56AM +0200, Edwin Leuven wrote: > from QCitationDialog_moc.C:16: > ../../../../src/frontends/controllers/biblio.h: At top level: > ../../../../src/frontends/controllers/biblio.h:58: syntax error before `const' this makes no sense to me, InfoMap is t

Re: question

2001-08-21 Thread Edwin Leuven
> this makes no sense to me, InfoMap is typedefed directly above it. i know :( > what compiler ? gcc-2.96-85 gr.ed.

Re: question

2001-08-21 Thread John Levon
On Tue, Aug 21, 2001 at 04:23:13PM +0100, Angus Leeming wrote: > On Tuesday 21 August 2001 16:04, John Levon wrote: > > On Tue, Aug 21, 2001 at 11:51:56AM +0200, Edwin Leuven wrote: > > > > > from QCitationDialog_moc.C:16: > > > ../../../../src/frontends/controllers/biblio.h: At

Re: question

2001-08-21 Thread Edwin Leuven
> ah, Edwin, try adding #include either to the top > of biblio.h (and config.h) or ControlCitation.h before biblio.h doesn't seem to matter. E

Re: question

2001-08-21 Thread John Levon
On Tue, Aug 21, 2001 at 05:46:34PM +0200, Edwin Leuven wrote: > > ah, Edwin, try adding #include either to the top > > of biblio.h (and config.h) or ControlCitation.h before biblio.h > > doesn't seem to matter. try the output of adding -E to the compile line ? anything odd ? I don't get this

Re: question

2001-08-21 Thread Edwin Leuven
> try the output of adding -E to the compile line ? anything odd ? 17553 lines of it, sorry nothing I can understand... > I don't get this problem with 3.0. I'll try with 2.96-85 when my computer > isn't broken anymore (sob, sob) I'll be patient then gr.ed.

Re: question

2001-08-21 Thread Andre Poenitz
> > try the output of adding -E to the compile line ? anything odd ? > > 17553 lines of it, sorry nothing I can understand... Divert it into a file. Run the compiler on that file. Show the line with the error and 30 lines or so above that line. Andre' -- André Pönitz .

Re: question

2001-08-22 Thread Edwin Leuven
Get the same error message as before... In file included from ../QCitationDialog.h:18, from QCitationDialog_moc.C:16: ../../../../src/frontends/controllers/biblio.h:59: syntax error before `const' ../../../../src/frontends/controllers/biblio.h:63: `InfoMap' was not declared

Re: question

2001-08-22 Thread Andre Poenitz
On Wed, Aug 22, 2001 at 09:46:29AM +0200, Edwin Leuven wrote: > Get the same error message as before... > > > In file included from ../QCitationDialog.h:18, from > QCitationDialog_moc.C:16: ../../../../src/frontends/controllers/biblio.h:59: > syntax error before `const' > ../

Re: question

2001-08-22 Thread Edwin Leuven
> And how do the 30 lines before the line that contains "Returns a vector of > bibliography keys" in the output of g++ -E look like? no such line, that's a line in biblio.h > Why are you using gcc and not g++? What did configure say? I used g++ nevermind that line (fooling around) gr.ed.

FormGraphics question

2001-08-27 Thread John Levon
what's with the "scale" height option ? It appears to mutually exclusive to the other height resize options, yet the xforms dialog has it as a checkbox. What does it mean and what would be the significance of the heightSize value if it's enabled ? thanks john -- "Premature generalization is t

mathed question

2001-09-05 Thread Angus Leeming
André, this may well be a dumn question, but WHY do we "swallow" the "\" when displaying math commands, eg \Diamond. Would it not make your life easier as well if the "\" was displayed also. Angus

Graphics Question

2001-09-14 Thread Juergen Spitzmueller
Michael Schmidt wrote: - The new graphics inset supports file extension ".jpeg" but not ".jpg". I think the latter is also commonly used. Can it be supported? Is this really all that needs to be done (works for me) or are there real problems with ".jpg"-files? Excuse me if the answer is obvious

inputfield: question

2001-10-19 Thread Juergen Spitzmueller
Hi, I have added a value choice to Document->Class->Default Skip. I have added all necessary things AFAIK, but one problem remains: what do I have to change to activate the OK/ Apply buttons if a unsigned number is inserted (I have already implemented the fl_unsigned_float_filter, but the dial

Graphics question

2001-10-29 Thread Angus Leeming
layed as a xforms pixmap button (in my sample program, not in LyX). The question is this: How do I scale the pixmap? It'd be really nice to specify the maximaum dimensions of the viewed image (maintaining aspect ratio) rather than use the default size of the converted pixmap. I can see th

inset question

2001-11-20 Thread Andre Poenitz
Can anybody tell me the significance of the order of the lines 631 and 632 of BufferView_pimpl.C? inset->insetButtonPress(bv_, xpos, ypos, button); inset->edit(bv_, xpos, ypos, button); Is this saying: "Hey, inset, someone clicked on you" and after a while "He

Re: Textclasses question

1999-11-14 Thread Allan Rae
On Fri, 12 Nov 1999, Damon Horrocks wrote: > Hi there Hello Damon, > I have a question for you regarding lyx: > > Is it possible for me to create my own textclasses using lyx? It is possible to create .layout files for existing LaTeX classes and styles. If you created a custom

And another question

1999-11-15 Thread Michael Meskes
I just saw the compile time define HAVE_XOPENIM. It seems there is no way to activate it. But the way I read the source (lyxlookup.C) it should be activated for all X11 releases starting with R5. Since I use R6 I activated it by hand just to learn the source doesn't even compile. So what is that

CVS newbie question

2000-01-28 Thread Angus Leeming
The documentation on "Getting source code with CVS" at www.devel.lyx.org/cvs.php3 is very clear and easy to follow. However, I have one question. Having logged on with: cvs login and checked out or updated the source, shouldn't I logout with: cvs logout This

Question on LyXLex

2000-03-08 Thread Juergen Vigna
Fast Question: - Is it possible to push back a token read with lex.nextToken() so that when calling another function it can do also lex.nextToken() and get the same? (Hope I explained what I would like to have :) Jürgen

Re: m4 question

2000-03-03 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> having read the latest installment of the lyx development news, Angus> I checked the rae branch out of cvs and tried to compile it. Angus> Compilation fails in sigc++ with m4 -I./macros Angus> macros/func_slot.h.m4 > func_slot.h m

Re: m4 question

2000-03-04 Thread Allan Rae
On 3 Mar 2000, Jean-Marc Lasgouttes wrote: > > "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: > > Angus> having read the latest installment of the lyx development news, > Angus> I checked the rae branch out of cvs and tried to compile it. > > Angus> Compilation fails in sigc++ with m4

Re: C++ question

2000-03-09 Thread Angus Leeming
Problem solved. Forgot to create derived class destructor (Missing {}, see below). Angus #include "FormBase.h" class FormCredits : public FormBase { public: FormCredits(LyXFunc * c, Dialogs * d, Signal0 & signal) : FormBase( c, d, signal ) {} ~FormCredits() {}; privat

Re: MenuExport question

2000-03-11 Thread Lars Gullik Bjønnes
Angus Leeming <[EMAIL PROTECTED]> writes: | I'm attempting to move the print dialog over to the SigC++ | stuff. My interest is in the print form, rather than how | it's called, but if anyone out there can answer my | question... | | Calling the print dialog from lyxfunc.C i

Re: MenuExport question

2000-03-11 Thread Angus Leeming
> Yes, we should not use the print form when exporting at all, that is a > hack. I got a patch that did the export stuff correct, but I had some > comments to that patch and asked that it be corrected before I'd > commit it... this was never done. > (not long ago 1month?) > > Lgb Can you g

Re: MenuExport question

2000-03-12 Thread Lars Gullik Bjønnes
Angus Leeming <[EMAIL PROTECTED]> writes: | > Yes, we should not use the print form when exporting at all, that is a | > hack. I got a patch that did the export stuff correct, but I had some | > comments to that patch and asked that it be corrected before I'd | > commit it... this was never done.

Re: string question

2000-03-28 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> Reading the documentation in lyxstring.h: "it is written to be Angus> a drop in replacement for STL string" Angus> which suggests that the configure option Angus> "--with-included-string" is just that --- an option. It is not, Ang

Re: string question

2000-03-28 Thread Angus Leeming
Many thanks for the explanation, JMarc! I conclude that egcs-1.1.2 causes code bloat and that its STL is not standards compliant! Onto your __STRING__ suggestion. I was trying to do something like this last night, albeit in a much more hacked way in order to resolve my problems in the rae branch

Re: string question

2000-03-28 Thread Lars Gullik Bjønnes
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: | I did not do it yet because I do not have much time now, but if Lars | does not strongly objects, I think we should do that. It would also | simplify a bit of the code with stringstreams. Not true since other "objects" in the std::libs often use

Unaligned access question

2000-03-30 Thread Angus Leeming
Don't panic! This occurs in the "rae" branch of cvs with the new FormPrint enabled, not the head branch! I've compiled the code using egcs-1.1.2/GNU STL and lyxstring. When I launch a Print dialog, it gets the printer parameters from PrinterParams using xtl. I get the following output to the xt

File format question

2000-04-02 Thread Dekel Tsur
Why a protected separator is encoded as "\SpecialChar \protected_separator" and not "\SpecialChar ~" ? The latter is shorter, and it is more consistent to the encoding of other special chars (\SpecialChar \- or \SpecialChar \@.)

reLyX Makefile.am question

2000-05-03 Thread Angus Leeming
because LyX wasn't installing reLyX correctly. Its rejection is fair enough. My question, however concerns the ChangeLog entries below. What is going on, Jean-Marc, and what do I need to do to fix things. Angus 2000-04-03 Jean-Marc Lasgouttes <[EMAIL PROTECTED]> * lib/reLyX/

Re: insetbib question

2000-05-09 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> In Insetbib.[hC], I'm familiar with InsetCitation and Angus> InsetBibtex, but what is InsetBibKey? How is it used? (How can Angus> I invoke it to experiment and thus understand what's going Angus> on???) It is the small inset that

Re: insetbib question

2000-05-09 Thread Angus Leeming
ragraphs (ie, JMarc> when you do not use bibtex, but do bibliography by hand). Thanks, JMarc. The obvious question is, "how do I invoke it?" and the obvious comment is, "How ugly! Why don't we force people to do things properly and use BibTeX?" Angus

Re: insetbib question

2000-05-09 Thread Jean-Marc Lasgouttes
>>>>> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> The obvious question is, "how do I invoke it?" What do you mean? Just click on it, or type C-o at the beginning of the paragraph. Angus> and the obvious Angus> comment is, "

Re: insetbib question

2000-05-09 Thread Angus Leeming
Angus> The obvious question is, "how do I invoke it?" JMarc> What do you mean? Just click on it, or type C-o at the beginning of the paragraph. I didn't make myself clear. Because I've never used the "Bibliography" environment (indeed, was not aware of

Re: cvs question

2000-05-12 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> I'd like to submit a patch for a new citation dialog, but my Angus> current attempt: cvs diff -p -u > angus.patch documented the Angus> differences between my files and those in the repository, but Angus> didn't add the NEW files i

Re: cvs question

2000-05-18 Thread Lars Gullik Bjønnes
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: | > "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: | | Angus> I'd like to submit a patch for a new citation dialog, but my | Angus> current attempt: cvs diff -p -u > angus.patch documented the | Angus> differences between my files and th

Re: insetcommand.h question

2000-05-18 Thread Lars Gullik Bjønnes
Angus Leeming <[EMAIL PROTECTED]> writes: | Very simple one: | | Can I propose changing the protected status of "command", "options", "contents" | in insetcommand.h to private? Can I also propose changing the name of "command" | to "cmdname"? Things as they stand are a little counter intuitive.

Re: insetcommand.h question

2000-05-18 Thread Angus Leeming
.g. extern "C" void bibitem_cb(). This will change with the GUI-independence stuff, so then is the time to change the status. I have a new question, concerning insetbib.C. This contains two global functions, int bibitemMaxWidth(Painter &, LyXFont const &); st

Bibliography environment question

2000-05-18 Thread Angus Leeming
I attach a small screenshot showing the Bibliography environment in use. Is the section header "References" meant to be offset like this? Angus lyx.png

Re: insetcommand.h question

2000-05-18 Thread Angus Leeming
I've made bibitemMaxWidth() and bibitemWidthest() static member functions of InsetBibKey and all is fine. I misunderstood PainterBase::rectText() etc. These are not and should not be const functions. class InsetBibKey: public InsetCommand { public: static int maxWidth(Painter &, LyXFont c

Re: insetcommand.h question

2000-05-18 Thread Lars Gullik Bjønnes
hese methods are accessed by the global xforms claaback functions, | e.g. extern "C" void bibitem_cb(). | This will change with the GUI-independence stuff, so then is the time to change | the status. | | I have a new question, concerning insetbib.C. | This contains two global functions, |

Re: insetcommand.h question

2000-05-18 Thread Angus Leeming
Lars> No, not really. You should read about "How Non-Member Functions Lars> Improve Encapsulation" in development/Code-Rules/Rules. I have not Lars> included the complete discussion there but just the guts of it. Ok. Thanks. Now I have read them, but I don't see why since the rule is here but not

Re: insetcommand.h question

2000-05-18 Thread Lars Gullik Bjønnes
Angus Leeming <[EMAIL PROTECTED]> writes: | I've made bibitemMaxWidth() and bibitemWidthest() static member | functions of | InsetBibKey and all is fine. No, don't do that. Lgb

Re: insetcommand.h question

2000-05-18 Thread Lars Gullik Bjønnes
Angus Leeming <[EMAIL PROTECTED]> writes: | Lars> No, not really. You should read about "How Non-Member Functions | Lars> Improve Encapsulation" in development/Code-Rules/Rules. I have not | Lars> included the complete discussion there but just the guts of it. | | Ok. Thanks. | Now I have read t

Re: Inset question

2000-06-29 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> Hi. I'm trying to fix a small bug in the citation dialog. Angus> Namely, an empty inset can hang around after the user has Angus> returned from the citation dialog without entering anything. Angus> Prompted by Jean-Marc (a long tim

Re: Inset question

2000-06-29 Thread Angus Leeming
JMarc> I do not really know, but I'd like to point out that it is a common JMarc> problem for the insets. We should really find a fix. There are people out there who are FAR more knowledgeable than me. Could I have comments on the following scheme please. It seems to me that the place to check w

Re: Inset question

2000-06-29 Thread Lars Gullik Bjønnes
Angus Leeming <[EMAIL PROTECTED]> writes: | if (c == LyXParagraph::META_INSET) { | Inset const * tmpinset = row->par()->GetInset(pos); | if (tmpinset) { | tmpinset->draw(bview, font, offset+row->baseline(), x, |

Re: Inset question

2000-06-29 Thread Angus Leeming
> | if (c == LyXParagraph::META_INSET) { > | Inset const * tmpinset = row->par()->GetInset(pos); > | if (tmpinset) { > | tmpinset->draw(bview, font, offset+row->baseline(), x, > |cleared); > | } > |

Re: Inset question

2000-06-29 Thread Lars Gullik Bjønnes
Angus Leeming <[EMAIL PROTECTED]> writes: | What you (Lars) are suggesting is the GUI-Independence way of doing | things. Ie, | FormCitation and InsetCitation are separate classes. | | Pressing Insert->Citation Reference will launch a signal to show the citation | dialog (FormCitation). Nothing

  1   2   3   4   5   6   >