Re: Subfloats cause LyX errors

2010-07-13 Thread Iain Waugh
What I did was to place a figure float within a figure float to create 
subfloats. Even with no text in the caption or graphics inserted, I get 
errors that look like this:



You can't use '\spacefactor' in vertical mode.
...


Try adding \makeatletter at the end of your preamble. I think Lyx adds:

\...@ifundefined{showcaptionsetup}{}{%
\PassOptionsToPackage{caption=false}{subfig}}
\usepackage{subfig}
\makeatother

at the end of your preamble to fix some subfig things (although I don't 
know what).


I had exactly the same issue, as i was ending my preamble in \makeatother 
mode, which is needed for the @ symbol in this chunk of code. Lyx should 
probably add \makeatletter to the front of the code chunk it adds to make 
this bombproof.


Anyways, that worked for me after much stress!



--
Iain Waugh



moderncv class broken?

2010-07-13 Thread Nathan Tomlin
I used the moderncv class in Lyx to make my CV 2 years ago, but now with
newer versions of lyx and moderncv, I can't get it to work anymore. The
problem seems to be with the preamble line:
\AtBeginDocument{\maketitle}

When I remove that, I get a pdf, but it doesn't have the title stuff. I
tried the example file and get the same error. I am using Lyx 1.6.6.1,
moderncv 0.8, windows XP.

thanks for any help,
Nathan


Fancy headers lost on Index pages

2010-07-13 Thread Hellmut Weber
Hi list,
i don't remember whether this has already been discussed in this list...

I have a document (based on koma article) in which i use fancy headers.
That works very well in the main part of the document, but the the first
page of the index (at the end of my document) doesn't show any header or
footer information (not even a pager number).
On the second page of the index the header and footer info appears
correctly.

What can I do to get the header and footer strings on the first page of
the index?

TIA and happy LyXing

Hellmut

-- 
Dr. Hellmut Weber m...@hellmutweber.de
Degenfeldstraße 2 tel   +49-89-3081172
D-80803 München-Schwabing mobil +49-172-8450321
please: No DOCs, no PPTs. why: tinyurl.com/cbgq


How to automatically put /today ONLY in the new document as text?

2010-07-13 Thread Dietmar Schmidt
Dear Sirs,

I want to put the actual date as text in my office letter automatically when 
opening the template, so when I use the saved document a second time I still 
see the date when it was created (and not the \time token).

Is there any possibility to realize this?

With kindest regards,

Dietmar Schmidt




subdocument (input) preview: float objects not displayed

2010-07-13 Thread garret

Hi all,

I'm including a subdocument into another document using the `input` 
method. I activated the preview of the subdocument in the main document. 
But unfortunately, float objects of the subdocument are not displayed. 
Is there any way to get them displayed in the preview?



OS: Linux (Ubuntu 10.04)
Lyx version: 1.6.6.1 (this is not the version currently distributed by 
Ubuntu)


Any help is kindly appreciated :)

Regards,

Karsten


Re: Subfloats cause LyX errors

2010-07-13 Thread Iain Waugh
What I did was to place a figure float within a figure float to create 
subfloats. Even with no text in the caption or graphics inserted, I get 
errors that look like this:



You can't use '\spacefactor' in vertical mode.
...


Try adding \makeatletter at the end of your preamble. I think Lyx adds:

\...@ifundefined{showcaptionsetup}{}{%
\PassOptionsToPackage{caption=false}{subfig}}
\usepackage{subfig}
\makeatother

at the end of your preamble to fix some subfig things (although I don't 
know what).


I had exactly the same issue, as i was ending my preamble in \makeatother 
mode, which is needed for the @ symbol in this chunk of code. Lyx should 
probably add \makeatletter to the front of the code chunk it adds to make 
this bombproof.


Anyways, that worked for me after much stress!



--
Iain Waugh



moderncv class broken?

2010-07-13 Thread Nathan Tomlin
I used the moderncv class in Lyx to make my CV 2 years ago, but now with
newer versions of lyx and moderncv, I can't get it to work anymore. The
problem seems to be with the preamble line:
\AtBeginDocument{\maketitle}

When I remove that, I get a pdf, but it doesn't have the title stuff. I
tried the example file and get the same error. I am using Lyx 1.6.6.1,
moderncv 0.8, windows XP.

thanks for any help,
Nathan


Fancy headers lost on Index pages

2010-07-13 Thread Hellmut Weber
Hi list,
i don't remember whether this has already been discussed in this list...

