Re: lyx and pdf fonts

2009-12-10 Thread Guenter Milde
On 2009-12-10, Liviu Andronic wrote: > On 12/10/09, Uwe Stöhr wrote: >> That would be OK. What do you propose as text for the tooltip? > Perhaps something in the style of: > "Select the .. typeface. Note: Default (Computer Modern) fonts may > appear jagged (?) on some systems; consider selecting

Re: Background LaTeX, Etc

2009-12-10 Thread Guenter Milde
On 2009-12-10, Abdelrazak Younes wrote: > Abdelrazak Younes wrote: >> Pavel Sanda wrote: >>> Jean-Marc Lasgouttes wrote: the real work on our buffer structure can be fast enough IMO. >>> it is not? pavel >> It is, and that is not the problem. The LateX export can happen in >> the ma

Re: (to Uwe) Special tex2lyx handling for multiple encodings declarations

2009-12-10 Thread Guenter Milde
On 2009-12-10, Uwe Stöhr wrote: > Jean-Marc Lasgouttes schrieb: >> But what about ignoring the number of languages? It is about encodings, >> after all. > - if there is only one encoding, use this > - if there are several encodings, set h_inputencoding to "auto". > ... But what is there is only

Re: (to Uwe) Special tex2lyx handling for multiple encodings declarations

2009-12-10 Thread Guenter Milde
On 2009-12-10, Jean-Marc Lasgouttes wrote: > "G. Milde" writes: >>> OK. Then the document encoding unconditionally. >> Only if it differs from the language's default. > Maybe. Note that tex2lyx does not read Languages file currently (but I > think it should). We just have to be careful about wha

The templete for IEEE computer society journals

2009-12-10 Thread Shui Yu
Hi there, I tried to import the bare_jrnl_compsoc.tex (It works well in latex) into Lyx, but the abstract part and the keywords parts cannot be found the PDF output . Could you please check this? Many thanks. Looking forward for your reply. Cheers Shui -- Shui YU, PhD, Lecturer School of Infor

Re: Does r32414 Introduce a Security Hole?

2009-12-10 Thread rgheck
On 12/10/2009 05:58 PM, José Matos wrote: On Thursday 10 December 2009 20:41:47 rgheck wrote: Unfortunately, here on Fedora 11 it just hangs if you type e.g. xdg-mime query default application/rtf I've seen similar reports on Ubuntu 9.04. ON F-12 I get immediately: $ xdg-mime q

Re: r32449 - lyx-devel/trunk/src/tex2lyx

2009-12-10 Thread Uwe Stöhr
>> preamble.cpp: simplify code and reintroduce code that was accidentally deleted in previous commit > > It would be nice the factor the two (identical?) pieces of code that handle language in > one place. Done: http://www.lyx.org/trac/changeset/32471 regards Uwe

Re: (to Uwe) Special tex2lyx handling for multiple encodings declarations

2009-12-10 Thread Uwe Stöhr
Uwe Stöhr schrieb: 2007-02-16 Georg Baum * format incremented to 262: Allow ascii \inputencoding What else do we need to make it work? tex2lyx currently produces fileformat 264, so the special ascii handling can indeed go. I'll have a closer look later. I implemented this now:

Re: r32448 - lyx-devel/trunk/src/tex2lyx

2009-12-10 Thread Uwe Stöhr
>> preamble.cpp: set correct quotes language (currently an Italian document gets the non-existing >> quotes language "italian") > > What quote language do you set for italian, then? "english" (the default). English quotes were already used when the quotes language was not existent. As I wrote i

Re: r32469 - in lyx-devel/trunk/src: . frontends/qt4 insets support

2009-12-10 Thread Pavel Sanda
uwesto...@lyx.org wrote: > Author: uwestoehr > Date: Fri Dec 11 01:59:10 2009 > New Revision: 32469 > URL: http://www.lyx.org/trac/changeset/32469 > > Log: > replace links to bugzilla with links to trac > are you sure about this snippet? pavel > Modified: lyx-devel/trunk/src/insets/InsetCaption

