Re: LyX-Produced Book

2011-12-03 Thread Liviu Andronic
On Tue, Nov 29, 2011 at 10:07 PM, Richard Heck rgh...@comcast.net wrote:

 My book, /Frege's Theorem/, which was both written with and typeset from
 LyX, has just recently been published by Oxford University Press. You

Congratulations on that!


 Thanks to everyone in the LyX community for such a great program, and
 for all the help I got on the user's list when I was starting out!

I wanted to thank you for the excellent job you are doing as a LyX
developer, and more recently as the branch maintainer.

Regards
Liviu


Re: Broken lines in tables

2011-12-03 Thread Wolfgang Engelmann
Am Freitag, 2. Dezember 2011, 12:47:14 schrieb Bianca Kranzusch:
 Hi!
 
 I'm still working on my diploma thesis, and another issue has come up.
 
 In some of my tables, I get broken horizontal lines. I have not been
 able so far to find out why this happens in some tables, and in others
 it doesn't. But it's really annoying.
 I have appended an example file with one of the tables that do this.
 
 Can anyone tell me how to avoid or fix this?
 Any help, as always, greatly appreciated!
 
 Thank you!
 Bianca

If I open your file the line you complain about is NOT broken. I am using 
Lyx 2.0.1

Wolfgang


Re: LyX-Produced Book

2011-12-03 Thread Abdelrazak Younes

On 29/11/2011 22:33, Vincent van Ravesteijn wrote:

Op 29-11-2011 22:23, Richard Heck schreef:

On 11/29/2011 04:17 PM, Stephan Witt wrote:

Am 29.11.2011 um 22:07 schrieb Richard Heck:


My book, /Frege's Theorem/, which was both written with and typeset
from
LyX, has just recently been published by Oxford University Press. You
can have a look at the pages, if you wish, from its page on Amazon:
http://www.amazon.com/Freges-Theorem-Richard-G-Heck/dp/0199695644/
LyX gets mentioned on p. xii, which seems currently to be part of the
preview. The font is just New Century Schoolbook. The document class
was written by me to OUP's specifications and will go up on CTAN when I
get some time.

Thanks to everyone in the LyX community for such a great program, and
for all the help I got on the user's list when I was starting out!

Cool. You're really productive!


Well, it's twenty years worth of work


Congratulations with the finishing of the work. As it looks more like
mathematics than philosophy, I'll certainly read it (if you send me the
pdf ;)).


Me too!

Congrats Richard.

Abdel


Ubuntu - Problem installing LyX 2.0.2

2011-12-03 Thread Francesco Menoncin

I am working on two pc's Ubuntu 11.01 and Windows 7.
I have already installed LyX 2.0.2 on Windows 7 and everything is fine 
(the new version works great).
I have problem with Ubuntu: the ./configure command works fine, but 
when I use the command make the process gives an error after the command


CXXLD lyx

and I receive the following message

/usr/lib/i386-linux-gnu/libgobject-2.0.so.0: undefined reference to 
'g_datalist_get_data'
/usr/lib/i386-linux-gnu/libgobject-2.0.so.0: undefined reference to 
'g_match_info_unref'
/usr/lib/i386-linux-gnu/libgobject-2.0.so.0: undefined reference to 
'g_match_info_ref'
/usr/lib/i386-linux-gnu/libgobject-2.0.so.0: undefined reference to 
'g_variatn_take_ref'

collect2: ld returned 1 exit status
make[4]: *** [lyx] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Any help?
Thank you so much
(qt4 and qt4-dev are both installed - version 4.7.4)

Francesco


Re: Ubuntu - Problem installing LyX 2.0.2

2011-12-03 Thread Liviu Andronic
On Sat, Dec 3, 2011 at 11:38 AM, Francesco Menoncin
menon...@eco.unibs.it wrote:
 I am working on two pc's Ubuntu 11.01 and Windows 7.
 I have already installed LyX 2.0.2 on Windows 7 and everything is fine (the
 new version works great).
 I have problem with Ubuntu: the ./configure command works fine, but when I
 use the command make the process gives an error after the command

 CXXLD lyx

 and I receive the following message

 /usr/lib/i386-linux-gnu/libgobject-2.0.so.0: undefined reference to
 'g_datalist_get_data'
 /usr/lib/i386-linux-gnu/libgobject-2.0.so.0: undefined reference to
 'g_match_info_unref'
 /usr/lib/i386-linux-gnu/libgobject-2.0.so.0: undefined reference to
 'g_match_info_ref'
 /usr/lib/i386-linux-gnu/libgobject-2.0.so.0: undefined reference to
 'g_variatn_take_ref'
 collect2: ld returned 1 exit status
 make[4]: *** [lyx] Error 1
 make[3]: *** [all-recursive] Error 1
 make[2]: *** [all] Error 2
 make[1]: *** [all-recursive] Error 1
 make: *** [all] Error 2

 Any help?
 Thank you so much
 (qt4 and qt4-dev are both installed - version 4.7.4)

This may not be sufficient. Try
apt-get build-dep lyx
./configure --enable-build-type=release
make
make install

Liviu


Re: Re: Broken lines in tables

2011-12-03 Thread Kornel Benko
Am Samstag, 3. Dezember 2011 um 10:53:00, schrieb Wolfgang Engelmann 
engelm...@uni-tuebingen.de
 Am Freitag, 2. Dezember 2011, 12:47:14 schrieb Bianca Kranzusch:
  Hi!
  
  I'm still working on my diploma thesis, and another issue has come up.
  
  In some of my tables, I get broken horizontal lines. I have not been
  able so far to find out why this happens in some tables, and in others
  it doesn't. But it's really annoying.
  I have appended an example file with one of the tables that do this.
  
  Can anyone tell me how to avoid or fix this?
  Any help, as always, greatly appreciated!
  
  Thank you!
  Bianca
 
 If I open your file the line you complain about is NOT broken. I am using 
 Lyx 2.0.1
 
 Wolfgang

It is the dvi/pdf display which is broken.

Kornel

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


Re: line spacing in lyxlist type lists

2011-12-03 Thread Liviu Andronic
On Sat, Dec 3, 2011 at 12:55 PM, Csikos Bela bcsikos...@freemail.hu wrote:
 Hello.
 Thank you again.
 I have built lyx 2.0.2 from the source file available at
 ftp://ftp.lyx.org/pub/lyx/stable/2.0.x/lyx-2.0.2.tar.gz

 Compilation and installaton went without errors, but
 the installation does not include enumitem.lyx file.

 /usr/local/lyx/2.0.2 ls -lR |grep enumitem
 -rw-r--r-- 1 root root  3206 2011-12-03 01:33 enumitem.module
  :/usr/local/lyx/2.0.2

I'm not sure why you don't have this file. I'm using 2.0.2, too.
http://wiki.lyx.org/Layouts/Modules#toc4


load the module, and insert the option via C-menu  Insert
Short Title.

 This was exactly what I wanted to do. I loaded the module, but
 insertshort title is greyed out when labeling list type is selected.

See last list in the attached. I guess it should do what you want.
Liviu

 I opened the file that you have attached.
 The greyed opt insert with the accompanying nolistsep ERT is visible in the 
 editor window, however this is not reflected in the text sourec code. See the 
 attached image, opened-doc-with-nolistsep-option.jpg.

I'm not sure what goes wrong. Perhaps it's a bug in LyX support of 'enumitem'.

Try to load the 'enumitem' module and then include the following in
the preamble:
\setlist{nolistsep} % or \setlist{noitemsep} to leave space around whole list
%\setlist{noitemsep}
%\setlist{itemsep=0pt,parsep=2pt,partopsep=0pt,topsep=0pt}

Note that this should have an effect on all the lists in your document.

