Problem compiling document to Postscript

2012-05-28 Thread Påvel Nicklasson
I have a large book-sized document with several child documents. I use LyX
2.0.3 on Kubuntu 12.04.


I need to compile the file to postscript for further conversion ahead of
printing.


The compilation stops with no meaningful error messages (at least for me).
The log may indicate problems with images. I mostly use JPG. I have
converted some images to eps after these messages, but the file wont
compile anyway. Should I substitute all JPG images with eps?


The strange thing is that the file compiles OK to postscript on Windows 7
(LyX 2.0.3). Other very similar documents compiles OK to postscript on
Kubuntu. Other formats such as PDFLaTeX work OK.


I don‘t know even how to begin look for a solution. Any suggestions are
appreciated!


Regards Påvel


Re: MiKTeX won't download with LyX

2012-05-28 Thread Excellent
To get around this problem, you need to install MiKTeX first. Then you install 
the standard installer ftp://ftp.lyx.org/pub/lyx/bin/2.0.3/LyX-2.0.3-2-
Installer.exe and when it asks you what Latex system to use you select the 
directory you installed MiKTeX to.



Re: program to use Lyx as a code-evaluating notebook

2012-05-28 Thread Richard Heck

On 05/27/2012 09:56 PM, Allen Barker wrote:


The program is currently ~800K tarred and zipped,
including documentation.  If anyone here is interested
in trying it out I can send copies out by email (unless
someone suggests a better way to distribute copies at
this stage).


If you're at all serious about this program, then I'd suggest
you create a git repo for it somewhere like gitorious, and
then people can have easy access, as well as follow the
changes you're making. List it as pre-alpha or whatever,
and people know what they're getting.

Richard




Re: Proof with enumerate

2012-05-28 Thread Richard Heck

On 05/27/2012 11:06 PM, Diego Villamil wrote:

Hello Lyx Users,
I am writing a math document, and I have a proposition with a number 
of properties.  I would like to start an enumeration of those 
properties within the proof, but haven't found a clean way of doing 
that as LyX ignores the proof environment once I added the enumeration.

I want to it to look something like this:

Proposition: The following properties hold:
1. This is property 1.
2. This is property 2.

Proof.
1. This is the proof of the first property.
2. This is the proof of the second property.


Increase the depth within the proof environment.

That said, I'm not sure enumeration is the right way to go here, if the 
proofs are at all long. Another option would to be put labels in the 
statement of the proposition, and then reference them.


Richard



Re: Problem compiling document to Postscript

2012-05-28 Thread Richard Heck

On 05/28/2012 05:08 AM, Påvel Nicklasson wrote:


I have a large book-sized document with several child documents. I use 
LyX 2.0.3 on Kubuntu 12.04.



I need to compile the file to postscript for further conversion ahead 
of printing.



The compilation stops with no meaningful error messages (at least for 
me). The log may indicate problems with images. I mostly use JPG. I 
have converted some images to eps after these messages, but the file 
wont compile anyway. Should I substitute all JPG images with eps?



The strange thing is that the file compiles OK to postscript on 
Windows 7 (LyX 2.0.3). Other very similar documents compiles OK to 
postscript on Kubuntu. Other formats such as PDFLaTeX work OK.



I don‘t know even how to begin look for a solution. Any suggestions 
are appreciated!




First, try posting the log here, and see if anyone can see the problem.

Second, bisect: Remove the last half of the document; see if that works. 
If not, remove another half. If so, put that back and remove the first 
half. Etc.


Richard



Re: Proof with enumerate

2012-05-28 Thread David L. Johnson

On 05/27/2012 11:06 PM, Diego Villamil wrote:

Hello Lyx Users,
I am writing a math document, and I have a proposition with a number 
of properties.  I would like to start an enumeration of those 
properties within the proof, but haven't found a clean way of doing 
that as LyX ignores the proof environment once I added the enumeration.

I want to it to look something like this:

Proposition: The following properties hold:
1. This is property 1.
2. This is property 2.

Proof.
1. This is the proof of the first property.
2. This is the proof of the second property.

