Re: centered formulas + \iff

2016-06-04 Thread Kiuhnm

On 04/06/2016 21:19, Paul A. Rubin wrote:

Kiuhnm  gmail.com> writes:


I'm using Lyx 2.1.4. I'd like to write a bunch of inequalities with an
\iff on the right side. The inequalities should be centered, like this:
 <=>
 <=>
<...>


Does the appended LyX file do what you want? I used the alignat environment,
and increased the number of columns to five. The left side of each
inequality goes in column 1, the inequality symbol in column 2, the right
side in column 4 and the iff symbol in column 5. Column 3 is intentionally
blank.


I came up with a (not so clean) solution:

#LyX 2.1 created this file. For more info see http://www.lyx.org/
\lyxformat 474
\begin_document
\begin_header
\textclass article
\use_default_options true
\maintain_unincluded_children false
\language english
\language_package default
\inputencoding auto
\fontencoding global
\font_roman default
\font_sans default
\font_typewriter default
\font_math auto
\font_default_family default
\use_non_tex_fonts false
\font_sc false
\font_osf false
\font_sf_scale 100
\font_tt_scale 100
\graphics default
\default_output_format default
\output_sync 0
\bibtex_command default
\index_command default
\paperfontsize default
\use_hyperref false
\papersize default
\use_geometry false
\use_package amsmath 1
\use_package amssymb 1
\use_package cancel 1
\use_package esint 1
\use_package mathdots 1
\use_package mathtools 1
\use_package mhchem 1
\use_package stackrel 1
\use_package stmaryrd 1
\use_package undertilde 1
\cite_engine basic
\cite_engine_type default
\biblio_style plain
\use_bibtopic false
\use_indices false
\paperorientation portrait
\suppress_date false
\justification true
\use_refstyle 1
\index Index
\shortcut idx
\color #008000
\end_index
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\paragraph_indentation default
\quotes_language english
\papercolumns 1
\papersides 1
\paperpagestyle default
\tracking_changes false
\output_changes false
\html_math_output 0
\html_css_as_file 0
\html_be_strict false
\end_header

\begin_body

\begin_layout Standard
\begin_inset Formula
\begin{align*}
\begin{gathered}H(Z)\leq\mathbb{E}_{Z}\lceil I(Z)\rceil

Re: Missing icons after upgrading to LyX 2.2.0

2016-06-04 Thread Liviu Andronic
On Sat, Jun 4, 2016 at 10:19 PM, John Kane  wrote:
> I don't know what I had running but I did a shut-down before going shopping
> and after a reboot and something is happening. Thanks
>
>  My problem is that I removed libreOffice to install Apache OpenOffice so I
> don't really under stand what the output is telling me. Why would a removal
> of LyX depend on some missing LibreOfice files?
>
You'll probably have trouble installing any package, not just LyX.
Something went amiss with the libreoffice builds. Either remove the
offending packages, or try to update 'apt' and then upgrade the
package (assuming updates are available).

Liviu


