Re: [announce] LyXWinInstaller for LyX 1.6.3

2009-06-07 Thread Olivier Ripoll

Alex Fernandez wrote:

Hi again, Olivier,


[...]

The first file sent to elyxer was probably a little too complex. I killed
python after 40 minutes running full on one CPU.


This is the one I'm mostly interested on.


I found that the problem is not due to that file in particular but that 
any equation in display mode result in that CPU hogging. The very same 
equations pass well is inline mode.
You can find attached a very basic test file for it. I do not now if 
it's due to something on my machine (antivirus, configuration) or to my 
LyX defaults (e.g. defaulting to using KOMA-script classes, own margins...)



I later gave it a less complex file and it returned a correct and nice
result (where htlatex fails). I appreciate the fact that the home-made
character styles are converted to a Flex CSS class, which can then be
created in CSS.


Any custom layouts are converted to custom CSS classes. You have
indeed good eyes.


I wonder if those CSS classes could have a name based on the LyX style 
one. It could then be easy to use always the same CSS for several documents.


[...]


1-
Figure numbers are missing in the references. The link with a little blue
arrow works, but my text is full of Fig.  without figure number.


Odd, captions should work fine. Again, please send me a sample
document if at all possible.


It is probably due to a local problem, like for the equations. You'd 
probably have hit that problem otherwise.



2-
The HTML file is returned in a subfolder, so all images links are broken.
When moving the file in the parent folder (where the lyx file is, and where
the pdf/ps/TeX are exported, it works fine.


This is a design decision of Pavel Sanda (and for the record, I do not
agree with it):
  http://www.mail-archive.com/lyx-de...@lists.lyx.org/msg150892.html
There is the possibility of copying all referred image files, convert
them and then copy them back. This approach requires more work and I'm
still figuring it out.


IMHO the way firefox does it makes the most sense: the images are in a 
subfolder. The html itself should be either in that folder (like 
htlatex), or better, like any other exports with the original lyx file. 
I do not know how they (Firefox devs) do it, the html and its 
image/css/js folder are linked (at least on XP): if you move the file, 
the folder is moved with it.



3-
There is one place in my file where I used the \unittwo tip given in LyX
docs (Appendix A Typographic Advice of Math docs).


The \unit tag is not supported yet. If you send me a sample doc I will
try to make it work.


In the attached file, the second equation uses it.


Yes, I know I am requesting a lot of sample files from you; but that
is how eLyXer has improved until now, thanks to kind testers. You can
also join the hall of fame!


Already on it (for nothing...)



Alex.



Thanks for that nice tool.

Best regards,

Olivier.

PS: I'm not sure my thunderbird will attach the file in the correct 
format for the list, so if it does not work, tell me. Also, the message 
is passing through gmane newsgroup interface, so I hope the lyx file 
won't be eaten.


elyxer_test.lyx
Description: application/lyx


Re: bibunits, bibtopic, chapterbib ?

2009-06-07 Thread Jürgen Spitzmüller
Ralf wrote:
 1) since the information I found seems a bit old, is there any news of how
 to use these packages, in order to have a Reference-section in each
 Chapter?

The status is that bibtopic (as the only one of those packages) is natively 
supported by LyX (only for divided bibliographies, though, not for per-chapter 
bibliographies).
The Additional Features (a.k.a Extended) manual of LyX describes the use 
of bibtopic (also for chapter bibliographies) in sec. 3.1.2 and 3.1.3.

The use of alternative packages is described here:
http://wiki.lyx.org/BibTeX/Tips#secbib

 2) what experiences you got with the packages and which do you recommend in
 terms of simple usage, no fuzz, quick to use ? (I don't need fancy so much,
 so simple but reliable will do...)

I have used both bibtopic and bibunits and found both easy to use. They differ 
conceptually, so your choice depends on what you need and on your personal 
workflow.

Since I switched to biblatex now, I would probably use its capabilities to 
produce such bibliographies. If you are at the beginning of a project, 
considering biblatex is advised. It is not (yet) natively supported by LyX, 
but it can be used with some effort (cf. the wiki).

Jürgen



Re: bug lyx 1.6.2/3

2009-06-07 Thread Jürgen Spitzmüller
Pavel Sanda wrote:
 yes i remember such kind of report. somewhere in the bug tracker (searching
 in new trac is such an disaster that i surrendered, you can try to find
 it...)

http://www.lyx.org/trac/ticket/5917

Jürgen



Lyx on debian lenny 64 bit zlib/libz

2009-06-07 Thread bb
The actual lenny repository offers Lyx 1.5.5.. I tried to compile Lyx 
1.6.2 from source but ende with problems  in the ./configure-step. with 
the message:

** Cannot find libz. Please check that the zlib library
  is correctly installed on your system.