Thank you,
Diego
Simply increase the environment depth for the enumerated list, so that 
is inside the proof environment.  There is a button on the top, and a 
menu item, for this.  You do have to be more creative (deeper depth) if 
your proof is more than one line, so either strive for elegance or work 
with the environment depth some more.


--

David L. Johnson

A foolish consistency is the hobgoblin of little minds, adored by
little statesmen and philosophers and divines.
--Ralph Waldo Emerson



Re: Problem compiling document to Postscript

2012-05-28 Thread Påvel Nicklasson
Thank You for your suggestions!

I don't think that the culprit is ImageMagick, since several very similar
documents with lots of JPG:s compile to ps without any problem. I will
test to reinstall ImageMagick however.

I have removed parts of the documents and managed to get some child
documents to compile by converting images to .eps. Now I am stuck on a part
where I have changed the images to .eps, but LyX still refuses to compile
to ps correctly. The resulting ps-file opens, but is faulty: pages and
images are not showing and images are misplaced.

I have noticed that, my pdf-reader, Okular, uses a lot of power while
showing the ps-file and even seems to freeze. Perhaps there is something
wrong here, but Okular works fine with all other documents and ps-files.

The logs does not say much, just that there may be problems with some image
(even images that transfers well). The logs are surprisingly clean for such
faulty behvaiour. I see if I can catch something useful to post.

Since the manuscript must be delivered real soon I think that I have to do
the final work in Windows and postpone some of the bughunt until after the
deadline. I believe this is very strange and I intend to find out where the
fault is.


changing fixed names 'Contents', 'List of Figures', etc.

2012-05-28 Thread ddiedrichs
I cannot change the default strings 'Contents', 'List of Figures', etc. that are
generated as titles of these sections.  I have tried putting in the preamble
commands of the type:

\renewcommand{\contentsname}{Table of Contents}

But nothing works.  I am typing in English without the babel package.



Re: changing fixed names 'Contents', 'List of Figures', etc.

2012-05-28 Thread Richard Heck

On 05/28/2012 04:35 PM, ddiedrichs wrote:

I cannot change the default strings 'Contents', 'List of Figures', etc. that are
generated as titles of these sections.  I have tried putting in the preamble
commands of the type:

\renewcommand{\contentsname}{Table of Contents}

But nothing works.  I am typing in English without the babel package.


What's the document class?

rh



Re: changing fixed names 'Contents', 'List of Figures', etc.

2012-05-28 Thread ddiedrichs
it's an article






Re: changing fixed names 'Contents', 'List of Figures', etc.

2012-05-28 Thread Steve Litt
On Mon, 28 May 2012 23:11:41 + (UTC), ddiedrichs said:
 it's an article

Context???


Re: changing fixed names 'Contents', 'List of Figures', etc.

2012-05-28 Thread ddiedrichs
Steve Litt slitt at troubleshooters.com writes:

 
 On Mon, 28 May 2012 23:11:41 + (UTC), ddiedrichs said:
  it's an article
 
 Context???
 
 
I cannot change the default strings 'Contents', 'List of Figures', etc. that 
are generated as titles of these sections.  I have tried putting in the preamble
commands of the type:

\renewcommand{\contentsname}{Table of Contents}

But nothing works.  I am typing in English without the babel package.






Re: changing fixed names 'Contents', 'List of Figures', etc. Maybe solved

2012-05-28 Thread Steve Litt
On Tue, 29 May 2012 00:03:08 + (UTC), ddiedrichs said:
 Steve Litt slitt at troubleshooters.com writes:
 
  
  On Mon, 28 May 2012 23:11:41 + (UTC), ddiedrichs said:
   it's an article
  
  Context???
  
  
 I cannot change the default strings 'Contents', 'List of Figures',
 etc. that are generated as titles of these sections.  I have tried
 putting in the preamble commands of the type:
 
 \renewcommand{\contentsname}{Table of Contents}
 
 But nothing works.  I am typing in English without the babel package.


Hi ddiedrichs,

I reproduced your symptom in an article based document, putting
\renewcommand{\contentsname}{Table of Contents} in the document
preamble, as you would expect it should be. Like you, my document
continued to print the table of contents title as Contents. So then I
exported to LaTeX, fooled around with it, and discovered it works only
if \renewcommand{\contentsname}{Table of Contents} is in the document
itself, not the document header.

