Re: Crash with language change in combination with utf8 float tableau

2011-12-30 Thread Jürgen Spitzmüller
Peter Baumgartner wrote:
 Here is the minimal example file.

I cannot reproduce the crash with this file, using latest 2_0_X branch. Maybe 
someone else can.

Peter, which OS are you on?

Jürgen


Re: Crash with language change in combination with utf8 float tableau

2011-12-30 Thread nomnex
 On Fri, 30 Dec 2011 09:13:24 +0100
 Jürgen Spitzmüller sp...@lyx.org wrote:

 Peter Baumgartner wrote:
  Here is the minimal example file.
 
 I cannot reproduce the crash with this file, using latest 2_0_X
 branch. Maybe someone else can.
 
 Peter, which OS are you on?
 
 Jürgen

I guess I can. I am using Fedroa 15 LXDE, LyX 2.0.2, and the official
outdated Textlive 2007 from the repo. I have tried, and once I remove
the package unsupported by my textlive version (Doc  Settings 
preamble), I can export to pdf/dvi. LyX crashes immediately (LyX
closes). It generates a ABRT (automated bug reporting tool) report.

I am aware the file is in German. I am also a beginner (I installed LyX
a week ago, and I have NO level of expertise yet). Let me know if my
answer is not relevant.

Regards,
nomnex

-- 
nomnex nom...@gmail.com
Freenode: nomnex
Registered Linux user #505281. Be counted at: http://linuxcounter.net


Re: Crash with language change in combination with utf8 float tableau

2011-12-30 Thread Jürgen Spitzmüller
nomnex wrote:
 I guess I can. I am using Fedroa 15 LXDE, LyX 2.0.2, and the official
 outdated Textlive 2007 from the repo. I have tried, and once I remove
 the package unsupported by my textlive version (Doc  Settings 
 preamble), I can export to pdf/dvi. LyX crashes immediately (LyX
 closes). It generates a ABRT (automated bug reporting tool) report.

Thanks. Are there any suspicious messages in that report (or on the console, 
if you start LyX from there)? Also, can you export to LaTeX (pdflatex) and 
post the tex file here?

 I am aware the file is in German. I am also a beginner (I installed LyX
 a week ago, and I have NO level of expertise yet). Let me know if my
 answer is not relevant.

It will help pinpointing the problem. Thanks for investigating.

Jürgen


Re: Crash with language change in combination with utf8 float tableau

2011-12-30 Thread Jürgen Spitzmüller
Jürgen Spitzmüller wrote:
  I am aware the file is in German. I am also a beginner (I installed LyX
  a week ago, and I have NO level of expertise yet). Let me know if my
  answer is not relevant.
 
 It will help pinpointing the problem. Thanks for investigating.

I investigated a bit further and I think this is
http://www.lyx.org/trac/ticket/7941

This explains why I do not get the crash: The bug is already fixed in the 
stable branch.

Peter, if you compile the source yourself, you might try out latest branch or 
apply the following patch to your sources:
http://www.lyx.org/trac/changeset/40514

Jürgen



Re: Crash with language change in combination with utf8 float tableau

2011-12-30 Thread Stephan Witt
Am 30.12.2011 um 09:13 schrieb Jürgen Spitzmüller:

 Peter Baumgartner wrote:
 Here is the minimal example file.
 
 I cannot reproduce the crash with this file, using latest 2_0_X branch. Maybe 
 someone else can.
 
 Peter, which OS are you on?

I gave it a try on Mac OS X and it didn't crash with LyX trunk.
Terminal output:

Running: pdflatex -synctex=-1  test-utf8-crash.tex  /dev/null
This is pdfTeX, Version 3.1415926-2.3-1.40.12 (TeX Live 2011)
 restricted \write18 enabled.
...

Stephan

Re: How to enable spellchecker in lyx-2.0.2 in linux?

2011-12-30 Thread Stephan Witt
Am 29.12.2011 um 03:40 schrieb Randhir Phagura:

 Hi,
 
 You have installed it from some software repository or have you compiled it 
 on your box yourself?
 In case of the latter you need to install the development packages of the 
 libraries.
 
 I had earlier versionlyx-1.6.9 installed via yast from repositories. This 
 version lyx-2.0.2 I compiled after the config had some problem with mo and 
 qt4. These dependencies were satisfied and the compilation was successful.

You need the development packages of e. g. hunspell to configure your 
self-compiled LyX with included spell checker.
Do you have them installed on your machine?

Stephan

Re: LyX in Mac OSX - only executable, no example files

2011-12-30 Thread Stephan Witt
Am 29.12.2011 um 00:58 schrieb Not Pavarotti:

 Thanks to all,
 
 The example files are visible to the user via the 'Terminal', and 'Finder' 
 and 'Terminal' are not the same kind of beast by default.
 It would be better if files were present to finder with the correct 
 permissions.

Yes, but it's the decision of the Open File dialog library code to not allow 
you to traverse into an application package.
It's not a permission problem. The Finder is able to traverse into it with 
right mouse button menu item Show Package Content
(I have german menus - there it is Paketinhalt zeigen).

 
 I haven't tried the Jabref pipe yet, but it is next on the list.

You may configure the location of the lyxpipe in LyX preferences if the default 
location does not work for you.

Stephan

 
 On 28/12/2011 23:24, Stephan Witt wrote:
 Am 28.12.2011 um 23:38 schrieb Not Pavarotti:
 
 Hi,
 I installed LyX this evening under Mac OS 10.6. The package seems to 
 install only the executable.
 Yes. That's intended.
 
 The example files are grayed out and can't be found via 'Finder'.
 One possible solution (in case you want to open some example regularly):
 * Open the LyX.app package content in finder
 * Go to Contents/Resources
 * Drag the examples folder to the left side bar
 Now it is available in LyX open file dialog in the side bar too.
 
 (To automate this process the knowledge for doing so is missing.)
 
 LyX itself works, DVI, pdfLatex, etc. Also I can't locate any 'lyxpipe' 
 file, which I looked for re Jabref to LyX.
 $HOME/Library/Application\ Support/LyX-2.0/.lyxpipe.{in,out}