I installed a lot of libs from the lenny repository, for instance
lib64z1, libzzip-0-13zlib1g, zlib-bin, zlibc, zlib-gst, zziplib-bin
and tried some installations of zlib and libz from source from offerers 
of other internetpages as well - no success.
I tried the version Lyx 1.6.3 with some new hope but end with the same 
result.
It would be simply great, if anyone would share the secret of that libz 
or zlib or whatever to get a new version of Lyx running on lenny.

Thanks
BB



Re: bug lyx 1.6.2/3

2009-06-07 Thread Pavel Sanda
bb wrote:
 I would say, that particular bug is not dangerous because one will not
 lose any data, but it is a bit annoying.

btw can be seen some error messages on the console once this happens?
pavel


Re: Lyx on debian lenny 64 bit zlib/libz

2009-06-07 Thread Kornel Benko
Am Sonntag 07 Juni 2009 schrieb bb:
 The actual lenny repository offers Lyx 1.5.5.. I tried to compile Lyx
 1.6.2 from source but ende with problems  in the ./configure-step. with
 the message:
 ** Cannot find libz. Please check that the zlib library
is correctly installed on your system.
 I installed a lot of libs from the lenny repository, for instance
 lib64z1, libzzip-0-13zlib1g, zlib-bin, zlibc, zlib-gst, zziplib-bin
 and tried some installations of zlib and libz from source from offerers
 of other internetpages as well - no success.
 I tried the version Lyx 1.6.3 with some new hope but end with the same
 result.
 It would be simply great, if anyone would share the secret of that libz
 or zlib or whatever to get a new version of Lyx running on lenny.
 Thanks
 BB
You probably missed installing the devel-packages.
On ubuntu it is
zlib1g-dev
don't know the names for lenny.

Kornel

-- 
Kornel Benko
kornel.be...@berlin.de


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


Inserting C++ code

2009-06-07 Thread Sajjad
Hello forum,

I have installed LyX 2.6.1 and trying to insert C++ code. I am trying as
follows:

1. Inserted a float algorithm .
2. Pasted the code snippet inside that


But the code is not well formatted

Any hint on how to keep the format ?


Regards
Sajjad


Re: Inserting C++ code

2009-06-07 Thread Uwe Stöhr

Sajjad schrieb:


I have installed LyX 2.6.1 and trying to insert C++ code. I am trying as
follows:

1. Inserted a float algorithm .
2. Pasted the code snippet inside that


The better solution is to use the listings inset. This is described in sec. 7 of the EmbeddedObjects 
manual that you find in LyX's Help menu.


regards Uwe


Re: Inserting C++ code

2009-06-07 Thread Erez Yerushalmi
Hi Sajjad,

This reminds me of Bob's solution for Matlab2tex. Maybe you can use his
trick for C++.
see http://www.mail-archive.com/lyx-users@lists.lyx.org/msg73865.html

I would like to hear how you solved it.

Best,
Erez



On Sun, Jun 7, 2009 at 12:55 PM, Sajjad dosto.wa...@gmail.com wrote:

 Hello forum,

 I have installed LyX 2.6.1 and trying to insert C++ code. I am trying as
 follows:

 1. Inserted a float algorithm .
 2. Pasted the code snippet inside that


 But the code is not well formatted

 Any hint on how to keep the format ?


 Regards
 Sajjad




-- 
Erez Yerushalmi
PhD Student
Warwick University, UK
homepage: http://go.warwick.ac.uk/ep/pg/ecrfaw


Re: Unavailable document classes [OSX]

2009-06-07 Thread Walter van Holst

BH schreef:


I really have no idea. We check all the standard locations for LaTeX
installations, and I don't remember other reports of such problems.
(Does anyone else experience this? If so, please give some details
about your system and LaTeX installation ... and anything unusual you
might have done.)


It turns out to be a somewhat outdated LaTeX installation. And me 
overlooking the red tick in the LyX installer. :-(


Regards,

 Walter


xfig figure inclusion in lyx 1.5.7

2009-06-07 Thread subir singh
Hi,

I am using lyx1.5.7 on windows XP. I want to have a figure with greek
symbols, so I tried including xfig file directly as external document. The
problem is when I try and compile it gives:-

An error occurred whilst running python -tt C:/program
Files/LyX15/Resource/scrip

on clicking the ok option message appears:-

An empty file was generated

then it says:-

Latex Error File 1D_Work_Presentation_Fig_ch12.pstex_t   not found.

It is to be noted that I am including file ch12.fig   while is  in
D:/Work/Presentation/Fig.

Any help will be deeply appreciated.

Regards
Subir


Re: How to get more recognizeable footnotes?

2009-06-07 Thread Guenter Milde
On 2009-06-06, Steve Litt wrote:

 The root cause is clicking goes too low on the page. I'd like to fix that if 
 at all possible. If I can't fix that (perhaps it's part of LaTex), then I at 
 least must know how to change the typeface, size, weight and slant of 
 footnote text so it's positively recognizeable as a footnote.

 Any ideas?

