Re: Index not printed

2011-10-08 Thread Jürgen Spitzmüller
Hubert Christiaen wrote:
 I ran the texindy command on the .idx file in a command window.
  texindy -o Klassieke_Mechanica.ind  -v -t Klassiek_mechanica.ilg
 Klassieke_Mechanica.idx
 
 
 The result was this error, after msgs of loading modules:
 
 Reading raw-index /tmp/rSPDa36K9q...
 ERROR: CHAR: index 0 must be smaller than the length of the string

The cause are index entries which are empty or have an empty level. You have 
several of these which are completely empty:

\indexentry{|hyperpage}{230}
\indexentry{|hyperpage}{223}

And then, there is this one with an empty first level:

\indexentry{!afgeleid uit hoogte van terugbots|hyperpage}{226}

Removing them from the *.idx file solves the problem for me.

HTH,
Jürgen






Re: Problem Outputting Particular TIFF File

2011-10-08 Thread Paul A. Rubin



On 10/07/2011 05:48 PM, Jane Shevtsov wrote:
I did as you suggested (installed IM version 6.7.2-10-Q16-windows-dll, 
which is the one they recommend if you're not sure which to get, made 
sure it was on the path, and reconfigured LyX) and am still getting 
the same error message. How do you specify a converter?
Go to Tools  Preferences ...  File Handling  Converters, select TIFF 
as the From format and PNG (or whatever you like) as the To format, 
fill in the command in the Converter entry, then click Add followed by 
Save.  I'm not sure what you'll need for the converter command; try 
convert $$i png:$$o as a first stab.


You should not need to do this, though.  LyX uses a Python script to 
handle graphics conversions where no special converter is defined, and 
since some of your TIFF files convert correctly, the converter script 
itself is working.  Have you tried converting one of the problem TIFFs 
to PNG at a command prompt using the newly installed version of IM?  
Does it convert correctly?  If so, try putting the path to the IM 
convert program in Tools  Preferences ...  Paths  PATH Prefix (then 
save and restart LyX) to ensure that LyX is using the full version.


Paul



Re: Classic Thesis Bibliography in child document

2011-10-08 Thread PhilipPirrip



II got the same problem. I tried to include the Bibtex Bib in each
single Chapter but the references appear only if I compile the Chapter
alone and never when I try with the ClassicThesis.lyx


I'm not sure here what it is that you want? A separate bibliography for 
each chapter?
Do you get the bibliography right when you compile the original 
template, without any modifications?







Re: Classic Thesis Bibliography in child document

2011-10-08 Thread PhilipPirrip

On 10/07/2011 06:59 PM, Julien Rioux wrote:

I think LyX 2.0 has a new feature which does what you want. Compile the
master doc with onclude only selected children



Julien, can you please tell what happens in the background (i.e. in 
LaTeX) when one does Update master document after only one of its 
parts (chapters) has been changed?
Does it cost much more time to update master document than just to 
compile that chapter?


Then, what's the difference between update master document and view 
master document, from the LaTeX side?




Re: XeTeX - Load packages before fontspec

2011-10-08 Thread PhilipPirrip

On 10/07/2011 08:17 AM, Guenter Milde wrote:

  Custom LaTeX code before LyX-generated preamble:  
   +-+
   | \usepackage[put]{mathdesign}   |
   ||
   +-+



May I object! ;)
Please always consider calling \usepackage in two parts, especially in 
LyX generated code:


\PassOptionsToPackage{put}{mathdesign}
\usepackage{mathdesign}