Liviu


 If I delete that option the source does not change at all.
 See attached image opened-doc-without-nolistsep-option.jpg.

 Plus, I can not insert an option, as the insertshort list is greyed out in 
 my lyx 2.0.2.  (I don't know how to make a screenshot with an opened pulldown 
 menu, so I can't attach an image of the greyed out option.)

 And, no matter whether the option is present or deleted, the generated files 
 (pdf previews) look exactly the same. That is, the inserted option has no any 
 effect on the lookout of the generated document.

 I guess my lyx installation must be different from yours.
 Maybe your svn installation has more than the standard stable release?

 Thanks,

 bcsikos



-- 
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
Do you know how to write?
http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail


Re: Ubuntu - Problem installing LyX 2.0.2

2011-12-03 Thread Waluyo Adi Siswanto
On 3 December 2011 18:47, Liviu Andronic landronim...@gmail.com wrote:
 On Sat, Dec 3, 2011 at 11:38 AM, Francesco Menoncin
 menon...@eco.unibs.it wrote:
 I am working on two pc's Ubuntu 11.01 and Windows 7.
 I have already installed LyX 2.0.2 on Windows 7 and everything is fine (the
 new version works great).
 I have problem with Ubuntu: the ./configure command works fine, but when I
 use the command make the process gives an error after the command

 CXXLD lyx

 and I receive the following message

 /usr/lib/i386-linux-gnu/libgobject-2.0.so.0: undefined reference to
 'g_datalist_get_data'
 /usr/lib/i386-linux-gnu/libgobject-2.0.so.0: undefined reference to
 'g_match_info_unref'
 /usr/lib/i386-linux-gnu/libgobject-2.0.so.0: undefined reference to
 'g_match_info_ref'
 /usr/lib/i386-linux-gnu/libgobject-2.0.so.0: undefined reference to
 'g_variatn_take_ref'
 collect2: ld returned 1 exit status
 make[4]: *** [lyx] Error 1
 make[3]: *** [all-recursive] Error 1
 make[2]: *** [all] Error 2
 make[1]: *** [all-recursive] Error 1
 make: *** [all] Error 2

 Any help?
 Thank you so much
 (qt4 and qt4-dev are both installed - version 4.7.4)

 This may not be sufficient. Try
 apt-get build-dep lyx
 ./configure --enable-build-type=release
 make
 make install


If you compile for source it will take long.
Alternative update lyx 2-* to the lates one,  you can use getdeb repository.
I just update my lyx in Ubuntu 11.10 from getdeb. Only download 7+ MB,
then your LyX will be updated to 2.0.2 (release 30/11/11).

waluyo

 Liviu


Re: Ubuntu - Problem installing LyX 2.0.2

2011-12-03 Thread Francesco Menoncin

Il 03/12/2011 15:11, Waluyo Adi Siswanto ha scritto:

On 3 December 2011 18:47, Liviu Androniclandronim...@gmail.com  wrote:

On Sat, Dec 3, 2011 at 11:38 AM, Francesco Menoncin
menon...@eco.unibs.it  wrote:

I am working on two pc's Ubuntu 11.01 and Windows 7.
I have already installed LyX 2.0.2 on Windows 7 and everything is fine (the
new version works great).
I have problem with Ubuntu: the ./configure command works fine, but when I
use the command make the process gives an error after the command

CXXLD lyx

and I receive the following message

/usr/lib/i386-linux-gnu/libgobject-2.0.so.0: undefined reference to
'g_datalist_get_data'
/usr/lib/i386-linux-gnu/libgobject-2.0.so.0: undefined reference to
'g_match_info_unref'
/usr/lib/i386-linux-gnu/libgobject-2.0.so.0: undefined reference to
'g_match_info_ref'
/usr/lib/i386-linux-gnu/libgobject-2.0.so.0: undefined reference to
'g_variatn_take_ref'
collect2: ld returned 1 exit status
make[4]: *** [lyx] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Any help?
Thank you so much
(qt4 and qt4-dev are both installed - version 4.7.4)


This may not be sufficient. Try
apt-get build-dep lyx
./configure --enable-build-type=release
make
make install


If you compile for source it will take long.
Alternative update lyx 2-* to the lates one,  you can use getdeb repository.
I just update my lyx in Ubuntu 11.10 from getdeb. Only download 7+ MB,
then your LyX will be updated to 2.0.2 (release 30/11/11).

waluyo


Liviu
That of getdeb is a very good idea... but unfortunately it does not 
work. When I apply it, Ubuntu Software Center starts... and tells me 
that LyX has been installed today, but the version is still 2.0.1.

On the other hand, the solution proposed by Waluyo did not work either.

Francesco

--

Francesco Menoncin
Università degli Studi di Brescia
Facoltà di Economia
Via S. Faustino, 74/B
25122 Brescia (Italy)
Tel: 0039-030-2988806
Fax: 0039-030-2988837
E-mail: menon...@eco.unibs.it
web: www.eco.unibs.it/~menoncin/




Re: LyX and Kindle books

2011-12-03 Thread Alex Fernandez
Hi Rob,

On Fri, Dec 2, 2011 at 3:34 PM, Rob Oakes lyx-de...@oak-tree.us wrote:
 I am working on an ePub compatible module right now (document class at any 
 rate). It's for a talk I'm giving at a publishing conference next week. I 
 will try and post something about it next week.

 Does anyone know of a visual CSS editor that is open source? I'm trying to 
 find something that can spit out just CSS code.

I don't know of anything similar, I usually hand-tune the CSS. Do you
need anything from eLyXer at the moment? I suggest that you start with
the CSS classes in eLyXer, which are the result of careful tuning:
  http://elyxer.nongnu.org/lyx.css
There is also a separate file math.css which contains just the styles
for the equations:
  http://elyxer.nongnu.org/math.css

Alex.


Re: Ubuntu - Problem installing LyX 2.0.2

2011-12-03 Thread Xu Wang
On Sat, Dec 3, 2011 at 11:15 AM, Francesco Menoncin
menon...@eco.unibs.itwrote:

  Il 03/12/2011 15:11, Waluyo Adi Siswanto ha scritto:

 On 3 December 2011 18:47, Liviu Andronic landronim...@gmail.com 
 landronim...@gmail.com wrote:

  On Sat, Dec 3, 2011 at 11:38 AM, Francesco Menoncinmenon...@eco.unibs.it 
 menon...@eco.unibs.it wrote:

  I am working on two pc's Ubuntu 11.01 and Windows 7.
 I have already installed LyX 2.0.2 on Windows 7 and everything is fine (the
 new version works great).
 I have problem with Ubuntu: the ./configure command works fine, but when I
 use the command make the process gives an error after the command

 CXXLD lyx

 and I receive the following message

 /usr/lib/i386-linux-gnu/libgobject-2.0.so.0: undefined reference to
 'g_datalist_get_data'
 /usr/lib/i386-linux-gnu/libgobject-2.0.so.0: undefined reference to
 'g_match_info_unref'
 /usr/lib/i386-linux-gnu/libgobject-2.0.so.0: undefined reference to
 'g_match_info_ref'
 /usr/lib/i386-linux-gnu/libgobject-2.0.so.0: undefined reference to
 'g_variatn_take_ref'
 collect2: ld returned 1 exit status
 make[4]: *** [lyx] Error 1
 make[3]: *** [all-recursive] Error 1
 make[2]: *** [all] Error 2
 make[1]: *** [all-recursive] Error 1
 make: *** [all] Error 2

 Any help?
 Thank you so much
 (qt4 and qt4-dev are both installed - version 4.7.4)


  This may not be sufficient. Try
 apt-get build-dep lyx
 ./configure --enable-build-type=release
 make
 make install


  If you compile for source it will take long.
 Alternative update lyx 2-* to the lates one,  you can use getdeb repository.
 I just update my lyx in Ubuntu 11.10 from getdeb. Only download 7+ MB,
 then your LyX will be updated to 2.0.2 (release 30/11/11).

 waluyo


  Liviu

   That of getdeb is a very good idea... but unfortunately it does not
 work. When I apply it, Ubuntu Software Center starts... and tells me that
 LyX has been installed today, but the version is still 2.0.1.
 On the other hand, the solution proposed by Waluyo did not work either.

 Francesco

 --
 
 Francesco Menoncin
 Università degli Studi di Brescia
 Facoltà di Economia
 Via S. Faustino, 74/B
 25122 Brescia (Italy)
 Tel: 0039-030-2988806
 Fax: 0039-030-2988837
 E-mail: menon...@eco.unibs.it
 web: www.eco.unibs.it/~menoncin/
 


Maybe posting/attaching the output of ./configure would shed some light?


Re: Ubuntu - Problem installing LyX 2.0.2

2011-12-03 Thread Francesco Menoncin

Il 03/12/2011 19:16, Xu Wang ha scritto:



On Sat, Dec 3, 2011 at 11:15 AM, Francesco Menoncin 
menon...@eco.unibs.it mailto:menon...@eco.unibs.it wrote:


Il 03/12/2011 15:11, Waluyo Adi Siswanto ha scritto:

On 3 December 2011 18:47, Liviu Androniclandronim...@gmail.com  
mailto:landronim...@gmail.com  wrote:

On Sat, Dec 3, 2011 at 11:38 AM, Francesco Menoncin
menon...@eco.unibs.it  mailto:menon...@eco.unibs.it  wrote:

I am working on two pc's Ubuntu 11.01 and Windows 7.
I have already installed LyX 2.0.2 on Windows 7 and everything is fine (the
new version works great).
I have problem with Ubuntu: the ./configure command works fine, but when I
use the command make the process gives an error after the command

CXXLD lyx

and I receive the following message

/usr/lib/i386-linux-gnu/libgobject-2.0.so.0: undefined reference to
'g_datalist_get_data'
/usr/lib/i386-linux-gnu/libgobject-2.0.so.0: undefined reference to
'g_match_info_unref'
/usr/lib/i386-linux-gnu/libgobject-2.0.so.0: undefined reference to
'g_match_info_ref'
/usr/lib/i386-linux-gnu/libgobject-2.0.so.0: undefined reference to
'g_variatn_take_ref'
collect2: ld returned 1 exit status
make[4]: *** [lyx] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Any help?
Thank you so much
(qt4 and qt4-dev are both installed - version 4.7.4)


This may not be sufficient. Try
apt-get build-dep lyx
./configure --enable-build-type=release
make
make install


If you compile for source it will take long.
Alternative update lyx 2-* to the lates one,  you can use getdeb repository.
I just update my lyx in Ubuntu 11.10 from getdeb. Only download 7+ MB,
then your LyX will be updated to 2.0.2 (release 30/11/11).

waluyo


Liviu

That of getdeb is a very good idea... but unfortunately it does
not work. When I apply it, Ubuntu Software Center starts... and
tells me that LyX has been installed today, but the version is
still 2.0.1.
On the other hand, the solution proposed by Waluyo did not work
either.

Francesco

-- 


Francesco Menoncin
Università degli Studi di Brescia
Facoltà di Economia
Via S. Faustino, 74/B
25122 Brescia (Italy)
Tel: 0039-030-2988806
Fax: 0039-030-2988837
E-mail:menon...@eco.unibs.it  mailto:menon...@eco.unibs.it
web:www.eco.unibs.it/~menoncin/  http://www.eco.unibs.it/%7Emenoncin/



Maybe posting/attaching the output of ./configure would shed some light?


Here is the output:

configuring LyX version 2.0.2

checking for build type... release

checking for version suffix...

checking build system type... i686-pc-linux-gnu

checking host system type... i686-pc-linux-gnu

checking target system type... i686-pc-linux-gnu

checking what packaging should be used... posix

checking whether to enable maintainer-specific portions of Makefiles... no

checking for a BSD-compatible install... /usr/bin/install -c

checking whether build environment is sane... yes

checking for a thread-safe mkdir -p... /bin/mkdir -p

checking for gawk... gawk

checking whether make sets $(MAKE)... yes

checking for a Python interpreter with version = 2.3.4... python

checking for python... /usr/bin/python

checking for python version... 2.7

checking for python platform... linux2

checking for python script directory... 
${prefix}/lib/python2.7/dist-packages


checking for python extension module directory... 
${exec_prefix}/lib/python2.7/dist-packages


checking for style of include used by make... GNU

checking for gcc... gcc

checking whether the C compiler works... yes

checking for C compiler default output file name... a.out

checking for suffix of executables...

checking whether we are cross compiling... no

checking for suffix of object files... o

checking whether we are using the GNU C compiler... yes

checking whether gcc accepts -g... yes

checking for gcc option to accept ISO C89... none needed

checking dependency style of gcc... gcc3

checking how to run the C preprocessor... gcc -E

checking for grep that handles long lines and -e... /bin/grep

checking for egrep... /bin/grep -E

checking for ANSI C header files... yes

checking for sys/types.h... yes

checking for sys/stat.h... yes

checking for stdlib.h... yes

checking for string.h... yes

checking for memory.h... yes

checking for strings.h... yes

checking for inttypes.h... yes

checking for stdint.h... yes

checking for unistd.h... yes

checking whether byte ordering is bigendian... no

checking what frontend should be used for the GUI... qt4

checking for a good enough C++ compiler... g++

checking whether we are using the GNU C++ compiler... yes

checking whether g++ accepts -g... yes

checking dependency 

Re: LyX-Produced Book

2011-12-03 Thread Richard Heck
On 12/03/2011 04:27 AM, Liviu Andronic wrote:
 On Tue, Nov 29, 2011 at 10:07 PM, Richard Heck rgh...@comcast.net wrote:
 Thanks to everyone in the LyX community for such a great program, and
 for all the help I got on the user's list when I was starting out!

 I wanted to thank you for the excellent job you are doing as a LyX
 developer, and more recently as the branch maintainer.

Thanks!

Richard



Re: Ubuntu - Problem installing LyX 2.0.2

2011-12-03 Thread Waluyo Adi Siswanto
On 4 December 2011 00:15, Francesco Menoncin menon...@eco.unibs.it wrote:
 Il 03/12/2011 15:11, Waluyo Adi Siswanto ha scritto:

 On 3 December 2011 18:47, Liviu Andronic landronim...@gmail.com wrote:

 On Sat, Dec 3, 2011 at 11:38 AM, Francesco Menoncin
 menon...@eco.unibs.it wrote:

 I am working on two pc's Ubuntu 11.01 and Windows 7.
 I have already installed LyX 2.0.2 on Windows 7 and everything is fine (the
 new version works great).
 I have problem with Ubuntu: the ./configure command works fine, but when I
 use the command make the process gives an error after the command

 CXXLD lyx

 and I receive the following message

 /usr/lib/i386-linux-gnu/libgobject-2.0.so.0: undefined reference to
 'g_datalist_get_data'
 /usr/lib/i386-linux-gnu/libgobject-2.0.so.0: undefined reference to
 'g_match_info_unref'
 /usr/lib/i386-linux-gnu/libgobject-2.0.so.0: undefined reference to
 'g_match_info_ref'
 /usr/lib/i386-linux-gnu/libgobject-2.0.so.0: undefined reference to
 'g_variatn_take_ref'
 collect2: ld returned 1 exit status
 make[4]: *** [lyx] Error 1
 make[3]: *** [all-recursive] Error 1
 make[2]: *** [all] Error 2
 make[1]: *** [all-recursive] Error 1
 make: *** [all] Error 2

 Any help?
 Thank you so much
 (qt4 and qt4-dev are both installed - version 4.7.4)

 This may not be sufficient. Try
 apt-get build-dep lyx
 ./configure --enable-build-type=release
 make
 make install

 If you compile for source it will take long.
 Alternative update lyx 2-* to the lates one,  you can use getdeb repository.
 I just update my lyx in Ubuntu 11.10 from getdeb. Only download 7+ MB,
 then your LyX will be updated to 2.0.2 (release 30/11/11).

 waluyo

 Liviu

 That of getdeb is a very good idea... but unfortunately it does not work.
 When I apply it, Ubuntu Software Center starts... and tells me that LyX has
 been installed today, but the version is still 2.0.1.
 On the other hand, the solution proposed by Waluyo did not work either.


It won't work if directly click install.

You need to install getdeb (to write the getdeb repository address),
then update repository.
http://www.getdeb.net/updates/Ubuntu/11.10#how_to_install
You need no.1 then no.5. After that just install from update manager
(will download ~7MB).

waluyo


 Francesco

 --
 
 Francesco Menoncin
 Università degli Studi di Brescia
 Facoltà di Economia
 Via S. Faustino, 74/B
 25122 Brescia (Italy)
 Tel: 0039-030-2988806
 Fax: 0039-030-2988837
 E-mail: menon...@eco.unibs.it
 web: www.eco.unibs.it/~menoncin/
 


Re: Ubuntu - Problem installing LyX 2.0.2

2011-12-03 Thread Francesco Menoncin

Il 03/12/2011 23:13, Waluyo Adi Siswanto ha scritto:

On 4 December 2011 00:15, Francesco Menoncinmenon...@eco.unibs.it  wrote:

Il 03/12/2011 15:11, Waluyo Adi Siswanto ha scritto:

On 3 December 2011 18:47, Liviu Androniclandronim...@gmail.com  wrote:

On Sat, Dec 3, 2011 at 11:38 AM, Francesco Menoncin
menon...@eco.unibs.it  wrote:

I am working on two pc's Ubuntu 11.01 and Windows 7.
I have already installed LyX 2.0.2 on Windows 7 and everything is fine (the
new version works great).
I have problem with Ubuntu: the ./configure command works fine, but when I
use the command make the process gives an error after the command

CXXLD lyx

and I receive the following message

/usr/lib/i386-linux-gnu/libgobject-2.0.so.0: undefined reference to
'g_datalist_get_data'
/usr/lib/i386-linux-gnu/libgobject-2.0.so.0: undefined reference to
'g_match_info_unref'
/usr/lib/i386-linux-gnu/libgobject-2.0.so.0: undefined reference to
'g_match_info_ref'
/usr/lib/i386-linux-gnu/libgobject-2.0.so.0: undefined reference to
'g_variatn_take_ref'
collect2: ld returned 1 exit status
make[4]: *** [lyx] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Any help?
Thank you so much
(qt4 and qt4-dev are both installed - version 4.7.4)

This may not be sufficient. Try
apt-get build-dep lyx
./configure --enable-build-type=release
make
make install

If you compile for source it will take long.
Alternative update lyx 2-* to the lates one,  you can use getdeb repository.
I just update my lyx in Ubuntu 11.10 from getdeb. Only download 7+ MB,
then your LyX will be updated to 2.0.2 (release 30/11/11).

waluyo

Liviu

That of getdeb is a very good idea... but unfortunately it does not work.
When I apply it, Ubuntu Software Center starts... and tells me that LyX has
been installed today, but the version is still 2.0.1.
On the other hand, the solution proposed by Waluyo did not work either.


It won't work if directly click install.

You need to install getdeb (to write the getdeb repository address),
then update repository.
http://www.getdeb.net/updates/Ubuntu/11.10#how_to_install
You need no.1 then no.5. After that just install from update manager
(will download ~7MB).

waluyo

I already did all that.
I have uninstalled my previously source-installed LyX 2.0.1 and I 
installed it newly from getdeb. Now it works :-)

