I downloaded "PSCyr-0.4-beta9-tex.tar.gz" and "PSCyr-0.4-beta9-type1.tar.gz" archives but I don't know what I should do with it. In google I don't found guide for installing this on mac os x.
[Tex/LaTex] How to install PsCyr on Mac OS X 10.9
installingmac
Related Solutions
The font can be easily installed via the script getnonfreefonts
. It is available at tug.org:
EDIT: I tried the installation of getnonfreefonts on my Mac. In the follwoing explaniation I will try to explain my steps. First I have the following machine:
- iMac 27"
- Installed updated MacTeX 2011
Now the steps.
- I downloaded the installation script.
Open the terminal and go to the folder Download
cd Download
Run the installation:
sudo texlua install-getnonfreefonts
The installation finished and the scipts with their execute files
getnonefreefonts
andgetnonfreefonts-sys
are now located at/usr/local/texlive/2011/bin/x86_64-darwin/
Now you can run the script
sudo getnonfreefonts-sys -a
I suppose you already have Vim installed in your operating system.
Usually, the installation is very straightforward for every operating system. For Macs, we have MacVim, and AFAIK two options are available:
Getting the correct MacVim version for your operating system in the project website, unzip the archive file and drag
MacVim.app
to yourApplications
folder.If you use Homebrew, there's already a formula for MacVim available, so you can run
brew install macvim
and MacVim will be deployed.
Now, back to vim-latex
.
I don't use it, but I can provide a very clean way of deploying plugins for Vim. The solution relies on Tim Pope's awesome pathogen
plugin, which manage our runtimepath
very easily.
First of all, open your terminal and type the following:
mkdir -p ~/.vim/autoload ~/.vim/bundle
This will create two directories (and even the parent .vim
directory, if it doesn't exist), autoload
and bundle
inside .vim
. Now we are half-way done.
Now, let's type this command:
curl -LSso ~/.vim/autoload/pathogen.vim https://tpo.pe/pathogen.vim
This command will download pathogen.vim
from Tim's repository and deploy it inside the autoload
directory.
Now let's edit .vimrc
to call pathogen
for us. Type this command:
open -e ~/.vimrc
and add the following lines, preferably in the beginning:
execute pathogen#infect()
syntax on
filetype plugin indent on
...
<the rest of the file>
...
Note: The only required line for pathogen
to work is the first one, the other two are just some goodies I recommend. :)
Now, if you want to deploy any Vim plugin, just extract it and put the extracted directory under ~/.vim/bundle
. That's it.
For example, I got this file, vim-latex-1.8.23-20130116.788-git2ef9956.tar.gz
. I'll extract it, and the result is as follows:
vim-latex-1.8.23-20130116.788-git2ef9956
├── compiler
│ └── tex.vim
├── doc
│ ├── catalog.xml
│ ├── db2vim
│ │ ├── db2vim
│ │ ├── domutils.py
│ │ └── textutils.py
│ ├── imaps.txt
│ ├── latexhelp.txt
│ ├── latex-suite-chunk.xsl
│ ├── latex-suite-common.xsl
│ ├── latex-suite.css
│ ├── latex-suite-quickstart.css
│ ├── latex-suite-quickstart.txt
│ ├── latex-suite-quickstart.xml
│ ├── latex-suite.txt
│ ├── latex-suite.xml
│ ├── latex-suite.xsl
│ ├── Makefile
│ ├── Makefile.in
│ ├── README
│ └── README.new
├── ftplugin
│ ├── bib_latexSuite.vim
│ ├── latex-suite
│ │ ├── bibtex.vim
│ │ ├── bibtools.py
│ │ ├── brackets.vim
│ │ ├── compiler.vim
│ │ ├── custommacros.vim
│ │ ├── diacritics.vim
│ │ ├── dictionaries
│ │ │ ├── dictionary
│ │ │ └── SIunits
│ │ ├── elementmacros.vim
│ │ ├── envmacros.vim
│ │ ├── folding.vim
│ │ ├── macros
│ │ │ └── example
│ │ ├── main.vim
│ │ ├── mathmacros-utf.vim
│ │ ├── mathmacros.vim
│ │ ├── multicompile.vim
│ │ ├── outline.py
│ │ ├── packages
│ │ │ ├── accents
│ │ │ ├── acromake
│ │ │ ├── afterpage
│ │ │ ├── alltt
│ │ │ ├── amsmath
│ │ │ ├── amsthm
│ │ │ ├── amsxtra
│ │ │ ├── arabic
│ │ │ ├── array
│ │ │ ├── babel
│ │ │ ├── bar
│ │ │ ├── biblatex
│ │ │ ├── bm
│ │ │ ├── bophook
│ │ │ ├── boxedminipage
│ │ │ ├── caption2
│ │ │ ├── cases
│ │ │ ├── ccaption
│ │ │ ├── changebar
│ │ │ ├── chapterbib
│ │ │ ├── cite
│ │ │ ├── color
│ │ │ ├── comma
│ │ │ ├── csquotes
│ │ │ ├── deleq
│ │ │ ├── drftcite
│ │ │ ├── dropping
│ │ │ ├── enumerate
│ │ │ ├── eqlist
│ │ │ ├── eqparbox
│ │ │ ├── everyshi
│ │ │ ├── exmpl
│ │ │ ├── fixme
│ │ │ ├── flafter
│ │ │ ├── float
│ │ │ ├── floatflt
│ │ │ ├── fn2end
│ │ │ ├── footmisc
│ │ │ ├── geometry
│ │ │ ├── german
│ │ │ ├── graphicx
│ │ │ ├── graphpap
│ │ │ ├── harpoon
│ │ │ ├── hhline
│ │ │ ├── histogram
│ │ │ ├── hyperref
│ │ │ ├── ifthen
│ │ │ ├── inputenc
│ │ │ ├── letterspace
│ │ │ ├── lineno
│ │ │ ├── longtable
│ │ │ ├── lscape
│ │ │ ├── manyfoot
│ │ │ ├── moreverb
│ │ │ ├── multibox
│ │ │ ├── multicol
│ │ │ ├── newalg
│ │ │ ├── ngerman
│ │ │ ├── numprint
│ │ │ ├── oldstyle
│ │ │ ├── outliner
│ │ │ ├── overcite
│ │ │ ├── pagenote
│ │ │ ├── parallel
│ │ │ ├── plain
│ │ │ ├── plates
│ │ │ ├── polski
│ │ │ ├── psgo
│ │ │ ├── schedule
│ │ │ ├── SIunits
│ │ │ ├── textfit
│ │ │ ├── times
│ │ │ ├── tipa
│ │ │ ├── ulem
│ │ │ ├── url
│ │ │ ├── verbatim
│ │ │ └── version
│ │ ├── packages.vim
│ │ ├── projecttemplate.vim
│ │ ├── pytools.py
│ │ ├── smartspace.vim
│ │ ├── templates
│ │ │ ├── article.tex
│ │ │ ├── IEEEtran.tex
│ │ │ ├── report.tex
│ │ │ └── report_two_column.tex
│ │ ├── templates.vim
│ │ ├── texmenuconf.vim
│ │ ├── texproject.vim
│ │ ├── texrc
│ │ ├── texviewer.vim
│ │ ├── version.vim
│ │ └── wizardfuncs.vim
│ └── tex_latexSuite.vim
├── indent
│ └── tex.vim
├── latextags
├── ltags
├── Makefile
├── Makefile.in
└── plugin
├── filebrowser.vim
├── imaps.vim
├── libList.vim
├── remoteOpen.vim
└── SyntaxFolds.vim
Now, I'll simply get the whole vim-latex-1.8.23-20130116.788-git2ef9956
directory and move/copy it inside ~/.vim/bundle
.
If you want to open ~/.vim/bundle
in Finder, just type
open ~/.vim/bundle
and you will get a nice file manager to help you.
That's how pathogen
works for virtually all plugins. Note that vim-latex
requires you to set some settings in your .vimrc
. Just repeat
open -e ~/.vimrc
and add stuff after the pathogen
line.
I really hope my answer helps. :)
Best Answer
The best is to use the Terminal.
Create a working directory and move there the two archives
Open a Terminal window and
cd
to the created directoryUncompress the two files with
Do
cd PSCyr
Do
cp install.sh install-tl.sh
Open the
install-tl.sh
file with a text editor and modify it so that it containsThere are a few lines to remove and
TEXMF
should be changed intoINSTALLDIR
(settingTEXMF
could confuse the system); alsoTEXMFMAIN
must be changed intoTEXMFLOCAL
. You can also just remove all the contents and paste the code above.Do
sudo sh install-tl.sh
(type the administrator password when requested)Enjoy.
I created the following test file, using http://generator.lorem-ipsum.info/_russian
Here's the output