Re: Master regression example with emph and comment

2021-09-29 Thread Scott Kostyshak
On Sun, Sep 26, 2021 at 10:58:25AM +0200, Jean-Pierre Chrétien wrote:
> Le 25/09/2021 à 20:04, Scott Kostyshak a écrit :
> > The attached example compiles fine with 2.3.x. On master, the \emph is not 
> > closed after "regardless" as what happens on 2.3.x.
> 
> Right, the comment is encapsulated in the \emph command.
> 
> With 2.3.7, the command is closed all right before the comment, but there is
> still a harmless {} after the comment.

Bisect leads to:

commit 95fed10131ea2df99da3ec1d4ef736741167ea19
Author: Juergen Spitzmueller 
Date:   Wed Dec 2 14:31:26 2020 +0100

Exclude insets without output from fontswitch_insets

Scott


signature.asc
Description: PGP signature
-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel


Re: Magnification of pdf File Created by LYX

2021-09-29 Thread Paul A. Rubin

On 9/29/21 6:17 PM, Doug Martin wrote:



On Wed, Sep 29, 2021 at 1:24 PM Andrew Parsloe > wrote:


On 30/09/2021 9:03 am, Doug Martin wrote:

Rasmus,

Thanks for your quick response.
Of course one can do what you suggest, and I have done it.

But I do a lot of editing of LYX files and compiling to pdf
(many! times a day), and I want the pdf
file to be at 125% when I open it, and not have to scroll  to get
that.

I did find that there is a LaTeX \mag , e.g., \mag 1200 for
20% increase, but I haven't been
able to succeed using it by opening the LYX file and adding \mag
1200 (or whatever  turns
out to be needed), and saving it, whereupon I get an error.

This adjustment would seem to be something the the LaTeX to pdf
Conveter should control ???

Doug

On Wed, Sep 29, 2021 at 12:23 PM Rasmus K. Rendsvig
mailto:rends...@gmail.com>> wrote:

Dear Doug,

I am sorry if what you are describing is a more complex issue
then I what I hear it to be, but did you try changing the
zoom level in the pdf viewer itself?

Try e.g. pressing the Ctrl and the + keys simultaneously, or
holding Ctrl while scrolling up on your mouse wheel, or
clicking the field that says 56.7% and see if you can change
it there.

Kind regards,
Rasmus


On Wed, 29 Sep 2021, 18:07 Doug Martin, mailto:martinr...@gmail.com>> wrote:

My pdf files compiled from LYX always have 56.7%
magnification, no matter whether I use
different document classes such as Article versus svmono,
and I want them larger by default,
e.g., 125%. I have not found a solution in the User
Guide, and wonder if anyone can explain
how to do this?

Doug Martin

-- 
lyx-devel mailing list

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




-- 
R. Douglas Martin

Professor Emeritus in Applied Mathematics and Statistics
University of Washington


This sounds like a pdf viewer default setting. For instance in
SumatraPDF which I use, under Settings > Options I'm presented
with a small dialogue including the option Default zoom which not
only has things like Fit page, Fit width, Fit content, but a list
of default zoom levels (from 6400% down to 8.33%). For my aging
eyes I use 150% and that is what I get when I view (compile) a LyX
document.

Andrew


Andrew,

I had hoped some time ago that Acrobat Pro would do what your 
SumatraPDF does, but no such luck.
The settings are there in Acrobat Pro that promise to do it, but they 
don't work for a fresh pdf file.
I had pretty good support from Adobe on this problem about a year ago, 
and the only solution provided
was that I print the pdf file to Adobe pdf with settings that I use 
there.  Aside from this being a hassle to do a zillion times a day, it 
somehow removes the nice LYX created TOC from the pdf file.


FYI, I did a random sample of about 10 pdf files downloaded from 
different places, and most of them have large magnifications of about 
150 to 170, except for pdf files produced from LYX by colleagues and 
they seem to always be around 56% or so.


I also sent this problem to Springer tech support (for a book we are 
working on), which has been rather good, almost always providing a 
solution for our book LYX which is an svmono class.  I will forward to 
the list anything useful that I get from Springer.


Thanks,
Doug

-- 
lyx-devel mailing list

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




--
R. Douglas Martin
Professor Emeritus in Applied Mathematics and Statistics
University of Washington


Doug,