thanks

Francesco


Keyboard shortcut for cross-reference

2011-12-03 Thread Hal Kierstead
I am using LyX 2.02 on Mac 10.6.8.

How do I make a keyboard shortcut for inserting a cross-reference?  I asked 
this a year or two ago and got very complicated answer that I have 
unfortunately lost.  In the mean time I had instead made a keyboard short cut 
in OS X for the menu item, but this no longer seems to work in LyX 2.02.

In fact, each time I opened LyX, my old OS X keyboard short cut for the menu 
item only worked after I first inserted a cross-reference using the mouse, but 
I tolerated this peculiarity.

It seems that anything that you can do with a mouse click should be possible 
from the keyboard.

Thanks,

Hal 

LyX to Kindle, points to remember

2011-12-03 Thread Steve Litt
Hi all,

I'm making this thread in hopes that everyone who knows something on 
the subject will add something, and at the end we'll all know how to 
go from LyX to Kindle.

I'm quickly coming to the conclusion that the best way to do it is to 
write a post-processor for Alex's HTML. Simple, modular, and I can do 
it myself (and obviously make it free software). The post-processor 
might need to read the LyX file itself to get a few bits of information 
not in Alex's HTML file.

So far I've discovered that LyX pagebreaks don't translate to Kindle 
page breaks (start at top of reader). Therefore, to every h1 should 
be added the property style=page-break-before: always;. That way 
every chapter starts at the top of the reader.

I assume the official interpreter of the LyX project is Python, and if 
that assumption's true I'll make the postprocessor in Python. This 
post processing will be a heck of a lot easier if someone can point me 
to a good XML or HTML parser for Python, so I can look at nodes and 
attributes instead of trying to parse tags. I've noticed Alex's HTML 
appears very standard, with matching start and end tags and the like. 
This should theoretically make my job easier. So anyone have any 
suggestions for HTML or XML parsers for Python?

Other things I've noticed:

1) The LyX table of contents, when translated to HTML and then to 
Kindle format, crashes the Kindle previewer, so it must be removed 
from the HTML file and used to create an NCX TOC.

2) With the Kindle you probably don't want the title page, so there 
should be a post-processor option to capture the author, title and 
date, and then remove everything from the Title or Author 
environmented text to the next h1.

Hopefully this thread will serve as an accumulation of knowledge 
resulting in a post-processor. The post processor may simply serve as 
a stepping stone to a real conversion. I've found that often the 
best specification for the right solution is obtained by implementing 
and evaluating a quick and dirty solution.

Thanks

StevET
 
Steve Litt
Author: The Key to Everyday Excellence
http://www.troubleshooters.com/bookstore/key_excellence.htm
Twitter: http://www.twitter.com/stevelitt



Problem with view PDF

2011-12-03 Thread Tim Bunnell
Hi folks,

I just updated from 2.0.1 to 2.0.2 on Mac OS X Lion and I am having trouble 
with PDF generation following the update. Attempting to view PDF for the 
current buffer (e.g. View-View [PDF (pdflatex)]) results in an error dialog 
that says:

 File does not exist: 
/var/folders/d5/x83jmq6j2ss69xkfqb8cpcfhgn/T/lyx_tmpdir.L72863/lyx_tmpbuf2/npess.pdf

I was working on a file called npess.lyx. The directory listed in the error 
dialog does contain several files: a couple of .pdf graphics files; a .tex 
file, and a .tex.dep-pdf file that turns out to be an ascii file containing the 
path to the .tex file.

Has anyone encountered a similar problem or have suggestions for how to trace 
the cause of the problem?

Thanks,

t
---
Director, Center for Pediatric Auditory and Speech Sciences (CPASS)
Head, Speech Research Lab| Adjunct Associate Professor
duPont Hospital for Children | Comp. and Info. Sciences / Linguistics
Voice: 1+302+651-6835| University of Delaware
Fax:   1+302+651-6895| URL: www.asel.udel.edu/speech/






Lyx Cnet xlassification

2011-12-03 Thread Mark Livingstone
Hi guys,

I recently got my Cnet download.com notification for Lyx (Mac). Looking at
it, it has been classified as Mac Software  Educational Software  Math
Software  Lyx(Mac). When I look at that section,it has SPSS, Mathcad,
Matlab etc.

I think it should rather be closer to Word Processing, or Desktop
Publishing titles?

What do you all think?

Cheers,

MarkL


Re: LyX-Produced Book

2011-12-03 Thread Liviu Andronic
On Tue, Nov 29, 2011 at 10:07 PM, Richard Heck rgh...@comcast.net wrote:

 My book, /Frege's Theorem/, which was both written with and typeset from
 LyX, has just recently been published by Oxford University Press. You

Congratulations on that!


 Thanks to everyone in the LyX community for such a great program, and
 for all the help I got on the user's list when I was starting out!

I wanted to thank you for the excellent job you are doing as a LyX
developer, and more recently as the branch maintainer.

Regards
Liviu


Re: Broken lines in tables

2011-12-03 Thread Wolfgang Engelmann
Am Freitag, 2. Dezember 2011, 12:47:14 schrieb Bianca Kranzusch:
 Hi!
 
 I'm still working on my diploma thesis, and another issue has come up.
 
 In some of my tables, I get broken horizontal lines. I have not been
 able so far to find out why this happens in some tables, and in others
 it doesn't. But it's really annoying.
 I have appended an example file with one of the tables that do this.
 
 Can anyone tell me how to avoid or fix this?
 Any help, as always, greatly appreciated!
 
 Thank you!
 Bianca

If I open your file the line you complain about is NOT broken. I am using 
Lyx 2.0.1

Wolfgang


Re: LyX-Produced Book

2011-12-03 Thread Abdelrazak Younes

On 29/11/2011 22:33, Vincent van Ravesteijn wrote:

Op 29-11-2011 22:23, Richard Heck schreef:

On 11/29/2011 04:17 PM, Stephan Witt wrote:

Am 29.11.2011 um 22:07 schrieb Richard Heck:


My book, /Frege's Theorem/, which was both written with and typeset
from
LyX, has just recently been published by Oxford University Press. You
can have a look at the pages, if you wish, from its page on Amazon:
http://www.amazon.com/Freges-Theorem-Richard-G-Heck/dp/0199695644/
LyX gets mentioned on p. xii, which seems currently to be part of the
preview. The font is just New Century Schoolbook. The document class
was written by me to OUP's specifications and will go up on CTAN when I
get some time.

Thanks to everyone in the LyX community for such a great program, and
for all the help I got on the user's list when I was starting out!

Cool. You're really productive!


Well, it's twenty years worth of work


Congratulations with the finishing of the work. As it looks more like
mathematics than philosophy, I'll certainly read it (if you send me the
pdf ;)).


Me too!

Congrats Richard.

Abdel


Ubuntu - Problem installing LyX 2.0.2

2011-12-03 Thread Francesco Menoncin

I am working on two pc's Ubuntu 11.01 and Windows 7.
I have already installed LyX 2.0.2 on Windows 7 and everything is fine 
(the new version works great).
I have problem with Ubuntu: the ./configure command works fine, but 
when I use the command make the process gives an error after the command


CXXLD lyx

and I receive the following message

/usr/lib/i386-linux-gnu/libgobject-2.0.so.0: undefined reference to 
'g_datalist_get_data'
/usr/lib/i386-linux-gnu/libgobject-2.0.so.0: undefined reference to 
'g_match_info_unref'
/usr/lib/i386-linux-gnu/libgobject-2.0.so.0: undefined reference to 
'g_match_info_ref'
/usr/lib/i386-linux-gnu/libgobject-2.0.so.0: undefined reference to 
'g_variatn_take_ref'

collect2: ld returned 1 exit status
make[4]: *** [lyx] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Any help?
Thank you so much
(qt4 and qt4-dev are both installed - version 4.7.4)

Francesco


Re: Ubuntu - Problem installing LyX 2.0.2

