How to repair corrupted LYX file?

2011-11-15 Thread Johannes Korn

Hi all

I have a problem with an extensive lyx document. It does not compile 
anymore since a while now. I didn´t look at the problem so far because I 
had other stuff to do - maybe that was a mistake because now I don´t 
know what changes originally caused the failure.


In the failure log the topmost failure says Paragraph ended before 
\@ssect was complete. I think that´s the one causing the termination. 
There are a few other errors like Latex Error: subfloat outside float 
but since they are not on top or bottom of the error log I´m not sure if 
they are of concern.


Anyways the main problem is that I cannot determine the location of the 
defective part of the document. If I click on the error message some 
lines of text are marked within the document. But deleting these lines 
does not solve the problems. In the next compilation run another part 
causes the errors.


I already removed anything suspicious from Document-Settings. The 
only special thing is that the document is in UTF8.


How would you proceed? Can I output the errors to a log file?

Regards

Johannes



Re: How to repair corrupted LYX file?

2011-11-15 Thread Rainer M Krug
On Tue, Nov 15, 2011 at 10:47 AM, Johannes Korn k...@freisingnet.de wrote:

 Hi all

 I have a problem with an extensive lyx document. It does not compile
 anymore since a while now. I didn´t look at the problem so far because I
 had other stuff to do - maybe that was a mistake because now I don´t know
 what changes originally caused the failure.

 In the failure log the topmost failure says Paragraph ended before
 \@ssect was complete. I think that´s the one causing the termination.
 There are a few other errors like Latex Error: subfloat outside float but
 since they are not on top or bottom of the error log I´m not sure if they
 are of concern.

 Anyways the main problem is that I cannot determine the location of the
 defective part of the document. If I click on the error message some lines
 of text are marked within the document. But deleting these lines does not
 solve the problems. In the next compilation run another part causes the
 errors.

 I already removed anything suspicious from Document-Settings. The only
 special thing is that the document is in UTF8.

 How would you proceed? Can I output the errors to a log file?


These log files are often quite cryptic...

My approach would be to export to LaTeX and open the resulting .tex file in
a LaTeX editor. In most LaTeX editors, you have folding, so that you can
fold blocks, and see where the problem lies.

Different approach: make a backup of your document, delete half, see which
half compiles, take the one which does not compile and delete half, and
continue until you see what is happening.

Cheers,

Rainer


 Regards

 Johannes




-- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology,
UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa

Tel :   +33 - (0)9 53 10 27 44
Cell:   +33 - (0)6 85 62 59 98
Fax (F):   +33 - (0)9 58 10 27 44

Fax (D):+49 - (0)3 21 21 25 22 44

email:  rai...@krugs.de

Skype:  RMkrug


available templates and their names

2011-11-15 Thread Janek Warchoł
Hi,

i'm new to LyX (i have a bit of experience with LaTeX though) - i'd like to
help my friend to migrate her work from Word (bleh) to LaTeX world, and i
thought that LyX might be a good way.
I wanted to check if LyX suits us by compiling some LyX samples and
modifying them, so i opened some LyX templates (File - New from
Template).  To my great disappointment, i don't have any idea what the
names of most of them mean (what is ijmpc, for example?).  Moreover, in
most cases LyX says The selected document class requires external files
that are not available.  I've only succeeded with letter (which is quite
straightforward) and thesis (partly).
Am i missing something big?  Is there any simple article template?
Would it be good to suggest changing templates' names to something more
intuitive?

thanks in advance,
Janek Warchoł (from Poland)


Order of package loading problem

2011-11-15 Thread Rainer M Krug
Hi

I just was confronted by a problem caused by the fact that the preamble as
specified in the document settings is added before the automatically
created preamble entries: the package endfloat overwrites the definitions
of the sideways environment to enable the putting of the floats to the end
of the document. As rotate is added automatically *after* the manual
preamble, this is reverted again, and does not work. I had to manually
insert
\usepackage{rotate} before the \usepackage{endfloat} to make it work.

I don't have any idea how this can be solved, but it cost me some time to
figure this workaround out.

Cheers,

Rainer


-- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology,
UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa

Tel :   +33 - (0)9 53 10 27 44
Cell:   +33 - (0)6 85 62 59 98
Fax (F):   +33 - (0)9 58 10 27 44

Fax (D):+49 - (0)3 21 21 25 22 44

email:  rai...@krugs.de

Skype:  RMkrug


Re: Order of package loading problem

2011-11-15 Thread Manolo Martínez
On 11/15/11 at 02:16pm, Rainer M Krug wrote:
 Hi
 
 I just was confronted by a problem caused by the fact that the preamble as
 specified in the document settings is added before the automatically
 created preamble entries: the package endfloat overwrites the definitions
 of the sideways environment to enable the putting of the floats to the end
 of the document. As rotate is added automatically *after* the manual
 preamble, this is reverted again, and does not work. I had to manually
 insert
 \usepackage{rotate} before the \usepackage{endfloat} to make it work.
 
 I don't have any idea how this can be solved, but it cost me some time to
 figure this workaround out.

Maybe introducing a piece of syntax (an --after flag or some such) that
instructs lyx to save that line of the preamble for after the automatically
created preamble entries?

Manolo


Re: Order of package loading problem

2011-11-15 Thread Rainer M Krug
On Tue, Nov 15, 2011 at 2:26 PM, Manolo Martínez
man...@austrohungaro.comwrote:

 On 11/15/11 at 02:16pm, Rainer M Krug wrote:
  Hi
 
  I just was confronted by a problem caused by the fact that the preamble
 as
  specified in the document settings is added before the automatically
  created preamble entries: the package endfloat overwrites the definitions
  of the sideways environment to enable the putting of the floats to the
 end
  of the document. As rotate is added automatically *after* the manual
  preamble, this is reverted again, and does not work. I had to manually
  insert
  \usepackage{rotate} before the \usepackage{endfloat} to make it work.
 
  I don't have any idea how this can be solved, but it cost me some time to
  figure this workaround out.

 Maybe introducing a piece of syntax (an --after flag or some such) that
 instructs lyx to save that line of the preamble for after the automatically
 created preamble entries?


That would be a neat idea - or to have two preamble sections in the
settings dialog - one before the automatic one, and one after (and a
display of the automatic created one).

Rainer



 Manolo




-- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology,
UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa

Tel :   +33 - (0)9 53 10 27 44
Cell:   +33 - (0)6 85 62 59 98
Fax (F):   +33 - (0)9 58 10 27 44

Fax (D):+49 - (0)3 21 21 25 22 44

email:  rai...@krugs.de

Skype:  RMkrug


Re: How to repair corrupted LYX file?