>
>
>
> john@john-K53U:~$ sudo apt-get -f install
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> Correcting dependencies... Done
> The following additional packages will be installed:
>   libreoffice-common
> Suggested packages:
>   libreoffice-style-breeze libreoffice-style-hicontrast
>   libreoffice-style-human libreoffice-style-oxygen libreoffice-style-sifr
>   libreoffice-style-tango
> The following NEW packages will be installed:
>   libreoffice-common
> 0 upgraded, 1 newly installed, 0 to remove and 100 not upgraded.
> 8 not fully installed or removed.
> Need to get 0 B/22.3 MB of archives.
> After this operation, 84.8 MB of additional disk space will be used.
> Do you want to continue? [Y/n] y
> (Reading database ... 366914 files and directories currently installed.)
> Preparing to unpack .../libreoffice-common_1%3a5.1.3-0ubuntu1_all.deb ...
> Unpacking libreoffice-common (1:5.1.3-0ubuntu1) ...
> dpkg: error processing archive
> /var/cache/apt/archives/libreoffice-common_1%3a5.1.3-0ubuntu1_all.deb
> (--unpack):
>  trying to overwrite '/usr/bin/soffice', which is also in package
> openoffice-debian-menus 4.1.2-9782
> rmdir: failed to remove '/var/lib/libreoffice/share/prereg/': No such file
> or directory
> rmdir: failed to remove '/var/lib/libreoffice/share/': No such file or
> directory
> rmdir: failed to remove '/var/lib/libreoffice/program/': No such file or
> directory
> rmdir: failed to remove '/var/lib/libreoffice': No such file or directory
> rmdir: failed to remove '/var/lib/libreoffice': No such file or directory
> Processing triggers for gnome-menus (3.13.3-6ubuntu3) ...
> Processing triggers for desktop-file-utils (0.22-1ubuntu5) ...
> Processing triggers for bamfdaemon (0.5.3~bzr0+16.04.20160415-0ubuntu1) ...
> Rebuilding /usr/share/applications/bamf-2.index...
> Processing triggers for mime-support (3.59ubuntu1) ...
> Processing triggers for shared-mime-info (1.5-2) ...
> Processing triggers for hicolor-icon-theme (0.15-0ubuntu1) ...
> Processing triggers for man-db (2.7.5-1) ...
> Errors were encountered while processing:
>  /var/cache/apt/archives/libreoffice-common_1%3a5.1.3-0ubuntu1_all.deb
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> john@john-K53U:~$
>
> On 4 June 2016 at 13:57, Georg Baum  wrote:
>>
>> John Kane wrote:
>>
>> > john@john-K53U:~$  apt-get -f install
>> > E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission
>> > denied)
>> > E: Unable to lock the administration directory (/var/lib/dpkg/), are you
>> > root?
>> > john@john-K53U:~$  apt-get -f install lyx
>> > E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission
>> > denied)
>> > E: Unable to lock the administration directory (/var/lib/dpkg/), are you
>> > root?
>> > john@john-K53U:~$
>>
>> This happens if at the same time some other package management tool is
>> running and holds a lock on the database. Assuming that you don't do that
>> yourself, the most likely reason is an automatic 'apt-get update' running
>> in
>> the background from cron. You would see the process in the output of
>>
>> ps -axu | grep root
>>
>> and usually it would not take long to be finished, so you could try again.
>>
>>
>> Georg
>>
>>
>
>
>
> --
> John Kane
> Kingston ON Canada



-- 
Do you think you know what math is?
http://www.ideasroadshow.com/issues/ian-stewart-2013-08-02
Or what it means to be intelligent?
http://www.ideasroadshow.com/issues/john-duncan-2013-08-30
Think again:
http://www.ideasroadshow.com/library


Re: centered formulas + \iff

2016-06-04 Thread Kiuhnm

On 04/06/2016 21:19, Paul A. Rubin wrote:

Kiuhnm  gmail.com> writes:


I'm using Lyx 2.1.4. I'd like to write a bunch of inequalities with an
\iff on the right side. The inequalities should be centered, like this:
 <=>
 <=>
<...>


Does the appended LyX file do what you want? I used the alignat environment,
and increased the number of columns to five. The left side of each
inequality goes in column 1, the inequality symbol in column 2, the right
side in column 4 and the iff symbol in column 5. Column 3 is intentionally
blank.

Paul

#LyX 2.2 created this file. For more info see http://www.lyx.org/
\lyxformat 508


^^^ I had to edit this line because I have Lyx 2.1. I got some errors 
but I was able to load the file.


Anyway, I don't get the result I want. I'd like something like this:

   *<=>
    <=>
**  <=>
**

Basically, I need two cells the first of which centers its contents.
This is possible with eqnarray but then there are other issues 
(\frac{}{} doesn't work well, etc...).


Kiuhnm



Re: Missing icons after upgrading to LyX 2.2.0

2016-06-04 Thread John Kane
I don't know what I had running but I did a shut-down before going shopping
and after a reboot and something is happening. Thanks

 My problem is that I removed libreOffice to install Apache OpenOffice so I
don't really under stand what the output is telling me. Why would a removal
of LyX depend on some missing LibreOfice files?




john@john-K53U:~$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
  libreoffice-common
Suggested packages:
  libreoffice-style-breeze libreoffice-style-hicontrast
  libreoffice-style-human libreoffice-style-oxygen libreoffice-style-sifr
  libreoffice-style-tango
The following NEW packages will be installed:
  libreoffice-common
0 upgraded, 1 newly installed, 0 to remove and 100 not upgraded.
8 not fully installed or removed.
Need to get 0 B/22.3 MB of archives.
After this operation, 84.8 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 366914 files and directories currently installed.)
Preparing to unpack .../libreoffice-common_1%3a5.1.3-0ubuntu1_all.deb ...
Unpacking libreoffice-common (1:5.1.3-0ubuntu1) ...
dpkg: error processing archive
/var/cache/apt/archives/libreoffice-common_1%3a5.1.3-0ubuntu1_all.deb
(--unpack):
 trying to overwrite '/usr/bin/soffice', which is also in package
