Problem with installing Oxford Journals template

2012-03-23 Thread Jan Helebrant
Hi all,
as I am totally disgusted and angry after trying to force Word to produce file
compatible with Oxford Journals Radiation Protection Dosimetry and I also would
like to try LYX, I tried to install their latex template from here:
http://www.oxfordjournals.org/our_journals/rpd/for_authors/Rpd_TeX.zip
they have some info for authors here:
http://www.oxfordjournals.org/our_journals/rpd/for_authors/instructions.html

I have linux version of lyx 2.0.3 + tetex 3.0.19 (installed automatically with
lyx from repository, linux is Pclinuxos 2012, KDE4).

First I must say, that I read tutorials here:
http://wiki.lyx.org/Layouts/CreatingLayouts
and also some info about the files
http://wiki.lyx.org/LyX/Concepts

I tried to follow them, but I am totally unable to make the class available. Can
anybody advise me, where should I put those files? The package consists of:

Rpd.cls 28 KB   9.4.200412:29:14
amsbsy.sty  4 KB8.4.200416:58:36
amsfonts.sty8 KB8.4.200416:59:48
amsgen.sty  6 KB8.4.200416:58:16
amsmath.sty 81 KB   8.4.200416:57:44
amsopn.sty  6 KB8.4.200416:58:52
amssymb.sty 16 KB   8.4.200416:59:30
amstext.sty 4 KB8.4.200416:58:00
amsthm.sty  14 KB   8.4.200417:00:04
color.cfg   1 KB8.4.200417:01:28
color.sty   7 KB8.4.200416:59:08
crop.cfg2 KB29.3.2004   12:18:28
crop.sty13 KB   8.4.200416:56:10
document.pdf40 KB   9.4.200412:31:02
document.tex16 KB   9.4.200412:30:44
documentation.doc   23 KB   8.4.200418:50:26
flushend.sty6 KB31.5.2001   20:49:38
graphics.cfg1 KB8.4.200417:00:52
graphics.sty14 KB   8.4.200416:56:30
graphicx.sty8 KB8.4.200416:57:10
keyval.sty  3 KB8.4.200416:57:26
times.sty   1 KB8.4.200417:00:20
trig.sty4 KB8.4.200416:56:46

I tried various locations including /home/jan.helebrant/texmf/tex/latex/, used
texhash and reconfigured LYX many times but the class is still unavailable.

any advice would be helpful

thanks

Jan



Re: Problem with installing Oxford Journals template

2012-03-23 Thread stefano franchi
On Fri, Mar 23, 2012 at 9:25 AM, Jan Helebrant jan.helebr...@gmail.com wrote:
 Hi all,
 as I am totally disgusted and angry after trying to force Word to produce file
 compatible with Oxford Journals Radiation Protection Dosimetry and I also 
 would
 like to try LYX, I tried to install their latex template from here:
 http://www.oxfordjournals.org/our_journals/rpd/for_authors/Rpd_TeX.zip
 they have some info for authors here:
 http://www.oxfordjournals.org/our_journals/rpd/for_authors/instructions.html

 I have linux version of lyx 2.0.3 + tetex 3.0.19 (installed automatically with
 lyx from repository, linux is Pclinuxos 2012, KDE4).

Jan,

any particular reason you need to use TeTeX? It's way outdated and no
longer maintained. You may want to switch to TexLive 2011 (which
should be available from PCLinux repositories or can be obtained from
Ctan.org).

That aside, you ave two tasks in fron of you:

1. Install Oxford UP's class and related files and make sure they work
from LaTeX

2. Create a layout for Lyx once the class works in LaTeX

Only once the class works as expected in pure latex I would move on to
creating a layout for the class in Lyx. So I would start with the
following procedure:

- Copy the files to relevant subdirectories of ~/texmf. As a quick
hack, put everything  ~/texmf/tex/latex (as I guess you did)
- update tex's database with: sudo texhash
- check that TeX can find the files with: kpsewhich rdp.cls
- copy the sample document OUP included to a working  directory  and
try compiling it with: pdflatex document.tex
- check that the output replicates the document.pdf they included in
the archive.