2011-12-03 Thread Liviu Andronic
On Sat, Dec 3, 2011 at 11:38 AM, Francesco Menoncin
menon...@eco.unibs.it wrote:
 I am working on two pc's Ubuntu 11.01 and Windows 7.
 I have already installed LyX 2.0.2 on Windows 7 and everything is fine (the
 new version works great).
 I have problem with Ubuntu: the ./configure command works fine, but when I
 use the command make the process gives an error after the command

 CXXLD lyx

 and I receive the following message

 /usr/lib/i386-linux-gnu/libgobject-2.0.so.0: undefined reference to
 'g_datalist_get_data'
 /usr/lib/i386-linux-gnu/libgobject-2.0.so.0: undefined reference to
 'g_match_info_unref'
 /usr/lib/i386-linux-gnu/libgobject-2.0.so.0: undefined reference to
 'g_match_info_ref'
 /usr/lib/i386-linux-gnu/libgobject-2.0.so.0: undefined reference to
 'g_variatn_take_ref'
 collect2: ld returned 1 exit status
 make[4]: *** [lyx] Error 1
 make[3]: *** [all-recursive] Error 1
 make[2]: *** [all] Error 2
 make[1]: *** [all-recursive] Error 1
 make: *** [all] Error 2

 Any help?
 Thank you so much
 (qt4 and qt4-dev are both installed - version 4.7.4)

This may not be sufficient. Try
apt-get build-dep lyx
./configure --enable-build-type=release
make
make install

Liviu


Re: Re: Broken lines in tables

2011-12-03 Thread Kornel Benko
Am Samstag, 3. Dezember 2011 um 10:53:00, schrieb Wolfgang Engelmann 
engelm...@uni-tuebingen.de
 Am Freitag, 2. Dezember 2011, 12:47:14 schrieb Bianca Kranzusch:
  Hi!
  
  I'm still working on my diploma thesis, and another issue has come up.
  
  In some of my tables, I get broken horizontal lines. I have not been
  able so far to find out why this happens in some tables, and in others
  it doesn't. But it's really annoying.
  I have appended an example file with one of the tables that do this.
  
  Can anyone tell me how to avoid or fix this?
  Any help, as always, greatly appreciated!
  
  Thank you!
  Bianca
 
 If I open your file the line you complain about is NOT broken. I am using 
 Lyx 2.0.1
 
 Wolfgang

It is the dvi/pdf display which is broken.

Kornel

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


Re: line spacing in lyxlist type lists

2011-12-03 Thread Liviu Andronic
On Sat, Dec 3, 2011 at 12:55 PM, Csikos Bela bcsikos...@freemail.hu wrote:
 Hello.
 Thank you again.
 I have built lyx 2.0.2 from the source file available at
 ftp://ftp.lyx.org/pub/lyx/stable/2.0.x/lyx-2.0.2.tar.gz

 Compilation and installaton went without errors, but
 the installation does not include enumitem.lyx file.

 /usr/local/lyx/2.0.2 ls -lR |grep enumitem
 -rw-r--r-- 1 root root  3206 2011-12-03 01:33 enumitem.module
  :/usr/local/lyx/2.0.2

I'm not sure why you don't have this file. I'm using 2.0.2, too.
http://wiki.lyx.org/Layouts/Modules#toc4


load the module, and insert the option via C-menu  Insert
Short Title.

 This was exactly what I wanted to do. I loaded the module, but
 insertshort title is greyed out when labeling list type is selected.

See last list in the attached. I guess it should do what you want.
Liviu

 I opened the file that you have attached.
 The greyed opt insert with the accompanying nolistsep ERT is visible in the 
 editor window, however this is not reflected in the text sourec code. See the 
 attached image, opened-doc-with-nolistsep-option.jpg.

I'm not sure what goes wrong. Perhaps it's a bug in LyX support of 'enumitem'.

Try to load the 'enumitem' module and then include the following in
the preamble:
\setlist{nolistsep} % or \setlist{noitemsep} to leave space around whole list
%\setlist{noitemsep}
%\setlist{itemsep=0pt,parsep=2pt,partopsep=0pt,topsep=0pt}

Note that this should have an effect on all the lists in your document.

