Re: #10637: Math mode characters strange / wrong in Linux Mint (not windows)

2017-07-10 Thread Jack Sankey
I will note that I've now seen references to "lyx-fonts" and "fonts-lyx" in
this thread. Perhaps it is "fonts-lyx" on ubuntu, which is why it works?

On Mon, Jul 10, 2017 at 2:40 PM, LyX Ticket Tracker  wrote:

> #10637: Math mode characters strange / wrong in Linux Mint (not windows)
> --+-
>  Reporter:  jaxankey  |   Owner:  lasgouttes
>  Type:  defect|  Status:  new
>  Priority:  normal|   Milestone:
> Component:  font  | Version:  2.2.2
>  Severity:  normal|  Resolution:
>  Keywords:|
> --+-
>
> Comment (by prubin):
>
>  I dug a bit deeper and discovered the following. In Synaptic, if I search
>  for "lyx" in installed packages, I get three hits on my PC (where mathed
>  display works): lyx, lyx-common and fonts-lyx. On the laptop, the same
>  search finds lyx, lyx-common and xfonts-mathml. That last one mentions
>  that "[y]ou will also need ... and fonts-lyx (TeX's Computer Modern fonts)
>  to view MathML properly" (hence the hit in the search). I don't have
>  xfonts-mathml on the PC, and I have no recollection of why I installed it
>  on the laptop.
>
>  Installing fonts-lyx on the laptop fixed the display problem there. I
>  really have no idea why it wasn't installed from Liv's PPA along with the
>  rest of LyX 2.2.3.
>
> --
> Ticket URL: 
> The LyX Project 
> LyX -- The Document Processor
>


Re: #10637: Math mode characters strange / wrong in Linux Mint (not windows)

2017-07-10 Thread Paul A. Rubin

On 07/10/2017 03:21 AM, Kornel Benko wrote:

Am Montag, 10. Juli 2017 um 08:46:58, schrieb Pavel Sanda 

Scott Kostyshak wrote:

I actually forgot what this thread is about, but from your recent
message, it makes me think this is a packaging issue. You might want to
contact the Debian or Ubuntu or Mint packagers (it depends on which

I just checked that lyx-fonts is recommended pkg on Debian/Ubuntu
(ie installed by default). So it might be Mint issue.
P

Maybe. OTOH Mint is based on Ubuntu. And the package 'fonts-lyx' (Mint 17.3) is 
present.

Kornel
I just updated the ticket. (I'm not the original reporter, but I was 
able to reproduce the problem on my Mint laptop.) It turned out that 
fonts-lyx was /not/ present on the laptop, and adding it fixed the 
issue. It would be useful to know if the OP had fonts-lyx installed. 
I've never had the problem on my desktop (also Mint), so I don't think 
it's a Mint issue.


Paul



Re: error to compile lyx-2.2.3

2017-07-10 Thread Felipe Formiga

Hi LMarc

Sorry about my delay.

Thank you very much for your help.
I have tried your suggestion. Now, after "make" commando, a got this 
message:


---
In file included from /usr/include/QtCore/QThreadStorage:1,
 from sgml.cpp:31:
/usr/include/QtCore/qthreadstorage.h: In static member function ‘static 
void QThreadStorage::deleteData(void*) [with T = 
std::map, 
std::allocator >, std::basic_stringstd::char_traits, std::allocator >, 
std::less, 
std::allocator > >, std::allocatorstd::basic_string, 
std::allocator >, std::basic_stringstd::char_traits, std::allocator > > > >]’:
/usr/include/QtCore/qthreadstorage.h:136:   instantiated from 
‘QThreadStorage::QThreadStorage() [with T = 
std::map, 
std::allocator >, std::basic_stringstd::char_traits, std::allocator >, 
std::less, 
std::allocator > >, std::allocatorstd::basic_string, 
std::allocator >, std::basic_stringstd::char_traits, std::allocator > > > >]’

sgml.cpp:140:   instantiated from here
/usr/include/QtCore/qthreadstorage.h:133: error: no matching function 
for call to ‘std::mapstd::char_traits, std::allocator >, 
std::basic_string, 
std::allocator >, std::lessstd::char_traits, std::allocator > >, 
std::allocatorstd::char_traits, std::allocator >, 
std::basic_string, 
std::allocator > > > >::map(void*&)’
/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/stl_map.h:170: 
note: candidates are: std::map<_Key, _Tp, _Compare, _Alloc>::map(const 
std::map<_Key, _Tp, _Compare, _Alloc>&) [with _Key = 
std::basic_string, 
std::allocator >, _Tp = std::basic_stringstd::char_traits, std::allocator >, _Compare = 
std::less, 
std::allocator > >, _Alloc = std::allocatorstd::basic_string, 
std::allocator >, std::basic_stringstd::char_traits, std::allocator > > >]
/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/stl_map.h:159: 
note: std::map<_Key, _Tp, _Compare, _Alloc>::map(const 
_Compare&, const _Alloc&) [with _Key = std::basic_stringstd::char_traits, std::allocator >, _Tp = 
std::basic_string, 
std::allocator >, _Compare = 
std::less, 
std::allocator > >, _Alloc = std::allocatorstd::basic_string, 
std::allocator >, std::basic_stringstd::char_traits, std::allocator > > >]
/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/stl_map.h:150: 
note: std::map<_Key, _Tp, _Compare, _Alloc>::map() [with 
_Key = std::basic_string, 
std::allocator >, _Tp = std::basic_stringstd::char_traits, std::allocator >, _Compare = 
std::less, 
std::allocator > >, _Alloc = std::allocatorstd::basic_string, 
std::allocator >, std::basic_stringstd::char_traits, std::allocator > > >]
/usr/include/QtCore/qthreadstorage.h: In static member function ‘static 
void QThreadStorage::deleteData(void*) [with T = int]’:
/usr/include/QtCore/qthreadstorage.h:136:   instantiated from 
‘QThreadStorage::QThreadStorage() [with T = int]’

sgml.cpp:141:   instantiated from here
/usr/include/QtCore/qthreadstorage.h:133: error: invalid static_cast 
from type ‘void*’ to type ‘int’

make[4]: *** [sgml.o] Error 1
make[4]: Leaving directory `/root/rpmbuild/SOURCES/lyx-2.2.3/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/root/rpmbuild/SOURCES/lyx-2.2.3/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/root/rpmbuild/SOURCES/lyx-2.2.3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/rpmbuild/SOURCES/lyx-2.2.3'
make: *** [all] Error 2
---

Realy appreciate any help.

Regards,
Formiga

Em 09/06/2017 15:22, Scott Kostyshak escreveu:

On Thu, Jun 01, 2017 at 03:35:02PM -0300, Felipe Formiga wrote:

Hi all

Really sorry if I'm posting in the error place

Hi Felipe!

This is a good place to ask this question. We have a couple of Fedora
users around here I think.


I'm trying to compile lx-2.2.3 in a RedHat 6.8.
After I used ./configure I got this message:
---
Configuration
   Host type:   x86_64-unknown-linux-gnu
   Special build flags:  build=release c++11 use-hunspell
   C++ Compiler:g++ (4.4.7)
   C++ Compiler flags:   -std=c++0x -O2 -Wno-deprecated-declarations
   C++ Compiler user flags:
   Linker flags:
   Linker user flags:
   Qt Frontend:
   Qt version:   4.6.2

I don't think Qt has anything to do with the error you get, but if you
have Qt version 4.6.2, that makes me think other tools in your compile
chain are old. Qt 4.6.2 was released 7 years ago.

Ah, now I see your GCC version is 4.4.7. I think that is more relevant,
and that was released 5 years ago.

Unfortunately, although we try to compile with as many versions of GCC
and Qt for as long as possible, we often have to drop support after some
time.

I should say that I know very little about compiling and this type of
issue. But since no one else responded, that's my best guess.

Scott





Re: Deprecated functions used in some Objective C code

2017-07-10 Thread Christian Ridderström
> > PS. Should we create a Trac issue for this, to help remember we need to
> fix it in the future?
>
> I don’t need a ticket for it, the compiler is nagging every time I build
> LyX :)


It's fine by me. In case you wondered, some reasons I thought of creating
an issue:

- gives background, eg why we get the warning which someone else might
wonder about in the future

- is the warning "bad"? (answer: not at the moment, does not prevent
release)

- gives developers/release manager not on macOS info that the issue exists

- explains why we currently can't switch to the new functions etc

- ...

Anyway, all these aspects are (now) covered by this thread, so eg someone
googling the warning ought to find this.

Cheers,
Christian


Re: [LyX/master] Update fr.po for beta

2017-07-10 Thread Jean-Pierre Chrétien

Le 10/07/2017 à 14:33, Kornel Benko a écrit :

Am Montag, 10. Juli 2017 um 14:01:45, schrieb Jean-Pierre Chrétien 




  * the master translation page in the LyX site:

http://www.lyx.org/I18n-trunk

is outdated, it should be reconstructed, perhaps when the fresh translations are
available.


Richard updates it (but not regularly) from time to time :)


Sure, he does it for branch, but I guess it's up to Scott to do the same for 
master.
I could do it if I knew how, but it's still cvs stuff I guess.

--
Jean-Pierre




Re: [LyX/master] Update fr.po for beta

2017-07-10 Thread Kornel Benko
Am Montag, 10. Juli 2017 um 14:01:45, schrieb Jean-Pierre Chrétien 

> Le 10/07/2017 à 11:37, Kornel Benko a écrit :
> > Am Montag, 10. Juli 2017 um 11:10:19, schrieb jpc 
> >> commit cdb65e852c6e3ff36cc804c4ec75ce837290679f
> >> Author: jpc 
> >> Date:   Mon Jul 10 11:08:26 2017 +0200
> >>
> >>   Update fr.po for beta
> >
> > Fuzzy msg
> > "Author Note: "
> > missed?
> 
> Right, corrected, thanks.
> 
> BTW, two remarks;
>   * the lines 'Project-Id-Version' in the various po files are quite 
> inconsistent. Should not they read
> 
> Project-Id-Version: LyX 2.3
>
> in all files of the master po directory?

Yes, I posted something similar one year ago:
Subject "po-files header" (see 
http://www.mail-archive.com/search?l=lyx-devel@lists.lyx.org&q=subject:%22po+files%22&o=newest&f=1)
but got no answer.

>   * the master translation page in the LyX site:
> 
> http://www.lyx.org/I18n-trunk
> 
> is outdated, it should be reconstructed, perhaps when the fresh translations 
> are 
> available.

Richard updates it (but not regularly) from time to time :)

> I had also a comment about the acmart.layout file that I posted to the 
> authors.
> 

Kornel

signature.asc
Description: This is a digitally signed message part.


Re: [LyX/master] Update fr.po for beta

2017-07-10 Thread Jean-Pierre Chrétien

Le 10/07/2017 à 11:37, Kornel Benko a écrit :

Am Montag, 10. Juli 2017 um 11:10:19, schrieb jpc 

commit cdb65e852c6e3ff36cc804c4ec75ce837290679f
Author: jpc 
Date:   Mon Jul 10 11:08:26 2017 +0200

  Update fr.po for beta


Fuzzy msg
"Author Note: "
missed?


Right, corrected, thanks.

BTW, two remarks;
 * the lines 'Project-Id-Version' in the various po files are quite 
inconsistent. Should not they read


Project-Id-Version: LyX 2.3

in all files of the master po directory?

 * the master translation page in the LyX site:

http://www.lyx.org/I18n-trunk

is outdated, it should be reconstructed, perhaps when the fresh translations are 
available.


I had also a comment about the acmart.layout file that I posted to the authors.

--
Jean-Pierre






Re: [LyX/master] Update fr.po for beta

2017-07-10 Thread Kornel Benko
Am Montag, 10. Juli 2017 um 11:10:19, schrieb jpc 
> commit cdb65e852c6e3ff36cc804c4ec75ce837290679f
> Author: jpc 
> Date:   Mon Jul 10 11:08:26 2017 +0200
> 
>   Update fr.po for beta

Fuzzy msg
"Author Note: "
missed?

Kornel


signature.asc
Description: This is a digitally signed message part.


Re: #10637: Math mode characters strange / wrong in Linux Mint (not windows)

2017-07-10 Thread Kornel Benko
Am Montag, 10. Juli 2017 um 08:46:58, schrieb Pavel Sanda 
> Scott Kostyshak wrote:
> > I actually forgot what this thread is about, but from your recent
> > message, it makes me think this is a packaging issue. You might want to
> > contact the Debian or Ubuntu or Mint packagers (it depends on which
> 
> I just checked that lyx-fonts is recommended pkg on Debian/Ubuntu
> (ie installed by default). So it might be Mint issue.
> P

Maybe. OTOH Mint is based on Ubuntu. And the package 'fonts-lyx' (Mint 17.3) is 
present.

Kornel

signature.asc
Description: This is a digitally signed message part.