Cheers,

Stefano



-- 
__
Stefano Franchi
Associate Research Professor
Department of Hispanic Studies            Ph:   +1 (979) 845-2125
Texas AM University                          Fax:  +1 (979) 845-6421
College Station, Texas, USA

stef...@tamu.edu
http://stefano.cleinias.org


Re: Problem with installing Oxford Journals template

2012-03-23 Thread Richard Heck

On 03/23/2012 10:25 AM, Jan Helebrant wrote:

Hi all,
as I am totally disgusted and angry after trying to force Word to produce file 
compatible with Oxford Journals Radiation Protection Dosimetry and I also would 
like to try LYX, I tried to install their latex template from here:
http://www.oxfordjournals.org/our_journals/rpd/for_authors/Rpd_TeX.zip
they have some info for authors here:
http://www.oxfordjournals.org/our_journals/rpd/for_authors/instructions.html

I have linux version of lyx 2.0.3 + tetex 3.0.19 (installed automatically with 
lyx from repository, linux is Pclinuxos 2012, KDE4).

First I must say, that I read tutorials here:
http://wiki.lyx.org/Layouts/CreatingLayouts
and also some info about the files
http://wiki.lyx.org/LyX/Concepts

I tried to follow them, but I am totally unable to make the class available. 
Can anybody advise me, where should I put those files? The package consists of:

Rpd.cls 28 KB   9.4.200412:29:14
amsbsy.sty  4 KB8.4.200416:58:36
amsfonts.sty8 KB8.4.200416:59:48
amsgen.sty  6 KB8.4.200416:58:16
amsmath.sty 81 KB   8.4.200416:57:44
amsopn.sty  6 KB8.4.200416:58:52
amssymb.sty 16 KB   8.4.200416:59:30
amstext.sty 4 KB8.4.200416:58:00
amsthm.sty  14 KB   8.4.200417:00:04
color.cfg   1 KB8.4.200417:01:28
color.sty   7 KB8.4.200416:59:08
crop.cfg2 KB29.3.2004   12:18:28
crop.sty13 KB   8.4.200416:56:10
document.pdf40 KB   9.4.200412:31:02
document.tex16 KB   9.4.200412:30:44
documentation.doc   23 KB   8.4.200418:50:26
flushend.sty6 KB31.5.2001   20:49:38
graphics.cfg1 KB8.4.200417:00:52
graphics.sty14 KB   8.4.200416:56:30
graphicx.sty8 KB8.4.200416:57:10
keyval.sty  3 KB8.4.200416:57:26
times.sty   1 KB8.4.200417:00:20
trig.sty4 KB8.4.200416:56:46

I tried various locations including /home/jan.helebrant/texmf/tex/latex/, used 
texhash and reconfigured LYX many times but the class is still unavailable.
Stefano's advice was good. The only thing I'd add is to put all these 
files somewhere

like
/home/jan.helebrant/texmf/tex/latex/config/rpd/
so as not to confuse LaTeX, as many of these files are ones you'll 
already have, in fact, with any TeX installation.


So get these installed simply so LaTeX can see them, as Stefano 
suggested. Then it's on
to creating a layout file, without which LyX doesn't know the class 
exists. I've had a look at
the file, and, though it's not based on article.cls, it looks pretty 
much like a standard article

sort of class. So you might actually get away with just doing this:
cd ~/.lyx/layouts/
That's your local LyX layouts directory.
cp /usr/share/lyx/layouts/article.layout Rpd.layout
Note how the name of the layout file corresponds to the name of the 
class file. Now open that file in your favorite text editor, e.g.:

kate Rpd.layout
The first two lines look like:

#% Do not delete the line below; configure depends on this
#  \DeclareLaTeXClass{article}

Change the second one to something like:

#  \DeclareLaTeXClass{article (RPD)}

Save the file. Now open LyX and do ToolsReconfigure. Then close LyX 
again, and re-open it. You now out to have article (RPD) as an option, 
and you can also try importing the document.tex file that they provide.


If you have problems, ask here again.

