input preamble with biblatex?

2010-01-05 Thread Peter Baumgartner

I'm writing on a long document (book with various chapters) with LyX 1.6.5 on
OS X 10.5.8. After trying to prepare a master file with a preamble valid for
all files and to work on each file separately I noticed through different
posts on this forum that the command \includeonly does not work. At least
that was the discussion on an older lyx version but I assume that this is
still the case (independently that in the actual manual the \includeonly
command is still mentioned as it would function properly). Is this right?


So I tried to separate the preamble commands in a special file
preamble.tex and \input it into every file. But this didn't work. It
generated many errors, all of them - as far as I can see - related with my
bibliography. As I'm using biblatex with the module biblatex-citation-style
I assume that this is also the problem. Can anyone suggest how to proceed?

-- 
View this message in context: 
http://n2.nabble.com/input-preamble-with-biblatex-tp4254194p4254194.html
Sent from the LyX - Users mailing list archive at Nabble.com.


Re: input preamble with biblatex?

2010-01-05 Thread Pierfranco Minsenti
Hi,

I too have observed that the \includeonly command doesn't work and I would
be very interested in knowing if there is a way to use it in LyX.

For now, a very simple suggestion for Peter consists in compiling from the
master file but only after including in a LyX note the chapters he doesn't
want to compile:
1. highlight with the mouse the name of the file listed in the master file;
2. click on the LyX note icon in the command bar: the name of the file is
now included in a LyX note and will not be sent to pdflatex for compilation
3. etc. for every file not to be compiled. Only names of files that must be
compiled remain unchanged.

This always works perfectly.
pierfranco

2010/1/5 Peter Baumgartner peter.baumgart...@donau-uni.ac.at


 I'm writing on a long document (book with various chapters) with LyX 1.6.5
 on
 OS X 10.5.8. After trying to prepare a master file with a preamble valid
 for
 all files and to work on each file separately I noticed through different
 posts on this forum that the command \includeonly does not work. At least
 that was the discussion on an older lyx version but I assume that this is
 still the case (independently that in the actual manual the \includeonly
 command is still mentioned as it would function properly). Is this right?


 So I tried to separate the preamble commands in a special file
 preamble.tex and \input it into every file. But this didn't work. It
 generated many errors, all of them - as far as I can see - related with my
 bibliography. As I'm using biblatex with the module biblatex-citation-style
 I assume that this is also the problem. Can anyone suggest how to proceed?

 --
 View this message in context:
 http://n2.nabble.com/input-preamble-with-biblatex-tp4254194p4254194.html
 Sent from the LyX - Users mailing list archive at Nabble.com.



Re: input preamble with biblatex?

2010-01-05 Thread Jürgen Spitzmüller
Peter Baumgartner wrote:
 I'm writing on a long document (book with various chapters) with LyX 1.6.5
  on OS X 10.5.8. After trying to prepare a master file with a preamble
  valid for all files and to work on each file separately I noticed through
  different posts on this forum that the command \includeonly does not work.
  At least that was the discussion on an older lyx version but I assume that
  this is still the case (independently that in the actual manual the
  \includeonly command is still mentioned as it would function properly).
  Is this right?

Yes. It does not work since LyX uses specific filenames for the compilation of 
the document in the temporary directory.

 So I tried to separate the preamble commands in a special file
 preamble.tex and \input it into every file. But this didn't work. It
 generated many errors, all of them - as far as I can see - related with my
 bibliography. As I'm using biblatex with the module biblatex-citation-style
 I assume that this is also the problem. Can anyone suggest how to proceed?

It is supposed to work. Could you post an example file?

Jürgen


Re: input preamble with biblatex?

2010-01-05 Thread Peter Baumgartner

Pierfranco: Thanks for the tip, very helpful

Jürgen: Now it works! Problem was the filename preamble.tex :blush:

Two more related questions:
Is there a plan to solve the \includeonly problem?
If not: How to change this misleading paragraph in the manual?



-- 
View this message in context: 
http://n2.nabble.com/input-preamble-with-biblatex-tp4254194p4255012.html
Sent from the LyX - Users mailing list archive at Nabble.com.


Re: input preamble with biblatex?

2010-01-05 Thread Jürgen Spitzmüller
Peter Baumgartner wrote:
 Is there a plan to solve the \includeonly problem?

