Someone is answering me to use a command (kpsewhich --help
) in the command prompt. I have a stupid question: what is the "command prompt" and how can I use it in Texmaker
?
[Tex/LaTex] the command prompt ? How to use it in Texmaker for package installation using “kpsewhich” tool
texmaker
Related Question
- [Tex/LaTex] How to compile using a long command with many options for ps2pdf
- [Tex/LaTex] texmaker automatically sets scale=1 in the includegraphics tool. Can this be customised
- [Tex/LaTex] How to do automatic ‘environment’ of command in ‘Texmaker’
- [Tex/LaTex] the default command for quick build in texmaker
- [Tex/LaTex] How to install package so texmaker can use it
Best Answer
As Sigur pointed out :
On Windows (Command Prompt): http://en.wikipedia.org/wiki/Command_Prompt
Opening Command Prompt on Windows: press the
Windows
key (that one with the logo) +R
to open the Run box. Then typecmd
and hit enter orhttp://windows.microsoft.com/en-us/windows-vista/open-a-command-prompt-window
On Linux (Terminal): http://en.wikipedia.org/wiki/Terminal_emulator
https://help.ubuntu.com/community/UsingTheTerminal
Open Terminal In Texmaker:
Open TeXmaker-->Go to
Tools
menu-->Open Terminal
(3rd from bottom) on Latest version: Texmaker 4.1.Verify a latex installation: Commandline/Terminal:
To verify/test a latex installation(TeXlive or MiKTeX) using commandline/terminal, one can use
latex small2e
to get thesmall2e.dvi
(or)latex sample2e
to get thesample2e.dvi
pdflatex small2e
to get thesmall2e.pdf
(or)pdflatex sample2e
to get thesample2e.pdf
pdflatex sample2e
to get thesample2e.pdf
xetex opentype-info
to get theopentype-info.pdf
Verify or install/detect an installation of class package using
kpsewhich --help
standalone path lookup toolkpsewhich pkgname.sty
andkpsewhich clsname.cls
Related Q & A : What is the quickest way to check whether I already have a given package?
Some command line tools on TeXLive distribution that work crossplatform(Windows/Linux/Mac)
tlmgr: TeX Live package manager
tlmgr update --self --all
helps to keep updated distro with latest packages and bug fixestlmgr info pkg-name
to know the version/revision of package and details etctlmgr install pkg-name
to install a packagetlmgr Examples
texdoc/texdoctk : The powerfull documentation tool
Related Q Which books can I read via texdoc?
Remember commandline tools (CUI) instead of GUI's are more popular on Linux/Mac which really are life savers for debugging/scripting and much more. Even on windows it serves lot of advantages to verify any Editor specific bugs by cross checking on command line.
Note: On MiKTeX , I have no idea, anyone who can contribute are welcome to do so.