Richard



Problem with installing Oxford Journals template

2012-03-23 Thread Jan Helebrant
Hi all,
as I am totally disgusted and angry after trying to force Word to produce file
compatible with Oxford Journals Radiation Protection Dosimetry and I also would
like to try LYX, I tried to install their latex template from here:
http://www.oxfordjournals.org/our_journals/rpd/for_authors/Rpd_TeX.zip
they have some info for authors here:
http://www.oxfordjournals.org/our_journals/rpd/for_authors/instructions.html

I have linux version of lyx 2.0.3 + tetex 3.0.19 (installed automatically with
lyx from repository, linux is Pclinuxos 2012, KDE4).

First I must say, that I read tutorials here:
http://wiki.lyx.org/Layouts/CreatingLayouts
and also some info about the files
http://wiki.lyx.org/LyX/Concepts

I tried to follow them, but I am totally unable to make the class available. Can
anybody advise me, where should I put those files? The package consists of:

Rpd.cls 28 KB   9.4.200412:29:14
amsbsy.sty  4 KB8.4.200416:58:36
amsfonts.sty8 KB8.4.200416:59:48
amsgen.sty  6 KB8.4.200416:58:16
amsmath.sty 81 KB   8.4.200416:57:44
amsopn.sty  6 KB8.4.200416:58:52
amssymb.sty 16 KB   8.4.200416:59:30
amstext.sty 4 KB8.4.200416:58:00
amsthm.sty  14 KB   8.4.200417:00:04
color.cfg   1 KB8.4.200417:01:28
color.sty   7 KB8.4.200416:59:08
crop.cfg2 KB29.3.2004   12:18:28
crop.sty13 KB   8.4.200416:56:10
document.pdf40 KB   9.4.200412:31:02
document.tex16 KB   9.4.200412:30:44
documentation.doc   23 KB   8.4.200418:50:26
flushend.sty6 KB31.5.2001   20:49:38
graphics.cfg1 KB8.4.200417:00:52
graphics.sty14 KB   8.4.200416:56:30
graphicx.sty8 KB8.4.200416:57:10
keyval.sty  3 KB8.4.200416:57:26
times.sty   1 KB8.4.200417:00:20
trig.sty4 KB8.4.200416:56:46

I tried various locations including /home/jan.helebrant/texmf/tex/latex/, used
texhash and reconfigured LYX many times but the class is still unavailable.

any advice would be helpful

thanks

Jan



Re: Problem with installing Oxford Journals template

2012-03-23 Thread stefano franchi
On Fri, Mar 23, 2012 at 9:25 AM, Jan Helebrant jan.helebr...@gmail.com wrote:
 Hi all,
 as I am totally disgusted and angry after trying to force Word to produce file
 compatible with Oxford Journals Radiation Protection Dosimetry and I also 
 would
 like to try LYX, I tried to install their latex template from here:
 http://www.oxfordjournals.org/our_journals/rpd/for_authors/Rpd_TeX.zip
 they have some info for authors here:
 http://www.oxfordjournals.org/our_journals/rpd/for_authors/instructions.html

 I have linux version of lyx 2.0.3 + tetex 3.0.19 (installed automatically with
 lyx from repository, linux is Pclinuxos 2012, KDE4).

Jan,

any particular reason you need to use TeTeX? It's way outdated and no
longer maintained. You may want to switch to TexLive 2011 (which
should be available from PCLinux repositories or can be obtained from
Ctan.org).

That aside, you ave two tasks in fron of you:

1. Install Oxford UP's class and related files and make sure they work
from LaTeX

2. Create a layout for Lyx once the class works in LaTeX

Only once the class works as expected in pure latex I would move on to
creating a layout for the class in Lyx. So I would start with the
following procedure:

- Copy the files to relevant subdirectories of ~/texmf. As a quick
hack, put everything  ~/texmf/tex/latex (as I guess you did)
- update tex's database with: sudo texhash
- check that TeX can find the files with: kpsewhich rdp.cls
- copy the sample document OUP included to a working  directory  and
try compiling it with: pdflatex document.tex
- check that the output replicates the document.pdf they included in
the archive.