So I went back into LyX, removed \renewcommand{\contentsname}{Table of
Contents} from the document preamble, and put it in an ERT before the
Table of Contents, and it did the right thing.

I'm attaching a 1.8K example LyX file that properly changes the
contents name.

If this solves your problem, please reply and mark the subject as
SOLVED so others who follow you know what to do. I found this to be
very surprising behavior.

Thanks

SteveT

Steve Litt*  http://www.troubleshooters.com/
  *  http://twitter.com/stevelitt
Troubleshooting Training  *  Human Performance



test.lyx
Description: application/lyx


Re: changing fixed names 'Contents', 'List of Figures', etc.

2012-05-28 Thread Richard Heck

On 05/28/2012 08:03 PM, ddiedrichs wrote:

Steve Littslittat  troubleshooters.com  writes:


On Mon, 28 May 2012 23:11:41 + (UTC), ddiedrichs said:

it's an article

Context???



I cannot change the default strings 'Contents', 'List of Figures', etc. that
are generated as titles of these sections.  I have tried putting in the preamble
commands of the type:

\renewcommand{\contentsname}{Table of Contents}

But nothing works.  I am typing in English without the babel package.

The problem is likely that babel IS being loaded by LyX. I see the same 
problem, unless I disable the language package under Document Settings 
Language.


I'm not sure why we load babel after the user preamble. This seems 
wrong, for this reason.


Richard



Problem compiling document to Postscript

2012-05-28 Thread Påvel Nicklasson
I have a large book-sized document with several child documents. I use LyX
2.0.3 on Kubuntu 12.04.


I need to compile the file to postscript for further conversion ahead of
printing.


The compilation stops with no meaningful error messages (at least for me).
The log may indicate problems with images. I mostly use JPG. I have
converted some images to eps after these messages, but the file wont
compile anyway. Should I substitute all JPG images with eps?


The strange thing is that the file compiles OK to postscript on Windows 7
(LyX 2.0.3). Other very similar documents compiles OK to postscript on
Kubuntu. Other formats such as PDFLaTeX work OK.


I don‘t know even how to begin look for a solution. Any suggestions are
appreciated!


Regards Påvel


Re: MiKTeX won't download with LyX

2012-05-28 Thread Excellent
To get around this problem, you need to install MiKTeX first. Then you install 
the standard installer ftp://ftp.lyx.org/pub/lyx/bin/2.0.3/LyX-2.0.3-2-
Installer.exe and when it asks you what Latex system to use you select the 
directory you installed MiKTeX to.



Re: program to use Lyx as a code-evaluating notebook

2012-05-28 Thread Richard Heck

On 05/27/2012 09:56 PM, Allen Barker wrote:


The program is currently ~800K tarred and zipped,
including documentation.  If anyone here is interested
in trying it out I can send copies out by email (unless
someone suggests a better way to distribute copies at
this stage).


If you're at all serious about this program, then I'd suggest
you create a git repo for it somewhere like gitorious, and
then people can have easy access, as well as follow the
changes you're making. List it as pre-alpha or whatever,
and people know what they're getting.

Richard




Re: Proof with enumerate

2012-05-28 Thread Richard Heck

On 05/27/2012 11:06 PM, Diego Villamil wrote:

Hello Lyx Users,
I am writing a math document, and I have a proposition with a number 
of properties.  I would like to start an enumeration of those 
properties within the proof, but haven't found a clean way of doing 
that as LyX ignores the proof environment once I added the enumeration.

I want to it to look something like this:

Proposition: The following properties hold:
1. This is property 1.
2. This is property 2.

Proof.
1. This is the proof of the first property.
2. This is the proof of the second property.


Increase the depth within the proof environment.

That said, I'm not sure enumeration is the right way to go here, if the 
proofs are at all long. Another option would to be put labels in the 
statement of the proposition, and then reference them.


Richard



Re: Problem compiling document to Postscript

2012-05-28 Thread Richard Heck

On 05/28/2012 05:08 AM, Påvel Nicklasson wrote:


I have a large book-sized document with several child documents. I use 
LyX 2.0.3 on Kubuntu 12.04.



I need to compile the file to postscript for further conversion ahead 
of printing.