I have a document (based on koma article) in which i use fancy headers.
That works very well in the main part of the document, but the the first
page of the index (at the end of my document) doesn't show any header or
footer information (not even a pager number).
On the second page of the index the header and footer info appears
correctly.

What can I do to get the header and footer strings on the first page of
the index?

TIA and happy LyXing

Hellmut

-- 
Dr. Hellmut Weber m...@hellmutweber.de
Degenfeldstraße 2 tel   +49-89-3081172
D-80803 München-Schwabing mobil +49-172-8450321
please: No DOCs, no PPTs. why: tinyurl.com/cbgq


How to automatically put /today ONLY in the new document as text?

2010-07-13 Thread Dietmar Schmidt
Dear Sirs,

I want to put the actual date as text in my office letter automatically when 
opening the template, so when I use the saved document a second time I still 
see the date when it was created (and not the \time token).

Is there any possibility to realize this?

With kindest regards,

Dietmar Schmidt




subdocument (input) preview: float objects not displayed

2010-07-13 Thread garret

Hi all,

I'm including a subdocument into another document using the `input` 
method. I activated the preview of the subdocument in the main document. 
But unfortunately, float objects of the subdocument are not displayed. 
Is there any way to get them displayed in the preview?



OS: Linux (Ubuntu 10.04)
Lyx version: 1.6.6.1 (this is not the version currently distributed by 
Ubuntu)


Any help is kindly appreciated :)

Regards,

Karsten


Re: Subfloats cause LyX errors

2010-07-13 Thread Iain Waugh
What I did was to place a figure float within a figure float to create 
subfloats. Even with no text in the caption or graphics inserted, I get 
errors that look like this:



You can't use '\spacefactor' in vertical mode.
...


Try adding \makeatletter at the end of your preamble. I think Lyx adds:

\...@ifundefined{showcaptionsetup}{}{%
\PassOptionsToPackage{caption=false}{subfig}}
\usepackage{subfig}
\makeatother

at the end of your preamble to fix some subfig things (although I don't 
know what).


I had exactly the same issue, as i was ending my preamble in \makeatother 
mode, which is needed for the @ symbol in this chunk of code. Lyx should 
probably add \makeatletter to the front of the code chunk it adds to make 
this bombproof.


Anyways, that worked for me after much stress!



--
Iain Waugh



moderncv class broken?

2010-07-13 Thread Nathan Tomlin
I used the moderncv class in Lyx to make my CV 2 years ago, but now with
newer versions of lyx and moderncv, I can't get it to work anymore. The
problem seems to be with the preamble line:
\AtBeginDocument{\maketitle}

When I remove that, I get a pdf, but it doesn't have the title stuff. I
tried the example file and get the same error. I am using Lyx 1.6.6.1,
moderncv 0.8, windows XP.

thanks for any help,
Nathan


Fancy headers lost on Index pages

2010-07-13 Thread Hellmut Weber
Hi list,
i don't remember whether this has already been discussed in this list...

I have a document (based on koma article) in which i use fancy headers.
That works very well in the main part of the document, but the the first
page of the index (at the end of my document) doesn't show any header or
footer information (not even a pager number).
On the second page of the index the header and footer info appears
correctly.

What can I do to get the header and footer strings on the first page of
the index?

TIA and happy LyXing

Hellmut

-- 
Dr. Hellmut Weber m...@hellmutweber.de
Degenfeldstraße 2 tel   +49-89-3081172
D-80803 München-Schwabing mobil +49-172-8450321
please: No DOCs, no PPTs. why: tinyurl.com/cbgq


How to automatically put /today ONLY in the new document as text?

2010-07-13 Thread Dietmar Schmidt
Dear Sirs,

I want to put the actual date as text in my office letter automatically when 
opening the template, so when I use the saved document a second time I still 
see the date when it was created (and not the \time token).

Is there any possibility to realize this?

With kindest regards,

Dietmar Schmidt




subdocument (input) preview: float objects not displayed

2010-07-13 Thread garret

Hi all,

I'm including a subdocument into another document using the `input` 
method. I activated the preview of the subdocument in the main document. 
But unfortunately, float objects of the subdocument are not displayed. 
Is there any way to get them displayed in the preview?



OS: Linux (Ubuntu 10.04)
Lyx version: 1.6.6.1 (this is not the version currently distributed by 
Ubuntu)


Any help is kindly appreciated :)

Regards,

Karsten