Document Classes ⇒ How to use a class with Vim
How to use a class with Vim
I'm used to vim, so I installed vim-latexsuite and some latex features appear in the tool bar. But I just don't know how to use what I found on CTAN.
First of all the README says:
Download the file papertex.cls ...
There is no such cls file there, that puzzles me. I googled for one and I found this:
http://www.tug.org/texmf-dist/tex/latex/papertex
I read I should place the .cls in .vim/ftplugin/latex-suite/templates/
But gvim fails when I try to use it:
Error detected while processing function
<SNR>43_ReadTemplate..Tex_pack_updateall..Tex_ScanForPackages:
line 138:
Another issue is that line in the README:
This class requires other LaTeX packages that you might need to
download before compiling your documents.
What packages would that be ?
I know may be I just didn't read a basic Latex Getting Started document
or something. I've been reading some docs I found but I'm still clueless.
I will gladly read any document I get pointed to.
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
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Re: How to use a class with Vim
Best regards and welcome to the board
Thorsten
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
How to use a class with Vim
Well, the author of papertex kindly answered me I had to build the .clsfrankie wrote:Hi. I'm considering using Latex for writing a small magazine. I found something on CTAN called papertex that looks like it should help me. But I just don't know how to get started.
file issuing the command latex papertex.ins
Now it looks I can open the example .tex file with vim.