to allow for the possibility of adding more options to the packages 
called. (calling \usepackage with options twice isn't allowed)




Custom LaTeX code before LyX-generated preamble:
  +-+
  | \PassOptionsToPackage{some_other_option}{mathdesign}|
  | |
  +-+

LyX-generated preamble:
 +-+
  | \PassOptionsToPackage{}{mathdesign} |
  | \usepackage{mathdesign} |
  +-+


Custom LaTeX code after LyX-generated preamble:
  +-+
  | \input{mypreamble}  |
  | |
  | |
  +-+









Re: Problem Outputting Particular TIFF File

2011-10-08 Thread Charlie
 On Sat, 08 Oct 2011 10:00:48 -0400 Paul A. Rubin ru...@msu.edu
 suggested this:



On 10/07/2011 05:48 PM, Jane Shevtsov wrote:
 I did as you suggested (installed IM version
 6.7.2-10-Q16-windows-dll, which is the one they recommend if you're
 not sure which to get, made sure it was on the path, and
 reconfigured LyX) and am still getting the same error message. How
 do you specify a converter?
Go to Tools  Preferences ...  File Handling  Converters, select
TIFF as the From format and PNG (or whatever you like) as the To
format, fill in the command in the Converter entry, then click Add
followed by Save.  I'm not sure what you'll need for the converter
command; try convert $$i png:$$o as a first stab.

You should not need to do this, though.  LyX uses a Python script to 
handle graphics conversions where no special converter is defined, and 
since some of your TIFF files convert correctly, the converter script 
itself is working.  Have you tried converting one of the problem TIFFs 
to PNG at a command prompt using the newly installed version of IM?  
Does it convert correctly?  If so, try putting the path to the IM 
convert program in Tools  Preferences ...  Paths  PATH Prefix (then 
save and restart LyX) to ensure that LyX is using the full version.

Paul


Have you tried renaming it with the .tif extension. There are some
programs that don't like the double ff. Just a thought.

I have no problem using tif graphics in Lyx.

Maybe worth a try. Otherwise sorry for the noise.
Charlie
-- 
Registered Linux User:- 329524
***

At the same time that we are earnest to explore and learn all things,
we require that all things be mysterious and unexplorable, that land
and sea be infinitely wild, unsurveyed and unfathomed by us because
unfathomable. Henry David Thoreau

***

Debian GNU/Linux - just the best way to create magic

-


Re: Index not printed

2011-10-08 Thread Jürgen Spitzmüller
Hubert Christiaen wrote:
 I ran the texindy command on the .idx file in a command window.
  texindy -o Klassieke_Mechanica.ind  -v -t Klassiek_mechanica.ilg
 Klassieke_Mechanica.idx
 
 
 The result was this error, after msgs of loading modules:
 
 Reading raw-index /tmp/rSPDa36K9q...
 ERROR: CHAR: index 0 must be smaller than the length of the string

The cause are index entries which are empty or have an empty level. You have 
several of these which are completely empty:

\indexentry{|hyperpage}{230}
\indexentry{|hyperpage}{223}

And then, there is this one with an empty first level:

\indexentry{!afgeleid uit hoogte van terugbots|hyperpage}{226}

Removing them from the *.idx file solves the problem for me.

HTH,
Jürgen






Re: Problem Outputting Particular TIFF File

2011-10-08 Thread Paul A. Rubin



On 10/07/2011 05:48 PM, Jane Shevtsov wrote:
I did as you suggested (installed IM version 6.7.2-10-Q16-windows-dll, 
which is the one they recommend if you're not sure which to get, made 
sure it was on the path, and reconfigured LyX) and am still getting 
the same error message. How do you specify a converter?
Go to Tools  Preferences ...  File Handling  Converters, select TIFF 
as the From format and PNG (or whatever you like) as the To format, 
fill in the command in the Converter entry, then click Add followed by 
Save.  I'm not sure what you'll need for the converter command; try 
convert $$i png:$$o as a first stab.


You should not need to do this, though.  LyX uses a Python script to 
handle graphics conversions where no special converter is defined, and 
since some of your TIFF files convert correctly, the converter script 
itself is working.  Have you tried converting one of the problem TIFFs 
to PNG at a command prompt using the newly installed version of IM?  
Does it convert correctly?  If so, try putting the path to the IM 
convert program in Tools  Preferences ...  Paths  PATH Prefix (then 
save and restart LyX) to ensure that LyX is using the full version.


Paul



Re: Classic Thesis Bibliography in child document

2011-10-08 Thread PhilipPirrip



II got the same problem. I tried to include the Bibtex Bib in each
single Chapter but the references appear only if I compile the Chapter
alone and never when I try with the ClassicThesis.lyx


I'm not sure here what it is that you want? A separate bibliography for 
each chapter?
Do you get the bibliography right when you compile the original 
template, without any modifications?







Re: Classic Thesis Bibliography in child document

2011-10-08 Thread PhilipPirrip

On 10/07/2011 06:59 PM, Julien Rioux wrote:

I think LyX 2.0 has a new feature which does what you want. Compile the
master doc with onclude only selected children



Julien, can you please tell what happens in the background (i.e. in 
LaTeX) when one does Update master document after only one of its 
parts (chapters) has been changed?
Does it cost much more time to update master document than just to 
compile that chapter?


Then, what's the difference between update master document and view 
master document, from the LaTeX side?




Re: XeTeX - Load packages before fontspec

2011-10-08 Thread PhilipPirrip

On 10/07/2011 08:17 AM, Guenter Milde wrote:

  Custom LaTeX code before LyX-generated preamble:  
   +-+
   | \usepackage[put]{mathdesign}   |
   ||
   +-+



May I object! ;)
Please always consider calling \usepackage in two parts, especially in 
LyX generated code:


\PassOptionsToPackage{put}{mathdesign}
\usepackage{mathdesign}



to allow for the possibility of adding more options to the packages 
called. (calling \usepackage with options twice isn't allowed)




Custom LaTeX code before LyX-generated preamble:
  +-+
  | \PassOptionsToPackage{some_other_option}{mathdesign}|
  | |
  +-+

LyX-generated preamble:
 +-+
  | \PassOptionsToPackage{}{mathdesign} |
  | \usepackage{mathdesign} |
  +-+


Custom LaTeX code after LyX-generated preamble:
  +-+
  | \input{mypreamble}  |
  | |
  | |
  +-+









Re: Problem Outputting Particular TIFF File

2011-10-08 Thread Charlie
 On Sat, 08 Oct 2011 10:00:48 -0400 Paul A. Rubin ru...@msu.edu
 suggested this:



On 10/07/2011 05:48 PM, Jane Shevtsov wrote:
 I did as you suggested (installed IM version
 6.7.2-10-Q16-windows-dll, which is the one they recommend if you're
 not sure which to get, made sure it was on the path, and
 reconfigured LyX) and am still getting the same error message. How
 do you specify a converter?
Go to Tools  Preferences ...  File Handling  Converters, select
TIFF as the From format and PNG (or whatever you like) as the To
format, fill in the command in the Converter entry, then click Add
followed by Save.  I'm not sure what you'll need for the converter
command; try convert $$i png:$$o as a first stab.

You should not need to do this, though.  LyX uses a Python script to 
handle graphics conversions where no special converter is defined, and 
since some of your TIFF files convert correctly, the converter script 
itself is working.  Have you tried converting one of the problem TIFFs 
to PNG at a command prompt using the newly installed version of IM?  
Does it convert correctly?  If so, try putting the path to the IM 
convert program in Tools  Preferences ...  Paths  PATH Prefix (then 
save and restart LyX) to ensure that LyX is using the full version.

Paul


Have you tried renaming it with the .tif extension. There are some
programs that don't like the double ff. Just a thought.

I have no problem using tif graphics in Lyx.

Maybe worth a try. Otherwise sorry for the noise.
Charlie
-- 
Registered Linux User:- 329524
***

At the same time that we are earnest to explore and learn all things,
we require that all things be mysterious and unexplorable, that land
and sea be infinitely wild, unsurveyed and unfathomed by us because
unfathomable. Henry David Thoreau

***

Debian GNU/Linux - just the best way to create magic

-


Re: Index not printed

2011-10-08 Thread Jürgen Spitzmüller
Hubert Christiaen wrote:
> I ran the texindy command on the .idx file in a command window.
>  texindy -o Klassieke_Mechanica.ind  -v -t Klassiek_mechanica.ilg
> Klassieke_Mechanica.idx
> 
> 
> The result was this error, after msgs of loading modules:
> 
> Reading raw-index "/tmp/rSPDa36K9q"...
> ERROR: CHAR: index 0 must be smaller than the length of the string

The cause are index entries which are empty or have an empty level. You have 
several of these which are completely empty:

\indexentry{|hyperpage}{230}
\indexentry{|hyperpage}{223}

And then, there is this one with an empty first level:

\indexentry{!afgeleid uit hoogte van terugbots|hyperpage}{226}

Removing them from the *.idx file solves the problem for me.

HTH,
Jürgen






Re: Problem Outputting Particular TIFF File

2011-10-08 Thread Paul A. Rubin



On 10/07/2011 05:48 PM, Jane Shevtsov wrote:
I did as you suggested (installed IM version 6.7.2-10-Q16-windows-dll, 
which is the one they recommend if you're not sure which to get, made 
sure it was on the path, and reconfigured LyX) and am still getting 
the same error message. How do you specify a converter?
Go to Tools > Preferences ... > File Handling > Converters, select TIFF 
as the "From format" and PNG (or whatever you like) as the "To format", 
fill in the command in the Converter entry, then click Add followed by 
Save.  I'm not sure what you'll need for the converter command; try 
"convert $$i png:$$o" as a first stab.


You should not need to do this, though.  LyX uses a Python script to 
handle graphics conversions where no special converter is defined, and 
since some of your TIFF files convert correctly, the converter script 
itself is working.  Have you tried converting one of the problem TIFFs 
to PNG at a command prompt using the newly installed version of IM?  
Does it convert correctly?  If so, try putting the path to the IM 
convert program in Tools > Preferences ... > Paths > PATH Prefix (then 
save and restart LyX) to ensure that LyX is using the full version.


Paul



Re: Classic Thesis Bibliography in child document

2011-10-08 Thread PhilipPirrip



II got the same problem. I tried to include the Bibtex Bib in each
single Chapter but the references appear only if I compile the Chapter
alone and never when I try with the ClassicThesis.lyx


I'm not sure here what it is that you want? A separate bibliography for 
each chapter?
Do you get the bibliography right when you compile the original 
template, without any modifications?







Re: Classic Thesis Bibliography in child document

2011-10-08 Thread PhilipPirrip

On 10/07/2011 06:59 PM, Julien Rioux wrote:

I think LyX 2.0 has a new feature which does what you want. Compile the
master doc with "onclude only selected children"



Julien, can you please tell what happens in the background (i.e. in 
LaTeX) when one does "Update master document" after only one of its 
parts (chapters) has been changed?
Does it cost much more time to "update master document" than just to 
compile that chapter?


Then, what's the difference between "update master document" and "view 
master document", from the LaTeX side?




Re: XeTeX - Load packages before fontspec

2011-10-08 Thread PhilipPirrip

On 10/07/2011 08:17 AM, Guenter Milde wrote:

  Custom LaTeX code before LyX-generated preamble:  
   +-+
   | \usepackage[put]{mathdesign}   |
   ||
   +-+



May I object! ;)
Please always consider calling \usepackage in two parts, especially in 
LyX generated code:


