Re: Fwd: lyx-cvs Digest, Vol 117, Issue 3

2022-02-13 Thread Jürgen Spitzmüller
Am Sonntag, dem 13.02.2022 um 04:19 +0100 schrieb Thibaut Cuvelier:
> You mean, with code like
> https://github.com/cburschka/lyx/blob/d3c335a5d524e2edeb73ae1a891fcc58ba5bfd1a/src/BiblioInfo.cpp#L421-L428
> for the search? I thought it would be good to have a file to store
> this information, but I wasn't aware of unicodesymbols. I believe
> that the file shouldn't even be modified at all, thanks to the
> presence of the Unicode character number at the beginning of the line
> (0x00c0 "\\`{A}", whith 0xC0 corresponding to 192,
> https://github.com/cburschka/lyx/blob/master/src/insets/InsetERT.cpp#L131
> ).
> 
> Based on the contents of unicodesymbols, how could I match " \`{A}",
> "\`A", and  "\` A" at once? Should I just use tricks like
> https://github.com/cburschka/lyx/blob/d3c335a5d524e2edeb73ae1a891fcc58ba5bfd1a/src/BiblioInfo.cpp#L414-L418
> (which I'm already doing, in a sense, in
> https://github.com/cburschka/lyx/blob/master/src/insets/InsetERT.cpp#L452-L463
> )? 

I don't know how to do it exactly, but yes, I mean that the information
you need here should all be in unicodesymbols, or added if not, and
could be retrieved by the methods defined in Encoding.cpp.

There should be no need to store LaTeX<>Unicode mappings anywhere else.

Jürgen


signature.asc
Description: This is a digitally signed message part
-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel


Re: Fwd: Lyx is unusable because of its window graphics not being updated

2020-04-17 Thread Jean-Marc Lasgouttes

Le 13/11/2019 à 16:03, Neven Sajko a écrit :

I will not have time to debug this for a few more weeks, probably, but
here is something I found on the Web, could maybe be relevant:

https://github.com/tallforasmurf/CHIP8IDE/issues/22

TLDR: Somebody had a similar problem and fixed it by adding two QT
calls after the QT Widget update() call. That was a few years ago, and
possibly caused by a bug internal to QT.


Hello,

Sorry for not following up on this. The fact is that I do not have any 
good idea about what to do. I read the issue, and what they do is 
subvert the Qt update system to execute synchronously. This is not a 
direction we want to follow.


Can you tell me whether the problem is new to LyX 2.3.1, where we 
introduced a new painting workflow?


JMarc
--
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel


Re: Fwd: Lyx is unusable because of its window graphics not being updated

2019-11-13 Thread Neven Sajko
> Wayland, for example). But if the menus do not really work, I would
> check whether other qt5 applications work. This might not be our bug.

Just checked with two other QT5 applications: shotcut does not seem to
manifest this bug, but wireshark does. Don't know what to make of it.
As far as I understand, this could indeed be a Xorg, graphics driver
or QT bug ... I suppose someone more knowledgeable about X11 and Xorg
could infer some useful conclusions from the fact that the bug does
not appear in the screencasts.


Neven
-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel


Re: Fwd: Lyx is unusable because of its window graphics not being updated

2019-11-13 Thread Neven Sajko
I will not have time to debug this for a few more weeks, probably, but
here is something I found on the Web, could maybe be relevant:

https://github.com/tallforasmurf/CHIP8IDE/issues/22

TLDR: Somebody had a similar problem and fixed it by adding two QT
calls after the QT Widget update() call. That was a few years ago, and
possibly caused by a bug internal to QT.


Neven
-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel


Re: Fwd: Lyx is unusable because of its window graphics not being updated

2019-11-13 Thread Jean-Marc Lasgouttes

Le 13/11/2019 à 00:51, Neven Sajko a écrit :

It is only the LyX work area that is not updated or the whole window
(toolbar, menus...)?