In the long run, yes (there's a ticket on trac about the issue).

The problem is: a proper includeonly support involves some work, since LyX 
will need to take care that the whole document is compiled at least once 
(and/or cache the aux files). 

 If not: How to change this misleading paragraph in the manual?

Post a message with CC: to lyx-docs with reference to the respective 
paragraph.

Jürgen


Re: Snippets Functionality

2010-01-05 Thread rgheck

On 12/31/2009 05:15 PM, Karl Winterling wrote:

Hi,

Does anyone know of a way to use Textmate-style snippets in LyX? It
would speed up entering complex math formulas.

   
I guess the answer is no, since no-one has posted anything. BUT: If 
you're really entering a lot of complex math formulas in such a way that 
these snippets would be helpful, then you should probably be defining a 
math macro, anyway. If that doesn't work in a particular case, then make 
a special LyX file that just holds the bits you want. Then copy and 
paste out of that.


rh



Re: calender

2010-01-05 Thread Daniel Lohmann


On 29.12.2009, at 19:55, Paul Sutton wrote:


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Daniel Lohmann wrote:


The PGF/TikZ package contains a quite decent calendar library. Within
LyX you have to use ERT as it is a LaTeX package, but its relatively
easy to use.

Daniel

Ok thanks

I have found http://www.texample.net/tikz/examples/ to give a few good
examples,  i have pgf installed but do I need to install TikZ as a
separate package, under ubuntu ?

or are they one package.


Hm... usually they are shipped as one package. However, historically  
PGF was first and previous versions of PGF were also shipped with  
latex-beamer (by the same author), so I am not completely sure.


Will have a read of the tutorial and information files.

TikZ comes with an impressive amount of documentation and examples;  
there are several calendar examples in  pgfmanual.pdf.


Daniel


Re: getting the spell check to work on Windows Vista

2010-01-05 Thread Uwe Stöhr

R M schrieb:


I have Vista.
When I click on English on http://wiki.lyx.org/Windows/Aspell6
I told it to install the dictionary in
C:\ProgramData\Aspell\Dictionaries

Is this the right place?


On Win XP the location is
C:\Documents and Settings\username\Application Data\Aspell

Use the according location on Vista.

Note that installing Aspell dictionaries only works when you already 
installed the main Aspell programm.



The error message is
The spellchecker could not be started
No word lists can be found for the language en_US.


it seems that Aspell was not correctly installed. The easiest way to 
repair your installation, is to

- uninstall LyX _completely_
- uninstall all Aspell dictionaries
- uninstall Aspell if it is still installed
- reinstall LyX using the small version of the alternative LyX for 
Windows installer:

http://wiki.lyx.org/Windows/LyXWinInstaller

regards Uwe


Re: rotated multirow cells with line wrapping

2010-01-05 Thread Uwe Stöhr

James C. Sutherland schrieb:


I would like to create a table that has a multirow cell in it.  However, I need 
to wrap the text and orient it vertically (rotated 90 degrees).

I have attached a LyX file and its associated PDF output for an example of what 
I am trying to do.  I cannot get the text to wrap properly.


I fear that this is not possible. I propose to layout the table in 
another program, e.g. with Scribus. Export the table as PDF image and 
then use this image in your LyX file.


regards Uwe


Re: LyZ: Lyx plugin for Zotero

2010-01-05 Thread Peter Baumgartner
Hi Petr,

 I have (probably) finished the plugin, i.e. at least as far as new 
 functionality goes.

Sounds great! I was always looking to prevent this extra export of data into a
.bib file from zotero.

But I have some problems:
1. The plugin does not export special characters like German umlaute correctly.
2. Deleting and renaming of bib and lyx-record does not work for me. 

I'm working with a Mac. Maybe this explains the problems? 

Peter



 The plugin is now able to synchronize any changes to BibTex keys, 
 including complete change of format, LyX document is updated 
 accordingly. This is useful when the reference is incorrectly collected 
 in Zotero and inserted as such into LyX. Probably not something that 
 would happen that often, but since it was quite straightforward to 
 implement...
 https://addons.mozilla.org/en-US/firefox/addon/56806
 Best
 Petr
 
 






Re: LyZ: Lyx plugin for Zotero

2010-01-05 Thread Petr Šimon

On 6.1.2010 6:30, Peter Baumgartner wrote:

Hi Petr,

   

I have (probably) finished the plugin, i.e. at least as far as new
functionality goes.
 

Sounds great! I was always looking to prevent this extra export of data into a
.bib file from zotero.

But I have some problems:
1. The plugin does not export special characters like German umlaute correctly.
2. Deleting and renaming of bib and lyx-record does not work for me.

I'm working with a Mac. Maybe this explains the problems?

Peter
   

Hi Peter,
I try to fix these if you could send me
1. the references exported to bibtex (either from Lyz or Zotero). I 
tried with some German, but probably I am missed some characters

2. any error in the error console (Firefox menu Tools Error Console)
Thanks
Petr


Re: invisible dialog box text - OSX 10.6.2 Lyx 1.6.5

2010-01-05 Thread Mark Dransfield
Mark Dransfield mark@... writes:


OK, I have made the problem go away by renaming Lyx.app as Lyx_165.app! Found
by accident but I checked by renaming back to Lyx.app (dialog and menu
text went invisible) and then to Lyx_165.app again (text re-appeared)
and all now appears to work fine provided I keep this new name.

I hope this will help in uncovering and fixing the cause.

Mark




Multiple files for book

2010-01-05 Thread Stephen George


Hi,

I'm a new comer to Lyx, and reading some of the tute and skim reading 
topics of interest the rest.


I'm still left with a question. (hope I didn't miss it)

If creating a book with a couple hundred pages, do I put it all in one 
big lyx file, or do I split it across multiple files (say one file per 
chapter), and somehow pull each chapter into book with some sort of 
include command?


I know other programs would suggest the multiple document way so you 
don't have to scroll around a single massive file looking for the area 
you want to work on, however the navigator in Lyx would seem to mitigate 
that effect.


I just want to understand the Lyx way of structuring a large book.

I'm guessing if Lyx does support  files for each chapter, then the 
navigator would not 'span' the multiple files allowing jumping from 
chapter to chapter?


Also the book will have a large number of images, do you usually put 
them all in one directory or put them in some sort of hierarchical 
directory structure.


Any suggestions would be appreciated.

Thanks
Steve


Re: Multiple files for book

2010-01-05 Thread Vincent van Ravesteijn


I'm a new comer to Lyx, and reading some of the tute and skim reading 
topics of interest the rest.


I'm still left with a question. (hope I didn't miss it)

If creating a book with a couple hundred pages, do I put it all in one 
big lyx file, or do I split it across multiple files (say one file per 
chapter),


You can choose either way.

and somehow pull each chapter into book with some sort of include 
command?


Yes, you can insert a child via the menu Insert-File-Child Document.

I know other programs would suggest the multiple document way so you 
don't have to scroll around a single massive file looking for the area 
you want to work on, however the navigator in Lyx would seem to 
mitigate that effect.


I just want to understand the Lyx way of structuring a large book.

I'm guessing if Lyx does support  files for each chapter, then the 
navigator would not 'span' the multiple files allowing jumping from 
chapter to chapter?


It does span the multiple files, it computes the correct chapter numbers 
and so on..