I don't have Acrobat Pro, just Acrobat Reader (an old version, on 
Linux), so I don't know if this will help. The zoom level at which a 
file should be opened is apparently a property of the file (in some 
cases) and, when present, will override the default zoom setting in 
Reader (and presumably in Acrobat Pro). In Reader, you can go to Edit > 
Preferences... > Accessibility, and in the "Override Page Display" area 
put a check in the box for "Always use Zoom Setting", which activates a 
select box where you can pick your preferred zoom level.


If that fails, another possibility is to specify it in the command line 
that opens the PDF file. With Acrobat Reader 9 on Linux, the command 
would be


acroread /a "zoom=150=OpenActions" 

and you could either create a script/batch file to open PDFs or, if the 
issue is mainly when viewing a PDF from LyX, you could go (in LyX) to 
Tools > Preferences... > File Handl

Re: Magnification of pdf File Created by LYX

2021-09-29 Thread Doug Martin
On Wed, Sep 29, 2021 at 1:24 PM Andrew Parsloe  wrote:

> On 30/09/2021 9:03 am, Doug Martin wrote:
>
> Rasmus,
>
> Thanks for your quick response.
> Of course one can do what you suggest, and I have done it.
>
> But I do a lot of editing of LYX files and compiling to pdf (many! times a
> day), and I want the pdf
> file to be at 125% when I open it, and not have to scroll  to get that.
>
> I did find that there is a LaTeX \mag , e.g., \mag 1200 for 20%
> increase, but I haven't been
> able to succeed using it by opening the LYX file and adding \mag 1200  (or
> whatever  turns
> out to be needed), and saving it, whereupon I get an error.
>
> This adjustment would seem to be something the the LaTeX to pdf Conveter
> should control ???
>
> Doug
>
> On Wed, Sep 29, 2021 at 12:23 PM Rasmus K. Rendsvig 
> wrote:
>
>> Dear Doug,
>>
>> I am sorry if what you are describing is a more complex issue then I what
>> I hear it to be, but did you try changing the zoom level in the pdf viewer
>> itself?
>>
>> Try e.g. pressing the Ctrl and the + keys simultaneously, or holding Ctrl
>> while scrolling up on your mouse wheel, or clicking the field that says
>> 56.7% and see if you can change it there.
>>
>> Kind regards,
>> Rasmus
>>
>>
>> On Wed, 29 Sep 2021, 18:07 Doug Martin,  wrote:
>>
>>> My pdf files compiled from LYX always have 56.7% magnification, no
>>> matter whether I use
>>> different document classes such as Article versus svmono, and I want
>>> them larger by default,
>>> e.g., 125%.  I have not found a solution in the User Guide, and wonder
>>> if anyone can explain
>>> how to do this?
>>>
>>> Doug Martin
>>>
>>> --
>>> lyx-devel mailing list
>>> lyx-devel@lists.lyx.org
>>> http://lists.lyx.org/mailman/listinfo/lyx-devel
>>>
>>
>
> --
> R. Douglas Martin
> Professor Emeritus in Applied Mathematics and Statistics
> University of Washington
>
> This sounds like a pdf viewer default setting. For instance in SumatraPDF
> which I use, under Settings > Options I'm presented with a small dialogue
> including the option Default zoom which not only has things like Fit page,
> Fit width, Fit content, but a list of default zoom levels (from 6400% down
> to 8.33%). For my aging eyes I use 150% and that is what I get when I view
> (compile) a LyX document.
>
> Andrew
>

Andrew,

I had hoped some time ago that Acrobat Pro would do what your SumatraPDF
does, but no such luck.
The settings are there in Acrobat Pro that promise to do it, but they don't
work for a fresh pdf file.
I had pretty good support from Adobe on this problem about a year ago, and
the only solution provided
was that I print the pdf file to Adobe pdf with settings that I use there.
Aside from this being a hassle to do a zillion times a day, it somehow
removes the nice LYX created TOC from the pdf file.

FYI, I did a random sample of about 10 pdf files downloaded from different
places, and most of them have large magnifications of about 150 to 170,
except for pdf files produced from LYX by colleagues and they seem to
always be around 56% or so.

I also sent this problem to Springer tech support (for a book we are
working on), which has been rather good, almost always providing a solution
for our book LYX which is an svmono class.  I will forward to the list
anything useful that I get from Springer.

Thanks,
Doug

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


