Installing new class. cls files

Baris Erkus bariserkus at hotmail.com
Tue Jul 28 06:34:49 UTC 2020


On 28.07.2020 02:55, Rich Shepard wrote:
> On Tue, 28 Jul 2020, Mike Reeks wrote:
>
>> Can anyone help me out here? I’m trying to install a class file for ASME
>> journals using Miktex console.
>
> Mike,
>
> Last time I used windoze was 1997 and NT4. I know nothing about it.
>
> Rich


This is straightforward.

Create a local folder:

c:\localtexmf\tex\latex   (it can be any other drive e.g d:\, depending 
on your computer)

Place your class file into this folder.

Or you can create another folder under the "latex" folder and place your 
files in there if you have many files, e.g:

d:\localtexmf\tex\latex\asme

Then, go to settings of MikTeX - Directories. Add the "d:\localtexmf" 
folder to the MikTeX path list.

Then go to Tasks and Refresh file name DB, Refresh font map files and, 
Update package database.

If you are using LyX, go to Tools - Reconfigure. Restart LyX and see 
your class file is installed.

Before using LyX, I highly recommend to test MikTeX using a regular 
LaTeX editor

Good luck!

Baris




More information about the lyx-users mailing list