Also the book will have a large number of images, do you usually put 
them all in one directory or put them in some sort of hierarchical 
directory structure.


Any suggestions would be appreciated.

Thanks
Steve


Vincent


Re: Multiple files for book

2010-01-05 Thread Petr Šimon

On 6.1.2010 10:08, Vincent van Ravesteijn wrote:


I'm a new comer to Lyx, and reading some of the tute and skim reading 
topics of interest the rest.


I'm still left with a question. (hope I didn't miss it)

If creating a book with a couple hundred pages, do I put it all in 
one big lyx file, or do I split it across multiple files (say one 
file per chapter),


You can choose either way.

and somehow pull each chapter into book with some sort of include 
command?


Yes, you can insert a child via the menu Insert-File-Child Document.

I know other programs would suggest the multiple document way so you 
don't have to scroll around a single massive file looking for the 
area you want to work on, however the navigator in Lyx would seem to 
mitigate that effect.


I just want to understand the Lyx way of structuring a large book.

I'm guessing if Lyx does support  files for each chapter, then the 
navigator would not 'span' the multiple files allowing jumping from 
chapter to chapter?


It does span the multiple files, it computes the correct chapter 
numbers and so on..


Also the book will have a large number of images, do you usually put 
them all in one directory or put them in some sort of hierarchical 
directory structure.


Any suggestions would be appreciated.

Thanks
Steve


Vincent

Have a look here: http://wiki.lyx.org/Examples/Thesis. Those are 
basically all books split into several files.

Petr


Re: Multiple files for book

2010-01-05 Thread Typhoon
On Wed, 06 Jan 2010 13:04:20 +1100
Stephen George steve_...@optusnet.com.au wrote:

 
 Hi,
 
 I'm a new comer to Lyx, and reading some of the tute and skim reading 
 topics of interest the rest.
 
 I'm still left with a question. (hope I didn't miss it)
 
 If creating a book with a couple hundred pages, do I put it all in
 one big lyx file, or do I split it across multiple files (say one
 file per chapter), and somehow pull each chapter into book with some
 sort of include command?
 
 I know other programs would suggest the multiple document way so you 
 don't have to scroll around a single massive file looking for the
 area you want to work on, however the navigator in Lyx would seem to
 mitigate that effect.
 
 I just want to understand the Lyx way of structuring a large book.
 
 I'm guessing if Lyx does support  files for each chapter, then the 
 navigator would not 'span' the multiple files allowing jumping from 
 chapter to chapter?
 
 Also the book will have a large number of images, do you usually put 
 them all in one directory or put them in some sort of hierarchical 
 directory structure.
 
 Any suggestions would be appreciated.
 
 Thanks
 Steve

Hello Steve,
As others have already said, it is really a matter of personal
preference. I have a 600+ legal texbook with lots of indexing and cross
references which I treat as a single file. On the other hand, I have
done smaller books with multiple files. In my view, there isn't a lot
to choose between the two.

I have always kept the images in a single file, but only one of my
books contains much in the way of images so I'm not much of an expert.

Whichever way you do it, you will love to write with LyX!

Cheers,
Alan

 


-- 
Alan L Tyreehttp://www2.austlii.edu.au/~alan
Tel:  04 2748 6206



Re: invisible dialog box text - OSX 10.6.2 Lyx 1.6.5

2010-01-05 Thread Sebastian Rockel

Am 06.01.2010 um 02:31 schrieb Mark Dransfield:


Mark Dransfield mark@... writes:


OK, I have made the problem go away by renaming Lyx.app as  
Lyx_165.app! Found


Thx Mark,

I had done this too without noticing that as reason for the problem  
disappearing;-)


Sebastian


by accident but I checked by renaming back to Lyx.app (dialog and menu
text went invisible) and then to Lyx_165.app again (text re-appeared)
and all now appears to work fine provided I keep this new name.

I hope this will help in uncovering and fixing the cause.

Mark






input preamble with biblatex?

2010-01-05 Thread Peter Baumgartner

I'm writing on a long document (book with various chapters) with LyX 1.6.5 on
OS X 10.5.8. After trying to prepare a master file with a preamble valid for
all files and to work on each file separately I noticed through different
posts on this forum that the command \includeonly does not work. At least
that was the discussion on an older lyx version but I assume that this is
still the case (independently that in the actual manual the \includeonly
command is still mentioned as it would function properly). Is this right?


So I tried to separate the preamble commands in a special file
preamble.tex and \input it into every file. But this didn't work. It
generated many errors, all of them - as far as I can see - related with my
bibliography. As I'm using biblatex with the module biblatex-citation-style
I assume that this is also the problem. Can anyone suggest how to proceed?

-- 
View this message in context: 
http://n2.nabble.com/input-preamble-with-biblatex-tp4254194p4254194.html
Sent from the LyX - Users mailing list archive at Nabble.com.


Re: input preamble with biblatex?

2010-01-05 Thread Pierfranco Minsenti
Hi,

I too have observed that the \includeonly command doesn't work and I would
be very interested in knowing if there is a way to use it in LyX.

For now, a very simple suggestion for Peter consists in compiling from the
master file but only after including in a LyX note the chapters he doesn't
want to compile:
1. highlight with the mouse the name of the file listed in the master file;
2. click on the LyX note icon in the command bar: the name of the file is
now included in a LyX note and will not be sent to pdflatex for compilation
3. etc. for every file not to be compiled. Only names of files that must be
compiled remain unchanged.

This always works perfectly.
pierfranco