Re: How to enable spellchecker in lyx-2.0.2 in linux?

2011-12-30 Thread Cor Blom

Op 30-12-11 14:20, Stephan Witt schreef:

Am 29.12.2011 um 03:40 schrieb Randhir Phagura:


Hi,


You have installed it from some software repository or have you compiled it on 
your box yourself?
In case of the latter you need to install the development packages of the 
libraries.


I had earlier versionlyx-1.6.9 installed via yast from repositories. This 
version lyx-2.0.2 I compiled after the config had some problem with mo and qt4. 
These dependencies were satisfied and the compilation was successful.


You need the development packages of e. g. hunspell to configure your 
self-compiled LyX with included spell checker.
Do you have them installed on your machine?

Stephan


The files on openSUSE needed for spellchecking are: hunspell-devel, 
enchant-devel and aspell-devel (only one is needed, but you may choose 
more).


The latest lyx (2.0.2 at the moment) is also in the repositories:

http://download.opensuse.org/repositories/Publishing/

Cor



Re: Remove indents in listings

2011-12-30 Thread jezZiFeR

Hello Jürgen,

now I took my time and installed everything completely new, also the  
complete TeX 2011, and also updated enumitem. Now things work fine, as  
you desribed.


Thank you for your help, best wishes for 2012
Jess




Am 28.12.2011 um 10:49 schrieb Jürgen Spitzmüller:


jezZiFeR wrote:

Here is my log file, I don´t see any warnings for enumitem


Me neither. I've no idea why it does not work for you. Maybe it is  
really an

enumitem version issue.

Try updating the enumitem package (most recent one is 3.5.2).

HTH
Jürgen




Appendix depth

2011-12-30 Thread Bianca Schöne
I'm close to finishing my diploma thesis in LyX. I'm using the KOMA
(book) class, and I have a problem with my appendix.

The appendix is relatively short, only 2 parts with 1 and 2 pages,
respectively. I would like to name these parts A and B, but I don't
want to make them chapters, because of the formatting that would bring
(almost half a page of whitespace and at least one empty page before
each new chapter, which is ridiculous with such short parts).

So basically, I want the naming (A and B instead of A1 and A2) of
chapters, but the formatting of sections. (A minimal file is
included.)

Is there a not overly complicated way to do this?

Thank you for any help, and a happy new year!
Bianca


Diplomarbeit_fixit.lyx
Description: Binary data


Re: paragraph inside environments and other issues

2011-12-30 Thread Bogdan

On 29-Dec-11 10:08 pm, Paul A. Rubin wrote:

First issue: insert a separator environment between the two problems.

Second issue: try nesting the subenvironment within the proof. I don't have LyX
handy, but there are menu and (I believe) tool bar entries for increasing the
depth of an entry. I don't know if a paragraph can be nested, but enumerations
etc. can.

Paul


Thanks for the tips, Paul, I completely missed the separator environment.

As for the second issue, I'm not sure I understand. Simply put, how do I 
insert a Paragraph *inside* a Proof (without resorting to latex code)?


Right now LyX terminates the Proof and the Paragraph appears outside the 
Proof.


Bogdan.



Re: paragraph inside environments and other issues

2011-12-30 Thread Bogdan

On 30-Dec-11 9:34 pm, Bogdan wrote:

On 29-Dec-11 10:08 pm, Paul A. Rubin wrote:

First issue: insert a separator environment between the two problems.

Second issue: try nesting the subenvironment within the proof. I don't
have LyX
handy, but there are menu and (I believe) tool bar entries for
increasing the
depth of an entry. I don't know if a paragraph can be nested, but
enumerations
etc. can.

Paul


Thanks for the tips, Paul, I completely missed the separator environment.

As for the second issue, I'm not sure I understand. Simply put, how do I
insert a Paragraph *inside* a Proof (without resorting to latex code)?

Right now LyX terminates the Proof and the Paragraph appears outside the
Proof.


Strike that, works fine by increasing the nesting depth from the Edit 
menu, just like you said. Sorry for the confusion and thanks again.


Bogdan.




Re: LyX 2.0.2 [Texlive2007] on Fedora 15 [en_US] - Problem with Japanese output

2011-12-30 Thread José Matos
On 12/20/2011 05:51 AM, nomnex wrote:
 --- Configuration ---

 * Fedora 15 LXDE
 * OS Language: en_US
 * Input framework: i-bus (Japanese)
 * I have installed LyX 2.0.2 from the Fedora repo 2 days ago. It comes
 with texlive2007.
 * User level (LyX/Tex): Complete newbie (LyX introduction 
 Tutorial completed; User manual in the reading process).

 --- Problem ---

 I need to write documents in English/Japanese. I can input Japanese in
 LyX, but no matter the Document settings (see: below [01][03]), it
 always return error messages (see:below [02][03]) when I output to DVI
 or PDFLATEX.

 LyX complains about 'CJK.st' not found. There is no 'tex-cjk' package in
 the Fedora repository to my knowledge. I have installed
 'texlive-east-asian', see detail:
 http://zid-luxinst.uibk.ac.at/linux/rpm2html/fedora/15/i386/updates/texlive-texmf-east-asian-2007-40.fc15.noarch.html
 I do not know if this package is necessary, or if I can remove it?

 In the LyX Document settings: the only fonts I see are Latin fonts. I
 do not see any Japanese fonts (with or without 'texlive-east-asian'
 package installed). There is only an empty CJK font field.

 The LyX wiki did not help me. Some web pages refers to a CJK package to
 install manually, but I am not positive. I don't really know if my
 problem if is a setting, or a missing package.

 Help greatly appreciated.

I am not sure if I can help but here it goes. :-)

There is a new version of texlive, version 2011 as it can be seen at
http://fedoraproject.org/wiki/Features/TeXLive

in order to install it for Fedora 15 you need to install as root:

# rpm -i 
http://jnovy.fedorapeople.org/texlive/packages.f15/texlive-release.noarch.rpm

The advantage of this approach is that it gives the most recent texlive version.


In case you still have problems could you, please, send us (privately to
me iff you wish) a small document that shows this problem and I will
compile it to see if the problem persists.

-- 
José Matos



Re: Crash with language change in combination with utf8 float tableau

2011-12-30 Thread nomnex
 On Fri, 30 Dec 2011 10:50:57 +0100
 Jürgen Spitzmüller sp...@lyx.org wrote:

 nomnex wrote:
  I guess I can. I am using Fedroa 15 LXDE, LyX 2.0.2, and the
  official outdated Textlive 2007 from the repo. I have tried, and
  once I remove the package unsupported by my textlive version (Doc 
  Settings  preamble), I can export to pdf/dvi. LyX crashes

snip
 
 Thanks. Are there any suspicious messages in that report (or on the
 console, if you start LyX from there)? Also, can you export to LaTeX
 (pdflatex) and post the tex file here?

Hello, Jürgen. It looks like the problem as been solved. Anyway, for
the information, find below the the shell output of the error msg when
I preview the file to PDF or DVI.

I am not sure if it is related with the OP and the bug, or simply with
my configuration. I open the file. I remove the module convington,
and the command in the preamble. Then, I preview to pdf/dvi.

[mt@nh28d ~]$ lyx  /home/mt/desktop/lyx.log
Warning: Package not available

The module linguistics requires a package that is not
available in your LaTeX installation, or a converter that
you have not installed. LaTeX output may not be possible.
Missing prerequisites:
covington.sty
See section 3.1.2.3 (Modules) of the User's Guide for more information.
Warning: Package not available

The module linguistics requires a package that is not
available in your LaTeX installation, or a converter that
you have not installed. LaTeX output may not be possible.
Missing prerequisites:
covington.sty
See section 3.1.2.3 (Modules) of the User's Guide for more information.
Warning: Package not available

The module linguistics requires a package that is not
available in your LaTeX installation, or a converter that
you have not installed. LaTeX output may not be possible.
Missing prerequisites:
covington.sty
See section 3.1.2.3 (Modules) of the User's Guide for more information.
Buffer.cpp(1190):   /home/mt/document/lyx/test-utf8-crash.lyx.emergency

lyx: SIGSEGV signal caught!
Sorry, you have found a bug in LyX, hope you have not lost any data.
Please read the bug-reporting instructions in 'Help-Introduction' and
send us a bug report, if necessary. Thanks! Bye.
Error: LyX crashed!

SIGSEGV signal caught!
Sorry, you have found a bug in LyX, hope you have not lost any data.
Please read the bug-reporting instructions in 'Help-Introduction' and
send us a bug report, if necessary. Thanks! Bye.
Aborted (core dumped)
[mt@nh28d ~]$ 

Best regards,
nomnex


-- 
nomnex nom...@gmail.com
Freenode: nomnex
Registered Linux user #505281. Be counted at: http://linuxcounter.net


lyx2kindle.py, version 0.0.2, now available

2011-12-30 Thread Steve Litt
Hi all,

I've just put version 0.0.2 of lyx2kindle.py on the web, right here:

http://www.troubleshooters.com/projects/lyx2kindle/

It's free software so anyone can use it, modify it, or distribute it.

Version 0.0.2 is much more practical than 0.0.1. It can be used to 
make a Kindle specification compliant .mobi. It's not dufus simple, 
and the documentation is insufficient, and who knows, it's possible 
you might need someone to go in and change the Python code a little 
bit (although I doubt it), but IMHO it's much simpler than, for 
instance, authoring in Sigil. And I can't help feeling the final 
result will be likely to be better than something authored in MSWord.

So far this has only been tested on two books by me, both on the Linux 
operating system. But for people who have asked me about making Kindle 
books, I think this is better than most alternatives, especially if 
you're starting from scratch and can use LyX for your authoring tool.

Hope you like it.

SteveT

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



Re: Crash with language change in combination with utf8 float tableau

2011-12-30 Thread Jürgen Spitzmüller
Peter Baumgartner wrote:
 Here is the minimal example file.

I cannot reproduce the crash with this file, using latest 2_0_X branch. Maybe 
someone else can.

Peter, which OS are you on?

Jürgen


Re: Crash with language change in combination with utf8 float tableau

2011-12-30 Thread nomnex
 On Fri, 30 Dec 2011 09:13:24 +0100
 Jürgen Spitzmüller sp...@lyx.org wrote:

 Peter Baumgartner wrote:
  Here is the minimal example file.
 
 I cannot reproduce the crash with this file, using latest 2_0_X
 branch. Maybe someone else can.
 
 Peter, which OS are you on?
 
 Jürgen

I guess I can. I am using Fedroa 15 LXDE, LyX 2.0.2, and the official
outdated Textlive 2007 from the repo. I have tried, and once I remove
the package unsupported by my textlive version (Doc  Settings 
preamble), I can export to pdf/dvi. LyX crashes immediately (LyX
closes). It generates a ABRT (automated bug reporting tool) report.

I am aware the file is in German. I am also a beginner (I installed LyX
a week ago, and I have NO level of expertise yet). Let me know if my
answer is not relevant.

Regards,
nomnex

-- 
nomnex nom...@gmail.com
Freenode: nomnex
Registered Linux user #505281. Be counted at: http://linuxcounter.net


Re: Crash with language change in combination with utf8 float tableau

2011-12-30 Thread Jürgen Spitzmüller
nomnex wrote:
 I guess I can. I am using Fedroa 15 LXDE, LyX 2.0.2, and the official
 outdated Textlive 2007 from the repo. I have tried, and once I remove
 the package unsupported by my textlive version (Doc  Settings 
 preamble), I can export to pdf/dvi. LyX crashes immediately (LyX
 closes). It generates a ABRT (automated bug reporting tool) report.

