Re: lexlive2011 and Debian squeeze

2011-09-14 Thread Guenter Milde
On 2011-09-13, David L. Johnson wrote:
 On 09/13/2011 10:01 AM, Wolfgang Engelmann wrote:
 Could somebody who uses Debian squeeze and texlive2011 share his 
 experience installing it with me (and others)?. Where is texlive 
 installed and how do I make sure that lyx is using it (and also other 
 programs which use tex/latex such as xfig etc), i.e. the Path setting? 
 At the moment I have downloaded the unx.tar.gz package, which is 
 waiting to be unpacked and further manipulated.

 I am using wheezy, not squeeze (the testing distribution rather than 
 the stable), but texlive has always been trivial to install, and is a 
 big improvement over the previous version of tex that came with debian 
 (whose name I forgot).

The old tetex packages are long gone, but even Debian/unstable is still at
TeXLive 2009! If you want to work with LuaTeX or the unicode-math package,
updating the TeXLive distro is a must.

I would put texlive 2011 under /usr/local/...

I don't know whether some paths still need adjustment or the common
preference of /usr/local/... over /usr/... will suffice.

If space is an issue, a dummy package could be used to fullfill
requirements of LyX etc. and all Debian texlive packages removed.


Günter



Re: Unable to install MikTex with Lyx 2.0

2011-09-14 Thread Christian Wilhelmsen
I guess I am experiencing some of this problems because I work on a network
station. Even though I have administrator rights,
I just can not get this to work.

If the LyX installer just could have downloaded MikTex like it did before I
think it would have worked, since 1.6 worked flawlessly on the same (school)
network.