Offtopic - gcc benchmark

2009-12-10 Thread Pavel Sanda
hi, just got this link and was surprised. firstly it could really make difference to upgrade your gcc, secondly how is it possible that intel compiler is not everywhere 30% ahead... chmm http://eigen.tuxfamily.org/index.php?title=Eigen2_benchmark_Intel i have no idea whether such kind of test re

Re: [Pkg-lyx-devel] Linking with gold

2009-12-10 Thread Per Olofsson
Jean-Marc Lasgouttes skrev: BTW, is linking with gold a win with LyX? It's supposed to be faster, although I haven't tried it. I don't think it affects runtime speed though, only build speed. -- Pelle

Re: [Pkg-lyx-devel] Linking with gold

2009-12-10 Thread Per Olofsson
Hi, Jean-Marc Lasgouttes skrev: Abdelrazak Younes writes: Because QtGui is a dynamic library it handles its dependency alone. What you say would be try if we did static linking. It seems to me that, in the old days, dynamic libraries requires extra -lFoo too. I think it depends on which OS

Re: Does r32414 Introduce a Security Hole?

2009-12-10 Thread José Matos
On Thursday 10 December 2009 20:41:47 rgheck wrote: > Unfortunately, here on Fedora 11 it just hangs if you type e.g. > xdg-mime query default application/rtf > I've seen similar reports on Ubuntu 9.04. ON F-12 I get immediately: $ xdg-mime query default application/rtf kword.desktop > rh

Re: Does r32414 Introduce a Security Hole?

2009-12-10 Thread rgheck
On 12/10/2009 03:48 PM, Rex Dieter wrote: rgheck wrote: Are there command-line ways of doing this, or do we have to link to a ton of things here? Yes, just look at xdg-mime which attempts to do precisely that. Unfortunately, here on Fedora 11 it just hangs if you type

Re: Background LaTeX, Etc

2009-12-10 Thread Ben M.
On Thu, Dec 10, 2009 at 9:45 AM, Jean-Marc Lasgouttes wrote: > Pavel Sanda writes: >> Jean-Marc Lasgouttes wrote: >>> the real work >>> on our buffer structure can be fast enough IMO. >> >> it is not? pavel > > I thought people implied that it was not, but I may be mistaken. > > JMarc Usually .tex

Re: Does r32414 Introduce a Security Hole?

2009-12-10 Thread Rex Dieter
rgheck wrote: >>> Are there command-line ways of doing this, or do we have to link to a >>> ton of things here? >>> >> Yes, just look at xdg-mime which attempts to do precisely that. >> >> > Unfortunately, here on Fedora 11 it just hangs if you type e.g. > xdg-mime query defaul

Re: Does r32414 Introduce a Security Hole?