* Simplest: use page view instead of continuous view in the reader.

* Style the footnotes with one of the footnote related packages 

   bigfoot.sty, eskdfootnote.sty, fixfoot.sty,
   footmisc.sty, mdwtools/footnote.sty,
   ncctools/manyfoot.sty, ncctools/nccfoots.sty, pdfcolfoot.sty,
   ...
   
* Ask at comp.text.tex for help with hyperref jumping too low
  (it always jumps to the baseline of the target, while the reader
  displays the target at the upper margin of the window :-(
  
Günter 




forward search?

2009-06-07 Thread Philippe Grosjean

Hello,

I have set up the reverse DVI/PDF search feature. However, I would like 
to do the opposite: forward search (indicate the same position in the 
DVI/PDF as where is the cursor in the LyX document). Is it a mean to 
associate a key combination to trigger it?


I could work with the lyx server, but I miss a function that indicates 
me the line in the tex file corresponding to the position of the cursor 
in LyX. I imagine that such information could be accessible, since 
server-goto-file-row is capable of doing the opposite (from Tex line to 
LyX line).


In case this function does not exists, would it be possible to develop 
it for next LyX version?


Thanks,

Philippe
--
..°}))
 ) ) ) ) )
( ( ( ( (Prof. Philippe Grosjean
 ) ) ) ) )
( ( ( ( (Numerical Ecology of Aquatic Systems
 ) ) ) ) )   Mons-Hainaut University, Belgium
