Control-Enter and cursor location

2004-10-29 Thread Kayvan A. Sylvan
I reported a similar bug about Control-Space and how the cursor location is non-intuitive. Reproduce: 1) abcd [Control-Enter] efg What you will see is: "abcdefg" with the non-breakable return inset on the next line. What you should see is: abcd[] efg Where the "[]" above represents the

LyX XML-Format and Parsing

2004-10-29 Thread John Weiss
First, some news: Right after I last spoke on this subject, I found myself invited to interview with Amazon.com in Seattle. (Didn't get the job, BTW.) During the flight out/back, I decided to look over the DTD provided by Lars. Looks good! You'll find my remarks in comment blocks surrounded by:

Re: Route to 1.4.0

2004-10-29 Thread John Weiss
On Sat, Oct 23, 2004 at 03:31:02PM +0200, Asger Kunuk Ottar Alstrup wrote: > > Regarding the assertions: That sounds like a brillant idea. If possible, > make it so that debugging info is dumped on the console, but often > assertions are just as wrong as the code itself, so it makes sense to > kno

Re: Moving files from one dir to another

2004-10-29 Thread John Weiss
On Fri, Oct 22, 2004 at 01:58:57PM +0100, José Abílio Oliveira Matos wrote: > On Fri, Oct 22, 2004 at 01:25:08PM +0100, Angus Leeming wrote: > > > > Does DocBook not use MathML? > > The XML version, yes, the SGML no. > > Then the problem is that even if you use it, for some tools and chain

Re: [preliminary patch] moving XFig files

2004-10-29 Thread John Weiss
On Fri, Oct 22, 2004 at 09:59:40PM +0100, Angus Leeming wrote: > The attached patch enables us to move XFig files to the temp directory and > continue to generate DVI files, etc that show any included picture files. Question: Why move the files? Will LaTeX not respect symlinks? (Moving ... as i

Re: Exception handling

2004-10-29 Thread John Weiss
On Fri, Oct 29, 2004 at 10:03:34PM +0200, Lars Gullik Bjønnes wrote: > > And, no uncaught exceptions would not be cauth by the signal handler. Instead, we'd have to create our own custom handler for uncaught exceptions. There are a couple of strategies for implementing something like that, so it

Re: [PATCH] bug 515: cycle between buffers function needed

2004-10-29 Thread John Weiss
On Mon, Oct 25, 2004 at 10:11:18AM +0200, Jean-Marc Lasgouttes wrote: > > I guess I'll keep C-PageUp/Down for now. This makes the most sense to me. (I bind C-Tab and C-BackTab to the depth increment/decrement commands, as they are in analogy to indenting.) -- John Weiss

Re: A literate programming build bug

2004-10-29 Thread José Abílio Oliveira Matos
On Fri, Oct 29, 2004 at 11:16:36PM +0200, Alfredo Braunstein wrote: > Kayvan A. Sylvan wrote: > > > btw, you have mail. > > PS: please forgive me, I'm just drunk. What? No time for it, start fixing some bugs now! ;-) Oh, wait, better do it tomorrow. :-p > Alfredo -- José Abílio Matos

Re: A literate programming build bug

2004-10-29 Thread Kayvan A. Sylvan
On Fri, Oct 29, 2004 at 11:16:36PM +0200, Alfredo Braunstein wrote: > Kayvan A. Sylvan wrote: > > > [EMAIL PROTECTED] ~/src/afg]$ make build > > lyx --export program commit.lyx > > Error: Couldn't copy file > > > > Copying /tmp/lyx_tmpdir4751PUK6i

Re: A literate programming build bug

2004-10-29 Thread Alfredo Braunstein
Kayvan A. Sylvan wrote: > [EMAIL PROTECTED] ~/src/afg]$ make build > lyx --export program commit.lyx > Error: Couldn't copy file > > Copying /tmp/lyx_tmpdir4751PUK6iy/lyx_tmpbuf0/commit to ~/src/afg/commit > failed. You have new mail in /var/spo