Liviu


 If I delete that option the source does not change at all.
 See attached image opened-doc-without-nolistsep-option.jpg.

 Plus, I can not insert an option, as the insertshort list is greyed out in 
 my lyx 2.0.2.  (I don't know how to make a screenshot with an opened pulldown 
 menu, so I can't attach an image of the greyed out option.)

 And, no matter whether the option is present or deleted, the generated files 
 (pdf previews) look exactly the same. That is, the inserted option has no any 
 effect on the lookout of the generated document.

 I guess my lyx installation must be different from yours.
 Maybe your svn installation has more than the standard stable release?

 Thanks,

 bcsikos



-- 
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
Do you know how to write?
http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail


Re: Ubuntu - Problem installing LyX 2.0.2

2011-12-03 Thread Waluyo Adi Siswanto
On 3 December 2011 18:47, Liviu Andronic landronim...@gmail.com wrote:
 On Sat, Dec 3, 2011 at 11:38 AM, Francesco Menoncin
 menon...@eco.unibs.it wrote:
 I am working on two pc's Ubuntu 11.01 and Windows 7.
 I have already installed LyX 2.0.2 on Windows 7 and everything is fine (the
 new version works great).
 I have problem with Ubuntu: the ./configure command works fine, but when I
 use the command make the process gives an error after the command

 CXXLD lyx

 and I receive the following message

 /usr/lib/i386-linux-gnu/libgobject-2.0.so.0: undefined reference to
 'g_datalist_get_data'
 /usr/lib/i386-linux-gnu/libgobject-2.0.so.0: undefined reference to
 'g_match_info_unref'
 /usr/lib/i386-linux-gnu/libgobject-2.0.so.0: undefined reference to
 'g_match_info_ref'
 /usr/lib/i386-linux-gnu/libgobject-2.0.so.0: undefined reference to
 'g_variatn_take_ref'
 collect2: ld returned 1 exit status
 make[4]: *** [lyx] Error 1
 make[3]: *** [all-recursive] Error 1
 make[2]: *** [all] Error 2
 make[1]: *** [all-recursive] Error 1
 make: *** [all] Error 2

 Any help?
 Thank you so much
 (qt4 and qt4-dev are both installed - version 4.7.4)

 This may not be sufficient. Try
 apt-get build-dep lyx
 ./configure --enable-build-type=release
 make
 make install


If you compile for source it will take long.
Alternative update lyx 2-* to the lates one,  you can use getdeb repository.
I just update my lyx in Ubuntu 11.10 from getdeb. Only download 7+ MB,
then your LyX will be updated to 2.0.2 (release 30/11/11).

waluyo

 Liviu


Re: Ubuntu - Problem installing LyX 2.0.2

2011-12-03 Thread Francesco Menoncin

Il 03/12/2011 15:11, Waluyo Adi Siswanto ha scritto:

On 3 December 2011 18:47, Liviu Androniclandronim...@gmail.com  wrote:

On Sat, Dec 3, 2011 at 11:38 AM, Francesco Menoncin
menon...@eco.unibs.it  wrote:

I am working on two pc's Ubuntu 11.01 and Windows 7.
I have already installed LyX 2.0.2 on Windows 7 and everything is fine (the
new version works great).
I have problem with Ubuntu: the ./configure command works fine, but when I
use the command make the process gives an error after the command

CXXLD lyx

and I receive the following message

/usr/lib/i386-linux-gnu/libgobject-2.0.so.0: undefined reference to
'g_datalist_get_data'
/usr/lib/i386-linux-gnu/libgobject-2.0.so.0: undefined reference to
'g_match_info_unref'
/usr/lib/i386-linux-gnu/libgobject-2.0.so.0: undefined reference to
'g_match_info_ref'
/usr/lib/i386-linux-gnu/libgobject-2.0.so.0: undefined reference to
'g_variatn_take_ref'
collect2: ld returned 1 exit status
make[4]: *** [lyx] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Any help?
Thank you so much
(qt4 and qt4-dev are both installed - version 4.7.4)


This may not be sufficient. Try
apt-get build-dep lyx
./configure --enable-build-type=release
make
make install


If you compile for source it will take long.
Alternative update lyx 2-* to the lates one,  you can use getdeb repository.
I just update my lyx in Ubuntu 11.10 from getdeb. Only download 7+ MB,
then your LyX will be updated to 2.0.2 (release 30/11/11).

waluyo


Liviu
That of getdeb is a very good idea... but unfortunately it does not 
work. When I apply it, Ubuntu Software Center starts... and tells me 
that LyX has been installed today, but the version is still 2.0.1.

On the other hand, the solution proposed by Waluyo did not work either.

Francesco

--

Francesco Menoncin
Università degli Studi di Brescia
Facoltà di Economia
Via S. Faustino, 74/B
25122 Brescia (Italy)
Tel: 0039-030-2988806
Fax: 0039-030-2988837
E-mail: menon...@eco.unibs.it
web: www.eco.unibs.it/~menoncin/




Re: LyX and Kindle books

2011-12-03 Thread Alex Fernandez
Hi Rob,

On Fri, Dec 2, 2011 at 3:34 PM, Rob Oakes lyx-de...@oak-tree.us wrote:
 I am working on an ePub compatible module right now (document class at any 
 rate). It's for a talk I'm giving at a publishing conference next week. I 
 will try and post something about it next week.

 Does anyone know of a visual CSS editor that is open source? I'm trying to 
 find something that can spit out just CSS code.

I don't know of anything similar, I usually hand-tune the CSS. Do you
need anything from eLyXer at the moment? I suggest that you start with
the CSS classes in eLyXer, which are the result of careful tuning:
  http://elyxer.nongnu.org/lyx.css
There is also a separate file math.css which contains just the styles
for the equations:
  http://elyxer.nongnu.org/math.css

Alex.


Re: Ubuntu - Problem installing LyX 2.0.2

2011-12-03 Thread Xu Wang
On Sat, Dec 3, 2011 at 11:15 AM, Francesco Menoncin
menon...@eco.unibs.itwrote:

  Il 03/12/2011 15:11, Waluyo Adi Siswanto ha scritto:

 On 3 December 2011 18:47, Liviu Andronic landronim...@gmail.com 
 landronim...@gmail.com wrote:

  On Sat, Dec 3, 2011 at 11:38 AM, Francesco Menoncinmenon...@eco.unibs.it 
 menon...@eco.unibs.it wrote:

  I am working on two pc's Ubuntu 11.01 and Windows 7.
 I have already installed LyX 2.0.2 on Windows 7 and everything is fine (the
 new version works great).
 I have problem with Ubuntu: the ./configure command works fine, but when I
 use the command make the process gives an error after the command

 CXXLD lyx

 and I receive the following message

 /usr/lib/i386-linux-gnu/libgobject-2.0.so.0: undefined reference to
 'g_datalist_get_data'
 /usr/lib/i386-linux-gnu/libgobject-2.0.so.0: undefined reference to
 'g_match_info_unref'
 /usr/lib/i386-linux-gnu/libgobject-2.0.so.0: undefined reference to
 'g_match_info_ref'
 /usr/lib/i386-linux-gnu/libgobject-2.0.so.0: undefined reference to
 'g_variatn_take_ref'
 collect2: ld returned 1 exit status
 make[4]: *** [lyx] Error 1
 make[3]: *** [all-recursive] Error 1
 make[2]: *** [all] Error 2
 make[1]: *** [all-recursive] Error 1
 make: *** [all] Error 2

 Any help?
 Thank you so much
 (qt4 and qt4-dev are both installed - version 4.7.4)


  This may not be sufficient. Try
 apt-get build-dep lyx
 ./configure --enable-build-type=release
 make
 make install


  If you compile for source it will take long.
 Alternative update lyx 2-* to the lates one,  you can use getdeb repository.
 I just update my lyx in Ubuntu 11.10 from getdeb. Only download 7+ MB,
 then your LyX will be updated to 2.0.2 (release 30/11/11).

 waluyo


  Liviu

   That of getdeb is a very good idea... but unfortunately it does not
 work. When I apply it, Ubuntu Software Center starts... and tells me that
 LyX has been installed today, but the version is still 2.0.1.
 On the other hand, the solution proposed by Waluyo did not work either.

 Francesco

 --
 
 Francesco Menoncin
 Università degli Studi di Brescia
 Facoltà di Economia
 Via S. Faustino, 74/B
 25122 Brescia (Italy)
 Tel: 0039-030-2988806
 Fax: 0039-030-2988837
 E-mail: menon...@eco.unibs.it
 web: www.eco.unibs.it/~menoncin/
 


Maybe posting/attaching the output of ./configure would shed some light?


Re: Ubuntu - Problem installing LyX 2.0.2

2011-12-03 Thread Francesco Menoncin

Il 03/12/2011 19:16, Xu Wang ha scritto:



On Sat, Dec 3, 2011 at 11:15 AM, Francesco Menoncin 
menon...@eco.unibs.it mailto:menon...@eco.unibs.it wrote:


Il 03/12/2011 15:11, Waluyo Adi Siswanto ha scritto:

On 3 December 2011 18:47, Liviu Androniclandronim...@gmail.com  
mailto:landronim...@gmail.com  wrote:

On Sat, Dec 3, 2011 at 11:38 AM, Francesco Menoncin
menon...@eco.unibs.it  mailto:menon...@eco.unibs.it  wrote:

I am working on two pc's Ubuntu 11.01 and Windows 7.
I have already installed LyX 2.0.2 on Windows 7 and everything is fine (the
new version works great).
I have problem with Ubuntu: the ./configure command works fine, but when I
use the command make the process gives an error after the command

CXXLD lyx

and I receive the following message

/usr/lib/i386-linux-gnu/libgobject-2.0.so.0: undefined reference to
'g_datalist_get_data'
/usr/lib/i386-linux-gnu/libgobject-2.0.so.0: undefined reference to
'g_match_info_unref'
/usr/lib/i386-linux-gnu/libgobject-2.0.so.0: undefined reference to
'g_match_info_ref'
/usr/lib/i386-linux-gnu/libgobject-2.0.so.0: undefined reference to
'g_variatn_take_ref'
collect2: ld returned 1 exit status
make[4]: *** [lyx] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Any help?
Thank you so much
(qt4 and qt4-dev are both installed - version 4.7.4)


This may not be sufficient. Try
apt-get build-dep lyx
./configure --enable-build-type=release
make
make install


If you compile for source it will take long.
Alternative update lyx 2-* to the lates one,  you can use getdeb repository.
I just update my lyx in Ubuntu 11.10 from getdeb. Only download 7+ MB,
then your LyX will be updated to 2.0.2 (release 30/11/11).

waluyo


Liviu

That of getdeb is a very good idea... but unfortunately it does
not work. When I apply it, Ubuntu Software Center starts... and
tells me that LyX has been installed today, but the version is
still 2.0.1.
On the other hand, the solution proposed by Waluyo did not work
either.

Francesco

-- 


Francesco Menoncin
Università degli Studi di Brescia
Facoltà di Economia
Via S. Faustino, 74/B
25122 Brescia (Italy)
Tel: 0039-030-2988806
Fax: 0039-030-2988837
E-mail:menon...@eco.unibs.it  mailto:menon...@eco.unibs.it
web:www.eco.unibs.it/~menoncin/  http://www.eco.unibs.it/%7Emenoncin/



Maybe posting/attaching the output of ./configure would shed some light?


Here is the output:

configuring LyX version 2.0.2

checking for build type... release

checking for version suffix...

checking build system type... i686-pc-linux-gnu

checking host system type... i686-pc-linux-gnu

checking target system type... i686-pc-linux-gnu

checking what packaging should be used... posix

checking whether to enable maintainer-specific portions of Makefiles... no

checking for a BSD-compatible install... /usr/bin/install -c

checking whether build environment is sane... yes

checking for a thread-safe mkdir -p... /bin/mkdir -p

checking for gawk... gawk

checking whether make sets $(MAKE)... yes

checking for a Python interpreter with version = 2.3.4... python

checking for python... /usr/bin/python

checking for python version... 2.7

checking for python platform... linux2

checking for python script directory... 
${prefix}/lib/python2.7/dist-packages


checking for python extension module directory... 
${exec_prefix}/lib/python2.7/dist-packages


checking for style of include used by make... GNU

checking for gcc... gcc

checking whether the C compiler works... yes

checking for C compiler default output file name... a.out

checking for suffix of executables...

checking whether we are cross compiling... no

checking for suffix of object files... o

checking whether we are using the GNU C compiler... yes

checking whether gcc accepts -g... yes

checking for gcc option to accept ISO C89... none needed

checking dependency style of gcc... gcc3

checking how to run the C preprocessor... gcc -E

checking for grep that handles long lines and -e... /bin/grep

checking for egrep... /bin/grep -E

checking for ANSI C header files... yes

checking for sys/types.h... yes

checking for sys/stat.h... yes

checking for stdlib.h... yes

checking for string.h... yes

checking for memory.h... yes

checking for strings.h... yes

checking for inttypes.h... yes

checking for stdint.h... yes

checking for unistd.h... yes

checking whether byte ordering is bigendian... no

checking what frontend should be used for the GUI... qt4

checking for a good enough C++ compiler... g++

checking whether we are using the GNU C++ compiler... yes

checking whether g++ accepts -g... yes

checking dependency 

Re: LyX-Produced Book

2011-12-03 Thread Richard Heck
On 12/03/2011 04:27 AM, Liviu Andronic wrote:
 On Tue, Nov 29, 2011 at 10:07 PM, Richard Heck rgh...@comcast.net wrote:
 Thanks to everyone in the LyX community for such a great program, and
 for all the help I got on the user's list when I was starting out!

 I wanted to thank you for the excellent job you are doing as a LyX
 developer, and more recently as the branch maintainer.

Thanks!

Richard



Re: Ubuntu - Problem installing LyX 2.0.2

2011-12-03 Thread Waluyo Adi Siswanto
On 4 December 2011 00:15, Francesco Menoncin menon...@eco.unibs.it wrote:
 Il 03/12/2011 15:11, Waluyo Adi Siswanto ha scritto:

 On 3 December 2011 18:47, Liviu Andronic landronim...@gmail.com wrote:

 On Sat, Dec 3, 2011 at 11:38 AM, Francesco Menoncin
 menon...@eco.unibs.it wrote:

 I am working on two pc's Ubuntu 11.01 and Windows 7.
 I have already installed LyX 2.0.2 on Windows 7 and everything is fine (the
 new version works great).
 I have problem with Ubuntu: the ./configure command works fine, but when I
 use the command make the process gives an error after the command

 CXXLD lyx

 and I receive the following message

 /usr/lib/i386-linux-gnu/libgobject-2.0.so.0: undefined reference to
 'g_datalist_get_data'
 /usr/lib/i386-linux-gnu/libgobject-2.0.so.0: undefined reference to
 'g_match_info_unref'
 /usr/lib/i386-linux-gnu/libgobject-2.0.so.0: undefined reference to
 'g_match_info_ref'
 /usr/lib/i386-linux-gnu/libgobject-2.0.so.0: undefined reference to
 'g_variatn_take_ref'
 collect2: ld returned 1 exit status
 make[4]: *** [lyx] Error 1
 make[3]: *** [all-recursive] Error 1
 make[2]: *** [all] Error 2
 make[1]: *** [all-recursive] Error 1
 make: *** [all] Error 2

 Any help?
 Thank you so much
 (qt4 and qt4-dev are both installed - version 4.7.4)

 This may not be sufficient. Try
 apt-get build-dep lyx
 ./configure --enable-build-type=release
 make
 make install

 If you compile for source it will take long.
 Alternative update lyx 2-* to the lates one,  you can use getdeb repository.
 I just update my lyx in Ubuntu 11.10 from getdeb. Only download 7+ MB,
 then your LyX will be updated to 2.0.2 (release 30/11/11).

 waluyo

 Liviu

 That of getdeb is a very good idea... but unfortunately it does not work.
 When I apply it, Ubuntu Software Center starts... and tells me that LyX has
 been installed today, but the version is still 2.0.1.
 On the other hand, the solution proposed by Waluyo did not work either.


It won't work if directly click install.

You need to install getdeb (to write the getdeb repository address),
then update repository.
http://www.getdeb.net/updates/Ubuntu/11.10#how_to_install
You need no.1 then no.5. After that just install from update manager
(will download ~7MB).

waluyo


 Francesco

 --
 
 Francesco Menoncin
 Università degli Studi di Brescia
 Facoltà di Economia
 Via S. Faustino, 74/B
 25122 Brescia (Italy)
 Tel: 0039-030-2988806
 Fax: 0039-030-2988837
 E-mail: menon...@eco.unibs.it
 web: www.eco.unibs.it/~menoncin/
 


Re: Ubuntu - Problem installing LyX 2.0.2

2011-12-03 Thread Francesco Menoncin

Il 03/12/2011 23:13, Waluyo Adi Siswanto ha scritto:

On 4 December 2011 00:15, Francesco Menoncinmenon...@eco.unibs.it  wrote:

Il 03/12/2011 15:11, Waluyo Adi Siswanto ha scritto:

On 3 December 2011 18:47, Liviu Androniclandronim...@gmail.com  wrote:

On Sat, Dec 3, 2011 at 11:38 AM, Francesco Menoncin
menon...@eco.unibs.it  wrote:

I am working on two pc's Ubuntu 11.01 and Windows 7.
I have already installed LyX 2.0.2 on Windows 7 and everything is fine (the
new version works great).
I have problem with Ubuntu: the ./configure command works fine, but when I
use the command make the process gives an error after the command

CXXLD lyx

and I receive the following message

/usr/lib/i386-linux-gnu/libgobject-2.0.so.0: undefined reference to
'g_datalist_get_data'
/usr/lib/i386-linux-gnu/libgobject-2.0.so.0: undefined reference to
'g_match_info_unref'
/usr/lib/i386-linux-gnu/libgobject-2.0.so.0: undefined reference to
'g_match_info_ref'
/usr/lib/i386-linux-gnu/libgobject-2.0.so.0: undefined reference to
'g_variatn_take_ref'
collect2: ld returned 1 exit status
make[4]: *** [lyx] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Any help?
Thank you so much
(qt4 and qt4-dev are both installed - version 4.7.4)

This may not be sufficient. Try
apt-get build-dep lyx
./configure --enable-build-type=release
make
make install

If you compile for source it will take long.
Alternative update lyx 2-* to the lates one,  you can use getdeb repository.
I just update my lyx in Ubuntu 11.10 from getdeb. Only download 7+ MB,
then your LyX will be updated to 2.0.2 (release 30/11/11).

waluyo

Liviu

That of getdeb is a very good idea... but unfortunately it does not work.
When I apply it, Ubuntu Software Center starts... and tells me that LyX has
been installed today, but the version is still 2.0.1.
On the other hand, the solution proposed by Waluyo did not work either.


It won't work if directly click install.

You need to install getdeb (to write the getdeb repository address),
then update repository.
http://www.getdeb.net/updates/Ubuntu/11.10#how_to_install
You need no.1 then no.5. After that just install from update manager
(will download ~7MB).

waluyo

I already did all that.
I have uninstalled my previously source-installed LyX 2.0.1 and I 
installed it newly from getdeb. Now it works :-)

thanks

Francesco


Keyboard shortcut for cross-reference