\PassOptionsToPackage{put}{mathdesign}
\usepackage{mathdesign}



to allow for the possibility of adding more options to the packages 
called. (calling \usepackage with options twice isn't allowed)




Custom LaTeX code before LyX-generated preamble:
  +-+
  | \PassOptionsToPackage{some_other_option}{mathdesign}|
  | |
  +-+

LyX-generated preamble:
 +-+
  | \PassOptionsToPackage{}{mathdesign} |
  | \usepackage{mathdesign} |
  +-+


Custom LaTeX code after LyX-generated preamble:
  +-+
  | \input{mypreamble}  |
  | |
  | |
  +-+









Re: Problem Outputting Particular TIFF File

2011-10-08 Thread Charlie
 On Sat, 08 Oct 2011 10:00:48 -0400 "Paul A. Rubin ru...@msu.edu"
 suggested this:

>
>
>On 10/07/2011 05:48 PM, Jane Shevtsov wrote:
>> I did as you suggested (installed IM version
>> 6.7.2-10-Q16-windows-dll, which is the one they recommend if you're
>> not sure which to get, made sure it was on the path, and
>> reconfigured LyX) and am still getting the same error message. How
>> do you specify a converter?
>Go to Tools > Preferences ... > File Handling > Converters, select
>TIFF as the "From format" and PNG (or whatever you like) as the "To
>format", fill in the command in the Converter entry, then click Add
>followed by Save.  I'm not sure what you'll need for the converter
>command; try "convert $$i png:$$o" as a first stab.
>
>You should not need to do this, though.  LyX uses a Python script to 
>handle graphics conversions where no special converter is defined, and 
>since some of your TIFF files convert correctly, the converter script 
>itself is working.  Have you tried converting one of the problem TIFFs 
>to PNG at a command prompt using the newly installed version of IM?  
>Does it convert correctly?  If so, try putting the path to the IM 
>convert program in Tools > Preferences ... > Paths > PATH Prefix (then 
>save and restart LyX) to ensure that LyX is using the full version.
>
>Paul
>

Have you tried renaming it with the ".tif" extension. There are some
programs that don't like the double "ff". Just a thought.

I have no problem using tif graphics in Lyx.

Maybe worth a try. Otherwise sorry for the noise.
Charlie
-- 
Registered Linux User:- 329524
***

At the same time that we are earnest to explore and learn all things,
we require that all things be mysterious and unexplorable, that land
and sea be infinitely wild, unsurveyed and unfathomed by us because
unfathomable. Henry David Thoreau

***

Debian GNU/Linux - just the best way to create magic

-