Re: Latex template on 1.5.4

2008-03-12 Thread Paul A. Rubin

Phillip,

PITA alert:  If you copy the template .lyx file someplace and edit the 
copy, you need to do one of the following:


a.  delete the image and bibliography stuff; or
b.  copy the image file and the two .bib files to the same location as 
the copy you are editing; or
c.  replace the references to them with absolute paths (pointing to 
their location, presumably in the MiKTeX directory you made for the 
style stuff).


Phillip Ferguson wrote:

I found some teething issue with this template that I thought would be wise
to post in the same thread than start another.

Firstly is the authors preamble:

I am having trouble compiling this because if a change anything it complains
there is no \begin{} etc.


I changed the authors on my copy (in the preamble) successfully.  You'll 
need to be more specific as to what changes you are making.



Secondly(and more importantly) as I have 3 authors of my paper I can just
substitute the names and all is well.


The template is specifically set up for two authors from institution A 
and a third from institution B.  Your paper matches that?



However the text does not abide by the
margins for the document. Since I have very little knowledge of Latex I am
lost here. Is there a command I can use to constrain the width of the
authors to be in line with the columns or at least the margins?


Drop a co-author?  Convince them to use shorter names?  Use first/middle 
initials?


It will be difficult to do what you want without offending the 
conference's Style Police.  You can try the following:  in the preamble, 
change


My Name Is Too Long

to

\parbox{2.5in}{My Name Is Too Long}

(fiddle with the 2.5in to get an appropriate width).  This will throw 
that author's entry out of whack with the others, though, unless you put 
everyone in parboxes with an equal number of lines.


Also note that the tilde (~) used in names in the template is an 
unbreakable space.  If you don't want someone's name getting hyphenated, 
you probably want to change the tildes to ordinary spaces, so that LaTeX 
can break the line there.


You might also be able to shrink the font for the names, but I'm pretty 
certain that would call down the wrath of the Style Police upon you.


Thirdly can I ask if there is anyway to keep figures and tables (especially
tables) from going over the column margins?


Split them into more tables with fewer columns each?

If you have individual columns that are particularly wide, assign them a 
fixed width.  That will allow LaTeX to wrap lines in those columns.


The only other approaches I know are to shrink the font in the table or 
to put the table in a resizeable float (there was a tip about the latter 
on the list a few months back).  Again, that might or might not fly with 
the Style Police.


Fourthly I am having major headaches forcing lyx to position diagrams and
tables and equations at the tops of pages. Yes I know there is a command in
the float properties but sometimes it is just plainly ignored. Is there a
rule that float position is governed by?


Beats me.  I don't think I've ever had the position-at-top option fail me.

/Paul



Re: Latex template on 1.5.4

2008-03-12 Thread Paul A. Rubin

Phillip,

PITA alert:  If you copy the template .lyx file someplace and edit the 
copy, you need to do one of the following:


a.  delete the image and bibliography stuff; or
b.  copy the image file and the two .bib files to the same location as 
the copy you are editing; or
c.  replace the references to them with absolute paths (pointing to 
their location, presumably in the MiKTeX directory you made for the 
style stuff).


Phillip Ferguson wrote:

I found some teething issue with this template that I thought would be wise
to post in the same thread than start another.

Firstly is the authors preamble:

I am having trouble compiling this because if a change anything it complains
there is no \begin{} etc.


I changed the authors on my copy (in the preamble) successfully.  You'll 
need to be more specific as to what changes you are making.



Secondly(and more importantly) as I have 3 authors of my paper I can just
substitute the names and all is well.


The template is specifically set up for two authors from institution A 
and a third from institution B.  Your paper matches that?



However the text does not abide by the
margins for the document. Since I have very little knowledge of Latex I am
lost here. Is there a command I can use to constrain the width of the
authors to be in line with the columns or at least the margins?


Drop a co-author?  Convince them to use shorter names?  Use first/middle 
initials?


It will be difficult to do what you want without offending the 
conference's Style Police.  You can try the following:  in the preamble, 
change


My Name Is Too Long

to

\parbox{2.5in}{My Name Is Too Long}

(fiddle with the 2.5in to get an appropriate width).  This will throw 
that author's entry out of whack with the others, though, unless you put 
everyone in parboxes with an equal number of lines.


Also note that the tilde (~) used in names in the template is an 
unbreakable space.  If you don't want someone's name getting hyphenated, 
you probably want to change the tildes to ordinary spaces, so that LaTeX 
can break the line there.


You might also be able to shrink the font for the names, but I'm pretty 
certain that would call down the wrath of the Style Police upon you.


Thirdly can I ask if there is anyway to keep figures and tables (especially
tables) from going over the column margins?


Split them into more tables with fewer columns each?

If you have individual columns that are particularly wide, assign them a 
fixed width.  That will allow LaTeX to wrap lines in those columns.


The only other approaches I know are to shrink the font in the table or 
to put the table in a resizeable float (there was a tip about the latter 
on the list a few months back).  Again, that might or might not fly with 
the Style Police.


Fourthly I am having major headaches forcing lyx to position diagrams and
tables and equations at the tops of pages. Yes I know there is a command in
the float properties but sometimes it is just plainly ignored. Is there a
rule that float position is governed by?


Beats me.  I don't think I've ever had the position-at-top option fail me.

/Paul



Re: Latex template on 1.5.4

2008-03-12 Thread Paul A. Rubin

Phillip,

PITA alert:  If you copy the template .lyx file someplace and edit the 
copy, you need to do one of the following:


a.  delete the image and bibliography stuff; or
b.  copy the image file and the two .bib files to the same location as 
the copy you are editing; or
c.  replace the references to them with absolute paths (pointing to 
their location, presumably in the MiKTeX directory you made for the 
style stuff).


Phillip Ferguson wrote:

I found some teething issue with this template that I thought would be wise
to post in the same thread than start another.

Firstly is the authors preamble:

I am having trouble compiling this because if a change anything it complains
there is no \begin{} etc.


I changed the authors on my copy (in the preamble) successfully.  You'll 
need to be more specific as to what changes you are making.



Secondly(and more importantly) as I have 3 authors of my paper I can just
substitute the names and all is well.


The template is specifically set up for two authors from institution A 
and a third from institution B.  Your paper matches that?



However the text does not abide by the
margins for the document. Since I have very little knowledge of Latex I am
lost here. Is there a command I can use to constrain the width of the
authors to be in line with the columns or at least the margins?


Drop a co-author?  Convince them to use shorter names?  Use first/middle 
initials?


It will be difficult to do what you want without offending the 
conference's Style Police.  You can try the following:  in the preamble, 
change


My Name Is Too Long

to

\parbox{2.5in}{My Name Is Too Long}

(fiddle with the 2.5in to get an appropriate width).  This will throw 
that author's entry out of whack with the others, though, unless you put 
everyone in parboxes with an equal number of lines.


Also note that the tilde (~) used in names in the template is an 
unbreakable space.  If you don't want someone's name getting hyphenated, 
you probably want to change the tildes to ordinary spaces, so that LaTeX 
can break the line there.


You might also be able to shrink the font for the names, but I'm pretty 
certain that would call down the wrath of the Style Police upon you.


Thirdly can I ask if there is anyway to keep figures and tables (especially
tables) from going over the column margins?


Split them into more tables with fewer columns each?

If you have individual columns that are particularly wide, assign them a 
fixed width.  That will allow LaTeX to wrap lines in those columns.


The only other approaches I know are to shrink the font in the table or 
to put the table in a resizeable float (there was a tip about the latter 
on the list a few months back).  Again, that might or might not fly with 
the Style Police.


Fourthly I am having major headaches forcing lyx to position diagrams and
tables and equations at the tops of pages. Yes I know there is a command in
the float properties but sometimes it is just plainly ignored. Is there a
rule that float position is governed by?


Beats me.  I don't think I've ever had the position-at-top option fail me.

/Paul



RE: Latex template on 1.5.4

2008-03-11 Thread Phillip Ferguson
I found some teething issue with this template that I thought would be wise
to post in the same thread than start another.

Firstly is the authors preamble:

I am having trouble compiling this because if a change anything it complains
there is no \begin{} etc.
Secondly(and more importantly) as I have 3 authors of my paper I can just
substitute the names and all is well. However the text does not abide by the
margins for the document. Since I have very little knowledge of Latex I am
lost here. Is there a command I can use to constrain the width of the
authors to be in line with the columns or at least the margins?

Thirdly can I ask if there is anyway to keep figures and tables (especially
tables) from going over the column margins?

