LyX ⇒ Installing a new document class
Installing a new document class
amsfonts.sty, amsmath.sty, amssymb.sty, bbold11.fm, bbold11.tfm, doublesp.sty, floatflt.sty, mathbbol.sty, natbib.sty, rotating.sty
The files were downloaded from:
http://www.tandfonline.com/action/autho ... structions
I have read every possible set of directions I could find on the internet to do this, and still haven't even been able to get the class to appear in LyX, not even as "unavailable."
I'm working on a laptop running Windows Vista (which is probably the root of all of my problems!).
I have tried to place the class the file (in an appropriately named tBSH2e folder along with any style files) in the following locations:
C:\Users\my_user_name\AppData\Roaming\MiKTeX\2.9\tex\latex
C:\Program Files\MiKTeX 2.9\tex\latex
C:\Program Data\MiKTeX\2.9\tex\latex
(I think these are the only places, but I can't remember as I have since deleted any files I had placed. I searched my computer for article.cls and tried placing my class file anywhere I found article.cls).
I also tried to create my own texmf tree in the Users folder, and added it to the file name database for MiKTeX, but that did nothing as well (although I may have done something incorrectly).
I also created an appropriate layout file and placed it in:
C:\Program Files\Lyx20\Resources\layouts (I'm not sure why there is a "Lyx20" folder in the first place)
C:\Program Files\Lyx2.0\Resources\layouts
I then ran texhash, as well as refreshed the FNDB and reconfigured LyX. Still, nothing.
I'm not sure what I'm doing wrong, and am very frustrated at this point. While I am quite familiar with LyX (I wrote my Masters Thesis in it), I have never installed a new document class. Any help with this issue would be greatly appreciated.
- Attachments
-
- tBSH2e.cls
- (57.83 KiB) Downloaded 713 times
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
Installing a new document class
You have probably seen this guide: http://stefaanlippens.net/customLaTeXclassesinLyX.
Unfortunately, I'm not familiar with LyX layout files. However, I suggest you first figure out whether the problem is with the LyX file or the installation of the class file. Try running the following code with latex and if that works, your LyX file has a problem.
Code: Select all
\documentclass{tBSH2e}
\usepackage{blindtext}
\begin{document}
\section{Dummy section}
\blindtext
\end{document}