-- 
R. Douglas Martin
Professor Emeritus in Applied Mathematics and Statistics
University of Washington
-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel


Re: Magnification of pdf File Created by LYX

2021-09-29 Thread Andrew Parsloe

On 30/09/2021 9:03 am, Doug Martin wrote:

Rasmus,

Thanks for your quick response.
Of course one can do what you suggest, and I have done it.

But I do a lot of editing of LYX files and compiling to pdf (many! 
times a day), and I want the pdf

file to be at 125% when I open it, and not have to scroll  to get that.

I did find that there is a LaTeX \mag , e.g., \mag 1200 for 20% 
increase, but I haven't been
able to succeed using it by opening the LYX file and adding \mag 1200  
(or whatever  turns

out to be needed), and saving it, whereupon I get an error.

This adjustment would seem to be something the the LaTeX to pdf 
Conveter should control ???


Doug

On Wed, Sep 29, 2021 at 12:23 PM Rasmus K. Rendsvig 
mailto:rends...@gmail.com>> wrote:


Dear Doug,

I am sorry if what you are describing is a more complex issue then
I what I hear it to be, but did you try changing the zoom level in
the pdf viewer itself?

Try e.g. pressing the Ctrl and the + keys simultaneously, or
holding Ctrl while scrolling up on your mouse wheel, or clicking
the field that says 56.7% and see if you can change it there.

Kind regards,
Rasmus


On Wed, 29 Sep 2021, 18:07 Doug Martin, mailto:martinr...@gmail.com>> wrote:

My pdf files compiled from LYX always have 56.7%
magnification, no matter whether I use
different document classes such as Article versus svmono, and
I want them larger by default,
e.g., 125%.  I have not found a solution in the User Guide,
and wonder if anyone can explain
how to do this?

Doug Martin

-- 
lyx-devel mailing list

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




--
R. Douglas Martin
Professor Emeritus in Applied Mathematics and Statistics
University of Washington


This sounds like a pdf viewer default setting. For instance in 
SumatraPDF which I use, under Settings > Options I'm presented with a 
small dialogue including the option Default zoom which not only has 
things like Fit page, Fit width, Fit content, but a list of default zoom 
levels (from 6400% down to 8.33%). For my aging eyes I use 150% and that 
is what I get when I view (compile) a LyX document.


Andrew

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


Re: Magnification of pdf File Created by LYX

2021-09-29 Thread Doug Martin
Rasmus,

Thanks for your quick response.
Of course one can do what you suggest, and I have done it.

But I do a lot of editing of LYX files and compiling to pdf (many! times a
day), and I want the pdf
file to be at 125% when I open it, and not have to scroll  to get that.

I did find that there is a LaTeX \mag , e.g., \mag 1200 for 20%
increase, but I haven't been
able to succeed using it by opening the LYX file and adding \mag 1200  (or
whatever  turns
out to be needed), and saving it, whereupon I get an error.

This adjustment would seem to be something the the LaTeX to pdf Conveter
should control ???

Doug

On Wed, Sep 29, 2021 at 12:23 PM Rasmus K. Rendsvig 
wrote:

> Dear Doug,
>
> I am sorry if what you are describing is a more complex issue then I what
> I hear it to be, but did you try changing the zoom level in the pdf viewer
> itself?
>
> Try e.g. pressing the Ctrl and the + keys simultaneously, or holding Ctrl
> while scrolling up on your mouse wheel, or clicking the field that says
> 56.7% and see if you can change it there.
>
> Kind regards,
> Rasmus
>
>
> On Wed, 29 Sep 2021, 18:07 Doug Martin,  wrote:
>
>> My pdf files compiled from LYX always have 56.7% magnification, no matter
>> whether I use
>> different document classes such as Article versus svmono, and I want them
>> larger by default,
>> e.g., 125%.  I have not found a solution in the User Guide, and wonder
>> if anyone can explain
>> how to do this?
>>
>> Doug Martin
>>
>> --
>> lyx-devel mailing list
>> lyx-devel@lists.lyx.org
>> http://lists.lyx.org/mailman/listinfo/lyx-devel
>>
>

-- 
R. Douglas Martin
Professor Emeritus in Applied Mathematics and Statistics
University of Washington
-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel


Re: Magnification of pdf File Created by LYX

2021-09-29 Thread Rasmus K. Rendsvig
Dear Doug,