Thanks. Are there any suspicious messages in that report (or on the console, 
if you start LyX from there)? Also, can you export to LaTeX (pdflatex) and 
post the tex file here?

 I am aware the file is in German. I am also a beginner (I installed LyX
 a week ago, and I have NO level of expertise yet). Let me know if my
 answer is not relevant.

It will help pinpointing the problem. Thanks for investigating.

Jürgen


Re: Crash with language change in combination with utf8 float tableau

2011-12-30 Thread Jürgen Spitzmüller
Jürgen Spitzmüller wrote:
  I am aware the file is in German. I am also a beginner (I installed LyX
  a week ago, and I have NO level of expertise yet). Let me know if my
  answer is not relevant.
 
 It will help pinpointing the problem. Thanks for investigating.

I investigated a bit further and I think this is
http://www.lyx.org/trac/ticket/7941

This explains why I do not get the crash: The bug is already fixed in the 
stable branch.

Peter, if you compile the source yourself, you might try out latest branch or 
apply the following patch to your sources:
http://www.lyx.org/trac/changeset/40514

Jürgen



Re: Crash with language change in combination with utf8 float tableau

2011-12-30 Thread Stephan Witt
Am 30.12.2011 um 09:13 schrieb Jürgen Spitzmüller:

 Peter Baumgartner wrote:
 Here is the minimal example file.
 
 I cannot reproduce the crash with this file, using latest 2_0_X branch. Maybe 
 someone else can.
 
 Peter, which OS are you on?

I gave it a try on Mac OS X and it didn't crash with LyX trunk.
Terminal output:

Running: pdflatex -synctex=-1  test-utf8-crash.tex  /dev/null
This is pdfTeX, Version 3.1415926-2.3-1.40.12 (TeX Live 2011)
 restricted \write18 enabled.
...

Stephan

Re: How to enable spellchecker in lyx-2.0.2 in linux?

2011-12-30 Thread Stephan Witt
Am 29.12.2011 um 03:40 schrieb Randhir Phagura:

 Hi,
 
 You have installed it from some software repository or have you compiled it 
 on your box yourself?
 In case of the latter you need to install the development packages of the 
 libraries.
 
 I had earlier versionlyx-1.6.9 installed via yast from repositories. This 
 version lyx-2.0.2 I compiled after the config had some problem with mo and 
 qt4. These dependencies were satisfied and the compilation was successful.

You need the development packages of e. g. hunspell to configure your 
self-compiled LyX with included spell checker.
Do you have them installed on your machine?

Stephan

Re: LyX in Mac OSX - only executable, no example files

2011-12-30 Thread Stephan Witt
Am 29.12.2011 um 00:58 schrieb Not Pavarotti:

 Thanks to all,
 
 The example files are visible to the user via the 'Terminal', and 'Finder' 
 and 'Terminal' are not the same kind of beast by default.
 It would be better if files were present to finder with the correct 
 permissions.

Yes, but it's the decision of the Open File dialog library code to not allow 
you to traverse into an application package.
It's not a permission problem. The Finder is able to traverse into it with 
right mouse button menu item Show Package Content
(I have german menus - there it is Paketinhalt zeigen).

 
 I haven't tried the Jabref pipe yet, but it is next on the list.

You may configure the location of the lyxpipe in LyX preferences if the default 
location does not work for you.

Stephan

 
 On 28/12/2011 23:24, Stephan Witt wrote:
 Am 28.12.2011 um 23:38 schrieb Not Pavarotti:
 
 Hi,
 I installed LyX this evening under Mac OS 10.6. The package seems to 
 install only the executable.
 Yes. That's intended.
 
 The example files are grayed out and can't be found via 'Finder'.
 One possible solution (in case you want to open some example regularly):
 * Open the LyX.app package content in finder
 * Go to Contents/Resources
 * Drag the examples folder to the left side bar
 Now it is available in LyX open file dialog in the side bar too.
 
 (To automate this process the knowledge for doing so is missing.)
 
 LyX itself works, DVI, pdfLatex, etc. Also I can't locate any 'lyxpipe' 
 file, which I looked for re Jabref to LyX.
 $HOME/Library/Application\ Support/LyX-2.0/.lyxpipe.{in,out}




Re: How to enable spellchecker in lyx-2.0.2 in linux?

2011-12-30 Thread Cor Blom

Op 30-12-11 14:20, Stephan Witt schreef:

Am 29.12.2011 um 03:40 schrieb Randhir Phagura:


Hi,


You have installed it from some software repository or have you compiled it on 
your box yourself?
In case of the latter you need to install the development packages of the 
libraries.


I had earlier versionlyx-1.6.9 installed via yast from repositories. This 
version lyx-2.0.2 I compiled after the config had some problem with mo and qt4. 
These dependencies were satisfied and the compilation was successful.


You need the development packages of e. g. hunspell to configure your 
self-compiled LyX with included spell checker.
Do you have them installed on your machine?

Stephan


The files on openSUSE needed for spellchecking are: hunspell-devel, 
enchant-devel and aspell-devel (only one is needed, but you may choose 
more).


The latest lyx (2.0.2 at the moment) is also in the repositories:

http://download.opensuse.org/repositories/Publishing/

Cor



Re: Remove indents in listings

2011-12-30 Thread jezZiFeR

Hello Jürgen,

now I took my time and installed everything completely new, also the  
complete TeX 2011, and also updated enumitem. Now things work fine, as  
you desribed.


Thank you for your help, best wishes for 2012
Jess




Am 28.12.2011 um 10:49 schrieb Jürgen Spitzmüller:


jezZiFeR wrote:

Here is my log file, I don´t see any warnings for enumitem


Me neither. I've no idea why it does not work for you. Maybe it is  
really an

enumitem version issue.

Try updating the enumitem package (most recent one is 3.5.2).

HTH
Jürgen




Appendix depth

2011-12-30 Thread Bianca Schöne
I'm close to finishing my diploma thesis in LyX. I'm using the KOMA
(book) class, and I have a problem with my appendix.