openoffice-debian-menus 4.1.2-9782
rmdir: failed to remove '/var/lib/libreoffice/share/prereg/': No such file
or directory
rmdir: failed to remove '/var/lib/libreoffice/share/': No such file or
directory
rmdir: failed to remove '/var/lib/libreoffice/program/': No such file or
directory
rmdir: failed to remove '/var/lib/libreoffice': No such file or directory
rmdir: failed to remove '/var/lib/libreoffice': No such file or directory
Processing triggers for gnome-menus (3.13.3-6ubuntu3) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu5) ...
Processing triggers for bamfdaemon (0.5.3~bzr0+16.04.20160415-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for mime-support (3.59ubuntu1) ...
Processing triggers for shared-mime-info (1.5-2) ...
Processing triggers for hicolor-icon-theme (0.15-0ubuntu1) ...
Processing triggers for man-db (2.7.5-1) ...
Errors were encountered while processing:
 /var/cache/apt/archives/libreoffice-common_1%3a5.1.3-0ubuntu1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
john@john-K53U:~$

On 4 June 2016 at 13:57, Georg Baum  wrote:

> John Kane wrote:
>
> > john@john-K53U:~$  apt-get -f install
> > E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission
> > denied)
> > E: Unable to lock the administration directory (/var/lib/dpkg/), are you
> > root?
> > john@john-K53U:~$  apt-get -f install lyx
> > E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission
> > denied)
> > E: Unable to lock the administration directory (/var/lib/dpkg/), are you
> > root?
> > john@john-K53U:~$
>
> This happens if at the same time some other package management tool is
> running and holds a lock on the database. Assuming that you don't do that
> yourself, the most likely reason is an automatic 'apt-get update' running
> in
> the background from cron. You would see the process in the output of
>
> ps -axu | grep root
>
> and usually it would not take long to be finished, so you could try again.
>
>
> Georg
>
>
>


-- 
John Kane
Kingston ON Canada


Re: Missing icons after upgrading to LyX 2.2.0

2016-06-04 Thread Kornel Benko
Am Samstag, 4. Juni 2016 um 12:25:37, schrieb John Kane 
> Following up on my last post
> john@john-K53U:~$  sudo apt-get check
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> You might want to run 'apt-get -f install' to correct these.
> The following packages have unmet dependencies:
>  libreoffice-core : Depends: libreoffice-common (> 1:5.1.2) but it is not
> installed
>  libreoffice-java-common : Depends: libreoffice-common (= 1:5.1.2-0ubuntu1)
> but it is not installed
>  libreoffice-style-elementary : Depends: libreoffice-common (=
> 1:5.1.2-0ubuntu1) but it is not installed
>  libreoffice-style-galaxy : Depends: libreoffice-common (=
> 1:5.1.2-0ubuntu1) but it is not installed
> E: Unmet dependencies. Try using -f.
> john@john-K53U:~$
> 
> 
> john@john-K53U:~$  apt-get -f install

Missing 'sudo'

> E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission
> denied)
> E: Unable to lock the administration directory (/var/lib/dpkg/), are you
> root?
> john@john-K53U:~$  apt-get -f install lyx
> E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission
> denied)
> E: Unable to lock the administration directory (/var/lib/dpkg/), are you
> root?
> john@john-K53U:~$
> 
> At the moment I cannot even remove Ly and the message (essentially the same
> as above) seems totally nonsensical.
> 
> n@john-K53U:~$ sudo apt-get remove lyx
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> You might want to run 'apt-get -f install' to correct these:
> The following packages have unmet dependencies:
>  libreoffice-core : Depends: libreoffice-common (> 1:5.1.2) but it is not
> going to be installed
>  libreoffice-java-common : Depends: libreoffice-common (= 1:5.1.2-0ubuntu1)
> but it is not going to be installed
>  libreoffice-style-elementary : Depends: libreoffice-common (=
> 1:5.1.2-0ubuntu1) but it is not going to be installed
>  libreoffice-style-galaxy : Depends: libreoffice-common (=
> 1:5.1.2-0ubuntu1) but it is not going to be installed
> E: Unmet dependencies. Try 'apt-get -f install' with no packages (or
> specify a solution).
> john@john-K53U:~$
> 
> Any suggestions would gratefully received.