Fourthly I am having major headaches forcing lyx to position diagrams and
tables and equations at the tops of pages. Yes I know there is a command in
the float properties but sometimes it is just plainly ignored. Is there a
rule that float position is governed by?

Thanks again for all your help

pdf



-Original Message-
From: Paul A. Rubin [mailto:[EMAIL PROTECTED] 
Sent: 10 March 2008 15:32
To: Phillip Ferguson
Subject: Re: Latex template on 1.5.4

Phillip Ferguson wrote:
 Paul,

 Thank you very much. Your instructions were clear, to the point and
exactly
 what I was looking for.

You're welcome.
 Should I worry about the ert highlights in the document?
The ones in section 6 (\verb...) are strictly for the specific content
in that section and will presumably disappear when you replace the text
with your own.  As to the others ...
 There are a few
 around the equations and within the bos that is in the figure? Since lyx
 handles these anutomatically, can I just delete them and insert  graphics
as
 normal?

The \begin{subequations} ... \end{subequations} thing is necessary if
you want to number parts of a mathematical formula using a single
equation number and letters (e.g., eq1a, eq1b, eq1c, ...).  I don't
think LyX has intrinsic support for it, so if you want subequations you
will need to put the environment begin/end statements in ERT.  I suspect
it does not matter whether use use ERT boxes before/after the math inset
or put the commands inside the math inset, but outside looks a bit
cleaner to me.

As to the graphics, they say epsfig is highly recommended.
Personally, I would just do it the usual LyX way and, if the output
looked right, leave well enough alone.  If they get crabby about it, you
can always try to mimic what they did.
 What are the purpose of the boxes? I don't see any effect on the end
 document? Are they used to scale the figures into the correct column
widths?

You mean the minipage inside the figure float and table float?  I'm not
sure what if any purpose they serve.  It might have something to do with
stretching the floats to fill the available space, or it could just be
that the author of the document overengineered it.  If you have a
propensity to insert footnotes in tables, I think you will need a
minipage in order to get the footnotes to print.  Otherwise, the only
other time I think I've used minipages inside floats had to do with some
weird alignment problem involving two objects being wedged into the same
float, and I don't recall the details now.  So this is another case
where I would be tempted to take a minimalist approach and, if the
output looked correct, leave well enough alone.
 What I was trying to attempt was to create a document class within lyx
that
 duplicated spconf.sty. I suspect this will happen again with various
papers
 I am submitting so I had hoped that I would be able to find a systematic
way
 of using latex .sty and .cls files in lyx.

 What I was trying to do previously was modify the article.layout file to
use
 the spconf.sty and so creating a spconf.layout that is selectable in the
 document classes of lyx.

This is the correct approach if you are going to use the new document
class on a somewhat regular basis.  It's not incorrect for a one-off use
but IMHO is more work than it's worth.  The main reason to create a new
layout file is that you will be using features (frequently environments)
unique to that class, and you want LyX to be able to display them in a
user-friendly way (and, in the case of environments, to make them
available on the drop-down list).  It's usually a fair bit of debugging
and requires an understanding of how layouts work, so if all the new
style does is change a few settings in a standard class (margins,
heading fonts, ...), I think it's easier to stick with the base class
and sprinkle in a little ERT.
 Thanks again
 Pdf

 p.s. I really think a few developers should look at a import application.
 With the amount of latex templates going about I am surprised there isn't
a
 more streamlined option in lyx to accommodate these, but then again I
 wouldn't have had the fun I've had trying to figure this out!

A LaTeX template is really just a LaTeX document using some new style
and/or class

RE: Latex template on 1.5.4

2008-03-11 Thread Phillip Ferguson
I found some teething issue with this template that I thought would be wise
to post in the same thread than start another.

Firstly is the authors preamble:

I am having trouble compiling this because if a change anything it complains
there is no \begin{} etc.
Secondly(and more importantly) as I have 3 authors of my paper I can just
substitute the names and all is well. However the text does not abide by the
margins for the document. Since I have very little knowledge of Latex I am
lost here. Is there a command I can use to constrain the width of the
authors to be in line with the columns or at least the margins?

Thirdly can I ask if there is anyway to keep figures and tables (especially
tables) from going over the column margins?

Fourthly I am having major headaches forcing lyx to position diagrams and
tables and equations at the tops of pages. Yes I know there is a command in
the float properties but sometimes it is just plainly ignored. Is there a
rule that float position is governed by?

Thanks again for all your help

pdf



-Original Message-
From: Paul A. Rubin [mailto:[EMAIL PROTECTED] 
Sent: 10 March 2008 15:32
To: Phillip Ferguson
Subject: Re: Latex template on 1.5.4

Phillip Ferguson wrote:
 Paul,

 Thank you very much. Your instructions were clear, to the point and
exactly
 what I was looking for.

You're welcome.
 Should I worry about the ert highlights in the document?
The ones in section 6 (\verb...) are strictly for the specific content
in that section and will presumably disappear when you replace the text
with your own.  As to the others ...
 There are a few
 around the equations and within the bos that is in the figure? Since lyx
 handles these anutomatically, can I just delete them and insert  graphics
as
 normal?

The \begin{subequations} ... \end{subequations} thing is necessary if
you want to number parts of a mathematical formula using a single
equation number and letters (e.g., eq1a, eq1b, eq1c, ...).  I don't
think LyX has intrinsic support for it, so if you want subequations you
will need to put the environment begin/end statements in ERT.  I suspect
it does not matter whether use use ERT boxes before/after the math inset
or put the commands inside the math inset, but outside looks a bit
cleaner to me.

As to the graphics, they say epsfig is highly recommended.
Personally, I would just do it the usual LyX way and, if the output
looked right, leave well enough alone.  If they get crabby about it, you
can always try to mimic what they did.
 What are the purpose of the boxes? I don't see any effect on the end
 document? Are they used to scale the figures into the correct column
widths?

You mean the minipage inside the figure float and table float?  I'm not
sure what if any purpose they serve.  It might have something to do with
stretching the floats to fill the available space, or it could just be
that the author of the document overengineered it.  If you have a
propensity to insert footnotes in tables, I think you will need a
minipage in order to get the footnotes to print.  Otherwise, the only
other time I think I've used minipages inside floats had to do with some
weird alignment problem involving two objects being wedged into the same
float, and I don't recall the details now.  So this is another case
where I would be tempted to take a minimalist approach and, if the
output looked correct, leave well enough alone.
 What I was trying to attempt was to create a document class within lyx
that
 duplicated spconf.sty. I suspect this will happen again with various
papers
 I am submitting so I had hoped that I would be able to find a systematic
way
 of using latex .sty and .cls files in lyx.

 What I was trying to do previously was modify the article.layout file to
use
 the spconf.sty and so creating a spconf.layout that is selectable in the
 document classes of lyx.

This is the correct approach if you are going to use the new document
class on a somewhat regular basis.  It's not incorrect for a one-off use
but IMHO is more work than it's worth.  The main reason to create a new
layout file is that you will be using features (frequently environments)
unique to that class, and you want LyX to be able to display them in a
user-friendly way (and, in the case of environments, to make them
available on the drop-down list).  It's usually a fair bit of debugging
and requires an understanding of how layouts work, so if all the new
style does is change a few settings in a standard class (margins,
heading fonts, ...), I think it's easier to stick with the base class
and sprinkle in a little ERT.
 Thanks again
 Pdf

 p.s. I really think a few developers should look at a import application.
 With the amount of latex templates going about I am surprised there isn't
a
 more streamlined option in lyx to accommodate these, but then again I
 wouldn't have had the fun I've had trying to figure this out!

A LaTeX template is really just a LaTeX document using some new style
and/or class

RE: Latex template on 1.5.4

2008-03-11 Thread Phillip Ferguson
I found some teething issue with this template that I thought would be wise
to post in the same thread than start another.

Firstly is the authors preamble:

I am having trouble compiling this because if a change anything it complains
there is no \begin{} etc.
Secondly(and more importantly) as I have 3 authors of my paper I can just
substitute the names and all is well. However the text does not abide by the
margins for the document. Since I have very little knowledge of Latex I am
lost here. Is there a command I can use to constrain the width of the
authors to be in line with the columns or at least the margins?

Thirdly can I ask if there is anyway to keep figures and tables (especially
tables) from going over the column margins?

Fourthly I am having major headaches forcing lyx to position diagrams and
tables and equations at the tops of pages. Yes I know there is a command in
the float properties but sometimes it is just plainly ignored. Is there a
rule that float position is governed by?

Thanks again for all your help

pdf



-Original Message-
From: Paul A. Rubin [mailto:[EMAIL PROTECTED] 
Sent: 10 March 2008 15:32
To: Phillip Ferguson
Subject: Re: Latex template on 1.5.4

Phillip Ferguson wrote:
> Paul,
>
> Thank you very much. Your instructions were clear, to the point and
exactly
> what I was looking for.
>
You're welcome.
> Should I worry about the ert highlights in the document?
The ones in section 6 (\verb...) are strictly for the specific content
in that section and will presumably disappear when you replace the text
with your own.  As to the others ...
> There are a few
> around the equations and within the bos that is in the figure? Since lyx
> handles these anutomatically, can I just delete them and insert  graphics
as
> normal?
>
The \begin{subequations} ... \end{subequations} thing is necessary if
you want to number parts of a mathematical formula using a single
equation number and letters (e.g., eq1a, eq1b, eq1c, ...).  I don't
think LyX has intrinsic support for it, so if you want subequations you
will need to put the environment begin/end statements in ERT.  I suspect
it does not matter whether use use ERT boxes before/after the math inset
or put the commands inside the math inset, but outside looks a bit
cleaner to me.

As to the graphics, they say epsfig is "highly recommended".
Personally, I would just do it the usual LyX way and, if the output
looked right, leave well enough alone.  If they get crabby about it, you
can always try to mimic what they did.
> What are the purpose of the boxes? I don't see any effect on the end
> document? Are they used to scale the figures into the correct column
widths?
>
You mean the minipage inside the figure float and table float?  I'm not
sure what if any purpose they serve.  It might have something to do with
stretching the floats to fill the available space, or it could just be
that the author of the document "overengineered" it.  If you have a
propensity to insert footnotes in tables, I think you will need a
minipage in order to get the footnotes to print.  Otherwise, the only
other time I think I've used minipages inside floats had to do with some
weird alignment problem involving two objects being wedged into the same
float, and I don't recall the details now.  So this is another case
where I would be tempted to take a minimalist approach and, if the
output looked correct, leave well enough alone.
> What I was trying to attempt was to create a document class within lyx
that
> duplicated spconf.sty. I suspect this will happen again with various
papers
> I am submitting so I had hoped that I would be able to find a systematic
way
> of using latex .sty and .cls files in lyx.
>
> What I was trying to do previously was modify the article.layout file to
use
> the spconf.sty and so creating a spconf.layout that is selectable in the
> document classes of lyx.
>
This is the correct approach if you are going to use the new document
class on a somewhat regular basis.  It's not incorrect for a one-off use
but IMHO is more work than it's worth.  The main reason to create a new
layout file is that you will be using features (frequently environments)
unique to that class, and you want LyX to be able to display them in a
user-friendly way (and, in the case of environments, to make them
available on the drop-down list).  It's usually a fair bit of debugging
and requires an understanding of how layouts work, so if all the new
style does is change a few settings in a standard class (margins,
heading fonts, ...), I think it's easier to stick with the base class
and sprinkle in a little ERT.
> Thanks again
> Pdf
>
> p.s. I really think a few developers should look at a import application.
> With the amount of latex templates going about I am surprised there isn't
a
> more streamlined option in lyx to accommodate these, but then again I
> wo

RE: Latex template on 1.5.4

2008-03-10 Thread Phillip Ferguson
Paul,

Thank you very much. Your instructions were clear, to the point and exactly
what I was looking for.

Should I worry about the ert highlights in the document? There are a few
around the equations and within the bos that is in the figure? Since lyx
handles these anutomatically, can I just delete them and insert  graphics as
normal?
What are the purpose of the boxes? I don't see any effect on the end
document? Are they used to scale the figures into the correct column widths?


What I was trying to attempt was to create a document class within lyx that
duplicated spconf.sty. I suspect this will happen again with various papers
I am submitting so I had hoped that I would be able to find a systematic way
of using latex .sty and .cls files in lyx.

What I was trying to do previously was modify the article.layout file to use
the spconf.sty and so creating a spconf.layout that is selectable in the
document classes of lyx.

Thanks again
Pdf

p.s. I really think a few developers should look at a import application.
With the amount of latex templates going about I am surprised there isn't a
more streamlined option in lyx to accommodate these, but then again I
wouldn't have had the fun I've had trying to figure this out!

-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Paul A. Rubin
Sent: 09 March 2008 20:19
To: lyx-users@lists.lyx.org
Subject: Re: Latex template on 1.5.4

Phillip Ferguson wrote:

 It has now boiled down to a layout file. At this point in time there is a
 document class unavailable to use.

 I have the orginal spconf.sty, and the layout file which is a derivative
of
 the article class.

 What I needs is the spconf package, where can I get it?


Like Bob, I got a bit lost here.  Assuming you are just going to use
this package to submit to this one conference (and not use it on a
regular basis), you really don't need a layout file at all.  Since I'm
not sure what you've done to date, I'll rewind to the beginning and show
one way to get it in production.

1.  Open the MiKTeX Settings application, click on the Roots tab, and
find the path to the directory described as UserConfig.  If you
left-click it and hover over it, you'll see the full path.  Leave this
application open, you'll need it again.

2.  Find that directory in Windows Explorer and drill down to
UserConfig\tex\latex (which should already be there).  Unzip fpl08.zip
there, which should create a subfolder named fpl08.

3.  Return to the MiKTeX Settings application, click on the General tab,
and click Refresh FNDB.  Sit back and watch your hard drive spin.  When
that's done, you can click either Ok or Cancel and exit the application.

4.  [Optional]  You might want to create a shortcut someplace to the
UserConfig\tex\latex\fpl08 folder.  Alternatively, you might want to
copy the two .bib files and .eps file to a more convenient folder (i.e.,
one buried less deeply in the rubble).

5.  Paste the attached LyX file into whatever directory has the .eps and
.bib files.  This is basically the sample proceedings document (which
contains formatting instructions) converted to LyX.  I put in the bare
minimum formatting (page size, margins, Times Roman 10 pt. as the base
font), but you may need to do more fiddling to pacify the conference
gods.  Also, I trimmed out some of the less informative comments and put
the others in bright yellow LyX Notes.  The author, affiliation and
acknowledgment stuff is in the preamble (Document - Settings... -
LaTeX Preamble), which you'll need to edit in your own documents unless
you want someone else to take the blame.  :-)

6.  Open fpl08.lyx in LyX either by double-clicking the file icon or
using File - Open.  Try View - DVI to make sure things work correctly.

7.  To create a new proceedings, just do File - Save As to create a new
copy (with a different name, obviously), and then hack out the current
contents and insert your own.  (You can open the original with File -
New from Template as an insurance policy against overwriting it.)

Hope this helps,
Paul



Re: Latex template on 1.5.4

2008-03-10 Thread Bob Lounsbury
On Mon, Mar 10, 2008 at 3:52 AM, Phillip Ferguson 
[EMAIL PROTECTED] wrote:

 What I was trying to do previously was modify the article.layout file to
 use
 the spconf.sty and so creating a spconf.layout that is selectable in the
 document classes of lyx.



Ok, why didn't you say so? :-}

Copy the article.layout from:

C:\Program Files\LyX15\Resources\layouts

to:

C:\Documents and Settings\username\Application Data\lyx15\layouts

then you can rename the file to spconf.layout and then open it in a text
editor and edit the declare latex line to:

\DeclareLaTeXClass[article,spconf.sty]{article (spconf)}

You can change article (spconf) to any name you like. Then reconfigure LyX
and in the document settings 'article (spconf)' should show up.

Even though you prefer Paul's approach to placing your spconf.sty file
within the MiKTeX default locations, I still recommend setting up your own
personal latex hierarchy to store these custom .sty or .bst files. So that,
in the future if you had to reinstall Windoze (for some strange reason, God
forbid :-}). You know exactly where your custom files are and you don't have
to go searching through the bowels of MiKTeX to find them.

Just my 0.02.

Cheers,
/Bob


RE: Latex template on 1.5.4

2008-03-10 Thread Phillip Ferguson
Paul,

Thank you very much. Your instructions were clear, to the point and exactly
what I was looking for.

Should I worry about the ert highlights in the document? There are a few
around the equations and within the bos that is in the figure? Since lyx
handles these anutomatically, can I just delete them and insert  graphics as
normal?
What are the purpose of the boxes? I don't see any effect on the end
document? Are they used to scale the figures into the correct column widths?


What I was trying to attempt was to create a document class within lyx that
duplicated spconf.sty. I suspect this will happen again with various papers
I am submitting so I had hoped that I would be able to find a systematic way
of using latex .sty and .cls files in lyx.

What I was trying to do previously was modify the article.layout file to use
the spconf.sty and so creating a spconf.layout that is selectable in the
document classes of lyx.

Thanks again
Pdf

p.s. I really think a few developers should look at a import application.
With the amount of latex templates going about I am surprised there isn't a
more streamlined option in lyx to accommodate these, but then again I
wouldn't have had the fun I've had trying to figure this out!

-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Paul A. Rubin
Sent: 09 March 2008 20:19
To: lyx-users@lists.lyx.org
Subject: Re: Latex template on 1.5.4

Phillip Ferguson wrote:

 It has now boiled down to a layout file. At this point in time there is a
 document class unavailable to use.

 I have the orginal spconf.sty, and the layout file which is a derivative
of
 the article class.

 What I needs is the spconf package, where can I get it?


Like Bob, I got a bit lost here.  Assuming you are just going to use
this package to submit to this one conference (and not use it on a
regular basis), you really don't need a layout file at all.  Since I'm
not sure what you've done to date, I'll rewind to the beginning and show
one way to get it in production.

1.  Open the MiKTeX Settings application, click on the Roots tab, and
find the path to the directory described as UserConfig.  If you
left-click it and hover over it, you'll see the full path.  Leave this
application open, you'll need it again.

2.  Find that directory in Windows Explorer and drill down to
UserConfig\tex\latex (which should already be there).  Unzip fpl08.zip
there, which should create a subfolder named fpl08.

3.  Return to the MiKTeX Settings application, click on the General tab,
and click Refresh FNDB.  Sit back and watch your hard drive spin.  When
that's done, you can click either Ok or Cancel and exit the application.

4.  [Optional]  You might want to create a shortcut someplace to the
UserConfig\tex\latex\fpl08 folder.  Alternatively, you might want to
copy the two .bib files and .eps file to a more convenient folder (i.e.,
one buried less deeply in the rubble).

5.  Paste the attached LyX file into whatever directory has the .eps and
.bib files.  This is basically the sample proceedings document (which
contains formatting instructions) converted to LyX.  I put in the bare
minimum formatting (page size, margins, Times Roman 10 pt. as the base
font), but you may need to do more fiddling to pacify the conference
gods.  Also, I trimmed out some of the less informative comments and put
the others in bright yellow LyX Notes.  The author, affiliation and
acknowledgment stuff is in the preamble (Document - Settings... -
LaTeX Preamble), which you'll need to edit in your own documents unless
you want someone else to take the blame.  :-)