Cheers,

Stefano



-- 
__
Stefano Franchi
Associate Research Professor
Department of Hispanic Studies            Ph:   +1 (979) 845-2125
Texas AM University                          Fax:  +1 (979) 845-6421
College Station, Texas, USA

stef...@tamu.edu
http://stefano.cleinias.org


Re: Problem with installing Oxford Journals template

2012-03-23 Thread Richard Heck

On 03/23/2012 10:25 AM, Jan Helebrant wrote:

Hi all,
as I am totally disgusted and angry after trying to force Word to produce file 
compatible with Oxford Journals Radiation Protection Dosimetry and I also would 
like to try LYX, I tried to install their latex template from here:
http://www.oxfordjournals.org/our_journals/rpd/for_authors/Rpd_TeX.zip
they have some info for authors here:
http://www.oxfordjournals.org/our_journals/rpd/for_authors/instructions.html

I have linux version of lyx 2.0.3 + tetex 3.0.19 (installed automatically with 
lyx from repository, linux is Pclinuxos 2012, KDE4).

First I must say, that I read tutorials here:
http://wiki.lyx.org/Layouts/CreatingLayouts
and also some info about the files
http://wiki.lyx.org/LyX/Concepts

I tried to follow them, but I am totally unable to make the class available. 
Can anybody advise me, where should I put those files? The package consists of:

Rpd.cls 28 KB   9.4.200412:29:14
amsbsy.sty  4 KB8.4.200416:58:36
amsfonts.sty8 KB8.4.200416:59:48
amsgen.sty  6 KB8.4.200416:58:16
amsmath.sty 81 KB   8.4.200416:57:44
amsopn.sty  6 KB8.4.200416:58:52
amssymb.sty 16 KB   8.4.200416:59:30
amstext.sty 4 KB8.4.200416:58:00
amsthm.sty  14 KB   8.4.200417:00:04
color.cfg   1 KB8.4.200417:01:28
color.sty   7 KB8.4.200416:59:08
crop.cfg2 KB29.3.2004   12:18:28
crop.sty13 KB   8.4.200416:56:10
document.pdf40 KB   9.4.200412:31:02
document.tex16 KB   9.4.200412:30:44
documentation.doc   23 KB   8.4.200418:50:26
flushend.sty6 KB31.5.2001   20:49:38
graphics.cfg1 KB8.4.200417:00:52
graphics.sty14 KB   8.4.200416:56:30
graphicx.sty8 KB8.4.200416:57:10
keyval.sty  3 KB8.4.200416:57:26
times.sty   1 KB8.4.200417:00:20
trig.sty4 KB8.4.200416:56:46

I tried various locations including /home/jan.helebrant/texmf/tex/latex/, used 
texhash and reconfigured LYX many times but the class is still unavailable.
Stefano's advice was good. The only thing I'd add is to put all these 
files somewhere

like
/home/jan.helebrant/texmf/tex/latex/config/rpd/
so as not to confuse LaTeX, as many of these files are ones you'll 
already have, in fact, with any TeX installation.


So get these installed simply so LaTeX can see them, as Stefano 
suggested. Then it's on
to creating a layout file, without which LyX doesn't know the class 
exists. I've had a look at
the file, and, though it's not based on article.cls, it looks pretty 
much like a standard article

sort of class. So you might actually get away with just doing this:
cd ~/.lyx/layouts/
That's your local LyX layouts directory.
cp /usr/share/lyx/layouts/article.layout Rpd.layout
Note how the name of the layout file corresponds to the name of the 
class file. Now open that file in your favorite text editor, e.g.:

kate Rpd.layout
The first two lines look like:

#% Do not delete the line below; configure depends on this
#  \DeclareLaTeXClass{article}

Change the second one to something like:

#  \DeclareLaTeXClass{article (RPD)}

Save the file. Now open LyX and do ToolsReconfigure. Then close LyX 
again, and re-open it. You now out to have article (RPD) as an option, 
and you can also try importing the document.tex file that they provide.


If you have problems, ask here again.