I am sorry if what you are describing is a more complex issue then I what I
hear it to be, but did you try changing the zoom level in the pdf viewer
itself?

Try e.g. pressing the Ctrl and the + keys simultaneously, or holding Ctrl
while scrolling up on your mouse wheel, or clicking the field that says
56.7% and see if you can change it there.

Kind regards,
Rasmus


On Wed, 29 Sep 2021, 18:07 Doug Martin,  wrote:

> My pdf files compiled from LYX always have 56.7% magnification, no matter
> whether I use
> different document classes such as Article versus svmono, and I want them
> larger by default,
> e.g., 125%.  I have not found a solution in the User Guide, and wonder if
> anyone can explain
> how to do this?
>
> Doug Martin
>
> --
> lyx-devel mailing list
> lyx-devel@lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-devel
>
-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel


Re: [LyX/master] Cmake build: Fix the invalid test for '-Wno-deprecated-copy' flag

2021-09-29 Thread Kornel Benko
Am Wed, 29 Sep 2021 18:16:44 +0200
schrieb Jean-Marc Lasgouttes :

> Le 29/09/2021 à 17:32, Kornel Benko a écrit :
> > commit c26db650a1e93573e4c09d4612ad45ae1e219854
> > Author: Kornel Benko 
> > Date:   Wed Sep 29 17:53:50 2021 +0200
> > 
> >  Cmake build: Fix the invalid test for '-Wno-deprecated-copy' flag
> >  
> >  The original test was always successfull, even if the flag was invalid.
> >  But checking for '-Wdeprecated-copy' instead yields to error if the 
> > warning does
> > not exist. Existent warning for 'deprecated-copy' implies that 
> > 'no-deprecated-copy'
> > also exist.  
> 
> Excellent idea. I stole it.

:)

> JMarc

It was driving me crazy. The test looked correct, still there were warnings 
about
'unrecognized command line option'.

Kornel


pgpsV34Q6efMa.pgp
Description: Digitale Signatur von OpenPGP
-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel


Magnification of pdf File Created by LYX

2021-09-29 Thread Doug Martin
My pdf files compiled from LYX always have 56.7% magnification, no matter
whether I use
different document classes such as Article versus svmono, and I want them
larger by default,
e.g., 125%.  I have not found a solution in the User Guide, and wonder if
anyone can explain
how to do this?

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


Re: Patch review

2021-09-29 Thread Pavel Sanda
On Wed, Sep 29, 2021 at 01:01:42PM +0300, Yuriy Skalko wrote:
> >Older gcc will have problem:
> >
> >make[6]: Entering directory '/root/lyx/src/frontends/qt'
> >  CXX  ColorCache.o
> >  CXX  GuiBibtex.o
> >GuiBibtex.cpp: In member function 'void
> >lyx::frontend::GuiBibtex::setFileEncodings(const
> >std::__debug::vector,
> >std::allocator > >&)':
> >GuiBibtex.cpp:529:44: error: conversion from 'int' to 'Qt::MatchFlags {aka
> >QFlags}' is ambiguous
> >Qt::MatchExactly | Qt::MatchWrap);
> > ...
> >
> >Pavel
> 
> Thanks for testing, Pavel. I've had a suspicion to this part with bit
> operators. I've removed it in the updated patch.

Looks good to me now. Pavel
-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel


Re: Patch review

2021-09-29 Thread Yuriy Skalko

Older gcc will have problem:

make[6]: Entering directory '/root/lyx/src/frontends/qt'
  CXX  ColorCache.o
  CXX  GuiBibtex.o
GuiBibtex.cpp: In member function 'void 
lyx::frontend::GuiBibtex::setFileEncodings(const 
std::__debug::vector, 
std::allocator > >&)':
GuiBibtex.cpp:529:44: error: conversion from 'int' to 'Qt::MatchFlags {aka 
QFlags}' is ambiguous

Qt::MatchExactly | Qt::MatchWrap);

> ...


Pavel


Thanks for testing, Pavel. I've had a suspicion to this part with bit 
operators. I've removed it in the updated patch.




Besides the problems reported by Pavel (which I can reproduce even in C++17 
mode with gcc 5.5), I like the patch.
How confident are we that gcc is right when it says that 'T(foo)' is equivalent 
to 'foo' when foo is of type 'T'?

JMarc


I skipped messages related to `char_type` since that can be defined 
differently on different systems. The rest should be OK.