See above.

Kornel


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


Re: centered formulas + \iff

2016-06-04 Thread Guillaume Munch

Le 04/06/2016 20:19, Paul A. Rubin a écrit :

Kiuhnm  gmail.com> writes:


I'm using Lyx 2.1.4. I'd like to write a bunch of inequalities with an
\iff on the right side. The inequalities should be centered, like this:
 <=>
 <=>
<...>


Does the appended LyX file do what you want? I used the alignat environment,
and increased the number of columns to five. The left side of each
inequality goes in column 1, the inequality symbol in column 2, the right
side in column 4 and the iff symbol in column 5. Column 3 is intentionally
blank.

Paul

#LyX 2.2 created this file. For more info see http://www.lyx.org/
\lyxformat 508
\begin_document
\begin_header
\save_transient_properties true
\origin unavailable
\textclass article
\use_default_options true
\maintain_unincluded_children false
\language english
\language_package default
\inputencoding auto
\fontencoding global
\font_roman "default" "default"
\font_sans "default" "default"
\font_typewriter "default" "default"
\font_math "auto" "auto"
\font_default_family default
\use_non_tex_fonts false
\font_sc false
\font_osf false
\font_sf_scale 100 100
\font_tt_scale 100 100
\graphics default
\default_output_format default
\output_sync 0
\bibtex_command default
\index_command default
\paperfontsize default
\spacing single
\use_hyperref false
\papersize letterpaper
\use_geometry true
\use_package amsmath 1
\use_package amssymb 1
\use_package cancel 1
\use_package esint 1
\use_package mathdots 1
\use_package mathtools 1
\use_package mhchem 1
\use_package stackrel 1
\use_package stmaryrd 1
\use_package undertilde 1
\cite_engine basic
\cite_engine_type default
\biblio_style plain
\use_bibtopic false
\use_indices false
\paperorientation portrait
\suppress_date false
\justification true
\use_refstyle 1
\index Index
\shortcut idx
\color #008000
\end_index
\leftmargin 1in
\topmargin 1in
\rightmargin 1in
\bottommargin 1in
\secnumdepth 3
\tocdepth 3
\paragraph_separation skip
\defskip smallskip
\quotes_language english
\papercolumns 1
\papersides 1
\paperpagestyle default
\tracking_changes false
\output_changes false
\html_math_output 0
\html_css_as_file 0
\html_be_strict false
\end_header

\begin_body

\begin_layout Standard
\begin_inset Formula
\begin{alignat*}{3}
ax & \le &  & b & \iff\\
cx+d & \ge &  & e & \iff\\
d+2e & = &  & 3f+g
\end{alignat*}

\end_inset


\end_layout

\end_body
\end_document






What about

\begin{align*}
a & \leq b\tag*{\ensuremath{\iff}}\\
b & \geq a\tag*{\ensuremath{\iff}}\\
a & \leq b
\end{align*}

?

(\ensuremath was added automatically by LyX)



Re: centered formulas + \iff

2016-06-04 Thread Paul A . Rubin
Kiuhnm  gmail.com> writes:

> I'm using Lyx 2.1.4. I'd like to write a bunch of inequalities with an 
> \iff on the right side. The inequalities should be centered, like this:
>  <=>
>  <=>
> <...>

Does the appended LyX file do what you want? I used the alignat environment,
and increased the number of columns to five. The left side of each
inequality goes in column 1, the inequality symbol in column 2, the right
side in column 4 and the iff symbol in column 5. Column 3 is intentionally
blank.

Paul