Richard



Problem with installing Oxford Journals template

2012-03-23 Thread Jan Helebrant
Hi all,
as I am totally disgusted and angry after trying to force Word to produce file
compatible with Oxford Journals Radiation Protection Dosimetry and I also would
like to try LYX, I tried to install their latex template from here:
http://www.oxfordjournals.org/our_journals/rpd/for_authors/Rpd_TeX.zip
they have some info for authors here:
http://www.oxfordjournals.org/our_journals/rpd/for_authors/instructions.html

I have linux version of lyx 2.0.3 + tetex 3.0.19 (installed automatically with
lyx from repository, linux is Pclinuxos 2012, KDE4).

First I must say, that I read tutorials here:
http://wiki.lyx.org/Layouts/CreatingLayouts
and also some info about the files
http://wiki.lyx.org/LyX/Concepts

I tried to follow them, but I am totally unable to make the class available. Can
anybody advise me, where should I put those files? The package consists of:

Rpd.cls 28 KB   9.4.200412:29:14
amsbsy.sty  4 KB8.4.200416:58:36
amsfonts.sty8 KB8.4.200416:59:48
amsgen.sty  6 KB8.4.200416:58:16
amsmath.sty 81 KB   8.4.200416:57:44
amsopn.sty  6 KB8.4.200416:58:52
amssymb.sty 16 KB   8.4.200416:59:30
amstext.sty 4 KB8.4.200416:58:00
amsthm.sty  14 KB   8.4.200417:00:04
color.cfg   1 KB8.4.200417:01:28
color.sty   7 KB8.4.200416:59:08
crop.cfg2 KB29.3.2004   12:18:28
crop.sty13 KB   8.4.200416:56:10
document.pdf40 KB   9.4.200412:31:02
document.tex16 KB   9.4.200412:30:44
documentation.doc   23 KB   8.4.200418:50:26
flushend.sty6 KB31.5.2001   20:49:38
graphics.cfg1 KB8.4.200417:00:52
graphics.sty14 KB   8.4.200416:56:30
graphicx.sty8 KB8.4.200416:57:10
keyval.sty  3 KB8.4.200416:57:26
times.sty   1 KB8.4.200417:00:20
trig.sty4 KB8.4.200416:56:46

I tried various locations including /home/jan.helebrant/texmf/tex/latex/, used
texhash and reconfigured LYX many times but the class is still unavailable.

any advice would be helpful

thanks

Jan



Re: Problem with installing Oxford Journals template

2012-03-23 Thread stefano franchi
On Fri, Mar 23, 2012 at 9:25 AM, Jan Helebrant  wrote:
> Hi all,
> as I am totally disgusted and angry after trying to force Word to produce file
> compatible with Oxford Journals Radiation Protection Dosimetry and I also 
> would
> like to try LYX, I tried to install their latex template from here:
> http://www.oxfordjournals.org/our_journals/rpd/for_authors/Rpd_TeX.zip
> they have some info for authors here:
> http://www.oxfordjournals.org/our_journals/rpd/for_authors/instructions.html
>
> I have linux version of lyx 2.0.3 + tetex 3.0.19 (installed automatically with
> lyx from repository, linux is Pclinuxos 2012, KDE4).

Jan,

any particular reason you need to use TeTeX? It's way outdated and no
longer maintained. You may want to switch to TexLive 2011 (which
should be available from PCLinux repositories or can be obtained from
Ctan.org).

That aside, you ave two tasks in fron of you:

1. Install Oxford UP's class and related files and make sure they work
from LaTeX

2. Create a layout for Lyx once the class works in LaTeX

Only once the class works as expected in pure latex I would move on to
creating a layout for the class in Lyx. So I would start with the
following procedure:

- Copy the files to relevant subdirectories of ~/texmf. As a quick
hack, put everything  ~/texmf/tex/latex (as I guess you did)
- update tex's database with: sudo texhash
- check that TeX can find the files with: kpsewhich rdp.cls
- copy the sample document OUP included to a working  directory  and
try compiling it with: pdflatex document.tex
- check that the output replicates the document.pdf they included in
the archive.