2011/9/13 Brian Linfoot br...@linfoot.myzen.co.uk

 On 13/09/2011 15:44, Christian Wilhelmsen wrote:

 Tried to compile, and get this output from messages:

 16:42:41.737: Previewing ...

 16:42:41.743: (buffer-view: Ctrl+R)

 16:42:41.798: pdflatex file.tex

 16:42:41.868: This is pdfTeX, Version 3.1415926-1.40.11 (MiKTeX 2.9)

 16:42:42.829: (Fatal format file error; I'm stymied)

 D:\LyXSVN\LyX2.0.x\src\**support\Systemcall.cpp(259): Systemcall:
 'pdflatex file.tex' finished with exit code 1

 Error: Cannot view file

 --**--

 File does not exist: C:/Users/chriswil.AD/AppData/**
 Local/Temp/lyx_tmpdir.Hp4684/**lyx_tmpbuf2/file.pdf

 16:42:47.585: Error while previewing format: pdf2



  I seem to remember having seen this before with LyX 2.0.0

 I suspect  your LyX installation possibly has  screwed up it's temp
 directory path,
 Do you have an old lyx version on your system? I've had a new LyX setup
 part grab an old set of user preferences
 Suggest you check your lyx temp directory set in tools/preferences matches
 C:/Users/chriswil.AD/AppData/**Local/Temp/
 Try a file search for file.pdf while you have a coffee break.
 Best to close and reopen  LyX after  you reset and save any path in
 preferences. ; apply  doesn't seem to do the trick reliably
 It gets frustrating but it is sortable;
 Best wishes
 brian



Re: Unable to install MikTex with Lyx 2.0

2011-09-14 Thread Christian Wilhelmsen
Just discovered that reconfiguration LyX suddenly didn't work because of
permission denied.
Reconfigured as admin, tried to output the PDF and got this.

File does not exist: C:\lyx_tmpdir.gq4904\lyx_tmpbuf2/newfile.pdf

##
12:39:56.755: Previewing ...

12:39:56.760: (buffer-view: Ctrl+R)

12:39:56.812: pdflatex newfile1.tex

12:39:56.961: This is pdfTeX, Version 3.1415926-1.40.11 (MiKTeX 2.9)

12:39:58.467: (Fatal format file error; I'm stymied)

D:\LyXSVN\LyX2.0.x\src\support\Systemcall.cpp(259): Systemcall: 'pdflatex
newfile1.tex' finished with exit code 1

Error: Cannot view file



File does not exist: C:/lyx_tmpdir.gq4904/lyx_tmpbuf2/newfile1.pdf

12:42:02.362: Error while previewing format: pdf2
#

This folder contains two files:

newfile1.tex.dep-pdf
and
newfile1.tex

Is this useful for helping me further?


 Thank you very much!

2011/9/14 Christian Wilhelmsen christian.wilhelmse...@gmail.com

 I guess I am experiencing some of this problems because I work on a network
 station. Even though I have administrator rights,
 I just can not get this to work.

 If the LyX installer just could have downloaded MikTex like it did before I
 think it would have worked, since 1.6 worked flawlessly on the same (school)
 network.


 2011/9/13 Brian Linfoot br...@linfoot.myzen.co.uk

 On 13/09/2011 15:44, Christian Wilhelmsen wrote:

 Tried to compile, and get this output from messages:

 16:42:41.737: Previewing ...

 16:42:41.743: (buffer-view: Ctrl+R)

 16:42:41.798: pdflatex file.tex

 16:42:41.868: This is pdfTeX, Version 3.1415926-1.40.11 (MiKTeX 2.9)

 16:42:42.829: (Fatal format file error; I'm stymied)

 D:\LyXSVN\LyX2.0.x\src\**support\Systemcall.cpp(259): Systemcall:
 'pdflatex file.tex' finished with exit code 1

 Error: Cannot view file

 --**--

 File does not exist: C:/Users/chriswil.AD/AppData/**
 Local/Temp/lyx_tmpdir.Hp4684/**lyx_tmpbuf2/file.pdf

 16:42:47.585: Error while previewing format: pdf2



  I seem to remember having seen this before with LyX 2.0.0

 I suspect  your LyX installation possibly has  screwed up it's temp
 directory path,
 Do you have an old lyx version on your system? I've had a new LyX setup
 part grab an old set of user preferences
 Suggest you check your lyx temp directory set in tools/preferences matches
 C:/Users/chriswil.AD/AppData/**Local/Temp/
 Try a file search for file.pdf while you have a coffee break.
 Best to close and reopen  LyX after  you reset and save any path in
 preferences. ; apply  doesn't seem to do the trick reliably
 It gets frustrating but it is sortable;
 Best wishes
 brian





Re: Unable to install MikTex with Lyx 2.0

2011-09-14 Thread Olivier Ripoll

On 13.09.2011 16:26, Christian Wilhelmsen wrote:

The LaTeX log under Document is blanked out.

Attaching the .lyx and .tex


works for me with Windows 7 prof. 64 bits, using MikTeX 2.9 (32 bits) + 
Lyx 2.0.1 (unofficial).


However, I installed MikTeX manually before installing LyX. Perhaps you 
should try that way.


Best regards,

Olivier




2011/9/13 Liviu Andronic landronim...@gmail.com
mailto:landronim...@gmail.com

On Tue, Sep 13, 2011 at 4:01 PM, Christian Wilhelmsen
christian.wilhelmse...@gmail.com
mailto:christian.wilhelmse...@gmail.com wrote:
  How can I generate a log-file?
 
  This is an exported LaTeX-file from LyX (if you need it)
 
The guys on this list would usually prefer the *.lyx file. To access
the log, try to compile the document then go to teh menu item Document
  LaTeX log.

Liviu






Re: Lyx: theme Frankfurt (beamer) impossible?

2011-09-14 Thread Liviu Andronic
(please address such questions to lyx-users)


On Wed, Sep 14, 2011 at 3:29 PM, Andre Boom boom.an...@googlemail.com wrote:
 I´ve installed lyx 2.0.0 and miktex 2.9. Now i want to create a presentation
 with the
 theme beamer:frankfurt.

Start with
File  New from Template

then open
beamer*.lyx

then go to
Document  Settings  Preamble

and instead of the first line use
\usetheme{Frankfurt}

Liviu


 Thank you very much:
 Greetings
 André Boom
 P.S.
 I want to presentate on Friday



-- 
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


compiling lyx 2.0.1

2011-09-14 Thread Wolfgang Engelmann

In trying to compile the new lyx2.0.1 I encounter the following errors:

(I am using Debian squeeze)

 The following problems have been detected by configure.
 Please check the messages below before running 'make'.
 (see the section 'Problems' in the INSTALL file)

** Cannot find zlib.h. Please check that the zlib library
   is correctly installed on your system.
however, dpkg-dev is installed

** Cannot find X window libraries and/or headers.
under what package do I find these?

** moc 4 binary not found !

** uic 4 binary not found !

** qt 4 library not found !

libqt4 is installed

Thanks for help and wish a good day (at least better than mine, see above)

Wolfgang


Re: compiling lyx 2.0.1

2011-09-14 Thread Liviu Andronic
On Wed, Sep 14, 2011 at 4:29 PM, Wolfgang Engelmann
engelm...@uni-tuebingen.de wrote:
 In trying to compile the new lyx2.0.1 I encounter the following errors:

 (I am using Debian squeeze)

  The following problems have been detected by configure.
  Please check the messages below before running 'make'.
  (see the section 'Problems' in the INSTALL file)

 ** Cannot find zlib.h. Please check that the zlib library
   is correctly installed on your system.
 however, dpkg-dev is installed

 ** Cannot find X window libraries and/or headers.
 under what package do I find these?

You're missing most *-dev packages for Qt. Try to run
'apt-get build-dep lyx'

and then ./configure  make.

Please report if it worked.
Liviu


 ** moc 4 binary not found !

 ** uic 4 binary not found !

 ** qt 4 library not found !

 libqt4 is installed

 Thanks for help and wish a good day (at least better than mine, see above)

 Wolfgang




-- 
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: compiling lyx 2.0.1

2011-09-14 Thread Richard Heck

On 09/14/2011 10:29 AM, Wolfgang Engelmann wrote:

In trying to compile the new lyx2.0.1 I encounter the following errors:

(I am using Debian squeeze)

 The following problems have been detected by configure.
 Please check the messages below before running 'make'.
 (see the section 'Problems' in the INSTALL file)

** Cannot find zlib.h. Please check that the zlib library
   is correctly installed on your system.
however, dpkg-dev is installed


Is zlib.h present?


** Cannot find X window libraries and/or headers.
under what package do I find these?


Something like xorg-devel.


** moc 4 binary not found !

** uic 4 binary not found !

** qt 4 library not found !

libqt4 is installed


You need the devel packages, too.

Isn't there a way on Debian of doing something like:
apt-get build-depends lyx
?? I seem to recall such a thing, but it's been a while

Richard



Re: compiling lyx 2.0.1

2011-09-14 Thread Richard Heck

On 09/14/2011 10:36 AM, Liviu Andronic wrote:


You're missing most *-dev packages for Qt. Try to run
'apt-get build-dep lyx'

Ah, that was it

rh



Re: compiling lyx 2.0.1

2011-09-14 Thread Wolfgang Engelmann

Quoting Liviu Andronic landronim...@gmail.com:


On Wed, Sep 14, 2011 at 4:29 PM, Wolfgang Engelmann
engelm...@uni-tuebingen.de wrote:

In trying to compile the new lyx2.0.1 I encounter the following errors:

(I am using Debian squeeze)

 The following problems have been detected by configure.
 Please check the messages below before running 'make'.
 (see the section 'Problems' in the INSTALL file)

** Cannot find zlib.h. Please check that the zlib library
  is correctly installed on your system.
however, dpkg-dev is installed

** Cannot find X window libraries and/or headers.
under what package do I find these?


You're missing most *-dev packages for Qt. Try to run
'apt-get build-dep lyx'


Thanks, Liviu,
but:


and then ./configure  make.

Please report if it worked.


root@wolfgang:/home/wolfgang/Downloads/lyx-2.0.1# apt-get build-dep lyx
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut
Statusinformationen werden eingelesen... Fertig
E: Datei  
/var/lib/apt/lists/security.debian.org_dists_squeeze_updates_contrib_source_Sources konnte nicht geöffnet werden - open (2: Datei oder Verzeichnis nicht  
gefunden)



Is something wrong with my /etc/apt/sources.list?
-

deb http://security.debian.org/ squeeze/updates main contrib non-free
deb-src http://security.debian.org/ squeeze/updates main contrib non-free

# squeeze-updates, previously known as 'volatile'
# A network mirror was not selected during install.  The following entries
# are provided as examples, but you should amend them as appropriate
# for your mirror of choice.

deb http://ftp.debian.org/debian/ squeeze-updates main contrib non-free
deb-src http://ftp.debian.org/debian/ squeeze-updates main contrib non-free

Wolfgang


Re: compiling lyx 2.0.1

2011-09-14 Thread Wolfgang Engelmann

Quoting Richard Heck rgh...@comcast.net:


On 09/14/2011 10:29 AM, Wolfgang Engelmann wrote:

In trying to compile the new lyx2.0.1 I encounter the following errors:

(I am using Debian squeeze)

 The following problems have been detected by configure.
 Please check the messages below before running 'make'.
 (see the section 'Problems' in the INSTALL file)

** Cannot find zlib.h. Please check that the zlib library
  is correctly installed on your system.
however, dpkg-dev is installed


Is zlib.h present?


yes, as zlib1g, and it says:
compression library - runtime
zlib is a library implementing the deflate compression method found
in gzip and PKZIP.  This package includes the shared library.




** Cannot find X window libraries and/or headers.
under what package do I find these?


Something like xorg-devel.


** moc 4 binary not found !

** uic 4 binary not found !

** qt 4 library not found !

libqt4 is installed


You need the devel packages, too.

Isn't there a way on Debian of doing something like:
apt-get build-depends lyx
?? I seem to recall such a thing, but it's been a while

Richard







Re: lexlive2011 and Debian squeeze

2011-09-14 Thread David L. Johnson

On 09/14/2011 05:26 AM, Guenter Milde wrote:

The old tetex packages are long gone, but even Debian/unstable is still at
TeXLive 2009! If you want to work with LuaTeX or the unicode-math package,
updating the TeXLive distro is a must.
Oops.  I did not pay attention to texlive2011 being the issue.  Sorry 
for my misunderstanding.


--

David L. Johnson

And though I have the gift of prophecy, and understand all mysteries,
and all knowledge; and though I have all faith, so that I could remove
mountains, and have not charity, I am nothing. [1 Corinth. 13:2]



Re: compiling lyx 2.0.1

2011-09-14 Thread Liviu Andronic
On Wed, Sep 14, 2011 at 5:47 PM, Wolfgang Engelmann
engelm...@uni-tuebingen.de wrote:
 root@wolfgang:/home/wolfgang/Downloads/lyx-2.0.1# apt-get build-dep lyx
 Paketlisten werden gelesen... Fertig
 Abhängigkeitsbaum wird aufgebaut
 Statusinformationen werden eingelesen... Fertig
 E: Datei
 /var/lib/apt/lists/security.debian.org_dists_squeeze_updates_contrib_source_Sources
 konnte nicht geöffnet werden - open (2: Datei oder Verzeichnis nicht
 gefunden)


 Is something wrong with my /etc/apt/sources.list?

I can hardly understand German, but apt often complains when some
other instance of the package manager is open. Have you closed all
instances of synaptic, aptitute, etc., prior to running the command?
Liviu


pdflatex never finishes (LyX 2.0.1)

2011-09-14 Thread Matthias Hunstig
Hello everybody,

today, I installed LyX 2.0.1 using Uwe's installer 
(http://developer.berlios.de/project/showfiles.php?group_id=5117release_id=18767)
 over my somewhat broken 2.0 installation 
(http://thread.gmane.org/gmane.editors.lyx.general/70495/focus=70618, main 
cause seems to be a problem with network drives and/or limited rights users in 
WinXP) in the hope that it might fix something.

Unfortunately, things got worse instead. Pdflatex now runs infinitely long (not 
proven, but at least very long, i. e. over one hour for a one page document) in 
the background. Tex files are created in the temporary folder, but no pdf is 
created. Any idea why this might be and how it could be solved?

To be honest, I am quite frustrated with LyX now. I love it when it works, but 
in the last weeks I spent more time fixing problems than actually writing in 
LyX. I just stumpled across Portable Lyx 2.0 
(http://portable-lyx.impossible-exil.info/). Maybe this is a solution for me 
and other people struggeling with installation problems.

Regards

Matthias


Re: Importing excel/gnumeric to LyX

2011-09-14 Thread Helge Hafting

On 10. sep. 2011 16:14, Christian Wilhelmsen wrote:

Hi!

When trying to import and .xls or .gnumeric to LyX 2.0 I get the error
message:

no information for converting gnumeric format files to latex.
Define a converter in the preferences.

I understand what it asks of me, but I can't seem to figure out how to
define the converter.
I have installed gnumeric on my computer.


You should not need to define a converter, LyX supports ssconvert
which usually comes with gnumeric.

Is the ssconvert program in your PATH? If LyX cannot find ssconvert,
then the conversion from gnumeric to latex won't work. Because ssconvert
does that job.

Maybe you have installed gnumeric without ssconvert?

Helge Hafting


Re: pdflatex never finishes (LyX 2.0.1)

2011-09-14 Thread Liviu Andronic
On Wed, Sep 14, 2011 at 7:08 PM, Matthias Hunstig
matthias.huns...@uni-paderborn.de wrote:
 Hello everybody,

 today, I installed LyX 2.0.1 using Uwe's installer 
 (http://developer.berlios.de/project/showfiles.php?group_id=5117release_id=18767)
  over my somewhat broken 2.0 installation 
 (http://thread.gmane.org/gmane.editors.lyx.general/70495/focus=70618, main 
 cause seems to be a problem with network drives and/or limited rights users 
 in WinXP) in the hope that it might fix something.

 Unfortunately, things got worse instead. Pdflatex now runs infinitely long 
 (not proven, but at least very long, i. e. over one hour for a one page 
 document) in the background. Tex files are created in the temporary folder, 
 but no pdf is created. Any idea why this might be and how it could be solved?

 To be honest, I am quite frustrated with LyX now. I love it when it works, 
 but in the last weeks I spent more time fixing problems than actually writing 
 in LyX. I just stumpled across Portable Lyx 2.0 
 (http://portable-lyx.impossible-exil.info/). Maybe this is a solution for me 
 and other people struggeling with installation problems.

Or you could try Cygwin (on Windows), or installing a Linux distro
such as Ubuntu in a Virtual Machine such as VMWare. This worked pretty
fine for me when I needed to use Windows, and sometimes it is less of
a hassle than getting an open-source thingy working on Windows. If you
install in a VMWare you need only very little knowledge about Linux.

I cannot help with your actual problem. Sorry
Liviu


 Regards

 Matthias




-- 
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


Doxygen generated pages included in LyX document

2011-09-14 Thread Manveru
Hi LyXers,

Has anyone ever successfully embed parts of Doxygen generated
documentation into LyX documents (Appendix in my case)?

I would like to have couple pages of the documentation be presented as
appendixes in my thesis, however single latex file included in LyX
want work due to Lonely \item errors, and I cannot include all
refman.tex as it is full documents with all headers.

Manual striping of them is not a case - it is far better not include
anything. This is because at any time Doxygen would rerun to generate
new version of reference documentation. It would be probably nice to
have such feature in Doxygen itself to generate stripped .tex for
including in other document. However such requirement has to be
somehow defined - what should be present in that file, and what not.
Maybe some LyX modules could be used to feed package dependencies.

Any advices? Any solutions?
-- 
Manveru
jabber: manv...@manveru.pl
     gg: 1624001
   http://www.manveru.pl


Re: Doxygen generated pages included in LyX document

2011-09-14 Thread Julien Rioux

On 14/09/2011 9:31 PM, Manveru wrote:

Hi LyXers,

Has anyone ever successfully embed parts of Doxygen generated
documentation into LyX documents (Appendix in my case)?

I would like to have couple pages of the documentation be presented as
appendixes in my thesis, however single latex file included in LyX
want work due to Lonely \item errors, and I cannot include all
refman.tex as it is full documents with all headers.

Manual striping of them is not a case - it is far better not include
anything. This is because at any time Doxygen would rerun to generate
new version of reference documentation. It would be probably nice to
have such feature in Doxygen itself to generate stripped .tex for
including in other document. However such requirement has to be
somehow defined - what should be present in that file, and what not.
Maybe some LyX modules could be used to feed package dependencies.

Any advices? Any solutions?


Insert it as a pdf with pdfpages?

There's some support for that in Isert  File  External Material

--
Julien



Re: compiling lyx 2.0.1

2011-09-14 Thread Richard Heck

On 09/14/2011 12:03 PM, Wolfgang Engelmann wrote:

Quoting Richard Heck rgh...@comcast.net:


On 09/14/2011 10:29 AM, Wolfgang Engelmann wrote:

In trying to compile the new lyx2.0.1 I encounter the following errors:

(I am using Debian squeeze)

 The following problems have been detected by configure.
 Please check the messages below before running 'make'.
 (see the section 'Problems' in the INSTALL file)

** Cannot find zlib.h. Please check that the zlib library
  is correctly installed on your system.
however, dpkg-dev is installed


Is zlib.h present?


yes, as zlib1g, and it says:
compression library - runtime
zlib is a library implementing the deflate compression method found
in gzip and PKZIP.  This package includes the shared library.


That package does not include the file zlib.h:
http://packages.debian.org/squeeze/amd64/zlib1g/filelist
You need zlib-dev:
http://packages.debian.org/squeeze/zlib1g-dev
http://packages.debian.org/squeeze/amd64/zlib1g-dev/filelist
which includes the development support files.

Base packages, like zlib1g, include only the files need to *use* the 
library. So to run LyX, you only need zlib1g, which LyX uses to zip and 
unzip things. The *-dev packages, on the other hand, include what you 
need to link against the library, that is, what you need to *compile* 
programs that use that library. So, to compile LyX, you need zlib1g-dev.


The same goes for the X packages and Qt packages. E.g., as well as 
libqt4, you need libqt4-dev.


Richard



Available Citations: using Bibtex

2011-09-14 Thread Hal Kierstead
I am trying to use bibtex in LyX 2.0, but only see a subset of mycitations in 
the Available Citations list.  Any ideas what is wrong?

Hal
 

Re: Doxygen generated pages included in LyX document

2011-09-14 Thread Manveru
2011/9/14 Julien Rioux jri...@physics.utoronto.ca:
 On 14/09/2011 9:31 PM, Manveru wrote:

 Hi LyXers,

 Has anyone ever successfully embed parts of Doxygen generated
 documentation into LyX documents (Appendix in my case)?

 I would like to have couple pages of the documentation be presented as
 appendixes in my thesis, however single latex file included in LyX
 want work due to Lonely \item errors, and I cannot include all
 refman.tex as it is full documents with all headers.

 Manual striping of them is not a case - it is far better not include
 anything. This is because at any time Doxygen would rerun to generate
 new version of reference documentation. It would be probably nice to
 have such feature in Doxygen itself to generate stripped .tex for
 including in other document. However such requirement has to be
 somehow defined - what should be present in that file, and what not.
 Maybe some LyX modules could be used to feed package dependencies.

 Any advices? Any solutions?

 Insert it as a pdf with pdfpages?

 There's some support for that in Isert  File  External Material


I considered this, but I will get different formatting between
included content and my work. Additionally, I will get empty page
before first page of documentation would be included. Next, problem is
tweaking Doxygen LaTeX code to remove such things as title page, etc.

I made some process on including Doxygen into my document, however it
still requires manual corrections of the refman.tex file. General
result is far from being satisfactory. I am thinking on dropping this
idea.

-- 
Manveru
jabber: manv...@manveru.pl
     gg: 1624001
   http://www.manveru.pl


Re: Available Citations: using Bibtex

2011-09-14 Thread Richard Heck
On 09/14/2011 05:12 PM, Hal Kierstead wrote:
 I am trying to use bibtex in LyX 2.0, but only see a subset of mycitations in 
 the Available Citations list.  Any ideas what is wrong?

The usual reason is a Unicode character in your BibTeX file on which the
LyX parser is choking. It'll typically be in the entry following the
last one you see. Could be a dash, quote, etc, often pasted from the
Internet.

Richard



Re: Doxygen generated pages included in LyX document

2011-09-14 Thread Julien Rioux

On 14/09/2011 11:39 PM, Manveru wrote:

2011/9/14 Julien Riouxjri...@physics.utoronto.ca:

On 14/09/2011 9:31 PM, Manveru wrote:


Hi LyXers,

Has anyone ever successfully embed parts of Doxygen generated
documentation into LyX documents (Appendix in my case)?

I would like to have couple pages of the documentation be presented as
appendixes in my thesis, however single latex file included in LyX
want work due to Lonely \item errors, and I cannot include all
refman.tex as it is full documents with all headers.

Manual striping of them is not a case - it is far better not include
anything. This is because at any time Doxygen would rerun to generate
new version of reference documentation. It would be probably nice to
have such feature in Doxygen itself to generate stripped .tex for
including in other document. However such requirement has to be
somehow defined - what should be present in that file, and what not.
Maybe some LyX modules could be used to feed package dependencies.

Any advices? Any solutions?


Insert it as a pdf with pdfpages?

There's some support for that in Isert  File  External Material



I considered this, but I will get different formatting between
included content and my work.


OK, I must admit I never made such an operation. So I'm not sure, but I 
think you might be discarding this a little quickly. I found some PDF 
pages example that you find online. It's seems it would fit.


Use the same document class, fonts, margins, etc. I would imagine that 
you can supply your own preamble to Doxygen, which would handle all of 
that. Try copying the preamble code generated by LyX.


To remove headers and footers, you could do preamble code as well, which 
is just as easy as above, or apply a trim on the inserted PDF pages. You 
can set a pagecommand to overlay a \pagestyle{} command on top of the 
included PDF pages, thus keeping your headers, footers and page numbers 
running.



Additionally, I will get empty page
before first page of documentation would be included. Next, problem is
tweaking Doxygen LaTeX code to remove such things as title page, etc.



You're stuck with starting the Docu on a new page, is that what you 
mean? Formatting the first included page with a Chapter title is an 
issue. Here I don't see another way then editing of your external .tex 
file. Hopefully the amount of editing is sufficiently limited.


--
Julien



Re: Available Citations: using Bibtex

2011-09-14 Thread Hal Kierstead
Many thanks Richard.  You were exactly right. It was because of using a unicode 
accent on my mac instead of   \' .  I would have never guessed this.  

Is it a bug?  I only started using unicode symbols after somebody on here 
recommended it.

Thanks again,

Hal

On Sep 14, 2011, at 3:29 PM, Richard Heck wrote:

 On 09/14/2011 05:12 PM, Hal Kierstead wrote:
 I am trying to use bibtex in LyX 2.0, but only see a subset of mycitations 
 in the Available Citations list.  Any ideas what is wrong?
 
 The usual reason is a Unicode character in your BibTeX file on which the
 LyX parser is choking. It'll typically be in the entry following the
 last one you see. Could be a dash, quote, etc, often pasted from the
 Internet.
 
 Richard



Re: pdflatex never finishes (LyX 2.0.1)

2011-09-14 Thread Paul Rubin
It would be a good idea to export a file to LaTeX (pdflatex), then run pdflatex
against it in a DOS window.  That might help pin down whether there are problems
with your LaTeX (MiKTeX?) distribution.

Paul




Re: Xy-pic command doesn't seem to work

2011-09-14 Thread Paul Rubin
Alberto Alcalá Alvarez albertoalcala at yahoo.com writes:


 
 \xymatrix {
   B \ar {--} [r]  R}
 does something like       B^[r]     R

You need an ampersand (@) immediately before the braces:

\xymatrix {B \ar@{--}[r]  R}

See section 3.4.1 of the XY-pic manual (in the Help menu).

Paul




Re: Available Citations: using Bibtex

2011-09-14 Thread Richard Heck
On 09/14/2011 07:03 PM, Hal Kierstead wrote:
 Many thanks Richard.  You were exactly right. It was because of using a 
 unicode accent on my mac instead of   \' .  I would have never guessed 
 this.  

 Is it a bug?  I only started using unicode symbols after somebody on here 
 recommended it.

It's kind of a bug, yes, but is also kind of inevitable. LyX will handle
Unicode BibTeX files properly, but only if the encoding of the document
is set to the same as the encoding of the BibTeX file. I.e., LyX assumes
that the encodings of the two files are the same, because that actually
needs to be the case for processing purposes. There are newer
processors, such as biber, that will do Unicode, and the newer BibLaTeX
processor will do this, but for the standard LaTeX + BibTeX combination,
you really need to use pure ASCII, because that is all BibTeX supports.
You can sometimes get away with a bit of Unicode in a BibTeX file,
actually, but it's just sheer luck when it works.

Ideally, LyX would detect the encoding of the file and re-write it as
needed. But this is impossible to do reliably, in principle, and it is
difficult to do with much reliability in practice.

See: http://www.lyx.org/trac/ticket/6223.

Richard



Re: compiling lyx 2.0.1

2011-09-14 Thread Wolfgang Engelmann

Zitat von Richard Heck rgh...@comcast.net:


On 09/14/2011 12:03 PM, Wolfgang Engelmann wrote:

Quoting Richard Heck rgh...@comcast.net:


On 09/14/2011 10:29 AM, Wolfgang Engelmann wrote:

In trying to compile the new lyx2.0.1 I encounter the following errors:

(I am using Debian squeeze)

 The following problems have been detected by configure.
 Please check the messages below before running 'make'.
 (see the section 'Problems' in the INSTALL file)

** Cannot find zlib.h. Please check that the zlib library
 is correctly installed on your system.
however, dpkg-dev is installed


Is zlib.h present?


yes, as zlib1g, and it says:
compression library - runtime
zlib is a library implementing the deflate compression method found
in gzip and PKZIP.  This package includes the shared library.


That package does not include the file zlib.h:
http://packages.debian.org/squeeze/amd64/zlib1g/filelist
You need zlib-dev:
http://packages.debian.org/squeeze/zlib1g-dev
http://packages.debian.org/squeeze/amd64/zlib1g-dev/filelist
which includes the development support files.

Base packages, like zlib1g, include only the files need to *use* the  
library. So to run LyX, you only need zlib1g, which LyX uses to zip  
and unzip things. The *-dev packages, on the other hand, include  
what you need to link against the library, that is, what you need  
to *compile* programs that use that library. So, to compile LyX, you  
need zlib1g-dev.


The same goes for the X packages and Qt packages. E.g., as well as  
libqt4, you need libqt4-dev.


Richard



Thanks  Richard for your careful explanation. Will try and report.
Wolfgang




Re: lexlive2011 and Debian squeeze

2011-09-14 Thread Guenter Milde
On 2011-09-13, David L. Johnson wrote:
 On 09/13/2011 10:01 AM, Wolfgang Engelmann wrote:
 Could somebody who uses Debian squeeze and texlive2011 share his 
 experience installing it with me (and others)?. Where is texlive 
 installed and how do I make sure that lyx is using it (and also other 
 programs which use tex/latex such as xfig etc), i.e. the Path setting? 
 At the moment I have downloaded the unx.tar.gz package, which is 
 waiting to be unpacked and further manipulated.

 I am using wheezy, not squeeze (the testing distribution rather than 
 the stable), but texlive has always been trivial to install, and is a 
 big improvement over the previous version of tex that came with debian 
 (whose name I forgot).

The old tetex packages are long gone, but even Debian/unstable is still at
TeXLive 2009! If you want to work with LuaTeX or the unicode-math package,
updating the TeXLive distro is a must.

I would put texlive 2011 under /usr/local/...

I don't know whether some paths still need adjustment or the common
preference of /usr/local/... over /usr/... will suffice.

If space is an issue, a dummy package could be used to fullfill
requirements of LyX etc. and all Debian texlive packages removed.


Günter



Re: Unable to install MikTex with Lyx 2.0

2011-09-14 Thread Christian Wilhelmsen
I guess I am experiencing some of this problems because I work on a network
station. Even though I have administrator rights,
I just can not get this to work.

If the LyX installer just could have downloaded MikTex like it did before I
think it would have worked, since 1.6 worked flawlessly on the same (school)
network.

2011/9/13 Brian Linfoot br...@linfoot.myzen.co.uk

 On 13/09/2011 15:44, Christian Wilhelmsen wrote:

 Tried to compile, and get this output from messages:

 16:42:41.737: Previewing ...

 16:42:41.743: (buffer-view: Ctrl+R)

 16:42:41.798: pdflatex file.tex

 16:42:41.868: This is pdfTeX, Version 3.1415926-1.40.11 (MiKTeX 2.9)

 16:42:42.829: (Fatal format file error; I'm stymied)

 D:\LyXSVN\LyX2.0.x\src\**support\Systemcall.cpp(259): Systemcall:
 'pdflatex file.tex' finished with exit code 1

 Error: Cannot view file

 --**--

 File does not exist: C:/Users/chriswil.AD/AppData/**
 Local/Temp/lyx_tmpdir.Hp4684/**lyx_tmpbuf2/file.pdf

 16:42:47.585: Error while previewing format: pdf2



  I seem to remember having seen this before with LyX 2.0.0

 I suspect  your LyX installation possibly has  screwed up it's temp
 directory path,
 Do you have an old lyx version on your system? I've had a new LyX setup
 part grab an old set of user preferences
 Suggest you check your lyx temp directory set in tools/preferences matches
 C:/Users/chriswil.AD/AppData/**Local/Temp/
 Try a file search for file.pdf while you have a coffee break.
 Best to close and reopen  LyX after  you reset and save any path in
 preferences. ; apply  doesn't seem to do the trick reliably
 It gets frustrating but it is sortable;
 Best wishes
 brian



Re: Unable to install MikTex with Lyx 2.0

2011-09-14 Thread Christian Wilhelmsen
Just discovered that reconfiguration LyX suddenly didn't work because of
permission denied.
Reconfigured as admin, tried to output the PDF and got this.

File does not exist: C:\lyx_tmpdir.gq4904\lyx_tmpbuf2/newfile.pdf

##
12:39:56.755: Previewing ...

12:39:56.760: (buffer-view: Ctrl+R)

12:39:56.812: pdflatex newfile1.tex

12:39:56.961: This is pdfTeX, Version 3.1415926-1.40.11 (MiKTeX 2.9)

12:39:58.467: (Fatal format file error; I'm stymied)

D:\LyXSVN\LyX2.0.x\src\support\Systemcall.cpp(259): Systemcall: 'pdflatex
newfile1.tex' finished with exit code 1

Error: Cannot view file



File does not exist: C:/lyx_tmpdir.gq4904/lyx_tmpbuf2/newfile1.pdf

12:42:02.362: Error while previewing format: pdf2
#

This folder contains two files:

newfile1.tex.dep-pdf
and
newfile1.tex

Is this useful for helping me further?


 Thank you very much!

2011/9/14 Christian Wilhelmsen christian.wilhelmse...@gmail.com

 I guess I am experiencing some of this problems because I work on a network
 station. Even though I have administrator rights,
 I just can not get this to work.

 If the LyX installer just could have downloaded MikTex like it did before I
 think it would have worked, since 1.6 worked flawlessly on the same (school)
 network.


 2011/9/13 Brian Linfoot br...@linfoot.myzen.co.uk

 On 13/09/2011 15:44, Christian Wilhelmsen wrote:

 Tried to compile, and get this output from messages:

 16:42:41.737: Previewing ...

 16:42:41.743: (buffer-view: Ctrl+R)

 16:42:41.798: pdflatex file.tex

 16:42:41.868: This is pdfTeX, Version 3.1415926-1.40.11 (MiKTeX 2.9)

 16:42:42.829: (Fatal format file error; I'm stymied)

 D:\LyXSVN\LyX2.0.x\src\**support\Systemcall.cpp(259): Systemcall:
 'pdflatex file.tex' finished with exit code 1

 Error: Cannot view file

 --**--

 File does not exist: C:/Users/chriswil.AD/AppData/**
 Local/Temp/lyx_tmpdir.Hp4684/**lyx_tmpbuf2/file.pdf

 16:42:47.585: Error while previewing format: pdf2



  I seem to remember having seen this before with LyX 2.0.0

 I suspect  your LyX installation possibly has  screwed up it's temp
 directory path,
 Do you have an old lyx version on your system? I've had a new LyX setup
 part grab an old set of user preferences
 Suggest you check your lyx temp directory set in tools/preferences matches
 C:/Users/chriswil.AD/AppData/**Local/Temp/
 Try a file search for file.pdf while you have a coffee break.
 Best to close and reopen  LyX after  you reset and save any path in
 preferences. ; apply  doesn't seem to do the trick reliably
 It gets frustrating but it is sortable;
 Best wishes
 brian





Re: Unable to install MikTex with Lyx 2.0

2011-09-14 Thread Olivier Ripoll

On 13.09.2011 16:26, Christian Wilhelmsen wrote:

The LaTeX log under Document is blanked out.

Attaching the .lyx and .tex


works for me with Windows 7 prof. 64 bits, using MikTeX 2.9 (32 bits) + 
Lyx 2.0.1 (unofficial).


However, I installed MikTeX manually before installing LyX. Perhaps you 
should try that way.


Best regards,

Olivier




2011/9/13 Liviu Andronic landronim...@gmail.com
mailto:landronim...@gmail.com

On Tue, Sep 13, 2011 at 4:01 PM, Christian Wilhelmsen
christian.wilhelmse...@gmail.com
mailto:christian.wilhelmse...@gmail.com wrote:
  How can I generate a log-file?
 
  This is an exported LaTeX-file from LyX (if you need it)
 
The guys on this list would usually prefer the *.lyx file. To access
the log, try to compile the document then go to teh menu item Document
  LaTeX log.

Liviu






Re: Lyx: theme Frankfurt (beamer) impossible?

2011-09-14 Thread Liviu Andronic
(please address such questions to lyx-users)


On Wed, Sep 14, 2011 at 3:29 PM, Andre Boom boom.an...@googlemail.com wrote:
 I´ve installed lyx 2.0.0 and miktex 2.9. Now i want to create a presentation
 with the
 theme beamer:frankfurt.

Start with
File  New from Template

then open
beamer*.lyx

then go to
Document  Settings  Preamble

and instead of the first line use
\usetheme{Frankfurt}

Liviu


 Thank you very much:
 Greetings
 André Boom
 P.S.
 I want to presentate on Friday



-- 
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


compiling lyx 2.0.1

2011-09-14 Thread Wolfgang Engelmann

In trying to compile the new lyx2.0.1 I encounter the following errors:

(I am using Debian squeeze)

 The following problems have been detected by configure.
 Please check the messages below before running 'make'.
 (see the section 'Problems' in the INSTALL file)

** Cannot find zlib.h. Please check that the zlib library
   is correctly installed on your system.
however, dpkg-dev is installed

** Cannot find X window libraries and/or headers.
under what package do I find these?

** moc 4 binary not found !

** uic 4 binary not found !

** qt 4 library not found !

libqt4 is installed

Thanks for help and wish a good day (at least better than mine, see above)

Wolfgang


Re: compiling lyx 2.0.1

2011-09-14 Thread Liviu Andronic
On Wed, Sep 14, 2011 at 4:29 PM, Wolfgang Engelmann
engelm...@uni-tuebingen.de wrote:
 In trying to compile the new lyx2.0.1 I encounter the following errors:

 (I am using Debian squeeze)

  The following problems have been detected by configure.
  Please check the messages below before running 'make'.
  (see the section 'Problems' in the INSTALL file)

 ** Cannot find zlib.h. Please check that the zlib library
   is correctly installed on your system.
 however, dpkg-dev is installed

 ** Cannot find X window libraries and/or headers.
 under what package do I find these?

You're missing most *-dev packages for Qt. Try to run
'apt-get build-dep lyx'

and then ./configure  make.

Please report if it worked.
Liviu


 ** moc 4 binary not found !

 ** uic 4 binary not found !

 ** qt 4 library not found !

 libqt4 is installed

 Thanks for help and wish a good day (at least better than mine, see above)

 Wolfgang




-- 
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: compiling lyx 2.0.1

2011-09-14 Thread Richard Heck

On 09/14/2011 10:29 AM, Wolfgang Engelmann wrote:

In trying to compile the new lyx2.0.1 I encounter the following errors:

(I am using Debian squeeze)

 The following problems have been detected by configure.
 Please check the messages below before running 'make'.
 (see the section 'Problems' in the INSTALL file)

** Cannot find zlib.h. Please check that the zlib library
   is correctly installed on your system.
however, dpkg-dev is installed


Is zlib.h present?


** Cannot find X window libraries and/or headers.
under what package do I find these?


Something like xorg-devel.


** moc 4 binary not found !

** uic 4 binary not found !

** qt 4 library not found !

libqt4 is installed


You need the devel packages, too.

Isn't there a way on Debian of doing something like:
apt-get build-depends lyx
?? I seem to recall such a thing, but it's been a while

Richard



Re: compiling lyx 2.0.1

2011-09-14 Thread Richard Heck

On 09/14/2011 10:36 AM, Liviu Andronic wrote:


You're missing most *-dev packages for Qt. Try to run
'apt-get build-dep lyx'

Ah, that was it

rh



Re: compiling lyx 2.0.1

2011-09-14 Thread Wolfgang Engelmann

Quoting Liviu Andronic landronim...@gmail.com:


On Wed, Sep 14, 2011 at 4:29 PM, Wolfgang Engelmann
engelm...@uni-tuebingen.de wrote:

In trying to compile the new lyx2.0.1 I encounter the following errors:

(I am using Debian squeeze)

 The following problems have been detected by configure.
 Please check the messages below before running 'make'.
 (see the section 'Problems' in the INSTALL file)

** Cannot find zlib.h. Please check that the zlib library
  is correctly installed on your system.
however, dpkg-dev is installed

** Cannot find X window libraries and/or headers.
under what package do I find these?


You're missing most *-dev packages for Qt. Try to run
'apt-get build-dep lyx'


Thanks, Liviu,
but:


and then ./configure  make.

Please report if it worked.


root@wolfgang:/home/wolfgang/Downloads/lyx-2.0.1# apt-get build-dep lyx
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut
Statusinformationen werden eingelesen... Fertig
E: Datei  
/var/lib/apt/lists/security.debian.org_dists_squeeze_updates_contrib_source_Sources konnte nicht geöffnet werden - open (2: Datei oder Verzeichnis nicht  
gefunden)



Is something wrong with my /etc/apt/sources.list?
-

deb http://security.debian.org/ squeeze/updates main contrib non-free
deb-src http://security.debian.org/ squeeze/updates main contrib non-free

# squeeze-updates, previously known as 'volatile'
# A network mirror was not selected during install.  The following entries
# are provided as examples, but you should amend them as appropriate
# for your mirror of choice.

deb http://ftp.debian.org/debian/ squeeze-updates main contrib non-free
deb-src http://ftp.debian.org/debian/ squeeze-updates main contrib non-free

Wolfgang


Re: compiling lyx 2.0.1

2011-09-14 Thread Wolfgang Engelmann

Quoting Richard Heck rgh...@comcast.net:


On 09/14/2011 10:29 AM, Wolfgang Engelmann wrote:

In trying to compile the new lyx2.0.1 I encounter the following errors:

(I am using Debian squeeze)

 The following problems have been detected by configure.
 Please check the messages below before running 'make'.
 (see the section 'Problems' in the INSTALL file)

** Cannot find zlib.h. Please check that the zlib library
  is correctly installed on your system.
however, dpkg-dev is installed


Is zlib.h present?


yes, as zlib1g, and it says:
compression library - runtime
zlib is a library implementing the deflate compression method found
in gzip and PKZIP.  This package includes the shared library.




** Cannot find X window libraries and/or headers.
under what package do I find these?


Something like xorg-devel.


** moc 4 binary not found !

** uic 4 binary not found !

** qt 4 library not found !

libqt4 is installed


You need the devel packages, too.

Isn't there a way on Debian of doing something like:
apt-get build-depends lyx
?? I seem to recall such a thing, but it's been a while

Richard







Re: lexlive2011 and Debian squeeze

2011-09-14 Thread David L. Johnson

On 09/14/2011 05:26 AM, Guenter Milde wrote:

The old tetex packages are long gone, but even Debian/unstable is still at
TeXLive 2009! If you want to work with LuaTeX or the unicode-math package,
updating the TeXLive distro is a must.
Oops.  I did not pay attention to texlive2011 being the issue.  Sorry 
for my misunderstanding.


--

David L. Johnson

And though I have the gift of prophecy, and understand all mysteries,
and all knowledge; and though I have all faith, so that I could remove
mountains, and have not charity, I am nothing. [1 Corinth. 13:2]



Re: compiling lyx 2.0.1

2011-09-14 Thread Liviu Andronic
On Wed, Sep 14, 2011 at 5:47 PM, Wolfgang Engelmann
engelm...@uni-tuebingen.de wrote:
 root@wolfgang:/home/wolfgang/Downloads/lyx-2.0.1# apt-get build-dep lyx
 Paketlisten werden gelesen... Fertig
 Abhängigkeitsbaum wird aufgebaut
 Statusinformationen werden eingelesen... Fertig
 E: Datei
 /var/lib/apt/lists/security.debian.org_dists_squeeze_updates_contrib_source_Sources
 konnte nicht geöffnet werden - open (2: Datei oder Verzeichnis nicht
 gefunden)


 Is something wrong with my /etc/apt/sources.list?

I can hardly understand German, but apt often complains when some
other instance of the package manager is open. Have you closed all
instances of synaptic, aptitute, etc., prior to running the command?
Liviu


pdflatex never finishes (LyX 2.0.1)

2011-09-14 Thread Matthias Hunstig
Hello everybody,

today, I installed LyX 2.0.1 using Uwe's installer 
(http://developer.berlios.de/project/showfiles.php?group_id=5117release_id=18767)
 over my somewhat broken 2.0 installation 
(http://thread.gmane.org/gmane.editors.lyx.general/70495/focus=70618, main 
cause seems to be a problem with network drives and/or limited rights users in 
WinXP) in the hope that it might fix something.

Unfortunately, things got worse instead. Pdflatex now runs infinitely long (not 
proven, but at least very long, i. e. over one hour for a one page document) in 
the background. Tex files are created in the temporary folder, but no pdf is 
created. Any idea why this might be and how it could be solved?

To be honest, I am quite frustrated with LyX now. I love it when it works, but 
in the last weeks I spent more time fixing problems than actually writing in 
LyX. I just stumpled across Portable Lyx 2.0 
(http://portable-lyx.impossible-exil.info/). Maybe this is a solution for me 
and other people struggeling with installation problems.

Regards

Matthias


Re: Importing excel/gnumeric to LyX

2011-09-14 Thread Helge Hafting

On 10. sep. 2011 16:14, Christian Wilhelmsen wrote:

Hi!

When trying to import and .xls or .gnumeric to LyX 2.0 I get the error
message:

no information for converting gnumeric format files to latex.
Define a converter in the preferences.

I understand what it asks of me, but I can't seem to figure out how to
define the converter.
I have installed gnumeric on my computer.


You should not need to define a converter, LyX supports ssconvert
which usually comes with gnumeric.

Is the ssconvert program in your PATH? If LyX cannot find ssconvert,
then the conversion from gnumeric to latex won't work. Because ssconvert
does that job.

Maybe you have installed gnumeric without ssconvert?

Helge Hafting


Re: pdflatex never finishes (LyX 2.0.1)

2011-09-14 Thread Liviu Andronic
On Wed, Sep 14, 2011 at 7:08 PM, Matthias Hunstig
matthias.huns...@uni-paderborn.de wrote:
 Hello everybody,

 today, I installed LyX 2.0.1 using Uwe's installer 
 (http://developer.berlios.de/project/showfiles.php?group_id=5117release_id=18767)
  over my somewhat broken 2.0 installation 
 (http://thread.gmane.org/gmane.editors.lyx.general/70495/focus=70618, main 
 cause seems to be a problem with network drives and/or limited rights users 
 in WinXP) in the hope that it might fix something.

 Unfortunately, things got worse instead. Pdflatex now runs infinitely long 
 (not proven, but at least very long, i. e. over one hour for a one page 
 document) in the background. Tex files are created in the temporary folder, 
 but no pdf is created. Any idea why this might be and how it could be solved?

 To be honest, I am quite frustrated with LyX now. I love it when it works, 
 but in the last weeks I spent more time fixing problems than actually writing 
 in LyX. I just stumpled across Portable Lyx 2.0 
 (http://portable-lyx.impossible-exil.info/). Maybe this is a solution for me 
 and other people struggeling with installation problems.

Or you could try Cygwin (on Windows), or installing a Linux distro
such as Ubuntu in a Virtual Machine such as VMWare. This worked pretty
fine for me when I needed to use Windows, and sometimes it is less of
a hassle than getting an open-source thingy working on Windows. If you
install in a VMWare you need only very little knowledge about Linux.

I cannot help with your actual problem. Sorry
Liviu


 Regards

 Matthias




-- 
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


Doxygen generated pages included in LyX document

2011-09-14 Thread Manveru
Hi LyXers,

Has anyone ever successfully embed parts of Doxygen generated
documentation into LyX documents (Appendix in my case)?

I would like to have couple pages of the documentation be presented as
appendixes in my thesis, however single latex file included in LyX
want work due to Lonely \item errors, and I cannot include all
refman.tex as it is full documents with all headers.

Manual striping of them is not a case - it is far better not include
anything. This is because at any time Doxygen would rerun to generate
new version of reference documentation. It would be probably nice to
have such feature in Doxygen itself to generate stripped .tex for
including in other document. However such requirement has to be
somehow defined - what should be present in that file, and what not.
Maybe some LyX modules could be used to feed package dependencies.

Any advices? Any solutions?
-- 
Manveru
jabber: manv...@manveru.pl
     gg: 1624001
   http://www.manveru.pl


Re: Doxygen generated pages included in LyX document

2011-09-14 Thread Julien Rioux

On 14/09/2011 9:31 PM, Manveru wrote:

Hi LyXers,

Has anyone ever successfully embed parts of Doxygen generated
documentation into LyX documents (Appendix in my case)?

I would like to have couple pages of the documentation be presented as
appendixes in my thesis, however single latex file included in LyX
want work due to Lonely \item errors, and I cannot include all
refman.tex as it is full documents with all headers.

Manual striping of them is not a case - it is far better not include
anything. This is because at any time Doxygen would rerun to generate
new version of reference documentation. It would be probably nice to
have such feature in Doxygen itself to generate stripped .tex for
including in other document. However such requirement has to be
somehow defined - what should be present in that file, and what not.
Maybe some LyX modules could be used to feed package dependencies.

Any advices? Any solutions?


Insert it as a pdf with pdfpages?

There's some support for that in Isert  File  External Material

--
Julien



Re: compiling lyx 2.0.1

2011-09-14 Thread Richard Heck

On 09/14/2011 12:03 PM, Wolfgang Engelmann wrote:

Quoting Richard Heck rgh...@comcast.net:


On 09/14/2011 10:29 AM, Wolfgang Engelmann wrote:

In trying to compile the new lyx2.0.1 I encounter the following errors:

(I am using Debian squeeze)

 The following problems have been detected by configure.
 Please check the messages below before running 'make'.
 (see the section 'Problems' in the INSTALL file)

** Cannot find zlib.h. Please check that the zlib library
  is correctly installed on your system.
however, dpkg-dev is installed


Is zlib.h present?


yes, as zlib1g, and it says:
compression library - runtime
zlib is a library implementing the deflate compression method found
in gzip and PKZIP.  This package includes the shared library.


That package does not include the file zlib.h:
http://packages.debian.org/squeeze/amd64/zlib1g/filelist
You need zlib-dev:
http://packages.debian.org/squeeze/zlib1g-dev
http://packages.debian.org/squeeze/amd64/zlib1g-dev/filelist
which includes the development support files.

Base packages, like zlib1g, include only the files need to *use* the 
library. So to run LyX, you only need zlib1g, which LyX uses to zip and 
unzip things. The *-dev packages, on the other hand, include what you 
need to link against the library, that is, what you need to *compile* 
programs that use that library. So, to compile LyX, you need zlib1g-dev.


The same goes for the X packages and Qt packages. E.g., as well as 
libqt4, you need libqt4-dev.


Richard



Available Citations: using Bibtex

2011-09-14 Thread Hal Kierstead
I am trying to use bibtex in LyX 2.0, but only see a subset of mycitations in 
the Available Citations list.  Any ideas what is wrong?

Hal
 

Re: Doxygen generated pages included in LyX document

2011-09-14 Thread Manveru
2011/9/14 Julien Rioux jri...@physics.utoronto.ca:
 On 14/09/2011 9:31 PM, Manveru wrote:

 Hi LyXers,

 Has anyone ever successfully embed parts of Doxygen generated
 documentation into LyX documents (Appendix in my case)?

 I would like to have couple pages of the documentation be presented as
 appendixes in my thesis, however single latex file included in LyX
 want work due to Lonely \item errors, and I cannot include all
 refman.tex as it is full documents with all headers.

 Manual striping of them is not a case - it is far better not include
 anything. This is because at any time Doxygen would rerun to generate
 new version of reference documentation. It would be probably nice to
 have such feature in Doxygen itself to generate stripped .tex for
 including in other document. However such requirement has to be
 somehow defined - what should be present in that file, and what not.
 Maybe some LyX modules could be used to feed package dependencies.

 Any advices? Any solutions?

 Insert it as a pdf with pdfpages?

 There's some support for that in Isert  File  External Material


I considered this, but I will get different formatting between
included content and my work. Additionally, I will get empty page
before first page of documentation would be included. Next, problem is
tweaking Doxygen LaTeX code to remove such things as title page, etc.

I made some process on including Doxygen into my document, however it
still requires manual corrections of the refman.tex file. General
result is far from being satisfactory. I am thinking on dropping this
idea.

-- 
Manveru
jabber: manv...@manveru.pl
     gg: 1624001
   http://www.manveru.pl


Re: Available Citations: using Bibtex

2011-09-14 Thread Richard Heck
On 09/14/2011 05:12 PM, Hal Kierstead wrote:
 I am trying to use bibtex in LyX 2.0, but only see a subset of mycitations in 
 the Available Citations list.  Any ideas what is wrong?

The usual reason is a Unicode character in your BibTeX file on which the
LyX parser is choking. It'll typically be in the entry following the
last one you see. Could be a dash, quote, etc, often pasted from the
Internet.

Richard



Re: Doxygen generated pages included in LyX document

2011-09-14 Thread Julien Rioux

On 14/09/2011 11:39 PM, Manveru wrote:

2011/9/14 Julien Riouxjri...@physics.utoronto.ca:

On 14/09/2011 9:31 PM, Manveru wrote:


Hi LyXers,

Has anyone ever successfully embed parts of Doxygen generated
documentation into LyX documents (Appendix in my case)?

I would like to have couple pages of the documentation be presented as
appendixes in my thesis, however single latex file included in LyX
want work due to Lonely \item errors, and I cannot include all
refman.tex as it is full documents with all headers.

Manual striping of them is not a case - it is far better not include
anything. This is because at any time Doxygen would rerun to generate
new version of reference documentation. It would be probably nice to
have such feature in Doxygen itself to generate stripped .tex for
including in other document. However such requirement has to be
somehow defined - what should be present in that file, and what not.
Maybe some LyX modules could be used to feed package dependencies.

Any advices? Any solutions?


Insert it as a pdf with pdfpages?

There's some support for that in Isert  File  External Material



I considered this, but I will get different formatting between
included content and my work.


OK, I must admit I never made such an operation. So I'm not sure, but I 
think you might be discarding this a little quickly. I found some PDF 
pages example that you find online. It's seems it would fit.


Use the same document class, fonts, margins, etc. I would imagine that 
you can supply your own preamble to Doxygen, which would handle all of 
that. Try copying the preamble code generated by LyX.


To remove headers and footers, you could do preamble code as well, which 
is just as easy as above, or apply a trim on the inserted PDF pages. You 
can set a pagecommand to overlay a \pagestyle{} command on top of the 
included PDF pages, thus keeping your headers, footers and page numbers 
running.



Additionally, I will get empty page
before first page of documentation would be included. Next, problem is
tweaking Doxygen LaTeX code to remove such things as title page, etc.



You're stuck with starting the Docu on a new page, is that what you 
mean? Formatting the first included page with a Chapter title is an 
issue. Here I don't see another way then editing of your external .tex 
file. Hopefully the amount of editing is sufficiently limited.


--
Julien



Re: Available Citations: using Bibtex

2011-09-14 Thread Hal Kierstead
Many thanks Richard.  You were exactly right. It was because of using a unicode 
accent on my mac instead of   \' .  I would have never guessed this.  

Is it a bug?  I only started using unicode symbols after somebody on here 
recommended it.

Thanks again,

Hal

On Sep 14, 2011, at 3:29 PM, Richard Heck wrote:

 On 09/14/2011 05:12 PM, Hal Kierstead wrote:
 I am trying to use bibtex in LyX 2.0, but only see a subset of mycitations 
 in the Available Citations list.  Any ideas what is wrong?
 
 The usual reason is a Unicode character in your BibTeX file on which the
 LyX parser is choking. It'll typically be in the entry following the
 last one you see. Could be a dash, quote, etc, often pasted from the
 Internet.
 
 Richard



Re: pdflatex never finishes (LyX 2.0.1)

2011-09-14 Thread Paul Rubin
It would be a good idea to export a file to LaTeX (pdflatex), then run pdflatex
against it in a DOS window.  That might help pin down whether there are problems
with your LaTeX (MiKTeX?) distribution.

Paul




Re: Xy-pic command doesn't seem to work

2011-09-14 Thread Paul Rubin
Alberto Alcalá Alvarez albertoalcala at yahoo.com writes:


 
 \xymatrix {
   B \ar {--} [r]  R}
 does something like       B^[r]     R

You need an ampersand (@) immediately before the braces:

\xymatrix {B \ar@{--}[r]  R}

See section 3.4.1 of the XY-pic manual (in the Help menu).

Paul




Re: Available Citations: using Bibtex

2011-09-14 Thread Richard Heck
On 09/14/2011 07:03 PM, Hal Kierstead wrote:
 Many thanks Richard.  You were exactly right. It was because of using a 
 unicode accent on my mac instead of   \' .  I would have never guessed 
 this.  

 Is it a bug?  I only started using unicode symbols after somebody on here 
 recommended it.

It's kind of a bug, yes, but is also kind of inevitable. LyX will handle
Unicode BibTeX files properly, but only if the encoding of the document
is set to the same as the encoding of the BibTeX file. I.e., LyX assumes
that the encodings of the two files are the same, because that actually
needs to be the case for processing purposes. There are newer
processors, such as biber, that will do Unicode, and the newer BibLaTeX
processor will do this, but for the standard LaTeX + BibTeX combination,
you really need to use pure ASCII, because that is all BibTeX supports.
You can sometimes get away with a bit of Unicode in a BibTeX file,
actually, but it's just sheer luck when it works.

Ideally, LyX would detect the encoding of the file and re-write it as
needed. But this is impossible to do reliably, in principle, and it is
difficult to do with much reliability in practice.

See: http://www.lyx.org/trac/ticket/6223.

Richard



Re: compiling lyx 2.0.1

2011-09-14 Thread Wolfgang Engelmann

Zitat von Richard Heck rgh...@comcast.net:


On 09/14/2011 12:03 PM, Wolfgang Engelmann wrote:

Quoting Richard Heck rgh...@comcast.net:


On 09/14/2011 10:29 AM, Wolfgang Engelmann wrote:

In trying to compile the new lyx2.0.1 I encounter the following errors:

(I am using Debian squeeze)

 The following problems have been detected by configure.
 Please check the messages below before running 'make'.
 (see the section 'Problems' in the INSTALL file)

** Cannot find zlib.h. Please check that the zlib library
 is correctly installed on your system.
however, dpkg-dev is installed


Is zlib.h present?


yes, as zlib1g, and it says:
compression library - runtime
zlib is a library implementing the deflate compression method found
in gzip and PKZIP.  This package includes the shared library.


That package does not include the file zlib.h:
http://packages.debian.org/squeeze/amd64/zlib1g/filelist
You need zlib-dev:
http://packages.debian.org/squeeze/zlib1g-dev
http://packages.debian.org/squeeze/amd64/zlib1g-dev/filelist
which includes the development support files.

Base packages, like zlib1g, include only the files need to *use* the  
library. So to run LyX, you only need zlib1g, which LyX uses to zip  
and unzip things. The *-dev packages, on the other hand, include  
what you need to link against the library, that is, what you need  
to *compile* programs that use that library. So, to compile LyX, you  
need zlib1g-dev.


The same goes for the X packages and Qt packages. E.g., as well as  
libqt4, you need libqt4-dev.


Richard



Thanks  Richard for your careful explanation. Will try and report.
Wolfgang




Re: lexlive2011 and Debian squeeze

2011-09-14 Thread Guenter Milde
On 2011-09-13, David L. Johnson wrote:
> On 09/13/2011 10:01 AM, Wolfgang Engelmann wrote:
>> Could somebody who uses Debian squeeze and texlive2011 share his 
>> experience installing it with me (and others)?. Where is texlive 
>> installed and how do I make sure that lyx is using it (and also other 
>> programs which use tex/latex such as xfig etc), i.e. the Path setting? 
>> At the moment I have downloaded the unx.tar.gz package, which is 
>> waiting to be unpacked and further manipulated.

> I am using wheezy, not squeeze (the "testing" distribution rather than 
> the stable), but texlive has always been trivial to install, and is a 
> big improvement over the previous version of tex that came with debian 
> (whose name I forgot).

The old tetex packages are long gone, but even Debian/unstable is still at
TeXLive 2009! If you want to work with LuaTeX or the unicode-math package,
updating the TeXLive distro is a must.

I would put texlive 2011 under /usr/local/...

I don't know whether some paths still need adjustment or the common
preference of /usr/local/... over /usr/... will suffice.

If space is an issue, a "dummy package" could be used to fullfill
requirements of LyX etc. and all Debian texlive packages removed.


Günter



Re: Unable to install MikTex with Lyx 2.0

2011-09-14 Thread Christian Wilhelmsen
I guess I am experiencing some of this problems because I work on a network
station. Even though I have administrator rights,
I just can not get this to work.

If the LyX installer just could have downloaded MikTex like it did before I
think it would have worked, since 1.6 worked flawlessly on the same (school)
network.

2011/9/13 Brian Linfoot 

> On 13/09/2011 15:44, Christian Wilhelmsen wrote:
>
>> Tried to compile, and get this output from messages:
>>
>> 16:42:41.737: Previewing ...
>>
>> 16:42:41.743: (buffer-view: Ctrl+R)
>>
>> 16:42:41.798: pdflatex "file.tex"
>>
>> 16:42:41.868: This is pdfTeX, Version 3.1415926-1.40.11 (MiKTeX 2.9)
>>
>> 16:42:42.829: (Fatal format file error; I'm stymied)
>>
>> D:\LyXSVN\LyX2.0.x\src\**support\Systemcall.cpp(259): Systemcall:
>> 'pdflatex "file.tex"' finished with exit code 1
>>
>> Error: Cannot view file
>>
>> --**--
>>
>> File does not exist: C:/Users/chriswil.AD/AppData/**
>> Local/Temp/lyx_tmpdir.Hp4684/**lyx_tmpbuf2/file.pdf
>>
>> 16:42:47.585: Error while previewing format: pdf2
>>
>>
>>
>>  I seem to remember having seen this before with LyX 2.0.0
>
> I suspect  your LyX installation possibly has  screwed up it's temp
> directory path,
> Do you have an old lyx version on your system? I've had a new LyX setup
> part grab an old set of user preferences
> Suggest you check your lyx temp directory set in tools/preferences matches
> C:/Users/chriswil.AD/AppData/**Local/Temp/
> Try a file search for file.pdf while you have a coffee break.
> Best to close and reopen  LyX after  you reset and save any path in
> "preferences". ; "apply " doesn't seem to do the trick reliably
> It gets frustrating but it is sortable;
> Best wishes
> brian
>


Re: Unable to install MikTex with Lyx 2.0

2011-09-14 Thread Christian Wilhelmsen
Just discovered that reconfiguration LyX suddenly didn't work because of
permission denied.
Reconfigured as admin, tried to output the PDF and got this.

File does not exist: C:\lyx_tmpdir.gq4904\lyx_tmpbuf2/newfile.pdf

##
12:39:56.755: Previewing ...

12:39:56.760: (buffer-view: Ctrl+R)

12:39:56.812: pdflatex "newfile1.tex"

12:39:56.961: This is pdfTeX, Version 3.1415926-1.40.11 (MiKTeX 2.9)

12:39:58.467: (Fatal format file error; I'm stymied)

D:\LyXSVN\LyX2.0.x\src\support\Systemcall.cpp(259): Systemcall: 'pdflatex
"newfile1.tex"' finished with exit code 1

Error: Cannot view file



File does not exist: C:/lyx_tmpdir.gq4904/lyx_tmpbuf2/newfile1.pdf

12:42:02.362: Error while previewing format: pdf2
#

This folder contains two files:

newfile1.tex.dep-pdf
and
newfile1.tex

Is this useful for helping me further?


 Thank you very much!

2011/9/14 Christian Wilhelmsen 

> I guess I am experiencing some of this problems because I work on a network
> station. Even though I have administrator rights,
> I just can not get this to work.
>
> If the LyX installer just could have downloaded MikTex like it did before I
> think it would have worked, since 1.6 worked flawlessly on the same (school)
> network.
>
>
> 2011/9/13 Brian Linfoot 
>
>> On 13/09/2011 15:44, Christian Wilhelmsen wrote:
>>
>>> Tried to compile, and get this output from messages:
>>>
>>> 16:42:41.737: Previewing ...
>>>
>>> 16:42:41.743: (buffer-view: Ctrl+R)
>>>
>>> 16:42:41.798: pdflatex "file.tex"
>>>
>>> 16:42:41.868: This is pdfTeX, Version 3.1415926-1.40.11 (MiKTeX 2.9)
>>>
>>> 16:42:42.829: (Fatal format file error; I'm stymied)
>>>
>>> D:\LyXSVN\LyX2.0.x\src\**support\Systemcall.cpp(259): Systemcall:
>>> 'pdflatex "file.tex"' finished with exit code 1
>>>
>>> Error: Cannot view file
>>>
>>> --**--
>>>
>>> File does not exist: C:/Users/chriswil.AD/AppData/**
>>> Local/Temp/lyx_tmpdir.Hp4684/**lyx_tmpbuf2/file.pdf
>>>
>>> 16:42:47.585: Error while previewing format: pdf2
>>>
>>>
>>>
>>>  I seem to remember having seen this before with LyX 2.0.0
>>
>> I suspect  your LyX installation possibly has  screwed up it's temp
>> directory path,
>> Do you have an old lyx version on your system? I've had a new LyX setup
>> part grab an old set of user preferences
>> Suggest you check your lyx temp directory set in tools/preferences matches
>> C:/Users/chriswil.AD/AppData/**Local/Temp/
>> Try a file search for file.pdf while you have a coffee break.
>> Best to close and reopen  LyX after  you reset and save any path in
>> "preferences". ; "apply " doesn't seem to do the trick reliably
>> It gets frustrating but it is sortable;
>> Best wishes
>> brian
>>
>
>


Re: Unable to install MikTex with Lyx 2.0

2011-09-14 Thread Olivier Ripoll

On 13.09.2011 16:26, Christian Wilhelmsen wrote:

The LaTeX log under "Document" is blanked out.

Attaching the .lyx and .tex


works for me with Windows 7 prof. 64 bits, using MikTeX 2.9 (32 bits) + 
Lyx 2.0.1 (unofficial).


However, I installed MikTeX manually before installing LyX. Perhaps you 
should try that way.


Best regards,

Olivier




2011/9/13 Liviu Andronic >

On Tue, Sep 13, 2011 at 4:01 PM, Christian Wilhelmsen
> wrote:
 > How can I generate a log-file?
 >
 > This is an exported LaTeX-file from LyX (if you need it)
 >
The guys on this list would usually prefer the *.lyx file. To access
the log, try to compile the document then go to teh menu item Document
 > LaTeX log.

Liviu






Re: Lyx: theme Frankfurt (beamer) impossible?

2011-09-14 Thread Liviu Andronic
(please address such questions to lyx-users)


On Wed, Sep 14, 2011 at 3:29 PM, Andre Boom  wrote:
> I´ve installed lyx 2.0.0 and miktex 2.9. Now i want to create a presentation
> with the
> theme "beamer:frankfurt".
>
Start with
File > New from Template

then open
beamer*.lyx

then go to
Document > Settings > Preamble

and instead of the first line use
\usetheme{Frankfurt}

Liviu


> Thank you very much:
> Greetings
> André Boom
> P.S.
> I want to presentate on Friday



-- 
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


compiling lyx 2.0.1

2011-09-14 Thread Wolfgang Engelmann

In trying to compile the new lyx2.0.1 I encounter the following errors:

(I am using Debian squeeze)

 The following problems have been detected by configure.
 Please check the messages below before running 'make'.
 (see the section 'Problems' in the INSTALL file)

** Cannot find zlib.h. Please check that the zlib library
   is correctly installed on your system.
however, dpkg-dev is installed

** Cannot find X window libraries and/or headers.
under what package do I find these?

** moc 4 binary not found !

** uic 4 binary not found !

** qt 4 library not found !

libqt4 is installed

Thanks for help and wish a good day (at least better than mine, see above)

Wolfgang


Re: compiling lyx 2.0.1

2011-09-14 Thread Liviu Andronic
On Wed, Sep 14, 2011 at 4:29 PM, Wolfgang Engelmann
 wrote:
> In trying to compile the new lyx2.0.1 I encounter the following errors:
>
> (I am using Debian squeeze)
>
>  The following problems have been detected by configure.
>  Please check the messages below before running 'make'.
>  (see the section 'Problems' in the INSTALL file)
>
> ** Cannot find zlib.h. Please check that the zlib library
>   is correctly installed on your system.
> however, dpkg-dev is installed
>
> ** Cannot find X window libraries and/or headers.
> under what package do I find these?
>
You're missing most *-dev packages for Qt. Try to run
'apt-get build-dep lyx'

and then ./configure && make.

Please report if it worked.
Liviu


> ** moc 4 binary not found !
>
> ** uic 4 binary not found !
>
> ** qt 4 library not found !
>
> libqt4 is installed
>
> Thanks for help and wish a good day (at least better than mine, see above)
>
> Wolfgang
>



-- 
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: compiling lyx 2.0.1

2011-09-14 Thread Richard Heck

On 09/14/2011 10:29 AM, Wolfgang Engelmann wrote:

In trying to compile the new lyx2.0.1 I encounter the following errors:

(I am using Debian squeeze)

 The following problems have been detected by configure.
 Please check the messages below before running 'make'.
 (see the section 'Problems' in the INSTALL file)

** Cannot find zlib.h. Please check that the zlib library
   is correctly installed on your system.
however, dpkg-dev is installed


Is zlib.h present?


** Cannot find X window libraries and/or headers.
under what package do I find these?


Something like xorg-devel.


** moc 4 binary not found !

** uic 4 binary not found !

** qt 4 library not found !

libqt4 is installed


You need the devel packages, too.

Isn't there a way on Debian of doing something like:
apt-get build-depends lyx
?? I seem to recall such a thing, but it's been a while

Richard



Re: compiling lyx 2.0.1

2011-09-14 Thread Richard Heck

On 09/14/2011 10:36 AM, Liviu Andronic wrote:


You're missing most *-dev packages for Qt. Try to run
'apt-get build-dep lyx'

Ah, that was it

rh



Re: compiling lyx 2.0.1

2011-09-14 Thread Wolfgang Engelmann

Quoting Liviu Andronic :


On Wed, Sep 14, 2011 at 4:29 PM, Wolfgang Engelmann
 wrote:

In trying to compile the new lyx2.0.1 I encounter the following errors:

(I am using Debian squeeze)

 The following problems have been detected by configure.
 Please check the messages below before running 'make'.
 (see the section 'Problems' in the INSTALL file)

** Cannot find zlib.h. Please check that the zlib library
  is correctly installed on your system.
however, dpkg-dev is installed

** Cannot find X window libraries and/or headers.
under what package do I find these?


You're missing most *-dev packages for Qt. Try to run
'apt-get build-dep lyx'


Thanks, Liviu,
but:


and then ./configure && make.

Please report if it worked.


root@wolfgang:/home/wolfgang/Downloads/lyx-2.0.1# apt-get build-dep lyx
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut
Statusinformationen werden eingelesen... Fertig
E: Datei  
/var/lib/apt/lists/security.debian.org_dists_squeeze_updates_contrib_source_Sources konnte nicht geöffnet werden - open (2: Datei oder Verzeichnis nicht  
gefunden)



Is something wrong with my /etc/apt/sources.list?
->

deb http://security.debian.org/ squeeze/updates main contrib non-free
deb-src http://security.debian.org/ squeeze/updates main contrib non-free

# squeeze-updates, previously known as 'volatile'
# A network mirror was not selected during install.  The following entries
# are provided as examples, but you should amend them as appropriate
# for your mirror of choice.

deb http://ftp.debian.org/debian/ squeeze-updates main contrib non-free
deb-src http://ftp.debian.org/debian/ squeeze-updates main contrib non-free

Wolfgang


Re: compiling lyx 2.0.1

2011-09-14 Thread Wolfgang Engelmann

Quoting Richard Heck :


On 09/14/2011 10:29 AM, Wolfgang Engelmann wrote:

In trying to compile the new lyx2.0.1 I encounter the following errors:

(I am using Debian squeeze)

 The following problems have been detected by configure.
 Please check the messages below before running 'make'.
 (see the section 'Problems' in the INSTALL file)

** Cannot find zlib.h. Please check that the zlib library
  is correctly installed on your system.
however, dpkg-dev is installed


Is zlib.h present?


yes, as zlib1g, and it says:
compression library - runtime
zlib is a library implementing the deflate compression method found
in gzip and PKZIP.  This package includes the shared library.




** Cannot find X window libraries and/or headers.
under what package do I find these?


Something like xorg-devel.


** moc 4 binary not found !

** uic 4 binary not found !

** qt 4 library not found !

libqt4 is installed


You need the devel packages, too.

Isn't there a way on Debian of doing something like:
apt-get build-depends lyx
?? I seem to recall such a thing, but it's been a while

Richard







Re: lexlive2011 and Debian squeeze

2011-09-14 Thread David L. Johnson

On 09/14/2011 05:26 AM, Guenter Milde wrote:

The old tetex packages are long gone, but even Debian/unstable is still at
TeXLive 2009! If you want to work with LuaTeX or the unicode-math package,
updating the TeXLive distro is a must.
Oops.  I did not pay attention to texlive2011 being the issue.  Sorry 
for my misunderstanding.


--

David L. Johnson

And though I have the gift of prophecy, and understand all mysteries,
and all knowledge; and though I have all faith, so that I could remove
mountains, and have not charity, I am nothing. [1 Corinth. 13:2]



Re: compiling lyx 2.0.1

2011-09-14 Thread Liviu Andronic
On Wed, Sep 14, 2011 at 5:47 PM, Wolfgang Engelmann
 wrote:
> root@wolfgang:/home/wolfgang/Downloads/lyx-2.0.1# apt-get build-dep lyx
> Paketlisten werden gelesen... Fertig
> Abhängigkeitsbaum wird aufgebaut
> Statusinformationen werden eingelesen... Fertig
> E: Datei
> /var/lib/apt/lists/security.debian.org_dists_squeeze_updates_contrib_source_Sources
> konnte nicht geöffnet werden - open (2: Datei oder Verzeichnis nicht
> gefunden)
>
>
> Is something wrong with my /etc/apt/sources.list?
>
I can hardly understand German, but apt often complains when some
other instance of the package manager is open. Have you closed all
instances of synaptic, aptitute, etc., prior to running the command?
Liviu


pdflatex never finishes (LyX 2.0.1)

2011-09-14 Thread Matthias Hunstig
Hello everybody,

today, I installed LyX 2.0.1 using Uwe's installer 
(http://developer.berlios.de/project/showfiles.php?group_id=5117_id=18767)
 over my somewhat broken 2.0 installation 
(http://thread.gmane.org/gmane.editors.lyx.general/70495/focus=70618, main 
cause seems to be a problem with network drives and/or limited rights users in 
WinXP) in the hope that it might fix something.

Unfortunately, things got worse instead. Pdflatex now runs infinitely long (not 
proven, but at least very long, i. e. over one hour for a one page document) in 
the background. Tex files are created in the temporary folder, but no pdf is 
created. Any idea why this might be and how it could be solved?

To be honest, I am quite frustrated with LyX now. I love it when it works, but 
in the last weeks I spent more time fixing problems than actually writing in 
LyX. I just stumpled across Portable Lyx 2.0 
(http://portable-lyx.impossible-exil.info/). Maybe this is a solution for me 
and other people struggeling with installation problems.

Regards

Matthias


Re: Importing excel/gnumeric to LyX

2011-09-14 Thread Helge Hafting

On 10. sep. 2011 16:14, Christian Wilhelmsen wrote:

Hi!

When trying to import and .xls or .gnumeric to LyX 2.0 I get the error
message:

"no information for converting gnumeric format files to latex.
Define a converter in the preferences".

I understand what it asks of me, but I can't seem to figure out how to
define the converter.
I have installed gnumeric on my computer.


You should not need to define a converter, LyX supports "ssconvert"
which usually comes with gnumeric.

Is the ssconvert program in your PATH? If LyX cannot find ssconvert,
then the conversion from gnumeric to latex won't work. Because ssconvert
does that job.

Maybe you have installed gnumeric without ssconvert?

Helge Hafting


Re: pdflatex never finishes (LyX 2.0.1)

2011-09-14 Thread Liviu Andronic
On Wed, Sep 14, 2011 at 7:08 PM, Matthias Hunstig
 wrote:
> Hello everybody,
>
> today, I installed LyX 2.0.1 using Uwe's installer 
> (http://developer.berlios.de/project/showfiles.php?group_id=5117_id=18767)
>  over my somewhat broken 2.0 installation 
> (http://thread.gmane.org/gmane.editors.lyx.general/70495/focus=70618, main 
> cause seems to be a problem with network drives and/or limited rights users 
> in WinXP) in the hope that it might fix something.
>
> Unfortunately, things got worse instead. Pdflatex now runs infinitely long 
> (not proven, but at least very long, i. e. over one hour for a one page 
> document) in the background. Tex files are created in the temporary folder, 
> but no pdf is created. Any idea why this might be and how it could be solved?
>
> To be honest, I am quite frustrated with LyX now. I love it when it works, 
> but in the last weeks I spent more time fixing problems than actually writing 
> in LyX. I just stumpled across Portable Lyx 2.0 
> (http://portable-lyx.impossible-exil.info/). Maybe this is a solution for me 
> and other people struggeling with installation problems.
>
Or you could try Cygwin (on Windows), or installing a Linux distro
such as Ubuntu in a Virtual Machine such as VMWare. This worked pretty
fine for me when I needed to use Windows, and sometimes it is less of
a hassle than getting an open-source thingy working on Windows. If you
install in a VMWare you need only very little knowledge about Linux.

I cannot help with your actual problem. Sorry
Liviu


> Regards
>
> Matthias
>



-- 
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


Doxygen generated pages included in LyX document

2011-09-14 Thread Manveru
Hi LyXers,

Has anyone ever successfully embed parts of Doxygen generated
documentation into LyX documents (Appendix in my case)?

I would like to have couple pages of the documentation be presented as
appendixes in my thesis, however single latex file included in LyX
want work due to "Lonely \item" errors, and I cannot include all
refman.tex as it is full documents with all headers.

Manual striping of them is not a case - it is far better not include
anything. This is because at any time Doxygen would rerun to generate
new version of reference documentation. It would be probably nice to
have such feature in Doxygen itself to generate stripped .tex for
including in other document. However such requirement has to be
somehow defined - what should be present in that file, and what not.
Maybe some LyX modules could be used to feed package dependencies.

Any advices? Any solutions?
-- 
Manveru
jabber: manv...@manveru.pl
     gg: 1624001
   http://www.manveru.pl


Re: Doxygen generated pages included in LyX document

2011-09-14 Thread Julien Rioux

On 14/09/2011 9:31 PM, Manveru wrote:

Hi LyXers,

Has anyone ever successfully embed parts of Doxygen generated
documentation into LyX documents (Appendix in my case)?

I would like to have couple pages of the documentation be presented as
appendixes in my thesis, however single latex file included in LyX
want work due to "Lonely \item" errors, and I cannot include all
refman.tex as it is full documents with all headers.

Manual striping of them is not a case - it is far better not include
anything. This is because at any time Doxygen would rerun to generate
new version of reference documentation. It would be probably nice to
have such feature in Doxygen itself to generate stripped .tex for
including in other document. However such requirement has to be
somehow defined - what should be present in that file, and what not.
Maybe some LyX modules could be used to feed package dependencies.

Any advices? Any solutions?


Insert it as a pdf with pdfpages?

There's some support for that in Isert > File > External Material

--
Julien



Re: compiling lyx 2.0.1

2011-09-14 Thread Richard Heck

On 09/14/2011 12:03 PM, Wolfgang Engelmann wrote:

Quoting Richard Heck :


On 09/14/2011 10:29 AM, Wolfgang Engelmann wrote:

In trying to compile the new lyx2.0.1 I encounter the following errors:

(I am using Debian squeeze)

 The following problems have been detected by configure.
 Please check the messages below before running 'make'.
 (see the section 'Problems' in the INSTALL file)

** Cannot find zlib.h. Please check that the zlib library
  is correctly installed on your system.
however, dpkg-dev is installed


Is zlib.h present?


yes, as zlib1g, and it says:
compression library - runtime
zlib is a library implementing the deflate compression method found
in gzip and PKZIP.  This package includes the shared library.


That package does not include the file zlib.h:
http://packages.debian.org/squeeze/amd64/zlib1g/filelist
You need zlib-dev:
http://packages.debian.org/squeeze/zlib1g-dev
http://packages.debian.org/squeeze/amd64/zlib1g-dev/filelist
which "includes the development support files".

Base packages, like zlib1g, include only the files need to *use* the 
library. So to run LyX, you only need zlib1g, which LyX uses to zip and 
unzip things. The *-dev packages, on the other hand, include what you 
need to "link against" the library, that is, what you need to *compile* 
programs that use that library. So, to compile LyX, you need zlib1g-dev.


The same goes for the X packages and Qt packages. E.g., as well as 
libqt4, you need libqt4-dev.


Richard



Available Citations: using Bibtex

2011-09-14 Thread Hal Kierstead
I am trying to use bibtex in LyX 2.0, but only see a subset of mycitations in 
the Available Citations list.  Any ideas what is wrong?

Hal
 

Re: Doxygen generated pages included in LyX document

2011-09-14 Thread Manveru
2011/9/14 Julien Rioux :
> On 14/09/2011 9:31 PM, Manveru wrote:
>>
>> Hi LyXers,
>>
>> Has anyone ever successfully embed parts of Doxygen generated
>> documentation into LyX documents (Appendix in my case)?
>>
>> I would like to have couple pages of the documentation be presented as
>> appendixes in my thesis, however single latex file included in LyX
>> want work due to "Lonely \item" errors, and I cannot include all
>> refman.tex as it is full documents with all headers.
>>
>> Manual striping of them is not a case - it is far better not include
>> anything. This is because at any time Doxygen would rerun to generate
>> new version of reference documentation. It would be probably nice to
>> have such feature in Doxygen itself to generate stripped .tex for
>> including in other document. However such requirement has to be
>> somehow defined - what should be present in that file, and what not.
>> Maybe some LyX modules could be used to feed package dependencies.
>>
>> Any advices? Any solutions?
>
> Insert it as a pdf with pdfpages?
>
> There's some support for that in Isert > File > External Material
>

I considered this, but I will get different formatting between
included content and my work. Additionally, I will get empty page
before first page of documentation would be included. Next, problem is
tweaking Doxygen LaTeX code to remove such things as title page, etc.

I made some process on including Doxygen into my document, however it
still requires manual corrections of the refman.tex file. General
result is far from being satisfactory. I am thinking on dropping this
idea.

-- 
Manveru
jabber: manv...@manveru.pl
     gg: 1624001
   http://www.manveru.pl


Re: Available Citations: using Bibtex

2011-09-14 Thread Richard Heck
On 09/14/2011 05:12 PM, Hal Kierstead wrote:
> I am trying to use bibtex in LyX 2.0, but only see a subset of mycitations in 
> the Available Citations list.  Any ideas what is wrong?
>
The usual reason is a Unicode character in your BibTeX file on which the
LyX parser is choking. It'll typically be in the entry following the
last one you see. Could be a dash, quote, etc, often pasted from the
Internet.

Richard



Re: Doxygen generated pages included in LyX document

2011-09-14 Thread Julien Rioux

On 14/09/2011 11:39 PM, Manveru wrote:

2011/9/14 Julien Rioux:

On 14/09/2011 9:31 PM, Manveru wrote:


Hi LyXers,

Has anyone ever successfully embed parts of Doxygen generated
documentation into LyX documents (Appendix in my case)?

I would like to have couple pages of the documentation be presented as
appendixes in my thesis, however single latex file included in LyX
want work due to "Lonely \item" errors, and I cannot include all
refman.tex as it is full documents with all headers.

Manual striping of them is not a case - it is far better not include
anything. This is because at any time Doxygen would rerun to generate
new version of reference documentation. It would be probably nice to
have such feature in Doxygen itself to generate stripped .tex for
including in other document. However such requirement has to be
somehow defined - what should be present in that file, and what not.
Maybe some LyX modules could be used to feed package dependencies.

Any advices? Any solutions?


Insert it as a pdf with pdfpages?

There's some support for that in Isert>  File>  External Material



I considered this, but I will get different formatting between
included content and my work.


OK, I must admit I never made such an operation. So I'm not sure, but I 
think you might be discarding this a little quickly. I found some PDF 
pages example that you find online. It's seems it would fit.


Use the same document class, fonts, margins, etc. I would imagine that 
you can supply your own preamble to Doxygen, which would handle all of 
that. Try copying the preamble code generated by LyX.


To remove headers and footers, you could do preamble code as well, which 
is just as easy as above, or apply a trim on the inserted PDF pages. You 
can set a pagecommand to overlay a \pagestyle{} command on top of the 
included PDF pages, thus keeping your headers, footers and page numbers 
running.



Additionally, I will get empty page
before first page of documentation would be included. Next, problem is
tweaking Doxygen LaTeX code to remove such things as title page, etc.



You're stuck with starting the Docu on a new page, is that what you 
mean? Formatting the first included page with a Chapter title is an 
issue. Here I don't see another way then editing of your external .tex 
file. Hopefully the amount of editing is sufficiently limited.


--
Julien



Re: Available Citations: using Bibtex

2011-09-14 Thread Hal Kierstead
Many thanks Richard.  You were exactly right. It was because of using a unicode 
accent on my mac instead of  " \' ".  I would have never guessed this.  

Is it a bug?  I only started using unicode symbols after somebody on here 
recommended it.

Thanks again,

Hal

On Sep 14, 2011, at 3:29 PM, Richard Heck wrote:

> On 09/14/2011 05:12 PM, Hal Kierstead wrote:
>> I am trying to use bibtex in LyX 2.0, but only see a subset of mycitations 
>> in the Available Citations list.  Any ideas what is wrong?
>> 
> The usual reason is a Unicode character in your BibTeX file on which the
> LyX parser is choking. It'll typically be in the entry following the
> last one you see. Could be a dash, quote, etc, often pasted from the
> Internet.
> 
> Richard



Re: pdflatex never finishes (LyX 2.0.1)

2011-09-14 Thread Paul Rubin
It would be a good idea to export a file to LaTeX (pdflatex), then run pdflatex
against it in a DOS window.  That might help pin down whether there are problems
with your LaTeX (MiKTeX?) distribution.

Paul




Re: Xy-pic command doesn't seem to work

2011-09-14 Thread Paul Rubin
Alberto Alcalá Alvarez  yahoo.com> writes:


> 
> \xymatrix {
>   B \ar {-->} [r] & R}
> does something like       B>^[r]     R

You need an ampersand (@) immediately before the braces:

\xymatrix {B \ar@{-->}[r] & R}

See section 3.4.1 of the XY-pic manual (in the Help menu).

Paul




Re: Available Citations: using Bibtex

2011-09-14 Thread Richard Heck
On 09/14/2011 07:03 PM, Hal Kierstead wrote:
> Many thanks Richard.  You were exactly right. It was because of using a 
> unicode accent on my mac instead of  " \' ".  I would have never guessed 
> this.  
>
> Is it a bug?  I only started using unicode symbols after somebody on here 
> recommended it.
>
It's kind of a bug, yes, but is also kind of inevitable. LyX will handle
Unicode BibTeX files properly, but only if the encoding of the document
is set to the same as the encoding of the BibTeX file. I.e., LyX assumes
that the encodings of the two files are the same, because that actually
needs to be the case for processing purposes. There are newer
processors, such as biber, that will do Unicode, and the newer BibLaTeX
processor will do this, but for the standard LaTeX + BibTeX combination,
you really need to use pure ASCII, because that is all BibTeX supports.
You can sometimes get away with a bit of Unicode in a BibTeX file,
actually, but it's just sheer luck when it works.

Ideally, LyX would detect the encoding of the file and re-write it as
needed. But this is impossible to do reliably, in principle, and it is
difficult to do with much reliability in practice.

See: http://www.lyx.org/trac/ticket/6223.

Richard



Re: compiling lyx 2.0.1

2011-09-14 Thread Wolfgang Engelmann

Zitat von Richard Heck :


On 09/14/2011 12:03 PM, Wolfgang Engelmann wrote:

Quoting Richard Heck :


On 09/14/2011 10:29 AM, Wolfgang Engelmann wrote:

In trying to compile the new lyx2.0.1 I encounter the following errors:

(I am using Debian squeeze)

 The following problems have been detected by configure.
 Please check the messages below before running 'make'.
 (see the section 'Problems' in the INSTALL file)

** Cannot find zlib.h. Please check that the zlib library
 is correctly installed on your system.
however, dpkg-dev is installed


Is zlib.h present?


yes, as zlib1g, and it says:
compression library - runtime
zlib is a library implementing the deflate compression method found
in gzip and PKZIP.  This package includes the shared library.


That package does not include the file zlib.h:
http://packages.debian.org/squeeze/amd64/zlib1g/filelist
You need zlib-dev:
http://packages.debian.org/squeeze/zlib1g-dev
http://packages.debian.org/squeeze/amd64/zlib1g-dev/filelist
which "includes the development support files".

Base packages, like zlib1g, include only the files need to *use* the  
library. So to run LyX, you only need zlib1g, which LyX uses to zip  
and unzip things. The *-dev packages, on the other hand, include  
what you need to "link against" the library, that is, what you need  
to *compile* programs that use that library. So, to compile LyX, you  
need zlib1g-dev.


The same goes for the X packages and Qt packages. E.g., as well as  
libqt4, you need libqt4-dev.


Richard



Thanks  Richard for your careful explanation. Will try and report.
Wolfgang