The compilation stops with no meaningful error messages (at least for 
me). The log may indicate problems with images. I mostly use JPG. I 
have converted some images to eps after these messages, but the file 
wont compile anyway. Should I substitute all JPG images with eps?



The strange thing is that the file compiles OK to postscript on 
Windows 7 (LyX 2.0.3). Other very similar documents compiles OK to 
postscript on Kubuntu. Other formats such as PDFLaTeX work OK.



I don‘t know even how to begin look for a solution. Any suggestions 
are appreciated!




First, try posting the log here, and see if anyone can see the problem.

Second, bisect: Remove the last half of the document; see if that works. 
If not, remove another half. If so, put that back and remove the first 
half. Etc.


Richard



Re: Proof with enumerate

2012-05-28 Thread David L. Johnson

On 05/27/2012 11:06 PM, Diego Villamil wrote:

Hello Lyx Users,
I am writing a math document, and I have a proposition with a number 
of properties.  I would like to start an enumeration of those 
properties within the proof, but haven't found a clean way of doing 
that as LyX ignores the proof environment once I added the enumeration.

I want to it to look something like this:

Proposition: The following properties hold:
1. This is property 1.
2. This is property 2.

Proof.
1. This is the proof of the first property.
2. This is the proof of the second property.

Thank you,
Diego
Simply increase the environment depth for the enumerated list, so that 
is inside the proof environment.  There is a button on the top, and a 
menu item, for this.  You do have to be more creative (deeper depth) if 
your proof is more than one line, so either strive for elegance or work 
with the environment depth some more.


--

David L. Johnson

A foolish consistency is the hobgoblin of little minds, adored by
little statesmen and philosophers and divines.
--Ralph Waldo Emerson



Re: Problem compiling document to Postscript

2012-05-28 Thread Påvel Nicklasson
Thank You for your suggestions!

I don't think that the culprit is ImageMagick, since several very similar
documents with lots of JPG:s compile to ps without any problem. I will
test to reinstall ImageMagick however.

I have removed parts of the documents and managed to get some child
documents to compile by converting images to .eps. Now I am stuck on a part
where I have changed the images to .eps, but LyX still refuses to compile
to ps correctly. The resulting ps-file opens, but is faulty: pages and
images are not showing and images are misplaced.

I have noticed that, my pdf-reader, Okular, uses a lot of power while
showing the ps-file and even seems to freeze. Perhaps there is something
wrong here, but Okular works fine with all other documents and ps-files.

The logs does not say much, just that there may be problems with some image
(even images that transfers well). The logs are surprisingly clean for such
faulty behvaiour. I see if I can catch something useful to post.

Since the manuscript must be delivered real soon I think that I have to do
the final work in Windows and postpone some of the bughunt until after the
deadline. I believe this is very strange and I intend to find out where the
fault is.


changing fixed names 'Contents', 'List of Figures', etc.

2012-05-28 Thread ddiedrichs
I cannot change the default strings 'Contents', 'List of Figures', etc. that are
generated as titles of these sections.  I have tried putting in the preamble
commands of the type:

\renewcommand{\contentsname}{Table of Contents}

But nothing works.  I am typing in English without the babel package.



Re: changing fixed names 'Contents', 'List of Figures', etc.

2012-05-28 Thread Richard Heck

On 05/28/2012 04:35 PM, ddiedrichs wrote:

I cannot change the default strings 'Contents', 'List of Figures', etc. that are
generated as titles of these sections.  I have tried putting in the preamble
commands of the type:

\renewcommand{\contentsname}{Table of Contents}

But nothing works.  I am typing in English without the babel package.


What's the document class?

rh



Re: changing fixed names 'Contents', 'List of Figures', etc.

2012-05-28 Thread ddiedrichs
it's an article






Re: changing fixed names 'Contents', 'List of Figures', etc.

2012-05-28 Thread Steve Litt
On Mon, 28 May 2012 23:11:41 + (UTC), ddiedrichs said:
 it's an article

Context???


Re: changing fixed names 'Contents', 'List of Figures', etc.

2012-05-28 Thread ddiedrichs
Steve Litt slitt at troubleshooters.com writes:

 
 On Mon, 28 May 2012 23:11:41 + (UTC), ddiedrichs said:
  it's an article
 
 Context???
 
 