Cheers,

Stefano



-- 
__
Stefano Franchi
Associate Research Professor
Department of Hispanic Studies            Ph:   +1 (979) 845-2125
Texas A University                          Fax:  +1 (979) 845-6421
College Station, Texas, USA

stef...@tamu.edu
http://stefano.cleinias.org


Re: Problem with installing Oxford Journals template

2012-03-23 Thread Richard Heck

On 03/23/2012 10:25 AM, Jan Helebrant wrote:

Hi all,
as I am totally disgusted and angry after trying to force Word to produce file 
compatible with Oxford Journals Radiation Protection Dosimetry and I also would 
like to try LYX, I tried to install their latex template from here:
http://www.oxfordjournals.org/our_journals/rpd/for_authors/Rpd_TeX.zip
they have some info for authors here:
http://www.oxfordjournals.org/our_journals/rpd/for_authors/instructions.html

I have linux version of lyx 2.0.3 + tetex 3.0.19 (installed automatically with 
lyx from repository, linux is Pclinuxos 2012, KDE4).

First I must say, that I read tutorials here:
http://wiki.lyx.org/Layouts/CreatingLayouts
and also some info about the files
http://wiki.lyx.org/LyX/Concepts

I tried to follow them, but I am totally unable to make the class available. 
Can anybody advise me, where should I put those files? The package consists of:

Rpd.cls 28 KB   9.4.200412:29:14
amsbsy.sty  4 KB8.4.200416:58:36
amsfonts.sty8 KB8.4.200416:59:48
amsgen.sty  6 KB8.4.200416:58:16
amsmath.sty 81 KB   8.4.200416:57:44
amsopn.sty  6 KB8.4.200416:58:52
amssymb.sty 16 KB   8.4.200416:59:30
amstext.sty 4 KB8.4.200416:58:00
amsthm.sty  14 KB   8.4.200417:00:04
color.cfg   1 KB8.4.200417:01:28
color.sty   7 KB8.4.200416:59:08
crop.cfg2 KB29.3.2004   12:18:28
crop.sty13 KB   8.4.200416:56:10
document.pdf40 KB   9.4.200412:31:02
document.tex16 KB   9.4.200412:30:44
documentation.doc   23 KB   8.4.200418:50:26
flushend.sty6 KB31.5.2001   20:49:38
graphics.cfg1 KB8.4.200417:00:52
graphics.sty14 KB   8.4.200416:56:30
graphicx.sty8 KB8.4.200416:57:10
keyval.sty  3 KB8.4.200416:57:26
times.sty   1 KB8.4.200417:00:20
trig.sty4 KB8.4.200416:56:46

I tried various locations including /home/jan.helebrant/texmf/tex/latex/, used 
texhash and reconfigured LYX many times but the class is still unavailable.
Stefano's advice was good. The only thing I'd add is to put all these 
files somewhere

like
/home/jan.helebrant/texmf/tex/latex/config/rpd/
so as not to confuse LaTeX, as many of these files are ones you'll 
already have, in fact, with any TeX installation.


So get these installed simply so LaTeX can see them, as Stefano 
suggested. Then it's on
to creating a layout file, without which LyX doesn't know the class 
exists. I've had a look at
the file, and, though it's not based on article.cls, it looks pretty 
much like a standard article

sort of class. So you might actually get away with just doing this:
cd ~/.lyx/layouts/
That's your local LyX layouts directory.
cp /usr/share/lyx/layouts/article.layout Rpd.layout
Note how the name of the layout file corresponds to the name of the 
class file. Now open that file in your favorite text editor, e.g.:

kate Rpd.layout
The first two lines look like:

#% Do not delete the line below; configure depends on this
#  \DeclareLaTeXClass{article}

Change the second one to something like:

#  \DeclareLaTeXClass{article (RPD)}

Save the file. Now open LyX and do Tools>Reconfigure. Then close LyX 
again, and re-open it. You now out to have "article (RPD)" as an option, 
and you can also try importing the document.tex file that they provide.


If you have problems, ask here again.

Richard