2010/1/5 Peter Baumgartner peter.baumgart...@donau-uni.ac.at


 I'm writing on a long document (book with various chapters) with LyX 1.6.5
 on
 OS X 10.5.8. After trying to prepare a master file with a preamble valid
 for
 all files and to work on each file separately I noticed through different
 posts on this forum that the command \includeonly does not work. At least
 that was the discussion on an older lyx version but I assume that this is
 still the case (independently that in the actual manual the \includeonly
 command is still mentioned as it would function properly). Is this right?


 So I tried to separate the preamble commands in a special file
 preamble.tex and \input it into every file. But this didn't work. It
 generated many errors, all of them - as far as I can see - related with my
 bibliography. As I'm using biblatex with the module biblatex-citation-style
 I assume that this is also the problem. Can anyone suggest how to proceed?

 --
 View this message in context:
 http://n2.nabble.com/input-preamble-with-biblatex-tp4254194p4254194.html
 Sent from the LyX - Users mailing list archive at Nabble.com.



Re: input preamble with biblatex?

2010-01-05 Thread Jürgen Spitzmüller
Peter Baumgartner wrote:
 I'm writing on a long document (book with various chapters) with LyX 1.6.5
  on OS X 10.5.8. After trying to prepare a master file with a preamble
  valid for all files and to work on each file separately I noticed through
  different posts on this forum that the command \includeonly does not work.
  At least that was the discussion on an older lyx version but I assume that
  this is still the case (independently that in the actual manual the
  \includeonly command is still mentioned as it would function properly).
  Is this right?

Yes. It does not work since LyX uses specific filenames for the compilation of 
the document in the temporary directory.

 So I tried to separate the preamble commands in a special file
 preamble.tex and \input it into every file. But this didn't work. It
 generated many errors, all of them - as far as I can see - related with my
 bibliography. As I'm using biblatex with the module biblatex-citation-style
 I assume that this is also the problem. Can anyone suggest how to proceed?

It is supposed to work. Could you post an example file?

Jürgen


Re: input preamble with biblatex?

2010-01-05 Thread Peter Baumgartner

Pierfranco: Thanks for the tip, very helpful

Jürgen: Now it works! Problem was the filename preamble.tex :blush:

Two more related questions:
Is there a plan to solve the \includeonly problem?
If not: How to change this misleading paragraph in the manual?



-- 
View this message in context: 
http://n2.nabble.com/input-preamble-with-biblatex-tp4254194p4255012.html
Sent from the LyX - Users mailing list archive at Nabble.com.


Re: input preamble with biblatex?

2010-01-05 Thread Jürgen Spitzmüller
Peter Baumgartner wrote:
 Is there a plan to solve the \includeonly problem?

In the long run, yes (there's a ticket on trac about the issue).

The problem is: a proper includeonly support involves some work, since LyX 
will need to take care that the whole document is compiled at least once 
(and/or cache the aux files). 

 If not: How to change this misleading paragraph in the manual?

Post a message with CC: to lyx-docs with reference to the respective 
paragraph.

Jürgen


Re: Snippets Functionality

2010-01-05 Thread rgheck

On 12/31/2009 05:15 PM, Karl Winterling wrote:

Hi,

Does anyone know of a way to use Textmate-style snippets in LyX? It
would speed up entering complex math formulas.

   
I guess the answer is no, since no-one has posted anything. BUT: If 
you're really entering a lot of complex math formulas in such a way that 
these snippets would be helpful, then you should probably be defining a 
math macro, anyway. If that doesn't work in a particular case, then make 
a special LyX file that just holds the bits you want. Then copy and 
paste out of that.


rh



Re: calender

2010-01-05 Thread Daniel Lohmann


On 29.12.2009, at 19:55, Paul Sutton wrote:


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Daniel Lohmann wrote:


The PGF/TikZ package contains a quite decent calendar library. Within
LyX you have to use ERT as it is a LaTeX package, but its relatively
easy to use.

Daniel

Ok thanks

I have found http://www.texample.net/tikz/examples/ to give a few good
examples,  i have pgf installed but do I need to install TikZ as a
separate package, under ubuntu ?

or are they one package.


Hm... usually they are shipped as one package. However, historically  
PGF was first and previous versions of PGF were also shipped with  
latex-beamer (by the same author), so I am not completely sure.


Will have a read of the tutorial and information files.

TikZ comes with an impressive amount of documentation and examples;  
there are several calendar examples in  pgfmanual.pdf.


Daniel


Re: getting the spell check to work on Windows Vista

2010-01-05 Thread Uwe Stöhr

R M schrieb:


I have Vista.
When I click on English on http://wiki.lyx.org/Windows/Aspell6
I told it to install the dictionary in
C:\ProgramData\Aspell\Dictionaries

Is this the right place?


On Win XP the location is
C:\Documents and Settings\username\Application Data\Aspell

Use the according location on Vista.

Note that installing Aspell dictionaries only works when you already 
installed the main Aspell programm.



The error message is
The spellchecker could not be started
No word lists can be found for the language en_US.


it seems that Aspell was not correctly installed. The easiest way to 
repair your installation, is to

- uninstall LyX _completely_
- uninstall all Aspell dictionaries
- uninstall Aspell if it is still installed
- reinstall LyX using the small version of the alternative LyX for 
Windows installer:

http://wiki.lyx.org/Windows/LyXWinInstaller

regards Uwe


Re: rotated multirow cells with line wrapping

2010-01-05 Thread Uwe Stöhr

James C. Sutherland schrieb:


I would like to create a table that has a multirow cell in it.  However, I need 
to wrap the text and orient it vertically (rotated 90 degrees).

I have attached a LyX file and its associated PDF output for an example of what 
I am trying to do.  I cannot get the text to wrap properly.


I fear that this is not possible. I propose to layout the table in 
another program, e.g. with Scribus. Export the table as PDF image and 
then use this image in your LyX file.


regards Uwe


Re: LyZ: Lyx plugin for Zotero

2010-01-05 Thread Peter Baumgartner
Hi Petr,

 I have (probably) finished the plugin, i.e. at least as far as new 
 functionality goes.

Sounds great! I was always looking to prevent this extra export of data into a
.bib file from zotero.

But I have some problems:
1. The plugin does not export special characters like German umlaute correctly.
2. Deleting and renaming of bib and lyx-record does not work for me. 

I'm working with a Mac. Maybe this explains the problems? 

Peter



 The plugin is now able to synchronize any changes to BibTex keys, 
 including complete change of format, LyX document is updated 
 accordingly. This is useful when the reference is incorrectly collected 
 in Zotero and inserted as such into LyX. Probably not something that 
 would happen that often, but since it was quite straightforward to 
 implement...
 https://addons.mozilla.org/en-US/firefox/addon/56806
 Best
 Petr
 
 






Re: LyZ: Lyx plugin for Zotero

2010-01-05 Thread Petr Šimon

On 6.1.2010 6:30, Peter Baumgartner wrote:

Hi Petr,

   

I have (probably) finished the plugin, i.e. at least as far as new
functionality goes.
 

Sounds great! I was always looking to prevent this extra export of data into a
.bib file from zotero.

But I have some problems:
1. The plugin does not export special characters like German umlaute correctly.
2. Deleting and renaming of bib and lyx-record does not work for me.

I'm working with a Mac. Maybe this explains the problems?

Peter
   

Hi Peter,
I try to fix these if you could send me
1. the references exported to bibtex (either from Lyz or Zotero). I 
tried with some German, but probably I am missed some characters

2. any error in the error console (Firefox menu Tools Error Console)
Thanks
Petr


Re: invisible dialog box text - OSX 10.6.2 Lyx 1.6.5

2010-01-05 Thread Mark Dransfield
Mark Dransfield mark@... writes:


OK, I have made the problem go away by renaming Lyx.app as Lyx_165.app! Found
by accident but I checked by renaming back to Lyx.app (dialog and menu
text went invisible) and then to Lyx_165.app again (text re-appeared)
and all now appears to work fine provided I keep this new name.

I hope this will help in uncovering and fixing the cause.

Mark




Multiple files for book

2010-01-05 Thread Stephen George


Hi,

I'm a new comer to Lyx, and reading some of the tute and skim reading 
topics of interest the rest.


I'm still left with a question. (hope I didn't miss it)