Yuriy
From 04db31562072528a5d5ae05a01b999a3026e208d Mon Sep 17 00:00:00 2001
From: Yuriy Skalko 
Date: Wed, 29 Sep 2021 12:49:21 +0300
Subject: [PATCH] Remove useless casts reported by GCC with -Wuseless-cast
 option

---
 src/BiblioInfo.cpp|  2 +-
 src/Buffer.cpp|  2 +-
 src/Converter.cpp |  2 +-
 src/LaTeX.cpp |  2 +-
 src/ParIterator.cpp   |  6 +++---
 src/frontends/qt/ColorCache.cpp   |  2 +-
 src/frontends/qt/GuiBox.cpp   |  2 +-
 src/frontends/qt/GuiDocument.cpp  |  6 +++---
 src/frontends/qt/GuiExternal.cpp  |  2 +-
 src/frontends/qt/GuiMathMatrix.cpp|  4 ++--
 src/frontends/qt/GuiPrefs.cpp |  2 +-
 src/frontends/qt/GuiSendto.cpp|  2 +-
 src/frontends/qt/GuiView.cpp  |  4 ++--
 src/frontends/qt/Menus.cpp|  6 ++
 src/insets/InsetGraphics.cpp  |  2 +-
 src/insets/InsetIPAMacro.cpp  |  4 ++--
 src/insets/InsetTabular.cpp   | 16 
 src/mathed/InsetMathMacroTemplate.cpp |  2 +-
 18 files changed, 33 insertions(+), 35 deletions(-)