I am not sure what do you mean by "work area", but for me (while I am
looking at the Xorg-powered display and using lyx), there are problems
on almost the whole window. The little animations that should happen
when the pointer hovers over the toolbar elements do not happen (the
highlighting, maybe that is what it is called), menus do not drop
down, and usually even the updates to the main area when the text goes
do not happen (so, if I type "aosdiasduioh", the screen stays the same
instead of that being shown as typed in. But this is where things turn
even weirder ...


The work area is the place where you write. We implemented it completely 
within our code, so bugs can happen there (we recently fixed one with 
Wayland, for example). But if the menus do not really work, I would 
check whether other qt5 applications work. This might not be our bug.


JMarc

--
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel


Re: Fwd: Lyx is unusable because of its window graphics not being updated

2019-11-13 Thread Pavel Sanda
On Tue, Nov 12, 2019 at 11:51:29PM +, Neven Sajko wrote:
> This might explain why this bug
> would only become apparent when using Lyx alongside a minimal WM like
> DWM or without a WM (I usually use Lyx-like applications so they are
> almost full screen).

I tried to install dwm in oldstable debian and lyx 2.3.2 works just fine
under dwm, so this seems to be something more specific to your config than only
combination of lyx and basic wm. (maybe newer version of X11/dwm/wt/lyx
might mater).

Perhaps you can reproduce the problem even with wm which is less basic
on your system?

Pavel
-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel


Re: Fwd: Lyx is unusable because of its window graphics not being updated

2019-11-12 Thread Neven Sajko
> It is only the LyX work area that is not updated or the whole window
> (toolbar, menus...)?

I am not sure what do you mean by "work area", but for me (while I am
looking at the Xorg-powered display and using lyx), there are problems
on almost the whole window. The little animations that should happen
when the pointer hovers over the toolbar elements do not happen (the
highlighting, maybe that is what it is called), menus do not drop
down, and usually even the updates to the main area when the text goes
do not happen (so, if I type "aosdiasduioh", the screen stays the same
instead of that being shown as typed in. But this is where things turn
even weirder ...

After I read your question, I wanted to record a video of my screen,
with a visible keylogger window, so you guys could see what was
happening on my end. It turns out both keylogging and screencasting
have an effect on Lyx's perceived window behavior.

The most astonishing thing for me is that in the ffmpeg screencasts I
made, everything looks totally normal, the recorded Lyx window updates
smoothly exactly when it should. In other words, as far as I could
tell there is no bug visible from the screencasts, which does NOT
correspond to the behavior visible to me while using Lyx. (I will
share the screencasts, but they are probably useless.)

The other interesting thing was that having a keylogger window (which
shows key presses and releases when they happen, see the screencasts)
visible alongside the Lyx window caused the Lyx window to show
keypress-necessitated window updates that would otherwise be elided.
It seems that whenever there was another display update on screen, the
Lyx window would also get updated. This might explain why this bug
would only become apparent when using Lyx alongside a minimal WM like
DWM or without a WM (I usually use Lyx-like applications so they are
almost full screen).

This leads to an apparent work-around for this bug: one should have,
for example, a video player playing a video visible alongside the lyx
window.

Screencast Google Drive links:

lyxScreencast.mp4:
https://drive.google.com/open?id=1J1LCocsTBzBLOINFUOYhwbdrES3dt5X8

lyxScreencast1.mp4:
https://drive.google.com/open?id=1ElU57uzUwCknWy-iqUMlKPdJbGnfXtMi


Neven
-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel


Re: Fwd: Lyx is unusable because of its window graphics not being updated

2019-11-11 Thread Jean-Marc Lasgouttes

Le 10/11/2019 à 22:32, Neven Sajko a écrit :

Note: Am am resending this message now, I already sent it yesterday,
but it did was not approved.


Hello,

I am currently moderating the list until we find a way to avoid spam 
more efficiently. I am not yet up-to-speed with the new list software we 
use, sorry. This is an issue for people who write to the list without 
being subscriber. I have whitelisted you now, so that you can post freely.



This is on an up-to-date Archlinux system which should mean all
software is at latest release version.

Software versions:

lyx 2.3.3, qt5 5.13.2, xorg 1.20.5

Reproducing: Create an empty HOME dir and .lyx in it, run
/usr/share/lyx/configure.py with python2, start Lyx with created HOME.


Note that you can start lyx with '-userdir foo' to get the same effect. 
Configure should be run automatically in this new directory.



I tried using Lyx both with the DWM window manager
https://dwm.suckless.org , and without a WM: Lyx exhibits the same bug
under both environments.

At first, under dwm, I thought the issue is that Lyx is not
registering mouse clicks at all, but actually what seems to be the
case is that it just does not update its display, except that every so
often it does get updated and then I can see what happened in the mean
time.


This is weird, I do not know where to start to debug this. We have 
issues with Wayland (that are fixed in git now), but xorg is supposed to 
work.


It is only the LyX work area that is not updated or the whole window 
(toolbar, menus...)?


JMarc
--
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel


Re: Fwd: LyX problem*

2017-09-07 Thread Richard Heck
On 09/06/2017 06:03 AM, Mxolisi Msibi wrote:
> Hi Richard,
>
> Thanks so much for the quick reply. A simple "Hello World" seem to be
> working fine. So, what can the problem the?
>
> I'm starting to worry that it's prob the math formulas of which I need
> LyX for for documenting.

Can you send me the file privately by email? That is probably the
easiest thing.

Otherwise, the usual way to try to solve this is to 'bisect': Delete
half the document and see if it works then. If so, then the problem is
in the other half, so restore that, delete the part you had kept before,
etc. Keep going like this until you isolate what is causing the problem.

Richard



> On Tue, Sep 5, 2017 at 6:22 PM, Richard Heck  > wrote:
>
> On 09/05/2017 04:06 AM, Mxolisi Msibi wrote:
>>
>> Hi Doc,
>>
>> I'm having trouble with my LyX. Seem to break down every time I
>> want to extract or view in pdf. I googled the error and I
>> followed the subsequent remedy but to no avail, I keep getting
>> the same problem. I, even, tried comparing to some of my
>> classmates' but the settings look similar.
>>
>> Do you, perhaps, know what needs to be done to get it back
>> proper? Sample error screen shot below.
>
> First question: Can you compile a very simple LyX file? I.e.,
> start a new file, type "Hello World", and try to view the PDF.
> Does it work? If not, then there is some major problem in your
> installation, and I'd recommend removing everything related to LyX
> and re-installing.
>
> If that isn't the problem, we can try more things. But the LaTeX
> log you attached is truncated: It is not the complete file. So
> it's impossible to see what the error might be.
>
> Richard
>
>



Re: Fwd: LyX problem*

2017-09-07 Thread Mxolisi Msibi
Hi Richard,

I think, I might have done the "bisection" after my initial mail, earlier
today. It looks like it was the graphical images I had.

Do you, perhaps, know what file extensions I must avoid for statistical
visualizations?

On Wed, Sep 6, 2017 at 6:40 PM, Richard Heck  wrote:

> On 09/06/2017 06:03 AM, Mxolisi Msibi wrote:
>
> Hi Richard,
>
> Thanks so much for the quick reply. A simple "Hello World" seem to be
> working fine. So, what can the problem the?
>
> I'm starting to worry that it's prob the math formulas of which I need LyX
> for for documenting.
>
>
> Can you send me the file privately by email? That is probably the easiest
> thing.
>
> Otherwise, the usual way to try to solve this is to 'bisect': Delete half
> the document and see if it works then. If so, then the problem is in the
> other half, so restore that, delete the part you had kept before, etc. Keep
> going like this until you isolate what is causing the problem.
>
> Richard
>
>
>
> On Tue, Sep 5, 2017 at 6:22 PM, Richard Heck  wrote:
>
>> On 09/05/2017 04:06 AM, Mxolisi Msibi wrote:
>>
>>
>> Hi Doc,
>>
>> I'm having trouble with my LyX. Seem to break down every time I want to
>> extract or view in pdf. I googled the error and I followed the subsequent
>> remedy but to no avail, I keep getting the same problem. I, even, tried
>> comparing to some of my classmates' but the settings look similar.
>>
>> Do you, perhaps, know what needs to be done to get it back proper? Sample
>> error screen shot below.
>>
>>
>> First question: Can you compile a very simple LyX file? I.e., start a new
>> file, type "Hello World", and try to view the PDF. Does it work? If not,
>> then there is some major problem in your installation, and I'd recommend
>> removing everything related to LyX and re-installing.
>>
>> If that isn't the problem, we can try more things. But the LaTeX log you
>> attached is truncated: It is not the complete file. So it's impossible to
>> see what the error might be.
>>
>> Richard
>>
>>
>
>


Re: Fwd: LyX problem*

2017-09-07 Thread Mxolisi Msibi
i Richard,

I think, I might have done the "bisection" after my initial mail, earlier
today. It looks like it was the graphical images I had.

Do you, perhaps, know what file extensions I must avoid for statistical
visualizations?


It's safest to stick with things like png and jpg, but LyX can support
almost any file extension. You just have to have an appropriate converter
installed. What format were you trying to use? And what sort of computer
are you using?

Richard

PS Try to post your replies below what you're replying to, as I've done.
This makes it a lot easier for other people to follow the thread.
--

I t was the .png that wasn't working. I changed to .jpg and it seems to
allow me to print to pdf. It's a bit worrying cause I might have been lucky
that .jpg worked today and it might crash in the near future.

Kind regards,
Mxo

On Wed, Sep 6, 2017 at 10:20 PM, Richard Heck  wrote:

> On 09/06/2017 04:05 PM, Mxolisi Msibi wrote:
>
> Hi Richard,
>
> I think, I might have done the "bisection" after my initial mail, earlier
> today. It looks like it was the graphical images I had.
>
> Do you, perhaps, know what file extensions I must avoid for statistical
> visualizations?
>
>
> It's safest to stick with things like png and jpg, but LyX can support
> almost any file extension. You just have to have an appropriate converter
> installed. What format were you trying to use? And what sort of computer
> are you using?
>
> Richard
>
> PS Try to post your replies below what you're replying to, as I've done.
> This makes it a lot easier for other people to follow the thread.
>
>
>
> On Wed, Sep 6, 2017 at 6:40 PM, Richard Heck  wrote:
>
>> On 09/06/2017 06:03 AM, Mxolisi Msibi wrote:
>>
>> Hi Richard,
>>
>> Thanks so much for the quick reply. A simple "Hello World" seem to be
>> working fine. So, what can the problem the?
>>
>> I'm starting to worry that it's prob the math formulas of which I need
>> LyX for for documenting.
>>
>>
>> Can you send me the file privately by email? That is probably the easiest
>> thing.
>>
>> Otherwise, the usual way to try to solve this is to 'bisect': Delete half
>> the document and see if it works then. If so, then the problem is in the
>> other half, so restore that, delete the part you had kept before, etc. Keep
>> going like this until you isolate what is causing the problem.
>>
>> Richard
>>
>>
>>
>> On Tue, Sep 5, 2017 at 6:22 PM, Richard Heck  wrote:
>>
>>> On 09/05/2017 04:06 AM, Mxolisi Msibi wrote:
>>>
>>>
>>> Hi Doc,
>>>
>>> I'm having trouble with my LyX. Seem to break down every time I want to
>>> extract or view in pdf. I googled the error and I followed the subsequent
>>> remedy but to no avail, I keep getting the same problem. I, even, tried
>>> comparing to some of my classmates' but the settings look similar.
>>>
>>> Do you, perhaps, know what needs to be done to get it back proper?
>>> Sample error screen shot below.
>>>
>>>
>>> First question: Can you compile a very simple LyX file? I.e., start a
>>> new file, type "Hello World", and try to view the PDF. Does it work? If
>>> not, then there is some major problem in your installation, and I'd
>>> recommend removing everything related to LyX and re-installing.
>>>
>>> If that isn't the problem, we can try more things. But the LaTeX log you
>>> attached is truncated: It is not the complete file. So it's impossible to
>>> see what the error might be.
>>>
>>> Richard
>>>
>>>
>>
>>
>
>


Re: Fwd: LyX problem*

2017-09-07 Thread Richard Heck
On 09/06/2017 04:05 PM, Mxolisi Msibi wrote:
> Hi Richard,
>
> I think, I might have done the "bisection" after my initial mail,
> earlier today. It looks like it was the graphical images I had.
>
> Do you, perhaps, know what file extensions I must avoid for
> statistical visualizations?

It's safest to stick with things like png and jpg, but LyX can support
almost any file extension. You just have to have an appropriate
converter installed. What format were you trying to use? And what sort
of computer are you using?

Richard

PS Try to post your replies below what you're replying to, as I've done.
This makes it a lot easier for other people to follow the thread.


>
> On Wed, Sep 6, 2017 at 6:40 PM, Richard Heck  > wrote:
>
> On 09/06/2017 06:03 AM, Mxolisi Msibi wrote:
>> Hi Richard,
>>
>> Thanks so much for the quick reply. A simple "Hello World" seem
>> to be working fine. So, what can the problem the?
>>
>> I'm starting to worry that it's prob the math formulas of which I
>> need LyX for for documenting.
>
> Can you send me the file privately by email? That is probably the
> easiest thing.
>
> Otherwise, the usual way to try to solve this is to 'bisect':
> Delete half the document and see if it works then. If so, then the
> problem is in the other half, so restore that, delete the part you
> had kept before, etc. Keep going like this until you isolate what
> is causing the problem.
>
> Richard
>
>
>
>> On Tue, Sep 5, 2017 at 6:22 PM, Richard Heck > > wrote:
>>
>> On 09/05/2017 04:06 AM, Mxolisi Msibi wrote:
>>>
>>> Hi Doc,
>>>
>>> I'm having trouble with my LyX. Seem to break down every
>>> time I want to extract or view in pdf. I googled the error
>>> and I followed the subsequent remedy but to no avail, I keep
>>> getting the same problem. I, even, tried comparing to some
>>> of my classmates' but the settings look similar.
>>>
>>> Do you, perhaps, know what needs to be done to get it back
>>> proper? Sample error screen shot below.
>>
>> First question: Can you compile a very simple LyX file? I.e.,
>> start a new file, type "Hello World", and try to view the
>> PDF. Does it work? If not, then there is some major problem
>> in your installation, and I'd recommend removing everything
>> related to LyX and re-installing.
>>
>> If that isn't the problem, we can try more things. But the
>> LaTeX log you attached is truncated: It is not the complete
>> file. So it's impossible to see what the error might be.
>>
>> Richard
>>
>>
>
>



Re: Fwd: LyX problem*

2017-09-06 Thread Mxolisi Msibi
Hi Richard,

Thanks so much for the quick reply. A simple "Hello World" seem to be
working fine. So, what can the problem the?

I'm starting to worry that it's prob the math formulas of which I need LyX
for for documenting.

Kind Regards,
Mxo

On Tue, Sep 5, 2017 at 6:22 PM, Richard Heck  wrote:

> On 09/05/2017 04:06 AM, Mxolisi Msibi wrote:
>
>
> Hi Doc,
>
> I'm having trouble with my LyX. Seem to break down every time I want to
> extract or view in pdf. I googled the error and I followed the subsequent
> remedy but to no avail, I keep getting the same problem. I, even, tried
> comparing to some of my classmates' but the settings look similar.
>
> Do you, perhaps, know what needs to be done to get it back proper? Sample
> error screen shot below.
>
>
> First question: Can you compile a very simple LyX file? I.e., start a new
> file, type "Hello World", and try to view the PDF. Does it work? If not,
> then there is some major problem in your installation, and I'd recommend
> removing everything related to LyX and re-installing.
>
> If that isn't the problem, we can try more things. But the LaTeX log you
> attached is truncated: It is not the complete file. So it's impossible to
> see what the error might be.
>
> Richard
>
>


Re: Fwd: LyX problem*

2017-09-05 Thread Richard Heck
On 09/05/2017 04:06 AM, Mxolisi Msibi wrote:
>
> Hi Doc,
>
> I'm having trouble with my LyX. Seem to break down every time I want
> to extract or view in pdf. I googled the error and I followed the
> subsequent remedy but to no avail, I keep getting the same problem. I,
> even, tried comparing to some of my classmates' but the settings look
> similar.
>
> Do you, perhaps, know what needs to be done to get it back proper?
> Sample error screen shot below.

First question: Can you compile a very simple LyX file? I.e., start a
new file, type "Hello World", and try to view the PDF. Does it work? If
not, then there is some major problem in your installation, and I'd
recommend removing everything related to LyX and re-installing.

If that isn't the problem, we can try more things. But the LaTeX log you
attached is truncated: It is not the complete file. So it's impossible
to see what the error might be.

Richard



Re: Fwd: LyX 2.2 alpha1

2015-12-02 Thread Scott Kostyshak
On Mon, Nov 30, 2015 at 09:33:39PM +0100, Georg Baum wrote:
> Uwe Stöhr wrote:
> 
> > I build from the tarball. To do so i create a new branch in my git to
> > get all paths correct.
> 
> Can you please explain why you need to do anything in git? I ask because 
> building from a tar ball usually means
> 
> - unpack tar ball
> - cd to the unpacked directory
> - execute build script
> 
> and I want rto help that you can do it that way. If there is no git 
> involved, then you can be very sure that the build result comes only from 
> the tar ball and not from something in git. If git is involved, then this is 
> not easy to verify.

+1


signature.asc
Description: PGP signature


Re: Fwd: LyX 2.2 alpha1

2015-12-01 Thread Georg Baum
Uwe Stöhr wrote:

> I build from the tarball. To do so i create a new branch in my git to
> get all paths correct.

Can you please explain why you need to do anything in git? I ask because 
building from a tar ball usually means

- unpack tar ball
- cd to the unpacked directory
- execute build script

and I want rto help that you can do it that way. If there is no git 
involved, then you can be very sure that the build result comes only from 
the tar ball and not from something in git. If git is involved, then this is 
not easy to verify.

> In this case I compiled it correctly but put the files from the git
> master lib folder to the installer instead of the files from the tarball.
> The lyx.exe and tex2lyx.exe in the installer are the correct ones (see
> the date when LyX is started). So there is no need to release a new
> installer.

http://www.lyx.org/trac/ticket/9878 is a strong hint that the installer 
contains at least some files that are not from the tar ball. This bug does 
also demonstrate why it is so important that the labels of binary and source 
packages match: If we had known from the beginning that Andrew was not using 
alpha2, one of the very first things he would have been told is "use 
alpha2", and then he would have noticed that the bug does not exist in 
alpha2.


Georg




Re: Fwd: LyX 2.2 alpha1

2015-11-29 Thread Richard Heck
On 11/29/2015 11:52 AM, Guillaume Munch wrote:
> Le 29/11/2015 16:20, Richard Heck a écrit :
>> On 11/29/2015 06:51 AM, Georg Baum wrote:
>>> Richard Heck wrote:
>>>
 On 11/28/2015 10:17 PM, Uwe Stöhr wrote:

> Besides this it seems that I built the lyx.exe including this patch.
> This was not the plan and I hate git for this.  It is hard to figure
> out what branch is now really used. I took Scott's file into my build
> branch but it seems I compiled git master nevertheless.
>>> If you do not pay attention to what the git advocates say ("it is
>>> easy to
>>> switch branches, therefore you should use only one working directory
>>> for
>>> several branches"), and use one separate working directory for
>>> master and
>>> one for stable, then it is easy not to get confused.
>>
>> I do this anyway---one tree for master, one tree for stable---for the
>> simple reason that it saves a lot of compilation time.
>>
>
> I use ccache to accelerate the recompilation between checkouts, it
> works well if you have some spare hard disk space.

Never heard of that. I'm not sure I want to use it for all compilations,
though. I'd like to be able to use it just for LyX. But that looks
difficult.

Richard




Re: Fwd: LyX 2.2 alpha1

2015-11-29 Thread Guillaume Munch

Le 29/11/2015 16:20, Richard Heck a écrit :

On 11/29/2015 06:51 AM, Georg Baum wrote:

Richard Heck wrote:


On 11/28/2015 10:17 PM, Uwe Stöhr wrote:


Besides this it seems that I built the lyx.exe including this patch.
This was not the plan and I hate git for this.  It is hard to figure
out what branch is now really used. I took Scott's file into my build
branch but it seems I compiled git master nevertheless.

If you do not pay attention to what the git advocates say ("it is easy to
switch branches, therefore you should use only one working directory for
several branches"), and use one separate working directory for master and
one for stable, then it is easy not to get confused.


I do this anyway---one tree for master, one tree for stable---for the
simple reason that it saves a lot of compilation time.



I use ccache to accelerate the recompilation between checkouts, it works 
well if you have some spare hard disk space.




Re: Fwd: LyX 2.2 alpha1

2015-11-29 Thread Guillaume Munch

Le 29/11/2015 17:17, Richard Heck a écrit :


I use ccache to accelerate the recompilation between checkouts, it
works well if you have some spare hard disk space.


Never heard of that. I'm not sure I want to use it for all compilations,
though. I'd like to be able to use it just for LyX. But that looks
difficult.



In Debian/Ubuntu, you could do something like:
  export CXX="ccache g++"
before running configure, or:
  export PATH="/usr/lib/ccache/:$PATH"
before compilation.
(not tested)




Re: Fwd: LyX 2.2 alpha1

2015-11-29 Thread Jean-Marc Lasgouttes

Le 29/11/2015 21:24, Uwe Stöhr a écrit :

In this case I compiled it correctly but put the files from the git
master lib folder to the installer instead of the files from the tarball.
The lyx.exe and tex2lyx.exe in the installer are the correct ones (see
the date when LyX is started). So there is no need to release a new
installer.


If they do not show the right git commit hash, I would not be sure that 
they are the right ones.


JMarc



Re: Fwd: LyX 2.2 alpha1

2015-11-29 Thread Andrew Parsloe



On 28/11/2015 11:25 p.m., Georg Baum wrote:

Andrew Parsloe wrote:


I tried installing alpha2 over my alpha1 installation. It installed but
LyX would not launch (stopped at about 6800 KB in Task Manager and just
sat there). After a certain amount of tinkering (uninstalling, renaming
my user LyX2.2 folder etc.) I found the problem was the personalised
version of stdtoolbars.inc that I had in my user LyX2.2/ui directory (I
needed to change Format 1 to Format 3). It might be better to advise
uninstalling alpha1 *and* preferences (or renaming the alpha1 LyX2.2
folder) so that LyX will launch after installation.

If your file was really written in format 1, then this is a bug which should
be fixed. Please report it in trac and add the file. We introduced format
numbers in preferences files to support exactly this use case: Reusing old
user preferences with a newer version.


Georg

Ticket #9878.

Andrew

---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus



Re: Fwd: LyX 2.2 alpha1

2015-11-29 Thread Georg Baum
Richard Heck wrote:

> On 11/28/2015 10:17 PM, Uwe Stöhr wrote:
> 
>> Besides this it seems that I built the lyx.exe including this patch.
>> This was not the plan and I hate git for this.  It is hard to figure
>> out what branch is now really used. I took Scott's file into my build
>> branch but it seems I compiled git master nevertheless.

If you do not pay attention to what the git advocates say ("it is easy to 
switch branches, therefore you should use only one working directory for 
several branches"), and use one separate working directory for master and 
one for stable, then it is easy not to get confused. If you don't know how 
to do that, ask, and you'll get help.

> Are the Windows binaries being built from some git branch and not from
> the tarball? Or am I misunderstanding something?

I hope not. We discussed very deeply for the 2.1 release that an installer 
that is labelled "2.2.0 alpha2" has to be built from the source tar ball 
"2.2.0 alpha2", and not from a git checkout. This is true BTW for all 
packagers on all operating systems.


Georg




Re: Fwd: LyX 2.2 alpha1

2015-11-29 Thread Richard Heck
On 11/29/2015 02:45 AM, Andrew Parsloe wrote:
>
>
> On 29/11/2015 5:38 p.m., Scott Kostyshak wrote:
>> On Sun, Nov 29, 2015 at 04:17:01AM +0100, Uwe Stöhr wrote:
>>> Am 29.11.2015 um 03:00 schrieb Andrew Parsloe:
>>>
 Your alpha2 installer appeared *very* promptly. Did it incorporate the
 late commit from Richard about updating bind and ui formats?
>>> You mean this one?:
>>>
>>> www.lyx.org/trac/changeset/1bf01a8ad307729fa486563d600ba9d8c2320368/lyxgit
>>>
>>>
>>> This would not explain your problems because we have the script that
>>> should
>>> convert to the right format. You copied a file in Format 1 into LyX's
>>> directory and the question is if LyX is supposed to be able to read it
>>> anyway or to convert it automatically. I don't know. So perhaps just
>>> file a
>>> bug report.
>>>
>>> Besides this it seems that I built the lyx.exe including this patch.
>> Note that we should be able to tell just from the binary. What does
>> Help > About say after "Built from git commit hash" ?
>>
>> Scott
>
> Built from git commit hash 5c35ebcd.

That is several commits after alpha2 and would have included my patch,
as well as a couple due to Georg.

What I don't understand is why the binary isn't being built from the
tarball. Is the reason that the installer code is itself in the git tree
but not part of the tarball? Surely there's a way around that. But even
if there is some need to build the binary from within the git tree, then
the thing to do is checkout the relevant tag:

# git checkout 2.2.0alpha2

Then build.

Richard



Re: Fwd: LyX 2.2 alpha1

2015-11-29 Thread Richard Heck
On 11/29/2015 06:51 AM, Georg Baum wrote:
> Richard Heck wrote:
>
>> On 11/28/2015 10:17 PM, Uwe Stöhr wrote:
>>
>>> Besides this it seems that I built the lyx.exe including this patch.
>>> This was not the plan and I hate git for this.  It is hard to figure
>>> out what branch is now really used. I took Scott's file into my build
>>> branch but it seems I compiled git master nevertheless.
> If you do not pay attention to what the git advocates say ("it is easy to 
> switch branches, therefore you should use only one working directory for 
> several branches"), and use one separate working directory for master and 
> one for stable, then it is easy not to get confused. 

I do this anyway---one tree for master, one tree for stable---for the
simple reason that it saves a lot of compilation time.

> If you don't know how to do that, ask, and you'll get help.
>
>> Are the Windows binaries being built from some git branch and not from
>> the tarball? Or am I misunderstanding something?
> I hope not. We discussed very deeply for the 2.1 release that an installer 
> that is labelled "2.2.0 alpha2" has to be built from the source tar ball 
> "2.2.0 alpha2", and not from a git checkout. This is true BTW for all 
> packagers on all operating systems.

Other messages in this thread have made it seem likely that the Windows
alpha2 release was built from git commit hash 5c35ebcd, about six
commits after alpha2. Uwe said something about trying to import the
tarball into the git tree and getting confused:

> Besides this it seems that I built the lyx.exe including [Richard's]
> patch. This was not the plan and I hate git for this. It is hard to
> figure out what branch is now really used. I took Scott's file into my
> build branch but it seems I compiled git master nevertheless. 

but I didn't understand what he meant. Obviously, there's something here
that we need to help Uwe figure out.

Richard



Re: Fwd: LyX 2.2 alpha1

2015-11-29 Thread Uwe Stöhr

Am 29.11.2015 um 05:22 schrieb Richard Heck:


Besides this it seems that I built the lyx.exe including this patch.
This was not the plan and I hate git for this.  It is hard to figure
out what branch is now really used. I took Scott's file into my build
branch but it seems I compiled git master nevertheless.


Are the Windows binaries being built from some git branch and not from
the tarball? Or am I misunderstanding something?


I build from the tarball. To do so i create a new branch in my git to 
get all paths correct.


In this case I compiled it correctly but put the files from the git 
master lib folder to the installer instead of the files from the tarball.
The lyx.exe and tex2lyx.exe in the installer are the correct ones (see 
the date when LyX is started). So there is no need to release a new 
installer.


regards Uwe


Re: Fwd: LyX 2.2 alpha1

2015-11-28 Thread Georg Baum
Andrew Parsloe wrote:

> I tried installing alpha2 over my alpha1 installation. It installed but
> LyX would not launch (stopped at about 6800 KB in Task Manager and just
> sat there). After a certain amount of tinkering (uninstalling, renaming
> my user LyX2.2 folder etc.) I found the problem was the personalised
> version of stdtoolbars.inc that I had in my user LyX2.2/ui directory (I
> needed to change Format 1 to Format 3). It might be better to advise
> uninstalling alpha1 *and* preferences (or renaming the alpha1 LyX2.2
> folder) so that LyX will launch after installation.

If your file was really written in format 1, then this is a bug which should 
be fixed. Please report it in trac and add the file. We introduced format 
numbers in preferences files to support exactly this use case: Reusing old 
user preferences with a newer version.


Georg



Re: Fwd: LyX 2.2 alpha1

2015-11-28 Thread Andrew Parsloe

On 28/11/2015 4:27 p.m., Uwe Stöhr wrote:

We just released alpha2. Here it its installer:
https://ftp.lyx.de/LyX%202.2.0-alpha-2/LyX-220alpha2-Installer-1.exe

You can safely install over the existing alpha1 installation.

regards Uwe


Hullo Uwe,
I tried installing alpha2 over my alpha1 installation. It installed but 
LyX would not launch (stopped at about 6800 KB in Task Manager and just 
sat there). After a certain amount of tinkering (uninstalling, renaming 
my user LyX2.2 folder etc.) I found the problem was the personalised 
version of stdtoolbars.inc that I had in my user LyX2.2/ui directory (I 
needed to change Format 1 to Format 3). It might be better to advise 
uninstalling alpha1 *and* preferences (or renaming the alpha1 LyX2.2 
folder) so that LyX will launch after installation.


Andrew

---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus



Re: Fwd: LyX 2.2 alpha1

2015-11-28 Thread Uwe Stöhr

Am 28.11.2015 um 09:42 schrieb Andrew Parsloe:


I tried installing alpha2 over my alpha1 installation. It installed but
LyX would not launch (stopped at about 6800 KB in Task Manager and just
sat there). After a certain amount of tinkering (uninstalling, renaming
my user LyX2.2 folder etc.) I found the problem was the personalised
version of stdtoolbars.inc that I had in my user LyX2.2/ui directory (I
needed to change Format 1 to Format 3). It might be better to advise
uninstalling alpha1 *and* preferences (or renaming the alpha1 LyX2.2
folder) so that LyX will launch after installation.


Thanks for this hint. I am not sure if you found a bug maybe a LyX devel 
colleague could tell us that. For now the installer already warns you 
that installing over another could cause unwanted side effects.
I tested to install alpha 2 over alpha 1 with success but OK, I did not 
manually change a file of alpha 1.


regards Uwe


Re: Fwd: LyX 2.2 alpha1

2015-11-28 Thread Scott Kostyshak
On Sun, Nov 29, 2015 at 04:17:01AM +0100, Uwe Stöhr wrote:
> Am 29.11.2015 um 03:00 schrieb Andrew Parsloe:
> 
> >Your alpha2 installer appeared *very* promptly. Did it incorporate the
> >late commit from Richard about updating bind and ui formats?
> 
> You mean this one?:
> 
> www.lyx.org/trac/changeset/1bf01a8ad307729fa486563d600ba9d8c2320368/lyxgit
> 
> This would not explain your problems because we have the script that should
> convert to the right format. You copied a file in Format 1 into LyX's
> directory and the question is if LyX is supposed to be able to read it
> anyway or to convert it automatically. I don't know. So perhaps just file a
> bug report.
> 
> Besides this it seems that I built the lyx.exe including this patch.

Note that we should be able to tell just from the binary. What does
Help > About say after "Built from git commit hash" ?

Scott


signature.asc
Description: PGP signature


Re: Fwd: LyX 2.2 alpha1

2015-11-28 Thread Uwe Stöhr

Am 29.11.2015 um 03:00 schrieb Andrew Parsloe:


Your alpha2 installer appeared *very* promptly. Did it incorporate the
late commit from Richard about updating bind and ui formats?


You mean this one?:

www.lyx.org/trac/changeset/1bf01a8ad307729fa486563d600ba9d8c2320368/lyxgit

This would not explain your problems because we have the script that 
should convert to the right format. You copied a file in Format 1 into 
LyX's directory and the question is if LyX is supposed to be able to 
read it anyway or to convert it automatically. I don't know. So perhaps 
just file a bug report.


Besides this it seems that I built the lyx.exe including this patch. 
This was not the plan and I hate git for this.  It is hard to figure out 
what branch is now really used. I took Scott's file into my build branch 
but it seems I compiled git master nevertheless.


However, it doesn't matter that I made this mistake, it must work anyway 
if it is supposed to work. Without my mistake you would have faced the 
same problem, with the only difference that Format 2 would be active but 
since you have a file with Format 1 the effect is the same.



If it
didn't then my problem may well stem from that fact, which would only
cause rather public difficulties for you. I've held off filing a bug
report in the meantime.


Many thanks for that but it was 3 AM when I compiled. So I invested some 
hours of my sleep to get it ready and only who don't do anything don't 
make any mistake.
Normally I build and then test installers at least 1 day on several PCs 
but as I just got the feedback from you and Brian that everything is 
working now with my test installer I thought I just had to compile and 
throw the result into the installer.


best regards
Uwe


Re: Fwd: LyX 2.2 alpha1

2015-11-28 Thread Richard Heck
On 11/28/2015 10:17 PM, Uwe Stöhr wrote:
> Am 29.11.2015 um 03:00 schrieb Andrew Parsloe:
>
>> Your alpha2 installer appeared *very* promptly. Did it incorporate the
>> late commit from Richard about updating bind and ui formats?
>
> You mean this one?:
>
> www.lyx.org/trac/changeset/1bf01a8ad307729fa486563d600ba9d8c2320368/lyxgit
>
>
> This would not explain your problems because we have the script that
> should convert to the right format. You copied a file in Format 1 into
> LyX's directory and the question is if LyX is supposed to be able to
> read it anyway or to convert it automatically. I don't know. So
> perhaps just file a bug report.

LyX should read that file correctly, running prefs2prefs to convert it
as necessary. If that isn't working right, then it's a bug.

> Besides this it seems that I built the lyx.exe including this patch.
> This was not the plan and I hate git for this.  It is hard to figure
> out what branch is now really used. I took Scott's file into my build
> branch but it seems I compiled git master nevertheless.

Are the Windows binaries being built from some git branch and not from
the tarball? Or am I misunderstanding something?

Richard



Re: Fwd: LyX 2.2 alpha1

2015-11-28 Thread Andrew Parsloe



On 29/11/2015 5:38 p.m., Scott Kostyshak wrote:

On Sun, Nov 29, 2015 at 04:17:01AM +0100, Uwe Stöhr wrote:

Am 29.11.2015 um 03:00 schrieb Andrew Parsloe:


Your alpha2 installer appeared *very* promptly. Did it incorporate the
late commit from Richard about updating bind and ui formats?

You mean this one?:

www.lyx.org/trac/changeset/1bf01a8ad307729fa486563d600ba9d8c2320368/lyxgit

This would not explain your problems because we have the script that should
convert to the right format. You copied a file in Format 1 into LyX's
directory and the question is if LyX is supposed to be able to read it
anyway or to convert it automatically. I don't know. So perhaps just file a
bug report.

Besides this it seems that I built the lyx.exe including this patch.

Note that we should be able to tell just from the binary. What does
Help > About say after "Built from git commit hash" ?

Scott

Built from git commit hash 5c35ebcd.

Andrew

---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus



Re: Fwd: LyX 2.2 alpha1

2015-11-26 Thread Uwe Stöhr

Am 26.11.2015 um 11:31 schrieb Andrew Parsloe:



Yes!


Many thanks for testing.

I created a new installer that does this automatically:
http://ftp.lyx.de/LyX%202.2.0-alpha-1/LyX-220alpha1-Installer-test.exe

To test this you need to uninstall the existing LyX 2.2alpha1 at first.

regards Uwe


Re: Fwd: LyX 2.2 alpha1

2015-11-26 Thread Uwe Stöhr

Am 26.11.2015 um 15:44 schrieb Richard Heck:


Uwe, I suppose this is an installer issue that you can fix for alpha2?


It is already fixed in this installer:
http://ftp.lyx.de/LyX%202.2.0-alpha-1/LyX-220alpha1-Installer-test.exe

So I am ready for alpha2.


Do you want to try a new installer for alpha1 to make sure?


No, this is not necessary.

regards Uwe


Re: Fwd: LyX 2.2 alpha1

2015-11-26 Thread Andrew Parsloe



On 27/11/2015 2:05 p.m., Uwe Stöhr wrote:

Am 26.11.2015 um 15:44 schrieb Richard Heck:


Uwe, I suppose this is an installer issue that you can fix for alpha2?


It is already fixed in this installer:
http://ftp.lyx.de/LyX%202.2.0-alpha-1/LyX-220alpha1-Installer-test.exe

So I am ready for alpha2.


Do you want to try a new installer for alpha1 to make sure?


No, this is not necessary.

regards Uwe

I can confirm that this installer results in a LyX on windows (or at 
least Windows 7) that displays the svgz icons 'out of the box'. No 
tinkering necessary.


Andrew

---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus



Re: Fwd: LyX 2.2 alpha1

2015-11-26 Thread Andrew Parsloe

On 26/11/2015 2:10 p.m., Andrew Parsloe wrote:



On 26/11/2015 11:57 a.m., Enrico Forestieri wrote:

On Wed, Nov 25, 2015 at 11:42:32PM +0100, Enrico Forestieri wrote:

On Wed, Nov 25, 2015 at 05:33:05PM -0500, Richard Heck wrote:

Is there anyway for our Windows testers to be able to install this
themselves, to see if its presence fixes things?
It could be provided by Uwe. Then, I don't know whether the plugins 
are to

be placed into proper subdirectories. Maybe, the layout could be:

QtSvg.dll
iconengines/svgicon.dll
imageformats/qsvg.dll

or maybe a flat structure where all dlls are there suffices. I only 
tried

building a static Windows version of Qt and cannot really tell.

I just checkedhttp://www.winfig.com/WinFIG-Dateien/WinFIG60final.zip
which ships with Qt5 libraries and it seems that the layout has to be
like this:

QtSvg.dll
plugins/iconengines/qsvgicon.dll
plugins/imageformats/qsvg.dll

For completeness sake, I've also tried this directory structure (as 
well as the flat one) with both Uwe's installers for alpha1. In all 
cases the svgz icons do not display.


Andrew
In an earlier email Georg suggested using Process Monitor, so I 
downloaded and installed it. A bit overwhelming at first, but I've now 
got some basic understanding of how to use it. I've attached a gnumeric 
file with what seems relevant (to my untutored eye). The logs are for 
Uwe's Installer-2. I start LyX and log the results. In the top rows, LyX 
tries to find a folder bin/iconengines which isn't there. I therefore 
created bin/iconengines. The lower rows are the relevant lines for this 
second run. LyX is obviously looking for something in the folder. I 
(blindly) tried putting various candidates like qsvgicon4.dll in the 
folder, but none of them resulted in the icons displaying. (The full 
logs are 3 to 4 MB. I could zip and send them if that seems worthwhile.)


Andrew


---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus


ProcessMonitorLogs.gnumeric
Description: application/gnumeric


Re: Fwd: LyX 2.2 alpha1

2015-11-26 Thread Uwe Stöhr
> I've downloaded both and put them in the LyX 2.2/bin folder (alongside lyx.exe etc.). Alas it makes no difference.

 

I can reproduce now your problem. I found the solution:

 

- create a folder named "imageformats" in the folder where the lyx.exe is

- move or copy there all image dll-files (qsvg4.dll, jpeg4.dll etc.)

- create a folder named "iconengines" in the folder where the lyx.exe is

- move or copy there the file qsvgicon4.dll (the one you downloaded)

- restart LyX

 

Does this work for you too?

 

thanks and regards

Uwe


Re: Fwd: LyX 2.2 alpha1

2015-11-26 Thread Andrew Parsloe

On 26/11/2015 11:09 p.m., "Uwe Stöhr" wrote:
> I've downloaded both and put them in the LyX 2.2/bin folder 
(alongside lyx.exe etc.). Alas it makes no difference.

I can reproduce now your problem. I found the solution:
- create a folder named "imageformats" in the folder where the lyx.exe is
- move or copy there all image dll-files (qsvg4.dll, jpeg4.dll etc.)
- create a folder named "iconengines" in the folder where the lyx.exe is
- move or copy there the file qsvgicon4.dll (the one you downloaded)
- restart LyX
Does this work for you too?
thanks and regards
Uwe

Yes!

Andrew


---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus


Re: Fwd: LyX 2.2 alpha1

2015-11-26 Thread Richard Heck
On 11/26/2015 05:31 AM, Andrew Parsloe wrote:
> On 26/11/2015 11:09 p.m., "Uwe Stöhr" wrote:
>> > I've downloaded both and put them in the LyX 2.2/bin folder
>> (alongside lyx.exe etc.). Alas it makes no difference.
>>  
>> I can reproduce now your problem. I found the solution:
>>  
>> - create a folder named "imageformats" in the folder where the lyx.exe is
>> - move or copy there all image dll-files (qsvg4.dll, jpeg4.dll etc.)
>> - create a folder named "iconengines" in the folder where the lyx.exe is
>> - move or copy there the file qsvgicon4.dll (the one you downloaded)
>> - restart LyX
>>  
>> Does this work for you too?
>>  
>> thanks and regards
>> Uwe
>
> Yes!

Excellent.

Uwe, I suppose this is an installer issue that you can fix for alpha2?
Do you want to try a new installer for alpha1 to make sure? If that
works, then the blocker for alpha2 is cleared.

Richard



Re: Fwd: LyX 2.2 alpha1

2015-11-25 Thread Enrico Forestieri
On Wed, Nov 25, 2015 at 11:42:32PM +0100, Enrico Forestieri wrote:
> On Wed, Nov 25, 2015 at 05:33:05PM -0500, Richard Heck wrote:
> > 
> > Is there anyway for our Windows testers to be able to install this
> > themselves, to see if its presence fixes things?
> 
> It could be provided by Uwe. Then, I don't know whether the plugins are to
> be placed into proper subdirectories. Maybe, the layout could be:
> 
> QtSvg.dll
> iconengines/svgicon.dll
> imageformats/qsvg.dll
> 
> or maybe a flat structure where all dlls are there suffices. I only tried
> building a static Windows version of Qt and cannot really tell.

I just checked http://www.winfig.com/WinFIG-Dateien/WinFIG60final.zip
which ships with Qt5 libraries and it seems that the layout has to be
like this:

QtSvg.dll
plugins/iconengines/qsvgicon.dll
plugins/imageformats/qsvg.dll

-- 
Enrico


Re: Fwd: LyX 2.2 alpha1

2015-11-25 Thread Enrico Forestieri
On Wed, Nov 25, 2015 at 04:54:15PM -0500, Scott Kostyshak wrote:
> On Thu, Nov 26, 2015 at 10:08:45AM +1300, Andrew Parsloe wrote:
> > 
> > Same behaviour here on Windows XP: only Classic icons (and yes, I am a
> > dinosaur)
> 
> OK good to know. Seems like 2/2 testers on Windows means a serious
> issue. This is now considered a blocker for alpha2. Hopefully we can
> find a fix soon.

Most probably, this is due to a missing qsvgicon.dll plugin.
https://forum.qt.io/topic/3563/no-icons-when-deploy-application-using-svg-files/8

-- 
Enrico


Re: Fwd: LyX 2.2 alpha1

2015-11-25 Thread Richard Heck
On 11/25/2015 05:27 PM, Enrico Forestieri wrote:
> On Wed, Nov 25, 2015 at 04:54:15PM -0500, Scott Kostyshak wrote:
>> On Thu, Nov 26, 2015 at 10:08:45AM +1300, Andrew Parsloe wrote:
>>> Same behaviour here on Windows XP: only Classic icons (and yes, I am a
>>> dinosaur)
>> OK good to know. Seems like 2/2 testers on Windows means a serious
>> issue. This is now considered a blocker for alpha2. Hopefully we can
>> find a fix soon.
> Most probably, this is due to a missing qsvgicon.dll plugin.
> https://forum.qt.io/topic/3563/no-icons-when-deploy-application-using-svg-files/8

Is there anyway for our Windows testers to be able to install this
themselves, to see if its presence fixes things?

Richard

>



Re: Fwd: LyX 2.2 alpha1

2015-11-25 Thread Enrico Forestieri
On Wed, Nov 25, 2015 at 05:33:05PM -0500, Richard Heck wrote:
> On 11/25/2015 05:27 PM, Enrico Forestieri wrote:
> > On Wed, Nov 25, 2015 at 04:54:15PM -0500, Scott Kostyshak wrote:
> >> On Thu, Nov 26, 2015 at 10:08:45AM +1300, Andrew Parsloe wrote:
> >>> Same behaviour here on Windows XP: only Classic icons (and yes, I am a
> >>> dinosaur)
> >> OK good to know. Seems like 2/2 testers on Windows means a serious
> >> issue. This is now considered a blocker for alpha2. Hopefully we can
> >> find a fix soon.
> > Most probably, this is due to a missing qsvgicon.dll plugin.
> > https://forum.qt.io/topic/3563/no-icons-when-deploy-application-using-svg-files/8
> 
> Is there anyway for our Windows testers to be able to install this
> themselves, to see if its presence fixes things?

It could be provided by Uwe. Then, I don't know whether the plugins are to
be placed into proper subdirectories. Maybe, the layout could be:

QtSvg.dll
iconengines/svgicon.dll
imageformats/qsvg.dll

or maybe a flat structure where all dlls are there suffices. I only tried
building a static Windows version of Qt and cannot really tell.

-- 
Enrico


Re: Fwd: LyX 2.2 alpha1

2015-11-25 Thread Uwe Stöhr

Am 26.11.2015 um 01:08 schrieb Uwe Stöhr:


If so I will release a fixed installer today.


To play around I have done this right now:
http://ftp.lyx.de/LyX%202.2.0-alpha-1/LyX-220alpha1-Installer-2.exe

if you want to test this installer, you need to uninstall LyX 
2.2.0alpha1 before.


regards Uwe


Re: Fwd: LyX 2.2 alpha1

2015-11-25 Thread Uwe Stöhr

Am 25.11.2015 um 23:27 schrieb Enrico Forestieri:


Most probably, this is due to a missing qsvgicon.dll plugin.
https://forum.qt.io/topic/3563/no-icons-when-deploy-application-using-svg-files/8


This is indeed not shipped with my installer. Strange tht i don't see 
the problem.


Andre and Brian could you please download these 2 files:

 - 
http://ftp.lyx.de/LyX%202.2.0-alpha-1/Installer%20Source%20Code/QtXml4.dll
- 
http://ftp.lyx.de/LyX%202.2.0-alpha-1/Installer%20Source%20Code/qsvgicon4.dll


and put them into the folder where your lyx.exe of LyX 2.2alpha1 exists.
Then restart LyX.
Does this solve your problems?

If so I will release a fixed installer today.

thanks and regards
Uwe


Re: Fwd: LyX 2.2 alpha1

2015-11-25 Thread Andrew Parsloe



On 26/11/2015 1:08 p.m., Uwe Stöhr wrote:

Am 25.11.2015 um 23:27 schrieb Enrico Forestieri:


Most probably, this is due to a missing qsvgicon.dll plugin.
https://forum.qt.io/topic/3563/no-icons-when-deploy-application-using-svg-files/8 



This is indeed not shipped with my installer. Strange tht i don't see 
the problem.


Andre and Brian could you please download these 2 files:

 - 
http://ftp.lyx.de/LyX%202.2.0-alpha-1/Installer%20Source%20Code/QtXml4.dll
- 
http://ftp.lyx.de/LyX%202.2.0-alpha-1/Installer%20Source%20Code/qsvgicon4.dll


and put them into the folder where your lyx.exe of LyX 2.2alpha1 exists.
Then restart LyX.
Does this solve your problems?

If so I will release a fixed installer today.

thanks and regards
Uwe
I've downloaded both and put them in the LyX 2.2/bin folder (alongside 
lyx.exe etc.). Alas it makes no difference.


Andrew

---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus



Re: Fwd: LyX 2.2 alpha1

2015-11-25 Thread Andrew Parsloe

On 26/11/2015 1:13 p.m., Uwe Stöhr wrote:

Am 26.11.2015 um 01:08 schrieb Uwe Stöhr:


If so I will release a fixed installer today.


To play around I have done this right now:
http://ftp.lyx.de/LyX%202.2.0-alpha-1/LyX-220alpha1-Installer-2.exe

if you want to test this installer, you need to uninstall LyX 
2.2.0alpha1 before.


regards Uwe

I uninstalled alpha1, including preferences, ran ccleaner through the 
registry, downloaded installer-2 and installed LyX. Alas, the problem is 
still there. Although buffer-view.sgvz on the splash screen displays, 
the icons on the toolbars do not. (And if I use Insert > Graphics to 
view an svgz icon within the main LyX window, it converts successfully 
and is displayed.)


Andrew

---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus



Re: Fwd: LyX 2.2 alpha1

2015-11-25 Thread Andrew Parsloe



On 26/11/2015 11:57 a.m., Enrico Forestieri wrote:

On Wed, Nov 25, 2015 at 11:42:32PM +0100, Enrico Forestieri wrote:

On Wed, Nov 25, 2015 at 05:33:05PM -0500, Richard Heck wrote:

Is there anyway for our Windows testers to be able to install this
themselves, to see if its presence fixes things?

It could be provided by Uwe. Then, I don't know whether the plugins are to
be placed into proper subdirectories. Maybe, the layout could be:

QtSvg.dll
iconengines/svgicon.dll
imageformats/qsvg.dll

or maybe a flat structure where all dlls are there suffices. I only tried
building a static Windows version of Qt and cannot really tell.

I just checkedhttp://www.winfig.com/WinFIG-Dateien/WinFIG60final.zip
which ships with Qt5 libraries and it seems that the layout has to be
like this:

QtSvg.dll
plugins/iconengines/qsvgicon.dll
plugins/imageformats/qsvg.dll

For completeness sake, I've also tried this directory structure (as well 
as the flat one) with both Uwe's installers for alpha1. In all cases the 
svgz icons do not display.


Andrew

---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus



Re: Fwd: LyX 2.2 alpha1

2015-11-25 Thread Scott Kostyshak
On Thu, Nov 26, 2015 at 10:08:45AM +1300, Andrew Parsloe wrote:
> 
> 
> 
>  Forwarded Message 
> Subject:  LyX 2.2 alpha1
> Date: Wed, 25 Nov 2015 20:22:34 +
> From: Brian Linfoot 
> Reply-To: br...@linfoot.myzen.co.uk
> To:   apars...@clear.net.nz
> 
> 
> 
> Same behaviour here on Windows XP: only Classic icons (and yes, I am a
> dinosaur)

OK good to know. Seems like 2/2 testers on Windows means a serious
issue. This is now considered a blocker for alpha2. Hopefully we can
find a fix soon.

Scott


signature.asc
Description: PGP signature


Re: Fwd: [LyX/master] add toFilesystemEncoding for -

2013-05-31 Thread Uwe Stöhr

Am 31.05.2013 09:14, schrieb Stephan Witt:


Uwe, please test if it works for you.


LyX does currently not compile. But I think your change was inncomplete because:


configure_command_ = os::python() + ' ' +
quoteName(configure_script.toFilesystemEncoding(), 
quote_python) +


here we have the quote_python tag so we should it have here too:


+   
quoteName(FileName(binary_dir().absFileName()).toFilesystemEncoding());


So I would assume that

quoteName(FileName(binary_dir().absFileName()).toFilesystemEncoding(), 
quote_python);

is correct.

regards Uwe


Re: Fwd: [LyX/master] add toFilesystemEncoding for -

2013-05-31 Thread Uwe Stöhr

Am 31.05.2013 09:14, schrieb Stephan Witt:


Uwe, please test if it works for you.


LyX does currently not compile. But I think your change was inncomplete because:


configure_command_ = os::python() + ' ' +
quoteName(configure_script.toFilesystemEncoding(), 
quote_python) +


here we have the quote_python tag so we should it have here too:


+   
quoteName(FileName(binary_dir().absFileName()).toFilesystemEncoding());


So I would assume that

quoteName(FileName(binary_dir().absFileName()).toFilesystemEncoding(), 
quote_python);

is correct.

regards Uwe


Re: Fwd: [lyx/refs/heads/master] Clear the error list from previous errors

2012-03-19 Thread Richard Heck

On 03/17/2012 02:25 PM, Vincent van Ravesteijn wrote:



Author: Vincent van Ravesteijnv...@lyx.org
Date: Sat, 17 Mar 2012 19:00:25 +0100
New Commit: 1d5204315e8c4cfed564854c1ff4de1d46ec4917
URL: 
http://git.lyx.org/?p=lyx.git;a=commit;h=1d5204315e8c4cfed564854c1ff4de1d46ec4917


Log:
Clear the error list from previous errors

We only copied the error list to the cloned buffer when makeLatexfile
failed. This means that a second try will never clear the error list and
the user will be presented the same list again.

Therefore, we unconditionally copy the error list such that we also 
clear

the list on success.


To branch ?


Sure.

Richard



Re: Fwd: [lyx/refs/heads/master] Clear the error list from previous errors

2012-03-19 Thread Richard Heck

On 03/17/2012 02:25 PM, Vincent van Ravesteijn wrote:



Author: Vincent van Ravesteijn
Date: Sat, 17 Mar 2012 19:00:25 +0100
New Commit: 1d5204315e8c4cfed564854c1ff4de1d46ec4917
URL: 
http://git.lyx.org/?p=lyx.git;a=commit;h=1d5204315e8c4cfed564854c1ff4de1d46ec4917


Log:
Clear the error list from previous errors

We only copied the error list to the cloned buffer when makeLatexfile
failed. This means that a second try will never clear the error list and
the user will be presented the same list again.

Therefore, we unconditionally copy the error list such that we also 
clear

the list on success.


To branch ?


Sure.

Richard



Re: Fwd: Lyx - latex - Lyx - cycle not working for very simple file

2011-03-30 Thread Georg Baum
Jean-Marc Lasgouttes wrote:

 Since we use catcodes, it should be possible without too much sweat, but
 things will probably become interesting as soon as somebody actually
 tries to do it :)

True. Unfortunately, catcodes are not always used. There are several places 
whith checks for literal '{' etc.


Georg



Re: Fwd: Lyx -> latex -> Lyx - cycle not working for very simple file

2011-03-30 Thread Georg Baum
Jean-Marc Lasgouttes wrote:

> Since we use catcodes, it should be possible without too much sweat, but
> things will probably become interesting as soon as somebody actually
> tries to do it :)

True. Unfortunately, catcodes are not always used. There are several places 
whith checks for literal '{' etc.


Georg



Re: Fwd: Lyx - latex - Lyx - cycle not working for very simple file

2011-03-29 Thread Vincent van Ravesteijn

On 29-3-2011 18:31, Richard Heck wrote:


I'm forwarding this to lyx-devel and, in particular, to our tex2lyx guru.

Richard


Hi list,

I have looked around and I've seen there are a couple of issues with exporting
to latex and then reimporting it to lyx.

I have run into that problem with a really very simple file (a 1x1 table with a
'program listing' inside), and would like to know if there are any known
workarounds to make it work.

With the attached lyx document I do File-Export-LaTex(plain) and then
File-Import-LaTex(plain) and I get a lyx document that cannot be rendered as a
pdf.

Any help or pointer is appreciated. Thanks in advance.


We forget to put \usepackage{listings} in the preamble.

Vincent


Re: Fwd: Lyx - latex - Lyx - cycle not working for very simple file

2011-03-29 Thread Georg Baum
Richard Heck wrote:

 
 I'm forwarding this to lyx-devel and, in particular, to our tex2lyx guru.
 
 Richard
 
  Original Message 
 Subject:  Lyx - latex - Lyx - cycle not working for very simple 
file
 Date: Tue, 29 Mar 2011 16:03:24 + (UTC)
 From: dariomt dari...@gmail.com
 To:   lyx-us...@lists.lyx.org
 
 
 
 Hi list,
 
 I have looked around and I've seen there are a couple of issues with
 exporting to latex and then reimporting it to lyx.
 
 I have run into that problem with a really very simple file (a 1x1 table
 with a 'program listing' inside), and would like to know if there are any
 known workarounds to make it work.
 
 With the attached lyx document I do File-Export-LaTex(plain) and then
 File-Import-LaTex(plain) and I get a lyx document that cannot be
 rendered as a pdf.
 
 Any help or pointer is appreciated. Thanks in advance.

This is a known problem. tex2lyx does not support listings 
(http://www.lyx.org/trac/ticket/5194) or the standard verbatim environment 
(http://www.lyx.org/trac/ticket/5408) at all. Fixing this is possible, but 
not easy, since the usual TeX parsing cannot be used for listings and 
verbatim code. It needs to be modified depending on the given listings 
settings, i.e. the escape character. Therefore I would not expect that this 
bug gets fixed soon.


Georg



Re: Fwd: Lyx - latex - Lyx - cycle not working for very simple file

2011-03-29 Thread Jean-Marc Lasgouttes

Le 29/03/11 19:02, Georg Baum a écrit :

This is a known problem. tex2lyx does not support listings
(http://www.lyx.org/trac/ticket/5194) or the standard verbatim environment
(http://www.lyx.org/trac/ticket/5408) at all. Fixing this is possible, but
not easy, since the usual TeX parsing cannot be used for listings and
verbatim code. It needs to be modified depending on the given listings
settings, i.e. the escape character. Therefore I would not expect that this
bug gets fixed soon.


Since we use catcodes, it should be possible without too much sweat, but 
things will probably become interesting as soon as somebody actually 
tries to do it :)


JMarc


Re: Fwd: Lyx -> latex -> Lyx - cycle not working for very simple file

2011-03-29 Thread Vincent van Ravesteijn

On 29-3-2011 18:31, Richard Heck wrote:


I'm forwarding this to lyx-devel and, in particular, to our tex2lyx guru.

Richard


Hi list,

I have looked around and I've seen there are a couple of issues with exporting
to latex and then reimporting it to lyx.

I have run into that problem with a really very simple file (a 1x1 table with a
'program listing' inside), and would like to know if there are any known
workarounds to make it work.

With the attached lyx document I do File->Export->LaTex(plain) and then
File->Import->LaTex(plain) and I get a lyx document that cannot be rendered as a
pdf.

Any help or pointer is appreciated. Thanks in advance.


We forget to put \usepackage{listings} in the preamble.

Vincent


Re: Fwd: Lyx -> latex -> Lyx - cycle not working for very simple file

2011-03-29 Thread Georg Baum
Richard Heck wrote:

> 
> I'm forwarding this to lyx-devel and, in particular, to our tex2lyx guru.
> 
> Richard
> 
>  Original Message 
> Subject:  Lyx -> latex -> Lyx - cycle not working for very simple 
file
> Date: Tue, 29 Mar 2011 16:03:24 + (UTC)
> From: dariomt 
> To:   lyx-us...@lists.lyx.org
> 
> 
> 
> Hi list,
> 
> I have looked around and I've seen there are a couple of issues with
> exporting to latex and then reimporting it to lyx.
> 
> I have run into that problem with a really very simple file (a 1x1 table
> with a 'program listing' inside), and would like to know if there are any
> known workarounds to make it work.
> 
> With the attached lyx document I do File->Export->LaTex(plain) and then
> File->Import->LaTex(plain) and I get a lyx document that cannot be
> rendered as a pdf.
> 
> Any help or pointer is appreciated. Thanks in advance.

This is a known problem. tex2lyx does not support listings 
(http://www.lyx.org/trac/ticket/5194) or the standard verbatim environment 
(http://www.lyx.org/trac/ticket/5408) at all. Fixing this is possible, but 
not easy, since the usual TeX parsing cannot be used for listings and 
verbatim code. It needs to be modified depending on the given listings 
settings, i.e. the escape character. Therefore I would not expect that this 
bug gets fixed soon.


Georg



Re: Fwd: Lyx -> latex -> Lyx - cycle not working for very simple file

2011-03-29 Thread Jean-Marc Lasgouttes

Le 29/03/11 19:02, Georg Baum a écrit :

This is a known problem. tex2lyx does not support listings
(http://www.lyx.org/trac/ticket/5194) or the standard verbatim environment
(http://www.lyx.org/trac/ticket/5408) at all. Fixing this is possible, but
not easy, since the usual TeX parsing cannot be used for listings and
verbatim code. It needs to be modified depending on the given listings
settings, i.e. the escape character. Therefore I would not expect that this
bug gets fixed soon.


Since we use catcodes, it should be possible without too much sweat, but 
things will probably become interesting as soon as somebody actually 
tries to do it :)


JMarc


Re: Fwd: lyx

2009-12-14 Thread Jean-Marc Lasgouttes
Jürgen Spitzmüller sp...@lyx.org writes:

 rgheck wrote:
 Can someone see that this person is removed from our mailing lists?

 I forwarded the message to Mate.

I did that already last week, but I forgot to notify everybody. Sorry.

JMarc


Re: Fwd: lyx

2009-12-14 Thread Jean-Marc Lasgouttes
Jürgen Spitzmüller  writes:

> rgheck wrote:
>> Can someone see that this person is removed from our mailing lists?
>
> I forwarded the message to Mate.

I did that already last week, but I forgot to notify everybody. Sorry.

JMarc


Re: Fwd: lyx

2009-12-12 Thread Jürgen Spitzmüller
rgheck wrote:
 Can someone see that this person is removed from our mailing lists?

I forwarded the message to Mate.

Jürgen


Re: Fwd: lyx

2009-12-12 Thread Jürgen Spitzmüller
rgheck wrote:
> Can someone see that this person is removed from our mailing lists?

I forwarded the message to Mate.

Jürgen


Re: Fwd: LyX Deutsche Doku: [Fwd: letter?]

2009-03-24 Thread Sebastian Wild
 In the letter environment letter(KOMA-Script) I found Name and Town, no
 street? May be the adress-supplement will work?
First, you should use letter(KOMA-Script v.2), because
letter(KOMA-Script) is outdated itself.

The environment »Name« is supposed to hold your name, which will
actually become the first line of your address.
But »Town« does not belong to the address, it only appears flush right
before the opening (followed by date).

Your address has to be given in »SenderAddress«, but without your name
(which is taken from the »Name« field). Street and Town have to be
separated by a newline (Ctrl+Enter) as Günter said before.

The addressee's address is given in »Address« (including name this time)

Sebastian



Re: Fwd: LyX Deutsche Doku: [Fwd: letter?]

2009-03-24 Thread Sebastian Wild
>> In the letter environment letter(KOMA-Script) I found Name and Town, no
>> street? May be the adress-supplement will work?
First, you should use letter(KOMA-Script v.2), because
letter(KOMA-Script) is outdated itself.

The environment »Name« is supposed to hold your name, which will
actually become the first line of your address.
But »Town« does not belong to the address, it only appears flush right
before the opening (followed by date).

Your address has to be given in »SenderAddress«, but without your name
(which is taken from the »Name« field). Street and Town have to be
separated by a newline (Ctrl+Enter) as Günter said before.

The addressee's address is given in »Address« (including name this time)

Sebastian



Re: Fwd: LyX Deutsche Doku: [Fwd: letter?]

2009-03-23 Thread Guenter Milde
On 2009-03-23, Hartmut Haase wrote:
 can someone please answer this?

 The Documentation User Guide from December 7, 2008 might be outdated?
 The Description of writing a letter (p. 50 in the german version of the
 document) does not describe the reality. I tried all types of
 letter-documents, but none offers the described option of adress-right?

 For instance if I try letter(DIN-Brief, German) I get an environment for
 an adressee, but I am unable to write the complete adress with name,
 street and town? That is also true for the simple letter environment.

You need to break lines with Ctrl-Return so that the whole adress is in one
paragraph.

 In the letter environment letter(KOMA-Script) I found Name and Town, no
 street? May be the adress-supplement will work?

 In any case in trying to compile such adress-experiments I get a
 message, that an empty document was generatet. Where is the Adress? That
 is also true if I add a letter text. That will not be shown in the
 compiled document.

There are some compulsory fields in a letter -- without a value in them, no
letter is produced.

 Is there any description how to make letters with lyx?

letter (DIN-Brief, German) comes with a template that has explaining Notes.

Günter



Re: Fwd: LyX Deutsche Doku: [Fwd: letter?]

2009-03-23 Thread Guenter Milde
On 2009-03-23, Hartmut Haase wrote:
> can someone please answer this?

> The Documentation "User Guide" from December 7, 2008 might be outdated?
> The Description of writing a letter (p. 50 in the german version of the
> document) does not describe the reality. I tried all types of
> letter-documents, but none offers the described option of adress-right?

> For instance if I try letter(DIN-Brief, German) I get an environment for
> an adressee, but I am unable to write the complete adress with name,
> street and town? That is also true for the simple letter environment.

You need to break lines with Ctrl-Return so that the whole adress is in one
paragraph.

> In the letter environment letter(KOMA-Script) I found Name and Town, no
> street? May be the adress-supplement will work?

> In any case in trying to compile such adress-experiments I get a
> message, that an empty document was generatet. Where is the Adress? That
> is also true if I add a letter text. That will not be shown in the
> compiled document.

There are some compulsory fields in a letter -- without a value in them, no
letter is produced.

> Is there any description how to make letters with lyx?

letter (DIN-Brief, German) comes with a template that has explaining Notes.

Günter



Re: [Fwd: lyx-cmake files patch]

2008-11-16 Thread Pavel Sanda
Peter Kümmel wrote:
 -set(PACKAGE_VERSION 1.6svn)
 +set(PACKAGE_VERSION 1.7svn)

 -set(LYX_ABS_INSTALLED_DATADIR /usr/local/share/lyx)
 +set(LYX_ABS_INSTALLED_DATADIR /usr/local/share/lyx1.7)

 -set(LYX_ABS_INSTALLED_DATADIR /usr/local/share/lyx)
 +set(LYX_ABS_INSTALLED_DATADIR /usr/local/share/lyx1.7)

2.0


Re: [Fwd: lyx-cmake files patch]

2008-11-16 Thread Pavel Sanda
Peter Kümmel wrote:
> -set(PACKAGE_VERSION 1.6svn)
> +set(PACKAGE_VERSION 1.7svn)

> -set(LYX_ABS_INSTALLED_DATADIR "/usr/local/share/lyx")
> +set(LYX_ABS_INSTALLED_DATADIR "/usr/local/share/lyx1.7")

> -set(LYX_ABS_INSTALLED_DATADIR "/usr/local/share/lyx")
> +set(LYX_ABS_INSTALLED_DATADIR "/usr/local/share/lyx1.7")

2.0


Re: Fwd: Lyx 1.6 RC2 figure-related issues

2008-09-02 Thread Jürgen Spitzmüller
Sotiris Chatzis wrote:
 1. I tried to open a lyx file written in Lyx 1.5.6 with subfigures. Lyx
 created a subfloats to store the subfigures, but it also added in the
 heading of the tex file the commands:

 [EMAIL PROTECTED]
 \PassOptionsToPackage{caption=false}{subfig}}

 It seems there is a problem with the first line here. In detail, the lyx
 application does not export the pdf file when asked (it prompts an error);
 after exporting the tex file and removing the if statement compiling
 succeeds.

Could you post the error, please?

 Therefore, I'd encourage you to correct lyx source code so as to fix this
 if statement.

 2. I found that there is no option for adding a subfigure (as a subfloat,
 as is the new convention in lyx 1.6). I suppose you will add it in the
 final release.

No, you just have to insert a float in a float. This will be the subfloat.

Jürgen


Re: Fwd: Lyx 1.6 RC2 figure-related issues

2008-09-02 Thread Jürgen Spitzmüller
Also sprach Sotiris Chatzis:
 Thanks for the info. The error reads You cannot use '\spacefactor' in
 vertical mode. Attached I've added a screenshot with the error.

The problem is the \makeatother one line above. Did you insert that yourself, 
or has it been inserted by LyX?

Jürgen


Re: Fwd: Lyx 1.6 RC2 figure-related issues

2008-09-02 Thread Jürgen Spitzmüller
Sotiris Chatzis wrote:
> 1. I tried to open a lyx file written in Lyx 1.5.6 with subfigures. Lyx
> created a subfloats to store the subfigures, but it also added in the
> heading of the tex file the commands:
>
> [EMAIL PROTECTED]
> \PassOptionsToPackage{caption=false}{subfig}}
>
> It seems there is a problem with the first line here. In detail, the lyx
> application does not export the pdf file when asked (it prompts an error);
> after exporting the tex file and removing the if statement compiling
> succeeds.

Could you post the error, please?

> Therefore, I'd encourage you to correct lyx source code so as to fix this
> if statement.
>
> 2. I found that there is no option for adding a subfigure (as a subfloat,
> as is the new convention in lyx 1.6). I suppose you will add it in the
> final release.

No, you just have to insert a float in a float. This will be the subfloat.

Jürgen


Re: Fwd: Lyx 1.6 RC2 figure-related issues

2008-09-02 Thread Jürgen Spitzmüller
Also sprach Sotiris Chatzis:
> Thanks for the info. The error reads "You cannot use '\spacefactor' in
> vertical mode." Attached I've added a screenshot with the error.

The problem is the \makeatother one line above. Did you insert that yourself, 
or has it been inserted by LyX?

Jürgen


Re: Fwd: LyX

2005-04-28 Thread Asger Alstrup
Dear Roberto,
 Hi, I am the developer of Kat
 ( http://www.kde-apps.org/content/show.php?content=22135 )

 Kat uses a series of plugins to extract fulltext from files.
 I am collaborating with the KDE project KPDF and KOffice to build
 the plugins to manage their formats.

 I would like to ask you if you are interested in collaborating with us to
 produce a plugin for LyX, LateX and BibTeX.
 The plugin is a slightly modified kfile plugin, so it is really simple to
 produce it. The only thing it returns is fulltext of the file.
LyX can already convert a .lyx document to ASCII format using the command 
line. You can use relyx and tex2lyx (in CVS) to convert a LaTeX document to 
.lyx format, so you should be able to do all of this with a simple shell 
script that just invokes these tools correctly.

Regards,
Asger Ottar Alstrup


Re: Fwd: LyX

2005-04-28 Thread Asger Alstrup
Dear Roberto,
> Hi, I am the developer of Kat
> ( http://www.kde-apps.org/content/show.php?content=22135 )
>
> Kat uses a series of plugins to extract fulltext from files.
> I am collaborating with the KDE project KPDF and KOffice to build
> the plugins to manage their formats.
>
> I would like to ask you if you are interested in collaborating with us to
> produce a plugin for LyX, LateX and BibTeX.
> The plugin is a slightly modified kfile plugin, so it is really simple to
> produce it. The only thing it returns is fulltext of the file.
LyX can already convert a .lyx document to ASCII format using the command 
line. You can use relyx and tex2lyx (in CVS) to convert a LaTeX document to 
.lyx format, so you should be able to do all of this with a simple shell 
script that just invokes these tools correctly.

Regards,
Asger Ottar Alstrup


Re: Fwd: lyx-1.3.3 float-table does not work : more precise

2004-01-07 Thread Angus Leeming
Heinz-Uwe Hobohm wrote:

 Here is an add-on to my previous email:
 
 There seems to be something wrong  with the following section
 
 \caption{\begin{tabular}{|c|c|c|}

Ok, you're trying to insert the table in a caption environment. Change the 
environment to 'Standard' (first entry in the dropdown list in the toolbar) 
and all will be fine. Use the caption environment to add the title to the 
float...

Regards,
Angus



Re: Fwd: lyx-1.3.3 float-table does not work : more precise

2004-01-07 Thread Angus Leeming
Heinz-Uwe Hobohm wrote:

> Here is an add-on to my previous email:
> 
> There seems to be something wrong  with the following section
> 
> \caption{\begin{tabular}{|c|c|c|}

Ok, you're trying to insert the table in a caption environment. Change the 
environment to 'Standard' (first entry in the dropdown list in the toolbar) 
and all will be fine. Use the caption environment to add the title to the 
float...

Regards,
Angus



Re: Fwd: LyX Bug 546

2003-11-08 Thread Georg Baum
Am Dienstag, 16. September 2003 17:14 schrieb Angus Leeming:
 Dear all,
 Georg Baum has prepared a patch that goes someway (maybe all the way)
 towards squashing Bug 546 Subdocuments lose BiBTex database entered in
 master doc. The patch is against 13x and looks reasonable to me.
 However, what do I know?

Has this been forgotten? My colleages and I are using it without problems 
with 1.3. Please see the original message 
(http://www.mail-archive.com/[EMAIL PROTECTED]/msg61478.html) for 
details.

Georg




Re: Fwd: LyX Bug 546

2003-11-08 Thread Georg Baum
Am Dienstag, 16. September 2003 17:14 schrieb Angus Leeming:
> Dear all,
> Georg Baum has prepared a patch that goes someway (maybe all the way)
> towards squashing Bug 546 "Subdocuments lose BiBTex database entered in
> master doc". The patch is against 13x and looks reasonable to me.
> However, what do I know?

Has this been forgotten? My colleages and I are using it without problems 
with 1.3. Please see the original message 
(http://www.mail-archive.com/[EMAIL PROTECTED]/msg61478.html) for 
details.

Georg




Re: [Fwd: LyX translations into polish]

2003-02-12 Thread Jean-Marc Lasgouttes
 Tomasz == Tomasz Luczak [EMAIL PROTECTED] writes:

Tomasz I enclose updated mw*.layout files and short entry for the
Tomasz LaTeXConfig.lyx.in file and a short explanation of the classes
Tomasz for Extended.lyx.

Thanks a lot. They are in cvs now.

JMarc



Re: [Fwd: LyX translations into polish]

2003-02-12 Thread Jean-Marc Lasgouttes
> "Tomasz" == Tomasz Luczak <[EMAIL PROTECTED]> writes:

Tomasz> I enclose updated mw*.layout files and short entry for the
Tomasz> LaTeXConfig.lyx.in file and a short explanation of the classes
Tomasz> for Extended.lyx.

Thanks a lot. They are in cvs now.

JMarc



Re: [Fwd: LyX translations into polish]

2003-02-11 Thread Tomasz Luczak
Jean-Marc Lasgouttes wrote:
 Hello Tomasz, Michael forwarded your message to the list.

 Tomasz I send you fresh (I hope last :-)) update for pl.po, three new
 Tomasz layouts and alternatives polish keymaps.

 I applied pl.po and polski.kmap.
Thanks

 Tomasz mwsls are available on TeXLive 7, tetex-beta and will be in
 Tomasz MikTeX, and contains: mwart, mwbk, mwrep -- classes for
 Tomasz preparing polish documents.
And CTAN
 Could you send a short entry for the LaTeXConfig.lyx.in file and (if
 you can) a short explanation of the classes for Extended.lyx (if you
 feel that there are things to explain: is the class properly
 supported, are there special things to look for...)?

I enclose updated mw*.layout files and short entry for the
LaTeXConfig.lyx.in file and a short explanation of the classes for
Extended.lyx.

Bests Regards

Tomasz
--
Tomasz Luczak
 -| TECHNODAT Sp. z o.o. | +48 32 2382337
  http://212.106.135.195/~tlu | PL 44-100 Gliwice| +48 32 3314484
  http://www.technodat.com.pl | ul. Kosciuszki 1c| +48 602 524713




LyX_pl.tar.gz
Description: GNU Zip compressed data


Re: [Fwd: LyX translations into polish]

2003-02-11 Thread Tomasz Luczak
Jean-Marc Lasgouttes wrote:
> Hello Tomasz, Michael forwarded your message to the list.
>
> Tomasz> I send you fresh (I hope last :-)) update for pl.po, three new
> Tomasz> layouts and alternatives polish keymaps.
>
> I applied pl.po and polski.kmap.
Thanks

> Tomasz> mwsls are available on TeXLive 7, tetex-beta and will be in
> Tomasz> MikTeX, and contains: mwart, mwbk, mwrep -- classes for
> Tomasz> preparing polish documents.
And CTAN
> Could you send a short entry for the LaTeXConfig.lyx.in file and (if
> you can) a short explanation of the classes for Extended.lyx (if you
> feel that there are things to explain: is the class properly
> supported, are there special things to look for...)?
>
I enclose updated mw*.layout files and short entry for the
LaTeXConfig.lyx.in file and a short explanation of the classes for
Extended.lyx.

Bests Regards

Tomasz
--
Tomasz Luczak
 -| TECHNODAT Sp. z o.o. | +48 32 2382337
  http://212.106.135.195/~tlu | PL 44-100 Gliwice| +48 32 3314484
  http://www.technodat.com.pl | ul. Kosciuszki 1c| +48 602 524713




LyX_pl.tar.gz
Description: GNU Zip compressed data


Re: [Fwd: LyX translations into polish]

2003-02-07 Thread Jean-Marc Lasgouttes

Hello Tomasz, Michael forwarded your message to the list.

Tomasz I send you fresh (I hope last :-)) update for pl.po, three new
Tomasz layouts and alternatives polish keymaps.

I applied pl.po and polski.kmap.

Tomasz mwsls are available on TeXLive 7, tetex-beta and will be in
Tomasz MikTeX, and contains: mwart, mwbk, mwrep -- classes for
Tomasz preparing polish documents.

Could you send a short entry for the LaTeXConfig.lyx.in file and (if
you can) a short explanation of the classes for Extended.lyx (if you
feel that there are things to explain: is the class properly
supported, are there special things to look for...)?

JMarc



Re: [Fwd: LyX translations into polish]

2003-02-07 Thread Jean-Marc Lasgouttes

Hello Tomasz, Michael forwarded your message to the list.

Tomasz> I send you fresh (I hope last :-)) update for pl.po, three new
Tomasz> layouts and alternatives polish keymaps.

I applied pl.po and polski.kmap.

Tomasz> mwsls are available on TeXLive 7, tetex-beta and will be in
Tomasz> MikTeX, and contains: mwart, mwbk, mwrep -- classes for
Tomasz> preparing polish documents.

Could you send a short entry for the LaTeXConfig.lyx.in file and (if
you can) a short explanation of the classes for Extended.lyx (if you
feel that there are things to explain: is the class properly
supported, are there special things to look for...)?

JMarc



Re: [Fwd: LyX translations into polish]

2003-02-04 Thread Lars Gullik Bjønnes
Michael Schmitt [EMAIL PROTECTED] writes:

| Hello,
| 
| I received the following mail this morning.
| 
| Could a friendly person please commit the po file? Tomasz also sent
| three new layouts and a Polish keymap. What shall we do with them?

The po files should be applied I guess.

The layout files should wait.

The keymap might go in if the changes are small.

I'd really like to see a diff.

-- 
Lgb



Re: [Fwd: LyX translations into polish]

2003-02-04 Thread Lars Gullik Bjønnes
Michael Schmitt <[EMAIL PROTECTED]> writes:

| Hello,
| 
| I received the following mail this morning.
| 
| Could a friendly person please commit the po file? Tomasz also sent
| three new layouts and a Polish keymap. What shall we do with them?

The po files should be applied I guess.

The layout files should wait.

The keymap might go in if the changes are small.

I'd really like to see a diff.

-- 
Lgb



Re: Fwd: Lyx bug or install bug

2002-11-21 Thread Dekel Tsur
On Thu, Nov 21, 2002 at 11:25:49AM +, Angus Leeming wrote:
 
 If you run lyx -dbg graphics, you'll find out where LyX is trying to copy the file. 
 No doubt you don't have write permissions set...

Why does the graphics file is copied to the tempdir ?



Re: Fwd: Lyx bug or install bug

2002-11-21 Thread Angus Leeming
On Thursday 21 November 2002 12:09 pm, Dekel Tsur wrote:
 On Thu, Nov 21, 2002 at 11:25:49AM +, Angus Leeming wrote:
  If you run lyx -dbg graphics, you'll find out where LyX is trying to copy
  the file. No doubt you don't have write permissions set...

 Why does the graphics file is copied to the tempdir ?

I gave up trying to understand some of Herbert's magic in insetgraphics a 
long, long time ago. In his defence, there was usually a reason...

Angus



Re: Fwd: Lyx bug or install bug

2002-11-21 Thread Jean-Marc Lasgouttes
 Angus == Angus Leeming [EMAIL PROTECTED] writes:

Angus On Thursday 21 November 2002 12:09 pm, Dekel Tsur wrote:
 On Thu, Nov 21, 2002 at 11:25:49AM +, Angus Leeming wrote:  If
 you run lyx -dbg graphics, you'll find out where LyX is trying to
 copy  the file. No doubt you don't have write permissions set...
 
 Why does the graphics file is copied to the tempdir ?

Angus I gave up trying to understand some of Herbert's magic in
Angus insetgraphics a long, long time ago. In his defence, there was
Angus usually a reason...

Yes, but now we have to somehow understand what it does in order to be
able to sort out the bugs

JMarc



Re: Fwd: Lyx bug or install bug

2002-11-21 Thread Angus Leeming
On Thursday 21 November 2002 2:23 pm, Jean-Marc Lasgouttes wrote:
  Angus == Angus Leeming [EMAIL PROTECTED] writes:

 Angus On Thursday 21 November 2002 12:09 pm, Dekel Tsur wrote:
  On Thu, Nov 21, 2002 at 11:25:49AM +, Angus Leeming wrote:  If
  you run lyx -dbg graphics, you'll find out where LyX is trying to
  copy  the file. No doubt you don't have write permissions set...
 
  Why does the graphics file is copied to the tempdir ?

 Angus I gave up trying to understand some of Herbert's magic in
 Angus insetgraphics a long, long time ago. In his defence, there was
 Angus usually a reason...

 Yes, but now we have to somehow understand what it does in order to be
 able to sort out the bugs

Well, in this case the problem probably lies with the user as he's unable to 
copy into his tempdir.

As for the wider question of why do we copy the .eps file into the tempdir in 
the first place: I suspect that the answer is that hte logic is already 
extremely convoluted. Testing whether or not we should copy the original 
graphics file before performing any conversion operations and then 
ascertaining whether the file to be included is in the temp dir or bufferdir 
or some other location in order to set the latex path appropriately...

I think Herbert went for the option most likely to work all the time ;-)

Angus



Re: Fwd: Lyx bug or install bug

2002-11-21 Thread Dekel Tsur
On Thu, Nov 21, 2002 at 11:25:49AM +, Angus Leeming wrote:
> 
> If you run lyx -dbg graphics, you'll find out where LyX is trying to copy the file. 
> No doubt you don't have write permissions set...

Why does the graphics file is copied to the tempdir ?



Re: Fwd: Lyx bug or install bug

2002-11-21 Thread Angus Leeming
On Thursday 21 November 2002 12:09 pm, Dekel Tsur wrote:
> On Thu, Nov 21, 2002 at 11:25:49AM +, Angus Leeming wrote:
> > If you run lyx -dbg graphics, you'll find out where LyX is trying to copy
> > the file. No doubt you don't have write permissions set...
>
> Why does the graphics file is copied to the tempdir ?

I gave up trying to understand some of Herbert's magic in insetgraphics a 
long, long time ago. In his defence, there was usually a reason...

Angus



Re: Fwd: Lyx bug or install bug

2002-11-21 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes:

Angus> On Thursday 21 November 2002 12:09 pm, Dekel Tsur wrote:
>> On Thu, Nov 21, 2002 at 11:25:49AM +, Angus Leeming wrote: > If
>> you run lyx -dbg graphics, you'll find out where LyX is trying to
>> copy > the file. No doubt you don't have write permissions set...
>> 
>> Why does the graphics file is copied to the tempdir ?

Angus> I gave up trying to understand some of Herbert's magic in
Angus> insetgraphics a long, long time ago. In his defence, there was
Angus> usually a reason...

Yes, but now we have to somehow understand what it does in order to be
able to sort out the bugs

JMarc



Re: Fwd: Lyx bug or install bug

2002-11-21 Thread Angus Leeming
On Thursday 21 November 2002 2:23 pm, Jean-Marc Lasgouttes wrote:
> > "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes:
>
> Angus> On Thursday 21 November 2002 12:09 pm, Dekel Tsur wrote:
> >> On Thu, Nov 21, 2002 at 11:25:49AM +, Angus Leeming wrote: > If
> >> you run lyx -dbg graphics, you'll find out where LyX is trying to
> >> copy > the file. No doubt you don't have write permissions set...
> >>
> >> Why does the graphics file is copied to the tempdir ?
>
> Angus> I gave up trying to understand some of Herbert's magic in
> Angus> insetgraphics a long, long time ago. In his defence, there was
> Angus> usually a reason...
>
> Yes, but now we have to somehow understand what it does in order to be
> able to sort out the bugs

Well, in this case the problem probably lies with the user as he's unable to 
copy into his tempdir.

As for the wider question of why do we copy the .eps file into the tempdir in 
the first place: I suspect that the answer is that hte logic is already 
extremely convoluted. Testing whether or not we should copy the original 
graphics file before performing any conversion operations and then 
ascertaining whether the file to be included is in the temp dir or bufferdir 
or some other location in order to set the latex path appropriately...

I think Herbert went for the option most likely to work all the time ;-)

Angus



Re: [Fwd: lyx utils]

2001-11-03 Thread Amir Karger

On Thu, Nov 01, 2001 at 10:44:46AM -0400, Garst R. Reese wrote:
 Herbert Voss wrote:
  
  do we want to create a http://www.lyx.org/help/hollywood.html
  with all the information and files?
  
  Herbert
 Hmm, I went to www.lyx.org and did not find /help so I tried
 www.lyx.org/help and lo and behold :) Very nice. Every LyX user should
 bookmark it. It would be nice to have the url on the LyX help menu.
 Having mention of hollywood in /help would, I think, be a plus. The
 python scripts are all fairly short.

This is great!

Any reason it's not linked from (a prominent place at) lyx.org?

-Amir



Re: [Fwd: lyx utils]

2001-11-03 Thread John Levon

On Sat, Nov 03, 2001 at 08:16:41PM -0500, Amir Karger wrote:

 Any reason it's not linked from (a prominent place at) lyx.org?

as Herbert said, it's not quite finished/ready yet.

regards
john

-- 
All this just amounts to more grist for the mill of the ill.
- Elizabeth Wurtzel



Re: [Fwd: lyx utils]

2001-11-03 Thread Amir Karger

On Thu, Nov 01, 2001 at 10:44:46AM -0400, Garst R. Reese wrote:
> Herbert Voss wrote:
>  
> > do we want to create a http://www.lyx.org/help/hollywood.html
> > with all the information and files?
> > 
> > Herbert
> Hmm, I went to www.lyx.org and did not find /help so I tried
> www.lyx.org/help and lo and behold :) Very nice. Every LyX user should
> bookmark it. It would be nice to have the url on the LyX help menu.
> Having mention of hollywood in /help would, I think, be a plus. The
> python scripts are all fairly short.

This is great!

Any reason it's not linked from (a prominent place at) lyx.org?

-Amir



  1   2   >