2011-12-03 Thread Hal Kierstead
I am using LyX 2.02 on Mac 10.6.8.

How do I make a keyboard shortcut for inserting a cross-reference?  I asked 
this a year or two ago and got very complicated answer that I have 
unfortunately lost.  In the mean time I had instead made a keyboard short cut 
in OS X for the menu item, but this no longer seems to work in LyX 2.02.

In fact, each time I opened LyX, my old OS X keyboard short cut for the menu 
item only worked after I first inserted a cross-reference using the mouse, but 
I tolerated this peculiarity.

It seems that anything that you can do with a mouse click should be possible 
from the keyboard.

Thanks,

Hal 

LyX to Kindle, points to remember

2011-12-03 Thread Steve Litt
Hi all,

I'm making this thread in hopes that everyone who knows something on 
the subject will add something, and at the end we'll all know how to 
go from LyX to Kindle.

I'm quickly coming to the conclusion that the best way to do it is to 
write a post-processor for Alex's HTML. Simple, modular, and I can do 
it myself (and obviously make it free software). The post-processor 
might need to read the LyX file itself to get a few bits of information 
not in Alex's HTML file.

So far I've discovered that LyX pagebreaks don't translate to Kindle 
page breaks (start at top of reader). Therefore, to every h1 should 
be added the property style=page-break-before: always;. That way 
every chapter starts at the top of the reader.

I assume the official interpreter of the LyX project is Python, and if 
that assumption's true I'll make the postprocessor in Python. This 
post processing will be a heck of a lot easier if someone can point me 
to a good XML or HTML parser for Python, so I can look at nodes and 
attributes instead of trying to parse tags. I've noticed Alex's HTML 
appears very standard, with matching start and end tags and the like. 
This should theoretically make my job easier. So anyone have any 
suggestions for HTML or XML parsers for Python?

Other things I've noticed:

1) The LyX table of contents, when translated to HTML and then to 
Kindle format, crashes the Kindle previewer, so it must be removed 
from the HTML file and used to create an NCX TOC.

2) With the Kindle you probably don't want the title page, so there 
should be a post-processor option to capture the author, title and 
date, and then remove everything from the Title or Author 
environmented text to the next h1.

Hopefully this thread will serve as an accumulation of knowledge 
resulting in a post-processor. The post processor may simply serve as 
a stepping stone to a real conversion. I've found that often the 
best specification for the right solution is obtained by implementing 
and evaluating a quick and dirty solution.

Thanks

StevET
 
Steve Litt
Author: The Key to Everyday Excellence
http://www.troubleshooters.com/bookstore/key_excellence.htm
Twitter: http://www.twitter.com/stevelitt



Problem with view PDF

2011-12-03 Thread Tim Bunnell
Hi folks,

I just updated from 2.0.1 to 2.0.2 on Mac OS X Lion and I am having trouble 
with PDF generation following the update. Attempting to view PDF for the 
current buffer (e.g. View-View [PDF (pdflatex)]) results in an error dialog 
that says:

 File does not exist: 
/var/folders/d5/x83jmq6j2ss69xkfqb8cpcfhgn/T/lyx_tmpdir.L72863/lyx_tmpbuf2/npess.pdf

I was working on a file called npess.lyx. The directory listed in the error 
dialog does contain several files: a couple of .pdf graphics files; a .tex 
file, and a .tex.dep-pdf file that turns out to be an ascii file containing the 
path to the .tex file.

Has anyone encountered a similar problem or have suggestions for how to trace 
the cause of the problem?

Thanks,

t
---
Director, Center for Pediatric Auditory and Speech Sciences (CPASS)
Head, Speech Research Lab| Adjunct Associate Professor
duPont Hospital for Children | Comp. and Info. Sciences / Linguistics
Voice: 1+302+651-6835| University of Delaware
Fax:   1+302+651-6895| URL: www.asel.udel.edu/speech/






Lyx Cnet xlassification

2011-12-03 Thread Mark Livingstone
Hi guys,

I recently got my Cnet download.com notification for Lyx (Mac). Looking at
it, it has been classified as Mac Software  Educational Software  Math
Software  Lyx(Mac). When I look at that section,it has SPSS, Mathcad,
Matlab etc.

I think it should rather be closer to Word Processing, or Desktop
Publishing titles?

What do you all think?

Cheers,

MarkL


Re: LyX-Produced Book

2011-12-03 Thread Liviu Andronic
On Tue, Nov 29, 2011 at 10:07 PM, Richard Heck  wrote:
>
> My book, /Frege's Theorem/, which was both written with and typeset from
> LyX, has just recently been published by Oxford University Press. You
>
Congratulations on that!


> Thanks to everyone in the LyX community for such a great program, and
> for all the help I got on the user's list when I was starting out!
>
I wanted to thank you for the excellent job you are doing as a LyX
developer, and more recently as the branch maintainer.

Regards
Liviu


Re: Broken lines in tables

2011-12-03 Thread Wolfgang Engelmann
Am Freitag, 2. Dezember 2011, 12:47:14 schrieb Bianca Kranzusch:
> Hi!
> 
> I'm still working on my diploma thesis, and another issue has come up.
> 
> In some of my tables, I get broken horizontal lines. I have not been
> able so far to find out why this happens in some tables, and in others
> it doesn't. But it's really annoying.
> I have appended an example file with one of the tables that do this.
> 
> Can anyone tell me how to avoid or fix this?
> Any help, as always, greatly appreciated!
> 
> Thank you!
> Bianca

If I open your file the line you complain about is NOT broken. I am using 
Lyx 2.0.1

Wolfgang


Re: LyX-Produced Book

2011-12-03 Thread Abdelrazak Younes

On 29/11/2011 22:33, Vincent van Ravesteijn wrote:

Op 29-11-2011 22:23, Richard Heck schreef:

On 11/29/2011 04:17 PM, Stephan Witt wrote:

Am 29.11.2011 um 22:07 schrieb Richard Heck:


My book, /Frege's Theorem/, which was both written with and typeset
from
LyX, has just recently been published by Oxford University Press. You
can have a look at the pages, if you wish, from its page on Amazon:
http://www.amazon.com/Freges-Theorem-Richard-G-Heck/dp/0199695644/
LyX gets mentioned on p. xii, which seems currently to be part of the
"preview". The font is just New Century Schoolbook. The document class
was written by me to OUP's specifications and will go up on CTAN when I
get some time.

Thanks to everyone in the LyX community for such a great program, and
for all the help I got on the user's list when I was starting out!

Cool. You're really productive!


Well, it's twenty years worth of work


Congratulations with the finishing of the work. As it looks more like
mathematics than philosophy, I'll certainly read it (if you send me the
pdf ;)).


Me too!

Congrats Richard.

Abdel


Ubuntu - Problem installing LyX 2.0.2

2011-12-03 Thread Francesco Menoncin

I am working on two pc's Ubuntu 11.01 and Windows 7.
I have already installed LyX 2.0.2 on Windows 7 and everything is fine 
(the new version works great).
I have problem with Ubuntu: the "./configure" command works fine, but 
when I use the command "make" the process gives an error after the command


CXXLD lyx

and I receive the following message

/usr/lib/i386-linux-gnu/libgobject-2.0.so.0: undefined reference to 
'g_datalist_get_data'
/usr/lib/i386-linux-gnu/libgobject-2.0.so.0: undefined reference to 
'g_match_info_unref'
/usr/lib/i386-linux-gnu/libgobject-2.0.so.0: undefined reference to 
'g_match_info_ref'
/usr/lib/i386-linux-gnu/libgobject-2.0.so.0: undefined reference to 
'g_variatn_take_ref'

collect2: ld returned 1 exit status
make[4]: *** [lyx] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Any help?
Thank you so much
(qt4 and qt4-dev are both installed - version 4.7.4)

Francesco


Re: Ubuntu - Problem installing LyX 2.0.2

2011-12-03 Thread Liviu Andronic
On Sat, Dec 3, 2011 at 11:38 AM, Francesco Menoncin
 wrote:
> I am working on two pc's Ubuntu 11.01 and Windows 7.
> I have already installed LyX 2.0.2 on Windows 7 and everything is fine (the
> new version works great).
> I have problem with Ubuntu: the "./configure" command works fine, but when I
> use the command "make" the process gives an error after the command
>
> CXXLD lyx
>
> and I receive the following message
>
> /usr/lib/i386-linux-gnu/libgobject-2.0.so.0: undefined reference to
> 'g_datalist_get_data'
> /usr/lib/i386-linux-gnu/libgobject-2.0.so.0: undefined reference to
> 'g_match_info_unref'
> /usr/lib/i386-linux-gnu/libgobject-2.0.so.0: undefined reference to
> 'g_match_info_ref'
> /usr/lib/i386-linux-gnu/libgobject-2.0.so.0: undefined reference to
> 'g_variatn_take_ref'
> collect2: ld returned 1 exit status
> make[4]: *** [lyx] Error 1
> make[3]: *** [all-recursive] Error 1
> make[2]: *** [all] Error 2
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
>
> Any help?
> Thank you so much
> (qt4 and qt4-dev are both installed - version 4.7.4)
>
This may not be sufficient. Try
apt-get build-dep lyx
./configure --enable-build-type=release
make
make install

Liviu


Re: Re: Broken lines in tables

2011-12-03 Thread Kornel Benko
Am Samstag, 3. Dezember 2011 um 10:53:00, schrieb Wolfgang Engelmann 

> Am Freitag, 2. Dezember 2011, 12:47:14 schrieb Bianca Kranzusch:
> > Hi!
> > 
> > I'm still working on my diploma thesis, and another issue has come up.
> > 
> > In some of my tables, I get broken horizontal lines. I have not been
> > able so far to find out why this happens in some tables, and in others
> > it doesn't. But it's really annoying.
> > I have appended an example file with one of the tables that do this.
> > 
> > Can anyone tell me how to avoid or fix this?
> > Any help, as always, greatly appreciated!
> > 
> > Thank you!
> > Bianca
> 
> If I open your file the line you complain about is NOT broken. I am using 
> Lyx 2.0.1
> 
> Wolfgang

It is the dvi/pdf display which is broken.

Kornel

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


Re: line spacing in lyxlist type lists

2011-12-03 Thread Liviu Andronic
On Sat, Dec 3, 2011 at 12:55 PM, Csikos Bela  wrote:
> Hello.
> Thank you again.
> I have built lyx 2.0.2 from the source file available at
> ftp://ftp.lyx.org/pub/lyx/stable/2.0.x/lyx-2.0.2.tar.gz
>
> Compilation and installaton went without errors, but
> the installation does not include enumitem.lyx file.
>
> /usr/local/lyx/2.0.2> ls -lR |grep enumitem
> -rw-r--r-- 1 root root  3206 2011-12-03 01:33 enumitem.module
>  :/usr/local/lyx/2.0.2>
>
I'm not sure why you don't have this file. I'm using 2.0.2, too.
http://wiki.lyx.org/Layouts/Modules#toc4


>>>load the module, and insert the option via C-menu > Insert>>
>>>Short Title.>>
>>>
>> This was exactly what I wanted to do. I loaded the module, but>
>> insert>short title is greyed out when labeling list type is selected.>
>>>
>>See last list in the attached. I guess it should do what you want.>
>>Liviu>
>
> I opened the file that you have attached.
> The greyed opt insert with the accompanying nolistsep ERT is visible in the 
> editor window, however this is not reflected in the text sourec code. See the 
> attached image, opened-doc-with-nolistsep-option.jpg.
>
I'm not sure what goes wrong. Perhaps it's a bug in LyX support of 'enumitem'.