The appendix is relatively short, only 2 parts with 1 and 2 pages,
respectively. I would like to name these parts A and B, but I don't
want to make them chapters, because of the formatting that would bring
(almost half a page of whitespace and at least one empty page before
each new chapter, which is ridiculous with such short parts).

So basically, I want the naming (A and B instead of A1 and A2) of
chapters, but the formatting of sections. (A minimal file is
included.)

Is there a not overly complicated way to do this?

Thank you for any help, and a happy new year!
Bianca


Diplomarbeit_fixit.lyx
Description: Binary data


Re: paragraph inside environments and other issues

2011-12-30 Thread Bogdan

On 29-Dec-11 10:08 pm, Paul A. Rubin wrote:

First issue: insert a separator environment between the two problems.

Second issue: try nesting the subenvironment within the proof. I don't have LyX
handy, but there are menu and (I believe) tool bar entries for increasing the
depth of an entry. I don't know if a paragraph can be nested, but enumerations
etc. can.

Paul


Thanks for the tips, Paul, I completely missed the separator environment.

As for the second issue, I'm not sure I understand. Simply put, how do I 
insert a Paragraph *inside* a Proof (without resorting to latex code)?


Right now LyX terminates the Proof and the Paragraph appears outside the 
Proof.


Bogdan.



Re: paragraph inside environments and other issues

2011-12-30 Thread Bogdan

On 30-Dec-11 9:34 pm, Bogdan wrote:

On 29-Dec-11 10:08 pm, Paul A. Rubin wrote:

First issue: insert a separator environment between the two problems.

Second issue: try nesting the subenvironment within the proof. I don't
have LyX
handy, but there are menu and (I believe) tool bar entries for
increasing the
depth of an entry. I don't know if a paragraph can be nested, but
enumerations
etc. can.

Paul


Thanks for the tips, Paul, I completely missed the separator environment.

As for the second issue, I'm not sure I understand. Simply put, how do I
insert a Paragraph *inside* a Proof (without resorting to latex code)?

Right now LyX terminates the Proof and the Paragraph appears outside the
Proof.


Strike that, works fine by increasing the nesting depth from the Edit 
menu, just like you said. Sorry for the confusion and thanks again.


Bogdan.




Re: LyX 2.0.2 [Texlive2007] on Fedora 15 [en_US] - Problem with Japanese output

2011-12-30 Thread José Matos
On 12/20/2011 05:51 AM, nomnex wrote:
 --- Configuration ---

 * Fedora 15 LXDE
 * OS Language: en_US
 * Input framework: i-bus (Japanese)
 * I have installed LyX 2.0.2 from the Fedora repo 2 days ago. It comes
 with texlive2007.
 * User level (LyX/Tex): Complete newbie (LyX introduction 
 Tutorial completed; User manual in the reading process).

 --- Problem ---

 I need to write documents in English/Japanese. I can input Japanese in
 LyX, but no matter the Document settings (see: below [01][03]), it
 always return error messages (see:below [02][03]) when I output to DVI
 or PDFLATEX.

 LyX complains about 'CJK.st' not found. There is no 'tex-cjk' package in
 the Fedora repository to my knowledge. I have installed
 'texlive-east-asian', see detail:
 http://zid-luxinst.uibk.ac.at/linux/rpm2html/fedora/15/i386/updates/texlive-texmf-east-asian-2007-40.fc15.noarch.html
 I do not know if this package is necessary, or if I can remove it?

 In the LyX Document settings: the only fonts I see are Latin fonts. I
 do not see any Japanese fonts (with or without 'texlive-east-asian'
 package installed). There is only an empty CJK font field.

 The LyX wiki did not help me. Some web pages refers to a CJK package to
 install manually, but I am not positive. I don't really know if my
 problem if is a setting, or a missing package.

 Help greatly appreciated.

I am not sure if I can help but here it goes. :-)

There is a new version of texlive, version 2011 as it can be seen at
http://fedoraproject.org/wiki/Features/TeXLive

in order to install it for Fedora 15 you need to install as root:

# rpm -i 
http://jnovy.fedorapeople.org/texlive/packages.f15/texlive-release.noarch.rpm

The advantage of this approach is that it gives the most recent texlive version.


In case you still have problems could you, please, send us (privately to
me iff you wish) a small document that shows this problem and I will
compile it to see if the problem persists.

-- 
José Matos



Re: Crash with language change in combination with utf8 float tableau

2011-12-30 Thread nomnex
 On Fri, 30 Dec 2011 10:50:57 +0100
 Jürgen Spitzmüller sp...@lyx.org wrote:

 nomnex wrote:
  I guess I can. I am using Fedroa 15 LXDE, LyX 2.0.2, and the
  official outdated Textlive 2007 from the repo. I have tried, and
  once I remove the package unsupported by my textlive version (Doc 
  Settings  preamble), I can export to pdf/dvi. LyX crashes

snip
 
 Thanks. Are there any suspicious messages in that report (or on the
 console, if you start LyX from there)? Also, can you export to LaTeX
 (pdflatex) and post the tex file here?

Hello, Jürgen. It looks like the problem as been solved. Anyway, for
the information, find below the the shell output of the error msg when
I preview the file to PDF or DVI.

I am not sure if it is related with the OP and the bug, or simply with
my configuration. I open the file. I remove the module convington,
and the command in the preamble. Then, I preview to pdf/dvi.

[mt@nh28d ~]$ lyx  /home/mt/desktop/lyx.log
Warning: Package not available

The module linguistics requires a package that is not
available in your LaTeX installation, or a converter that
you have not installed. LaTeX output may not be possible.
Missing prerequisites:
covington.sty
See section 3.1.2.3 (Modules) of the User's Guide for more information.
Warning: Package not available

The module linguistics requires a package that is not
available in your LaTeX installation, or a converter that
you have not installed. LaTeX output may not be possible.
Missing prerequisites:
covington.sty
See section 3.1.2.3 (Modules) of the User's Guide for more information.
Warning: Package not available