I cannot change the default strings 'Contents', 'List of Figures', etc. that 
are generated as titles of these sections.  I have tried putting in the preamble
commands of the type:

\renewcommand{\contentsname}{Table of Contents}

But nothing works.  I am typing in English without the babel package.






Re: changing fixed names 'Contents', 'List of Figures', etc. Maybe solved

2012-05-28 Thread Steve Litt
On Tue, 29 May 2012 00:03:08 + (UTC), ddiedrichs said:
 Steve Litt slitt at troubleshooters.com writes:
 
  
  On Mon, 28 May 2012 23:11:41 + (UTC), ddiedrichs said:
   it's an article
  
  Context???
  
  
 I cannot change the default strings 'Contents', 'List of Figures',
 etc. that are generated as titles of these sections.  I have tried
 putting in the preamble commands of the type:
 
 \renewcommand{\contentsname}{Table of Contents}
 
 But nothing works.  I am typing in English without the babel package.


Hi ddiedrichs,

I reproduced your symptom in an article based document, putting
\renewcommand{\contentsname}{Table of Contents} in the document
preamble, as you would expect it should be. Like you, my document
continued to print the table of contents title as Contents. So then I
exported to LaTeX, fooled around with it, and discovered it works only
if \renewcommand{\contentsname}{Table of Contents} is in the document
itself, not the document header.

So I went back into LyX, removed \renewcommand{\contentsname}{Table of
Contents} from the document preamble, and put it in an ERT before the
Table of Contents, and it did the right thing.

I'm attaching a 1.8K example LyX file that properly changes the
contents name.

If this solves your problem, please reply and mark the subject as
SOLVED so others who follow you know what to do. I found this to be
very surprising behavior.

Thanks

SteveT

Steve Litt*  http://www.troubleshooters.com/
  *  http://twitter.com/stevelitt
Troubleshooting Training  *  Human Performance



test.lyx
Description: application/lyx


Re: changing fixed names 'Contents', 'List of Figures', etc.

2012-05-28 Thread Richard Heck

On 05/28/2012 08:03 PM, ddiedrichs wrote:

Steve Littslittat  troubleshooters.com  writes:


On Mon, 28 May 2012 23:11:41 + (UTC), ddiedrichs said:

it's an article

Context???



I cannot change the default strings 'Contents', 'List of Figures', etc. that
are generated as titles of these sections.  I have tried putting in the preamble
commands of the type:

\renewcommand{\contentsname}{Table of Contents}

But nothing works.  I am typing in English without the babel package.

The problem is likely that babel IS being loaded by LyX. I see the same 
problem, unless I disable the language package under Document Settings 
Language.


I'm not sure why we load babel after the user preamble. This seems 
wrong, for this reason.


Richard



Problem compiling document to Postscript

2012-05-28 Thread Påvel Nicklasson
I have a large book-sized document with several child documents. I use LyX
2.0.3 on Kubuntu 12.04.


I need to compile the file to postscript for further conversion ahead of
printing.


The compilation stops with no meaningful error messages (at least for me).
The log may indicate problems with images. I mostly use JPG. I have
converted some images to eps after these messages, but the file wont
compile anyway. Should I substitute all JPG images with eps?


The strange thing is that the file compiles OK to postscript on Windows 7
(LyX 2.0.3). Other very similar documents compiles OK to postscript on
Kubuntu. Other formats such as PDFLaTeX work OK.


I don‘t know even how to begin look for a solution. Any suggestions are
appreciated!


Regards Påvel


Re: MiKTeX won't download with LyX

2012-05-28 Thread Excellent
To get around this problem, you need to install MiKTeX first. Then you install 
the standard installer ftp://ftp.lyx.org/pub/lyx/bin/2.0.3/LyX-2.0.3-2-
Installer.exe and when it asks you what Latex system to use you select the 
directory you installed MiKTeX to.



Re: program to use Lyx as a code-evaluating notebook

2012-05-28 Thread Richard Heck

On 05/27/2012 09:56 PM, Allen Barker wrote:


The program is currently ~800K tarred and zipped,
including documentation.  If anyone here is interested
in trying it out I can send copies out by email (unless
someone suggests a better way to distribute copies at
this stage).