6.  Open fpl08.lyx in LyX either by double-clicking the file icon or
using File - Open.  Try View - DVI to make sure things work correctly.

7.  To create a new proceedings, just do File - Save As to create a new
copy (with a different name, obviously), and then hack out the current
contents and insert your own.  (You can open the original with File -
New from Template as an insurance policy against overwriting it.)

Hope this helps,
Paul



Re: Latex template on 1.5.4

2008-03-10 Thread Bob Lounsbury
On Mon, Mar 10, 2008 at 3:52 AM, Phillip Ferguson 
[EMAIL PROTECTED] wrote:

 What I was trying to do previously was modify the article.layout file to
 use
 the spconf.sty and so creating a spconf.layout that is selectable in the
 document classes of lyx.



Ok, why didn't you say so? :-}

Copy the article.layout from:

C:\Program Files\LyX15\Resources\layouts

to:

C:\Documents and Settings\username\Application Data\lyx15\layouts

then you can rename the file to spconf.layout and then open it in a text
editor and edit the declare latex line to:

\DeclareLaTeXClass[article,spconf.sty]{article (spconf)}

You can change article (spconf) to any name you like. Then reconfigure LyX
and in the document settings 'article (spconf)' should show up.

Even though you prefer Paul's approach to placing your spconf.sty file
within the MiKTeX default locations, I still recommend setting up your own
personal latex hierarchy to store these custom .sty or .bst files. So that,
in the future if you had to reinstall Windoze (for some strange reason, God
forbid :-}). You know exactly where your custom files are and you don't have
to go searching through the bowels of MiKTeX to find them.

