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: 10345
- 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: 10345
- 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 texhashtexhash: 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: 10345
- 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-Rtex./tex:latex./tex/latex:hermeshermes-journal.cls./tex/latex/hermes:hermes-journal.cls
- Stefan Kottwitz
- Site Admin
- Posts: 10345
- 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:46entering extended mode%&-line parsing enabled.**nouveau1.tex(./nouveau1.texLaTeX2e <2009/09/24>Babel <v3.8l> and hyphenation patterns for english, usenglishmax, dumylang, nohyphenation, farsi, arabic, ibycus, monogreek, greek, ancientgreek, loaded.(/home/hulin/texmf/tex/latex/article-hermes.clsLaTeX 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 class for journal published by Hermes Sciences Publication(/usr/share/texmf-texlive/tex/latex/base/ifthen.styPackage: ifthen 2001/05/26 v1.1c Standard LaTeX ifthen package (DPC))hermes-journal.cls: ``english'' option enabledhermes-journal.cls WARNING: ``french'' option is unknownValid options: cropmarks, editorMode, english(/usr/share/texmf-texlive/tex/latex/base/article.clsDocument Class: article 2007/10/19 v1.4h Standard LaTeX document class(/usr/share/texmf-texlive/tex/latex/base/size10.cloFile: 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.styPackage: fontenc 2005/09/27 v1.99g Standard LaTeX package(/usr/share/texmf-texlive/tex/latex/base/t1enc.def
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 definitionsInput 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