Re: [Fwd: Customising Contents page]

rishikesh gawade <[email protected]>
Newsgroups gmane.comp.tex.tugindia
Message-ID <CAE05qnJA5Pr_qWc2NvN6KP2OJ=8K_SE7LPWQuq3TsFowSXSKqQ@mail.gmail.com>
This is how I do it for Devanagari text. You can try this.

\documentclass[12pt,openany]{book}
\usepackage{fontspec}
\usepackage{polyglossia}
\usepackage{graphicx}
\usepackage{wrapfig}
\setmainfont[Script=Devanagari,Mapping=devanagarinumerals]{Lohit Marathi}
\defaultfontfeatures{Mapping=tex-text}
\usepackage{xunicode}
\usepackage{xltxtra}
\usepackage{fancyhdr}
\usepackage{geometry}
\usepackage{indentfirst}
\setlength{\parindent}{20pt}
\oddsidemargin 0pt
\evensidemargin 0pt
\pagestyle{fancy}
\fancyhead{}
\fancyhead[LO]{श्यामची आई}
\fancyhead[RE]{श्यामची आई}
\begin{document}
\author{साने गुरूजी}
\title{\huge \bfseries श्यामची आई}
\date{}
\maketitle
\renewcommand{\contentsname}{अनुक्रमणिका}
\begin{center}
\tableofcontents
\end{center}
\chapter*{श्यामची आई}\addcontentsline{toc}{chapter}{श्यामची आई}

On Thu, Jul 26, 2012 at 6:17 PM, V. Sasi Kumar <[email protected]> wrote:

> This is a problem about which I had written some time back. I am still
> facing it and am forced to write again since there was no response to
> it.
>
> When I create the Contents page for a Malayalam document (book), the
> page numbers that are in roman appear as meaningless Malayalam
> characters. I am using the omal package with Omega. Is there some
> workaround for this?
>
> Thanks
> Sasi
>
> --
> Dr. V. Sasi Kumar
> Scientist (Retd)
> Centre for Earth Science Studies
> Thiruvananthapuram
> http://chithariyachinthakal.blogspot.com
>
> _______________________________________________
> Home:        http://www.tug.org.in/
> TeX FAQ:     http://www.tex.ac.uk/faq
> unsubscribe: http://tug.org/mailman/listinfo/tugindia
>
_______________________________________________
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.