2011-11-15 Thread Richard Heck
On 11/15/2011 05:19 AM, Rainer M Krug wrote:


 On Tue, Nov 15, 2011 at 10:47 AM, Johannes Korn k...@freisingnet.de
 mailto:k...@freisingnet.de wrote:

 Hi all

 I have a problem with an extensive lyx document. It does not
 compile anymore since a while now. I didn´t look at the problem so
 far because I had other stuff to do - maybe that was a mistake
 because now I don´t know what changes originally caused the failure.

 In the failure log the topmost failure says Paragraph ended
 before \@ssect was complete. I think that´s the one causing the
 termination. There are a few other errors like Latex Error:
 subfloat outside float but since they are not on top or bottom of
 the error log I´m not sure if they are of concern.

 Anyways the main problem is that I cannot determine the location
 of the defective part of the document. If I click on the error
 message some lines of text are marked within the document. But
 deleting these lines does not solve the problems. In the next
 compilation run another part causes the errors.

 I already removed anything suspicious from Document-Settings.
 The only special thing is that the document is in UTF8.

 How would you proceed? Can I output the errors to a log file?


 These log files are often quite cryptic...

 My approach would be to export to LaTeX and open the resulting .tex
 file in a LaTeX editor. In most LaTeX editors, you have folding, so
 that you can fold blocks, and see where the problem lies.

 Different approach: make a backup of your document, delete half, see
 which half compiles, take the one which does not compile and delete
 half, and continue until you see what is happening.

This is the fastest way, usually. You'll end up doing this with the
LaTeX file anyway.

rh



Re: Order of package loading problem

2011-11-15 Thread Richard Heck
On 11/15/2011 08:29 AM, Rainer M Krug wrote:


 On Tue, Nov 15, 2011 at 2:26 PM, Manolo Martínez
 man...@austrohungaro.com mailto:man...@austrohungaro.com wrote:

 On 11/15/11 at 02:16pm, Rainer M Krug wrote:
  Hi
 
  I just was confronted by a problem caused by the fact that the
 preamble as
  specified in the document settings is added before the automatically
  created preamble entries: the package endfloat overwrites the
 definitions
  of the sideways environment to enable the putting of the floats
 to the end
  of the document. As rotate is added automatically *after* the manual
  preamble, this is reverted again, and does not work. I had to
 manually
  insert
  \usepackage{rotate} before the \usepackage{endfloat} to make it
 work.
 
  I don't have any idea how this can be solved, but it cost me
 some time to
  figure this workaround out.

 Maybe introducing a piece of syntax (an --after flag or some such)
 that
 instructs lyx to save that line of the preamble for after the
 automatically
 created preamble entries?


 That would be a neat idea - or to have two preamble sections in the
 settings dialog - one before the automatic one, and one after (and a
 display of the automatic created one).

You can always suppress automatic loading via:
Provides badpkg 1
in some layout or other, e.g., in Local Layout if nowhere else. Then
load manually.

Richard



Re: available templates and their names

2011-11-15 Thread Richard Heck
On 11/15/2011 07:37 AM, Janek Warchoł wrote:
 Hi,

 i'm new to LyX (i have a bit of experience with LaTeX though) - i'd
 like to help my friend to migrate her work from Word (bleh) to LaTeX
 world, and i thought that LyX might be a good way.
 I wanted to check if LyX suits us by compiling some LyX samples and
 modifying them, so i opened some LyX templates (File - New from
 Template).  To my great disappointment, i don't have any idea what the
 names of most of them mean (what is ijmpc, for example?).  Moreover,
 in most cases LyX says The selected document class requires external
 files that are not available.  I've only succeeded with letter
 (which is quite straightforward) and thesis (partly).
 Am i missing something big?  Is there any simple article template?
 Would it be good to suggest changing templates' names to something
 more intuitive?

The templates correspond, mostly, to certain document classes. So
elsarticle.lyx is a template for documents based upon the elsarticle.cls
class, which is used by some Elsevier journals. The idea of having more
descriptive names isn't bad, but then they'd presumably be in English,
which isn't good for everyone. The current naming scheme is at least
principled.

There isn't an article template, though perhaps there should be, as it
would give basic guidance to newcomers. That said, the Tutorial is
supposed to serve this kind of purpose, and most people have found, I
think, that it does so pretty well. So I'd suggest starting there.

Richard



Re: available templates and their names

2011-11-15 Thread Liviu Andronic
2011/11/15 Richard Heck rgh...@comcast.net:
 There isn't an article template, though perhaps there should be, as it
 would give basic guidance to newcomers. That said, the Tutorial is

The LyX Essentials [1] is one such example. You will also find a
template-like file (originally prepared for a thesis, but which you
could customize) based on 'article'.

Regards
Liviu

[1] https://sites.google.com/site/tsewiki/resources/latex


Re: Order of package loading problem

2011-11-15 Thread Liviu Andronic
On Tue, Nov 15, 2011 at 2:16 PM, Rainer M Krug r.m.k...@gmail.com wrote:
 is reverted again, and does not work. I had to manually insert
 \usepackage{rotate} before the \usepackage{endfloat} to make it work.

Try this construct
\AtBeginDocument{\frenchbsetup{StandardItemLabels=true}}

and see if it works. (Of course, enclose your own usepackage call.) I
remember there were several other variations---that you can find
on-line---that may be more appropriate.

Regards
Liviu


Re: Lualatex and Lyx.

2011-11-15 Thread stefano franchi
Probably off-topic, but I can attest that Lualatex/Lyx works fine once
you take care of the TexLive distribution issues (as  Liviu rightly
stated). I completed a book with it just a couple of months ago and
was very happy with it. I work on Linux and my strategy was (and still
is) to get rid of the distribution's Texlive's packages and rely only
on TexLive's original installer (and its excellent package manager
tlmgr).



Cheers,

Stefano


On Tue, Nov 15, 2011 at 1:37 AM, Gour g...@atmarama.net wrote:
 On Thu, 3 Nov 2011 13:01:11 -0400
 john Culleton j...@wexfordpress.com wrote:

 Hello John,

 I am recommending Lyx for beginners, even though I don't actually use
 it myself.

 I did my mother's book in LyX some years ago and we are getting short
 of the 2nd part, so thinking about reprint (probably on demand).

 Considering that my good friend who did design of the cover left his
 body in the meantime and seeing you're doing your work in Scribus today,
 I'd like to hear about your reasons to switch?

 You can PM as well if you believe it too much OT for here.


 Sincerely,
 Gour

 --
 In the material world, one who is unaffected by whatever good
 or evil he may obtain, neither praising it nor despising it,
 is firmly fixed in perfect knowledge.

 http://atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810




-- 
__
Stefano Franchi
Associate Research Professor
Department of Hispanic Studies            Ph:   +1 (979) 845-2125
Texas AM University                          Fax:  +1 (979) 845-6421
College Station, Texas, USA


Re: Lualatex and Lyx.

2011-11-15 Thread Liviu Andronic
Hey Stefano


On Tue, Nov 15, 2011 at 6:13 PM, stefano franchi
stefano.fran...@gmail.com wrote:
 Probably off-topic, but I can attest that Lualatex/Lyx works fine once
 you take care of the TexLive distribution issues (as  Liviu rightly
 stated). I completed a book with it just a couple of months ago and
 was very happy with it. I work on Linux and my strategy was (and still
 is) to get rid of the distribution's Texlive's packages and rely only
 on TexLive's original installer (and its excellent package manager
 tlmgr).