If you're at all serious about this program, then I'd suggest
you create a git repo for it somewhere like gitorious, and
then people can have easy access, as well as follow the
changes you're making. List it as pre-alpha or whatever,
and people know what they're getting.

Richard




Re: Proof with enumerate

2012-05-28 Thread Richard Heck

On 05/27/2012 11:06 PM, Diego Villamil wrote:

Hello Lyx Users,
I am writing a math document, and I have a proposition with a number 
of properties.  I would like to start an enumeration of those 
properties within the proof, but haven't found a clean way of doing 
that as LyX ignores the proof environment once I added the enumeration.

I want to it to look something like this:

Proposition: The following properties hold:
1. This is property 1.
2. This is property 2.

Proof.
1. This is the proof of the first property.
2. This is the proof of the second property.


Increase the depth within the proof environment.

That said, I'm not sure enumeration is the right way to go here, if the 
proofs are at all long. Another option would to be put labels in the 
statement of the proposition, and then reference them.


Richard



Re: Problem compiling document to Postscript

2012-05-28 Thread Richard Heck

On 05/28/2012 05:08 AM, Påvel Nicklasson wrote:


I have a large book-sized document with several child documents. I use 
LyX 2.0.3 on Kubuntu 12.04.



I need to compile the file to postscript for further conversion ahead 
of printing.



The compilation stops with no meaningful error messages (at least for 
me). The log may indicate problems with images. I mostly use JPG. I 
have converted some images to eps after these messages, but the file 
wont compile anyway. Should I substitute all JPG images with eps?



The strange thing is that the file compiles OK to postscript on 
Windows 7 (LyX 2.0.3). Other very similar documents compiles OK to 
postscript on Kubuntu. Other formats such as PDFLaTeX work OK.



I don‘t know even how to begin look for a solution. Any suggestions 
are appreciated!




First, try posting the log here, and see if anyone can see the problem.

Second, bisect: Remove the last half of the document; see if that works. 
If not, remove another half. If so, put that back and remove the first 
half. Etc.


Richard



Re: Proof with enumerate

2012-05-28 Thread David L. Johnson

On 05/27/2012 11:06 PM, Diego Villamil wrote:

Hello Lyx Users,
I am writing a math document, and I have a proposition with a number 
of properties.  I would like to start an enumeration of those 
properties within the proof, but haven't found a clean way of doing 
that as LyX ignores the proof environment once I added the enumeration.

I want to it to look something like this:

Proposition: The following properties hold:
1. This is property 1.
2. This is property 2.

Proof.
1. This is the proof of the first property.
2. This is the proof of the second property.

Thank you,
Diego
Simply increase the environment depth for the enumerated list, so that 
is "inside" the proof environment.  There is a button on the top, and a 
menu item, for this.  You do have to be more creative (deeper depth) if 
your proof is more than one line, so either strive for elegance or work 
with the environment depth some more.


--

David L. Johnson

"A foolish consistency is the hobgoblin of little minds, adored by
little statesmen and philosophers and divines."
--Ralph Waldo Emerson



Re: Problem compiling document to Postscript

2012-05-28 Thread Påvel Nicklasson
Thank You for your suggestions!

I don't think that the culprit is ImageMagick, since several very similar
documents with lots of JPG:s compile to ps without any problem. I will
test to reinstall ImageMagick however.

I have removed parts of the documents and managed to get some child
documents to compile by converting images to .eps. Now I am stuck on a part
where I have changed the images to .eps, but LyX still refuses to compile
to ps correctly. The resulting ps-file opens, but is faulty: pages and
images are not showing and images are misplaced.

I have noticed that, my pdf-reader, Okular, uses a lot of power while
showing the ps-file and even seems to freeze. Perhaps there is something
wrong here, but Okular works fine with all other documents and ps-files.

The logs does not say much, just that there may be problems with some image
(even images that transfers well). The logs are surprisingly clean for such
faulty behvaiour. I see if I can catch something useful to post.

Since the manuscript must be delivered real soon I think that I have to do
the final work in Windows and postpone some of the bughunt until after the
deadline. I believe this is very strange and I intend to find out where the
fault is.