If creating a book with a couple hundred pages, do I put it all in one 
big lyx file, or do I split it across multiple files (say one file per 
chapter), and somehow pull each chapter into book with some sort of 
include command?


I know other programs would suggest the multiple document way so you 
don't have to scroll around a single massive file looking for the area 
you want to work on, however the navigator in Lyx would seem to mitigate 
that effect.


I just want to understand the Lyx way of structuring a large book.

I'm guessing if Lyx does support  files for each chapter, then the 
navigator would not 'span' the multiple files allowing jumping from 
chapter to chapter?


Also the book will have a large number of images, do you usually put 
them all in one directory or put them in some sort of hierarchical 
directory structure.


Any suggestions would be appreciated.

Thanks
Steve


Re: Multiple files for book

2010-01-05 Thread Vincent van Ravesteijn


I'm a new comer to Lyx, and reading some of the tute and skim reading 
topics of interest the rest.


I'm still left with a question. (hope I didn't miss it)

If creating a book with a couple hundred pages, do I put it all in one 
big lyx file, or do I split it across multiple files (say one file per 
chapter),


You can choose either way.

and somehow pull each chapter into book with some sort of include 
command?


Yes, you can insert a child via the menu Insert-File-Child Document.

I know other programs would suggest the multiple document way so you 
don't have to scroll around a single massive file looking for the area 
you want to work on, however the navigator in Lyx would seem to 
mitigate that effect.


I just want to understand the Lyx way of structuring a large book.

I'm guessing if Lyx does support  files for each chapter, then the 
navigator would not 'span' the multiple files allowing jumping from 
chapter to chapter?


It does span the multiple files, it computes the correct chapter numbers 
and so on..


Also the book will have a large number of images, do you usually put 
them all in one directory or put them in some sort of hierarchical 
directory structure.


Any suggestions would be appreciated.

Thanks
Steve


Vincent


Re: Multiple files for book

2010-01-05 Thread Petr Šimon

On 6.1.2010 10:08, Vincent van Ravesteijn wrote:


I'm a new comer to Lyx, and reading some of the tute and skim reading 
topics of interest the rest.


I'm still left with a question. (hope I didn't miss it)

If creating a book with a couple hundred pages, do I put it all in 
one big lyx file, or do I split it across multiple files (say one 
file per chapter),


You can choose either way.

and somehow pull each chapter into book with some sort of include 
command?


Yes, you can insert a child via the menu Insert-File-Child Document.

I know other programs would suggest the multiple document way so you 
don't have to scroll around a single massive file looking for the 
area you want to work on, however the navigator in Lyx would seem to 
mitigate that effect.


I just want to understand the Lyx way of structuring a large book.

I'm guessing if Lyx does support  files for each chapter, then the 
navigator would not 'span' the multiple files allowing jumping from 
chapter to chapter?


It does span the multiple files, it computes the correct chapter 
numbers and so on..


Also the book will have a large number of images, do you usually put 
them all in one directory or put them in some sort of hierarchical 
directory structure.


Any suggestions would be appreciated.

Thanks
Steve


Vincent

Have a look here: http://wiki.lyx.org/Examples/Thesis. Those are 
basically all books split into several files.

Petr


Re: Multiple files for book

