[Tugindia] [Fwd: Customising Contents page]

rishikesh gawade rishikeshgawade at gmail.com
Thu Jul 26 16:44:34 CEST 2012


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 <sasi.cess at gmail.com> 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
>


More information about the tugindia mailing list