changing fixed names 'Contents', 'List of Figures', etc.

2012-05-28 Thread ddiedrichs
I cannot change the default strings 'Contents', 'List of Figures', etc. that are
generated as titles of these sections.  I have tried putting in the preamble
commands of the type:

\renewcommand{\contentsname}{Table of Contents}

But nothing works.  I am typing in English without the babel package.



Re: changing fixed names 'Contents', 'List of Figures', etc.

2012-05-28 Thread Richard Heck

On 05/28/2012 04:35 PM, ddiedrichs wrote:

I cannot change the default strings 'Contents', 'List of Figures', etc. that are
generated as titles of these sections.  I have tried putting in the preamble
commands of the type:

\renewcommand{\contentsname}{Table of Contents}

But nothing works.  I am typing in English without the babel package.


What's the document class?

rh



Re: changing fixed names 'Contents', 'List of Figures', etc.

2012-05-28 Thread ddiedrichs
it's an article






Re: changing fixed names 'Contents', 'List of Figures', etc.

2012-05-28 Thread Steve Litt
On Mon, 28 May 2012 23:11:41 + (UTC), ddiedrichs said:
> it's an article

Context???


Re: changing fixed names 'Contents', 'List of Figures', etc.

2012-05-28 Thread ddiedrichs
Steve Litt  troubleshooters.com> writes:

> 
> On Mon, 28 May 2012 23:11:41 + (UTC), ddiedrichs said:
> > it's an article
> 
> Context???
> 
> 
I cannot change the default strings 'Contents', 'List of Figures', etc. that 
are generated as titles of these sections.  I have tried putting in the preamble
commands of the type:

\renewcommand{\contentsname}{Table of Contents}

But nothing works.  I am typing in English without the babel package.






Re: changing fixed names 'Contents', 'List of Figures', etc.

2012-05-28 Thread Steve Litt
On Tue, 29 May 2012 00:03:08 + (UTC), ddiedrichs said:
> Steve Litt  troubleshooters.com> writes:
> 
> > 
> > On Mon, 28 May 2012 23:11:41 + (UTC), ddiedrichs said:
> > > it's an article
> > 
> > Context???
> > 
> > 
> I cannot change the default strings 'Contents', 'List of Figures',
> etc. that are generated as titles of these sections.  I have tried
> putting in the preamble commands of the type:
> 
> \renewcommand{\contentsname}{Table of Contents}
> 
> But nothing works.  I am typing in English without the babel package.


Hi ddiedrichs,

I reproduced your symptom in an article based document, putting
\renewcommand{\contentsname}{Table of Contents} in the document
preamble, as you would expect it should be. Like you, my document
continued to print the table of contents title as "Contents". So then I
exported to LaTeX, fooled around with it, and discovered it works only
if \renewcommand{\contentsname}{Table of Contents} is in the document
itself, not the document header.

So I went back into LyX, removed \renewcommand{\contentsname}{Table of
Contents} from the document preamble, and put it in an ERT before the
Table of Contents, and it did the right thing.

I'm attaching a 1.8K example LyX file that properly changes the
contents name.

If this solves your problem, please reply and mark the subject as
 so others who follow you know what to do. I found this to be
very surprising behavior.

Thanks

SteveT

Steve Litt*  http://www.troubleshooters.com/
  *  http://twitter.com/stevelitt
Troubleshooting Training  *  Human Performance



test.lyx
Description: application/lyx


Re: changing fixed names 'Contents', 'List of Figures', etc.

2012-05-28 Thread Richard Heck

On 05/28/2012 08:03 PM, ddiedrichs wrote:

Steve Litt  writes:


On Mon, 28 May 2012 23:11:41 + (UTC), ddiedrichs said:

it's an article

Context???



I cannot change the default strings 'Contents', 'List of Figures', etc. that
are generated as titles of these sections.  I have tried putting in the preamble
commands of the type:

\renewcommand{\contentsname}{Table of Contents}

But nothing works.  I am typing in English without the babel package.

The problem is likely that babel IS being loaded by LyX. I see the same 
problem, unless I disable the language package under Document> Settings> 
Language.


I'm not sure why we load babel after the user preamble. This seems 
wrong, for this reason.


Richard