Re: [patch] full babel support for tex2lyx

2007-12-07 Thread Angus Leeming
Uwe Stöhr <[EMAIL PROTECTED]> writes: +void delete_opt(vector & opts, char const * const * what) +{ + if (opts.empty()) + return; + + // remove found options from the list + // do this after handle_opt to avoid potential memory leaks and to be able + // to fin

[patch] Re: "Content: all cited references"...?

2007-12-07 Thread Bernhard Reiter
Jürgen Spitzmüller wrote: > Yes, that would be a good idea (also \nocite{key} in the citation > dialog would be useful). The attached adds basic \nocite functionality (as citation style option) to the citation dialog; the inset then actually reads \nocite{key} (as I wasn't able to come up with any

[patch] full babel support for tex2lyx

2007-12-07 Thread Uwe Stöhr
Besides the support for the otherlanguage environment, the last last missing thing for full babel support in tex2lyx is the recognition of preambles like: \documentclass{article} \usepackage[T1]{fontenc} \usepackage[cp1251,latin9]{inputenc} \usepackage[afrikaans,french,bulgarian,italian]{babel}

Re: want to add new format options to cross-reference

2007-12-07 Thread Uwe Stöhr
Richard Heck schrieb: I got many complaints about this and we discussed this topic also on the devel-list - the result was "it was in the end no good decision to build in support for prettyref". > If so, then should we remove it? As I remember this, some voted for this. Is there somethin

Re: r22002 - in /lyx-devel/trunk/src: LyXFunc.cpp LyXFunc.h b...

2007-12-07 Thread Abdelrazak Younes
Jean-Marc Lasgouttes wrote: Abdelrazak Younes <[EMAIL PROTECTED]> writes: [EMAIL PROTECTED] wrote: Author: younes Date: Fri Dec 7 12:57:13 2007 New Revision: 22002 +void GuiView::newDocument(string const & filename, bool from_template) +{ + FileName initpath; + Buffer * buf = buff

Re: paragraph alignment (GUI) not working in trunk?

2007-12-07 Thread Abdelrazak Younes
Enrico Forestieri wrote: On Fri, Dec 07, 2007 at 01:59:31PM +0200, Dov Feldstern wrote: Hi! It looks to me like paragraph alignment is not working in the GUI in the latest builds? Everything appears to be aligned left, regardless of its true alignment. Also in RTL documents, everything is al

Re: lyx2lyx failure

2007-12-07 Thread Richard Heck
Christopher Menzel wrote: Traceback (most recent call last): File "./lyx2lyx", line 101, in sys.exit(main(sys.argv)) File "./lyx2lyx", line 92, in main file = LyX.File(end_format, input, output, error, debug, try_hard, cjk_encoding) File "/Applications/LyX.app/Contents/Resources/lyx2lyx/LyX.py"

Re: want to add new format options to cross-reference

2007-12-07 Thread Richard Heck
Uwe Stöhr wrote: (b) that to get this to do anything, you may have to "self-define" reference formats. At least a reference to the prettyref documentation would be worthwhile here. I had this in in previous version, but prettyref is obsolete and not delivered with all LaTeX-distributions any

Re: [Gnome] Recent files?

2007-12-07 Thread Andre Poenitz
On Thu, Dec 06, 2007 at 09:28:25AM +0100, Jean-Marc Lasgouttes wrote: > Bernhard Reiter <[EMAIL PROTECTED]> writes: > > > Under Gnome, files that are opened from within LyX (instead of e.g. > > being opened from within Gnome's file manager by double-clicking them) > > do not get listed in the "Rec

Re: [patch] implement \slash and \nobreakdash

2007-12-07 Thread Andre Poenitz
On Thu, Dec 06, 2007 at 02:53:13AM +0100, Pavel Sanda wrote: > > + LFUN_SPECIALCHAR_INSERT, // JSpitzm, 20071205 > > just an idea - what about to declare some doxy documentation > as LFUN_BUFFER_WRITE_AS do. users ask on lfuns from time to time > and there are cases of lfuns which are my

Re: Re. Cannot download Lyx installer, bad certificate

2007-12-07 Thread Uwe Stöhr
Tim schrieb: That link gives me a warning that the certificate is bad and the site should not be trusted. You can ignore this, or simpliy use my link and replace "https" by "http". regards Uwe

Re: paragraph alignment (GUI) not working in trunk?

2007-12-07 Thread Enrico Forestieri
On Fri, Dec 07, 2007 at 01:59:31PM +0200, Dov Feldstern wrote: > Hi! > > It looks to me like paragraph alignment is not working in the GUI in the > latest builds? Everything appears to be aligned left, regardless of its > true alignment. Also in RTL documents, everything is aligned left. Seems

Re: Re. Cannot download Lyx installer, bad certificate

2007-12-07 Thread Tim
Hi Uwe, That link gives me a warning that the certificate is bad and the site should not be trusted. Pavel Sanda gave me this link which works fine: ftp://gd.tuwien.ac.at/publishing/tex/lyx/bin/1.5.2 So I've used it. Thanks for working on Lyx. It is superb and works great. Tim --- Uwe Stöhr

Re: Cannot download Lyx installer

2007-12-07 Thread Tim
Hi Pavel, That link works great. Thank you. You should put a note on http://www.lyx.org/download/ to say the server is down. Otherwise you risk having newbies give up too quickly and searching for some other alternative tool. Lyx is great. It is incredibly useful. Thanks for working on it!

Focus of dialogs

2007-12-07 Thread Pavel Sanda
hi, 1. do ctrl+f in your document. find window pops-up and focus goes to it. 2. change focus back to edit window and press ctrl+f again. window correctly pops up, even keyboard input is in edit box, but focus is not on the dialog. as a consequence strange things happen from time to time (th

Re: better [patch] for tex2lyx: language list update

2007-12-07 Thread Jürgen Spitzmüller
Uwe Stöhr wrote: > I think the patch is now correct. So if there are no objections, I want to > put it in. Go ahead. Jürgen

Re: r22002 - in /lyx-devel/trunk/src: LyXFunc.cpp LyXFunc.h b...

2007-12-07 Thread Jean-Marc Lasgouttes
Abdelrazak Younes <[EMAIL PROTECTED]> writes: > [EMAIL PROTECTED] wrote: >> Author: younes >> Date: Fri Dec 7 12:57:13 2007 >> New Revision: 22002 > >> +void GuiView::newDocument(string const & filename, bool from_template) >> +{ >> +FileName initpath; >> +Buffer * buf = buffer(); >> +

Re: r22002 - in /lyx-devel/trunk/src: LyXFunc.cpp LyXFunc.h b...

2007-12-07 Thread Abdelrazak Younes
[EMAIL PROTECTED] wrote: Author: younes Date: Fri Dec 7 12:57:13 2007 New Revision: 22002 +void GuiView::newDocument(string const & filename, bool from_template) +{ + FileName initpath; + Buffer * buf = buffer(); + if (buf) { + FileName const trypath(buf->fileP

paragraph alignment (GUI) not working in trunk?

2007-12-07 Thread Dov Feldstern
Hi! It looks to me like paragraph alignment is not working in the GUI in the latest builds? Everything appears to be aligned left, regardless of its true alignment. Also in RTL documents, everything is aligned left. Thanks! Dov

Re: Patches from the Debian package for LyX 1.5.2

2007-12-07 Thread Jürgen Spitzmüller
Sven Hoexter wrote: > we've still two patches in the Debian package for LyX 1.5.2 you might > be interested in. They're now in branch as well. Jürgen

Re: [Cvslog] r21991 - /lyx-devel/trunk/src/support/FileName.cpp

2007-12-07 Thread Enrico Forestieri
On Thu, Dec 06, 2007 at 06:01:12PM +0100, Enrico Forestieri wrote: > The problem that the tempdir cannot be removed on *nix still remains. > This is due to the fact that the tempdir is removed before the > destruction of ServerSocket, such that lyxsocket is still there and > the directory is thus

Re. Cannot download Lyx installer

2007-12-07 Thread Uwe Stöhr
ftp.lyx.org is down. Here's an alternative download repository: https://developer.berlios.de/projects/lyxwininstall/ regards Uwe

Re: [Cvslog] r21992 - /lyx-devel/trunk/src/LyX.cpp

2007-12-07 Thread Jean-Marc Lasgouttes
[EMAIL PROTECTED] writes: > Author: forenr > Date: Thu Dec 6 19:52:17 2007 > New Revision: 21992 > > URL: http://www.lyx.org/trac/changeset/21992 > Log: > Shutdown LyX server and socket before trying to remove the tempdir, > otherwise it would not be empty and could not be removed. Very good det