Just my 0.02.

Cheers,
/Bob


RE: Latex template on 1.5.4

2008-03-10 Thread Phillip Ferguson
Paul,

Thank you very much. Your instructions were clear, to the point and exactly
what I was looking for.

Should I worry about the ert highlights in the document? There are a few
around the equations and within the bos that is in the figure? Since lyx
handles these anutomatically, can I just delete them and insert  graphics as
normal?
What are the purpose of the boxes? I don't see any effect on the end
document? Are they used to scale the figures into the correct column widths?


What I was trying to attempt was to create a document class within lyx that
duplicated spconf.sty. I suspect this will happen again with various papers
I am submitting so I had hoped that I would be able to find a systematic way
of using latex .sty and .cls files in lyx.

What I was trying to do previously was modify the article.layout file to use
the spconf.sty and so creating a spconf.layout that is selectable in the
document classes of lyx.

Thanks again
Pdf

p.s. I really think a few developers should look at a import application.
With the amount of latex templates going about I am surprised there isn't a
more streamlined option in lyx to accommodate these, but then again I
wouldn't have had the fun I've had trying to figure this out!

-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Paul A. Rubin
Sent: 09 March 2008 20:19
To: lyx-users@lists.lyx.org
Subject: Re: Latex template on 1.5.4

Phillip Ferguson wrote:
>
> It has now boiled down to a layout file. At this point in time there is a
> document class unavailable to use.
>
> I have the orginal spconf.sty, and the layout file which is a derivative
of
> the article class.
>
> What I needs is the spconf package, where can I get it?
>

Like Bob, I got a bit lost here.  Assuming you are just going to use
this package to submit to this one conference (and not use it on a
regular basis), you really don't need a layout file at all.  Since I'm
not sure what you've done to date, I'll rewind to the beginning and show
one way to get it in production.

1.  Open the MiKTeX Settings application, click on the Roots tab, and
find the path to the directory described as "UserConfig".  If you
left-click it and hover over it, you'll see the full path.  Leave this
application open, you'll need it again.

2.  Find that directory in Windows Explorer and drill down to
\tex\latex (which should already be there).  Unzip fpl08.zip
there, which should create a subfolder named fpl08.

3.  Return to the MiKTeX Settings application, click on the General tab,
and click Refresh FNDB.  Sit back and watch your hard drive spin.  When
that's done, you can click either Ok or Cancel and exit the application.

4.  [Optional]  You might want to create a shortcut someplace to the
\tex\latex\fpl08 folder.  Alternatively, you might want to
copy the two .bib files and .eps file to a more convenient folder (i.e.,
one buried less deeply in the rubble).

5.  Paste the attached LyX file into whatever directory has the .eps and
.bib files.  This is basically the sample proceedings document (which
contains formatting instructions) converted to LyX.  I put in the bare
minimum formatting (page size, margins, Times Roman 10 pt. as the base
font), but you may need to do more fiddling to pacify the conference
gods.  Also, I trimmed out some of the less informative comments and put
the others in bright yellow LyX Notes.  The author, affiliation and
acknowledgment stuff is in the preamble (Document -> Settings... ->
LaTeX Preamble), which you'll need to edit in your own documents unless
you want someone else to take the blame.  :-)

6.  Open fpl08.lyx in LyX either by double-clicking the file icon or
using File -> Open.  Try View -> DVI to make sure things work correctly.

7.  To create a new proceedings, just do File -> Save As to create a new
copy (with a different name, obviously), and then hack out the current
contents and insert your own.  (You can open the original with File ->
New from Template as an insurance policy against overwriting it.)

Hope this helps,
Paul



Re: Latex template on 1.5.4

2008-03-10 Thread Bob Lounsbury
On Mon, Mar 10, 2008 at 3:52 AM, Phillip Ferguson <
[EMAIL PROTECTED]> wrote:

> What I was trying to do previously was modify the article.layout file to
> use
> the spconf.sty and so creating a spconf.layout that is selectable in the
> document classes of lyx.
>


Ok, why didn't you say so? :-}

Copy the article.layout from:

C:\Program Files\LyX15\Resources\layouts

to:

C:\Documents and Settings\username\Application Data\lyx15\layouts

then you can rename the file to spconf.layout and then open it in a text
editor and edit the declare latex line to:

\DeclareLaTeXClass[article,spconf.sty]{article (spconf)}

You can change article (spconf) to any name you like. Then reconfigure LyX
and in the document settings 'article (spconf)' should show up.