2010-01-05 Thread Typhoon
On Wed, 06 Jan 2010 13:04:20 +1100
Stephen George steve_...@optusnet.com.au wrote:

 
 Hi,
 
 I'm a new comer to Lyx, and reading some of the tute and skim reading 
 topics of interest the rest.
 
 I'm still left with a question. (hope I didn't miss it)
 
 If creating a book with a couple hundred pages, do I put it all in
 one big lyx file, or do I split it across multiple files (say one
 file per chapter), and somehow pull each chapter into book with some
 sort of include command?
 
 I know other programs would suggest the multiple document way so you 
 don't have to scroll around a single massive file looking for the
 area you want to work on, however the navigator in Lyx would seem to
 mitigate that effect.
 
 I just want to understand the Lyx way of structuring a large book.
 
 I'm guessing if Lyx does support  files for each chapter, then the 
 navigator would not 'span' the multiple files allowing jumping from 
 chapter to chapter?
 
 Also the book will have a large number of images, do you usually put 
 them all in one directory or put them in some sort of hierarchical 
 directory structure.
 
 Any suggestions would be appreciated.
 
 Thanks
 Steve

Hello Steve,
As others have already said, it is really a matter of personal
preference. I have a 600+ legal texbook with lots of indexing and cross
references which I treat as a single file. On the other hand, I have
done smaller books with multiple files. In my view, there isn't a lot
to choose between the two.

I have always kept the images in a single file, but only one of my
books contains much in the way of images so I'm not much of an expert.

Whichever way you do it, you will love to write with LyX!

Cheers,
Alan

 


-- 
Alan L Tyreehttp://www2.austlii.edu.au/~alan
Tel:  04 2748 6206



Re: invisible dialog box text - OSX 10.6.2 Lyx 1.6.5

2010-01-05 Thread Sebastian Rockel

Am 06.01.2010 um 02:31 schrieb Mark Dransfield:


Mark Dransfield mark@... writes:


OK, I have made the problem go away by renaming Lyx.app as  
Lyx_165.app! Found


Thx Mark,

I had done this too without noticing that as reason for the problem  
disappearing;-)


Sebastian


by accident but I checked by renaming back to Lyx.app (dialog and menu
text went invisible) and then to Lyx_165.app again (text re-appeared)
and all now appears to work fine provided I keep this new name.

I hope this will help in uncovering and fixing the cause.

Mark






input preamble with biblatex?

2010-01-05 Thread Peter Baumgartner

I'm writing on a long document (book with various chapters) with LyX 1.6.5 on
OS X 10.5.8. After trying to prepare a master file with a preamble valid for
all files and to work on each file separately I noticed through different
posts on this forum that the command \includeonly does not work. At least
that was the discussion on an older lyx version but I assume that this is
still the case (independently that in the actual manual the "\includeonly"
command is still mentioned as it would function properly). Is this right?


So I tried to separate the preamble commands in a special file
"preamble.tex" and \input it into every file. But this didn't work. It
generated many errors, all of them - as far as I can see - related with my
bibliography. As I'm using biblatex with the module biblatex-citation-style
I assume that this is also the problem. Can anyone suggest how to proceed?

-- 
View this message in context: 
http://n2.nabble.com/input-preamble-with-biblatex-tp4254194p4254194.html
Sent from the LyX - Users mailing list archive at Nabble.com.


Re: input preamble with biblatex?

2010-01-05 Thread Pierfranco Minsenti
Hi,

I too have observed that the \includeonly command doesn't work and I would
be very interested in knowing if there is a way to use it in LyX.

For now, a very simple suggestion for Peter consists in compiling from the
master file but only after including in a LyX note the chapters he doesn't
want to compile:
1. highlight with the mouse the name of the file listed in the master file;
2. click on the LyX note icon in the command bar: the name of the file is
now included in a LyX note and will not be sent to pdflatex for compilation
3. etc. for every file not to be compiled. Only names of files that must be
compiled remain unchanged.

This always works perfectly.
pierfranco

2010/1/5 Peter Baumgartner 

>
> I'm writing on a long document (book with various chapters) with LyX 1.6.5
> on
> OS X 10.5.8. After trying to prepare a master file with a preamble valid
> for
> all files and to work on each file separately I noticed through different
> posts on this forum that the command \includeonly does not work. At least
> that was the discussion on an older lyx version but I assume that this is
> still the case (independently that in the actual manual the "\includeonly"
> command is still mentioned as it would function properly). Is this right?
>
>
> So I tried to separate the preamble commands in a special file
> "preamble.tex" and \input it into every file. But this didn't work. It
> generated many errors, all of them - as far as I can see - related with my
> bibliography. As I'm using biblatex with the module biblatex-citation-style
> I assume that this is also the problem. Can anyone suggest how to proceed?
>
> --
> View this message in context:
> http://n2.nabble.com/input-preamble-with-biblatex-tp4254194p4254194.html
> Sent from the LyX - Users mailing list archive at Nabble.com.
>


Re: input preamble with biblatex?

2010-01-05 Thread Jürgen Spitzmüller
Peter Baumgartner wrote:
> I'm writing on a long document (book with various chapters) with LyX 1.6.5
>  on OS X 10.5.8. After trying to prepare a master file with a preamble
>  valid for all files and to work on each file separately I noticed through
>  different posts on this forum that the command \includeonly does not work.
>  At least that was the discussion on an older lyx version but I assume that
>  this is still the case (independently that in the actual manual the
>  "\includeonly" command is still mentioned as it would function properly).
>  Is this right?

Yes. It does not work since LyX uses specific filenames for the compilation of 
the document in the temporary directory.

> So I tried to separate the preamble commands in a special file
> "preamble.tex" and \input it into every file. But this didn't work. It
> generated many errors, all of them - as far as I can see - related with my
> bibliography. As I'm using biblatex with the module biblatex-citation-style
> I assume that this is also the problem. Can anyone suggest how to proceed?

It is supposed to work. Could you post an example file?

Jürgen


Re: input preamble with biblatex?

2010-01-05 Thread Peter Baumgartner

Pierfranco: Thanks for the tip, very helpful

Jürgen: Now it works! Problem was the filename "preamble.tex" :blush:

Two more related questions:
Is there a plan to solve the \includeonly problem?
If not: How to change this misleading paragraph in the manual?