The module linguistics requires a package that is not
available in your LaTeX installation, or a converter that
you have not installed. LaTeX output may not be possible.
Missing prerequisites:
covington.sty
See section 3.1.2.3 (Modules) of the User's Guide for more information.
Buffer.cpp(1190):   /home/mt/document/lyx/test-utf8-crash.lyx.emergency

lyx: SIGSEGV signal caught!
Sorry, you have found a bug in LyX, hope you have not lost any data.
Please read the bug-reporting instructions in 'Help-Introduction' and
send us a bug report, if necessary. Thanks! Bye.
Error: LyX crashed!

SIGSEGV signal caught!
Sorry, you have found a bug in LyX, hope you have not lost any data.
Please read the bug-reporting instructions in 'Help-Introduction' and
send us a bug report, if necessary. Thanks! Bye.
Aborted (core dumped)
[mt@nh28d ~]$ 

Best regards,
nomnex


-- 
nomnex nom...@gmail.com
Freenode: nomnex
Registered Linux user #505281. Be counted at: http://linuxcounter.net


lyx2kindle.py, version 0.0.2, now available

2011-12-30 Thread Steve Litt
Hi all,

I've just put version 0.0.2 of lyx2kindle.py on the web, right here:

http://www.troubleshooters.com/projects/lyx2kindle/

It's free software so anyone can use it, modify it, or distribute it.

Version 0.0.2 is much more practical than 0.0.1. It can be used to 
make a Kindle specification compliant .mobi. It's not dufus simple, 
and the documentation is insufficient, and who knows, it's possible 
you might need someone to go in and change the Python code a little 
bit (although I doubt it), but IMHO it's much simpler than, for 
instance, authoring in Sigil. And I can't help feeling the final 
result will be likely to be better than something authored in MSWord.

So far this has only been tested on two books by me, both on the Linux 
operating system. But for people who have asked me about making Kindle 
books, I think this is better than most alternatives, especially if 
you're starting from scratch and can use LyX for your authoring tool.

Hope you like it.

SteveT

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



Re: Crash with language change in combination with utf8 & float tableau

2011-12-30 Thread Jürgen Spitzmüller
Peter Baumgartner wrote:
> Here is the minimal example file.

I cannot reproduce the crash with this file, using latest 2_0_X branch. Maybe 
someone else can.

Peter, which OS are you on?

Jürgen


Re: Crash with language change in combination with utf8 & float tableau

2011-12-30 Thread nomnex
> On Fri, 30 Dec 2011 09:13:24 +0100
> Jürgen Spitzmüller  wrote:
>
> Peter Baumgartner wrote:
> > Here is the minimal example file.
> 
> I cannot reproduce the crash with this file, using latest 2_0_X
> branch. Maybe someone else can.
> 
> Peter, which OS are you on?
> 
> Jürgen

I guess I can. I am using Fedroa 15 LXDE, LyX 2.0.2, and the official
outdated Textlive 2007 from the repo. I have tried, and once I remove
the package unsupported by my textlive version (Doc > Settings >
preamble), I can export to pdf/dvi. LyX crashes immediately (LyX
closes). It generates a ABRT (automated bug reporting tool) report.

I am aware the file is in German. I am also a beginner (I installed LyX
a week ago, and I have NO level of expertise yet). Let me know if my
answer is not relevant.

Regards,
nomnex

-- 
nomnex 
Freenode: nomnex
Registered Linux user #505281. Be counted at: http://linuxcounter.net


Re: Crash with language change in combination with utf8 & float tableau

2011-12-30 Thread Jürgen Spitzmüller
nomnex wrote:
> I guess I can. I am using Fedroa 15 LXDE, LyX 2.0.2, and the official
> outdated Textlive 2007 from the repo. I have tried, and once I remove
> the package unsupported by my textlive version (Doc > Settings >
> preamble), I can export to pdf/dvi. LyX crashes immediately (LyX
> closes). It generates a ABRT (automated bug reporting tool) report.

Thanks. Are there any suspicious messages in that report (or on the console, 
if you start LyX from there)? Also, can you export to LaTeX (pdflatex) and 
post the tex file here?

> I am aware the file is in German. I am also a beginner (I installed LyX
> a week ago, and I have NO level of expertise yet). Let me know if my
> answer is not relevant.

It will help pinpointing the problem. Thanks for investigating.

Jürgen


Re: Crash with language change in combination with utf8 & float tableau

2011-12-30 Thread Jürgen Spitzmüller
Jürgen Spitzmüller wrote:
> > I am aware the file is in German. I am also a beginner (I installed LyX
> > a week ago, and I have NO level of expertise yet). Let me know if my
> > answer is not relevant.
> 
> It will help pinpointing the problem. Thanks for investigating.

I investigated a bit further and I think this is
http://www.lyx.org/trac/ticket/7941

This explains why I do not get the crash: The bug is already fixed in the 
stable branch.

Peter, if you compile the source yourself, you might try out latest branch or 
apply the following patch to your sources:
http://www.lyx.org/trac/changeset/40514

Jürgen



Re: Crash with language change in combination with utf8 & float tableau

2011-12-30 Thread Stephan Witt
Am 30.12.2011 um 09:13 schrieb Jürgen Spitzmüller:

> Peter Baumgartner wrote:
>> Here is the minimal example file.
> 
> I cannot reproduce the crash with this file, using latest 2_0_X branch. Maybe 
> someone else can.
> 
> Peter, which OS are you on?

I gave it a try on Mac OS X and it didn't crash with LyX trunk.
Terminal output:

Running: pdflatex -synctex=-1  "test-utf8-crash.tex" > /dev/null
This is pdfTeX, Version 3.1415926-2.3-1.40.12 (TeX Live 2011)
 restricted \write18 enabled.
...

Stephan

Re: How to enable spellchecker in lyx-2.0.2 in linux?

2011-12-30 Thread Stephan Witt
Am 29.12.2011 um 03:40 schrieb Randhir Phagura:

> Hi,
> 
> >>You have installed it from some software repository or have you compiled it 
> >>on your box yourself?
> >>In case of the latter you need to install the development packages of the 
> >>libraries.
> 
> I had earlier versionlyx-1.6.9 installed via yast from repositories. This 
> version lyx-2.0.2 I compiled after the config had some problem with mo and 
> qt4. These dependencies were satisfied and the compilation was successful.

You need the development packages of e. g. hunspell to configure your 
self-compiled LyX with included spell checker.
Do you have them installed on your machine?

Stephan

Re: LyX in Mac OSX - only executable, no example files

2011-12-30 Thread Stephan Witt
Am 29.12.2011 um 00:58 schrieb Not Pavarotti:

> Thanks to all,
> 
> The example files are visible to the user via the 'Terminal', and 'Finder' 
> and 'Terminal' are not the same kind of beast by default.
> It would be better if files were present to finder with the correct 
> permissions.

Yes, but it's the "decision" of the Open File dialog library code to not allow 
you to traverse into an application package.
It's not a permission problem. The Finder is able to traverse into it with 
right mouse button menu item "Show Package Content"
(I have german menus - there it is "Paketinhalt zeigen").

> 
> I haven't tried the Jabref pipe yet, but it is next on the list.

You may configure the location of the lyxpipe in LyX preferences if the default 
location does not work for you.

Stephan

> 
> On 28/12/2011 23:24, Stephan Witt wrote:
>> Am 28.12.2011 um 23:38 schrieb Not Pavarotti:
>> 
>>> Hi,
>>> I installed LyX this evening under Mac OS 10.6. The package seems to 
>>> install only the executable.
>> Yes. That's intended.
>> 
>>> The example files are grayed out and can't be found via 'Finder'.
>> One possible solution (in case you want to open some example regularly):
>> * Open the LyX.app package content in finder
>> * Go to Contents/Resources
>> * Drag the examples folder to the left side bar
>> Now it is available in LyX open file dialog in the side bar too.
>> 
>> (To automate this process the knowledge for doing so is missing.)
>> 
>>> LyX itself works, DVI, pdfLatex, etc. Also I can't locate any 'lyxpipe' 
>>> file, which I looked for re Jabref to LyX.
>> $HOME/Library/Application\ Support/LyX-2.0/.lyxpipe.{in,out}




Re: How to enable spellchecker in lyx-2.0.2 in linux?

2011-12-30 Thread Cor Blom

Op 30-12-11 14:20, Stephan Witt schreef:

Am 29.12.2011 um 03:40 schrieb Randhir Phagura:


Hi,


You have installed it from some software repository or have you compiled it on 
your box yourself?
In case of the latter you need to install the development packages of the 
libraries.


I had earlier versionlyx-1.6.9 installed via yast from repositories. This 
version lyx-2.0.2 I compiled after the config had some problem with mo and qt4. 
These dependencies were satisfied and the compilation was successful.


You need the development packages of e. g. hunspell to configure your 
self-compiled LyX with included spell checker.
Do you have them installed on your machine?

Stephan


The files on openSUSE needed for spellchecking are: hunspell-devel, 
enchant-devel and aspell-devel (only one is needed, but you may choose 
more).


The latest lyx (2.0.2 at the moment) is also in the repositories:

http://download.opensuse.org/repositories/Publishing/

Cor



Re: Remove indents in listings

2011-12-30 Thread jezZiFeR

Hello Jürgen,

now I took my time and installed everything completely new, also the  
complete TeX 2011, and also updated enumitem. Now things work fine, as  
you desribed.


Thank you for your help, best wishes for 2012
Jess




Am 28.12.2011 um 10:49 schrieb Jürgen Spitzmüller:


jezZiFeR wrote:

Here is my log file, I don´t see any warnings for enumitem


Me neither. I've no idea why it does not work for you. Maybe it is  
really an

enumitem version issue.

Try updating the enumitem package (most recent one is 3.5.2).

HTH
Jürgen




Appendix depth

2011-12-30 Thread Bianca Schöne
I'm close to finishing my diploma thesis in LyX. I'm using the KOMA
(book) class, and I have a problem with my appendix.

The appendix is relatively short, only 2 parts with 1 and 2 pages,
respectively. I would like to name these parts A and B, but I don't
want to make them chapters, because of the formatting that would bring
(almost half a page of whitespace and at least one empty page before
each new chapter, which is ridiculous with such short parts).

So basically, I want the naming (A and B instead of A1 and A2) of
chapters, but the formatting of sections. (A minimal file is
included.)

Is there a not overly complicated way to do this?

Thank you for any help, and a happy new year!
Bianca


Diplomarbeit_fixit.lyx
Description: Binary data


Re: paragraph inside environments and other issues

2011-12-30 Thread Bogdan

On 29-Dec-11 10:08 pm, Paul A. Rubin wrote:

First issue: insert a separator environment between the two problems.

Second issue: try nesting the subenvironment within the proof. I don't have LyX
handy, but there are menu and (I believe) tool bar entries for increasing the
depth of an entry. I don't know if a paragraph can be nested, but enumerations
etc. can.

Paul


Thanks for the tips, Paul, I completely missed the separator environment.

As for the second issue, I'm not sure I understand. Simply put, how do I 
insert a Paragraph *inside* a Proof (without resorting to latex code)?


Right now LyX terminates the Proof and the Paragraph appears outside the 
Proof.


Bogdan.



Re: paragraph inside environments and other issues

2011-12-30 Thread Bogdan

On 30-Dec-11 9:34 pm, Bogdan wrote:

On 29-Dec-11 10:08 pm, Paul A. Rubin wrote:

First issue: insert a separator environment between the two problems.

Second issue: try nesting the subenvironment within the proof. I don't
have LyX
handy, but there are menu and (I believe) tool bar entries for
increasing the
depth of an entry. I don't know if a paragraph can be nested, but
enumerations
etc. can.

Paul


Thanks for the tips, Paul, I completely missed the separator environment.

As for the second issue, I'm not sure I understand. Simply put, how do I
insert a Paragraph *inside* a Proof (without resorting to latex code)?