Even though you prefer Paul's approach to placing your spconf.sty file
within the MiKTeX default locations, I still recommend setting up your own
personal latex hierarchy to store these custom .sty or .bst files. So that,
in the future if you had to reinstall Windoze (for some strange reason, God
forbid :-}). You know exactly where your custom files are and you don't have
to go searching through the bowels of MiKTeX to find them.

Just my 0.02.

Cheers,
/Bob


Re: Latex template on 1.5.4

2008-03-09 Thread Paul A. Rubin

Phillip Ferguson wrote:


It has now boiled down to a layout file. At this point in time there is a
document class unavailable to use.

I have the orginal spconf.sty, and the layout file which is a derivative of
the article class.

What I needs is the spconf package, where can I get it?



Like Bob, I got a bit lost here.  Assuming you are just going to use 
this package to submit to this one conference (and not use it on a 
regular basis), you really don't need a layout file at all.  Since I'm 
not sure what you've done to date, I'll rewind to the beginning and show 
one way to get it in production.


1.  Open the MiKTeX Settings application, click on the Roots tab, and 
find the path to the directory described as UserConfig.  If you 
left-click it and hover over it, you'll see the full path.  Leave this 
application open, you'll need it again.


2.  Find that directory in Windows Explorer and drill down to 
UserConfig\tex\latex (which should already be there).  Unzip fpl08.zip 
there, which should create a subfolder named fpl08.


3.  Return to the MiKTeX Settings application, click on the General tab, 
and click Refresh FNDB.  Sit back and watch your hard drive spin.  When 
that's done, you can click either Ok or Cancel and exit the application.


4.  [Optional]  You might want to create a shortcut someplace to the 
UserConfig\tex\latex\fpl08 folder.  Alternatively, you might want to 
copy the two .bib files and .eps file to a more convenient folder (i.e., 
one buried less deeply in the rubble).


5.  Paste the attached LyX file into whatever directory has the .eps and 
.bib files.  This is basically the sample proceedings document (which 
contains formatting instructions) converted to LyX.  I put in the bare 
minimum formatting (page size, margins, Times Roman 10 pt. as the base 
font), but you may need to do more fiddling to pacify the conference 
gods.  Also, I trimmed out some of the less informative comments and put 
the others in bright yellow LyX Notes.  The author, affiliation and 
acknowledgment stuff is in the preamble (Document - Settings... - 
LaTeX Preamble), which you'll need to edit in your own documents unless 
you want someone else to take the blame.  :-)


6.  Open fpl08.lyx in LyX either by double-clicking the file icon or 
using File - Open.  Try View - DVI to make sure things work correctly.


7.  To create a new proceedings, just do File - Save As to create a new 
copy (with a different name, obviously), and then hack out the current 
contents and insert your own.  (You can open the original with File - 
New from Template as an insurance policy against overwriting it.)


Hope this helps,
Paul


fpl08.lyx
Description: application/lyx


Re: Latex template on 1.5.4

2008-03-09 Thread Paul A. Rubin

Phillip Ferguson wrote:


It has now boiled down to a layout file. At this point in time there is a
document class unavailable to use.

I have the orginal spconf.sty, and the layout file which is a derivative of
the article class.

What I needs is the spconf package, where can I get it?



Like Bob, I got a bit lost here.  Assuming you are just going to use 
this package to submit to this one conference (and not use it on a 
regular basis), you really don't need a layout file at all.  Since I'm 
not sure what you've done to date, I'll rewind to the beginning and show 
one way to get it in production.


1.  Open the MiKTeX Settings application, click on the Roots tab, and 
find the path to the directory described as UserConfig.  If you 
left-click it and hover over it, you'll see the full path.  Leave this 
application open, you'll need it again.


2.  Find that directory in Windows Explorer and drill down to 
UserConfig\tex\latex (which should already be there).  Unzip fpl08.zip 
there, which should create a subfolder named fpl08.


3.  Return to the MiKTeX Settings application, click on the General tab, 
and click Refresh FNDB.  Sit back and watch your hard drive spin.  When 
that's done, you can click either Ok or Cancel and exit the application.


4.  [Optional]  You might want to create a shortcut someplace to the 
UserConfig\tex\latex\fpl08 folder.  Alternatively, you might want to 
copy the two .bib files and .eps file to a more convenient folder (i.e., 
one buried less deeply in the rubble).


5.  Paste the attached LyX file into whatever directory has the .eps and 
.bib files.  This is basically the sample proceedings document (which 
contains formatting instructions) converted to LyX.  I put in the bare 
minimum formatting (page size, margins, Times Roman 10 pt. as the base 
font), but you may need to do more fiddling to pacify the conference 
gods.  Also, I trimmed out some of the less informative comments and put 
the others in bright yellow LyX Notes.  The author, affiliation and 
acknowledgment stuff is in the preamble (Document - Settings... - 
LaTeX Preamble), which you'll need to edit in your own documents unless 
you want someone else to take the blame.  :-)


6.  Open fpl08.lyx in LyX either by double-clicking the file icon or 
using File - Open.  Try View - DVI to make sure things work correctly.


7.  To create a new proceedings, just do File - Save As to create a new 
copy (with a different name, obviously), and then hack out the current 
contents and insert your own.  (You can open the original with File - 
New from Template as an insurance policy against overwriting it.)


Hope this helps,
Paul


fpl08.lyx
Description: application/lyx


Re: Latex template on 1.5.4

2008-03-09 Thread Paul A. Rubin

Phillip Ferguson wrote:


It has now boiled down to a layout file. At this point in time there is a
document class unavailable to use.

I have the orginal spconf.sty, and the layout file which is a derivative of
the article class.

What I needs is the spconf package, where can I get it?



Like Bob, I got a bit lost here.  Assuming you are just going to use 
this package to submit to this one conference (and not use it on a 
regular basis), you really don't need a layout file at all.  Since I'm 
not sure what you've done to date, I'll rewind to the beginning and show 
one way to get it in production.


1.  Open the MiKTeX Settings application, click on the Roots tab, and 
find the path to the directory described as "UserConfig".  If you 
left-click it and hover over it, you'll see the full path.  Leave this 
application open, you'll need it again.


2.  Find that directory in Windows Explorer and drill down to 
\tex\latex (which should already be there).  Unzip fpl08.zip 
there, which should create a subfolder named fpl08.


3.  Return to the MiKTeX Settings application, click on the General tab, 
and click Refresh FNDB.  Sit back and watch your hard drive spin.  When 
that's done, you can click either Ok or Cancel and exit the application.


4.  [Optional]  You might want to create a shortcut someplace to the 
\tex\latex\fpl08 folder.  Alternatively, you might want to 
copy the two .bib files and .eps file to a more convenient folder (i.e., 
one buried less deeply in the rubble).


5.  Paste the attached LyX file into whatever directory has the .eps and 
.bib files.  This is basically the sample proceedings document (which 
contains formatting instructions) converted to LyX.  I put in the bare 
minimum formatting (page size, margins, Times Roman 10 pt. as the base 
font), but you may need to do more fiddling to pacify the conference 
gods.  Also, I trimmed out some of the less informative comments and put 
the others in bright yellow LyX Notes.  The author, affiliation and 
acknowledgment stuff is in the preamble (Document -> Settings... -> 
LaTeX Preamble), which you'll need to edit in your own documents unless 
you want someone else to take the blame.  :-)


6.  Open fpl08.lyx in LyX either by double-clicking the file icon or 
using File -> Open.  Try View -> DVI to make sure things work correctly.


7.  To create a new proceedings, just do File -> Save As to create a new 
copy (with a different name, obviously), and then hack out the current 
contents and insert your own.  (You can open the original with File -> 
New from Template as an insurance policy against overwriting it.)


Hope this helps,
Paul


fpl08.lyx
Description: application/lyx


RE: Latex template on 1.5.4

2008-03-08 Thread Phillip Ferguson
I am using the altwindows installer.

It has now boiled down to a layout file. At this point in time there is a
document class unavailable to use.

I have the orginal spconf.sty, and the layout file which is a derivative of
the article class.

What I needs is the spconf package, where can I get it?

Thanks for any help!

pdf