Could you point to some specific instructions? I've always wanted to
try this, but never quite made the first step. I may first test it in
a Virtual Machine.

Liviu


Re: Lualatex and Lyx.

2011-11-15 Thread stefano franchi
On Tue, Nov 15, 2011 at 11:19 AM, Liviu Andronic landronim...@gmail.com wrote:
 Hey Stefano


 On Tue, Nov 15, 2011 at 6:13 PM, stefano franchi
 stefano.fran...@gmail.com wrote:
 Probably off-topic, but I can attest that Lualatex/Lyx works fine once
 you take care of the TexLive distribution issues (as  Liviu rightly
 stated). I completed a book with it just a couple of months ago and
 was very happy with it. I work on Linux and my strategy was (and still
 is) to get rid of the distribution's Texlive's packages and rely only
 on TexLive's original installer (and its excellent package manager
 tlmgr).

 Could you point to some specific instructions? I've always wanted to
 try this, but never quite made the first step. I may first test it in
 a Virtual Machine.


Hi Liviu,

there isn't much to my strategy. I was on Kubuntu when I started
working on the book and what I did was simply:

1. Uninstall all the tex-related packages from the system via synaptic

2. Download the texlive installer from tug:
http://tug.org/texlive/acquire-netinstall.html

3. Install a full distribution

4. I had to play around a bit with system paths to instruct linux to
get to the tex binaries, man pages, etc.  (I just followed the
instructions provided in texlive installation instructions)

5. Since Lyx 2.0 was not out yet when the project started (although it
came out toward the end of its life), I stuck with Lyx 1.6.7 and
followed the instructions to use LuaTeX from LyX's wiki.


I had some problems with biblatex/biber (which I also used instead of
bibtex) but no problems with Lualatex.

Cheers,

Stefano



 Liviu




-- 
__
Stefano Franchi
Associate Research Professor
Department of Hispanic Studies            Ph:   +1 (979) 845-2125
Texas AM University                          Fax:  +1 (979) 845-6421
College Station, Texas, USA


Re: Lualatex and Lyx.

2011-11-15 Thread Rob Oakes

On Nov 15, 2011, at 10:51 AM, stefano franchi wrote:

 Could you point to some specific instructions? I've always wanted to
 try this, but never quite made the first step. I may first test it in
 a Virtual Machine.
 

...

 1. Uninstall all the tex-related packages from the system via synaptic
 
 2. Download the texlive installer from tug:
 http://tug.org/texlive/acquire-netinstall.html
 
 3. Install a full distribution
 
 4. I had to play around a bit with system paths to instruct linux to
 get to the tex binaries, man pages, etc.  (I just followed the
 instructions provided in texlive installation instructions)
 
 5. Since Lyx 2.0 was not out yet when the project started (although it
 came out toward the end of its life), I stuck with Lyx 1.6.7 and
 followed the instructions to use LuaTeX from LyX's wiki.

To that, I would add an additional piece of advice: compile LyX from source or 
install a non-packaged binary. In Ubuntu, if you try and install LyX from the 
package manager, it will download all of the associated LaTeX packages as well. 
This can be a tremendous pain because you'll have two versions of everything 
installed and you need to manually manage the packages.

Having two LaTeX distributions can be done (see 
http://blog.oak-tree.us/index.php/2010/07/15/latex-custom for a description of 
how), but it's a pain. It's much better to have a single LaTeX distribution 
installed alongside LyX.

 I had some problems with biblatex/biber (which I also used instead of
 bibtex) but no problems with Lualatex.

I'd be really interested in hearing about using biber and biblatex. I'm really 
interested in moving away from bibtex to something else, and I've heard really 
good things.

Cheers,

Rob

Personal Dictionary File Location in Windows 7?

2011-11-15 Thread Jose Carlos Rodríguez Rodríguez
Hello!. My first message!

I work with documents with Lyx 2.0.1 in Windows 7 in Spanish.  It works
very well. :). Thanks! It is fantastic. xD

 But could you tell me where is the personal dictionary (default
spellchecker engine - hunspell)? :/  What is the file name? Is it possible
modify it manually?  Thank you! :)

JC


Sorry for my poor English!


Master Document

2011-11-15 Thread Louise Wilkinson
Hi,



I'm having trouble getting my BibTex references to work in my master file. I 
keep getting the error message 'Undefined control sequence'. Any help would be 
most appreciated.



Thanks






How to repair corrupted LYX file?

2011-11-15 Thread Johannes Korn

Hi all

I have a problem with an extensive lyx document. It does not compile 
anymore since a while now. I didn´t look at the problem so far because I 
had other stuff to do - maybe that was a mistake because now I don´t 
know what changes originally caused the failure.


In the failure log the topmost failure says Paragraph ended before 
\@ssect was complete. I think that´s the one causing the termination. 
There are a few other errors like Latex Error: subfloat outside float 
but since they are not on top or bottom of the error log I´m not sure if 
they are of concern.


Anyways the main problem is that I cannot determine the location of the 
defective part of the document. If I click on the error message some 
lines of text are marked within the document. But deleting these lines 
does not solve the problems. In the next compilation run another part 
causes the errors.


I already removed anything suspicious from Document-Settings. The 
only special thing is that the document is in UTF8.


How would you proceed? Can I output the errors to a log file?

Regards

Johannes



Re: How to repair corrupted LYX file?

2011-11-15 Thread Rainer M Krug
On Tue, Nov 15, 2011 at 10:47 AM, Johannes Korn k...@freisingnet.de wrote:

 Hi all

 I have a problem with an extensive lyx document. It does not compile
 anymore since a while now. I didn´t look at the problem so far because I
 had other stuff to do - maybe that was a mistake because now I don´t know
 what changes originally caused the failure.

 In the failure log the topmost failure says Paragraph ended before
 \@ssect was complete. I think that´s the one causing the termination.
 There are a few other errors like Latex Error: subfloat outside float but
 since they are not on top or bottom of the error log I´m not sure if they
 are of concern.

 Anyways the main problem is that I cannot determine the location of the
 defective part of the document. If I click on the error message some lines
 of text are marked within the document. But deleting these lines does not
 solve the problems. In the next compilation run another part causes the
 errors.

 I already removed anything suspicious from Document-Settings. The only
 special thing is that the document is in UTF8.

 How would you proceed? Can I output the errors to a log file?


These log files are often quite cryptic...

My approach would be to export to LaTeX and open the resulting .tex file in
a LaTeX editor. In most LaTeX editors, you have folding, so that you can
fold blocks, and see where the problem lies.

Different approach: make a backup of your document, delete half, see which
half compiles, take the one which does not compile and delete half, and
continue until you see what is happening.

Cheers,

Rainer


 Regards

 Johannes




-- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology,
UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa

Tel :   +33 - (0)9 53 10 27 44
Cell:   +33 - (0)6 85 62 59 98
Fax (F):   +33 - (0)9 58 10 27 44

Fax (D):+49 - (0)3 21 21 25 22 44

email:  rai...@krugs.de

Skype:  RMkrug


available templates and their names

2011-11-15 Thread Janek Warchoł
Hi,

i'm new to LyX (i have a bit of experience with LaTeX though) - i'd like to
help my friend to migrate her work from Word (bleh) to LaTeX world, and i
thought that LyX might be a good way.
I wanted to check if LyX suits us by compiling some LyX samples and
modifying them, so i opened some LyX templates (File - New from
Template).  To my great disappointment, i don't have any idea what the
names of most of them mean (what is ijmpc, for example?).  Moreover, in
most cases LyX says The selected document class requires external files
that are not available.  I've only succeeded with letter (which is quite
straightforward) and thesis (partly).
Am i missing something big?  Is there any simple article template?
Would it be good to suggest changing templates' names to something more
intuitive?

thanks in advance,
Janek Warchoł (from Poland)


Order of package loading problem

2011-11-15 Thread Rainer M Krug
Hi

I just was confronted by a problem caused by the fact that the preamble as
specified in the document settings is added before the automatically
created preamble entries: the package endfloat overwrites the definitions
of the sideways environment to enable the putting of the floats to the end
of the document. As rotate is added automatically *after* the manual
preamble, this is reverted again, and does not work. I had to manually
insert
\usepackage{rotate} before the \usepackage{endfloat} to make it work.

I don't have any idea how this can be solved, but it cost me some time to
figure this workaround out.

Cheers,

Rainer


-- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology,
UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa

Tel :   +33 - (0)9 53 10 27 44
Cell:   +33 - (0)6 85 62 59 98
Fax (F):   +33 - (0)9 58 10 27 44

Fax (D):+49 - (0)3 21 21 25 22 44

email:  rai...@krugs.de

Skype:  RMkrug


Re: Order of package loading problem

2011-11-15 Thread Manolo Martínez
On 11/15/11 at 02:16pm, Rainer M Krug wrote:
 Hi
 
 I just was confronted by a problem caused by the fact that the preamble as
 specified in the document settings is added before the automatically
 created preamble entries: the package endfloat overwrites the definitions
 of the sideways environment to enable the putting of the floats to the end
 of the document. As rotate is added automatically *after* the manual
 preamble, this is reverted again, and does not work. I had to manually
 insert
 \usepackage{rotate} before the \usepackage{endfloat} to make it work.
 
 I don't have any idea how this can be solved, but it cost me some time to
 figure this workaround out.

Maybe introducing a piece of syntax (an --after flag or some such) that
instructs lyx to save that line of the preamble for after the automatically
created preamble entries?

Manolo


Re: Order of package loading problem

2011-11-15 Thread Rainer M Krug
On Tue, Nov 15, 2011 at 2:26 PM, Manolo Martínez
man...@austrohungaro.comwrote:

 On 11/15/11 at 02:16pm, Rainer M Krug wrote:
  Hi
 
  I just was confronted by a problem caused by the fact that the preamble
 as
  specified in the document settings is added before the automatically
  created preamble entries: the package endfloat overwrites the definitions
  of the sideways environment to enable the putting of the floats to the
 end
  of the document. As rotate is added automatically *after* the manual
  preamble, this is reverted again, and does not work. I had to manually
  insert
  \usepackage{rotate} before the \usepackage{endfloat} to make it work.
 
  I don't have any idea how this can be solved, but it cost me some time to
  figure this workaround out.

 Maybe introducing a piece of syntax (an --after flag or some such) that
 instructs lyx to save that line of the preamble for after the automatically
 created preamble entries?


That would be a neat idea - or to have two preamble sections in the
settings dialog - one before the automatic one, and one after (and a
display of the automatic created one).

Rainer



 Manolo




-- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology,
UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa

Tel :   +33 - (0)9 53 10 27 44
Cell:   +33 - (0)6 85 62 59 98
Fax (F):   +33 - (0)9 58 10 27 44

Fax (D):+49 - (0)3 21 21 25 22 44

email:  rai...@krugs.de

Skype:  RMkrug


Re: How to repair corrupted LYX file?

2011-11-15 Thread Richard Heck
On 11/15/2011 05:19 AM, Rainer M Krug wrote:


 On Tue, Nov 15, 2011 at 10:47 AM, Johannes Korn k...@freisingnet.de
 mailto:k...@freisingnet.de wrote:

 Hi all

 I have a problem with an extensive lyx document. It does not
 compile anymore since a while now. I didn´t look at the problem so
 far because I had other stuff to do - maybe that was a mistake
 because now I don´t know what changes originally caused the failure.

 In the failure log the topmost failure says Paragraph ended
 before \@ssect was complete. I think that´s the one causing the
 termination. There are a few other errors like Latex Error:
 subfloat outside float but since they are not on top or bottom of
 the error log I´m not sure if they are of concern.

 Anyways the main problem is that I cannot determine the location
 of the defective part of the document. If I click on the error
 message some lines of text are marked within the document. But
 deleting these lines does not solve the problems. In the next
 compilation run another part causes the errors.

 I already removed anything suspicious from Document-Settings.
 The only special thing is that the document is in UTF8.

 How would you proceed? Can I output the errors to a log file?


 These log files are often quite cryptic...

 My approach would be to export to LaTeX and open the resulting .tex
 file in a LaTeX editor. In most LaTeX editors, you have folding, so
 that you can fold blocks, and see where the problem lies.

 Different approach: make a backup of your document, delete half, see
 which half compiles, take the one which does not compile and delete
 half, and continue until you see what is happening.

This is the fastest way, usually. You'll end up doing this with the
LaTeX file anyway.

rh



Re: Order of package loading problem

2011-11-15 Thread Richard Heck
On 11/15/2011 08:29 AM, Rainer M Krug wrote:


 On Tue, Nov 15, 2011 at 2:26 PM, Manolo Martínez
 man...@austrohungaro.com mailto:man...@austrohungaro.com wrote:

 On 11/15/11 at 02:16pm, Rainer M Krug wrote:
  Hi
 
  I just was confronted by a problem caused by the fact that the
 preamble as
  specified in the document settings is added before the automatically
  created preamble entries: the package endfloat overwrites the
 definitions
  of the sideways environment to enable the putting of the floats
 to the end
  of the document. As rotate is added automatically *after* the manual
  preamble, this is reverted again, and does not work. I had to
 manually
  insert
  \usepackage{rotate} before the \usepackage{endfloat} to make it
 work.
 
  I don't have any idea how this can be solved, but it cost me
 some time to
  figure this workaround out.

 Maybe introducing a piece of syntax (an --after flag or some such)
 that
 instructs lyx to save that line of the preamble for after the
 automatically
 created preamble entries?


 That would be a neat idea - or to have two preamble sections in the
 settings dialog - one before the automatic one, and one after (and a
 display of the automatic created one).