#LyX 2.2 created this file. For more info see http://www.lyx.org/
\lyxformat 508
\begin_document
\begin_header
\save_transient_properties true
\origin unavailable
\textclass article
\use_default_options true
\maintain_unincluded_children false
\language english
\language_package default
\inputencoding auto
\fontencoding global
\font_roman "default" "default"
\font_sans "default" "default"
\font_typewriter "default" "default"
\font_math "auto" "auto"
\font_default_family default
\use_non_tex_fonts false
\font_sc false
\font_osf false
\font_sf_scale 100 100
\font_tt_scale 100 100
\graphics default
\default_output_format default
\output_sync 0
\bibtex_command default
\index_command default
\paperfontsize default
\spacing single
\use_hyperref false
\papersize letterpaper
\use_geometry true
\use_package amsmath 1
\use_package amssymb 1
\use_package cancel 1
\use_package esint 1
\use_package mathdots 1
\use_package mathtools 1
\use_package mhchem 1
\use_package stackrel 1
\use_package stmaryrd 1
\use_package undertilde 1
\cite_engine basic
\cite_engine_type default
\biblio_style plain
\use_bibtopic false
\use_indices false
\paperorientation portrait
\suppress_date false
\justification true
\use_refstyle 1
\index Index
\shortcut idx
\color #008000
\end_index
\leftmargin 1in
\topmargin 1in
\rightmargin 1in
\bottommargin 1in
\secnumdepth 3
\tocdepth 3
\paragraph_separation skip
\defskip smallskip
\quotes_language english
\papercolumns 1
\papersides 1
\paperpagestyle default
\tracking_changes false
\output_changes false
\html_math_output 0
\html_css_as_file 0
\html_be_strict false
\end_header

\begin_body

\begin_layout Standard
\begin_inset Formula 
\begin{alignat*}{3}
ax & \le &  & b & \iff\\
cx+d & \ge &  & e & \iff\\
d+2e & = &  & 3f+g
\end{alignat*}

\end_inset


\end_layout

\end_body
\end_document




Re: Missing icons after upgrading to LyX 2.2.0

2016-06-04 Thread Georg Baum
John Kane wrote:

> john@john-K53U:~$  apt-get -f install
> E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission
> denied)
> E: Unable to lock the administration directory (/var/lib/dpkg/), are you
> root?
> john@john-K53U:~$  apt-get -f install lyx
> E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission
> denied)
> E: Unable to lock the administration directory (/var/lib/dpkg/), are you
> root?
> john@john-K53U:~$

This happens if at the same time some other package management tool is 
running and holds a lock on the database. Assuming that you don't do that 
yourself, the most likely reason is an automatic 'apt-get update' running in 
the background from cron. You would see the process in the output of

ps -axu | grep root

and usually it would not take long to be finished, so you could try again.


Georg




Re: Missing icons after upgrading to LyX 2.2.0

2016-06-04 Thread John Kane
Not root but I was running with sudo  My remove command was
sudo apt-get remove lyx
\


On 4 June 2016 at 13:00, Liviu Andronic  wrote:

> On Sat, Jun 4, 2016 at 6:25 PM, John Kane  wrote:
> > Following up on my last post
> > john@john-K53U:~$  sudo apt-get check
> > Reading package lists... Done
> > Building dependency tree
> > Reading state information... Done
> > You might want to run 'apt-get -f install' to correct these.
> > The following packages have unmet dependencies:
> >  libreoffice-core : Depends: libreoffice-common (> 1:5.1.2) but it is not
> > installed
> >  libreoffice-java-common : Depends: libreoffice-common (=
> 1:5.1.2-0ubuntu1)
> > but it is not installed
> >  libreoffice-style-elementary : Depends: libreoffice-common (=
> > 1:5.1.2-0ubuntu1) but it is not installed
> >  libreoffice-style-galaxy : Depends: libreoffice-common (=
> 1:5.1.2-0ubuntu1)
> > but it is not installed
> > E: Unmet dependencies. Try using -f.
> > john@john-K53U:~$
> >
> >
>
>
> > john@john-K53U:~$  apt-get -f install
> > E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission
> > denied)
> > E: Unable to lock the administration directory (/var/lib/dpkg/), are you
> > root?
> > john@john-K53U:~$  apt-get -f install lyx
> > E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission
> > denied)
> > E: Unable to lock the administration directory (/var/lib/dpkg/), are you
> > root?
> > john@john-K53U:~$
> >
> > At the moment I cannot even remove Ly and the message (essentially the
> same
> > as above) seems totally nonsensical.
> >
> Are you root? These should be run under root or with sudo.
>
> Liviu
>
>
>
> > n@john-K53U:~$ sudo apt-get remove lyx
> > Reading package lists... Done
> > Building dependency tree
> > Reading state information... Done
> > You might want to run 'apt-get -f install' to correct these:
> > The following packages have unmet dependencies:
> >  libreoffice-core : Depends: libreoffice-common (> 1:5.1.2) but it is not
> > going to be installed
> >  libreoffice-java-common : Depends: libreoffice-common (=
> 1:5.1.2-0ubuntu1)
> > but it is not going to be installed
> >  libreoffice-style-elementary : Depends: libreoffice-common (=
> > 1:5.1.2-0ubuntu1) but it is not going to be installed
> >  libreoffice-style-galaxy : Depends: libreoffice-common (=
> 1:5.1.2-0ubuntu1)
> > but it is not going to be installed
> > E: Unmet dependencies. Try 'apt-get -f install' with no packages (or
> specify
> > a solution).
> > john@john-K53U:~$
> >
> > Any suggestions would gratefully received.
> >
> >
> >
> >
> > On 2 June 2016 at 14:34, John Kane  wrote:
> >>
> >> "Never seen such a case."
> >> Reminds me of the time the doctor checking the internet when I was
> seeing
> >> him :)
> >>
> >> john@john-K53U:~$ sudo apt-get check
> >> [sudo] password for john:
> >> Reading package lists... Done
> >> Building dependency tree
> >> Reading state information... Done
> >>
> >>
> >> Somehow I was expecting something a bit more dramatic.
> >>
> >> Synaptic is reporting 0 broken packages.
> >>
> >> What would you think of burning a new CD of Ubuntu 16.04 and doing a new
> >> clean install?
> >>
> >> On 2 June 2016 at 13:27, Kornel Benko  wrote:
> >>>
> >>> Am Donnerstag, 2. Juni 2016 um 12:59:39, schrieb John Kane
> >>> 
> >>> > I was beginning to suspect that. Any suggestions?
> >>>
> >>> No. Never seen such a case. I for one get
> >>> # dpkg -p libqtcore4:amd64
> >>> Package: libqtcore4
> >>> Priority: optional
> >>> Section: libs
> >>> Installed-Size: 5053
> >>> Maintainer: Kubuntu Developers 
> >>> Architecture: amd64
> >>> Multi-Arch: same
> >>> Source: qt4-x11
> >>> Version: 4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1
> >>> Depends: qtcore4-l10n, libc6 (>= 2.15), libgcc1 (>= 1:4.1.1),
> >>> libglib2.0-0 (>= 2.22.0), libstdc++6 (>= 4.6), zlib1g (>= 1:1.1.4)
> >>> Pre-Depends: multiarch-support
> >>> Suggests: libicu48, libthai0
> >>> Size: 1554504
> >>> Description: Qt 4 core module
> >>>  Qt is a cross-platform C++ application framework. Qt's primary feature
> >>>  is its rich set of widgets that provide standard GUI functionality.
> >>>  .
> >>>  The QtCore module contains core non-GUI functionality.
> >>> Homepage: http://qt-project.org/
> >>> Original-Maintainer: Debian Qt/KDE Maintainers
> >>> 
> >>> ...
> >>>
> >>> Try to check your packages
> >>> # sudo apt-get check
> >>> or
> >>> # sudo synaptic
> >>> and try to identify broken packages.
> >>>
> >>> Kornel
> >>
> >>
> >>
> >>
> >> --
> >> John Kane
> >> Kingston ON Canada
> >
> >
> >
> >
> > --
> > John Kane
> > Kingston ON Canada
>
>
>
> --
> Do you think you know what math is?
> http://www.ideasroadshow.com/issues/ian-stewart-2013-08-02
> Or what it means to be intelligent?
> http://www.ideasroadshow.com/issues/john-duncan-2013-08-30
> Think 

Re: Missing icons after upgrading to LyX 2.2.0

2016-06-04 Thread John Kane
Following up on my last post
john@john-K53U:~$  sudo apt-get check
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
 libreoffice-core : Depends: libreoffice-common (> 1:5.1.2) but it is not
installed
 libreoffice-java-common : Depends: libreoffice-common (= 1:5.1.2-0ubuntu1)
but it is not installed
 libreoffice-style-elementary : Depends: libreoffice-common (=
1:5.1.2-0ubuntu1) but it is not installed
 libreoffice-style-galaxy : Depends: libreoffice-common (=
1:5.1.2-0ubuntu1) but it is not installed
E: Unmet dependencies. Try using -f.
john@john-K53U:~$