( ( ( ( (
..


Re: forward search?

2009-06-07 Thread Pavel Sanda
Philippe Grosjean wrote:
 In case this function does not exists, would it be possible to develop it 
 for next LyX version?

http://www.lyx.org/trac/ticket/94


Re: Unavailable document classes [OSX]

2009-06-07 Thread BH
On Sun, Jun 7, 2009 at 10:48 AM, Walter van
Holstwalter.van.ho...@xs4all.nl wrote:
 BH schreef:

 I really have no idea. We check all the standard locations for LaTeX
 installations, and I don't remember other reports of such problems.
 (Does anyone else experience this? If so, please give some details
 about your system and LaTeX installation ... and anything unusual you
 might have done.)

 It turns out to be a somewhat outdated LaTeX installation. And me
 overlooking the red tick in the LyX installer. :-(

OK -- thanks for letting us know.

BH


Re: forward search?

2009-06-07 Thread Jürgen Spitzmüller
Philippe Grosjean wrote:
 I could work with the lyx server, but I miss a function that indicates
 me the line in the tex file corresponding to the position of the cursor
 in LyX. I imagine that such information could be accessible, since
 server-goto-file-row is capable of doing the opposite (from Tex line to
 LyX line).

Generally, it's easy to access the desired information (via 
buffer().texrow().getRowFromIdPos), the question is how to communicate it to 
the viewer.

What is the syntax of forward search? I guess it does (as with reverse search) 
differ between viewers?

Jürgen




Re: [announce] LyXWinInstaller for LyX 1.6.3

2009-06-07 Thread Olivier Ripoll

Alex Fernandez wrote:

Hi again, Olivier,


[...]

The first file sent to elyxer was probably a little too complex. I killed
python after 40 minutes running full on one CPU.


This is the one I'm mostly interested on.


I found that the problem is not due to that file in particular but that 
any equation in display mode result in that CPU hogging. The very same 
equations pass well is inline mode.
You can find attached a very basic test file for it. I do not now if 
it's due to something on my machine (antivirus, configuration) or to my 
LyX defaults (e.g. defaulting to using KOMA-script classes, own margins...)



I later gave it a less complex file and it returned a correct and nice
result (where htlatex fails). I appreciate the fact that the home-made
character styles are converted to a Flex CSS class, which can then be
created in CSS.


Any custom layouts are converted to custom CSS classes. You have
indeed good eyes.


I wonder if those CSS classes could have a name based on the LyX style 
one. It could then be easy to use always the same CSS for several documents.


[...]


1-
Figure numbers are missing in the references. The link with a little blue
arrow works, but my text is full of Fig.  without figure number.


Odd, captions should work fine. Again, please send me a sample
document if at all possible.


It is probably due to a local problem, like for the equations. You'd 
probably have hit that problem otherwise.



2-
The HTML file is returned in a subfolder, so all images links are broken.
When moving the file in the parent folder (where the lyx file is, and where
the pdf/ps/TeX are exported, it works fine.


This is a design decision of Pavel Sanda (and for the record, I do not
agree with it):
  http://www.mail-archive.com/lyx-de...@lists.lyx.org/msg150892.html
There is the possibility of copying all referred image files, convert
them and then copy them back. This approach requires more work and I'm
still figuring it out.


IMHO the way firefox does it makes the most sense: the images are in a 
subfolder. The html itself should be either in that folder (like 
htlatex), or better, like any other exports with the original lyx file. 
I do not know how they (Firefox devs) do it, the html and its 
image/css/js folder are linked (at least on XP): if you move the file, 
the folder is moved with it.



3-
There is one place in my file where I used the \unittwo tip given in LyX
docs (Appendix A Typographic Advice of Math docs).


The \unit tag is not supported yet. If you send me a sample doc I will
try to make it work.


In the attached file, the second equation uses it.


Yes, I know I am requesting a lot of sample files from you; but that
is how eLyXer has improved until now, thanks to kind testers. You can
also join the hall of fame!


Already on it (for nothing...)



Alex.



Thanks for that nice tool.

Best regards,

Olivier.

PS: I'm not sure my thunderbird will attach the file in the correct 
format for the list, so if it does not work, tell me. Also, the message 
is passing through gmane newsgroup interface, so I hope the lyx file 
won't be eaten.


elyxer_test.lyx
Description: application/lyx


Re: bibunits, bibtopic, chapterbib ?

2009-06-07 Thread Jürgen Spitzmüller
Ralf wrote:
 1) since the information I found seems a bit old, is there any news of how
 to use these packages, in order to have a Reference-section in each
 Chapter?

The status is that bibtopic (as the only one of those packages) is natively 
supported by LyX (only for divided bibliographies, though, not for per-chapter 
bibliographies).
The Additional Features (a.k.a Extended) manual of LyX describes the use 
of bibtopic (also for chapter bibliographies) in sec. 3.1.2 and 3.1.3.

The use of alternative packages is described here:
http://wiki.lyx.org/BibTeX/Tips#secbib

 2) what experiences you got with the packages and which do you recommend in
 terms of simple usage, no fuzz, quick to use ? (I don't need fancy so much,
 so simple but reliable will do...)

I have used both bibtopic and bibunits and found both easy to use. They differ 
conceptually, so your choice depends on what you need and on your personal 
workflow.

Since I switched to biblatex now, I would probably use its capabilities to 
produce such bibliographies. If you are at the beginning of a project, 
considering biblatex is advised. It is not (yet) natively supported by LyX, 
but it can be used with some effort (cf. the wiki).

Jürgen



Re: bug lyx 1.6.2/3

2009-06-07 Thread Jürgen Spitzmüller
Pavel Sanda wrote:
 yes i remember such kind of report. somewhere in the bug tracker (searching
 in new trac is such an disaster that i surrendered, you can try to find
 it...)

http://www.lyx.org/trac/ticket/5917

Jürgen



Lyx on debian lenny 64 bit zlib/libz

2009-06-07 Thread bb
The actual lenny repository offers Lyx 1.5.5.. I tried to compile Lyx 
1.6.2 from source but ende with problems  in the ./configure-step. with 
the message:

** Cannot find libz. Please check that the zlib library
  is correctly installed on your system.
I installed a lot of libs from the lenny repository, for instance
lib64z1, libzzip-0-13zlib1g, zlib-bin, zlibc, zlib-gst, zziplib-bin
and tried some installations of zlib and libz from source from offerers 
of other internetpages as well - no success.
I tried the version Lyx 1.6.3 with some new hope but end with the same 
result.
It would be simply great, if anyone would share the secret of that libz 
or zlib or whatever to get a new version of Lyx running on lenny.

Thanks
BB



Re: bug lyx 1.6.2/3

2009-06-07 Thread Pavel Sanda
bb wrote:
 I would say, that particular bug is not dangerous because one will not
 lose any data, but it is a bit annoying.

btw can be seen some error messages on the console once this happens?
pavel


Re: Lyx on debian lenny 64 bit zlib/libz

2009-06-07 Thread Kornel Benko
Am Sonntag 07 Juni 2009 schrieb bb:
 The actual lenny repository offers Lyx 1.5.5.. I tried to compile Lyx
 1.6.2 from source but ende with problems  in the ./configure-step. with
 the message:
 ** Cannot find libz. Please check that the zlib library
is correctly installed on your system.
 I installed a lot of libs from the lenny repository, for instance
 lib64z1, libzzip-0-13zlib1g, zlib-bin, zlibc, zlib-gst, zziplib-bin
 and tried some installations of zlib and libz from source from offerers
 of other internetpages as well - no success.
 I tried the version Lyx 1.6.3 with some new hope but end with the same
 result.
 It would be simply great, if anyone would share the secret of that libz
 or zlib or whatever to get a new version of Lyx running on lenny.
 Thanks
 BB
You probably missed installing the devel-packages.
On ubuntu it is
zlib1g-dev
don't know the names for lenny.

Kornel

-- 
Kornel Benko
kornel.be...@berlin.de


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


Inserting C++ code

2009-06-07 Thread Sajjad
Hello forum,

I have installed LyX 2.6.1 and trying to insert C++ code. I am trying as
follows:

1. Inserted a float algorithm .
2. Pasted the code snippet inside that


But the code is not well formatted

Any hint on how to keep the format ?


Regards
Sajjad


Re: Inserting C++ code

2009-06-07 Thread Uwe Stöhr

Sajjad schrieb:


I have installed LyX 2.6.1 and trying to insert C++ code. I am trying as
follows:

1. Inserted a float algorithm .
2. Pasted the code snippet inside that


The better solution is to use the listings inset. This is described in sec. 7 of the EmbeddedObjects 
manual that you find in LyX's Help menu.


regards Uwe


Re: Inserting C++ code

2009-06-07 Thread Erez Yerushalmi
Hi Sajjad,

This reminds me of Bob's solution for Matlab2tex. Maybe you can use his
trick for C++.
see http://www.mail-archive.com/lyx-users@lists.lyx.org/msg73865.html

I would like to hear how you solved it.

Best,
Erez



On Sun, Jun 7, 2009 at 12:55 PM, Sajjad dosto.wa...@gmail.com wrote:

 Hello forum,

 I have installed LyX 2.6.1 and trying to insert C++ code. I am trying as
 follows:

 1. Inserted a float algorithm .
 2. Pasted the code snippet inside that


 But the code is not well formatted

 Any hint on how to keep the format ?


 Regards
 Sajjad




-- 
Erez Yerushalmi
PhD Student
Warwick University, UK
homepage: http://go.warwick.ac.uk/ep/pg/ecrfaw


Re: Unavailable document classes [OSX]

2009-06-07 Thread Walter van Holst

BH schreef:


I really have no idea. We check all the standard locations for LaTeX
installations, and I don't remember other reports of such problems.
(Does anyone else experience this? If so, please give some details
about your system and LaTeX installation ... and anything unusual you
might have done.)


It turns out to be a somewhat outdated LaTeX installation. And me 
overlooking the red tick in the LyX installer. :-(


Regards,

 Walter


xfig figure inclusion in lyx 1.5.7

2009-06-07 Thread subir singh
Hi,

I am using lyx1.5.7 on windows XP. I want to have a figure with greek
symbols, so I tried including xfig file directly as external document. The
problem is when I try and compile it gives:-

An error occurred whilst running python -tt C:/program
Files/LyX15/Resource/scrip

on clicking the ok option message appears:-

An empty file was generated

then it says:-

Latex Error File 1D_Work_Presentation_Fig_ch12.pstex_t   not found.

It is to be noted that I am including file ch12.fig   while is  in
D:/Work/Presentation/Fig.

Any help will be deeply appreciated.

Regards
Subir


Re: How to get more recognizeable footnotes?

2009-06-07 Thread Guenter Milde
On 2009-06-06, Steve Litt wrote:

 The root cause is clicking goes too low on the page. I'd like to fix that if 
 at all possible. If I can't fix that (perhaps it's part of LaTex), then I at 
 least must know how to change the typeface, size, weight and slant of 
 footnote text so it's positively recognizeable as a footnote.

 Any ideas?

* Simplest: use page view instead of continuous view in the reader.

* Style the footnotes with one of the footnote related packages 

   bigfoot.sty, eskdfootnote.sty, fixfoot.sty,
   footmisc.sty, mdwtools/footnote.sty,
   ncctools/manyfoot.sty, ncctools/nccfoots.sty, pdfcolfoot.sty,
   ...
   
* Ask at comp.text.tex for help with hyperref jumping too low
  (it always jumps to the baseline of the target, while the reader
  displays the target at the upper margin of the window :-(
  
Günter 




forward search?

2009-06-07 Thread Philippe Grosjean

Hello,

I have set up the reverse DVI/PDF search feature. However, I would like 
to do the opposite: forward search (indicate the same position in the 
DVI/PDF as where is the cursor in the LyX document). Is it a mean to 
associate a key combination to trigger it?


I could work with the lyx server, but I miss a function that indicates 
me the line in the tex file corresponding to the position of the cursor 
in LyX. I imagine that such information could be accessible, since 
server-goto-file-row is capable of doing the opposite (from Tex line to 
LyX line).


In case this function does not exists, would it be possible to develop 
it for next LyX version?


Thanks,

Philippe
--
..°}))
 ) ) ) ) )