Re: [Bug 1731] New: insetcharstyle doesn't escape active latex characters

2004-10-29 Thread martin . vermeer
> Re: [Bug 1731] New: insetcharstyle doesn't escape active latex characters > > From: Juergen Spitzmueller > <[EMAIL PROTECTED]> > Reply to: Juergen Spitzmueller > Date: Fri, 29 Oct 2004 20:22:33 +0200 > Newsgroups: > gmane.editors

Re: A literate programming build bug

2004-10-29 Thread Kayvan A. Sylvan
On Fri, Oct 29, 2004 at 01:04:27PM -0700, Kayvan A. Sylvan wrote: > Recent CVS exhibits the following problem: > > lyx --export program foo.lyx > > This seems to always return an error, even when the build script appears > to work. Is there something that has changed with the --export code

A literate programming build bug

2004-10-29 Thread Kayvan A. Sylvan
Recent CVS exhibits the following problem: lyx --export program foo.lyx This seems to always return an error, even when the build script appears to work. Is there something that has changed with the --export code in this regard? ---Kayvan -- Kayvan A. Sylvan

Re: Exception handling

2004-10-29 Thread Lars Gullik Bjønnes
Angus Leeming <[EMAIL PROTECTED]> writes: | Is there any reason why we explicitly turn off exception handling anymore? | Our oldest 'supported' compiler is gcc 2.95 and that has no problems in | this regard. > | I ask for purely selfish reasons. My cross-platform glob function and my | Bourne shel

Re: [Bug 1731] New: insetcharstyle doesn't escape active latex characters

2004-10-29 Thread Juergen Spitzmueller
Martin Vermeer wrote: > If you have a charstyle inset in a paragraph, it should inherit the > attributes of the text around it. There was something or other fishy with > that... please give your patch a workout around this before committing. Can you give me a (LaTeX) example for that? I have no id

Re: [Bug 1731] New: insetcharstyle doesn't escape active latex characters

2004-10-29 Thread Martin Vermeer
On Fri, 29 Oct 2004 16:40:56 +0200 Juergen Spitzmueller <[EMAIL PROTECTED]> wrote: > Martin Vermeer wrote: > > Okay... it appears that we need to take lines 560-715 of > > paragraph_pimpl.C, make it into a support routine or something, and > put > > it somewhere where also insets can use it. Like

Re: [preliminary patch] moving XFig files

2004-10-29 Thread Angus Leeming
Georg Baum wrote: > Here comes an updated patch. It is basically the same plus Changelogs and > documentation. Does anybody have objections? > > It is really necessary to document the new external template fetaures in > Customization.lyx now. I started to do this, but it is not finished yet. It l

Re: [preliminary patch] moving XFig files

2004-10-29 Thread Georg Baum
Georg Baum wrote: > I did, and I could not break it, but I found another reason to use this > mover stuff: Bug 605 is still not completely fixed. Consider the > following situation: > > master.lyx includes sub/child.lyx > sub/child.lyx includes sub/pic.fig (external material, relative file name)

Re: [patch] rename getExtFromContents()

2004-10-29 Thread Georg Baum
Angus Leeming wrote: > Moreover, as you say in your commentary, this latter is ambigous if > two formats have the same extension. That doesn't seem very clever to > me... The original version is in now. Georg

Re: [PATCH] Write one paragraph parameter per line.

2004-10-29 Thread José Abílio Oliveira Matos
Now with the patch: :-) -- José Abílio Matos LyX and docbook a perfect match. :-) Index: ParagraphParameters.C === RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/ParagraphParameters.C,v retrieving revision 1.44 diff -u -p -r1.44 Para

[PATCH] Write one paragraph parameter per line.