Right now LyX terminates the Proof and the Paragraph appears outside the
Proof.


Strike that, works fine by increasing the nesting depth from the Edit 
menu, just like you said. Sorry for the confusion and thanks again.


Bogdan.




Re: LyX 2.0.2 [Texlive2007] on Fedora 15 [en_US] - Problem with Japanese output

2011-12-30 Thread José Matos
On 12/20/2011 05:51 AM, nomnex wrote:
> --- Configuration ---
>
> * Fedora 15 LXDE
> * OS Language: en_US
> * Input framework: i-bus (Japanese)
> * I have installed LyX 2.0.2 from the Fedora repo 2 days ago. It comes
> with texlive2007.
> * User level (LyX/Tex): Complete newbie (LyX introduction &
> Tutorial completed; User manual in the reading process).
>
> --- Problem ---
>
> I need to write documents in English/Japanese. I can input Japanese in
> LyX, but no matter the Document settings (see: below [01][03]), it
> always return error messages (see:below [02][03]) when I output to DVI
> or PDFLATEX.
>
> LyX complains about 'CJK.st' not found. There is no 'tex-cjk' package in
> the Fedora repository to my knowledge. I have installed
> 'texlive-east-asian', see detail:
> http://zid-luxinst.uibk.ac.at/linux/rpm2html/fedora/15/i386/updates/texlive-texmf-east-asian-2007-40.fc15.noarch.html
> I do not know if this package is necessary, or if I can remove it?
>
> In the LyX Document settings: the only fonts I see are Latin fonts. I
> do not see any Japanese fonts (with or without 'texlive-east-asian'
> package installed). There is only an empty CJK font field.
>
> The LyX wiki did not help me. Some web pages refers to a CJK package to
> install manually, but I am not positive. I don't really know if my
> problem if is a setting, or a missing package.
>
> Help greatly appreciated.

I am not sure if I can help but here it goes. :-)

There is a new version of texlive, version 2011 as it can be seen at
http://fedoraproject.org/wiki/Features/TeXLive

in order to install it for Fedora 15 you need to install as root:

# rpm -i 
http://jnovy.fedorapeople.org/texlive/packages.f15/texlive-release.noarch.rpm

The advantage of this approach is that it gives the most recent texlive version.


In case you still have problems could you, please, send us (privately to
me iff you wish) a small document that shows this problem and I will
compile it to see if the problem persists.

-- 
José Matos



Re: Crash with language change in combination with utf8 & float tableau

2011-12-30 Thread nomnex
> On Fri, 30 Dec 2011 10:50:57 +0100
> Jürgen Spitzmüller  wrote:
>
> nomnex wrote:
> > I guess I can. I am using Fedroa 15 LXDE, LyX 2.0.2, and the
> > official outdated Textlive 2007 from the repo. I have tried, and
> > once I remove the package unsupported by my textlive version (Doc >
> > Settings > preamble), I can export to pdf/dvi. LyX crashes


 
> Thanks. Are there any suspicious messages in that report (or on the
> console, if you start LyX from there)? Also, can you export to LaTeX
> (pdflatex) and post the tex file here?

Hello, Jürgen. It looks like the problem as been solved. Anyway, for
the information, find below the the shell output of the error msg when
I preview the file to PDF or DVI.

I am not sure if it is related with the OP and the bug, or simply with
my configuration. I open the file. I remove the module convington,
and the command in the preamble. Then, I preview to pdf/dvi.

[mt@nh28d ~]$ lyx > /home/mt/desktop/lyx.log
Warning: Package not available

The module linguistics requires a package that is not
available in your LaTeX installation, or a converter that
you have not installed. LaTeX output may not be possible.
Missing prerequisites:
covington.sty
See section 3.1.2.3 (Modules) of the User's Guide for more information.
Warning: Package not available

The module linguistics requires a package that is not
available in your LaTeX installation, or a converter that
you have not installed. LaTeX output may not be possible.
Missing prerequisites:
covington.sty
See section 3.1.2.3 (Modules) of the User's Guide for more information.
Warning: Package not available

The module linguistics requires a package that is not
available in your LaTeX installation, or a converter that
you have not installed. LaTeX output may not be possible.
Missing prerequisites:
covington.sty
See section 3.1.2.3 (Modules) of the User's Guide for more information.
Buffer.cpp(1190):   /home/mt/document/lyx/test-utf8-crash.lyx.emergency

lyx: SIGSEGV signal caught!
Sorry, you have found a bug in LyX, hope you have not lost any data.
Please read the bug-reporting instructions in 'Help->Introduction' and
send us a bug report, if necessary. Thanks! Bye.
Error: LyX crashed!

SIGSEGV signal caught!
Sorry, you have found a bug in LyX, hope you have not lost any data.
Please read the bug-reporting instructions in 'Help->Introduction' and
send us a bug report, if necessary. Thanks! Bye.
Aborted (core dumped)
[mt@nh28d ~]$ 

Best regards,
nomnex


-- 
nomnex 
Freenode: nomnex
Registered Linux user #505281. Be counted at: http://linuxcounter.net


lyx2kindle.py, version 0.0.2, now available

2011-12-30 Thread Steve Litt
Hi all,

I've just put version 0.0.2 of lyx2kindle.py on the web, right here:

http://www.troubleshooters.com/projects/lyx2kindle/

It's free software so anyone can use it, modify it, or distribute it.

Version 0.0.2 is much more practical than 0.0.1. It can be used to 
make a Kindle specification compliant .mobi. It's not dufus simple, 
and the documentation is insufficient, and who knows, it's possible 
you might need someone to go in and change the Python code a little 
bit (although I doubt it), but IMHO it's much simpler than, for 
instance, authoring in Sigil. And I can't help feeling the final 
result will be likely to be better than something authored in MSWord.

So far this has only been tested on two books by me, both on the Linux 
operating system. But for people who have asked me about making Kindle 
books, I think this is better than most alternatives, especially if 
you're starting from scratch and can use LyX for your authoring tool.

Hope you like it.

SteveT

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