john@john-K53U:~$  apt-get -f install
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission
denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you
root?
john@john-K53U:~$  apt-get -f install lyx
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission
denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you
root?
john@john-K53U:~$

At the moment I cannot even remove Ly and the message (essentially the same
as above) seems totally nonsensical.

n@john-K53U:~$ sudo apt-get remove lyx
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 libreoffice-core : Depends: libreoffice-common (> 1:5.1.2) but it is not
going to be installed
 libreoffice-java-common : Depends: libreoffice-common (= 1:5.1.2-0ubuntu1)
but it is not going to be installed
 libreoffice-style-elementary : Depends: libreoffice-common (=
1:5.1.2-0ubuntu1) but it is not going to be installed
 libreoffice-style-galaxy : Depends: libreoffice-common (=
1:5.1.2-0ubuntu1) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or
specify a solution).
john@john-K53U:~$

Any suggestions would gratefully received.




On 2 June 2016 at 14:34, John Kane  wrote:

> "Never seen such a case."
> Reminds me of the time the doctor checking the internet when I was seeing
> him :)
>
> john@john-K53U:~$ sudo apt-get check
> [sudo] password for john:
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
>
>
> Somehow I was expecting something a bit more dramatic.
>
> Synaptic is reporting 0 broken packages.
>
> What would you think of burning a new CD of Ubuntu 16.04 and doing a new
> clean install?
>
> On 2 June 2016 at 13:27, Kornel Benko  wrote:
>
>> Am Donnerstag, 2. Juni 2016 um 12:59:39, schrieb John Kane <
>> jrkrid...@gmail.com>
>> > I was beginning to suspect that. Any suggestions?
>>
>> No. Never seen such a case. I for one get
>> # dpkg -p libqtcore4:amd64
>> Package: libqtcore4
>> Priority: optional
>> Section: libs
>> Installed-Size: 5053
>> Maintainer: Kubuntu Developers 
>> Architecture: amd64
>> Multi-Arch: same
>> Source: qt4-x11
>> Version: 4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1
>> Depends: qtcore4-l10n, libc6 (>= 2.15), libgcc1 (>= 1:4.1.1),
>> libglib2.0-0 (>= 2.22.0), libstdc++6 (>= 4.6), zlib1g (>= 1:1.1.4)
>> Pre-Depends: multiarch-support
>> Suggests: libicu48, libthai0
>> Size: 1554504
>> Description: Qt 4 core module
>>  Qt is a cross-platform C++ application framework. Qt's primary feature
>>  is its rich set of widgets that provide standard GUI functionality.
>>  .
>>  The QtCore module contains core non-GUI functionality.
>> Homepage: http://qt-project.org/
>> Original-Maintainer: Debian Qt/KDE Maintainers <
>> debian-qt-...@lists.debian.org>
>> ...
>>
>> Try to check your packages
>> # sudo apt-get check
>> or
>> # sudo synaptic
>> and try to identify broken packages.
>>
>> Kornel
>
>
>
>
> --
> John Kane
> Kingston ON Canada
>



-- 
John Kane
Kingston ON Canada


centered formulas + \iff

2016-06-04 Thread Kiuhnm

Hi,

I'm using Lyx 2.1.4. I'd like to write a bunch of inequalities with an 
\iff on the right side. The inequalities should be centered, like this:

 <=>
 <=>
<...>
The problem with gather is that it only allows one column. If I insert a 
gathered environment and add a second column, it doesn't work.


Wouldn't it be simpler if Lyx let users decide the horizontal alignment 
on a column-by-column basis? I guess there are technical difficulties in 
doing this...




Re: Missing icons after upgrading to LyX 2.2.0

2016-06-04 Thread Liviu Andronic
On Sat, Jun 4, 2016 at 6:25 PM, John Kane  wrote:
> Following up on my last post
> john@john-K53U:~$  sudo apt-get check
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> You might want to run 'apt-get -f install' to correct these.
> The following packages have unmet dependencies:
>  libreoffice-core : Depends: libreoffice-common (> 1:5.1.2) but it is not
> installed
>  libreoffice-java-common : Depends: libreoffice-common (= 1:5.1.2-0ubuntu1)
> but it is not installed
>  libreoffice-style-elementary : Depends: libreoffice-common (=
> 1:5.1.2-0ubuntu1) but it is not installed
>  libreoffice-style-galaxy : Depends: libreoffice-common (= 1:5.1.2-0ubuntu1)
> but it is not installed
> E: Unmet dependencies. Try using -f.
> john@john-K53U:~$
>
>


