In the lyx-users list is it often asked how to suppress the default date. The
solution is simply to add
\date{}
to the preamble.
The attached patch adds a document option to do this. When the user sets this option, he still can
later overwrite this be specifying a date, because the option is onl
Pavel Sanda wrote:
> after some thinking i came to simpler draft:
> lets use and manage index files, deletion policy etc. regardless
> the state of the settings (cache enabled/disabled).
> the only things which could be really disabled would be find & add
> routines.
> opinions?
even with this i s
Pavel Sanda wrote:
> i started to fix the original report but as i went in more and more
> problems appear and 'proper' fix will need major review od converter
> cache code. partial fix is oneliner.
after some thinking i came to simpler draft:
lets use and manage index files, deletion policy etc.
> a case which implies many problems - for example we rewrite the
> old index file
this is not exact, since the new index file will be saved in the
current dir and cached files probably too...
pavel
> \providecommand has uses, of course, and this could be one of them, but it
> should not be used indiscriminately. However, if users feel the need to
> change that color, maybe the right thing to do is making it configurable,
> in a way or another,
For this case we already have an enhancement re
David Raymond wrote:
Content-Description: message body text
>
> Yes, apparently every time. I am running on Debian Linux (Lenny)
> if that helps. Maybe it is something in my preferences, which I
> attach.
>
> Dave
now i know whats happening. the file is comming from converter cache.
the fix of
On Thu, Aug 13, 2009 at 02:04:09AM +0200, Uwe Stöhr wrote:
> > With \providecommand an old macro definition remains in effect, even if
> > it is defined differently.
>
> This is the intention. Users for example often complained that the grey value
> for greyed-out notes is too light. So when a
Vincent van Ravesteijn wrote:
> ... but then I started fixing other bugs again :(..
not that i'm sad about it :)
pavel
> With \providecommand an old macro definition remains in effect, even if
> it is defined differently.
This is the intention. Users for example often complained that the grey value for greyed-out notes
is too light. So when a user changed the definition to get another color don't overwrite this
Pavel Sanda schreef:
Abdelrazak Younes wrote:
Pavel, you seem the obvious and perfect candidate for the charstyle
project. More than 600 euros for you if you're interested :-)
to make layout editor is the whole project, moreover i have better
things to spend my lyx time on. sorry ;)
Abdelrazak Younes wrote:
> Pavel, you seem the obvious and perfect candidate for the charstyle
> project. More than 600 euros for you if you're interested :-)
to make layout editor is the whole project, moreover i have better
things to spend my lyx time on. sorry ;)
btw i saw we reached the don
On Thu, Aug 13, 2009 at 12:27:17AM +0200, Uwe Stöhr wrote:
> The attached patch switches from \newcommand to \providecommand for all
> LyX-specific command definitions. (For some efinitons we already use
> \providecomand.) It turned out that \newcommand definition could break
> TeX-LyX roundtrips
Vincent van Ravesteijn wrote:
> This adds a context menu option to reload a graphic object.
i'm very happy you dug out it :)
> bool CacheItem::Impl::tryDisplayFormat(FileName & filename, string & from)
> {
> // First, check that the file exists!
> + // force a refresh.
> + filenam
> objections?
none, I think it is safe since you only insert an existing mathed inset.
regards Uwe
On 08/12/2009 03:36 PM, Pavel Sanda wrote:
Richard Heck wrote:
I've thought about this, too, but don't know how to implement it. I'm not
a
GUI guy. But it would be nice to have some concept of "category" with
modules, and then they could be grouped together as such.
actually i wa
> This adds a context menu option to reload a graphic object.
I recently stumbled over this problematic too.
Your solution looks very clean and straightforward, so fine with me.
regards Uwe
The attached patch switches from \newcommand to \providecommand for all LyX-specific command
definitions. (For some efinitons we already use \providecomand.)
It turned out that \newcommand definition could break TeX-LyX roundtrips when the user modifies the
TeX file, see the recent tex2lyx discu
This adds a context menu option to reload a graphic object.
This is necessary when you add a graphic to a file that does not yet
exist and becomes available later. Then you need some way of retrying to
convert the image.
.. and in other cases the cache stores an old graphic, or when the
conv
rgheck schreef:
I meant on buffer hiding. If I hide a dirty buffer with this new
patch, LyX
just hides it without asking me if I want to save it.
Yes, that is right. The new patch doesn't try to ask about that:
Vincent didn't like where I was doing it, and I can't see any other
place;
David Raymond schreef:
Yes, apparently every time. I am running on Debian Linux (Lenny)
if that helps. Maybe it is something in my preferences, which I
attach
The index file is usually in the cache directory, but you have disabled
the caching:
\use_converter_cache false
... what if you turn
Yes, apparently every time. I am running on Debian Linux (Lenny)
if that helps. Maybe it is something in my preferences, which I
attach.
Dave
preferences
Description: Binary data
Pavel Sanda writes:
> David Raymond wrote:
> >
> > If you launch lyx, create and save the simplest lyx file
On 12/08/2009 21:36, Pavel Sanda wrote:
Richard Heck wrote:
I've thought about this, too, but don't know how to implement it. I'm not
a
GUI guy. But it would be nice to have some concept of "category" with
modules, and then they could be grouped together as such.
actually i was t
On 12/08/2009 21:27, Steve Litt wrote:
On Wednesday 12 August 2009 12:44:02 Abdelrazak Younes wrote:
Steve Litt wrote:
On Wednesday 12 August 2009 04:01:16 Abdelrazak Younes wrote:
Hello,
I've been asked privately by a generous anonymous donator how hard would
it be to offer
@@ -1983,17 +1992,6 @@
It looks as if that code has simply disappeared?
rh
Yes, that code was duplicated. [znip]
I meant the stuff about sessions, etc.
rh
Yes, that code was duplicated.
if (buffer_is_clean) {
do_session_stuff;
close;
else {
save;
do_session_stuff;
close;
}
and I
On 08/12/2009 03:37 PM, Vincent van Ravesteijn wrote:
rgheck schreef:
case 2:
return false;
}
-
-// save file names to .lyx/session
-if (tolastopened)
-theSession().lastOpened().add(buf.fileName(), mark_active);
-
-if (buf.parent())
-// Don't clo
rgheck schreef:
On 08/12/2009 02:50 PM, v...@lyx.org wrote:
Author: vfr
Date: Wed Aug 12 20:50:09 2009
New Revision: 30992
URL: http://www.lyx.org/trac/changeset/30992
Log:
Dissect closeBuffer() and saveBufferIfNeeded().
One question
Modified: lyx-devel/trunk/src/frontends/qt4/GuiVi
Richard Heck wrote:
>>> I've thought about this, too, but don't know how to implement it. I'm not
>>> a
>>> GUI guy. But it would be nice to have some concept of "category" with
>>> modules, and then they could be grouped together as such.
>>>
>>
>> actually i was thinking about the same. on
On Wednesday 12 August 2009 12:44:02 Abdelrazak Younes wrote:
> Steve Litt wrote:
> > On Wednesday 12 August 2009 04:01:16 Abdelrazak Younes wrote:
> >> Hello,
> >>
> >> I've been asked privately by a generous anonymous donator how hard would
> >> it be to offer an easy way to select a text and to
On 08/12/2009 02:50 PM, v...@lyx.org wrote:
Author: vfr
Date: Wed Aug 12 20:50:09 2009
New Revision: 30992
URL: http://www.lyx.org/trac/changeset/30992
Log:
Dissect closeBuffer() and saveBufferIfNeeded().
One question
Modified: lyx-devel/trunk/src/frontends/qt4/GuiView.cpp
==
On 08/12/2009 03:17 PM, Pavel Sanda wrote:
Richard Heck wrote:
I've thought about this, too, but don't know how to implement it. I'm not a
GUI guy. But it would be nice to have some concept of "category" with
modules, and then they could be grouped together as such.
actually i was th
Richard Heck wrote:
> I've thought about this, too, but don't know how to implement it. I'm not a
> GUI guy. But it would be nice to have some concept of "category" with
> modules, and then they could be grouped together as such.
actually i was thinking about the same. once we have more modules
rgheck schreef:
On 08/12/2009 12:54 PM, Jürgen Spitzmüller wrote:
rgheck wrote:
All of this is a still reason to wish we could do this somewhere else.
Maybe one way to do it would be in GuiView::closeEvent(). Here, we
could
check whether we are closing the last view. If so, then we can che
On 08/12/2009 12:54 PM, Jürgen Spitzmüller wrote:
rgheck wrote:
All of this is a still reason to wish we could do this somewhere else.
Maybe one way to do it would be in GuiView::closeEvent(). Here, we could
check whether we are closing the last view. If so, then we can check
whatever docume
rgheck wrote:
> All of this is a still reason to wish we could do this somewhere else.
> Maybe one way to do it would be in GuiView::closeEvent(). Here, we could
> check whether we are closing the last view. If so, then we can check
> whatever documents are still open, and do something appropriate.
Steve Litt wrote:
On Wednesday 12 August 2009 04:01:16 Abdelrazak Younes wrote:
Hello,
I've been asked privately by a generous anonymous donator how hard would
it be to offer an easy way to select a text and to highlight it with a
given color background or font.
My idea would be create a Ch
On 08/12/2009 11:56 AM, Jürgen Spitzmüller wrote:
One remaining glitch: If the dirty buffer is a new document, the method should
bring up a dialog to enter a proper file name. Now it just saves the
newfileX.lyx, which is not very obvious (I first thought the document was
lost).
I'm not sure
rgheck wrote:
> Yes, that is right. The new patch doesn't try to ask about that: Vincent
> didn't like where I was doing it, and I can't see any other place; there
> were Pavel's worries; etc. So this one just asks when the Buffer itself
> is destroyed.
I see. Then I misread your description of th
On Wednesday 12 August 2009 04:01:16 Abdelrazak Younes wrote:
> Hello,
>
> I've been asked privately by a generous anonymous donator how hard would
> it be to offer an easy way to select a text and to highlight it with a
> given color background or font.
>
> My idea would be create a Char-style lay
On 08/12/2009 11:25 AM, Paul A. Rubin wrote:
rgheck wrote:
On 08/12/2009 05:05 AM, Pavel Sanda wrote:
hi,
i just finished one module to fix dropped capitals enh request
http://www.lyx.org/trac/ticket/2536.
my question is - should we put in our tree modules for each such
feature or should we
On 08/12/2009 11:11 AM, Jürgen Spitzmüller wrote:
rgheck wrote:
With this, I don't get ask anymore if I want to die a dirty buffer.
Sorry, I don't understand. If I open LyX, type a few characters, and
choose "Close" or "Quit", I get asked as usual about closing.
I meant on
rgheck wrote:
On 08/12/2009 05:05 AM, Pavel Sanda wrote:
hi,
i just finished one module to fix dropped capitals enh request
http://www.lyx.org/trac/ticket/2536.
my question is - should we put in our tree modules for each such
feature or should we group them
into bigger aggregates, like "Char
rgheck wrote:
> > With this, I don't get ask anymore if I want to die a dirty buffer.
> >
> >
>
> Sorry, I don't understand. If I open LyX, type a few characters, and
> choose "Close" or "Quit", I get asked as usual about closing.
I meant on buffer hiding. If I hide a dirty buffer with this ne
On 08/12/2009 10:56 AM, Abdelrazak Younes wrote:
rgheck wrote:
On 08/12/2009 04:11 AM, Abdelrazak Younes wrote:
Instead of switching the unsaved buffer one by one, what about
offering a dialog listing all the unsaved file with a checkbox and a
save button? The dialog would also have three butt
rgheck wrote:
On 08/12/2009 04:11 AM, Abdelrazak Younes wrote:
Instead of switching the unsaved buffer one by one, what about
offering a dialog listing all the unsaved file with a checkbox and a
save button? The dialog would also have three button: "Discard all
and exit", "Save all and exit",
On 08/12/2009 04:11 AM, Abdelrazak Younes wrote:
Instead of switching the unsaved buffer one by one, what about
offering a dialog listing all the unsaved file with a checkbox and a
save button? The dialog would also have three button: "Discard all and
exit", "Save all and exit", "Cancel exit".
On 08/12/2009 02:14 AM, Jürgen Spitzmüller wrote:
rgheck wrote:
So try the attached. The only change from before is the one line in
GuiView.cpp, which marks the Buffer clean if the user says she wants to
discard changes. It's clean in the sense that it doesn't need to be
saved. That way we d
On Wed, Aug 12, 2009 at 11:00:07AM +0200, Vincent van Ravesteijn - TNW wrote:
> >> Please tell me if there are further issues to be considered.
> >
> >If you close Windows Vista, LyX won't ask you to save dirty buffers
> >(dataloss).
>
> I couldn't solve it. For some reason, I don't get the WM_QU
On 08/12/2009 05:05 AM, Pavel Sanda wrote:
hi,
i just finished one module to fix dropped capitals enh request
http://www.lyx.org/trac/ticket/2536.
my question is - should we put in our tree modules for each such feature or
should we group them
into bigger aggregates, like "Character styles" mo
On 08/12/2009 04:37 AM, Jürgen Spitzmüller wrote:
Abdelrazak Younes wrote:
My idea would be create a Char-style layout editor and to give access
via a toolbar combo to the different char-styles avalaible. Right-now
the supported char-style are not well known and that's a pity. We need
to imp
Jürgen Spitzmüller wrote:
Abdelrazak Younes wrote:
This looks safer:
+ if (!view() || view()->buffer()->isReadonly() ||
view()->cursor().inMathed())
The context of the condition is
if (!buf)
[...]
[...]
else if (name == "symbols") {
i
Abdelrazak Younes wrote:
> This looks safer:
>
> + if (!view() || view()->buffer()->isReadonly() ||
> view()->cursor().inMathed())
The context of the condition is
if (!buf)
[...]
[...]
else if (name == "symbols") {
if (buf->isReadonly() || !view()
Jürgen Spitzmüller wrote:
John McCabe-Dansted wrote:
Sample output of four new bugs occuring at the latest branch r30978 is at:
http://gmatht.homelinux.net/xp/out/html4/indexreport.html
The GuiSymbols crashes (which I cannot reproduce) are the result of the fact
that you can access
John McCabe-Dansted wrote:
> Sample output of four new bugs occuring at the latest branch r30978 is at:
> http://gmatht.homelinux.net/xp/out/html4/indexreport.html
The GuiSymbols crashes (which I cannot reproduce) are the result of the fact
that you can access the Symbols dialog with read-only
hi,
i would like to put the patch originally written by Georg into the trunk,
see http://www.lyx.org/trac/ticket/2045. as stated in the bug there are
some issue (which i didnt reproduce now), but anyway its with this fix
better than the current state.
objections?
pavel
diff --git a/src/mathed/In
hi,
i just finished one module to fix dropped capitals enh request
http://www.lyx.org/trac/ticket/2536.
my question is - should we put in our tree modules for each such feature or
should we group them
into bigger aggregates, like "Character styles" module?
pavel
#\DeclareLyXModule{Dropped Capit
>> Please tell me if there are further issues to be considered.
>
>If you close Windows Vista, LyX won't ask you to save dirty buffers (dataloss).
I couldn't solve it. For some reason, I don't get the WM_QUERYENDSESSION and
WM_ENDSESSION messages from Windows.
QtDesigner does get them :S..
Vi
Abdelrazak Younes wrote:
> My idea would be create a Char-style layout editor and to give access
> via a toolbar combo to the different char-styles avalaible. Right-now
> the supported char-style are not well known and that's a pity. We need
> to improve the discoverability of the feature.
I think
>> Sample output of four new bugs occuring at the latest
>> branch r30978 is at:
>> http://gmatht.homelinux.net/xp/out/html4/indexreport.html
>
>as usual bug reports are best in trac with links to your page,
>secondly you can send new code for keylogger and i'll commit
>it to the tree.
Please, o
John McCabe-Dansted wrote:
> I have modified keytest to give one screenshot per key press. I think
> this makes the screenshots actually useful as this can make it clear
> what the keycodes are actually meant to be doing.
btw in your reports i always see unworking images links like
http://gmatht.h
rgheck wrote:
On 08/11/2009 12:21 PM, Jürgen Spitzmüller wrote:
If you add Pavel's valid concerns about multiple views to this, I
think theonly way to go now is your second approach: check for dirty
hidden buffers on exit. I agree that this is sub-optimal, but
everything else strikes me pretty
Hello,
I've been asked privately by a generous anonymous donator how hard would
it be to offer an easy way to select a text and to highlight it with a
given color background or font.
My idea would be create a Char-style layout editor and to give access
via a toolbar combo to the different ch
David Raymond wrote:
>
> If you launch lyx, create and save the simplest lyx file, and then
> exit, the index file is created. (No exports, no viewing.) The index
> file has zero length, so it has no content.
i just found the empty "index" file in my home directory. unfortunately
your recipe do
Jan Miedzik wrote:
> LyX version 1.6.3 (Wed., June 3, 2009
> on Debian 5.0.2
> Kernel Linux 2.6.26-1-amd64
> with GNOME 2.22.3
qt version? do you use images? do you scale them on 50%? :)
pavel
LyX version 1.6.3 (Wed., June 3, 2009
on Debian 5.0.2
Kernel Linux 2.6.26-1-amd64
with GNOME 2.22.3
Sometimes when I use LyX it closes after opening a file with no reasons.
This happens few times in a row and then it works normally.
The report on console produced by LyX :
lyx: SIGSEGV signal caug
64 matches
Mail list logo