just an idea: the method QTextCharFormat::setFontKerning can enable/disable
kerning. Could that help?
bernhard
But if you want to avoid the warning you can use an unsigned for scanf and
do a type cast to int
Just a guess: Does unsignd int work with scanf?
ing your arguments in this thread
there seems to be a problem:
- TeXOnePar may jump by more than one par
- endpar is either paragraphs.end() or is given by the source view
if this is true then the condition par == endpar is wrong because your
earlier argument "... it can't go above paragraphs.end(), there's nothing
above" doesn't hold because there can be something above endpar.
bernhard
Pavel Sanda schrieb:
Bernhard Roider wrote:
Hello Abdel,
About a year ago i made a latex style + lyx layout file that do exactly
what you want to create a change log table. I extracted the relevant parts
and attached them together with a screen shot of lyx and the resulting pdf
file
Pavel Sanda schrieb:
Bernhard Roider wrote:
Hello Abdel,
About a year ago i made a latex style + lyx layout file that do exactly
what you want to create a change log table. I extracted the relevant parts
and attached them together with a screen shot of lyx and the resulting pdf
file
= 1;
return t;
}
void Bar() {
U u;
u.c1 = 0x12;
u.c2 = 0x34;
u.c3 = 0x56;
u.c4 = 0x78;
}
int main() {
T const& t = Foo();
std::cout << std::hex << t.x << std::endl;
Bar();
std::cout << std::hex << t.x << std::endl;
return 0;
}
Output is:
1
78563412
bernhard
Bernhard Roider schrieb:
Abdelrazak Younes schrieb:
Jean-Marc Lasgouttes a écrit :
Le 20 avr. 09 à 00:25, Jean-Marc Lasgouttes a écrit :
Le 19 avr. 09 à 23:13, Abdelrazak Younes a écrit :
+docstring const fls = flattenLabelString(it->first,
false, callers);
docstring co
Referenz auf lokale Variable »t« zurückgegeben
bernhard
Hi all,
it seems to me that this is a qt bug, the same as
http://bugs.kde.org/show_bug.cgi?id=174065
bernhard
Vincent van Ravesteijn schrieb:
Hi All,
I would like you to point to these two critical bugs:
http://bugzilla.lyx.org/show_bug.cgi?id=5820
http://bugzilla.lyx.org/show_bug.cgi?id
to_ucs4(text);
- reverse(stltext.begin(), stltext.end());
- QItemDelegate::drawDisplay(painter, option, rect,
toqstr(stltext));
+ QItemDelegate::drawDisplay(painter, option, rect, text);
}
bernhard
list box
- When inserting a word from the completion list then change the
language for the new inserted word to the associated one.
opinions?
bernhard
Dov Feldstern schrieb:
Bernhard Roider wrote:
Hello Stefan,
today i finally found some time to investigate the problem we
discussed at the beginning of march concerning the completion list:
rtl text does not work and icons are not displayed for math symbols.
Here is a patch that solves
08 um 21:08 schrieb Bernhard Roider:
Hello all,
as Stefan seems to be not available since a few weeks: could somebody
test this patch with newer qt versions (4.3, 4.4)? I have no
capacities to upgrade my version atm.
thanks
Bernhard
Bernhard Roider schrieb:
Hello Stefan,
today i finally
Hello all,
as Stefan seems to be not available since a few weeks: could somebody test this patch with newer qt
versions (4.3, 4.4)? I have no capacities to upgrade my version atm.
thanks
Bernhard
Bernhard Roider schrieb:
Hello Stefan,
today i finally found some time to investigate the
ons of qt.
Another issue: Here the destructor ~CompleterItemDelegate is never called. Do we have to delete it
manually?
bernhard
Index: src/frontends/qt4/GuiCompleter.cpp
===
--- src/frontends/qt4/GuiCompleter.cpp (revision 24
mewhere in the
preferences dialog? Opinions?
bernhard
Hello Richard,
i think this patch changed the error detection a bit, see below
bernhard
[EMAIL PROTECTED] schrieb:
- if (!readTypeOrKey(entryType, ifs, from_ascii("{("),
- docstring(), makeLowerCase) || !ifs)
+
exception is not caught and i start the
program from within visual studio i can immediately debug with a call stack in a separate window,
where i can click every line to jump to the code and inspect all the variables that are involved.
bernhard
Andre Poenitz schrieb:
On Fri, Mar 07, 2008 at 07:16:50PM -0500, rgheck wrote:
I've fixed the crash reported by Bernhard at r23549. But I'm still puzzled
about something. The crash is probably a consequence of my attempt to work
on Paragraph.cpp, but I'm not sure exactly what&
Uwe Stöhr schrieb:
Hello Bernhard,
could you please also add a description of bm.sty to the LaTeXConfig.lyx
I tried to open this document with current trunk and got a crash. The attached
patch avoids the
crash but someone familiar with InsetText.cpp should have a look at it.
bernhard
Uwe Stöhr schrieb:
Hello Bernhard,
could you please also add a description of bm.sty to the LaTeXConfig.lyx
I tried to open this document with current trunk and got a crash. The attached patch avoids the
crash but someone familiar with InsetText.cpp should have a look at it.
bernhard
Stefan Schimanski schrieb:
Am 03.03.2008 um 22:56 schrieb Bernhard Roider:
Stefan Schimanski schrieb:
Stefan
I tried to test the rtl completion but failed to do so - but i
have really _no_ experience with rtl. When exactly should the
items in the list show up rtl?
It should work the
Uwe Stöhr schrieb:
> following the suggestion from Martin in an earlier mail i have a
patch that adds support for \bm
> from bm.sty package to lyx.
Could you please open an enhancement report in bugzilla, to assure that
your patch won't be forgotten.
I'd rather put it in.
bernhard
yed - it should be hidden imho.
bernhard
after a word
which has a completion.
That's what i've tried already, but the item delegates do not seem to work at all here (see
screenshot). When should there be icons visible (PixmapItemDelegate)?
bernhard
<>
athBM::metricsT(TextMetricsInfo const & mi, Dimension & /*dim*/)
const
and therefore left it as it is in the boldsymbol counterpart.
I tried to adapt all build systems as well (but could test cmake and VC2005
only)
Comments are welcome.
Bernhard
Index: development/scons/scon
est.
Stefan
I tried to test the rtl completion but failed to do so - but i have really _no_ experience with rtl.
When exactly should the items in the list show up rtl?
Bernhard
ay not be sufficient if one popup is used for rtl _and_ ltr entries, because
then once rtl is set it would not be reset for ltr.
bernhard
.cpp(313) : error C2027: use of
undefined type 'lyx::BaseClassIndex'
D:\lyx\trunk\src\BufferParams.h(35) : see declaration of
'lyx::BaseClassIndex'
bernhard
etc instead of the owner/new/delete logic?
Andre'
you are right, allocation on the stack is really better here...
bernhard
That was the wrong patch... here's the correct one
bernhard
Index: src/Counters.cpp
=
Andre Poenitz schrieb:
On Sat, Feb 23, 2008 at 12:06:18AM +0100, Bernhard Roider wrote:
hello,
yesterday i played around with layout files and created the following
counter definition (ok, i didn't read the docs carefully enough)
Counter
Name MajorVe
o crash because of the recursion in the label string. The attached
patch catches the recursion and prints a warning message to the console.
ok to commit?
bernhard
Index: src/Counters.cpp
===
--- src/Counters.cpp(revision
er of adding the file
~/.forward
that contains a single line with your email address?
i tried that a while ago but it didn't work. maybe the access rights where not
set correct?
lars told me i should use ~/.procmailrc which works.
bernhard
(it's been so long since I did that, so I
to restrict the mailbox size per user?
bernhard
We should check on which addresses it is run. I suspect there is one
instance per mail address...
afaik spamd has fixed number of childs (here 3); so its just to change this
parameter in config.
pavel
Abdelrazak Younes schrieb:
rgheck wrote:
Stefan Schimanski wrote:
Am 26.01.2008 um 21:22 schrieb Bernhard Roider:
[EMAIL PROTECTED] schrieb:
Author: sts
Date: Sat Jan 26 01:47:22 2008
New Revision: 22675
URL: http://www.lyx.org/trac/changeset/22675
Log:
* fix random jumps when scrolling
[EMAIL PROTECTED] schrieb:
Author: sts
Date: Sat Jan 26 01:47:22 2008
New Revision: 22675
URL: http://www.lyx.org/trac/changeset/22675
Log:
* fix random jumps when scrolling very fast using a touchpad or mouse wheel.
Does this one apply to trunk also?
bernhard
Hello,
how difficult would it be to add support for the bm package (i.e. bold greek in math) and display it
correct when editing formulas?
bernhard
into one LFUN_INSERT_INSET?
"insert caption" instead of "caption-insert"
"insert footnote" instead of "footnote-insert"
etc
some of them are covered by inset-insert. try e.g.
inset-insert ert
inset-insert ert 0
inset-insert ert 1
inset-insert ert 2
...
bernhard
name of the toolbar image for the lfun is derived from (try to add the lfun
"command-sequence word-select; cut; ert-insert; self-insert \; paste; self-insert {}; inset-toggle;"
directly to a toolbar and assign an image to it!)
bernhard
Pavel Sanda schrieb:
Author: broider
Date: M
Am Freitag, den 28.12.2007, 10:18 +0100 schrieb Jürgen Spitzmüller:
> Looks good! However, you should introduce a new file format for this feature,
> since the nocite thing is already in use for some time.
ok, see attached.
Bernhard
Index: src/insets/InsetBibt
Added as an attachment to http://bugzilla.lyx.org/show_bug.cgi?id=994 :
> Re-uses the "Contents" combo box in the Bibtex dialog (currently only used for
> sectioned bibliographies using bibtopic).
Bernhard Reiter
Index: src/insets
> Bernhard Reiter wrote:
> > *ping*
>
> I'm sorry, I'm quite busy ATM.
>
> > Should I post it to bugzilla so it doesn't get lost?
>
> Yes, please. And try to get somebody else to look at it (and commit
> it). I'm
> fine with the patch
Am Donnerstag, den 13.12.2007, 21:08 +0100 schrieb Juergen Spitzmueller:
> Patch looks good from
> a first glance, but I don't have time to look closely ATM, unfortunately.
*ping* Should I post it to bugzilla so it doesn't get lost?
Bernhard
http://www.lyx.org/trac/changeset/22133 - broider- Correct func_type
for LFUN_MATH_INSERT
not relevant
bernhard
revious optimisations didn't update the styles when
biblio::BASIC_ENGINE (instead of natbib/jurabib) was used, as there was
only one citation style available in that case -- now with \nocite, it's
two.
> > Regarding a \nocite{*} option: what abou
TH_DISPLAY, "math-display", Noop, Math },
{ LFUN_MATH_INSERT, "math-insert", Noop, Edit },
{ LFUN_MATH_SUBSCRIPT, "math-subscript", Noop, Math },
{ LFUN_MATH_SUPERSCRIPT, "math-superscript", Noop, Math },
Bernhard
#x27;s interest, I'll also roll out a patch for 1.5.
Regarding a \nocite{*} option: what about enabling the "Contents" combo
in the BibTeX dialog also for non-sectioned bibliographies, just without
the "all uncited re
Jean-Marc Lasgouttes wrote
> Bernhard Reiter writes:
>
> > Under Gnome, files that are opened from within LyX (instead of e.g.
> > being opened from within Gnome's file manager by double-clicking them)
> > do not get listed in the "Recent files" menu. This
> It's activated if you enable "sectioned bibliographies". It's bibtopic
> \btprintall.
Thanks for enlightening me! What about adding a \nocite{*} (and maybe an
individual one) then?
Bernhard
be / am I missing something?
Bernhard
Christmas is approaching, so I guess it's wishlist time...
Have there been any efforts/ would it be reasonable/feasible to have
thumbnails for LyX documents that give some clue about their contents?
Bernhard
P.S. This is perhaps a good starting point (describes how OOo dealt with
the issue):
http://www.openoffice.org/issues/show_bug.cgi?id=75190
Bernhard
Am Mittwoch, den 05.12.2007, 22:25 +0100 schrieb Bernhard Reiter:
> Under Gnome, files that are opened from within LyX (instead of e.g.
>
Gnome...)
* Wait for something to happen regarding FDO standardization?
Any Gnome experts out there?
Bernhard
Am Montag, den 26.11.2007, 10:29 +0100 schrieb Jean-Marc Lasgouttes:
> Apply it, then.
Quoting Cletus (The Simpsons Movie): "I just can't!"
Lacking commit privileges. Maybe someone else "can".
Bernhard (Reiter, not Roider, for that matter)
ot of the most readable
> kind) for such a mundane task.
Agree, in principle. Still, I don't know if I could do it much more
lucidly just using qt's string functions.
> Also, the code does not get the case
>\\%comment
> right.
See attached; it now does get even number
That was a little misleading. To recap:
Currently, the character *before the percent sign* is incorrectly greyed
out. That's what my patch fixes. It still leaves the percent sign (and
comment) greyed out.
Bernhard Reiter
Am Freitag, den 23.11.2007, 13:17 +0100 schrieb Bernhard Reiter:
ATM, in the source view (eg in the preamble), the last character before
a comment (ie percent sign) is greyed out as if part of the comment. The
attached patch should fix this behavior.
Bernhard Reiter
Index: src/frontends/qt4/LaTeXHighlighter.cpp
http://www.lyx.org/trac/changeset/21542 - add missing case LyXRC::RC_DEFFILE
(and shut up compiler)
no: CmdDef is not in branch
this warning be enabled for
msvc?
bernhard
getting work done, then report it here, the idea being
that perhaps it can be addressed sooner rather than later.
i would say file a bug report at bugzilla and if it is significant then write a mail to the list
referring to the bug #.
bernhard
Jürgen Spitzmüller schrieb:
broider wrote:
+ else
+ added = addRow(grid, cellrow, docstring());
Is there a reason why you did this differently in branch and trunk?
Jürgen
no, i did this by accident. will correct it
bernhard
attached patch fixes
this particular crash for me, but it's rater a shot in the dark.
Does it make sense, André?
what about the attached patch?
bernhard
Index: src/mathed/MathParser.cpp
===
--- src/mathed/MathParse
Dov Feldstern schrieb:
Bernhard Roider wrote:
and bugzilla does not respond
i logged on with ssh and saw that there are many httpd tasks in
uninterruptible sleep mode
bernhard
Hurry up and download your own, personal copy of the lyx repository
while aussie is still alive!
the
and bugzilla does not respond
i logged on with ssh and saw that there are many httpd tasks in uninterruptible
sleep mode
bernhard
hello,
the attached patch fixes bug 4301:
in fact BufferView::moveToPosition(..) failed for every position inside an inset because
buffer_->text() was used instead of cursor_.text() to set the current font.
ok, jürgen?
bernhard
Index: src/BufferView.
a question i have concerning that
code: why does the compiler look at that code at all? it's commented out
with #if 0 ... #endif! i guess that (and the fact that msvc is quiet) is
the reason why i didn't have a closer look at it before.
bernhard
+ case RC_DEFFILE:
+
the
source code) lacks performance.
Without HAVE_ISTREAM and HAVE_OSTREAM the files std_istream.h and
std_ostream.h are obsolete.
CXX_GLOBAL_CSTD is also used in many places in the source code.
bernhard
[EMAIL PROTECTED] schrieb:
Author: poenitz
Date: Thu Aug 23 23:18:53 2007
New Revision: 19762
geset/21221). in branch the istreambuf_iterator
part of the code is executed (yes, on the same system where i build trunk!), so i added the binary
mode open also to this part of the code.
bernhard
Jean-Marc Lasgouttes schrieb:
Bernhard Roider <[EMAIL PROTECTED]> writes:
Juergen Spitzmueller schrieb:
3172 maj lyxsum doesn't work on Windows
(We need a Windows user for bug hunting)
fixed in trunk: http://www.lyx.org/trac/changeset/21211
The file must be opened in
after the fourth character in a png
file).
bernhard
Richard Heck schrieb:
Someone should check this out:
LyXFunc.cpp:2410: warning: enumeration value 'RC_DEFFILE' not handled in
switch
i think it's my fault. i'll have a look at it the next days.
bernhard
[EMAIL PROTECTED] schrieb:
Author: bpeng
Date: Sun Oct 21 03:26:32 2007
New Revision: 21094
URL: http://www.lyx.org/trac/changeset/21094
Log:
Fix scons and CmdDef.h for the introduction of CmdDef.
Thank you
bernhard
Modified:
lyx-devel/trunk/development/scons/scons_manifest.py
lyx
rule to make target `commands/default.cmd', needed by
`all-am'. Stop.
make[2]: Leaving directory `/data/lyx/release-dynamic/lib'
make[1]: *** [all-recursive] Error 1
Anybody any ideas? Bernhard?
should be fixed now
Andre'
[EMAIL PROTECTED] schrieb:
Author: poenitz
Date: Sat Oct 20 12:03:45 2007
New Revision: 21079
URL: http://www.lyx.org/trac/changeset/21079
Log:
mainly cosmetics
...guiref.cpp(383) : error C4716: 'lyx::frontend::GuiRef::bufferNum' :
must return a value
@@ -381,13 +380,6 @@
int GuiRef::bu
Georg Baum schrieb:
Bernhard Roider wrote:
Jürgen Spitzmüller schrieb:
Andre Poenitz wrote:
Has anybody _ever_ customized his icons?
Sure. All the time (I used icons from my KDE icon theme instead of the
ugly ones shipped with LyX).
Me too (well, not always KDE ones, but e.g. I used the
.
bernhard
as the subject says: this patch makes it possible again to cusomize the toolbars with user defined
images. if nobody objects i'll put it in tomorrow.
bernhard
Index: src/frontends/qt4/GuiToolbar.cpp
===
--- src/frontend
Jean-Marc Lasgouttes schrieb:
Bernhard Roider <[EMAIL PROTECTED]> writes:
- it is wrong to define that in binding files, since these definitions
are available to menus and toolbars too. I propose to move the
definitions to their own file.
ok, then should we create another director
Abdelrazak Younes schrieb:
Bernhard Roider wrote:
Andre Poenitz schrieb:
On Fri, Oct 05, 2007 at 12:24:45AM +0200, Bernhard Roider wrote:
hello all,
the attached patch adds
- the possibility to define macros in the bind file, like
\define "my macro" "command-sequence ins
hould we create another directory like "bind" or "ui"?
bernhard
ouch, that coding styles - i am mixing different styles from different
projects...
thanks abdel, i will rework it acordingly.
bernhard
Abdelrazak Younes schrieb:
Bernhard Roider wrote:
Andre Poenitz schrieb:
On Fri, Oct 05, 2007 at 12:24:45AM +0200, Bernhard Roider wrote:
hello all,
the
ake a look at tortoise svn settings
bernhard
Abdel.
Modified:
lyx-devel/trunk/src/frontends/qt4/LaTeXHighlighter.cpp
(contents, props changed)
lyx-devel/trunk/src/frontends/qt4/LaTeXHighlighter.h (props
changed)
Modified: lyx-devel/trunk/src/frontends/qt4/LaTeXHighlighter.cp
Andre Poenitz schrieb:
On Fri, Oct 05, 2007 at 12:24:45AM +0200, Bernhard Roider wrote:
hello all,
the attached patch adds
- the possibility to define macros in the bind file, like
\define "my macro" "command-sequence inset-insert ert 1; char-backward;
self-insert some impor
trunk\lyx-windows-deps-msvc-qt4\qt-4\bin;%PATH%
cmake ..\trunk\development\cmake -DWINDEPS=1
thus i was not able to test the patch in the latest trunk.
bernhard
Index: src/frontends/qt4/GuiToolbar.cpp
===
--- src/frontends/qt4/Gu
ect files are created, but the
projects controlers and frontend_qt fail to build because the pch files
are missing. Any suggestions?
bernhard
Original-Nachricht
> Datum: Fri, 5 Oct 2007 00:29:32 +0200
> Von: Andre Poenitz <[EMAIL PROTECTED]>
> An: Bernhard Roider <[EMAIL PROTECTED]>
> CC: lyx-devel@lists.lyx.org
> Betreff: Re: macros for commands
> On Fri, Oct 05, 2007 at 12:24:45A
the definition is done in one place and can be used as descriebed
above
+ it is possible to add complex commands (like the one above) to the toolbar with an image on the
button, because the image name used equals the macro name ("my macro.png" in the above example)
oppinions?
bernhard
Jürgen Spitzmüller schrieb:
Bernhard Roider wrote:
i am not familiar with the possible filenames, thus the question: do all
kinds of filenames that can appear in that output have an extension and
does that extension never contain digits?
As far as I understand it, yes. Basically, this should
Jürgen Spitzmüller schrieb:
Bernhard Roider wrote:
I did not test it, but i would suggest this regular expression:
+ static regex file_line_error("[^:]+:[0-9]+: (.+)");
I'm not sure. We have to be careful that no other construct matches this
regex. My version checks for
ere is one message per line this should be:
+ static regex file_line_error("^[^:]+:[0-9]+: (.+)$");
bernhard
ind of information for the user what is happening in this case, because if
there is a problem because of one template hides another one the user should be able to find a hint
about what's going on.
bernhard
[EMAIL PROTECTED] schrieb:
> http://bugzilla.lyx.org/show_bug.cgi?id=3974
>
>
>
>
>
> --- Additional Comments From [EMAIL PROTECTED] 2007-09-10 11:34 ---
> So, Bernhard, what shall we do with this? Postpone to 1.5.3?
>
>
When i posted the patch to the dev
[EMAIL PROTECTED] schrieb:
http://bugzilla.lyx.org/show_bug.cgi?id=3974
--- Additional Comments From [EMAIL PROTECTED] 2007-09-10 11:34 ---
So, Bernhard, what shall we do with this? Postpone to 1.5.3?
When i posted the patch to the devel-list there was this comment from JMarc
s generated by cmake and also had
problems the last days until found out that the solution file was renamed from lyx-qt4.sln to
lyx.sln. Thus anything i did with cmake changed the new file whereas i always opend the old one.
Bernhard
1. new document
2. insert a (figure) float
3. press the left cursor key twice (OR press the up key once)
4. press he right cursor key
Jürgen Spitzmüller schrieb:
Bernhard Roider wrote:
The behavior of lyx when it finds a user defined external template with the
same name as a system defined one should be clarified. So maybe we should
wait with that patch. The crash occures only in a really rare case (when
the user
Jürgen Spitzmüller schrieb:
3974 cri crash with user defined external templates
This will be fixed by a patch from Bernhard (that actually introduces an
enhancement). It can go in now, IMHO.
The behavior of lyx when it finds a user defined external template with the same name as a
program doesn't show all icons and compains about
an internal error. But maybe inkscape is to blame in that case.
bernhard
as the subject says - http://bugzilla.lyx.org/show_bug.cgi?id=688
bernhard
1 - 100 of 306 matches
Mail list logo