( ( ( ( (Prof. Philippe Grosjean
 ) ) ) ) )
( ( ( ( (Numerical Ecology of Aquatic Systems
 ) ) ) ) )   Mons-Hainaut University, Belgium
( ( ( ( (
..


Re: forward search?

2009-06-07 Thread Pavel Sanda
Philippe Grosjean wrote:
 In case this function does not exists, would it be possible to develop it 
 for next LyX version?

http://www.lyx.org/trac/ticket/94


Re: Unavailable document classes [OSX]

2009-06-07 Thread BH
On Sun, Jun 7, 2009 at 10:48 AM, Walter van
Holstwalter.van.ho...@xs4all.nl wrote:
 BH schreef:

 I really have no idea. We check all the standard locations for LaTeX
 installations, and I don't remember other reports of such problems.
 (Does anyone else experience this? If so, please give some details
 about your system and LaTeX installation ... and anything unusual you
 might have done.)

 It turns out to be a somewhat outdated LaTeX installation. And me
 overlooking the red tick in the LyX installer. :-(

OK -- thanks for letting us know.

BH


Re: forward search?

2009-06-07 Thread Jürgen Spitzmüller
Philippe Grosjean wrote:
 I could work with the lyx server, but I miss a function that indicates
 me the line in the tex file corresponding to the position of the cursor
 in LyX. I imagine that such information could be accessible, since
 server-goto-file-row is capable of doing the opposite (from Tex line to
 LyX line).

Generally, it's easy to access the desired information (via 
buffer().texrow().getRowFromIdPos), the question is how to communicate it to 
the viewer.

What is the syntax of forward search? I guess it does (as with reverse search) 
differ between viewers?

Jürgen




Re: [announce] LyXWinInstaller for LyX 1.6.3

2009-06-07 Thread Olivier Ripoll

Alex Fernandez wrote:

Hi again, Olivier,


[...]

The first file sent to elyxer was probably a little too complex. I killed
python after 40 minutes running full on one CPU.


This is the one I'm mostly interested on.


I found that the problem is not due to that file in particular but that 
any equation in "display" mode result in that CPU hogging. The very same 
equations pass well is "inline" mode.
You can find attached a very basic test file for it. I do not now if 
it's due to something on my machine (antivirus, configuration) or to my 
LyX defaults (e.g. defaulting to using KOMA-script classes, own margins...)



I later gave it a less complex file and it returned a correct and nice
result (where htlatex fails). I appreciate the fact that the home-made
character styles are converted to a "Flex" CSS class, which can then be
created in CSS.


Any custom layouts are converted to custom CSS classes. You have
indeed good eyes.


I wonder if those CSS classes could have a name based on the LyX style 
one. It could then be easy to use always the same CSS for several documents.


[...]


1-
Figure numbers are missing in the references. The link with a little blue
arrow works, but my text is full of "Fig. " without figure number.


Odd, captions should work fine. Again, please send me a sample
document if at all possible.


It is probably due to a local problem, like for the equations. You'd 
probably have hit that problem otherwise.



2-
The HTML file is returned in a subfolder, so all images links are broken.
When moving the file in the parent folder (where the lyx file is, and where
the pdf/ps/TeX are exported, it works fine.


This is a design decision of Pavel Sanda (and for the record, I do not
agree with it):
  http://www.mail-archive.com/lyx-de...@lists.lyx.org/msg150892.html
There is the possibility of copying all referred image files, convert
them and then copy them back. This approach requires more work and I'm
still figuring it out.


IMHO the way firefox does it makes the most sense: the images are in a 
subfolder. The html itself should be either in that folder (like 
htlatex), or better, like any other exports with the original lyx file. 
I do not know how they (Firefox devs) do it, the html and its 
image/css/js folder are linked (at least on XP): if you move the file, 
the folder is moved with it.



3-
There is one place in my file where I used the "\unittwo" tip given in LyX
docs (Appendix A "Typographic Advice" of Math docs).


The \unit tag is not supported yet. If you send me a sample doc I will
try to make it work.


In the attached file, the second equation uses it.


Yes, I know I am requesting a lot of sample files from you; but that
is how eLyXer has improved until now, thanks to kind testers. You can
also join the hall of fame!


Already on it (for nothing...)



Alex.



Thanks for that nice tool.

Best regards,

Olivier.

PS: I'm not sure my thunderbird will attach the file in the correct 
format for the list, so if it does not work, tell me. Also, the message 
is passing through gmane newsgroup interface, so I hope the lyx file 
won't be eaten.


elyxer_test.lyx
Description: application/lyx


Re: bibunits, bibtopic, chapterbib ?

2009-06-07 Thread Jürgen Spitzmüller
Ralf wrote:
> 1) since the information I found seems a bit old, is there any news of how
> to use these packages, in order to have a Reference-section in each
> Chapter?

The status is that bibtopic (as the only one of those packages) is natively 
supported by LyX (only for divided bibliographies, though, not for per-chapter 
bibliographies).
The "Additional Features" (a.k.a "Extended") manual of LyX describes the use 
of bibtopic (also for chapter bibliographies) in sec. 3.1.2 and 3.1.3.

The use of alternative packages is described here:
http://wiki.lyx.org/BibTeX/Tips#secbib

> 2) what experiences you got with the packages and which do you recommend in
> terms of simple usage, no fuzz, quick to use ? (I don't need fancy so much,
> so simple but reliable will do...)

I have used both bibtopic and bibunits and found both easy to use. They differ 
conceptually, so your choice depends on what you need and on your personal 
workflow.

Since I switched to biblatex now, I would probably use its capabilities to 
produce such bibliographies. If you are at the beginning of a project, 
considering biblatex is advised. It is not (yet) natively supported by LyX, 
but it can be used with some effort (cf. the wiki).

Jürgen



Re: bug lyx 1.6.2/3

2009-06-07 Thread Jürgen Spitzmüller
Pavel Sanda wrote:
> yes i remember such kind of report. somewhere in the bug tracker (searching
> in new trac is such an disaster that i surrendered, you can try to find
> it...)

http://www.lyx.org/trac/ticket/5917

Jürgen



Lyx on debian lenny 64 bit zlib/libz

2009-06-07 Thread bb
The actual lenny repository offers Lyx 1.5.5.. I tried to compile Lyx 
1.6.2 from source but ende with problems  in the ./configure-step. with 
the message:

** Cannot find libz. Please check that the zlib library
  is correctly installed on your system.
I installed a lot of libs from the lenny repository, for instance
lib64z1, libzzip-0-13zlib1g, zlib-bin, zlibc, zlib-gst, zziplib-bin
and tried some installations of zlib and libz from source from offerers 
of other internetpages as well - no success.
I tried the version Lyx 1.6.3 with some new hope but end with the same 
result.
It would be simply great, if anyone would share the secret of that libz 
or zlib or whatever to get a new version of Lyx running on lenny.

Thanks
BB



Re: bug lyx 1.6.2/3

2009-06-07 Thread Pavel Sanda
bb wrote:
> I would say, that particular bug is not dangerous because one will not
> lose any data, but it is a bit annoying.

btw can be seen some error messages on the console once this happens?
pavel


Re: Lyx on debian lenny 64 bit zlib/libz

2009-06-07 Thread Kornel Benko
Am Sonntag 07 Juni 2009 schrieb bb:
> The actual lenny repository offers Lyx 1.5.5.. I tried to compile Lyx
> 1.6.2 from source but ende with problems  in the ./configure-step. with
> the message:
> ** Cannot find libz. Please check that the zlib library
>is correctly installed on your system.
> I installed a lot of libs from the lenny repository, for instance
> lib64z1, libzzip-0-13zlib1g, zlib-bin, zlibc, zlib-gst, zziplib-bin
> and tried some installations of zlib and libz from source from offerers
> of other internetpages as well - no success.
> I tried the version Lyx 1.6.3 with some new hope but end with the same
> result.
> It would be simply great, if anyone would share the secret of that libz
> or zlib or whatever to get a new version of Lyx running on lenny.
> Thanks
> BB
You probably missed installing the devel-packages.
On ubuntu it is
zlib1g-dev
don't know the names for lenny.

Kornel

-- 
Kornel Benko
kornel.be...@berlin.de


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


Inserting C++ code

2009-06-07 Thread Sajjad
Hello forum,

I have installed LyX 2.6.1 and trying to insert C++ code. I am trying as
follows:

1. Inserted a float algorithm .
2. Pasted the code snippet inside that


But the code is not well formatted

Any hint on how to keep the format ?


Regards
Sajjad


Re: Inserting C++ code

2009-06-07 Thread Uwe Stöhr

Sajjad schrieb:


I have installed LyX 2.6.1 and trying to insert C++ code. I am trying as
follows:

1. Inserted a float algorithm .
2. Pasted the code snippet inside that


The better solution is to use the listings inset. This is described in sec. 7 of the EmbeddedObjects 
manual that you find in LyX's Help menu.


regards Uwe


Re: Inserting C++ code

2009-06-07 Thread Erez Yerushalmi
Hi Sajjad,

This reminds me of Bob's solution for Matlab2tex. Maybe you can use his
trick for C++.
see http://www.mail-archive.com/lyx-users@lists.lyx.org/msg73865.html

I would like to hear how you solved it.

Best,
Erez



On Sun, Jun 7, 2009 at 12:55 PM, Sajjad  wrote:

> Hello forum,
>
> I have installed LyX 2.6.1 and trying to insert C++ code. I am trying as
> follows:
>
> 1. Inserted a float algorithm .
> 2. Pasted the code snippet inside that
>
>
> But the code is not well formatted
>
> Any hint on how to keep the format ?
>
>
> Regards
> Sajjad
>



-- 
Erez Yerushalmi
PhD Student
Warwick University, UK
homepage: http://go.warwick.ac.uk/ep/pg/ecrfaw


Re: Unavailable document classes [OSX]

2009-06-07 Thread Walter van Holst

BH schreef:


I really have no idea. We check all the standard locations for LaTeX
installations, and I don't remember other reports of such problems.
(Does anyone else experience this? If so, please give some details
about your system and LaTeX installation ... and anything unusual you
might have done.)


It turns out to be a somewhat outdated LaTeX installation. And me 
overlooking the red tick in the LyX installer. :-(


Regards,

 Walter


xfig figure inclusion in lyx 1.5.7

2009-06-07 Thread subir singh
Hi,

I am using lyx1.5.7 on windows XP. I want to have a figure with greek
symbols, so I tried including xfig file directly as external document. The
problem is when I try and compile it gives:-

An error occurred whilst running python -tt C:/program
Files/LyX15/Resource/scrip

on clicking the ok option message appears:-

An empty file was generated

then it says:-

Latex Error File 1D_Work_Presentation_Fig_ch12.pstex_t   not found.

It is to be noted that I am including file ch12.fig   while is  in
D:/Work/Presentation/Fig.

Any help will be deeply appreciated.

Regards
Subir


Re: How to get more recognizeable footnotes?

2009-06-07 Thread Guenter Milde
On 2009-06-06, Steve Litt wrote:

> The root cause is clicking goes too low on the page. I'd like to fix that if 
> at all possible. If I can't fix that (perhaps it's part of LaTex), then I at 
> least must know how to change the typeface, size, weight and slant of 
> footnote text so it's positively recognizeable as a footnote.

> Any ideas?

* Simplest: use page view instead of continuous view in the reader.

* Style the footnotes with one of the footnote related packages 

   bigfoot.sty, eskdfootnote.sty, fixfoot.sty,
   footmisc.sty, mdwtools/footnote.sty,
   ncctools/manyfoot.sty, ncctools/nccfoots.sty, pdfcolfoot.sty,
   ...
   
* Ask at comp.text.tex for help with hyperref jumping too low
  (it always jumps to the baseline of the target, while the reader
  displays the target at the upper margin of the window :-(
  
Günter 




forward search?

2009-06-07 Thread Philippe Grosjean

Hello,

I have set up the reverse DVI/PDF search feature. However, I would like 
to do the opposite: forward search (indicate the same position in the 
DVI/PDF as where is the cursor in the LyX document). Is it a mean to 
associate a key combination to trigger it?


I could work with the lyx server, but I miss a function that indicates 
me the line in the tex file corresponding to the position of the cursor 
in LyX. I imagine that such information could be accessible, since 
server-goto-file-row is capable of doing the opposite (from Tex line to 
LyX line).


In case this function does not exists, would it be possible to develop 
it for next LyX version?


Thanks,

Philippe
--
..<°}))><
 ) ) ) ) )