> john@john-K53U:~$  apt-get -f install
> E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission
> denied)
> E: Unable to lock the administration directory (/var/lib/dpkg/), are you
> root?
> john@john-K53U:~$  apt-get -f install lyx
> E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission
> denied)
> E: Unable to lock the administration directory (/var/lib/dpkg/), are you
> root?
> john@john-K53U:~$
>
> At the moment I cannot even remove Ly and the message (essentially the same
> as above) seems totally nonsensical.
>
Are you root? These should be run under root or with sudo.

Liviu



> n@john-K53U:~$ sudo apt-get remove lyx
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> You might want to run 'apt-get -f install' to correct these:
> The following packages have unmet dependencies:
>  libreoffice-core : Depends: libreoffice-common (> 1:5.1.2) but it is not
> going to be installed
>  libreoffice-java-common : Depends: libreoffice-common (= 1:5.1.2-0ubuntu1)
> but it is not going to be installed
>  libreoffice-style-elementary : Depends: libreoffice-common (=
> 1:5.1.2-0ubuntu1) but it is not going to be installed
>  libreoffice-style-galaxy : Depends: libreoffice-common (= 1:5.1.2-0ubuntu1)
> but it is not going to be installed
> E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify
> a solution).
> john@john-K53U:~$
>
> Any suggestions would gratefully received.
>
>
>
>
> On 2 June 2016 at 14:34, John Kane  wrote:
>>
>> "Never seen such a case."
>> Reminds me of the time the doctor checking the internet when I was seeing
>> him :)
>>
>> john@john-K53U:~$ sudo apt-get check
>> [sudo] password for john:
>> Reading package lists... Done
>> Building dependency tree
>> Reading state information... Done
>>
>>
>> Somehow I was expecting something a bit more dramatic.
>>
>> Synaptic is reporting 0 broken packages.
>>
>> What would you think of burning a new CD of Ubuntu 16.04 and doing a new
>> clean install?
>>
>> On 2 June 2016 at 13:27, Kornel Benko  wrote:
>>>
>>> Am Donnerstag, 2. Juni 2016 um 12:59:39, schrieb John Kane
>>> 
>>> > I was beginning to suspect that. Any suggestions?
>>>
>>> No. Never seen such a case. I for one get
>>> # dpkg -p libqtcore4:amd64
>>> Package: libqtcore4
>>> Priority: optional
>>> Section: libs
>>> Installed-Size: 5053
>>> Maintainer: Kubuntu Developers 
>>> Architecture: amd64
>>> Multi-Arch: same
>>> Source: qt4-x11
>>> Version: 4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1
>>> Depends: qtcore4-l10n, libc6 (>= 2.15), libgcc1 (>= 1:4.1.1),
>>> libglib2.0-0 (>= 2.22.0), libstdc++6 (>= 4.6), zlib1g (>= 1:1.1.4)
>>> Pre-Depends: multiarch-support
>>> Suggests: libicu48, libthai0
>>> Size: 1554504
>>> Description: Qt 4 core module
>>>  Qt is a cross-platform C++ application framework. Qt's primary feature
>>>  is its rich set of widgets that provide standard GUI functionality.
>>>  .
>>>  The QtCore module contains core non-GUI functionality.
>>> Homepage: http://qt-project.org/
>>> Original-Maintainer: Debian Qt/KDE Maintainers
>>> 
>>> ...
>>>
>>> Try to check your packages
>>> # sudo apt-get check
>>> or
>>> # sudo synaptic
>>> and try to identify broken packages.
>>>
>>> Kornel
>>
>>
>>
>>
>> --
>> John Kane
>> Kingston ON Canada
>
>
>
>
> --
> John Kane
> Kingston ON Canada



-- 
Do you think you know what math is?
http://www.ideasroadshow.com/issues/ian-stewart-2013-08-02
Or what it means to be intelligent?
http://www.ideasroadshow.com/issues/john-duncan-2013-08-30
Think again:
http://www.ideasroadshow.com/library