2009-12-10 Thread rgheck
On 12/10/2009 02:49 PM, Rex Dieter wrote: rgheck wrote: On 12/10/2009 09:43 AM, Jean-Marc Lasgouttes wrote: Pavel Sanda writes: Richard Heck wrote: I thought about using "xdg-mime query default application/rtf", e.g., but this simply hangs on my system. (Ther

Re: Does r32414 Introduce a Security Hole?

2009-12-10 Thread Rex Dieter
rgheck wrote: > On 12/10/2009 09:43 AM, Jean-Marc Lasgouttes wrote: >> Pavel Sanda writes: >> >> >>> Richard Heck wrote: >>> I thought about using "xdg-mime query default application/rtf", e.g., but this simply hangs on my system. (There are similar reports on Ubuntu.) Is

Re: Invitation to google wave

2009-12-10 Thread Christian Ridderström
On Tue, 8 Dec 2009, Pavel Sanda wrote: To make things more clear, my main interest with Wave in connection with LyX is that I think there are interesting things in Wave as a concept which we eventually could incorporate into LyX. (I don't advocate us using Wave at this time for developer commu

Re: Regression in 1.6.5 -- cursor location in newcommand argument

2009-12-10 Thread Afief Halumi
Same things happens with more basic commands as well: alt+M f gives the expected fraction, but places the cursor outside it, though \frac places the cursor in the right place. Hope this helps, Afief On Thu, Dec 10, 2009 at 7:26 PM, David Raymond wrote: > > Create a new Lyx file with > > \newcomm

Regression in 1.6.5 -- cursor location in newcommand argument

2009-12-10 Thread David Raymond
Create a new Lyx file with \newcommand{\sunit}[1]{\mbox{ #1}} in the latex preamble. Then go into math mode and type 3\sunit{ Previous to 1.6.5, lyx adds a closing curly bracket and leaves the cursor in the space between the brackets. In 1.6.5 the cursor is left instead after the closing bra

Re: Does r32414 Introduce a Security Hole?

2009-12-10 Thread José Matos
On Thursday 10 December 2009 15:17:26 rgheck wrote: > I'd have to re-read the old thread to remember why xdg-open seemed like > a bad idea. But it had to do, as Pavel said, with firefox stealing things. That is true for some distributions, it works OK on Fedora. The problem IIRC was more the cur

Re: [Pkg-lyx-devel] Linking with gold

2009-12-10 Thread Jean-Marc Lasgouttes
Abdelrazak Younes writes: > Because QtGui is a dynamic library it handles its dependency alone. > What you say would be try if we did static linking. It seems to me that, in the old days, dynamic libraries requires extra -lFoo too. BTW, are we sure we cannot get rid of the X11 code? Is Qt failin

Re: Does r32414 Introduce a Security Hole?

2009-12-10 Thread rgheck
On 12/10/2009 10:01 AM, José Matos wrote: On Thursday 10 December 2009 14:49:45 Pavel Sanda wrote: i already produced such a patch in the xdg-open flame and finally we decided to leave it as it is now (the detection of various kde/xfce/gnome was ugly beast in fact). look in archive if in

Re: Does r32414 Introduce a Security Hole?

2009-12-10 Thread rgheck
On 12/10/2009 09:43 AM, Jean-Marc Lasgouttes wrote: Pavel Sanda writes: Richard Heck wrote: I thought about using "xdg-mime query default application/rtf", e.g., but this simply hangs on my system. (There are similar reports on Ubuntu.) Is last experiments about xdg utils o

Re: Background LaTeX, Etc

2009-12-10 Thread Abdelrazak Younes
Abdelrazak Younes wrote: Pavel Sanda wrote: Jean-Marc Lasgouttes wrote: the real work on our buffer structure can be fast enough IMO. it is not? pavel It is, and that is not the problem. The LateX export can happen in the main thread. The problem is elsewhere in that we need finer

Re: Does r32414 Introduce a Security Hole?

2009-12-10 Thread José Matos
On Thursday 10 December 2009 14:49:45 Pavel Sanda wrote: > i already produced such a patch in the xdg-open flame and finally we > decided to leave it as it is now (the detection of various kde/xfce/gnome > was ugly beast in fact). look in archive if interested, the thread is > named xdg-open. T

Re: Background LaTeX, Etc

2009-12-10 Thread Pavel Sanda
Jean-Marc Lasgouttes wrote: > >> the real work > >> on our buffer structure can be fast enough IMO. > > > > it is not? pavel > > I thought people implied that it was not, but I may be mistaken. no i dont think this is the root of the problems reported. pavel

Re: (to Uwe) Special tex2lyx handling for multiple encodings declarations

2009-12-10 Thread Uwe Stöhr
Jean-Marc Lasgouttes schrieb: OK. But if there is one encoding and two languages, >> In this case we could set the encoding as it is but when the inputencoding is specified after babel, we don't know if there is only one or several encodings when we detect several languages. I therefore set th

Re: Does r32414 Introduce a Security Hole?

2009-12-10 Thread Pavel Sanda
Jean-Marc Lasgouttes wrote: > Pavel Sanda writes: > > > Richard Heck wrote: > >> I thought about using "xdg-mime query default application/rtf", e.g., but > >> this simply hangs on my system. (There are similar reports on Ubuntu.) Is > > > > last experiments about xdg utils on gentoo launched f

Re: lyx and pdf fonts

2009-12-10 Thread Uwe Stöhr
> Yes. First since MiKTeX 2.8 (about 2 months old) it is by default > included. So I would wait for at least one year until using this as > default. > > OK. Could the WindowsInstaller recommend to install Latin Modern? lmodern is automatically installed to MiKTeX or TeXLive when installing LyX. T

Re: Background LaTeX, Etc

2009-12-10 Thread Jean-Marc Lasgouttes
Pavel Sanda writes: > Jean-Marc Lasgouttes wrote: >> the real work >> on our buffer structure can be fast enough IMO. > > it is not? pavel I thought people implied that it was not, but I may be mistaken. JMarc

Re: [Pkg-lyx-devel] Linking with gold

2009-12-10 Thread Abdelrazak Younes
Jean-Marc Lasgouttes wrote: Per Olofsson writes: Hi Sven, Sven Hoexter skrev: Oh and I've no profound knowledge of the issue so it's possible that the better solution would be to fix something in Qt's pkg-config in Debian. It's not Qt's fault -- lyx uses X11 libs directly in

Re: (to Uwe) Special tex2lyx handling for multiple encodings declarations

2009-12-10 Thread Jean-Marc Lasgouttes
Uwe Stöhr writes: >> OK. But if there is one encoding and two languages, > > In this case we could set the encoding as it is but when the > inputencoding is specified after babel, we don't know if there is only > one or several encodings when we detect several languages. I therefore > set the enco

Re: Background LaTeX, Etc

2009-12-10 Thread Abdelrazak Younes
Pavel Sanda wrote: Jean-Marc Lasgouttes wrote: the real work on our buffer structure can be fast enough IMO. it is not? pavel It is, and that is not the problem. The LateX export can happen in the main thread. The problem is elsewhere in that we need finer control of the 5 or 6 p

Re: Does r32414 Introduce a Security Hole?

2009-12-10 Thread Jean-Marc Lasgouttes
Pavel Sanda writes: > Richard Heck wrote: >> I thought about using "xdg-mime query default application/rtf", e.g., but >> this simply hangs on my system. (There are similar reports on Ubuntu.) Is > > last experiments about xdg utils on gentoo launched firefox and firefox try > to do next openin

Re: [Pkg-lyx-devel] Linking with gold

2009-12-10 Thread Jean-Marc Lasgouttes
Per Olofsson writes: > Hi Sven, > > Sven Hoexter skrev: >> Oh and I've no profound knowledge of the issue so it's possible that the >> better solution would be to fix something in Qt's pkg-config in Debian. > > It's not Qt's fault -- lyx uses X11 libs directly in at least one place: > src/fronten

Re: (to Uwe) Special tex2lyx handling for multiple encodings declarations

2009-12-10 Thread Jean-Marc Lasgouttes
"G. Milde" writes: >> OK. Then the document encoding unconditionally. > > Only if it differs from the language's default. Maybe. Note that tex2lyx does not read Languages file currently (but I think it should). We just have to be careful about what language is handled at what revision of the file

Re: Background LaTeX, Etc

2009-12-10 Thread Pavel Sanda
Jean-Marc Lasgouttes wrote: > the real work > on our buffer structure can be fast enough IMO. it is not? pavel

Re: Background LaTeX, Etc

2009-12-10 Thread Jean-Marc Lasgouttes
rgheck writes: > In thinking about this it occurred to me: If we're generating LaTeX in > a separate thread, what if the Buffer changes in the meantime? This > suggests to me that the Buffer has to be locked, which means that > Abdel's "clone the Buffer" strategy is the only one that really works

Re: Does r32414 Introduce a Security Hole?

2009-12-10 Thread Pavel Sanda
Richard Heck wrote: > I thought about using "xdg-mime query default application/rtf", e.g., but > this simply hangs on my system. (There are similar reports on Ubuntu.) Is last experiments about xdg utils on gentoo launched firefox and firefox try to do next openings if it knows how. > there so

Re: (to Uwe) Special tex2lyx handling for multiple encodings declarations

2009-12-10 Thread Uwe Stöhr
Jean-Marc Lasgouttes schrieb: LyX doesn't know "ascii" as encoding; we therefore need to translate it to an encoding that LyX understands. LyX understands latin5. 2007-02-16 Georg Baum * format incremented to 262: Allow ascii \inputencoding What else do we need to make it work?

Re: Background LaTeX, Etc

2009-12-10 Thread Pavel Sanda
Richard Heck wrote: >>> In thinking about this it occurred to me: If we're generating LaTeX in a >>> separate thread, what if the Buffer changes in the meantime? >>> >> Nothing, once the temporary *.tex file is written. >> Error-insets on the wrong place, maybe? (However, they tend to be >> s

Re: lyx and pdf fonts

2009-12-10 Thread Liviu Andronic
On 12/10/09, Uwe Stöhr wrote: > That would be OK. What do you propose as text for the tooltip? > Perhaps something in the style of: "Select the .. typeface. Note: Default (Computer Modern) fonts may appear jagged (?) on some systems; consider selecting Latin Modern or another available font." Li

Re: Background LaTeX, Etc

2009-12-10 Thread rgheck
On 12/10/2009 08:22 AM, Guenter Milde wrote: On 2009-12-10, rgheck wrote: In thinking about this it occurred to me: If we're generating LaTeX in a separate thread, what if the Buffer changes in the meantime? Nothing, once the temporary *.tex file is written. Error-insets on the wrong

Re: r32318 - in lyx-devel/trunk/src: . insets mathed

2009-12-10 Thread rgheck
On 12/04/2009 08:50 PM, Andre Poenitz wrote: On Fri, Dec 04, 2009 at 04:03:44AM +0100, rgh...@lyx.org wrote: This is an abuse of updateLabels(), in a way, but updateLabels() long ago became the general recurse-through-the-Buffer routine, and to implement the sort of thing I want to do here i

Re: lyx and pdf fonts

2009-12-10 Thread Guenter Milde
On 2009-12-10, Uwe Stöhr wrote: > > "LM are [...] not by default included in all LaTeX distributions, for > > example not in MiKTeX." > > > > 1. This would indeed be a problem, but is this still true today? > Yes. First since MiKTeX 2.8 (about 2 months old) it is by default > included. So I would

Re: lyx and pdf fonts

2009-12-10 Thread Guenter Milde
On 2009-12-10, Uwe Stöhr wrote: > This is much too complicated for new users. When I'm new to a program I > want to use it and not be forced to learn how fonts are defined and > what a bitmap font is and why it might have disadvantages. Agreed. > When I don't like the result, I simply use anot

Re: Background LaTeX, Etc

2009-12-10 Thread Guenter Milde
On 2009-12-10, rgheck wrote: > In thinking about this it occurred to me: If we're generating LaTeX in a > separate thread, what if the Buffer changes in the meantime? Nothing, once the temporary *.tex file is written. Error-insets on the wrong place, maybe? (However, they tend to be somewhat of

Re: Does r32414 Introduce a Security Hole?

2009-12-10 Thread rgheck
On 12/10/2009 08:11 AM, G. Milde wrote: Unsurprisingly, this code writes this: ... \Format wmfwmf"Windows Metafile" "" "%s" "%s" "vector" ... to lyxrc.defaults, This means that either the "%s" is indeed wrong or Uwe's addition misses a stri

Re: lyx and pdf fonts

2009-12-10 Thread Uwe Stöhr
Liviu Andronic schrieb: Why not at least add a quick note in a tooltip in Settings > Fonts? That would be OK. What do you propose as text for the tooltip? regards Uwe

Re: I want to add Feyn support to LyX, and I need some guidance

2009-12-10 Thread Pavel Sanda
Ben M. wrote: > but how else can we fully use packages like Feyn and Xypic? i thought that fixing http://www.lyx.org/trac/ticket/1723 will do... pavel

Re: I want to add Feyn support to LyX, and I need some guidance

2009-12-10 Thread Pavel Sanda
Ronen Abravanel wrote: > When I'm saying "inset", I mean things like "\text" ore "\matrix", not like > "What happen when I'm pressing Ctrl+M". Please correct me if it's not the > correct phrase. as inset i approximately understand things you put into document via insert menu, not some part of mat

Background LaTeX, Etc

2009-12-10 Thread rgheck
In thinking about this it occurred to me: If we're generating LaTeX in a separate thread, what if the Buffer changes in the meantime? This suggests to me that the Buffer has to be locked, which means that Abdel's "clone the Buffer" strategy is the only one that really works. rh

Re: lyx and pdf fonts

2009-12-10 Thread Pavel Sanda
Liviu Andronic wrote: > > This is much too complicated for new users. When I'm new to a program I > > want to use it and not be forced to learn how fonts are defined and what a > > bitmap font is and why it might have disadvantages. When I don't like the > > result, I simply use another font. This

Re: lyx and pdf fonts

2009-12-10 Thread Liviu Andronic
Hello On 12/10/09, Uwe Stöhr wrote: > This is much too complicated for new users. When I'm new to a program I > want to use it and not be forced to learn how fonts are defined and what a > bitmap font is and why it might have disadvantages. When I don't like the > result, I simply use another fo

Re: lyx and pdf fonts

2009-12-10 Thread Jürgen Spitzmüller
Pavel Sanda wrote: > so isn't this rather request on latex devs to use lm as default for their > classes? +1. Also note that not all classes use computer modern. We can not override this default. Jürgen

Re: lyx and pdf fonts

2009-12-10 Thread Ben M.
On Wed, Dec 9, 2009 at 10:50 PM, Uwe Stöhr wrote: > What is a n00b? Slang for "newbie" I realize now that my suggestion was misguided. I had no idea the font was to blame when I first learned LaTeX/LyX. (Even worse, Google did not yet exist to answer all my questions.) But given that recent ve

Re: lyx and pdf fonts

2009-12-10 Thread Pavel Sanda
Uwe Stöhr wrote: > > "LM are [...] not by default included in all LaTeX distributions, for > > example not in MiKTeX." > > > > 1. This would indeed be a problem, but is this still true today? > > Yes. First since MiKTeX 2.8 (about 2 months old) it is by default included. > So I would wait for at

Re: (to Uwe) Special tex2lyx handling for multiple encodings declarations

2009-12-10 Thread Jean-Marc Lasgouttes
Le 10 déc. 09 à 03:46, Uwe Stöhr a écrit : LyX doesn't know "ascii" as encoding; we therefore need to translate it to an encoding that LyX understands. LyX understands latin5. Hmmm... 2007-02-16 Georg Baum * format incremented to 262: Allow ascii \inputencoding What else do we ne

Re: languages polutonikogreek \perispomeni not needed

2009-12-10 Thread Jürgen Spitzmüller
Guenter Milde wrote: > Unfortunately, I don't know how do I attach something with the slrn > newsreader and posts via e-mail tend to get lost. Never mind. I put it in. Thanks, Jürgen

Re: r32449 - lyx-devel/trunk/src/tex2lyx

2009-12-10 Thread Jean-Marc Lasgouttes
Le 10 déc. 09 à 04:07, uwesto...@lyx.org a écrit : Author: uwestoehr Date: Thu Dec 10 04:07:36 2009 New Revision: 32449 URL: http://www.lyx.org/trac/changeset/32449 Log: preamble.cpp: simplify code and reintroduce code that was accidentally deleted in previous commit It would be nice the fac

Re: r32448 - lyx-devel/trunk/src/tex2lyx

2009-12-10 Thread Jean-Marc Lasgouttes
Le 10 déc. 09 à 03:41, uwesto...@lyx.org a écrit : Author: uwestoehr Date: Thu Dec 10 03:41:33 2009 New Revision: 32448 URL: http://www.lyx.org/trac/changeset/32448 Log: preamble.cpp: set correct quotes language (currently an Italian document gets the non-existing quotes language "italian")