Try to load the 'enumitem' module and then include the following in
the preamble:
\setlist{nolistsep} % or \setlist{noitemsep} to leave space around whole list
%\setlist{noitemsep}
%\setlist{itemsep=0pt,parsep=2pt,partopsep=0pt,topsep=0pt}

Note that this should have an effect on all the lists in your document.

Liviu


> If I delete that option the source does not change at all.
> See attached image opened-doc-without-nolistsep-option.jpg.
>
> Plus, I can not insert an option, as the insert>short list is greyed out in 
> my lyx 2.0.2.  (I don't know how to make a screenshot with an opened pulldown 
> menu, so I can't attach an image of the greyed out option.)
>
> And, no matter whether the option is present or deleted, the generated files 
> (pdf previews) look exactly the same. That is, the inserted option has no any 
> effect on the lookout of the generated document.
>
> I guess my lyx installation must be different from yours.
> Maybe your svn installation has more than the standard stable release?
>
> Thanks,
>
> bcsikos



-- 
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
Do you know how to write?
http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail


Re: Ubuntu - Problem installing LyX 2.0.2

2011-12-03 Thread Waluyo Adi Siswanto
On 3 December 2011 18:47, Liviu Andronic  wrote:
> On Sat, Dec 3, 2011 at 11:38 AM, Francesco Menoncin
>  wrote:
>> I am working on two pc's Ubuntu 11.01 and Windows 7.
>> I have already installed LyX 2.0.2 on Windows 7 and everything is fine (the
>> new version works great).
>> I have problem with Ubuntu: the "./configure" command works fine, but when I
>> use the command "make" the process gives an error after the command
>>
>> CXXLD lyx
>>
>> and I receive the following message
>>
>> /usr/lib/i386-linux-gnu/libgobject-2.0.so.0: undefined reference to
>> 'g_datalist_get_data'
>> /usr/lib/i386-linux-gnu/libgobject-2.0.so.0: undefined reference to
>> 'g_match_info_unref'
>> /usr/lib/i386-linux-gnu/libgobject-2.0.so.0: undefined reference to
>> 'g_match_info_ref'
>> /usr/lib/i386-linux-gnu/libgobject-2.0.so.0: undefined reference to
>> 'g_variatn_take_ref'
>> collect2: ld returned 1 exit status
>> make[4]: *** [lyx] Error 1
>> make[3]: *** [all-recursive] Error 1
>> make[2]: *** [all] Error 2
>> make[1]: *** [all-recursive] Error 1
>> make: *** [all] Error 2
>>
>> Any help?
>> Thank you so much
>> (qt4 and qt4-dev are both installed - version 4.7.4)
>>
> This may not be sufficient. Try
> apt-get build-dep lyx
> ./configure --enable-build-type=release
> make
> make install
>

If you compile for source it will take long.
Alternative update lyx 2-* to the lates one,  you can use getdeb repository.
I just update my lyx in Ubuntu 11.10 from getdeb. Only download 7+ MB,
then your LyX will be updated to 2.0.2 (release 30/11/11).

waluyo

> Liviu


Re: Ubuntu - Problem installing LyX 2.0.2

2011-12-03 Thread Francesco Menoncin

Il 03/12/2011 15:11, Waluyo Adi Siswanto ha scritto:

On 3 December 2011 18:47, Liviu Andronic  wrote:

On Sat, Dec 3, 2011 at 11:38 AM, Francesco Menoncin
  wrote:

I am working on two pc's Ubuntu 11.01 and Windows 7.
I have already installed LyX 2.0.2 on Windows 7 and everything is fine (the
new version works great).
I have problem with Ubuntu: the "./configure" command works fine, but when I
use the command "make" the process gives an error after the command

CXXLD lyx

and I receive the following message

/usr/lib/i386-linux-gnu/libgobject-2.0.so.0: undefined reference to
'g_datalist_get_data'
/usr/lib/i386-linux-gnu/libgobject-2.0.so.0: undefined reference to
'g_match_info_unref'
/usr/lib/i386-linux-gnu/libgobject-2.0.so.0: undefined reference to
'g_match_info_ref'
/usr/lib/i386-linux-gnu/libgobject-2.0.so.0: undefined reference to
'g_variatn_take_ref'
collect2: ld returned 1 exit status
make[4]: *** [lyx] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Any help?
Thank you so much
(qt4 and qt4-dev are both installed - version 4.7.4)


This may not be sufficient. Try
apt-get build-dep lyx
./configure --enable-build-type=release
make
make install


If you compile for source it will take long.
Alternative update lyx 2-* to the lates one,  you can use getdeb repository.
I just update my lyx in Ubuntu 11.10 from getdeb. Only download 7+ MB,
then your LyX will be updated to 2.0.2 (release 30/11/11).

waluyo


Liviu
That of getdeb is a very good idea... but unfortunately it does not 
work. When I apply it, Ubuntu Software Center starts... and tells me 
that LyX has been installed today, but the version is still 2.0.1.

On the other hand, the solution proposed by Waluyo did not work either.

Francesco

--

Francesco Menoncin
Università degli Studi di Brescia
Facoltà di Economia
Via S. Faustino, 74/B
25122 Brescia (Italy)
Tel: 0039-030-2988806
Fax: 0039-030-2988837
E-mail: menon...@eco.unibs.it
web: www.eco.unibs.it/~menoncin/




Re: LyX and Kindle books

2011-12-03 Thread Alex Fernandez
Hi Rob,

On Fri, Dec 2, 2011 at 3:34 PM, Rob Oakes  wrote:
> I am working on an ePub compatible module right now (document class at any 
> rate). It's for a talk I'm giving at a publishing conference next week. I 
> will try and post something about it next week.
>
> Does anyone know of a visual CSS editor that is open source? I'm trying to 
> find something that can spit out just CSS code.

I don't know of anything similar, I usually hand-tune the CSS. Do you
need anything from eLyXer at the moment? I suggest that you start with
the CSS classes in eLyXer, which are the result of careful tuning:
  http://elyxer.nongnu.org/lyx.css
There is also a separate file math.css which contains just the styles
for the equations:
  http://elyxer.nongnu.org/math.css

Alex.


Re: Ubuntu - Problem installing LyX 2.0.2

2011-12-03 Thread Xu Wang
On Sat, Dec 3, 2011 at 11:15 AM, Francesco Menoncin
wrote:

>  Il 03/12/2011 15:11, Waluyo Adi Siswanto ha scritto:
>
> On 3 December 2011 18:47, Liviu Andronic  
>  wrote:
>
>  On Sat, Dec 3, 2011 at 11:38 AM, Francesco Menoncin 
>  wrote:
>
>  I am working on two pc's Ubuntu 11.01 and Windows 7.
> I have already installed LyX 2.0.2 on Windows 7 and everything is fine (the
> new version works great).
> I have problem with Ubuntu: the "./configure" command works fine, but when I
> use the command "make" the process gives an error after the command
>
> CXXLD lyx
>
> and I receive the following message
>
> /usr/lib/i386-linux-gnu/libgobject-2.0.so.0: undefined reference to
> 'g_datalist_get_data'
> /usr/lib/i386-linux-gnu/libgobject-2.0.so.0: undefined reference to
> 'g_match_info_unref'
> /usr/lib/i386-linux-gnu/libgobject-2.0.so.0: undefined reference to
> 'g_match_info_ref'
> /usr/lib/i386-linux-gnu/libgobject-2.0.so.0: undefined reference to
> 'g_variatn_take_ref'
> collect2: ld returned 1 exit status
> make[4]: *** [lyx] Error 1
> make[3]: *** [all-recursive] Error 1
> make[2]: *** [all] Error 2
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
>
> Any help?
> Thank you so much
> (qt4 and qt4-dev are both installed - version 4.7.4)
>
>
>  This may not be sufficient. Try
> apt-get build-dep lyx
> ./configure --enable-build-type=release
> make
> make install
>
>
>  If you compile for source it will take long.
> Alternative update lyx 2-* to the lates one,  you can use getdeb repository.
> I just update my lyx in Ubuntu 11.10 from getdeb. Only download 7+ MB,
> then your LyX will be updated to 2.0.2 (release 30/11/11).
>
> waluyo
>
>
>  Liviu
>
>   That of getdeb is a very good idea... but unfortunately it does not
> work. When I apply it, Ubuntu Software Center starts... and tells me that
> LyX has been installed today, but the version is still 2.0.1.
> On the other hand, the solution proposed by Waluyo did not work either.
>
> Francesco
>
> --
> 
> Francesco Menoncin
> Università degli Studi di Brescia
> Facoltà di Economia
> Via S. Faustino, 74/B
> 25122 Brescia (Italy)
> Tel: 0039-030-2988806
> Fax: 0039-030-2988837
> E-mail: menon...@eco.unibs.it
> web: www.eco.unibs.it/~menoncin/
> 
>
>
Maybe posting/attaching the output of ./configure would shed some light?


Re: Ubuntu - Problem installing LyX 2.0.2

2011-12-03 Thread Francesco Menoncin

Il 03/12/2011 19:16, Xu Wang ha scritto:



On Sat, Dec 3, 2011 at 11:15 AM, Francesco Menoncin 
> wrote:


Il 03/12/2011 15:11, Waluyo Adi Siswanto ha scritto:

On 3 December 2011 18:47, Liviu Andronic  
  wrote:

On Sat, Dec 3, 2011 at 11:38 AM, Francesco Menoncin
    wrote:

I am working on two pc's Ubuntu 11.01 and Windows 7.
I have already installed LyX 2.0.2 on Windows 7 and everything is fine (the
new version works great).
I have problem with Ubuntu: the "./configure" command works fine, but when I
use the command "make" the process gives an error after the command

CXXLD lyx

and I receive the following message

/usr/lib/i386-linux-gnu/libgobject-2.0.so.0: undefined reference to
'g_datalist_get_data'
/usr/lib/i386-linux-gnu/libgobject-2.0.so.0: undefined reference to
'g_match_info_unref'
/usr/lib/i386-linux-gnu/libgobject-2.0.so.0: undefined reference to
'g_match_info_ref'
/usr/lib/i386-linux-gnu/libgobject-2.0.so.0: undefined reference to
'g_variatn_take_ref'
collect2: ld returned 1 exit status
make[4]: *** [lyx] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Any help?
Thank you so much
(qt4 and qt4-dev are both installed - version 4.7.4)


This may not be sufficient. Try
apt-get build-dep lyx
./configure --enable-build-type=release
make
make install


If you compile for source it will take long.
Alternative update lyx 2-* to the lates one,  you can use getdeb repository.
I just update my lyx in Ubuntu 11.10 from getdeb. Only download 7+ MB,
then your LyX will be updated to 2.0.2 (release 30/11/11).

waluyo


Liviu

That of getdeb is a very good idea... but unfortunately it does
not work. When I apply it, Ubuntu Software Center starts... and
tells me that LyX has been installed today, but the version is
still 2.0.1.
On the other hand, the solution proposed by Waluyo did not work
either.

Francesco

-- 


Francesco Menoncin
Università degli Studi di Brescia
Facoltà di Economia
Via S. Faustino, 74/B
25122 Brescia (Italy)
Tel: 0039-030-2988806
Fax: 0039-030-2988837
E-mail:menon...@eco.unibs.it  
web:www.eco.unibs.it/~menoncin/  



Maybe posting/attaching the output of ./configure would shed some light?


Here is the output:

configuring LyX version 2.0.2

checking for build type... release

checking for version suffix...

checking build system type... i686-pc-linux-gnu

checking host system type... i686-pc-linux-gnu

checking target system type... i686-pc-linux-gnu

checking what packaging should be used... posix

checking whether to enable maintainer-specific portions of Makefiles... no

checking for a BSD-compatible install... /usr/bin/install -c

checking whether build environment is sane... yes

checking for a thread-safe mkdir -p... /bin/mkdir -p

checking for gawk... gawk

checking whether make sets $(MAKE)... yes

checking for a Python interpreter with version >= 2.3.4... python

checking for python... /usr/bin/python

checking for python version... 2.7

checking for python platform... linux2

checking for python script directory... 
${prefix}/lib/python2.7/dist-packages


checking for python extension module directory... 
${exec_prefix}/lib/python2.7/dist-packages


checking for style of include used by make... GNU

checking for gcc... gcc

checking whether the C compiler works... yes

checking for C compiler default output file name... a.out

checking for suffix of executables...

checking whether we are cross compiling... no

checking for suffix of object files... o

checking whether we are using the GNU C compiler... yes

checking whether gcc accepts -g... yes

checking for gcc option to accept ISO C89... none needed

checking dependency style of gcc... gcc3

checking how to run the C preprocessor... gcc -E

checking for grep that handles long lines and -e... /bin/grep

checking for egrep... /bin/grep -E

checking for ANSI C header files... yes

checking for sys/types.h... yes

checking for sys/stat.h... yes

checking for stdlib.h... yes

checking for string.h... yes

checking for memory.h... yes

checking for strings.h... yes

checking for inttypes.h... yes

checking for stdint.h... yes

checking for unistd.h... yes

checking whether byte ordering is bigendian... no

checking what frontend should be used for the GUI... qt4

checking for a good enough C++ compiler... g++

checking whether we are using the GNU C++ compiler... yes

checking whether g++ accepts -g... yes


Re: LyX-Produced Book

2011-12-03 Thread Richard Heck
On 12/03/2011 04:27 AM, Liviu Andronic wrote:
> On Tue, Nov 29, 2011 at 10:07 PM, Richard Heck  wrote:
>> Thanks to everyone in the LyX community for such a great program, and
>> for all the help I got on the user's list when I was starting out!
>>
> I wanted to thank you for the excellent job you are doing as a LyX
> developer, and more recently as the branch maintainer.
>
Thanks!

Richard



Re: Ubuntu - Problem installing LyX 2.0.2

2011-12-03 Thread Waluyo Adi Siswanto
On 4 December 2011 00:15, Francesco Menoncin  wrote:
> Il 03/12/2011 15:11, Waluyo Adi Siswanto ha scritto:
>
> On 3 December 2011 18:47, Liviu Andronic  wrote:
>
> On Sat, Dec 3, 2011 at 11:38 AM, Francesco Menoncin
>  wrote:
>
> I am working on two pc's Ubuntu 11.01 and Windows 7.
> I have already installed LyX 2.0.2 on Windows 7 and everything is fine (the
> new version works great).
> I have problem with Ubuntu: the "./configure" command works fine, but when I
> use the command "make" the process gives an error after the command
>
> CXXLD lyx
>
> and I receive the following message
>
> /usr/lib/i386-linux-gnu/libgobject-2.0.so.0: undefined reference to
> 'g_datalist_get_data'
> /usr/lib/i386-linux-gnu/libgobject-2.0.so.0: undefined reference to
> 'g_match_info_unref'
> /usr/lib/i386-linux-gnu/libgobject-2.0.so.0: undefined reference to
> 'g_match_info_ref'
> /usr/lib/i386-linux-gnu/libgobject-2.0.so.0: undefined reference to
> 'g_variatn_take_ref'
> collect2: ld returned 1 exit status
> make[4]: *** [lyx] Error 1
> make[3]: *** [all-recursive] Error 1
> make[2]: *** [all] Error 2
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
>
> Any help?
> Thank you so much
> (qt4 and qt4-dev are both installed - version 4.7.4)
>
> This may not be sufficient. Try
> apt-get build-dep lyx
> ./configure --enable-build-type=release
> make
> make install
>
> If you compile for source it will take long.
> Alternative update lyx 2-* to the lates one,  you can use getdeb repository.
> I just update my lyx in Ubuntu 11.10 from getdeb. Only download 7+ MB,
> then your LyX will be updated to 2.0.2 (release 30/11/11).
>
> waluyo
>
> Liviu
>
> That of getdeb is a very good idea... but unfortunately it does not work.
> When I apply it, Ubuntu Software Center starts... and tells me that LyX has
> been installed today, but the version is still 2.0.1.
> On the other hand, the solution proposed by Waluyo did not work either.
>

It won't work if directly click install.

You need to install getdeb (to write the getdeb repository address),
then update repository.
http://www.getdeb.net/updates/Ubuntu/11.10#how_to_install
You need no.1 then no.5. After that just install from update manager
(will download ~7MB).

waluyo


> Francesco
>
> --
> 
> Francesco Menoncin
> Università degli Studi di Brescia
> Facoltà di Economia
> Via S. Faustino, 74/B
> 25122 Brescia (Italy)
> Tel: 0039-030-2988806
> Fax: 0039-030-2988837
> E-mail: menon...@eco.unibs.it
> web: www.eco.unibs.it/~menoncin/
> 


Re: Ubuntu - Problem installing LyX 2.0.2

2011-12-03 Thread Francesco Menoncin

Il 03/12/2011 23:13, Waluyo Adi Siswanto ha scritto:

On 4 December 2011 00:15, Francesco Menoncin  wrote:

Il 03/12/2011 15:11, Waluyo Adi Siswanto ha scritto:

On 3 December 2011 18:47, Liviu Andronic  wrote:

On Sat, Dec 3, 2011 at 11:38 AM, Francesco Menoncin
  wrote:

I am working on two pc's Ubuntu 11.01 and Windows 7.
I have already installed LyX 2.0.2 on Windows 7 and everything is fine (the
new version works great).
I have problem with Ubuntu: the "./configure" command works fine, but when I
use the command "make" the process gives an error after the command

CXXLD lyx

and I receive the following message

/usr/lib/i386-linux-gnu/libgobject-2.0.so.0: undefined reference to
'g_datalist_get_data'
/usr/lib/i386-linux-gnu/libgobject-2.0.so.0: undefined reference to
'g_match_info_unref'
/usr/lib/i386-linux-gnu/libgobject-2.0.so.0: undefined reference to
'g_match_info_ref'
/usr/lib/i386-linux-gnu/libgobject-2.0.so.0: undefined reference to
'g_variatn_take_ref'
collect2: ld returned 1 exit status
make[4]: *** [lyx] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Any help?
Thank you so much
(qt4 and qt4-dev are both installed - version 4.7.4)

This may not be sufficient. Try
apt-get build-dep lyx
./configure --enable-build-type=release
make
make install

If you compile for source it will take long.
Alternative update lyx 2-* to the lates one,  you can use getdeb repository.
I just update my lyx in Ubuntu 11.10 from getdeb. Only download 7+ MB,
then your LyX will be updated to 2.0.2 (release 30/11/11).

waluyo

Liviu

That of getdeb is a very good idea... but unfortunately it does not work.
When I apply it, Ubuntu Software Center starts... and tells me that LyX has
been installed today, but the version is still 2.0.1.
On the other hand, the solution proposed by Waluyo did not work either.


It won't work if directly click install.

You need to install getdeb (to write the getdeb repository address),
then update repository.
http://www.getdeb.net/updates/Ubuntu/11.10#how_to_install
You need no.1 then no.5. After that just install from update manager
(will download ~7MB).

waluyo

I already did all that.
I have uninstalled my previously source-installed LyX 2.0.1 and I 
installed it newly from getdeb. Now it works :-)

