Re: building lyx from source on max yosemite

2015-12-04 Thread Florian Oswald
Dear All,

please forget what I wrote. I downloaded via ftp the latest version on
cocoa. and it's the most crystal clear picture I have ever seen. You guys
are amazing, thanks for all the great work.

Florian

On 4 December 2015 at 11:26, Florian Oswald 
wrote:

> Hi all,
>
> I was following this thread [
> http://comments.gmane.org/gmane.editors.lyx.general/85538] to find out
> how to get rid of a pixelated view of lyx on my retina screen. It seems
> that version 2.2.0 does get rid of it.
>
> I checkout out the git repo, made a build directory, and tried to build
> with cmake. I end up with the error below. Is the next() function a C++11
> feature? Any ideas how to deal with this? thanks a lot.
>
> Florian
>
> [ 70%] Building CXX object src/CMakeFiles/LyX.dir/Compare.cpp.o
>
> cd /Users/florian.oswald/git/lyx/build/src &&
> /Library/Developer/CommandLineTools/usr/bin/c++
> -DBOOST_SIGNALS_NO_DEPRECATION_WARNING=1 -Wall -Wunused-parameter
> -fno-strict-aliasing  -Wall -Wunused-parameter  -fno-strict-aliasing -O0
> -g3 -D_DEBUG -I/Users/florian.oswald/git/lyx/build
> -I/Users/florian.oswald/git/lyx/src -I/Users/florian.oswald/git/lyx/boost
> -I/Users/florian.oswald/git/lyx/build/src
> -I/usr/local/Cellar/qt/4.8.7_1/include
> -I/usr/local/Cellar/qt/4.8.7_1/lib/QtCore.framework/Headers
> -I/usr/local/Cellar/qt/4.8.7_1/mkspecs/default
> -I/usr/local/Cellar/qt/4.8.7_1/include/QtCore
> -I/usr/local/Cellar/qt/4.8.7_1/include/QtGui
> -I/usr/local/Cellar/qt/4.8.7_1/include/QtDesigner
> -I/usr/local/Cellar/qt/4.8.7_1/include/QtNetwork
> -I/usr/local/Cellar/qt/4.8.7_1/include/QtOpenGL
> -I/usr/local/Cellar/qt/4.8.7_1/include/QtSql
> -I/usr/local/Cellar/qt/4.8.7_1/include/QtXml
> -I/usr/local/Cellar/qt/4.8.7_1/include/QtSvg
> -I/usr/local/Cellar/qt/4.8.7_1/include/QtUiTools
> -I/usr/local/Cellar/qt/4.8.7_1/include/QtTest
> -DBOOST_USER_CONFIG="" -F/usr/local/Cellar/qt/4.8.7_1/lib  -o
> CMakeFiles/LyX.dir/Compare.cpp.o -c
> /Users/florian.oswald/git/lyx/src/Compare.cpp
>
> */Users/florian.oswald/git/lyx/src/Compare.cpp:425:25: **error: **call to
> 'next' is ambiguous*
>
> ParagraphList tmp_pars(next(ps_.begin(), startpit),
>
> *   ^~~~*
>
> */Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/iterator:519:1:
> note: *candidate function
>
>   [with _ForwardIter = std::__1::__list_const_iterator void *>]
>
> next(_ForwardIter __x,
>
> *^*
>
> */Users/florian.oswald/git/lyx/src/support/lyxalgo.h:92:11: note: *candidate
> function [with It =
>
>   std::__1::__list_const_iterator, Diff = long]
>
> inline It next(It i, Diff n = 1)
>
> *  ^*
>
> */Users/florian.oswald/git/lyx/src/Compare.cpp:426:3: **error: **call to
> 'next' is ambiguous*
>
> next(ps_.begin(), endpit + 1));
>
> *^~~~*
>
> */Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/iterator:519:1:
> note: *candidate function
>
>   [with _ForwardIter = std::__1::__list_const_iterator void *>]
>
> next(_ForwardIter __x,
>
> *^*
>
> */Users/florian.oswald/git/lyx/src/support/lyxalgo.h:92:11: note: *candidate
> function [with It =
>
>   std::__1::__list_const_iterator, Diff = long]
>
> inline It next(It i, Diff n = 1)
>
> *  ^*
>
>


building lyx from source on max yosemite

2015-12-04 Thread Florian Oswald
Hi all,

I was following this thread [
http://comments.gmane.org/gmane.editors.lyx.general/85538] to find out how
to get rid of a pixelated view of lyx on my retina screen. It seems that
version 2.2.0 does get rid of it.

I checkout out the git repo, made a build directory, and tried to build
with cmake. I end up with the error below. Is the next() function a C++11
feature? Any ideas how to deal with this? thanks a lot.

Florian

[ 70%] Building CXX object src/CMakeFiles/LyX.dir/Compare.cpp.o

cd /Users/florian.oswald/git/lyx/build/src &&
/Library/Developer/CommandLineTools/usr/bin/c++
-DBOOST_SIGNALS_NO_DEPRECATION_WARNING=1 -Wall -Wunused-parameter
-fno-strict-aliasing  -Wall -Wunused-parameter  -fno-strict-aliasing -O0
-g3 -D_DEBUG -I/Users/florian.oswald/git/lyx/build
-I/Users/florian.oswald/git/lyx/src -I/Users/florian.oswald/git/lyx/boost
-I/Users/florian.oswald/git/lyx/build/src
-I/usr/local/Cellar/qt/4.8.7_1/include
-I/usr/local/Cellar/qt/4.8.7_1/lib/QtCore.framework/Headers
-I/usr/local/Cellar/qt/4.8.7_1/mkspecs/default
-I/usr/local/Cellar/qt/4.8.7_1/include/QtCore
-I/usr/local/Cellar/qt/4.8.7_1/include/QtGui
-I/usr/local/Cellar/qt/4.8.7_1/include/QtDesigner
-I/usr/local/Cellar/qt/4.8.7_1/include/QtNetwork
-I/usr/local/Cellar/qt/4.8.7_1/include/QtOpenGL
-I/usr/local/Cellar/qt/4.8.7_1/include/QtSql
-I/usr/local/Cellar/qt/4.8.7_1/include/QtXml
-I/usr/local/Cellar/qt/4.8.7_1/include/QtSvg
-I/usr/local/Cellar/qt/4.8.7_1/include/QtUiTools
-I/usr/local/Cellar/qt/4.8.7_1/include/QtTest
-DBOOST_USER_CONFIG="" -F/usr/local/Cellar/qt/4.8.7_1/lib  -o
CMakeFiles/LyX.dir/Compare.cpp.o -c
/Users/florian.oswald/git/lyx/src/Compare.cpp

*/Users/florian.oswald/git/lyx/src/Compare.cpp:425:25: **error: **call to
'next' is ambiguous*

ParagraphList tmp_pars(next(ps_.begin(), startpit),

*   ^~~~*

*/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/iterator:519:1:
note: *candidate function

  [with _ForwardIter = std::__1::__list_const_iterator]

next(_ForwardIter __x,

*^*

*/Users/florian.oswald/git/lyx/src/support/lyxalgo.h:92:11: note: *candidate
function [with It =

  std::__1::__list_const_iterator, Diff = long]

inline It next(It i, Diff n = 1)

*  ^*

*/Users/florian.oswald/git/lyx/src/Compare.cpp:426:3: **error: **call to
'next' is ambiguous*

next(ps_.begin(), endpit + 1));

*^~~~*

*/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/iterator:519:1:
note: *candidate function

  [with _ForwardIter = std::__1::__list_const_iterator]

next(_ForwardIter __x,

*^*

*/Users/florian.oswald/git/lyx/src/support/lyxalgo.h:92:11: note: *candidate
function [with It =

  std::__1::__list_const_iterator, Diff = long]

inline It next(It i, Diff n = 1)

*  ^*


Re: Splitting long eqution

2015-12-04 Thread Anders Ekberg

> On 04 Dec 2015, at 02:30, Jacob Bishop  wrote:
> 
> 
> On Wed, Dec 2, 2015 at 12:47 AM, Anders Ekberg  > wrote:
> see the extended minimal example attached.
>  
> This example is really good, and Anders' response was on the spot, but I 
> thought I'd take the opportunity to point out something that took me quite a 
> while to realize. When using the equation array environment (what happens 
> when you push ctrl+enter), the spacing around the equal sign is different 
> than what it is for a "display formula." This leads to a document that has 
> inconsistent spacing, which can be seen in this example. The spacing around 
> the equals sign in equation (1) is a lot less than the spacing around the 
> equals signs in the other equations. The solution is to use AMS environments. 
> Check the spacing produced in the attached document. I also used \mathrm for 
> multi-letter subscripts, which I would recommend. Finally, you should check 
> out the different reference types. I use the one with parentheses to do 
> equations.
> 
> I hope this helps.
> 
> Jacob
> 

Thanks Jacob, that was helpful! 
I like that you point out the use of \mathrm. I “preach” to all students and 
everyone else who wants to hear (and to everyone else too ;-) that indices that 
are not variables should be roman. So for those who use LyX or LaTeX and write 
equations \mathrm is one of the best commands to know…

Anders 

Bibliography not shown in PDF

2015-12-04 Thread Michael Berger

Hi Scott,
I think it was after downloading some updates that I did not see the 
bibliography  any longer after compilation to PDF. I am very certain I 
did not change any settings.

My many attempts to fix this failed.

openSUSE 13.2 - 64bit, latest version
LyX 2.1.2
KBibTeX 0.6-2.12 built Nov. 2015

Would it be sufficient to furnish the LyX Document Settings first or 
send minimized LyX and KBibTeX files?


I stripped down the LyX-document  from 40 to 8 pages (23.4Kib) and also 
minimized the respective KBibTeX file (1.1KB). In case you want need it, 
where should I send it?


Thanks and regards,
Michael Berger




Re: How to highlight a specific line inside a Program Listings?

2015-12-04 Thread Paul Smith
Thanks, John. Could you please post here your example?

Paul


On Fri, Dec 4, 2015 at 2:22 PM, John Kane  wrote:
> http://tex.stackexchange.com/questions/198064/highlighting-a-line-in-program-listings-in-lyx
> seems to work.  Or, at least, I got it to work with about 15 minutes
> fiddling.
>
> On 4 December 2015 at 08:00, Paul Smith  wrote:
>>
>> Dear All,
>>
>> Is there some way fo accomplish this in LyX?
>>
>> Thanks in advance,
>>
>> Paul
>
>
>
>
> --
> John Kane
> Kingston ON Canada


Re: How to highlight a specific line inside a Program Listings?

2015-12-04 Thread John Kane
Sure, note that all I did was muck about with the example provided; the
instructions seemed a bit muddled but dedicated plagar^H^H copying worked.

On 4 December 2015 at 10:03, Paul Smith  wrote:

> Thanks, John. Could you please post here your example?
>
> Paul
>
>
> On Fri, Dec 4, 2015 at 2:22 PM, John Kane  wrote:
> >
> http://tex.stackexchange.com/questions/198064/highlighting-a-line-in-program-listings-in-lyx
> > seems to work.  Or, at least, I got it to work with about 15 minutes
> > fiddling.
> >
> > On 4 December 2015 at 08:00, Paul Smith  wrote:
> >>
> >> Dear All,
> >>
> >> Is there some way fo accomplish this in LyX?
> >>
> >> Thanks in advance,
> >>
> >> Paul
> >
> >
> >
> >
> > --
> > John Kane
> > Kingston ON Canada
>



-- 
John Kane
Kingston ON Canada


Hightlight line of code i listing.lyx~
Description: application/trash


Re: Options of packages loaded by modules/Lyx

2015-12-04 Thread David
Am 04.12.2015 um 17:00 schrieb Jürgen Spitzmüller:
> 
> "trunk" is the development version of LyX, i.e. forthcoming LyX 2.2.
> 
> With LyX 2.1.x, you cannot use the descirbed feature with the todonotes 
> module, since it only works for packages "known" to LyX (and the todonotes 
> packages is not known to LyX 2.1). Making a package "known" requires a change 
> in the LyX source code.
> 
> With LyX 2.2, you just need to copy the following to Document > Settings > 
> Local Layout:
> 
> PackageOptions todonotes myoptions
> 
> Jürgen
> 

Thanks for the clarification, Jürgen. Im excited about Lyx 2.2 :)


Re: Options of packages loaded by modules/Lyx

2015-12-04 Thread Jürgen Spitzmüller
Am Dienstag 01 Dezember 2015, 15:04:07 schrieb Richard Heck:
> If so, then a PassOptionToPackage tag would be a very good idea. These
> could be output very early, yes?

We have such a thing already:

PackageOptions todonotes myoptions

(only works in trunk, since the todonotes module from the wiki does not load 
todonotes via LyX's features interface).

Jürgen


Re: Options of packages loaded by modules/Lyx

2015-12-04 Thread Jürgen Spitzmüller
Am Freitag 04 Dezember 2015, 16:48:48 schrieb David:
> Sounds interesting. But what is trunk and how would I have to change the
> todonotes module in order to enable loading via the features interface?

"trunk" is the development version of LyX, i.e. forthcoming LyX 2.2.

With LyX 2.1.x, you cannot use the descirbed feature with the todonotes 
module, since it only works for packages "known" to LyX (and the todonotes 
packages is not known to LyX 2.1). Making a package "known" requires a change 
in the LyX source code.

With LyX 2.2, you just need to copy the following to Document > Settings > 
Local Layout:

PackageOptions todonotes myoptions

Jürgen


Re: Options of packages loaded by modules/Lyx

2015-12-04 Thread David
Am 04.12.2015 um 16:40 schrieb Jürgen Spitzmüller:
> Am Dienstag 01 Dezember 2015, 15:04:07 schrieb Richard Heck:
>> If so, then a PassOptionToPackage tag would be a very good idea. These
>> could be output very early, yes?
> 
> We have such a thing already:
> 
> PackageOptions todonotes myoptions
> 
> (only works in trunk, since the todonotes module from the wiki does not load 
> todonotes via LyX's features interface).
> 

Sounds interesting. But what is trunk and how would I have to change the
todonotes module in order to enable loading via the features interface?



Re: How to highlight a specific line inside a Program Listings?

2015-12-04 Thread Paul Smith
Thank you very indeed, John! Your example is brilliant and extremely helpful!

Paul


On Fri, Dec 4, 2015 at 3:22 PM, John Kane  wrote:
> Sure, note that all I did was muck about with the example provided; the
> instructions seemed a bit muddled but dedicated plagar^H^H copying worked.
>
> On 4 December 2015 at 10:03, Paul Smith  wrote:
>>
>> Thanks, John. Could you please post here your example?
>>
>> Paul
>>
>>
>> On Fri, Dec 4, 2015 at 2:22 PM, John Kane  wrote:
>> >
>> > http://tex.stackexchange.com/questions/198064/highlighting-a-line-in-program-listings-in-lyx
>> > seems to work.  Or, at least, I got it to work with about 15 minutes
>> > fiddling.
>> >
>> > On 4 December 2015 at 08:00, Paul Smith  wrote:
>> >>
>> >> Dear All,
>> >>
>> >> Is there some way fo accomplish this in LyX?
>> >>
>> >> Thanks in advance,
>> >>
>> >> Paul
>> >
>> >
>> >
>> >
>> > --
>> > John Kane
>> > Kingston ON Canada
>
>
>
>
> --
> John Kane
> Kingston ON Canada


Re: building lyx from source on max yosemite

2015-12-04 Thread Richard Heck
On 12/04/2015 05:49 AM, Florian Oswald wrote:
> Dear All, 
>
> please forget what I wrote. I downloaded via ftp the latest version on
> cocoa. and it's the most crystal clear picture I have ever seen. You
> guys are amazing, thanks for all the great work.

Thank Stephan Witt specifically. And the folks at Qt.

Richard


>
> Florian
>
> On 4 December 2015 at 11:26, Florian Oswald  > wrote:
>
> Hi all,
>
> I was following this thread
> [http://comments.gmane.org/gmane.editors.lyx.general/85538] to
> find out how to get rid of a pixelated view of lyx on my retina
> screen. It seems that version 2.2.0 does get rid of it. 
>
> I checkout out the git repo, made a build directory, and tried to
> build with cmake. I end up with the error below. Is the next()
> function a C++11 feature? Any ideas how to deal with this? thanks
> a lot.
>
> Florian
>
> [ 70%] Building CXX object src/CMakeFiles/LyX.dir/Compare.cpp.o
>
> cd /Users/florian.oswald/git/lyx/build/src &&
> /Library/Developer/CommandLineTools/usr/bin/c++  
> -DBOOST_SIGNALS_NO_DEPRECATION_WARNING=1 -Wall -Wunused-parameter 
> -fno-strict-aliasing  -Wall -Wunused-parameter 
> -fno-strict-aliasing -O0 -g3 -D_DEBUG
> -I/Users/florian.oswald/git/lyx/build
> -I/Users/florian.oswald/git/lyx/src
> -I/Users/florian.oswald/git/lyx/boost
> -I/Users/florian.oswald/git/lyx/build/src
> -I/usr/local/Cellar/qt/4.8.7_1/include
> -I/usr/local/Cellar/qt/4.8.7_1/lib/QtCore.framework/Headers
> -I/usr/local/Cellar/qt/4.8.7_1/mkspecs/default
> -I/usr/local/Cellar/qt/4.8.7_1/include/QtCore
> -I/usr/local/Cellar/qt/4.8.7_1/include/QtGui
> -I/usr/local/Cellar/qt/4.8.7_1/include/QtDesigner
> -I/usr/local/Cellar/qt/4.8.7_1/include/QtNetwork
> -I/usr/local/Cellar/qt/4.8.7_1/include/QtOpenGL
> -I/usr/local/Cellar/qt/4.8.7_1/include/QtSql
> -I/usr/local/Cellar/qt/4.8.7_1/include/QtXml
> -I/usr/local/Cellar/qt/4.8.7_1/include/QtSvg
> -I/usr/local/Cellar/qt/4.8.7_1/include/QtUiTools
> -I/usr/local/Cellar/qt/4.8.7_1/include/QtTest   
> -DBOOST_USER_CONFIG=""
> -F/usr/local/Cellar/qt/4.8.7_1/lib  -o
> CMakeFiles/LyX.dir/Compare.cpp.o -c
> /Users/florian.oswald/git/lyx/src/Compare.cpp
>
> */Users/florian.oswald/git/lyx/src/Compare.cpp:425:25: **error:
> **call to 'next' is ambiguous*
>
> ParagraphList tmp_pars(next(ps_.begin(), startpit),
>
> *   ^~~~*
>
> 
> */Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/iterator:519:1:
> note: *candidate function
>
>   [with _ForwardIter =
> std::__1::__list_const_iterator]
>
> next(_ForwardIter __x,
>
> *^*
>
> */Users/florian.oswald/git/lyx/src/support/lyxalgo.h:92:11: note:
> *candidate function [with It =
>
>   std::__1::__list_const_iterator,
> Diff = long]
>
> inline It next(It i, Diff n = 1)
>
> *  ^*
>
> */Users/florian.oswald/git/lyx/src/Compare.cpp:426:3: **error:
> **call to 'next' is ambiguous*
>
> next(ps_.begin(), endpit + 1));
>
> *^~~~*
>
> 
> */Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/iterator:519:1:
> note: *candidate function
>
>   [with _ForwardIter =
> std::__1::__list_const_iterator]
>
> next(_ForwardIter __x,
>
> *^*
>
> */Users/florian.oswald/git/lyx/src/support/lyxalgo.h:92:11: note:
> *candidate function [with It =
>
>   std::__1::__list_const_iterator,
> Diff = long]
>
> inline It next(It i, Diff n = 1)
>
> *  ^*
>
> *
> *
>
>



Re: How to highlight a specific line inside a Program Listings?

2015-12-04 Thread John Kane
http://tex.stackexchange.com/questions/198064/highlighting-a-line-in-program-listings-in-lyx
seems to work.  Or, at least, I got it to work with about 15 minutes
fiddling.

On 4 December 2015 at 08:00, Paul Smith  wrote:

> Dear All,
>
> Is there some way fo accomplish this in LyX?
>
> Thanks in advance,
>
> Paul
>



-- 
John Kane
Kingston ON Canada


How to highlight a specific line inside a Program Listings?

2015-12-04 Thread Paul Smith
Dear All,

Is there some way fo accomplish this in LyX?

Thanks in advance,

Paul


gantt

2015-12-04 Thread Patrick Dupre
Hello,

Is there a tool to make gantt diagram compatible with lyx?

Thank

===
 Patrick DUPRÉ | | email: pdu...@gmx.com
 Laboratoire de Physico-Chimie de l'Atmosphère | |
 Université du Littoral-Côte d'Opale   | |
 Tel.  (33)-(0)3 28 23 76 12   | | Fax: 03 28 65 82 44
 189A, avenue Maurice Schumann | | 59140 Dunkerque, France
===


Re: Options of packages loaded by modules/Lyx

2015-12-04 Thread Scott Kostyshak
On Fri, Dec 04, 2015 at 05:07:24PM +0100, David wrote:
> Am 04.12.2015 um 17:00 schrieb Jürgen Spitzmüller:
> > 
> > "trunk" is the development version of LyX, i.e. forthcoming LyX 2.2.
> > 
> > With LyX 2.1.x, you cannot use the descirbed feature with the todonotes 
> > module, since it only works for packages "known" to LyX (and the todonotes 
> > packages is not known to LyX 2.1). Making a package "known" requires a 
> > change 
> > in the LyX source code.
> > 
> > With LyX 2.2, you just need to copy the following to Document > Settings > 
> > Local Layout:
> > 
> > PackageOptions todonotes myoptions
> > 
> > Jürgen
> > 
> 
> Thanks for the clarification, Jürgen. Im excited about Lyx 2.2 :)

Note that if you feel like testing, we would be interested in your
feedback. See here for installers for our most recent development
version:

ftp://ftp.lyx.org/pub/lyx/devel/lyx-2.2/lyx-2.2.0alpha2/

Scott


signature.asc
Description: PGP signature


Re: 2.2.0alpha2 - "LyX could not create temporary directory...."

2015-12-04 Thread Scott Kostyshak
On Fri, Dec 04, 2015 at 06:36:31PM +, Paola Manzini wrote:
> thanks Liviu, just updated the preferences. The mysterious “LyX could not 
> create temporary directory” etc error message remains, the workaround being 
> to exit LyX, re-launch it and open the file. At least with keeping the last 
> session I can now open many files :-)
> Thank you,
> paola

Hi Paola,

Thanks for your testing and feedback!

What do you have listed in Tools > Preferences > Paths under Temporary
directory?
Before changing anything, please backup whatever path you have there
because we would like to know what it is.

Do you still have the stable version of LyX installed? You do not see
the problem there correct? On that version of LyX what do you have
listed in Tools > Preferences > Paths under Temporary directory?

Finally, what is the output of the command "df -h /var" ?

Would you mind bottom-posting (replying below the quote of the previous
email)? Sorry for the bother but it helps keep emails organized.

Best,

Scott


signature.asc
Description: PGP signature


Re: Bibliography not shown in PDF

2015-12-04 Thread Scott Kostyshak
On Fri, Dec 04, 2015 at 12:14:27PM +0100, Michael Berger wrote:
> Hi Scott,
> I think it was after downloading some updates that I did not see the
> bibliography  any longer after compilation to PDF. I am very certain I did
> not change any settings.
> My many attempts to fix this failed.
> 
> openSUSE 13.2 - 64bit, latest version
> LyX 2.1.2
> KBibTeX 0.6-2.12 built Nov. 2015
> 
> Would it be sufficient to furnish the LyX Document Settings first or send
> minimized LyX and KBibTeX files?
> 
> I stripped down the LyX-document  from 40 to 8 pages (23.4Kib) and also
> minimized the respective KBibTeX file (1.1KB). In case you want need it,
> where should I send it?
> 
> Thanks and regards,
> Michael Berger

Hi Michael,

Is there a link you have or a recent email thread you can point me to
for the previous conversation on this topic? This is the first email in
the thread (unless my mail client messed up) but it seems as though
continuing a conversation. I have a *horrible* short- and long-term
memory and I participate in a lot of conversations. Also, for archival
purposes it's good to reference any previous discussion in case someone
has a similar issues and happens across this thread.

I'd be happy to compile and confirm whether something works for me if
that would help you figure out whether the problem is something local to
your system or something that others can reproduce. As for the example,
I am pretty dogmatic (more than most around here I think) in that I
prefer to only spend time looking at minimal examples, as outlined here:
http://wiki.lyx.org/FAQ/MinimalExample

In your particular case though, since you participate on the list
(thanks a lot for helping out! It is very much appreciated) I'm much
more likely to spend time to try to help figure out what the problem is.

As for where to send the example, please just attach it to your email
when sending to the list.

Best,

Scott


signature.asc
Description: PGP signature


LYX 2.1.4 and El Capitan: Error converting eps and PDF

2015-12-04 Thread Cristoforo Demartino
I installed LyX 2.1.4. on a Mac with El Capitan. When I insert a pdf or eps 
figure, LyX displays an error in converting the file; accordingly I can't see 
the figure in the software.
The output PDF is created without any problem.

I was able to start LyX using the command line and this is the error: sh: 
convert: command not found

This is the path:  

/Library/TeX/texbin:/usr/texbin:/sw/bin:/sw/sbin:/opt/local/teTeX/bin:/opt/local/bin:/usr/local/bin:/usr/bin:/usr/X11R6/bin:/usr/sbin:/sbin

I obtained the same error using LyX 2.2 beta version.

Can anyone help with this issue?



Re: 2.2.0alpha2 - "LyX could not create temporary directory...."

2015-12-04 Thread Scott Kostyshak
On Fri, Dec 04, 2015 at 11:35:16PM +, Paola Manzini wrote:

> The path for the temporary directory is:
> /var/folders/_q/_lf49ll933z7xvnbfdtmn810gn/T

OK. Can you do the following:

1. Exit all LyX instances.
2. Run the command
   ls -lR /var/folders/_q/_lf49ll933z7xvnbfdtmn810gn/
3. Open one .lyx file (which you said does not cause an error).
4. Run the same command as in 2.
5. Open another .lyx file. This should produce the error. Before
clicking on OK for the error or anything else, run the same command as
in step 2 again.
6. (still without clicking OK on the error or anything else), run the
command
   mkdir 

So you should run the command in step 2 a total of 3 times and send us
all of the output. Also send us the output from the mkdir command.

> I ditched the stable version, so only have 2.2.0alpha2 now.

OK.

> Finally, I am not sure whether this is what you wanted, but I used the 
> command in a Terminal window, which returned:
> 
> Filesystem   Size   Used  Avail Capacity  iused ifree %iused  Mounted on
> /dev/disk1  931Gi  360Gi  570Gi39% 94431751 149513719   39%   /

Yes this is what I wanted. I just wanted to confirm that the filesystem
your temporary directory is on is not full (as the error you posted
suggested).

Scott


signature.asc
Description: PGP signature


Re: 2.2.0alpha2 - "LyX could not create temporary directory...."

2015-12-04 Thread Paola Manzini

On 4 Dec 2015, at 23:11, Scott Kostyshak 
> wrote:

On Fri, Dec 04, 2015 at 06:36:31PM +, Paola Manzini wrote:
thanks Liviu, just updated the preferences. The mysterious “LyX could not 
create temporary directory” etc error message remains, the workaround being to 
exit LyX, re-launch it and open the file. At least with keeping the last 
session I can now open many files :-)
Thank you,
paola

Hi Paola,

Thanks for your testing and feedback!

What do you have listed in Tools > Preferences > Paths under Temporary
directory?
Before changing anything, please backup whatever path you have there
because we would like to know what it is.

Do you still have the stable version of LyX installed? You do not see
the problem there correct? On that version of LyX what do you have
listed in Tools > Preferences > Paths under Temporary directory?

Finally, what is the output of the command "df -h /var" ?

Would you mind bottom-posting (replying below the quote of the previous
email)? Sorry for the bother but it helps keep emails organized.

Best,

Scott

Thanks Scott, and apologies for top posting!
The path for the temporary directory is:
/var/folders/_q/_lf49ll933z7xvnbfdtmn810gn/T
I ditched the stable version, so only have 2.2.0alpha2 now.
Finally, I am not sure whether this is what you wanted, but I used the command 
in a Terminal window, which returned:

Filesystem   Size   Used  Avail Capacity  iused ifree %iused  Mounted on
/dev/disk1  931Gi  360Gi  570Gi39% 94431751 149513719   39%   /

Many thanks!
paola




Re: LYX 2.1.4 and El Capitan: Error converting eps and PDF

2015-12-04 Thread Scott Kostyshak
On Sat, Dec 05, 2015 at 01:04:01AM +0100, Cristoforo Demartino wrote:
> I installed LyX 2.1.4. on a Mac with El Capitan. When I insert a pdf or eps 
> figure, LyX displays an error in converting the file; accordingly I can't see 
> the figure in the software.
> The output PDF is created without any problem.
> 
> I was able to start LyX using the command line and this is the error: sh: 
> convert: command not found
> 
> This is the path:  
> 
> /Library/TeX/texbin:/usr/texbin:/sw/bin:/sw/sbin:/opt/local/teTeX/bin:/opt/local/bin:/usr/local/bin:/usr/bin:/usr/X11R6/bin:/usr/sbin:/sbin
> 
> I obtained the same error using LyX 2.2 beta version.
> 
> Can anyone help with this issue?

This issue has been cross-posted in the following places:
http://latex-community.org/forum/viewtopic.php?f=19=26937=92685#p92685
http://tex.stackexchange.com/questions/281077/lyx-2-1-4-and-el-capitan-error-converting-eps-and-pdf
https://www.mail-archive.com/search?l=mid=BLU437-SMTP419663D72BCFBF65CAE2AFC30D0%40phx.gbl

Cristoforo, it is important to note all the places where you cross-post.
Imagine a solution is found on e.g. the tex.stackexchange thread you
started. Would you want someone to spend an hour trying to find a
solution when a solution already exists? Listing all the places you
cross-post is a way to avoid this issue.

Best,

Scott


signature.asc
Description: PGP signature


Re: 2.2.0alpha2 - "LyX could not create temporary directory...."

2015-12-04 Thread Liviu Andronic
On Fri, Dec 4, 2015 at 4:32 PM, Paola Manzini  wrote:
>
> Hi all,
>
> I have a problem when opening files in the 2.2.0.alpha2 version of LyX on Mac 
> OS El Capitan, which I only just noted. I can open any file (I think) when 
> starting LyX, but when trying to open another one I get an error message, as 
> attached, and cannot open it. I have to exit LyX and open the file I need, 
> then works fine. But again, I cannot open any other file.


> Also, whenever I reopen LyX the system keeps no memory of the fact that I 
> exited with an open document (I think the previously if exiting LyX without 
> closing a document, it would reopen on a LyX restart).
>
Generally this is an option that needs to be enabled in Tools > Prefs
> Document handling > Load opened files.

Liviu


> I am assuming this is a bug in the new version, but if anyone has any 
> suggestions on how to keep more than one file open at any one time, I’d be 
> very grateful!
>
> Many thanks,
> Paola
>



-- 
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: 2.2.0alpha2 - "LyX could not create temporary directory...."

2015-12-04 Thread Paola Manzini
thanks Liviu, just updated the preferences. The mysterious “LyX could not 
create temporary directory” etc error message remains, the workaround being to 
exit LyX, re-launch it and open the file. At least with keeping the last 
session I can now open many files :-)
Thank you,
paola

> On 4 Dec 2015, at 18:24, Liviu Andronic  wrote:
> 
> On Fri, Dec 4, 2015 at 4:32 PM, Paola Manzini  wrote:
>> 
>> Hi all,
>> 
>> I have a problem when opening files in the 2.2.0.alpha2 version of LyX on 
>> Mac OS El Capitan, which I only just noted. I can open any file (I think) 
>> when starting LyX, but when trying to open another one I get an error 
>> message, as attached, and cannot open it. I have to exit LyX and open the 
>> file I need, then works fine. But again, I cannot open any other file.
> 
> 
>> Also, whenever I reopen LyX the system keeps no memory of the fact that I 
>> exited with an open document (I think the previously if exiting LyX without 
>> closing a document, it would reopen on a LyX restart).
>> 
> Generally this is an option that needs to be enabled in Tools > Prefs
>> Document handling > Load opened files.
> 
> Liviu
> 
> 
>> I am assuming this is a bug in the new version, but if anyone has any 
>> suggestions on how to keep more than one file open at any one time, I’d be 
>> very grateful!
>> 
>> Many thanks,
>> Paola
>> 
> 
> 
> 
> -- 
> 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: threeparttablex with longtable

2015-12-04 Thread Tyler Grummett
Hello John,


Yes the normal threeparttable package works for me with normal tables in a 
table float, however I need table notes in a long table.


I have the following in ERT before the table (which is manually inserted using 
the lyx GUI)


\begin{ThreePartTable}
\begin{TableNotes}
\item[a] A note
\item[b] Another note
\end{TableNotes}


I then make the table. However the threeparttablex package asks for you to put 
in a line of ERT code that says \insertTableNotes, however as the code includes 
\end{longtable} when you make a table, you cant put it in anywhere.


I have compromised (if there is no solution) by inserting some ERT code in the 
bottom row of the table:


\footnotesize
1 = blah
2 = blah blah
3 = blah blah blah

which makes most of the code written before the table vestigial, Ill remove it 
if there isnt a solution haha.

Cheers for the prompt reply,

Tyler



*

Tyler Grummett ( BBSc, BSc(Hons I))
PhD Candidate
Brain Signals Laboratory
Flinders University
Rm 5A301
Ext 66125



From: John Kane 
Sent: Thursday, 3 December 2015 11:20 PM
To: Tyler Grummett
Cc: lyx-users@lists.lyx.org
Subject: Re: threeparttablex with longtable

Hi Tyler;
Could you upload a minimal example of the table. It is not clear to me exactly 
how you are using the ERT.

Is the entire table in the ERT or are you using a LyX-type table with the 
Insert commands in an ERT?

On 30 November 2015 at 20:17, Tyler Grummett 
> wrote:

Hello Lyx,


Im having a problem when using threeparttablex with longtables. In order to see 
the table I am working with, I have chosen to use ERT code to 
\begin{ThreePartTable} and then \begin{TableNotes}  \end{TableNotes} etc 
then ive inserted a table and made it a long table.


Everything works if you just put in the ERT code \end{ThreePartTable}, but then 
there are no actual table notes. I cant work out where to put the ERT code 
\insertTableNotes. According to the documentation, it needs to be inside the 
longtable, but I cant work out how to do it without getting an error 
\misaligned etc.


Please help.


Tyler


*

Tyler Grummett ( BBSc, BSc(Hons I))
PhD Candidate
Brain Signals Laboratory
Flinders University
Rm 5A301
Ext 66125



--
John Kane
Kingston ON Canada