-Original Message-
From: Bob Lounsbury [mailto:[EMAIL PROTECTED] 
Sent: 06 March 2008 18:50
To: lyx-users@lists.lyx.org
Subject: Re: Latex template on 1.5.4

On Thu, Mar 6, 2008 at 8:30 AM, Phillip Ferguson
[EMAIL PROTECTED] wrote:
 I tried that and yes I did see quite a few ERT. When I try to view it
either
  as a dvi or pdf there are sections missing in comparison to the dvi file
  supplied.

  The tex file uses a latex style, spconf.sty, which in turn uses the
article
  class and the spconf package. Although the linking is clear, I don't
  understand even from the documentation how to install this latex document
  class.

  Is it case of creating a layout file by copying the article.layout
  Renaming it to - spconf.layout which contains
  Then modifying the following lines:

  \DeclareLaTeXClass{article}

  To

  \DeclareLaTeXClass[article,spconf.sty]{ article(spconf) }

  Then add

  Preamble
 \usepackage{spconf}
  EndPreamble


  If this is the case and I create this layout file, do I have to put
  spconf.sty in the layout directory also? Or do they go in the
Resources\tex
  folder?

  How do i source the package as it is not appearing in my package manager.

  Can anyone clarify? Or if willing try and install the template themselves
  and see how far they get?

  Thanks

  PDF

Installing the spconf.sty depends on your operating system and tex
installation. What are you using?

After it's installed and recognized by tex then you should only have
to insert \usepackage{spconf} in your LyX preamble. In some cases
you'll need to reconfigure LyX.

Cheers,
/Bob



Re: Latex template on 1.5.4

2008-03-08 Thread Bob Lounsbury
On Sat, Mar 8, 2008 at 8:50 AM, Phillip Ferguson 
[EMAIL PROTECTED] wrote:

 I am using the altwindows installer.


Ok, this means Windoz$ XP with MiKTeX I presume.




 It has now boiled down to a layout file. At this point in time there is a
 document class unavailable to use.


I'm not following. What document class is unavailable I thought all you
needed was article.cls?




 I have the orginal spconf.sty, and the layout file which is a derivative
 of
 the article class.

 What I needs is the spconf package, where can I get it?


The spconf.sty file is the package. Now, to install it all you have to do is
place it a under a latex folder that is recognized by MiKTeX.

I think the best way to do this is to create your own folder hierarchy so
that when/if MiKTeX is removed or updated you don't lose your custom
packages or bib styles.

I've created folders under:
 C:\Documents and Settings\username\texmf\tex\latex
 C:\Documents and Settings\username\texmf\tex\bibtex\bib
 C:\Documents and Settings\username\texmf\tex\bibtex\bst

Then in the MiKTeX settings I added a Root path to  C:\Documents and
Settings\username\texmf and then I would put your spconf.sty under the latex
folder that you just created.

After this is done you will need to refresh the database. Which is done
under MiKTeX settings 'Refresh FNDB' or by entering 'texhash' in a command
prompt.

You may or may not have to reconfigure LyX after all of this, but once it's
working you can put \usepackage{spconf} in the preamble and all will be
right with the world.

You can also check to see if LyX has found your spconf.sty by looking under
Tools-TeX Information and selecting LaTeX styles and looking for it. If
it's there you're good to go, if it's not then you can 'Rescan' and see if
it pops up, if not then reconfigure LyX.


Cheers,
/Bob


RE: Latex template on 1.5.4

2008-03-08 Thread Phillip Ferguson
I am using the altwindows installer.

It has now boiled down to a layout file. At this point in time there is a
document class unavailable to use.

I have the orginal spconf.sty, and the layout file which is a derivative of
the article class.

What I needs is the spconf package, where can I get it?

Thanks for any help!

pdf

-Original Message-
From: Bob Lounsbury [mailto:[EMAIL PROTECTED] 
Sent: 06 March 2008 18:50
To: lyx-users@lists.lyx.org
Subject: Re: Latex template on 1.5.4

On Thu, Mar 6, 2008 at 8:30 AM, Phillip Ferguson
[EMAIL PROTECTED] wrote:
 I tried that and yes I did see quite a few ERT. When I try to view it
either
  as a dvi or pdf there are sections missing in comparison to the dvi file
  supplied.

  The tex file uses a latex style, spconf.sty, which in turn uses the
article
  class and the spconf package. Although the linking is clear, I don't
  understand even from the documentation how to install this latex document
  class.

  Is it case of creating a layout file by copying the article.layout
  Renaming it to - spconf.layout which contains
  Then modifying the following lines:

  \DeclareLaTeXClass{article}

  To

  \DeclareLaTeXClass[article,spconf.sty]{ article(spconf) }

  Then add

  Preamble
 \usepackage{spconf}
  EndPreamble


  If this is the case and I create this layout file, do I have to put
  spconf.sty in the layout directory also? Or do they go in the
Resources\tex
  folder?

  How do i source the package as it is not appearing in my package manager.

  Can anyone clarify? Or if willing try and install the template themselves
  and see how far they get?

  Thanks

  PDF

Installing the spconf.sty depends on your operating system and tex
installation. What are you using?

After it's installed and recognized by tex then you should only have
to insert \usepackage{spconf} in your LyX preamble. In some cases
you'll need to reconfigure LyX.

Cheers,
/Bob



Re: Latex template on 1.5.4

2008-03-08 Thread Bob Lounsbury
On Sat, Mar 8, 2008 at 8:50 AM, Phillip Ferguson 
[EMAIL PROTECTED] wrote:

 I am using the altwindows installer.


Ok, this means Windoz$ XP with MiKTeX I presume.




 It has now boiled down to a layout file. At this point in time there is a
 document class unavailable to use.


I'm not following. What document class is unavailable I thought all you
needed was article.cls?




 I have the orginal spconf.sty, and the layout file which is a derivative
 of
 the article class.

 What I needs is the spconf package, where can I get it?


The spconf.sty file is the package. Now, to install it all you have to do is
place it a under a latex folder that is recognized by MiKTeX.

I think the best way to do this is to create your own folder hierarchy so
that when/if MiKTeX is removed or updated you don't lose your custom
packages or bib styles.

I've created folders under:
 C:\Documents and Settings\username\texmf\tex\latex
 C:\Documents and Settings\username\texmf\tex\bibtex\bib
 C:\Documents and Settings\username\texmf\tex\bibtex\bst

Then in the MiKTeX settings I added a Root path to  C:\Documents and
Settings\username\texmf and then I would put your spconf.sty under the latex
folder that you just created.

After this is done you will need to refresh the database. Which is done
under MiKTeX settings 'Refresh FNDB' or by entering 'texhash' in a command
prompt.

You may or may not have to reconfigure LyX after all of this, but once it's
working you can put \usepackage{spconf} in the preamble and all will be
right with the world.

You can also check to see if LyX has found your spconf.sty by looking under
Tools-TeX Information and selecting LaTeX styles and looking for it. If
it's there you're good to go, if it's not then you can 'Rescan' and see if
it pops up, if not then reconfigure LyX.


Cheers,
/Bob


RE: Latex template on 1.5.4

2008-03-08 Thread Phillip Ferguson
I am using the altwindows installer.

It has now boiled down to a layout file. At this point in time there is a
document class unavailable to use.

I have the orginal spconf.sty, and the layout file which is a derivative of
the article class.

What I needs is the spconf package, where can I get it?

Thanks for any help!

pdf

-Original Message-
From: Bob Lounsbury [mailto:[EMAIL PROTECTED] 
Sent: 06 March 2008 18:50
To: lyx-users@lists.lyx.org
Subject: Re: Latex template on 1.5.4

On Thu, Mar 6, 2008 at 8:30 AM, Phillip Ferguson
<[EMAIL PROTECTED]> wrote:
> I tried that and yes I did see quite a few ERT. When I try to view it
either
>  as a dvi or pdf there are sections missing in comparison to the dvi file
>  supplied.
>
>  The tex file uses a latex style, spconf.sty, which in turn uses the
article
>  class and the spconf package. Although the linking is clear, I don't
>  understand even from the documentation how to install this latex document
>  class.
>
>  Is it case of creating a layout file by copying the article.layout
>  Renaming it to - spconf.layout which contains
>  Then modifying the following lines:
>
>  \DeclareLaTeXClass{article}
>
>  To
>
>  \DeclareLaTeXClass[article,spconf.sty]{ article(spconf) }
>
>  Then add
>
>  Preamble
> \usepackage{spconf}
>  EndPreamble
>
>
>  If this is the case and I create this layout file, do I have to put
>  spconf.sty in the layout directory also? Or do they go in the
Resources\tex
>  folder?
>
>  How do i source the package as it is not appearing in my package manager.
>
>  Can anyone clarify? Or if willing try and install the template themselves
>  and see how far they get?
>
>  Thanks
>
>  PDF

Installing the spconf.sty depends on your operating system and tex
installation. What are you using?

After it's installed and recognized by tex then you should only have
to insert \usepackage{spconf} in your LyX preamble. In some cases
you'll need to reconfigure LyX.

Cheers,
/Bob



Re: Latex template on 1.5.4

2008-03-08 Thread Bob Lounsbury
On Sat, Mar 8, 2008 at 8:50 AM, Phillip Ferguson <
[EMAIL PROTECTED]> wrote:

> I am using the altwindows installer.


Ok, this means Windoz$ XP with MiKTeX I presume.


>
>
> It has now boiled down to a layout file. At this point in time there is a
> document class unavailable to use.


I'm not following. What document class is unavailable I thought all you
needed was article.cls?


>
>
> I have the orginal spconf.sty, and the layout file which is a derivative
> of
> the article class.
>
> What I needs is the spconf package, where can I get it?
>

The spconf.sty file is the package. Now, to install it all you have to do is
place it a under a latex folder that is recognized by MiKTeX.

I think the best way to do this is to create your own folder hierarchy so
that when/if MiKTeX is removed or updated you don't lose your custom
packages or bib styles.

I've created folders under:
 C:\Documents and Settings\username\texmf\tex\latex
 C:\Documents and Settings\username\texmf\tex\bibtex\bib
 C:\Documents and Settings\username\texmf\tex\bibtex\bst

Then in the MiKTeX settings I added a Root path to  C:\Documents and
Settings\username\texmf and then I would put your spconf.sty under the latex
folder that you just created.

After this is done you will need to refresh the database. Which is done
under MiKTeX settings 'Refresh FNDB' or by entering 'texhash' in a command
prompt.

You may or may not have to reconfigure LyX after all of this, but once it's
working you can put \usepackage{spconf} in the preamble and all will be
right with the world.

You can also check to see if LyX has found your spconf.sty by looking under
Tools->TeX Information and selecting LaTeX styles and looking for it. If
it's there you're good to go, if it's not then you can 'Rescan' and see if
it pops up, if not then reconfigure LyX.


Cheers,
/Bob


RE: Latex template on 1.5.4

2008-03-06 Thread Phillip Ferguson
I tried that and yes I did see quite a few ERT. When I try to view it either
as a dvi or pdf there are sections missing in comparison to the dvi file
supplied.

The tex file uses a latex style, spconf.sty, which in turn uses the article
class and the spconf package. Although the linking is clear, I don't
understand even from the documentation how to install this latex document
class.

Is it case of creating a layout file by copying the article.layout
Renaming it to - spconf.layout which contains
Then modifying the following lines:

\DeclareLaTeXClass{article}

To

\DeclareLaTeXClass[article,spconf.sty]{ article(spconf) }
 
Then add

Preamble
\usepackage{spconf}
EndPreamble


If this is the case and I create this layout file, do I have to put
spconf.sty in the layout directory also? Or do they go in the Resources\tex
folder?

How do i source the package as it is not appearing in my package manager.

Can anyone clarify? Or if willing try and install the template themselves
and see how far they get?
 
Thanks

PDF

-Original Message-
From: G. Milde [mailto:[EMAIL PROTECTED] 
Sent: 05 March 2008 14:03
To: lyx-users@lists.lyx.org
Subject: Re: Latex template on 1.5.4

On  5.03.08, Phillip Ferguson wrote:
 Hey Lyx Users,

 I am struggling as to how to use a latex template with Lyx 1.5.4.

 The template in question is found on this webpage.

http://www.kip.uni-heidelberg.de/fpl08/cms/website.php?id=/de/index/submissi
on.htm

 I appreciate that this may be close to other IEEE templates already
 installed but I would appreciate if anyone could point me in the right
 direction (for future reference) on how to install such a template.

1.  Try to import the latex template file into LyX (FileImport...)

2a. If this works well, save it in your templates folder to install it
(i.e. be able to open it with FileNew from Template) or just save
under a different name and work with the copy.

2b. If there are errors, you might need to install a corresponding
latex class. See HelpCustomisation

You can reduce the amount of ERT in the imported template by defining a
special layout file (also described in HelpCustomisation) and after
configuring LyX import the latex template again.

GM




Re: Latex template on 1.5.4

2008-03-06 Thread Bob Lounsbury
On Thu, Mar 6, 2008 at 8:30 AM, Phillip Ferguson
[EMAIL PROTECTED] wrote:
 I tried that and yes I did see quite a few ERT. When I try to view it either
  as a dvi or pdf there are sections missing in comparison to the dvi file
  supplied.

  The tex file uses a latex style, spconf.sty, which in turn uses the article
  class and the spconf package. Although the linking is clear, I don't
  understand even from the documentation how to install this latex document
  class.

  Is it case of creating a layout file by copying the article.layout
  Renaming it to - spconf.layout which contains
  Then modifying the following lines:

  \DeclareLaTeXClass{article}

  To

  \DeclareLaTeXClass[article,spconf.sty]{ article(spconf) }

  Then add

  Preamble
 \usepackage{spconf}
  EndPreamble


  If this is the case and I create this layout file, do I have to put
  spconf.sty in the layout directory also? Or do they go in the Resources\tex
  folder?

  How do i source the package as it is not appearing in my package manager.

  Can anyone clarify? Or if willing try and install the template themselves
  and see how far they get?

  Thanks

  PDF

Installing the spconf.sty depends on your operating system and tex
installation. What are you using?

After it's installed and recognized by tex then you should only have
to insert \usepackage{spconf} in your LyX preamble. In some cases
you'll need to reconfigure LyX.

Cheers,
/Bob


RE: Latex template on 1.5.4

2008-03-06 Thread Phillip Ferguson
I tried that and yes I did see quite a few ERT. When I try to view it either
as a dvi or pdf there are sections missing in comparison to the dvi file
supplied.

The tex file uses a latex style, spconf.sty, which in turn uses the article
class and the spconf package. Although the linking is clear, I don't
understand even from the documentation how to install this latex document
class.

Is it case of creating a layout file by copying the article.layout
Renaming it to - spconf.layout which contains
Then modifying the following lines:

\DeclareLaTeXClass{article}

To

\DeclareLaTeXClass[article,spconf.sty]{ article(spconf) }
 
Then add

Preamble
\usepackage{spconf}
EndPreamble


If this is the case and I create this layout file, do I have to put
spconf.sty in the layout directory also? Or do they go in the Resources\tex
folder?

How do i source the package as it is not appearing in my package manager.

Can anyone clarify? Or if willing try and install the template themselves
and see how far they get?
 
Thanks

PDF

-Original Message-
From: G. Milde [mailto:[EMAIL PROTECTED] 
Sent: 05 March 2008 14:03
To: lyx-users@lists.lyx.org
Subject: Re: Latex template on 1.5.4

On  5.03.08, Phillip Ferguson wrote:
 Hey Lyx Users,

 I am struggling as to how to use a latex template with Lyx 1.5.4.

 The template in question is found on this webpage.

http://www.kip.uni-heidelberg.de/fpl08/cms/website.php?id=/de/index/submissi
on.htm

 I appreciate that this may be close to other IEEE templates already
 installed but I would appreciate if anyone could point me in the right
 direction (for future reference) on how to install such a template.

1.  Try to import the latex template file into LyX (FileImport...)

2a. If this works well, save it in your templates folder to install it
(i.e. be able to open it with FileNew from Template) or just save
under a different name and work with the copy.

2b. If there are errors, you might need to install a corresponding
latex class. See HelpCustomisation

You can reduce the amount of ERT in the imported template by defining a
special layout file (also described in HelpCustomisation) and after
configuring LyX import the latex template again.

GM




Re: Latex template on 1.5.4

2008-03-06 Thread Bob Lounsbury
On Thu, Mar 6, 2008 at 8:30 AM, Phillip Ferguson
[EMAIL PROTECTED] wrote:
 I tried that and yes I did see quite a few ERT. When I try to view it either
  as a dvi or pdf there are sections missing in comparison to the dvi file
  supplied.

  The tex file uses a latex style, spconf.sty, which in turn uses the article
  class and the spconf package. Although the linking is clear, I don't
  understand even from the documentation how to install this latex document
  class.

  Is it case of creating a layout file by copying the article.layout
  Renaming it to - spconf.layout which contains
  Then modifying the following lines:

  \DeclareLaTeXClass{article}

  To

  \DeclareLaTeXClass[article,spconf.sty]{ article(spconf) }

  Then add

  Preamble
 \usepackage{spconf}
  EndPreamble


  If this is the case and I create this layout file, do I have to put
  spconf.sty in the layout directory also? Or do they go in the Resources\tex
  folder?

  How do i source the package as it is not appearing in my package manager.

  Can anyone clarify? Or if willing try and install the template themselves
  and see how far they get?

  Thanks

  PDF

Installing the spconf.sty depends on your operating system and tex
installation. What are you using?

After it's installed and recognized by tex then you should only have
to insert \usepackage{spconf} in your LyX preamble. In some cases
you'll need to reconfigure LyX.

Cheers,
/Bob


RE: Latex template on 1.5.4

2008-03-06 Thread Phillip Ferguson
I tried that and yes I did see quite a few ERT. When I try to view it either
as a dvi or pdf there are sections missing in comparison to the dvi file
supplied.

The tex file uses a latex style, spconf.sty, which in turn uses the article
class and the spconf package. Although the linking is clear, I don't
understand even from the documentation how to install this latex document
class.

Is it case of creating a layout file by copying the article.layout
Renaming it to - spconf.layout which contains
Then modifying the following lines:

\DeclareLaTeXClass{article}

To

\DeclareLaTeXClass[article,spconf.sty]{ article(spconf) }
 
Then add

Preamble
\usepackage{spconf}
EndPreamble


If this is the case and I create this layout file, do I have to put
spconf.sty in the layout directory also? Or do they go in the Resources\tex
folder?

How do i source the package as it is not appearing in my package manager.

Can anyone clarify? Or if willing try and install the template themselves
and see how far they get?
 
Thanks

PDF

-Original Message-
From: G. Milde [mailto:[EMAIL PROTECTED] 
Sent: 05 March 2008 14:03
To: lyx-users@lists.lyx.org
Subject: Re: Latex template on 1.5.4

On  5.03.08, Phillip Ferguson wrote:
> Hey Lyx Users,

> I am struggling as to how to use a latex template with Lyx 1.5.4.

> The template in question is found on this webpage.
>
http://www.kip.uni-heidelberg.de/fpl08/cms/website.php?id=/de/index/submissi
on.htm

> I appreciate that this may be close to other IEEE templates already
> installed but I would appreciate if anyone could point me in the right
> direction (for future reference) on how to install such a template.

1.  Try to import the latex template file into LyX (File>Import>...)

2a. If this works well, save it in your templates folder to "install" it
(i.e. be able to open it with File>New from Template) or just save
under a different name and work with the copy.

2b. If there are errors, you might need to install a corresponding
latex class. See Help>Customisation

You can reduce the amount of ERT in the imported template by defining a
special layout file (also described in Help>Customisation) and after
configuring LyX import the latex template again.

GM




Re: Latex template on 1.5.4

2008-03-06 Thread Bob Lounsbury
On Thu, Mar 6, 2008 at 8:30 AM, Phillip Ferguson
<[EMAIL PROTECTED]> wrote:
> I tried that and yes I did see quite a few ERT. When I try to view it either
>  as a dvi or pdf there are sections missing in comparison to the dvi file
>  supplied.
>
>  The tex file uses a latex style, spconf.sty, which in turn uses the article
>  class and the spconf package. Although the linking is clear, I don't
>  understand even from the documentation how to install this latex document
>  class.
>
>  Is it case of creating a layout file by copying the article.layout
>  Renaming it to - spconf.layout which contains
>  Then modifying the following lines:
>
>  \DeclareLaTeXClass{article}
>
>  To
>
>  \DeclareLaTeXClass[article,spconf.sty]{ article(spconf) }
>
>  Then add
>
>  Preamble
> \usepackage{spconf}
>  EndPreamble
>
>
>  If this is the case and I create this layout file, do I have to put
>  spconf.sty in the layout directory also? Or do they go in the Resources\tex
>  folder?
>
>  How do i source the package as it is not appearing in my package manager.
>
>  Can anyone clarify? Or if willing try and install the template themselves
>  and see how far they get?
>
>  Thanks
>
>  PDF

Installing the spconf.sty depends on your operating system and tex
installation. What are you using?

After it's installed and recognized by tex then you should only have
to insert \usepackage{spconf} in your LyX preamble. In some cases
you'll need to reconfigure LyX.

Cheers,
/Bob


Latex template on 1.5.4

2008-03-05 Thread Phillip Ferguson
Hey Lyx Users,

 

I am struggling as to how to use a latex template with Lyx 1.5.4.

The template in question is found on this webpage.

http://www.kip.uni-heidelberg.de/fpl08/cms/website.php?id=/de/index/submissi
on.htm

 

I appreciate that this may be close to other IEEE templates already
installed but I would appreciate if anyone could point me in the right
direction (for future reference) on how to install such a template.

 

Thanks

 

PDF



Re: Latex template on 1.5.4

2008-03-05 Thread G. Milde
On  5.03.08, Phillip Ferguson wrote:
 Hey Lyx Users,

 I am struggling as to how to use a latex template with Lyx 1.5.4.

 The template in question is found on this webpage.
 http://www.kip.uni-heidelberg.de/fpl08/cms/website.php?id=/de/index/submission.htm

 I appreciate that this may be close to other IEEE templates already
 installed but I would appreciate if anyone could point me in the right
 direction (for future reference) on how to install such a template.

1.  Try to import the latex template file into LyX (FileImport...)

2a. If this works well, save it in your templates folder to install it
(i.e. be able to open it with FileNew from Template) or just save
under a different name and work with the copy.
   
2b. If there are errors, you might need to install a corresponding
latex class. See HelpCustomisation

You can reduce the amount of ERT in the imported template by defining a
special layout file (also described in HelpCustomisation) and after
configuring LyX import the latex template again.

GM
   


Latex template on 1.5.4

2008-03-05 Thread Phillip Ferguson
Hey Lyx Users,

 

I am struggling as to how to use a latex template with Lyx 1.5.4.

The template in question is found on this webpage.

http://www.kip.uni-heidelberg.de/fpl08/cms/website.php?id=/de/index/submissi
on.htm

 

I appreciate that this may be close to other IEEE templates already
installed but I would appreciate if anyone could point me in the right
direction (for future reference) on how to install such a template.

 

Thanks

 

PDF



Re: Latex template on 1.5.4

2008-03-05 Thread G. Milde
On  5.03.08, Phillip Ferguson wrote:
 Hey Lyx Users,

 I am struggling as to how to use a latex template with Lyx 1.5.4.

 The template in question is found on this webpage.
 http://www.kip.uni-heidelberg.de/fpl08/cms/website.php?id=/de/index/submission.htm

 I appreciate that this may be close to other IEEE templates already
 installed but I would appreciate if anyone could point me in the right
 direction (for future reference) on how to install such a template.

1.  Try to import the latex template file into LyX (FileImport...)

2a. If this works well, save it in your templates folder to install it
(i.e. be able to open it with FileNew from Template) or just save
under a different name and work with the copy.
   
2b. If there are errors, you might need to install a corresponding
latex class. See HelpCustomisation

You can reduce the amount of ERT in the imported template by defining a
special layout file (also described in HelpCustomisation) and after
configuring LyX import the latex template again.

GM
   


Latex template on 1.5.4

2008-03-05 Thread Phillip Ferguson
Hey Lyx Users,

 

I am struggling as to how to use a latex template with Lyx 1.5.4.

The template in question is found on this webpage.

http://www.kip.uni-heidelberg.de/fpl08/cms/website.php?id=/de/index/submissi
on.htm

 

I appreciate that this may be close to other IEEE templates already
installed but I would appreciate if anyone could point me in the right
direction (for future reference) on how to install such a template.

 

Thanks

 

PDF



Re: Latex template on 1.5.4

2008-03-05 Thread G. Milde
On  5.03.08, Phillip Ferguson wrote:
> Hey Lyx Users,

> I am struggling as to how to use a latex template with Lyx 1.5.4.

> The template in question is found on this webpage.
> http://www.kip.uni-heidelberg.de/fpl08/cms/website.php?id=/de/index/submission.htm

> I appreciate that this may be close to other IEEE templates already
> installed but I would appreciate if anyone could point me in the right
> direction (for future reference) on how to install such a template.

1.  Try to import the latex template file into LyX (File>Import>...)

2a. If this works well, save it in your templates folder to "install" it
(i.e. be able to open it with File>New from Template) or just save
under a different name and work with the copy.
   
2b. If there are errors, you might need to install a corresponding
latex class. See Help>Customisation

You can reduce the amount of ERT in the imported template by defining a
special layout file (also described in Help>Customisation) and after
configuring LyX import the latex template again.

GM