( ( ( ( (Prof. Philippe Grosjean
 ) ) ) ) )
( ( ( ( (Numerical Ecology of Aquatic Systems
 ) ) ) ) )   Mons-Hainaut University, Belgium
( ( ( ( (
..


Re: forward search?

2009-06-07 Thread Pavel Sanda
Philippe Grosjean wrote:
> In case this function does not exists, would it be possible to develop it 
> for next LyX version?

http://www.lyx.org/trac/ticket/94


Re: Unavailable document classes [OSX]

2009-06-07 Thread BH
On Sun, Jun 7, 2009 at 10:48 AM, Walter van
Holst wrote:
> BH schreef:
>
>> I really have no idea. We check all the standard locations for LaTeX
>> installations, and I don't remember other reports of such problems.
>> (Does anyone else experience this? If so, please give some details
>> about your system and LaTeX installation ... and anything unusual you
>> might have done.)
>
> It turns out to be a somewhat outdated LaTeX installation. And me
> overlooking the red tick in the LyX installer. :-(

OK -- thanks for letting us know.

BH


Re: forward search?

2009-06-07 Thread Jürgen Spitzmüller
Philippe Grosjean wrote:
> I could work with the lyx server, but I miss a function that indicates
> me the line in the tex file corresponding to the position of the cursor
> in LyX. I imagine that such information could be accessible, since
> server-goto-file-row is capable of doing the opposite (from Tex line to
> LyX line).

Generally, it's easy to access the desired information (via 
buffer().texrow().getRowFromIdPos), the question is how to communicate it to 
the viewer.

What is the syntax of forward search? I guess it does (as with reverse search) 
differ between viewers?

Jürgen