You can always suppress automatic loading via:
Provides badpkg 1
in some layout or other, e.g., in Local Layout if nowhere else. Then
load manually.

Richard



Re: available templates and their names

2011-11-15 Thread Richard Heck
On 11/15/2011 07:37 AM, Janek Warchoł wrote:
 Hi,

 i'm new to LyX (i have a bit of experience with LaTeX though) - i'd
 like to help my friend to migrate her work from Word (bleh) to LaTeX
 world, and i thought that LyX might be a good way.
 I wanted to check if LyX suits us by compiling some LyX samples and
 modifying them, so i opened some LyX templates (File - New from
 Template).  To my great disappointment, i don't have any idea what the
 names of most of them mean (what is ijmpc, for example?).  Moreover,
 in most cases LyX says The selected document class requires external
 files that are not available.  I've only succeeded with letter
 (which is quite straightforward) and thesis (partly).
 Am i missing something big?  Is there any simple article template?
 Would it be good to suggest changing templates' names to something
 more intuitive?

The templates correspond, mostly, to certain document classes. So
elsarticle.lyx is a template for documents based upon the elsarticle.cls
class, which is used by some Elsevier journals. The idea of having more
descriptive names isn't bad, but then they'd presumably be in English,
which isn't good for everyone. The current naming scheme is at least
principled.

There isn't an article template, though perhaps there should be, as it
would give basic guidance to newcomers. That said, the Tutorial is
supposed to serve this kind of purpose, and most people have found, I
think, that it does so pretty well. So I'd suggest starting there.

Richard



Re: available templates and their names

2011-11-15 Thread Liviu Andronic
2011/11/15 Richard Heck rgh...@comcast.net:
 There isn't an article template, though perhaps there should be, as it
 would give basic guidance to newcomers. That said, the Tutorial is

The LyX Essentials [1] is one such example. You will also find a
template-like file (originally prepared for a thesis, but which you
could customize) based on 'article'.

Regards
Liviu

[1] https://sites.google.com/site/tsewiki/resources/latex


Re: Order of package loading problem

2011-11-15 Thread Liviu Andronic
On Tue, Nov 15, 2011 at 2:16 PM, Rainer M Krug r.m.k...@gmail.com wrote:
 is reverted again, and does not work. I had to manually insert
 \usepackage{rotate} before the \usepackage{endfloat} to make it work.

Try this construct
\AtBeginDocument{\frenchbsetup{StandardItemLabels=true}}

and see if it works. (Of course, enclose your own usepackage call.) I
remember there were several other variations---that you can find
on-line---that may be more appropriate.

Regards
Liviu


Re: Lualatex and Lyx.

2011-11-15 Thread stefano franchi
Probably off-topic, but I can attest that Lualatex/Lyx works fine once
you take care of the TexLive distribution issues (as  Liviu rightly
stated). I completed a book with it just a couple of months ago and
was very happy with it. I work on Linux and my strategy was (and still
is) to get rid of the distribution's Texlive's packages and rely only
on TexLive's original installer (and its excellent package manager
tlmgr).



Cheers,

Stefano


On Tue, Nov 15, 2011 at 1:37 AM, Gour g...@atmarama.net wrote:
 On Thu, 3 Nov 2011 13:01:11 -0400
 john Culleton j...@wexfordpress.com wrote:

 Hello John,

 I am recommending Lyx for beginners, even though I don't actually use
 it myself.

 I did my mother's book in LyX some years ago and we are getting short
 of the 2nd part, so thinking about reprint (probably on demand).

 Considering that my good friend who did design of the cover left his
 body in the meantime and seeing you're doing your work in Scribus today,
 I'd like to hear about your reasons to switch?

 You can PM as well if you believe it too much OT for here.


 Sincerely,
 Gour

 --
 In the material world, one who is unaffected by whatever good
 or evil he may obtain, neither praising it nor despising it,
 is firmly fixed in perfect knowledge.

 http://atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810




-- 
__
Stefano Franchi
Associate Research Professor
Department of Hispanic Studies            Ph:   +1 (979) 845-2125
Texas AM University                          Fax:  +1 (979) 845-6421
College Station, Texas, USA


Re: Lualatex and Lyx.

2011-11-15 Thread Liviu Andronic
Hey Stefano


On Tue, Nov 15, 2011 at 6:13 PM, stefano franchi
stefano.fran...@gmail.com wrote:
 Probably off-topic, but I can attest that Lualatex/Lyx works fine once
 you take care of the TexLive distribution issues (as  Liviu rightly
 stated). I completed a book with it just a couple of months ago and
 was very happy with it. I work on Linux and my strategy was (and still
 is) to get rid of the distribution's Texlive's packages and rely only
 on TexLive's original installer (and its excellent package manager
 tlmgr).

Could you point to some specific instructions? I've always wanted to
try this, but never quite made the first step. I may first test it in
a Virtual Machine.

Liviu


Re: Lualatex and Lyx.

2011-11-15 Thread stefano franchi
On Tue, Nov 15, 2011 at 11:19 AM, Liviu Andronic landronim...@gmail.com wrote:
 Hey Stefano


 On Tue, Nov 15, 2011 at 6:13 PM, stefano franchi
 stefano.fran...@gmail.com wrote:
 Probably off-topic, but I can attest that Lualatex/Lyx works fine once
 you take care of the TexLive distribution issues (as  Liviu rightly
 stated). I completed a book with it just a couple of months ago and
 was very happy with it. I work on Linux and my strategy was (and still
 is) to get rid of the distribution's Texlive's packages and rely only
 on TexLive's original installer (and its excellent package manager
 tlmgr).

 Could you point to some specific instructions? I've always wanted to
 try this, but never quite made the first step. I may first test it in
 a Virtual Machine.


Hi Liviu,

there isn't much to my strategy. I was on Kubuntu when I started
working on the book and what I did was simply:

1. Uninstall all the tex-related packages from the system via synaptic

2. Download the texlive installer from tug:
http://tug.org/texlive/acquire-netinstall.html

3. Install a full distribution

4. I had to play around a bit with system paths to instruct linux to
get to the tex binaries, man pages, etc.  (I just followed the
instructions provided in texlive installation instructions)

5. Since Lyx 2.0 was not out yet when the project started (although it
came out toward the end of its life), I stuck with Lyx 1.6.7 and
followed the instructions to use LuaTeX from LyX's wiki.


I had some problems with biblatex/biber (which I also used instead of
bibtex) but no problems with Lualatex.

Cheers,

Stefano



 Liviu




-- 
__
Stefano Franchi
Associate Research Professor
Department of Hispanic Studies            Ph:   +1 (979) 845-2125
Texas AM University                          Fax:  +1 (979) 845-6421
College Station, Texas, USA


Re: Lualatex and Lyx.

2011-11-15 Thread Rob Oakes