thanks

Francesco


Keyboard shortcut for cross-reference

2011-12-03 Thread Hal Kierstead
I am using LyX 2.02 on Mac 10.6.8.

How do I make a keyboard shortcut for inserting a cross-reference?  I asked 
this a year or two ago and got very complicated answer that I have 
unfortunately lost.  In the mean time I had instead made a keyboard short cut 
in OS X for the menu item, but this no longer seems to work in LyX 2.02.

In fact, each time I opened LyX, my old OS X keyboard short cut for the menu 
item only worked after I first inserted a cross-reference using the mouse, but 
I tolerated this peculiarity.

It seems that anything that you can do with a mouse click should be possible 
from the keyboard.

Thanks,

Hal 

LyX to Kindle, points to remember

2011-12-03 Thread Steve Litt
Hi all,

I'm making this thread in hopes that everyone who knows something on 
the subject will add something, and at the end we'll all know how to 
go from LyX to Kindle.

I'm quickly coming to the conclusion that the best way to do it is to 
write a post-processor for Alex's HTML. Simple, modular, and I can do 
it myself (and obviously make it free software). The post-processor 
might need to read the LyX file itself to get a few bits of information 
not in Alex's HTML file.

So far I've discovered that LyX pagebreaks don't translate to Kindle 
page breaks (start at top of reader). Therefore, to every  should 
be added the property style="page-break-before: always;". That way 
every chapter starts at the top of the reader.

I assume the official interpreter of the LyX project is Python, and if 
that assumption's true I'll make the postprocessor in Python. This 
post processing will be a heck of a lot easier if someone can point me 
to a good XML or HTML parser for Python, so I can look at nodes and 
attributes instead of trying to parse tags. I've noticed Alex's HTML 
appears very standard, with matching start and end tags and the like. 
This should theoretically make my job easier. So anyone have any 
suggestions for HTML or XML parsers for Python?

Other things I've noticed:

1) The LyX table of contents, when translated to HTML and then to 
Kindle format, crashes the Kindle previewer, so it must be removed 
from the HTML file and used to create an NCX TOC.

2) With the Kindle you probably don't want the title page, so there 
should be a post-processor option to capture the author, title and 
date, and then remove everything from the Title or Author 
environmented text to the next .

Hopefully this thread will serve as an accumulation of knowledge 
resulting in a post-processor. The post processor may simply serve as 
a stepping stone to a "real conversion". I've found that often the 
best specification for the right solution is obtained by implementing 
and evaluating a quick and dirty solution.

Thanks

StevET
 
Steve Litt
Author: The Key to Everyday Excellence
http://www.troubleshooters.com/bookstore/key_excellence.htm
Twitter: http://www.twitter.com/stevelitt



Problem with view PDF

2011-12-03 Thread Tim Bunnell
Hi folks,

I just updated from 2.0.1 to 2.0.2 on Mac OS X Lion and I am having trouble 
with PDF generation following the update. Attempting to view PDF for the 
current buffer (e.g. View->View [PDF (pdflatex)]) results in an error dialog 
that says:

 File does not exist: 
/var/folders/d5/x83jmq6j2ss69xkfqb8cpcfhgn/T/lyx_tmpdir.L72863/lyx_tmpbuf2/npess.pdf

I was working on a file called npess.lyx. The directory listed in the error 
dialog does contain several files: a couple of .pdf graphics files; a .tex 
file, and a .tex.dep-pdf file that turns out to be an ascii file containing the 
path to the .tex file.

Has anyone encountered a similar problem or have suggestions for how to trace 
the cause of the problem?

Thanks,

t
---
Director, Center for Pediatric Auditory and Speech Sciences (CPASS)
Head, Speech Research Lab| Adjunct Associate Professor
duPont Hospital for Children | Comp. and Info. Sciences / Linguistics
Voice: 1+302+651-6835| University of Delaware
Fax:   1+302+651-6895| URL: www.asel.udel.edu/speech/






Lyx Cnet xlassification

2011-12-03 Thread Mark Livingstone
Hi guys,

I recently got my Cnet download.com notification for Lyx (Mac). Looking at
it, it has been classified as Mac Software > Educational Software > Math
Software > Lyx(Mac). When I look at that section,it has SPSS, Mathcad,
Matlab etc.

I think it should rather be closer to Word Processing, or Desktop
Publishing titles?

What do you all think?

Cheers,

MarkL