Re: Rupee symbol for LaTeX on Mac OS X

"S. venkataraman" <[email protected]>
Newsgroups gmane.comp.tex.tugindia
Message-ID <[email protected]>
On Tue, Jan 4, 2011 at 9:03 AM, Shrisha Rao <[email protected]> wrote:

> El ene 4, 2011, a las 8:15 a.m., Kannan Moudgalya escribió:
>
> > Shrisha Rao wrote:
> >> I am using the symbol on Mac OS X with XeLaTeX (not plain LaTeX), using
> fontspec and the following lines in the preamble (with the font itself
> placed in /Library/Fonts):
> >>
> >> \newfontface\Rupee{Indian Rupee} % Raju Das's Indian Rupee font
> >> \newcommand{\Rs}{{\Rupee \symbol{"20A8}}}
> >>
> >> Then in the main body (after \begin{document}), one can simply write
> ``This contract is worth \Rs 20,000,'' etc.
> >>
> > Unfortunately, it does not work on LaTeX.
>
> Of course; it requires XeLaTeX as I said; fontspec itself does not work
> with LaTeX.
>
> Regards,
>
> Shrisha Rao
>
> > Thanks.
> >
> > Kannan
>
>
> _______________________________________________
> Home:        http://www.tug.org.in/
> TeX FAQ:     http://www.tex.ac.uk/faq
> unsubscribe: http://tug.org/mailman/listinfo/tugin<http://tug.org/mailman/listinfo/tugindia>
>
I am using ubuntu 10.04 and texlive 2009.
Here is what I did to use the rupee font in pdflatex.
It should work with texlive on other platforms too.

   1. Download the archive and unzipped it.
   2. Copied the entire contents of the directory tfrupee to my
   local directory under /opt/local/texlive.
   sudo cp -r * /opt/texlive/texmf-local/.
   3. Ran texhash as super user.
   sudo texhash
   4. Enabled the map file for all users.
   sudo updmap-sys --enable Map=tfrupee.map
   5. Created a small test file:
   ******************************
   \documentclass[12pt]{article}
   \usepackage{tfrupee}
   \begin{document}
   \rupee\ 20,000
   \end{document}
   ***************************
   6. Ran pdflatex. Worked fine.

Best,
S. Venkataraman
_______________________________________________
Home:        http://www.tug.org.in/
TeX FAQ:     http://www.tex.ac.uk/faq
unsubscribe: http://tug.org/mailman/listinfo/tugindia
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.