On Nov 15, 2011, at 10:51 AM, stefano franchi wrote:

 Could you point to some specific instructions? I've always wanted to
 try this, but never quite made the first step. I may first test it in
 a Virtual Machine.
 

...

 1. Uninstall all the tex-related packages from the system via synaptic
 
 2. Download the texlive installer from tug:
 http://tug.org/texlive/acquire-netinstall.html
 
 3. Install a full distribution
 
 4. I had to play around a bit with system paths to instruct linux to
 get to the tex binaries, man pages, etc.  (I just followed the
 instructions provided in texlive installation instructions)
 
 5. Since Lyx 2.0 was not out yet when the project started (although it
 came out toward the end of its life), I stuck with Lyx 1.6.7 and
 followed the instructions to use LuaTeX from LyX's wiki.

To that, I would add an additional piece of advice: compile LyX from source or 
install a non-packaged binary. In Ubuntu, if you try and install LyX from the 
package manager, it will download all of the associated LaTeX packages as well. 
This can be a tremendous pain because you'll have two versions of everything 
installed and you need to manually manage the packages.

Having two LaTeX distributions can be done (see 
http://blog.oak-tree.us/index.php/2010/07/15/latex-custom for a description of 
how), but it's a pain. It's much better to have a single LaTeX distribution 
installed alongside LyX.

 I had some problems with biblatex/biber (which I also used instead of
 bibtex) but no problems with Lualatex.

I'd be really interested in hearing about using biber and biblatex. I'm really 
interested in moving away from bibtex to something else, and I've heard really 
good things.

Cheers,

Rob

Personal Dictionary File Location in Windows 7?

2011-11-15 Thread Jose Carlos Rodríguez Rodríguez
Hello!. My first message!

I work with documents with Lyx 2.0.1 in Windows 7 in Spanish.  It works
very well. :). Thanks! It is fantastic. xD

 But could you tell me where is the personal dictionary (default
spellchecker engine - hunspell)? :/  What is the file name? Is it possible
modify it manually?  Thank you! :)

JC


Sorry for my poor English!


Master Document

2011-11-15 Thread Louise Wilkinson
Hi,



I'm having trouble getting my BibTex references to work in my master file. I 
keep getting the error message 'Undefined control sequence'. Any help would be 
most appreciated.



Thanks






How to repair corrupted LYX file?

2011-11-15 Thread Johannes Korn

Hi all

I have a problem with an extensive lyx document. It does not compile 
anymore since a while now. I didn´t look at the problem so far because I 
had other stuff to do - maybe that was a mistake because now I don´t 
know what changes originally caused the failure.


In the failure log the topmost failure says "Paragraph ended before 
\@ssect was complete". I think that´s the one causing the termination. 
There are a few other errors like "Latex Error: subfloat outside float" 
but since they are not on top or bottom of the error log I´m not sure if 
they are of concern.


Anyways the main problem is that I cannot determine the location of the 
defective part of the document. If I click on the error message some 
lines of text are marked within the document. But deleting these lines 
does not solve the problems. In the next compilation run another part 
causes the errors.


I already removed anything suspicious from "Document->Settings". The 
only special thing is that the document is in UTF8.


How would you proceed? Can I output the errors to a log file?

Regards

Johannes



Re: How to repair corrupted LYX file?

2011-11-15 Thread Rainer M Krug
On Tue, Nov 15, 2011 at 10:47 AM, Johannes Korn  wrote:

> Hi all
>
> I have a problem with an extensive lyx document. It does not compile
> anymore since a while now. I didn´t look at the problem so far because I
> had other stuff to do - maybe that was a mistake because now I don´t know
> what changes originally caused the failure.
>
> In the failure log the topmost failure says "Paragraph ended before
> \@ssect was complete". I think that´s the one causing the termination.
> There are a few other errors like "Latex Error: subfloat outside float" but
> since they are not on top or bottom of the error log I´m not sure if they
> are of concern.
>
> Anyways the main problem is that I cannot determine the location of the
> defective part of the document. If I click on the error message some lines
> of text are marked within the document. But deleting these lines does not
> solve the problems. In the next compilation run another part causes the
> errors.
>
> I already removed anything suspicious from "Document->Settings". The only
> special thing is that the document is in UTF8.
>
> How would you proceed? Can I output the errors to a log file?
>

These log files are often quite cryptic...

My approach would be to export to LaTeX and open the resulting .tex file in
a LaTeX editor. In most LaTeX editors, you have folding, so that you can
fold blocks, and see where the problem lies.

Different approach: make a backup of your document, delete half, see which
half compiles, take the one which does not compile and delete half, and
continue until you see what is happening.

Cheers,

Rainer

>
> Regards
>
> Johannes
>
>


-- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology,
UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa

Tel :   +33 - (0)9 53 10 27 44
Cell:   +33 - (0)6 85 62 59 98
Fax (F):   +33 - (0)9 58 10 27 44

Fax (D):+49 - (0)3 21 21 25 22 44

email:  rai...@krugs.de

Skype:  RMkrug


available templates and their names

2011-11-15 Thread Janek Warchoł
Hi,

i'm new to LyX (i have a bit of experience with LaTeX though) - i'd like to
help my friend to migrate her work from Word (bleh) to LaTeX world, and i
thought that LyX might be a good way.
I wanted to check if LyX suits us by compiling some LyX samples and
modifying them, so i opened some LyX templates (File -> New from
Template).  To my great disappointment, i don't have any idea what the
names of most of them mean (what is ijmpc, for example?).  Moreover, in
most cases LyX says "The selected document class requires external files
that are not available".  I've only succeeded with "letter" (which is quite
straightforward) and "thesis" (partly).
Am i missing something big?  Is there any simple article template?
Would it be good to suggest changing templates' names to something more
intuitive?

thanks in advance,
Janek Warchoł (from Poland)


Order of package loading problem

2011-11-15 Thread Rainer M Krug
Hi

I just was confronted by a problem caused by the fact that the preamble as
specified in the document settings is added before the automatically
created preamble entries: the package endfloat overwrites the definitions
of the sideways environment to enable the putting of the floats to the end
of the document. As rotate is added automatically *after* the manual
preamble, this is reverted again, and does not work. I had to manually
insert
\usepackage{rotate} before the \usepackage{endfloat} to make it work.

I don't have any idea how this can be solved, but it cost me some time to
figure this workaround out.

Cheers,

Rainer


-- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology,
UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa

Tel :   +33 - (0)9 53 10 27 44
Cell:   +33 - (0)6 85 62 59 98
Fax (F):   +33 - (0)9 58 10 27 44

Fax (D):+49 - (0)3 21 21 25 22 44

email:  rai...@krugs.de

Skype:  RMkrug


Re: Order of package loading problem