2004-10-29 Thread José Abílio Oliveira Matos
Hi, The following patch writes one paragraph parameter per line. This follow the rational of all other changes in the lyx file format over 1.4, to limit to one any token beginning with a slash. Also, some parameters have their own line while other don't, this makes them all equal. :-) -- Jo

Re: [Bug 1731] New: insetcharstyle doesn't escape active latex characters

2004-10-29 Thread Juergen Spitzmueller
Juergen Spitzmueller wrote: > +#include "outputparams.h" This is not needed. BTW LyX enters an infinite loop if you leave the charstyle inset and try to reenter it with the mouse. Jürgen

Re: [Bug 1731] New: insetcharstyle doesn't escape active latex characters

2004-10-29 Thread Juergen Spitzmueller
Martin Vermeer wrote: > Okay... it appears that we need to take lines 560-715 of > paragraph_pimpl.C, make it into a support routine or something, and put > it somewhere where also insets can use it. Like escapeChar in sgml.C. > > Any sane suggestions from those with a stronger feeling for LyX's >

Re: [Bug 1731] New: insetcharstyle doesn't escape active latex characters

2004-10-29 Thread Martin Vermeer
On Fri, 2004-10-29 at 13:37, [EMAIL PROTECTED] wrote: > http://bugzilla.lyx.org/show_bug.cgi?id=1731 > >Summary: insetcharstyle doesn't escape active latex characters >Product: LyX >Version: 1.4.0cvs > Platform: PC > OS/Version: All >

Exception handling

2004-10-29 Thread Angus Leeming
Is there any reason why we explicitly turn off exception handling anymore? Our oldest 'supported' compiler is gcc 2.95 and that has no problems in this regard. I ask for purely selfish reasons. My cross-platform glob function and my Bourne shell-like command line parser both use exceptions interna

Re: Mac keybinding for cycling between buffers

2004-10-29 Thread Bennett Helm
On Oct 25, 2004, at 9:31 AM, Bennett Helm wrote: So I propose that (M-Tab) and (M-BackTab) be used for switching between buffers in mac.bind. This would parallel the use of , which is the Mac standard keybinding to cycle between applications. (Another option would be to go with cua.bind's , w

Re: lyx-devel src/: ChangeLog output_docbook.C sgml.C src/inse ...

2004-10-29 Thread José Abílio Oliveira Matos
On Fri, Oct 29, 2004 at 12:51:04PM +0300, Martin Vermeer wrote: > Beautiful piece of work, José. Looks so much cleaner now. Thanks, :-) -- José Abílio Matos LyX and docbook a perfect match. :-)

Re: lyx-devel src/: ChangeLog output_docbook.C sgml.C src/inse ...

2004-10-29 Thread José Abílio Oliveira Matos
On Fri, Oct 29, 2004 at 11:00:03AM +0100, Angus Leeming wrote: > > Actually, José, I think that you can simplify insetcharstyle.C even > further: > > int InsetCharStyle::linuxdoc(Buffer const & buffer, std::ostream & os, > OutputParams const & params) const > { >

Re: lyx-devel src/: ChangeLog output_docbook.C sgml.C src/inse ...

2004-10-29 Thread Angus Leeming
Martin Vermeer wrote: > Beautiful piece of work, José. Looks so much cleaner now. > On Thu, 2004-10-28 at 20:10, [EMAIL PROTECTED] wrote: Actually, José, I think that you can simplify insetcharstyle.C even further: int InsetCharStyle::linuxdoc(Buffer const & buffer, std::ostream & os,

Re: lyx-devel src/: ChangeLog output_docbook.C sgml.C src/inse ...

2004-10-29 Thread Martin Vermeer
Beautiful piece of work, JosÃ. Looks so much cleaner now. On Thu, 2004-10-28 at 20:10, [EMAIL PROTECTED] wrote: ... - Martin -- Martin Vermeer <[EMAIL PROTECTED]> signature.asc Description: This is a digitally signed message part