[PATCH] FormGraphics.C
please appy Herbert# -- http://www.lyx.org/help/ Index: src/frontends/xforms/ChangeLog === RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/frontends/xforms/ChangeLog,v retrieving revision 1.314 diff -u -r1.314 ChangeLog --- src/frontends/xforms/ChangeLog 2002/03/08 13:53:30 1.314 +++ src/frontends/xforms/ChangeLog 2002/03/09 07:11:09 @@ -1,3 +1,8 @@ +2002-03-09 Herbert Voss <[EMAIL PROTECTED]> + + * FormGraphics.C: test if file exists, simplify an if command, + fix bug with choice for rotate, small changes + 2002-03-08 Juergen Spitzmueller <[EMAIL PROTECTED]> * FormGraphics.C: Tiny stylistic correction. Index: src/frontends/xforms/FormGraphics.C === RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/frontends/xforms/FormGraphics.C,v retrieving revision 1.53 diff -u -r1.53 FormGraphics.C --- src/frontends/xforms/FormGraphics.C 2002/03/08 13:53:30 1.53 +++ src/frontends/xforms/FormGraphics.C 2002/03/09 07:11:09 @@ -28,7 +28,6 @@ #include "input_validators.h" #include "debug.h" // for lyxerr #include "support/lstrings.h" // for strToDbl & tostr -#include "support/FileInfo.h" #include "support/filetools.h" // for MakeAbsPath etc #include "insets/insetgraphicsParams.h" #include "lyxrc.h" // for lyxrc.display_graphics @@ -43,7 +42,7 @@ int const HEIGHT_MAXDIGITS = 10; int const ROTATE_MAXCHARS = 4; int const FILENAME_MAXCHARS = 1024; -string defaultUnit = "cm"; +string defaultUnit("cm"); } // namespace anon @@ -164,6 +163,9 @@ fl_addto_tabfolder(dialog_->tabFolder, _("LaTeX Size"), size_->form); fl_addto_tabfolder(dialog_->tabFolder, _("Bounding Box"), bbox_->form); fl_addto_tabfolder(dialog_->tabFolder, _("Extras"), special_->form); + // set the right default unit + if (lyxrc.default_papersize < 3) + defaultUnit = "in"; } @@ -174,6 +176,8 @@ // the file section igp.filename = getStringFromInput(file_->input_filename); + if (!IsFileReadable(igp.filename)) + Alert::alert(_("Warning!"),_("Filename does not exists!")); igp.subcaption = fl_get_button(file_->check_subcaption); igp.subcaptionText = getStringFromInput(file_->input_subcaption); igp.rotate = fl_get_button(file_->check_rotate); @@ -266,8 +270,6 @@ void FormGraphics::update() { - if (lyxrc.default_papersize < 3) - defaultUnit = string("in"); // Update dialog with details from inset InsetGraphicsParams & igp = controller().params(); @@ -281,7 +283,7 @@ fl_set_input(file_->input_rotate_angle, tostr(igp.rotateAngle).c_str()); if (igp.rotateOrigin.empty()) - fl_set_choice(file_->choice_origin,0); + fl_set_choice(file_->choice_origin,1); else fl_set_choice_text(file_->choice_origin,igp.rotateOrigin.c_str()); setEnabled(file_->input_rotate_angle, @@ -310,9 +312,9 @@ break; } updateWidgetsFromLength(lyxview_->input_lyxwidth, - lyxview_->choice_width_lyxwidth, igp.lyxwidth,defaultUnit); + lyxview_->choice_width_lyxwidth, igp.lyxwidth, defaultUnit); updateWidgetsFromLength(lyxview_->input_lyxheight, - lyxview_->choice_width_lyxheight, igp.lyxheight,defaultUnit); + lyxview_->choice_width_lyxheight, igp.lyxheight, defaultUnit); fl_set_input(lyxview_->input_lyxscale, tostr(igp.lyxscale).c_str()); switch (igp.lyxsize_type) { case InsetGraphicsParams::DEFAULT_SIZE: { @@ -347,9 +349,9 @@ // the size section // Update the draft and clip mode updateWidgetsFromLength(size_->input_width, - size_->choice_width_units,igp.width,defaultUnit); + size_->choice_width_units, igp.width, defaultUnit); updateWidgetsFromLength(size_->input_height, - size_->choice_height_units,igp.height,defaultUnit); + size_->choice_height_units, igp.height, defaultUnit); fl_set_input(size_->input_scale, tostr(igp.scale).c_str()); switch (igp.size_type) { case InsetGraphicsParams::DEFAULT_SIZE: { @@ -483,13 +485,10 @@ setEnabled(lyxview_->choice_width_lyxheight, 0); setEnabled(lyxview_->input_lyxscale, 1); } else if (ob == lyxview_->button_latex_values) { - if (fl_get_choice(size_->choice_width_units) > 3 - && fl_get_choice(size_->choice_width_units) < 8 - || fl_get_choice(size_->choice_height_units) > 3 - && fl_get_choice(size_->choice_height_units) < 8) - Alert::alert(_("Warning!"), - _("The units t%, p%, c% and l% are not allowed here."), -
Re: BufferView_pimpl
On Fri, Mar 08, 2002 at 09:55:46AM +0100, Jean-Marc Lasgouttes wrote: > Because of that? > http://www.gotw.ca/gotw/024.htm oh, ok, what kde does everywhere. fair enough. regards john -- I am a complete moron for forgetting about endianness. May I be forever marked as such.
Re: lyx-devel src/: ChangeLog lyx_cb.C lyx_cb.h src/insets/: Cha
On Mon, Mar 04, 2002 at 04:52:45PM +0100, Juergen Vigna wrote: > You will eventually! You know it took me quite a few years and actually > working on LyXText / BufferView to understand how the update() call really > works ;) A really good sign it needs junking :) After all it's not rocket science ... john -- I am a complete moron for forgetting about endianness. May I be forever marked as such.
Re: math environment.
On Thu, Feb 28, 2002 at 10:35:19AM +0200, Staffan Ringbom wrote: > Dear developers, > > By and large the math-editor is a nice piece. > I would like to comment on the new math-editor in 1.2.0cvs. these are now bugs #265, #266, #267 regards john -- I am a complete moron for forgetting about endianness. May I be forever marked as such.
Re: DocBook-class weirdness
On Sat, Feb 23, 2002 at 07:10:20PM +0100, Niklaus Giger wrote: > I had a LyX-file based on the LinuxDoc class. It had some > Itemize, Description paragraphs. Then I changed the layout > to DocBook class and I got quit a few errors like this: > >>> > /usr/bin/jade:[EMAIL PROTECTED]:228:12:E: end tag for element > "LISTITEM" which is not open can you create a small lyx file that demonstrates the bug please ? john -- I am a complete moron for forgetting about endianness. May I be forever marked as such.
Re: command to export to latex ?
On Tue, Feb 19, 2002 at 07:43:30PM +0100, Toni Moreno Giménez wrote: > I'm automatizing documentacion creation and web updating process, by using > bash scripting ,from LyX based documents, but I need a command to export > *.lyx to *.tex . without needed of use the LyX GUI. You can use -i and -e options on lyx command line to do this. regards john p.s. your question would have been better on lyx-users -- I am a complete moron for forgetting about endianness. May I be forever marked as such.
Re: Bug list on Bugzilla
On Sat, Mar 09, 2002 at 03:03:37PM +1300, Michael Koziarski wrote: > the bugcount has come down a long way lately! Are we missing some of > Michael Schmitt's bugs, or are we really just 2 bugs away from a > prerelease (barring new ones being discovered) ? there are four, probably more... > On another note, once my new keyboard arrives I hope to add a few > more dialogs to the gnome frontend, hopefully things haven't changed > too drastically. I don't think so ! john -- I am a complete moron for forgetting about endianness. May I be forever marked as such.
Bug list on Bugzilla
Hey guys, the bugcount has come down a long way lately! Are we missing some of Michael Schmitt's bugs, or are we really just 2 bugs away from a prerelease (barring new ones being discovered) ? +--+--+ | bugcount | target_milestone | +--+--+ | 93 | --- | |5 | 1.2.0| |2 | 1.2.0pre1| +--+--+ On another note, once my new keyboard arrives I hope to add a few more dialogs to the gnome frontend, hopefully things haven't changed too drastically. Cheers -- | Michael Koziarski |"Conventional wisdom is often | | Data Engineer, Linux user | long on convention and short | | & Objectivist. | on wisdom" -- | | http://www.koziarski.com| Warren E. Buffett, BRK.A |
Re: Latest CVS: compile problems on WinXP
On Fri, Mar 08, 2002 at 12:21:05PM -0800, Kayvan A. Sylvan wrote: > I just sent a message to the Cygwin list. ok good. I hope we don't have to revert everything - mayhem. > P.S. Wish me luck, I am going to an interview for another consulting > gig this afternoon. good luck ! john -- I am a complete moron for forgetting about endianness. May I be forever marked as such.
Re: instructions on fixing rendering of eps figures in lyx
On Fri, Mar 08, 2002 at 04:42:13PM +, michael jones wrote: > I went to the suggested link: > http://sourceforge.net/bugs/?func=detailbug&bug_id=124957&group_id=1897 The fix is included in 6.53, so download and install that. > diff -c ./gdevxini.c ../src/gdevxini.c > *** ./gdevxini.c Fri Dec 8 13:41:03 2000 > --- ../src/gdevxini.c Fri Dec 8 13:42:05 2000 read up about "diff" and "patch" regards john -- I am a complete moron for forgetting about endianness. May I be forever marked as such.
Re: Latest CVS: compile problems on WinXP
On Fri, Mar 08, 2002 at 09:44:04AM +0100, Jean-Marc Lasgouttes wrote: > > "Kayvan" == Kayvan A Sylvan <[EMAIL PROTECTED]> writes: > > Kayvan> Is there anybody looking at this? Currently, we have lost the > Kayvan> ability to compile LyX under Win32. > > Could you try to ask on cygwin lists about this? I did a google > search, but did not find anything. I think it is supposed to work. Well, there is some stuff about "ld -r" and relocation problems, but nothing that offers a solution. I just sent a message to the Cygwin list. P.S. Wish me luck, I am going to an interview for another consulting gig this afternoon. ---Kayvan -- Kayvan A. Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc. | Laura Isabella Sylvan | Katherine Yelena (8/8/89) http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92) msg34174/pgp0.pgp Description: PGP signature
Re: cut & paste from e-mail
On 5 March 2002 19:22, Jean-Marc Lasgouttes wrote: > > "Garst" == Garst R Reese <[EMAIL PROTECTED]> writes: > > Garst> Thanks, I figured it might be, but the wizards prevail so > Garst> often, I asked. The skip form of paragraphing seems to work > Garst> now. It didn't for awhile. How about a way to replace some > Garst> character with a new line? Could replace interpret something > Garst> starting with \ as ERT? Garst > > Basically, we need a full fledged formatted-plain-text to lyx > converter... Maybe some things like that exist already to convert to > latex? I do a similar converter for my own needs. I thought I can found such converter anywhere, but I can't. Did you hear about similar projects? -- Lav GNU! Linux! LaTeX! LyX!
Re: Tooltips revamp
On Friday 08 March 2002 4:37 pm, Jean-Marc Lasgouttes wrote: > > "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: > > > Angus> How do I create a little check box for the What's This entry in > Angus> the Help menu, like the Emphasize Style entry in Layouts? > > This is done in LyXFunc::getStatus. For example, for > buffer-toggle-readonly, it is > > case LFUN_READ_ONLY_TOGGLE: > flag.setOnOff(buf->isReadonly()); > break; > > Should be easy enough, no? Very easy case LFUN_TOOLTIPS_TOGGLE: flag.setOnOff(Tooltips::enabled()); break; Oops not so easy. I'll need another static signal in Dialogs.h static bool SigC::Signal0 Dialogs::tooltipsEnabled; that gets connected to Tooltips::enabled() (other side of the frontends firewall). I have no time to do that tonight. Gotta dash. Shall I just commit what I have done or post it to the list? (it does work!) Angus
instructions on fixing rendering of eps figures in lyx
Hi: I am trying to fix the eps rendering problem for inline figures outlined in the FAQ for Lyx (sec. 7.4). I went to the suggested link: http://sourceforge.net/bugs/?func=detailbug&bug_id=124957&group_id=1897 where I found the "fix" : diff -c ./gdevxini.c ../src/gdevxini.c *** ./gdevxini.c Fri Dec 8 13:41:03 2000 --- ../src/gdevxini.c Fri Dec 8 13:42:05 2000 *** *** 654,661 .. But I don't understand what exactly I am supposed to do with this code?? Can someone please give me step by step instructions on how to fix this problem? Thanks! _ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx
Re: Tooltips revamp
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> How do I create a little check box for the What's This entry in Angus> the Help menu, like the Emphasize Style entry in Layouts? This is done in LyXFunc::getStatus. For example, for buffer-toggle-readonly, it is case LFUN_READ_ONLY_TOGGLE: flag.setOnOff(buf->isReadonly()); break; Should be easy enough, no? JMarc
Tooltips revamp
I have finished the tooltips revamp so that we have an LFUN_TOOLTIPS_TOGGLE that is used to trigger a static signal Dialogs::toggleTooltips. Not only does it turn tooltips on and off, but we even get a cursor as a "?" in all dialogs that have initialised a tooltip. Not the main dialog though, because that doesn't use the default xforms cursor in the WorkArea and I haven't enquired further. So all those nasty "Help" buttons that people have been complaining about have now gone. All works well with both the xforms 0.89 and 0.88 tooltip mechanisms. For those despairing of ever getting 1.2 out the door with Angus committing all these boody patches, fear not. As far as I'm concerned 1.2 is now ready to go! No more from me!!! I have one question, however, that perhaps Jean-Marc can answer: How do I create a little check box for the What's This entry in the Help menu, like the Emphasize Style entry in Layouts? Angus
Re: Away
On Fri, Mar 08, 2002 at 03:12:53PM +0200, Martin Vermeer wrote: > As I will be travelling next week, I expect to find > that 1.2.0pre1 will be available for download on > Friday March 15. This leaves us with 11 years and a few days if I am not mistaken. Andre' -- André Pönitz .. [EMAIL PROTECTED]
Re: Why does InsetGraphics say display() == true???
> "Juergen" == Juergen Vigna <[EMAIL PROTECTED]> writes: Juergen> On 08-Mar-2002 Jean-Marc Lasgouttes wrote: >> Juergen, I see you are the one who added it like that (in July >> 2000). Did you have a reason for it? Juergen> Because insetfigure was displayed? I don't know. Do we have Juergen> displayed graphics insets? AFAIK, such a thing does not exist in latex, you should just put it in its own paragraph. I do not know whether linuxdoc/docbook has such a notion, though. In fact the old figinset code had ugly work arounds for inserting the figure in its own paragraph when one asked for it. So figinset never had support for display == true (which one of the very few areas where it got it right). JMarc
Re: UserGuide console msgs
> "Garst" == Garst R Reese <[EMAIL PROTECTED]> writes: Garst> InsertERT::Read: Missing 'status'-tagl (repeated many times) These are normal (an oldish 1.2.0cvs format) Garst> choice TOC|figure|table choice TOC|figure|table I never saw these... Garst> Paragraph 1232 found A debug message when using navigate. It could maybe be removed now? Garst> Error! cannot open file: Garst> /usr/local/share/lyx/doc/#UserGuide.lyx# What did you do to get this? JMarc
RE: Why does InsetGraphics say display() == true???
On 08-Mar-2002 Jean-Marc Lasgouttes wrote: > Juergen, I see you are the one who added it like that (in July 2000). > Did you have a reason for it? Because insetfigure was displayed? I don't know. Do we have displayed graphics insets? Jug -- -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._ Dr. Jürgen VignaE-Mail: [EMAIL PROTECTED] Italienallee 13/N Tel/Fax: +39-0471-450260 / +39-0471-450253 I-39100 Bozen Web: http://www.sad.it/~jug -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._ Apathy Club meeting this Friday. If you want to come, you're not invited.
Why does InsetGraphics say display() == true???
In insetgraphics.h, I see /// bool display() const { return true; } Why is that? includegraphics is certainly an inline thing (like a simple character). In userguide, there is a demo of an inline image, which is displayed on screen, but perfectly inline in xdvi. I propose to change the line above to /// bool display() const { return false; } Juergen, I see you are the one who added it like that (in July 2000). Did you have a reason for it? JMarc
Re: ASCII in LyX
> "Vitaly" == Vitaly Lipatov <[EMAIL PROTECTED]> writes: Vitaly> I think ascii text is incorrect term in LyX. ASCII is 7bit Vitaly> text like Latin1, but we use it word for unstructured plain Vitaly> text. I suggest plain text is more correctly. Agreed. "plain tex" or even "text" would be better, JMarc
Re: [PATCH] Re: [Devel] New bug list
> "Juergen" == Juergen Spitzmueller <[EMAIL PROTECTED]> writes: Juergen> Jean-Marc Lasgouttes wrote: >> Feel free to send a patch... It is in already. Juergen> OK. Here it comes (safe to apply). Thanks. JMarc
Re: [PATCH] Re: [Devel] New bug list
Jean-Marc Lasgouttes wrote: > Feel free to send a patch... It is in already. OK. Here it comes (safe to apply). Thanks, Juergen. > JMArc - This message was sent using Endymion MailMan. http://www.endymion.com/products/mailman/ Index: src/frontends/xforms/ChangeLog === RCS file: /cvs/lyx/lyx-devel/src/frontends/xforms/ChangeLog,v retrieving revision 1.313 diff -u -r1.313 ChangeLog --- src/frontends/xforms/ChangeLog 2002/03/08 11:05:48 1.313 +++ src/frontends/xforms/ChangeLog 2002/03/08 13:22:14 @@ -1,3 +1,7 @@ +2002-03-08 Juergen Spitzmueller <[EMAIL PROTECTED]> + + * FormGraphics.C: Tiny stylistic correction. + 2002-03-07 Juergen Spitzmueller <[EMAIL PROTECTED]> * FormGraphics.C: Index: src/frontends/xforms/FormGraphics.C === RCS file: /cvs/lyx/lyx-devel/src/frontends/xforms/FormGraphics.C,v retrieving revision 1.52 diff -u -r1.52 FormGraphics.C --- src/frontends/xforms/FormGraphics.C 2002/03/08 11:05:48 1.52 +++ src/frontends/xforms/FormGraphics.C 2002/03/08 13:22:16 @@ -488,8 +488,8 @@ || fl_get_choice(size_->choice_height_units) > 3 && fl_get_choice(size_->choice_height_units) < 8) Alert::alert(_("Warning!"), - _("The values %t, %p, %c and %l are not allowed here."), - _("Cannot take the values from LaTeX size!.")); + _("The units t%, p%, c% and l% are not allowed here."), + _("Cannot use the values from LaTeX size!")); else { LyXLength dummy = LyXLength(getLengthFromWidgets(size_->input_width, size_->choice_width_units));
Away
As I will be travelling next week, I expect to find that 1.2.0pre1 will be available for download on Friday March 15. Good luck! Martin msg34160/pgp0.pgp Description: PGP signature
Re: A new springer journal PTRF
On Fri, Mar 08, 2002 at 12:14:11PM +0100, Jean-Marc Lasgouttes wrote: > > Are you sure you are not looking at the BRANCH_1_1_6 branch of the > repository? There is a newer one in HEAD. > > JMarc OK, you were right as usual :-( Here the patch against HEAD. Martin --- Extended.lyx.orig Fri Mar 8 14:35:46 2002 +++ Extended.lyxFri Mar 8 14:37:06 2002 @@ -8290,9 +8294,9 @@ document to produce the gap, which is not what is wanted in this case. \layout Section -Springer two-column Journals ( +Springer Journals ( \family sans -ejour2 +svjour \family default ) \layout Standard @@ -8305,93 +8309,145 @@ Description \layout Standard -These are the class and layout files for the two-column journal format used - by Springer Verlag. - It is reasonably well tested only for the Journal of Geodesy. - Install the files in the proper directories, reconfigure LaTeX (in the - teTeX case by running texhash), reconfigure LyX and it should work. -\layout Standard +These are the layout files for some of the journal formats used by Springer + Verlag and listed on +\begin_inset LatexCommand \url{http://www.springer.de/author/tex/help-journals.html} -If you want a reference list conforming to -\begin_inset Quotes eld \end_inset -(author, year) -\begin_inset Quotes erd -\end_inset - - rather than numbered entries, put the +, where you should also go to fetch the class files (yes, these are LaTeX2e + now!). + It is a modular system: the things common to all journals are implemented + in \family typewriter -JG +svjour.inc \family default - option in the documentclass options list. - Then, you can refer to an entry by putting the name and year within red - LaTeX brackets, so it looks like -\layout Description +, which journal-specific layout files (such as, e.g., +\family typewriter +svjog.layout +\family default + for Journal of Geodesy) can include. +\layout Standard +This means that implementing support for any other Springer journal on this + list is as simple as writing your own +\family typewriter +sv +\family default + +\family typewriter +.layout +\family default + file following the outline given in +\family typewriter +svjog.layout +\family default +. + +\layout Standard -\series medium -[1] -\series default +It is reasonably well tested only for the Journal of Geodesy. -\begin_inset ERT -status Collapsed +\family typewriter +svjour +\family default + and +\family typewriter +svjog +\family default + come with the standard LyX distribution. + Install the relevant class file (downloaded from Springer) in a proper + directory, reconfigure LaTeX (in the teTeX case by running +\family typewriter +texhash +\family default +, as root if necessary -- doesn't LyX take care of this?), reconfigure LyX + and it should work. +\layout Subsection +New styles \layout Standard -{ -\end_inset - -P. - Murphy, 1879 -\begin_inset ERT -status Collapsed +A large number of theorem-like styles -- +\family sans +Claim, Conjecture, +\family default + +\family sans +\SpecialChar \ldots{} +Theorem +\family default +. \layout Standard -} -\end_inset - The luck of the Irish. - Journal of Irreproducible Results. -\begin_inset Foot -collapsed true -\layout Standard +\family sans +Headnote, Dedication, Subtitle, Running_LaTeX_Title, Author_Running, Institute, + Mail, Offprints, Keywords, Acknowledgements, Acknowledgement +\family default +. + See the Springer class file documentation for details. +\layout Subsection -Here I did not use a real bibliography entry, since it would come out bad - in the book style of this documentation. - Note that the braces do not show up in the printed version of this document. -\end_inset +Supported journals +\layout Itemize -\layout Subsection +\emph on +Journal of Geodesy +\emph default +: +\family typewriter +svjog.layout +\family default +-- Martin Vermeer +\layout Itemize -Credits -\layout Standard -These files were originally made on the basis of an older style file for - LaTeX 2.09 found on the Springer Verlag web site. +\emph on +Probability Theory and Related Fields +\emph default +: +\family typewriter +svprobth.layout +\family default + -- Jean-Marc Lasgouttes \layout Standard -I have asked Springer for permission to publish this modified style file, - or alternatively, asked them to post it on their web site -- after necessary - improvements. +Add your own, it isn't so hard! +\layout Subsection + +Credits \layout Standard -As I received no response, I must assume that Springer have *abandoned* - the package -- which was provided free -- and that I am free to adopt it. - If any representative from Springer reads this: drop me a line! +These files are partly based on the older +\family typewriter +ejour2.layout +\family default +, which was again based on a tinkered-with version of an old LaTeX 2.09 style + file from Springer. + All this, and the +\family typewriter +ejour2 +\family defa
Re: [PATCH] Re: [Devel] New bug list
> "Juergen" == Juergen Spitzmueller <[EMAIL PROTECTED]> writes: Juergen> Sorry about that. Can you change it or should I send a patch Juergen> after this is in? Feel free to send a patch... It is in already. JMArc
Re: [PATCH] Re: [Devel] New bug list
Jean-Marc Lasgouttes wrote: > Juergen> Done. Furthermore: - Fix a typo where the value for height > Juergen> (lyxview) was taken from width (size). - Remove bogus > Juergen> *%-values from lyxview (t% may be readded later if it is > Juergen> supported). - Add an Alert Message when using "Get Latex > Juergen> size" and Latex size contains *%-values. - FormTabular.C: > Juergen> Remove obsolete comment (of mine). > > I'll apply it. Thanks. Actually, I noticed, that the Alert message is not the best style. It should be: Alert::alert(_("Warning!"), _("The units t%, p%, c% and l% are not allowed here."), _("Cannot use the values from LaTeX size!")); (units instead of values, t% etc. instead of %t etc., use instead of take, remove dot after the last exclamation). Sorry about that. Can you change it or should I send a patch after this is in? Juergen. - This message was sent using Endymion MailMan. http://www.endymion.com/products/mailman/
Re: A new springer journal PTRF
> "Martin" == Martin Vermeer <[EMAIL PROTECTED]> writes: Martin> On Fri, Mar 08, 2002 at 10:33:49AM +0100, Jean-Marc Lasgouttes Martin> wrote: Patch attached. Please dump ejour2 (but keep a copy Martin> stashed somewhere just in case :-) >> This is a patch against the 1.1.6 documentation, right? I'd rather >> have something for 1.2.0cvs. >> >> JMarc Martin> I pulled Extended.lyx out of CVS (module lyxdoc) which is 3 Martin> months old. The patch is against that. I --dry-run'ed it even Martin> to check it would apply :-) Martin> If there is a younger one, where is it? Are you sure you are not looking at the BRANCH_1_1_6 branch of the repository? There is a newer one in HEAD. JMarc
Re: Need help on getting started with LyX development
> "Ananda" == Ananda Samaddar <[EMAIL PROTECTED]> writes: Ananda> Thanks for your replies, Dekel and Jean-Marc, to answer your Ananda> questions, the language I hope to add support to LyX for is Ananda> Bengali. Spoken in Eastern India and Bangladesh. I want to be Ananda> able to create Bengali documents in LyX rather than localise Ananda> the menus and messages. This I will do later if possible. I Ananda> have set up a rather crappy website at Ananda> http://ananda.freewebsites.com/bangla_lyx.html if you're Ananda> interested. It should be quite easy (i.e minimal C/C++ coding) Ananda> as it uses the quite good bangtex package (link on website). Ananda> This particular package has actual LaTeX class bletter.cls, Ananda> bbook.cls andbarticle.cls, for writing letters, books and Ananda> articles in Bengali respectively. So it could simply be a Ananda> matter of creating corresponding LyX layouts for the LaTeX Ananda> classes, LyX keyboard maps, and then getting LyX to display Ananda> Bengali characters properly. Does begali need complex input methods from X? Stuff like that exists in the CJK-LyX port and may be useful. Ananda> I would like to use pfb fonts as screen fonts within the main Ananda> editing window itself, to display Bengali characters as they Ananda> are typed. The pfb files themselves were converted from the Ananda> metafont source files using TeXtrace, so I don't know how easy Ananda> it will be to get LyX to use them. If you can make them available to the X font server, then LyX will be able to use them. JMarc
Re: A new springer journal PTRF
On Fri, Mar 08, 2002 at 10:33:49AM +0100, Jean-Marc Lasgouttes wrote: > Martin> Patch attached. Please dump ejour2 (but keep a copy stashed > Martin> somewhere just in case :-) > > This is a patch against the 1.1.6 documentation, right? I'd rather > have something for 1.2.0cvs. > > JMarc I pulled Extended.lyx out of CVS (module lyxdoc) which is 3 months old. The patch is against that. I --dry-run'ed it even to check it would apply :-) If there is a younger one, where is it? Martin msg34154/pgp0.pgp Description: PGP signature
Re: [PATCH] Re: [Devel] New bug list
> "Juergen" == Juergen Spitzmueller <[EMAIL PROTECTED]> writes: Juergen> Michael Schmitt wrote: >> - Graphics dialog: "Get LyX/LaTeX size" does not switch between >> "default", "scale", and "custom" automatically. Juergen> Done. Furthermore: - Fix a typo where the value for height Juergen> (lyxview) was taken from width (size). - Remove bogus Juergen> *%-values from lyxview (t% may be readded later if it is Juergen> supported). - Add an Alert Message when using "Get Latex Juergen> size" and Latex size contains *%-values. - FormTabular.C: Juergen> Remove obsolete comment (of mine). I'll apply it. JMarc
Re: Tilde bug
> "Michael" == Michael Bax <[EMAIL PROTECTED]> writes: Michael> I tested it for tildes (manually editing the .tex file), and Michael> it worked fine. >> Michael> Spaces might work if you enclose the path in quotes, eg: Michael> \def\input@path{{"C:/Program Files/Cygwin/tmp/"}} but I don't Michael> recall the results. >> I do not see how, since latex does not consider them as special >> (they are a shell thing). Michael> Quoted paths with spaces do not work under pure *nix. (They Michael> do however work for MiKTeX under Cygwin.) Could you point me to some doc about this miktex feature? What about fptex? JMarc
Re: Graphics rendering problems in UserGuide
> "Juergen" == Juergen Vigna <[EMAIL PROTECTED]> writes: Juergen> On 08-Mar-2002 Jean-Marc Lasgouttes wrote: >> I just point to this again, because it is _not_ related to insets >> in insets... >> >> Open UserGuide, Navigate to section 3.4 and wait until the inlined >> EPS gets rendered. It gets drawn badly, but this is corrected as >> soon as you scroll. Juergen> I don't have any graphics in section 3.4??? OK, make that 4.3. JMarc
RE: Graphics rendering problems in UserGuide
On 08-Mar-2002 Jean-Marc Lasgouttes wrote: > > I just point to this again, because it is _not_ related to insets in > insets... > > Open UserGuide, Navigate to section 3.4 and wait until the inlined EPS > gets rendered. It gets drawn badly, but this is corrected as soon as > you scroll. I don't have any graphics in section 3.4??? Jug -- -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._ Dr. Jürgen VignaE-Mail: [EMAIL PROTECTED] Italienallee 13/N Tel/Fax: +39-0471-450260 / +39-0471-450253 I-39100 Bozen Web: http://www.sad.it/~jug -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._ There are never any bugs you haven't found yet.
Graphics rendering problems in UserGuide
I just point to this again, because it is _not_ related to insets in insets... Open UserGuide, Navigate to section 3.4 and wait until the inlined EPS gets rendered. It gets drawn badly, but this is corrected as soon as you scroll. JMarc
Re: caption not found
> "Herbert" == Herbert Voss <[EMAIL PROTECTED]> writes: Herbert> Angus Leeming wrote: >> Open the user guide (thanks, Lars, I can now do so!) Click on the >> TOC inset to lauch the TOC dialog HUNDREDS of "caption not found" >> comments to console. Herbert> not for me in the german UserGuide.lyx >> One final, LaTeX, point: navigate to the very end of the document. >> One of the bibliography entries Michel Goossens, Frank Mittelbach >> and Alexander Samarin: The LaTeX Companion has an ERT inset between >> "The" and "LaTeX Companion". It appears to be empty! Herbert> sure, the doc has only a --snip-- layout Latex Herbert> layout Standard --snip-- What do is that? I cannot see the problem you are alluding to? OK, I see. This is the 1.1.6 userguide, and the code is \latex latex \latex default JMarc
Re: Links to patches
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: >> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: > | Lars> John Levon <[EMAIL PROTECTED]> writes: | Lars> | On Thu, Mar 07, 2002 at 07:07:43PM +0100, Lars Gullik Bjønnes wrote: >>> Do we want to? There is a selection box at the bottom of the page where you can choose "unified diff". >>> | Lars> | sure but if we want to read one of your mass cleanup patches ? > | Lars> ?? relevance? > | Lars> cvs rdiff -D -D | Lars> lyx-devel > | Would it be possible to have a link to such a patch in the log | message? Can viewcvs do this for us? well... no not directly it could create the cvs command for you... as in cvs rdiff -D date-just-before-the-commit -D date-just-after-the-commit \ but I am not going to do the work for that. -- Lgb
Re: A new springer journal PTRF
> "Martin" == Martin Vermeer <[EMAIL PROTECTED]> writes: Martin> On Mon, Mar 04, 2002 at 12:24:12PM +0100, Jean-Marc Lasgouttes Martin> wrote: >> Do you feel like taking a look at this mess and submitting a patch? >> >> JMarc >> Martin> Patch attached. Please dump ejour2 (but keep a copy stashed Martin> somewhere just in case :-) This is a patch against the 1.1.6 documentation, right? I'd rather have something for 1.2.0cvs. JMarc
Re: Export>custom problems
On Friday 08 March 2002 4:03 am, Allan Rae wrote: > On Thu, 7 Mar 2002, Angus Leeming wrote: > > > On Thursday 07 March 2002 4:02 pm, Juergen Vigna wrote: > > > > I had a look > and the only thing I don't like is the Help > > button. We don't have that > button on any other dialog so why > > should we have it here? > > > > I think Lars' greets comments like that with "Nada nada nada". No idea what > > it means ;-) > > Yes you do. See: > http://www.lyx.org/news/20001115.php3#editorial6 "So sue me"! > > Anyway, other dialogs do have this button, just not many. Try the Bibtex, > > Citation and Texinfo dialogs. As I told you earlier, they are planned for > > removal. We have discussed how to move forward with this (a What's This entry > > in the Help menu) and that's what will happen. Eventually. For how you have > > ugliness but help. > > Die silly help choice button! DIE! Patience! And hows the thesis? Angus
Re: BufferView_pimpl
> "John" == John Levon <[EMAIL PROTECTED]> writes: John> Why do we have a pimpl for BufferView ? Because of that? http://www.gotw.ca/gotw/024.htm Actually, this is the kind of cases where pimpl is IMO useful. The places where is is wrong are Menubar and Toolbar, and I have to admit that I am the one at fault for that. JMarc
Re: Latest CVS: compile problems on WinXP
> "Kayvan" == Kayvan A Sylvan <[EMAIL PROTECTED]> writes: Kayvan> Is there anybody looking at this? Currently, we have lost the Kayvan> ability to compile LyX under Win32. Could you try to ask on cygwin lists about this? I did a google search, but did not find anything. I think it is supposed to work. JMarc
Re: Links to patches
> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: Lars> John Levon <[EMAIL PROTECTED]> writes: Lars> | On Thu, Mar 07, 2002 at 07:07:43PM +0100, Lars Gullik Bjønnes wrote: >> >>> Do we want to? There is a selection box at the bottom of the page >>> where you can choose "unified diff". >> Lars> | sure but if we want to read one of your mass cleanup patches ? Lars> ?? relevance? Lars> cvs rdiff -D -D Lars> lyx-devel Would it be possible to have a link to such a patch in the log message? Can viewcvs do this for us? JMarc
Re: Export>custom problems
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> On Thursday 07 March 2002 3:43 pm, Jean-Marc Lasgouttes wrote: >> 1/ when I select File>Export>Custom I get both custom export _and_ >> spellchecker dialogs Angus> Then you have a dependencies problem. The showSendto signal in Angus> Dialogs.h occupies the spot in memory that the showSpellchecker Angus> signal did. I guess you shoudl rebuild the tree entirely. Indeed. This dependency tracking is really lame. JMarc