2011-11-15 Thread Manolo Martínez
On 11/15/11 at 02:16pm, Rainer M Krug wrote:
> Hi
> 
> I just was confronted by a problem caused by the fact that the preamble as
> specified in the document settings is added before the automatically
> created preamble entries: the package endfloat overwrites the definitions
> of the sideways environment to enable the putting of the floats to the end
> of the document. As rotate is added automatically *after* the manual
> preamble, this is reverted again, and does not work. I had to manually
> insert
> \usepackage{rotate} before the \usepackage{endfloat} to make it work.
> 
> I don't have any idea how this can be solved, but it cost me some time to
> figure this workaround out.

Maybe introducing a piece of syntax (an --after flag or some such) that
instructs lyx to save that line of the preamble for after the automatically
created preamble entries?

Manolo


Re: Order of package loading problem

2011-11-15 Thread Rainer M Krug
On Tue, Nov 15, 2011 at 2:26 PM, Manolo Martínez
wrote:

> On 11/15/11 at 02:16pm, Rainer M Krug wrote:
> > Hi
> >
> > I just was confronted by a problem caused by the fact that the preamble
> as
> > specified in the document settings is added before the automatically
> > created preamble entries: the package endfloat overwrites the definitions
> > of the sideways environment to enable the putting of the floats to the
> end
> > of the document. As rotate is added automatically *after* the manual
> > preamble, this is reverted again, and does not work. I had to manually
> > insert
> > \usepackage{rotate} before the \usepackage{endfloat} to make it work.
> >
> > I don't have any idea how this can be solved, but it cost me some time to
> > figure this workaround out.
>
> Maybe introducing a piece of syntax (an --after flag or some such) that
> instructs lyx to save that line of the preamble for after the automatically
> created preamble entries?
>

That would be a neat idea - or to have two preamble sections in the
settings dialog - one before the automatic one, and one after (and a
display of the automatic created one).

Rainer


>
> Manolo
>



-- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology,
UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa

Tel :   +33 - (0)9 53 10 27 44
Cell:   +33 - (0)6 85 62 59 98
Fax (F):   +33 - (0)9 58 10 27 44

Fax (D):+49 - (0)3 21 21 25 22 44

email:  rai...@krugs.de

Skype:  RMkrug


Re: How to repair corrupted LYX file?

2011-11-15 Thread Richard Heck
On 11/15/2011 05:19 AM, Rainer M Krug wrote:
>
>
> On Tue, Nov 15, 2011 at 10:47 AM, Johannes Korn  > wrote:
>
> Hi all
>
> I have a problem with an extensive lyx document. It does not
> compile anymore since a while now. I didn´t look at the problem so
> far because I had other stuff to do - maybe that was a mistake
> because now I don´t know what changes originally caused the failure.
>
> In the failure log the topmost failure says "Paragraph ended
> before \@ssect was complete". I think that´s the one causing the
> termination. There are a few other errors like "Latex Error:
> subfloat outside float" but since they are not on top or bottom of
> the error log I´m not sure if they are of concern.
>
> Anyways the main problem is that I cannot determine the location
> of the defective part of the document. If I click on the error
> message some lines of text are marked within the document. But
> deleting these lines does not solve the problems. In the next
> compilation run another part causes the errors.
>
> I already removed anything suspicious from "Document->Settings".
> The only special thing is that the document is in UTF8.
>
> How would you proceed? Can I output the errors to a log file?
>
>
> These log files are often quite cryptic...
>
> My approach would be to export to LaTeX and open the resulting .tex
> file in a LaTeX editor. In most LaTeX editors, you have folding, so
> that you can fold blocks, and see where the problem lies.
>
> Different approach: make a backup of your document, delete half, see
> which half compiles, take the one which does not compile and delete
> half, and continue until you see what is happening.
>
This is the fastest way, usually. You'll end up doing this with the
LaTeX file anyway.

rh



Re: Order of package loading problem

2011-11-15 Thread Richard Heck
On 11/15/2011 08:29 AM, Rainer M Krug wrote:
>
>
> On Tue, Nov 15, 2011 at 2:26 PM, Manolo Martínez
> > wrote:
>
> On 11/15/11 at 02:16pm, Rainer M Krug wrote:
> > Hi
> >
> > I just was confronted by a problem caused by the fact that the
> preamble as
> > specified in the document settings is added before the automatically
> > created preamble entries: the package endfloat overwrites the
> definitions
> > of the sideways environment to enable the putting of the floats
> to the end
> > of the document. As rotate is added automatically *after* the manual
> > preamble, this is reverted again, and does not work. I had to
> manually
> > insert
> > \usepackage{rotate} before the \usepackage{endfloat} to make it
> work.
> >
> > I don't have any idea how this can be solved, but it cost me
> some time to
> > figure this workaround out.
>
> Maybe introducing a piece of syntax (an --after flag or some such)
> that
> instructs lyx to save that line of the preamble for after the
> automatically
> created preamble entries?
>
>
> That would be a neat idea - or to have two preamble sections in the
> settings dialog - one before the automatic one, and one after (and a
> display of the automatic created one).
>
You can always suppress automatic loading via:
Provides badpkg 1
in some layout or other, e.g., in Local Layout if nowhere else. Then
load manually.

Richard



Re: available templates and their names

2011-11-15 Thread Richard Heck
On 11/15/2011 07:37 AM, Janek Warchoł wrote:
> Hi,
>
> i'm new to LyX (i have a bit of experience with LaTeX though) - i'd
> like to help my friend to migrate her work from Word (bleh) to LaTeX
> world, and i thought that LyX might be a good way.
> I wanted to check if LyX suits us by compiling some LyX samples and
> modifying them, so i opened some LyX templates (File -> New from
> Template).  To my great disappointment, i don't have any idea what the
> names of most of them mean (what is ijmpc, for example?).  Moreover,
> in most cases LyX says "The selected document class requires external
> files that are not available".  I've only succeeded with "letter"
> (which is quite straightforward) and "thesis" (partly).
> Am i missing something big?  Is there any simple article template?
> Would it be good to suggest changing templates' names to something
> more intuitive?
>
The templates correspond, mostly, to certain document classes. So
elsarticle.lyx is a template for documents based upon the elsarticle.cls
class, which is used by some Elsevier journals. The idea of having more
descriptive names isn't bad, but then they'd presumably be in English,
which isn't good for everyone. The current naming scheme is at least
principled.

There isn't an article template, though perhaps there should be, as it
would give basic guidance to newcomers. That said, the Tutorial is
supposed to serve this kind of purpose, and most people have found, I
think, that it does so pretty well. So I'd suggest starting there.

Richard



Re: available templates and their names

2011-11-15 Thread Liviu Andronic
2011/11/15 Richard Heck :
> There isn't an article template, though perhaps there should be, as it
> would give basic guidance to newcomers. That said, the Tutorial is
>
The LyX Essentials [1] is one such example. You will also find a
template-like file (originally prepared for a thesis, but which you
could customize) based on 'article'.

Regards
Liviu

[1] https://sites.google.com/site/tsewiki/resources/latex


Re: Order of package loading problem

