LyX ⇒ article-hermes | how to use the hermes class with LyX
article-hermes | how to use the hermes class with LyX
Hi everybody,
Pleaaaaaase tell me : How to use the class document \documentclass{article-hermes}
in Lyx.
I've tried to add the hermes layout in layouts then reconfigure, print "texhash" in cmd and re-open Lyx, But that was in vain !!!!!!!!!!!!
It was not recognised !!!!!
Please Helpppppp !!!
I don't want to use Latex and its editors to use this document class
Pleaaaaaase tell me : How to use the class document \documentclass{article-hermes}
in Lyx.
I've tried to add the hermes layout in layouts then reconfigure, print "texhash" in cmd and re-open Lyx, But that was in vain !!!!!!!!!!!!
It was not recognised !!!!!
Please Helpppppp !!!
I don't want to use Latex and its editors to use this document class
NEW: TikZ book now 40% off at Amazon.com for a short time.
- Stefan Kottwitz
- Site Admin
- Posts: 10324
- Joined: Mon Mar 10, 2008 9:44 pm
Re: hermes class-document
Hi,
welcome to the board!
Do you expect the same writing style in answers, with dozens exclamation marks? Do you use it in your documents, or just when talking to us here? If not, then please also use a normal style here. The post above is kind of deterrent in its language and I guess that few readers would actually consider writing an answer. Just an advice. You still could edit your question.
Stefan
welcome to the board!
Do you expect the same writing style in answers, with dozens exclamation marks? Do you use it in your documents, or just when talking to us here? If not, then please also use a normal style here. The post above is kind of deterrent in its language and I guess that few readers would actually consider writing an answer. Just an advice. You still could edit your question.
Stefan
LaTeX.org admin
Re: hermes class-document
Ok, Thx for the advice.
I've written like that because I haven't really found a solution after long hours of searchs.
I'm pressed with time and still have no solution.
I'd be so grateful to whom helps me.
I've written like that because I haven't really found a solution after long hours of searchs.
I'm pressed with time and still have no solution.
I'd be so grateful to whom helps me.
- Stefan Kottwitz
- Site Admin
- Posts: 10324
- Joined: Mon Mar 10, 2008 9:44 pm
article-hermes | how to use the hermes class with LyX
Perhaps add further information, such as error messages and the .log file, and your used template perhaps together with your test .lyx file as attachment to a post. Especially when there's time pressure, it's good to post as many information as possible. Otherwise you loose time, as people have to ask for details.
Btw. here is a very good place for getting LaTeX help. Regarding LyX, we try to help here as well, but for specific topics it could be good to ask in the LyX users mailing list.
Stefan
Btw. here is a very good place for getting LaTeX help. Regarding LyX, we try to help here as well, but for specific topics it could be good to ask in the LyX users mailing list.
Stefan
LaTeX.org admin
article-hermes | how to use the hermes class with LyX
Hi,
I've the same problem. I use Ubuntu Natty and this package that contains bst and cls files : http://dn.revuesonline.com/revues/HermesLatex.zip
I copied cls file in those folders :
/usr/local/share/texmf/tex/latex/hermes/
/usr/share/texmf/tex/latex/hermes
~/texmf/
Then I rebuilt the base with texhash :
How can I verify that this class is understood by texlive ? With Lyx, I do Tools/Reconfigure and restart it, but when I see the list of class (Tools/Information tex) I don't find my hermes-journal class.
Is it a problem resolved with texhash, are paths good ?
Thanks a lot,
Thibaud.
I've the same problem. I use Ubuntu Natty and this package that contains bst and cls files : http://dn.revuesonline.com/revues/HermesLatex.zip
I copied cls file in those folders :
/usr/local/share/texmf/tex/latex/hermes/
/usr/share/texmf/tex/latex/hermes
~/texmf/
Then I rebuilt the base with texhash :
Code: Select all
sudo texhash
texhash: Updating /usr/local/share/texmf/ls-R...
texhash: Updating /var/lib/texmf/ls-R-TEXMFMAIN...
texhash: Updating /var/lib/texmf/ls-R-TEXLIVE...
texhash: Updating /var/lib/texmf/ls-R...
texhash: Done.
Is it a problem resolved with texhash, are paths good ?
Thanks a lot,
Thibaud.
- Stefan Kottwitz
- Site Admin
- Posts: 10324
- Joined: Mon Mar 10, 2008 9:44 pm
article-hermes | how to use the hermes class with LyX
Hi Thibaud,
at the command prompt. It should return the full path and file name of the class if the TeX installation knows about it.
Stefan
you can check it bythibaud74 wrote:How can I verify that this class is understood by texlive?
Code: Select all
kpsewhich hermes-journal.sty
Stefan
LaTeX.org admin
article-hermes | how to use the hermes class with LyX
Thanks Stephan. The command give nothing. In fact, I have no sty files with hermes-journal, only cls. Do you think I copied the class in the bad folder ? I looked /etc/texmf/texmf.cnf to find paths, they seem be good.
When I launch texhash it indicates ls-R files. So when I look /usr/local/share/texmf/ls-R , hermes-journal.cls seems have been found :
When I launch texhash it indicates ls-R files. So when I look /usr/local/share/texmf/ls-R , hermes-journal.cls seems have been found :
Code: Select all
$ cat /usr/local/share/texmf/ls-R
% ls-R -- filename database for kpathsea; do not change this line.
./:
.:
ls-R
tex
./tex:
latex
./tex/latex:
hermes
hermes-journal.cls
./tex/latex/hermes:
hermes-journal.cls
- Stefan Kottwitz
- Site Admin
- Posts: 10324
- Joined: Mon Mar 10, 2008 9:44 pm
Re: hermes class-document
Perhaps post the .log file of a compiler run as an attachment to a post, this information could help.
Stefan
Stefan
LaTeX.org admin
article-hermes | how to use the hermes class with LyX
I tried with a local class, but it seems to have a confusion between two classes :
Code: Select all
This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/Debian) (format=pdflatex 2012.2.28) 13 MAR 2012 20:46
entering extended mode
%&-line parsing enabled.
**nouveau1.tex
(./nouveau1.tex
LaTeX2e <2009/09/24>
Babel <v3.8l> and hyphenation patterns for english, usenglishmax, dumylang, noh
yphenation, farsi, arabic, ibycus, monogreek, greek, ancientgreek, loaded.
(/home/hulin/texmf/tex/latex/article-hermes.cls
LaTeX Warning: You have requested document class `article-hermes',
but the document class provides `./hermes-journal'.
Document Class: ./hermes-journal 2012/01/24, version 3.1.2, LaTeX2e document cl
ass for journal published by Hermes Sciences Publication
(/usr/share/texmf-texlive/tex/latex/base/ifthen.sty
Package: ifthen 2001/05/26 v1.1c Standard LaTeX ifthen package (DPC)
)
hermes-journal.cls: ``english'' option enabled
hermes-journal.cls WARNING: ``french'' option is unknown
Valid options: cropmarks, editorMode, english
(/usr/share/texmf-texlive/tex/latex/base/article.cls
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
(/usr/share/texmf-texlive/tex/latex/base/size10.clo
File: size10.clo 2007/10/19 v1.4h Standard LaTeX file (size option)
)
\c@part=\count79
\c@section=\count80
\c@subsection=\count81
\c@subsubsection=\count82
\c@paragraph=\count83
\c@subparagraph=\count84
\c@figure=\count85
\c@table=\count86
\abovecaptionskip=\skip41
\belowcaptionskip=\skip42
\bibindent=\dimen102
) (/usr/share/texmf-texlive/tex/latex/base/fontenc.sty
Package: fontenc 2005/09/27 v1.99g Standard LaTeX package
(/usr/share/texmf-texlive/tex/latex/base/t1enc.def
File: t1enc.def 2005/09/27 v1.99g Standard LaTeX file
LaTeX Font Info: Redeclaring font encoding T1 on input line 43.
)) (/usr/share/texmf-texlive/tex/latex/base/inputenc.sty
Package: inputenc 2008/03/30 v1.1d Input encoding file
\inpenc@prehook=\toks14
\inpenc@posthook=\toks15
(/usr/share/texmf-texlive/tex/latex/base/latin1.def
File: latin1.def 2008/03/30 v1.1d Input encoding file
)) (/usr/share/texmf-texlive/tex/latex/amsmath/amsmath.sty
Package: amsmath 2000/07/18 v2.13 AMS math features
\@mathmargin=\skip43
For additional information on amsmath, use the `?' option.
(/usr/share/texmf-texlive/tex/latex/amsmath/amstext.sty
Package: amstext 2000/06/29 v2.01
(/usr/share/texmf-texlive/tex/latex/amsmath/amsgen.sty
File: amsgen.sty 1999/11/30 v2.0
\@emptytoks=\toks16
\ex@=\dimen103
)) (/usr/share/texmf-texlive/tex/latex/amsmath/amsbsy.sty
Package: amsbsy 1999/11/29 v1.2d
\pmbraise@=\dimen104
) (/usr/share/texmf-texlive/tex/latex/amsmath/amsopn.sty
Package: amsopn 1999/12/14 v2.01 operator names
)
\inf@bad=\count87
LaTeX Info: Redefining \frac on input line 211.
\uproot@=\count88
\leftroot@=\count89
LaTeX Info: Redefining \overline on input line 307.
\classnum@=\count90
\DOTSCASE@=\count91
LaTeX Info: Redefining \ldots on input line 379.
LaTeX Info: Redefining \dots on input line 382.
LaTeX Info: Redefining \cdots on input line 467.
\Mathstrutbox@=\box26
\strutbox@=\box27
\big@size=\dimen105
LaTeX Font Info: Redeclaring font encoding OML on input line 567.
LaTeX Font Info: Redeclaring font encoding OMS on input line 568.
\macc@depth=\count92
\c@MaxMatrixCols=\count93
\dotsspace@=\muskip10
\c@parentequation=\count94
\dspbrk@lvl=\count95
\tag@help=\toks17
\row@=\count96
\column@=\count97
\maxfields@=\count98
\andhelp@=\toks18
\eqnshift@=\dimen106
\alignsep@=\dimen107
\tagshift@=\dimen108
\tagwidth@=\dimen109
\totwidth@=\dimen110
\lineht@=\dimen111
\@envbody=\toks19
\multlinegap=\skip44
\multlinetaggap=\skip45
\mathdisplay@stack=\toks20
LaTeX Info: Redefining \[ on input line 2666.
LaTeX Info: Redefining \] on input line 2667.
) (/usr/share/texmf-texlive/tex/latex/amsfonts/amsfonts.sty
Package: amsfonts 2009/06/22 v3.00 Basic AMSFonts support
\symAMSa=\mathgroup4
\symAMSb=\mathgroup5
LaTeX Font Info: Overwriting math alphabet `\mathfrak' in version `bold'
(Font) U/euf/m/n --> U/euf/b/n on input line 96.
) (/usr/share/texmf-texlive/tex/latex/amsfonts/amssymb.sty
Package: amssymb 2009/06/22 v3.00
) (/usr/share/texmf-texlive/tex/latex/amscls/amsthm.sty
Package: amsthm 2004/08/06 v2.20
\thm@style=\toks21
\thm@bodyfont=\toks22
\thm@headfont=\toks23
\thm@notefont=\toks24
\thm@headpunct=\toks25
\thm@preskip=\skip46
\thm@postskip=\skip47
\thm@headsep=\skip48
\dth@everypar=\toks26
) (/usr/share/texmf-texlive/tex/latex/jknapltx/mathrsfs.sty
Package: mathrsfs 1996/01/01 Math RSFS package v1.0 (jk)
\symrsfs=\mathgroup6
) (/usr/share/texmf-texlive/tex/latex/graphics/epsfig.sty
Package: epsfig 1999/02/16 v1.7a (e)psfig emulation (SPQR)
(/usr/share/texmf-texlive/tex/latex/graphics/graphicx.sty
Package: graphicx 1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR)
(/usr/share/texmf-texlive/tex/latex/graphics/keyval.sty
Package: keyval 1999/03/16 v1.13 key=value parser (DPC)
\KV@toks@=\toks27
) (/usr/share/texmf-texlive/tex/latex/graphics/graphics.sty
Package: graphics 2009/02/05 v1.0o Standard LaTeX Graphics (DPC,SPQR)
(/usr/share/texmf-texlive/tex/latex/graphics/trig.sty
Package: trig 1999/03/16 v1.09 sin cos tan (DPC)
) (/etc/texmf/tex/latex/config/graphics.cfg
File: graphics.cfg 2009/08/28 v1.8 graphics configuration of TeX Live
)
Package graphics Info: Driver file: pdftex.def on input line 91.
(/usr/share/texmf-texlive/tex/latex/pdftex-def/pdftex.def
File: pdftex.def 2010/03/12 v0.04p Graphics/color for pdfTeX
\Gread@gobject=\count99
))
\Gin@req@height=\dimen112
\Gin@req@width=\dimen113
)
\epsfxsize=\dimen114
\epsfysize=\dimen115
) (/usr/share/texmf-texlive/tex/latex/psnfss/pifont.sty
Package: pifont 2005/04/12 PSNFSS-v9.2a Pi font support (SPQR)
LaTeX Font Info: Try loading font information for U+pzd on input line 63.
(/usr/share/texmf-texlive/tex/latex/psnfss/upzd.fd
File: upzd.fd 2001/06/04 font definitions for U/pzd.
)
LaTeX Font Info: Try loading font information for U+psy on input line 64.
(/usr/share/texmf-texlive/tex/latex/psnfss/upsy.fd
File: upsy.fd 2001/06/04 font definitions for U/psy.
)) (/usr/share/texmf-texlive/tex/latex/ltxmisc/url.sty
\Urlmuskip=\muskip11
Package: url 2006/04/12 ver 3.3 Verb mode for urls, etc.
) (/usr/share/texmf-texlive/tex/latex/graphics/color.sty
Package: color 2005/11/14 v1.0j Standard LaTeX Color (DPC)
(/etc/texmf/tex/latex/config/color.cfg
File: color.cfg 2007/01/18 v1.5 color configuration of teTeX/TeXLive
)
Package color Info: Driver file: pdftex.def on input line 130.
) (/usr/share/texmf-texlive/tex/latex/tools/xspace.sty
Package: xspace 2006/05/08 v1.12 Space after command names (DPC,MH)
) (/usr/share/texmf-texlive/tex/latex/tools/calc.sty
Package: calc 2007/08/22 v4.3 Infix arithmetic (KKT,FJ)
\calc@Acount=\count100
\calc@Bcount=\count101
\calc@Adimen=\dimen116
\calc@Bdimen=\dimen117
\calc@Askip=\skip49
\calc@Bskip=\skip50
LaTeX Info: Redefining \setlength on input line 76.
LaTeX Info: Redefining \addtolength on input line 77.
\calc@Ccount=\count102
\calc@Cskip=\skip51
) (/usr/share/texmf-texlive/tex/latex/psnfss/times.sty
Package: times 2005/04/12 PSNFSS-v9.2a (SPQR)
) (/usr/share/texmf-texlive/tex/generic/babel/babel.sty
Package: babel 2008/07/06 v3.8l The Babel package
(/usr/share/texmf-texlive/tex/generic/babel/english.ldf
Language: english 2005/03/30 v3.3o English support from the babel system
(/usr/share/texmf-texlive/tex/generic/babel/babel.def
File: babel.def 2008/07/06 v3.8l Babel common definitions
\babel@savecnt=\count103
\U@D=\dimen118
)
\l@british = a dialect from \language\l@english
\l@UKenglish = a dialect from \language\l@english
\l@canadian = a dialect from \language\l@american
\l@australian = a dialect from \language\l@british
\l@newzealand = a dialect from \language\l@british
) (/usr/share/texmf-texlive/tex/generic/babel/frenchb.ldf
Language: frenchb 2009/03/16 v2.3d French support from the babel system
Package babel Warning: No hyphenation patterns were loaded for
(babel) the language `French'
(babel) I will use the patterns loaded for \language=0 instead.
\l@french = a dialect from \language0
Package babel Info: Making : an active character on input line 120.
Package babel Info: Making ; an active character on input line 121.
Package babel Info: Making ! an active character on input line 122.
Package babel Info: Making ? an active character on input line 123.
\FB@Mht=\dimen119
\std@mcc=\count104
\dec@mcc=\count105
\parindentFFN=\dimen120
*************************************
* Local config file frenchb.cfg used
*
(/usr/share/texmf-texlive/tex/generic/babel/frenchb.cfg))) (/usr/share/texmf-te
xlive/tex/latex/carlisle/scalefnt.sty) (/usr/share/texmf-texlive/tex/latex/apac
ite/apacite.sty
Package: apacite 2009/03/01 v4.05 APA citation
\c@BibCnt=\count106
\bibleftmargin=\skip52
\bibindent=\skip53
\bibparsep=\skip54
\bibitemsep=\skip55
)
\BOX@shortTitleBox=\box28
\c@COUNT@articleAuthorNumber=\count107
\c@COUNT@articleBiographyNumber=\count108
\c@COUNT@articleAddressNumber=\count109
\c@COUNT@articleFirstPage=\count110
\LEN@beforeSection=\skip56
\LEN@afterSection=\skip57
\LEN@beforeSubSection=\skip58
\LEN@afterSubSection=\skip59
\LEN@beforeSubSubSection=\skip60
\LEN@afterSubSubSection=\skip61
\LEN@beforeParagraph=\skip62
\LEN@afterParagraph=\skip63
\c@COUNT@currentListLevel=\count111
\@tableBox=\box29
\@figureBox=\box30
\@figureCaptionBox=\box31
\c@COUNT@theorem=\count112
\c@BOOL@manualQedCalled=\count113
) (/usr/share/texmf-texlive/tex/latex/base/fontenc.sty
Package: fontenc 2005/09/27 v1.99g Standard LaTeX package
(/usr/share/texmf-texlive/tex/latex/base/t1enc.def
File: t1enc.def 2005/09/27 v1.99g Standard LaTeX file
LaTeX Font Info: Redeclaring font encoding T1 on input line 43.
))
No file nouveau1.aux.
\openout1 = `nouveau1.aux'.
LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 25.
LaTeX Font Info: ... okay on input line 25.
LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 25.
LaTeX Font Info: ... okay on input line 25.
LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 25.
LaTeX Font Info: ... okay on input line 25.
LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 25.
LaTeX Font Info: ... okay on input line 25.
LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 25.
LaTeX Font Info: ... okay on input line 25.
LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 25.
LaTeX Font Info: ... okay on input line 25.
LaTeX Font Info: Try loading font information for T1+ptm on input line 25.
(/usr/share/texmf-texlive/tex/latex/psnfss/t1ptm.fd
File: t1ptm.fd 2001/06/04 font definitions for T1/ptm.
) (/usr/share/texmf-texlive/tex/context/base/supp-pdf.mkii
[Loading MPS to PDF converter (version 2006.09.02).]
\scratchcounter=\count114
\scratchdimen=\dimen121
\scratchbox=\box32
\nofMPsegments=\count115
\nofMParguments=\count116
\everyMPshowfont=\toks28
\MPscratchCnt=\count117
\MPscratchDim=\dimen122
\MPnumerator=\count118
\everyMPtoPDFconversion=\toks29
)
LaTeX Info: Redefining \degres on input line 25.
LaTeX Info: Redefining \dots on input line 25.
LaTeX Info: Redefining \up on input line 25.
(/usr/share/texmf-texlive/tex/latex/apacite/french.apc
LaTeX Info: Redefining \BPBI on input line 120.
LaTeX Info: Redefining \BHBI on input line 121.
)
! LaTeX Error: Something's wrong--perhaps a missing \item.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.51 \section
{Introduction}
Try typing <return> to proceed.
If that doesn't work, type X <return> to quit.
! LaTeX Error: Something's wrong--perhaps a missing \item.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.51 \section
{Introduction}
Try typing <return> to proceed.
If that doesn't work, type X <return> to quit.
LaTeX Font Info: Font shape `T1/ptm/bx/n' in size <10> not available
(Font) Font shape `T1/ptm/b/n' tried instead on input line 51.
No file nouveau1.bbl.
\c@COUNT@cptBiographies=\count119
\c@COUNT@authorNum=\count120
[1
{/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map}] (./nouveau1.aux)
LaTeX Warning: Label(s) may have changed. Rerun to get cross-references right.
)
Here is how much of TeX's memory you used:
4305 strings out of 494976
54646 string characters out of 1180754
140041 words of memory out of 3000000
7434 multiletter control sequences out of 15000+50000
12330 words of font info for 22 fonts, out of 3000000 for 9000
73 hyphenation exceptions out of 8191
39i,5n,26p,278b,143s stack positions out of 5000i,500n,10000p,200000b,50000s
{/usr/share/texmf-texlive/fonts/enc/dvips/base/8r.enc}</usr/share/texmf-texli
ve/fonts/type1/urw/times/utmb8a.pfb></usr/share/texmf-texlive/fonts/type1/urw/t
imes/utmr8a.pfb>
Output written on nouveau1.pdf (1 page, 23121 bytes).
PDF statistics:
15 PDF objects out of 1000 (max. 8388607)
0 named destinations out of 1000 (max. 500000)
1 words of extra memory for PDF output out of 10000 (max. 10000000)
article-hermes | how to use the hermes class with LyX
Download the file as given.
http://dn.revuesonline.com/revues/HermesLatex.zip
Go to C:\texlive\2011\texmf-dist\tex\latex\
and put the directory from the archive there.
Rename it to hermes, so the complete path is:
C:\texlive\2011\texmf-dist\tex\latex\hermes
And inside you have the hermes-journal.cls
For MiKTeX: C:\Program Files\MiKTeX 2.9\miktex\tex\latex\hermes
For Linux: /usr/local/texlive/2011/texmf-dist/tex/latex/hermes
Open command prompt, run texhash.
Create an empty text file, put the following code inside:
Save it as hermes-journal.layout
Copy the file to C:\Program Files\LyX20\Resources\layouts
On Linux: ~/.lyx/layouts, or similar directory, check yourself.
Run Lyx, then Tools -> Reconfigure. Restart Lyx.
Run Lyx again, open the desired document, select Document -> Settings,
go to Document Class and select the layout called article (hermes-journal),
also go to Language and select Encoding -> Other -> ASCII from the drop down menu.
Save and close the windows. Compile your document. Voila!
From:
http://stefaanlippens.net/customLaTeXclassesinLyX
http://www.paulkiddie.com/2010/02/addin ... vironment/
http://lyx.475766.n2.nabble.com/LaTeX-E ... 30429.html
Nikolay
http://dn.revuesonline.com/revues/HermesLatex.zip
Go to C:\texlive\2011\texmf-dist\tex\latex\
and put the directory from the archive there.
Rename it to hermes, so the complete path is:
C:\texlive\2011\texmf-dist\tex\latex\hermes
And inside you have the hermes-journal.cls
For MiKTeX: C:\Program Files\MiKTeX 2.9\miktex\tex\latex\hermes
For Linux: /usr/local/texlive/2011/texmf-dist/tex/latex/hermes
Open command prompt, run texhash.
Create an empty text file, put the following code inside:
Code: Select all
#% Do not delete the line below; configure depends on this
# \DeclareLaTeXClass[hermes-journal]{article (hermes-journal)}
# Input general definitions
Input stdclass.inc
Copy the file to C:\Program Files\LyX20\Resources\layouts
On Linux: ~/.lyx/layouts, or similar directory, check yourself.
Run Lyx, then Tools -> Reconfigure. Restart Lyx.
Run Lyx again, open the desired document, select Document -> Settings,
go to Document Class and select the layout called article (hermes-journal),
also go to Language and select Encoding -> Other -> ASCII from the drop down menu.
Save and close the windows. Compile your document. Voila!
From:
http://stefaanlippens.net/customLaTeXclassesinLyX
http://www.paulkiddie.com/2010/02/addin ... vironment/
http://lyx.475766.n2.nabble.com/LaTeX-E ... 30429.html
Nikolay