-- 
View this message in context: 
http://n2.nabble.com/input-preamble-with-biblatex-tp4254194p4255012.html
Sent from the LyX - Users mailing list archive at Nabble.com.


Re: input preamble with biblatex?

2010-01-05 Thread Jürgen Spitzmüller
Peter Baumgartner wrote:
> Is there a plan to solve the \includeonly problem?

In the long run, yes (there's a ticket on trac about the issue).

The problem is: a proper includeonly support involves some work, since LyX 
will need to take care that the whole document is compiled at least once 
(and/or cache the aux files). 

> If not: How to change this misleading paragraph in the manual?

Post a message with CC: to lyx-docs with reference to the respective 
paragraph.

Jürgen


Re: Snippets Functionality

2010-01-05 Thread rgheck

On 12/31/2009 05:15 PM, Karl Winterling wrote:

Hi,

Does anyone know of a way to use Textmate-style snippets in LyX? It
would speed up entering complex math formulas.

   
I guess the answer is "no", since no-one has posted anything. BUT: If 
you're really entering a lot of complex math formulas in such a way that 
these snippets would be helpful, then you should probably be defining a 
math macro, anyway. If that doesn't work in a particular case, then make 
a special LyX file that just holds the bits you want. Then copy and 
paste out of that.


rh



Re: calender

2010-01-05 Thread Daniel Lohmann


On 29.12.2009, at 19:55, Paul Sutton wrote:


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Daniel Lohmann wrote:


The PGF/TikZ package contains a quite decent calendar library. Within
LyX you have to use ERT as it is a LaTeX package, but its relatively
easy to use.

Daniel

Ok thanks

I have found http://www.texample.net/tikz/examples/ to give a few good
examples,  i have pgf installed but do I need to install TikZ as a
separate package, under ubuntu ?

or are they one package.


Hm... usually they are shipped as one package. However, historically  
PGF was first and previous versions of PGF were also shipped with  
latex-beamer (by the same author), so I am not completely sure.


Will have a read of the tutorial and information files.

TikZ comes with an impressive amount of documentation and examples;  
there are several calendar examples in  pgfmanual.pdf.


Daniel


Re: getting the spell check to work on Windows Vista

2010-01-05 Thread Uwe Stöhr

R M schrieb:


I have Vista.
When I click on English on http://wiki.lyx.org/Windows/Aspell6
I told it to install the dictionary in
C:\ProgramData\Aspell\Dictionaries

Is this the right place?


On Win XP the location is
C:\Documents and Settings\\Application Data\Aspell

Use the according location on Vista.

Note that installing Aspell dictionaries only works when you already 
installed the main Aspell programm.



The error message is
The spellchecker could not be started
No word lists can be found for the language "en_US".


it seems that Aspell was not correctly installed. The easiest way to 
repair your installation, is to

- uninstall LyX _completely_
- uninstall all Aspell dictionaries
- uninstall Aspell if it is still installed
- reinstall LyX using the small version of the alternative LyX for 
Windows installer:

http://wiki.lyx.org/Windows/LyXWinInstaller

regards Uwe


Re: rotated multirow cells with line wrapping

2010-01-05 Thread Uwe Stöhr

James C. Sutherland schrieb:


I would like to create a table that has a multirow cell in it.  However, I need 
to wrap the text and orient it vertically (rotated 90 degrees).

I have attached a LyX file and its associated PDF output for an example of what 
I am trying to do.  I cannot get the text to wrap properly.


I fear that this is not possible. I propose to layout the table in 
another program, e.g. with Scribus. Export the table as PDF image and 
then use this image in your LyX file.


regards Uwe


Re: LyZ: Lyx plugin for Zotero

2010-01-05 Thread Peter Baumgartner
Hi Petr,

> I have (probably) finished the plugin, i.e. at least as far as new 
> functionality goes.

Sounds great! I was always looking to prevent this extra export of data into a
.bib file from zotero.

But I have some problems:
1. The plugin does not export special characters like German umlaute correctly.
2. Deleting and renaming of bib and lyx-record does not work for me. 

I'm working with a Mac. Maybe this explains the problems? 

Peter



> The plugin is now able to synchronize any changes to BibTex keys, 
> including complete change of format, LyX document is updated 
> accordingly. This is useful when the reference is incorrectly collected 
> in Zotero and inserted as such into LyX. Probably not something that 
> would happen that often, but since it was quite straightforward to 
> implement...
> https://addons.mozilla.org/en-US/firefox/addon/56806
> Best
> Petr
> 
> 






Re: LyZ: Lyx plugin for Zotero

2010-01-05 Thread Petr Šimon

On 6.1.2010 6:30, Peter Baumgartner wrote:

Hi Petr,

   

I have (probably) finished the plugin, i.e. at least as far as new
functionality goes.
 

Sounds great! I was always looking to prevent this extra export of data into a
.bib file from zotero.

But I have some problems:
1. The plugin does not export special characters like German umlaute correctly.
2. Deleting and renaming of bib and lyx-record does not work for me.

I'm working with a Mac. Maybe this explains the problems?

Peter
   

Hi Peter,
I try to fix these if you could send me
1. the references exported to bibtex (either from Lyz or Zotero). I 
tried with some German, but probably I am missed some characters

2. any error in the error console (Firefox menu Tools> Error Console)
Thanks
Petr


Re: invisible dialog box text - OSX 10.6.2 Lyx 1.6.5

2010-01-05 Thread Mark Dransfield
Mark Dransfield  writes:


OK, I have made the problem go away by renaming Lyx.app as Lyx_165.app! Found
by accident but I checked by renaming back to Lyx.app (dialog and menu
text went invisible) and then to Lyx_165.app again (text re-appeared)
and all now appears to work fine provided I keep this new name.

I hope this will help in uncovering and fixing the cause.

Mark




Multiple files for book

2010-01-05 Thread Stephen George


Hi,

I'm a new comer to Lyx, and reading some of the tute and skim reading 
topics of interest the rest.


I'm still left with a question. (hope I didn't miss it)