2011-11-15 Thread Liviu Andronic
On Tue, Nov 15, 2011 at 2:16 PM, Rainer M Krug  wrote:
> is reverted again, and does not work. I had to manually insert
> \usepackage{rotate} before the \usepackage{endfloat} to make it work.
>
Try this construct
\AtBeginDocument{\frenchbsetup{StandardItemLabels=true}}

and see if it works. (Of course, enclose your own usepackage call.) I
remember there were several other variations---that you can find
on-line---that may be more appropriate.

Regards
Liviu


Re: Lualatex and Lyx.

2011-11-15 Thread stefano franchi
Probably off-topic, but I can attest that Lualatex/Lyx works fine once
you take care of the TexLive distribution issues (as  Liviu rightly
stated). I completed a book with it just a couple of months ago and
was very happy with it. I work on Linux and my strategy was (and still
is) to get rid of the distribution's Texlive's packages and rely only
on TexLive's original installer (and its excellent package manager
tlmgr).



Cheers,

Stefano


On Tue, Nov 15, 2011 at 1:37 AM, Gour  wrote:
> On Thu, 3 Nov 2011 13:01:11 -0400
> john Culleton  wrote:
>
> Hello John,
>
>> I am recommending Lyx for beginners, even though I don't actually use
>> it myself.
>
> I did my mother's book in LyX some years ago and we are getting short
> of the 2nd part, so thinking about reprint (probably on demand).
>
> Considering that my good friend who did design of the cover left his
> body in the meantime and seeing you're doing your work in Scribus today,
> I'd like to hear about your reasons to switch?
>
> You can PM as well if you believe it too much OT for here.
>
>
> Sincerely,
> Gour
>
> --
> In the material world, one who is unaffected by whatever good
> or evil he may obtain, neither praising it nor despising it,
> is firmly fixed in perfect knowledge.
>
> http://atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810
>



-- 
__
Stefano Franchi
Associate Research Professor
Department of Hispanic Studies            Ph:   +1 (979) 845-2125
Texas A University                          Fax:  +1 (979) 845-6421
College Station, Texas, USA


Re: Lualatex and Lyx.

2011-11-15 Thread Liviu Andronic
Hey Stefano


On Tue, Nov 15, 2011 at 6:13 PM, stefano franchi
 wrote:
> Probably off-topic, but I can attest that Lualatex/Lyx works fine once
> you take care of the TexLive distribution issues (as  Liviu rightly
> stated). I completed a book with it just a couple of months ago and
> was very happy with it. I work on Linux and my strategy was (and still
> is) to get rid of the distribution's Texlive's packages and rely only
> on TexLive's original installer (and its excellent package manager
> tlmgr).
>
Could you point to some specific instructions? I've always wanted to
try this, but never quite made the first step. I may first test it in
a Virtual Machine.

Liviu


Re: Lualatex and Lyx.

2011-11-15 Thread stefano franchi
On Tue, Nov 15, 2011 at 11:19 AM, Liviu Andronic  wrote:
> Hey Stefano
>
>
> On Tue, Nov 15, 2011 at 6:13 PM, stefano franchi
>  wrote:
>> Probably off-topic, but I can attest that Lualatex/Lyx works fine once
>> you take care of the TexLive distribution issues (as  Liviu rightly
>> stated). I completed a book with it just a couple of months ago and
>> was very happy with it. I work on Linux and my strategy was (and still
>> is) to get rid of the distribution's Texlive's packages and rely only
>> on TexLive's original installer (and its excellent package manager
>> tlmgr).
>>
> Could you point to some specific instructions? I've always wanted to
> try this, but never quite made the first step. I may first test it in
> a Virtual Machine.
>

Hi Liviu,

there isn't much to my strategy. I was on Kubuntu when I started
working on the book and what I did was simply:

1. Uninstall all the tex-related packages from the system via synaptic

2. Download the texlive installer from tug:
http://tug.org/texlive/acquire-netinstall.html

3. Install a full distribution

4. I had to play around a bit with system paths to instruct linux to
get to the tex binaries, man pages, etc.  (I just followed the
instructions provided in texlive installation instructions)

5. Since Lyx 2.0 was not out yet when the project started (although it
came out toward the end of its life), I stuck with Lyx 1.6.7 and
followed the instructions to use LuaTeX from LyX's wiki.


I had some problems with biblatex/biber (which I also used instead of
bibtex) but no problems with Lualatex.

Cheers,

Stefano



> Liviu
>



-- 
__
Stefano Franchi
Associate Research Professor
Department of Hispanic Studies            Ph:   +1 (979) 845-2125
Texas A University                          Fax:  +1 (979) 845-6421
College Station, Texas, USA


Re: Lualatex and Lyx.

2011-11-15 Thread Rob Oakes

On Nov 15, 2011, at 10:51 AM, stefano franchi wrote:

>> Could you point to some specific instructions? I've always wanted to
>> try this, but never quite made the first step. I may first test it in
>> a Virtual Machine.
>> 

...

> 1. Uninstall all the tex-related packages from the system via synaptic
> 
> 2. Download the texlive installer from tug:
> http://tug.org/texlive/acquire-netinstall.html
> 
> 3. Install a full distribution
> 
> 4. I had to play around a bit with system paths to instruct linux to
> get to the tex binaries, man pages, etc.  (I just followed the
> instructions provided in texlive installation instructions)
> 
> 5. Since Lyx 2.0 was not out yet when the project started (although it
> came out toward the end of its life), I stuck with Lyx 1.6.7 and
> followed the instructions to use LuaTeX from LyX's wiki.

To that, I would add an additional piece of advice: compile LyX from source or 
install a non-packaged binary. In Ubuntu, if you try and install LyX from the 
package manager, it will download all of the associated LaTeX packages as well. 
This can be a tremendous pain because you'll have two versions of everything 
installed and you need to manually manage the packages.

Having two LaTeX distributions can be done (see 
http://blog.oak-tree.us/index.php/2010/07/15/latex-custom for a description of 
how), but it's a pain. It's much better to have a single LaTeX distribution 
installed alongside LyX.

> I had some problems with biblatex/biber (which I also used instead of
> bibtex) but no problems with Lualatex.

I'd be really interested in hearing about using biber and biblatex. I'm really 
interested in moving away from bibtex to something else, and I've heard really 
good things.

Cheers,

Rob

Personal Dictionary File Location in Windows 7?

2011-11-15 Thread Jose Carlos Rodríguez Rodríguez
Hello!. My first message!

I work with documents with Lyx 2.0.1 in Windows 7 in Spanish.  It works
very well. :). Thanks! It is fantastic. xD

 But could you tell me where is the personal dictionary (default
spellchecker engine - hunspell)? :/  What is the file name? Is it possible
modify it manually?  Thank you! :)

JC


Sorry for my poor English!


Master Document

2011-11-15 Thread Louise Wilkinson
Hi,



I'm having trouble getting my BibTex references to work in my master file. I 
keep getting the error message 'Undefined control sequence'. Any help would be 
most appreciated.



Thanks