diff --git a/src/BiblioInfo.cpp b/src/BiblioInfo.cpp
index 85c3e884d9..638579a752 100644
--- a/src/BiblioInfo.cpp
+++ b/src/BiblioInfo.cpp
@@ -1402,7 +1402,7 @@ docstring const BiblioInfo::getInfo(docstring const & key,
 {
BiblioInfo::const_iterator it = find(key);
if (it == end())
-   return docstring(_("Bibliography entry not found!"));
+   return _("Bibliography entry not found!");
BibTeXInfo const & data = it->second;
BibTeXInfoList xrefptrs;
for (docstring const & xref : getXRefs(data)) {
diff --git a/src/Buffer.cpp b/src/Buffer.cpp
index b2aaf18535..99d844b615 100644
--- a/src/Buffer.cpp
+++ b/src/Buffer.cpp
@@ -3825,7 +3825,7 @@ void Buffer::Impl::updateMacros(DocIterator & it, 
DocIterator & scope)
// FIXME (Abdel), I don't understand why we pass 'it' 
here
// instead of 'macroTemplate' defined above... is this 
correct?
macros[macroTemplate.name()][it] =
-   Impl::ScopeMacro(scope, 
MacroData(const_cast(owner_), it));
+   Impl::ScopeMacro(scope, MacroData(owner_, it));
}
 
// next paragraph
diff --git a/src/Converter.cpp b/src/Converter.cpp
index b4340c8f52..4e9a2ad426 100644
--- a/src/Converter.cpp
+++ b/src/Converter.cpp
@@ -853,7 +853,7 @@ Converters::RetVal Converters::runLaTeX(Buffer const & 
buffer, string const & co
 
// do the LaTeX run(s)
string const name = buffer.latexName();
-   LaTeX latex(command, runparams, FileName(makeAbsPath(name)),
+   LaTeX latex(command, runparams, makeAbsPath(name),
buffer.filePath(), buffer.layoutPos(),
buffer.isClone(), buffer.freshStartRequired());
TeXErrors terr;
diff --git a/src/LaTeX.cpp b/src/LaTeX.cpp
index 6e7fe921b8..a8d14b1f74 100644
--- a/src/LaTeX.cpp
+++ b/src/LaTeX.cpp
@@ -795,7 +795,7 @@ int LaTeX::scanLogFile(TeXErrors & terr)
string tmp =
onlyFileName(changeExtension(file.absFileName(), ".log"));
LYXERR(Debug::LATEX, "Log file: " << tmp);
-   FileName const fn = FileName(makeAbsPath(tmp));
+   FileName const fn = makeAbsPath(tmp);
// FIXME we should use an ifdocstream here and a docstring for token
// below. The encoding of the log file depends on the _output_ (font)
// encoding of the TeX file (T1, TU etc.). See #10728.
diff --git a/src/ParIterator.cpp b/src/ParIterator.cpp
index 7289889360..10de5f312d 100644
--- a/src/ParIterator.cpp
+++ b/src/ParIterator.cpp
@@ -69,7 +69,7 @@ ParIterator & ParIterator::operator--()
 
 Paragraph & ParIterator::operator*() const
 {
-   return const_cast(text()->getPar(pit()));
+   return text()->getPar(pit());
 }
 
 
@@ -81,7 +81,7 @@ pit_type ParIterator::pit() const
 
 Paragraph * ParIterator::operator->

Re: Patch review

2021-09-29 Thread Jean-Marc Lasgouttes

Le 28/09/2021 à 20:38, Yuriy Skalko a écrit :

Hi all,

I've recently compiled LyX with latest version of GCC and used several 
useful diagnostic options. Two simpler patches are already committed, 
but the third one is bigger and worth additional checkup -- it is in 
attachment.


Besides the problems reported by Pavel (which I can reproduce even in 
C++17 mode with gcc 5.5), I like the patch.


How confident are we that gcc is right when it says that 'T(foo)' is 
equivalent to 'foo' when foo is of type 'T'?


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


Re: Patch review

2021-09-29 Thread Pavel Sanda
On Tue, Sep 28, 2021 at 09:38:39PM +0300, Yuriy Skalko wrote:
> Hi all,
> 
> I've recently compiled LyX with latest version of GCC and used several
> useful diagnostic options. Two simpler patches are already committed, but
> the third one is bigger and worth additional checkup -- it is in attachment.

Older gcc will have problem:

make[6]: Entering directory '/root/lyx/src/frontends/qt'
  CXX  ColorCache.o
  CXX  GuiBibtex.o
GuiBibtex.cpp: In member function 'void 
lyx::frontend::GuiBibtex::setFileEncodings(const 
std::__debug::vector, 
std::allocator > >&)':
GuiBibtex.cpp:529:44: error: conversion from 'int' to 'Qt::MatchFlags {aka 
QFlags}' is ambiguous
Qt::MatchExactly | Qt::MatchWrap);
^
GuiBibtex.cpp:529:44: note: candidates are:
In file included from /usr/include/qt4/QtCore/qchar.h:45:0,
 from /usr/include/qt4/QtCore/qstring.h:45,
 from /usr/include/qt4/QtCore/QString:1,
 from Dialog.h:21,
 from GuiDialog.h:15,
 from GuiBibtex.h:16,
 from GuiBibtex.cpp:16:
/usr/include/qt4/QtCore/qglobal.h:2436:29: note: constexpr 
QFlags::QFlags(QFlags::Zero) [with Enum = Qt::MatchFlag; 
QFlags::Zero = void**] 
 Q_DECL_CONSTEXPR inline QFlags(Zero = 0) : i(0) {}
 ^
/usr/include/qt4/QtCore/qglobal.h:2436:29: note:   no known conversion for 
argument 1 from 'int' to 'QFlags::Zero {aka void**}'
/usr/include/qt4/QtCore/qglobal.h:2435:29: note: constexpr 
QFlags::QFlags(Enum) [with Enum = Qt::MatchFlag] 
 Q_DECL_CONSTEXPR inline QFlags(Enum f) : i(f) {}
 ^
/usr/include/qt4/QtCore/qglobal.h:2435:29: note:   no known conversion for 
argument 1 from 'int' to 'Qt::MatchFlag'
In file included from /usr/include/qt4/QtGui/qstyleoption.h:56:0,
 from /usr/include/qt4/QtGui/qabstractitemdelegate.h:46,
 from /usr/include/qt4/QtGui/qcombobox.h:46,
 from /usr/include/qt4/QtGui/QComboBox:1,
 from ui_BibtexUi.h:17,
 from GuiBibtex.h:19,
 from GuiBibtex.cpp:16:
/usr/include/qt4/QtCore/qabstractitemmodel.h:218:29: note: initializing 
argument 5 of 'virtual QModelIndexList QAbstractItemModel::match(const 
QModelIndex&, int, const QVariant&, int, Qt::MatchFlags) const'
 virtual QModelIndexList match(const QModelIndex &start, int role,
 ^
At global scope:
cc1plus: warning: unrecognized command line option "-Wno-deprecated-copy"
Makefile:938: recipe for target 'GuiBibtex.o' failed
make[6]: *** [GuiBibtex.o] Error 1

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