If creating a book with a couple hundred pages, do I put it all in one 
big lyx file, or do I split it across multiple files (say one file per 
chapter), and somehow pull each chapter into book with some sort of 
include command?


I know other programs would suggest the multiple document way so you 
don't have to scroll around a single massive file looking for the area 
you want to work on, however the navigator in Lyx would seem to mitigate 
that effect.


I just want to understand the Lyx way of structuring a large book.

I'm guessing if Lyx does support  files for each chapter, then the 
navigator would not 'span' the multiple files allowing jumping from 
chapter to chapter?


Also the book will have a large number of images, do you usually put 
them all in one directory or put them in some sort of hierarchical 
directory structure.


Any suggestions would be appreciated.

Thanks
Steve


Re: Multiple files for book

2010-01-05 Thread Vincent van Ravesteijn


I'm a new comer to Lyx, and reading some of the tute and skim reading 
topics of interest the rest.


I'm still left with a question. (hope I didn't miss it)

If creating a book with a couple hundred pages, do I put it all in one 
big lyx file, or do I split it across multiple files (say one file per 
chapter),


You can choose either way.

and somehow pull each chapter into book with some sort of include 
command?


Yes, you can insert a child via the menu "Insert->File->Child Document".

I know other programs would suggest the multiple document way so you 
don't have to scroll around a single massive file looking for the area 
you want to work on, however the navigator in Lyx would seem to 
mitigate that effect.


I just want to understand the Lyx way of structuring a large book.

I'm guessing if Lyx does support  files for each chapter, then the 
navigator would not 'span' the multiple files allowing jumping from 
chapter to chapter?


It does span the multiple files, it computes the correct chapter numbers 
and so on..


Also the book will have a large number of images, do you usually put 
them all in one directory or put them in some sort of hierarchical 
directory structure.


Any suggestions would be appreciated.

Thanks
Steve


Vincent


Re: Multiple files for book

2010-01-05 Thread Petr Šimon

On 6.1.2010 10:08, Vincent van Ravesteijn wrote:


I'm a new comer to Lyx, and reading some of the tute and skim reading 
topics of interest the rest.


I'm still left with a question. (hope I didn't miss it)

If creating a book with a couple hundred pages, do I put it all in 
one big lyx file, or do I split it across multiple files (say one 
file per chapter),


You can choose either way.

and somehow pull each chapter into book with some sort of include 
command?


Yes, you can insert a child via the menu "Insert->File->Child Document".

I know other programs would suggest the multiple document way so you 
don't have to scroll around a single massive file looking for the 
area you want to work on, however the navigator in Lyx would seem to 
mitigate that effect.


I just want to understand the Lyx way of structuring a large book.

I'm guessing if Lyx does support  files for each chapter, then the 
navigator would not 'span' the multiple files allowing jumping from 
chapter to chapter?


It does span the multiple files, it computes the correct chapter 
numbers and so on..


Also the book will have a large number of images, do you usually put 
them all in one directory or put them in some sort of hierarchical 
directory structure.


Any suggestions would be appreciated.

Thanks
Steve


Vincent

Have a look here: http://wiki.lyx.org/Examples/Thesis. Those are 
basically all books split into several files.

Petr


Re: Multiple files for book

2010-01-05 Thread Typhoon
On Wed, 06 Jan 2010 13:04:20 +1100
Stephen George  wrote:

> 
> Hi,
> 
> I'm a new comer to Lyx, and reading some of the tute and skim reading 
> topics of interest the rest.
> 
> I'm still left with a question. (hope I didn't miss it)
> 
> If creating a book with a couple hundred pages, do I put it all in
> one big lyx file, or do I split it across multiple files (say one
> file per chapter), and somehow pull each chapter into book with some
> sort of include command?
> 
> I know other programs would suggest the multiple document way so you 
> don't have to scroll around a single massive file looking for the
> area you want to work on, however the navigator in Lyx would seem to
> mitigate that effect.
> 
> I just want to understand the Lyx way of structuring a large book.
> 
> I'm guessing if Lyx does support  files for each chapter, then the 
> navigator would not 'span' the multiple files allowing jumping from 
> chapter to chapter?
> 
> Also the book will have a large number of images, do you usually put 
> them all in one directory or put them in some sort of hierarchical 
> directory structure.
> 
> Any suggestions would be appreciated.
> 
> Thanks
> Steve

Hello Steve,
As others have already said, it is really a matter of personal
preference. I have a 600+ legal texbook with lots of indexing and cross
references which I treat as a single file. On the other hand, I have
done smaller books with multiple files. In my view, there isn't a lot
to choose between the two.

I have always kept the images in a single file, but only one of my
books contains much in the way of images so I'm not much of an expert.

Whichever way you do it, you will love to write with LyX!

Cheers,
Alan

> 


-- 
Alan L Tyreehttp://www2.austlii.edu.au/~alan
Tel:  04 2748 6206



Re: invisible dialog box text - OSX 10.6.2 Lyx 1.6.5

2010-01-05 Thread Sebastian Rockel

Am 06.01.2010 um 02:31 schrieb Mark Dransfield:


Mark Dransfield  writes:


OK, I have made the problem go away by renaming Lyx.app as  
Lyx_165.app! Found


Thx Mark,

I had done this too without noticing that as reason for the problem  
disappearing;-)


Sebastian


by accident but I checked by renaming back to Lyx.app (dialog and menu
text went invisible) and then to Lyx_165.app again (text re-appeared)
and all now appears to work fine provided I keep this new name.

I hope this will help in uncovering and fixing the cause.

Mark