Thursday, 22 August 2013

Biblatex + Xetex + memoir in Urdu: how to modify headings

Biblatex + Xetex + memoir in Urdu: how to modify headings

Although a Newbie, I have been using XeteX, bidi and BiblateX with great
success in Urdu. I have alphabetical footnotes with most of the secondary
sources in the endnotes. The endnotes and bibliography are in English,
whereas the rest is in Urdu. Modifying headers and footers works great as
well.
However, I would like to get rid of the Chapter Heading including the
number above the Urdu title äæŠÓ. And I would like to center the
subheadings. Modifying with enoteheadings doesn't seem to do the trick
(problem with memoir + XeteX?
Any ideas?
My minimal example:
% !TEX TS-program = xelatex
\TeXXeTstate=1
\documentclass[12pt,a4paper]{memoir}
\usepackage[a5paper, left=.915in,right=.915in,top=1.651cm,bottom=1.524cm]
{geometry}
\usepackage{fontspec}% font selecting commands
\usepackage{xunicode}% unicode character macros
\usepackage{wrapfig}
\usepackage[footnotesize,justification=centering]{caption}
\usepackage{float}
\usepackage{framed}
\usepackage{libertine}
\usepackage{bidi}
\usepackage{perpage}
\defaultfontfeatures{Scale=MatchLowercase, Mapping=tex-text}
\setmainfont[Script=Arabic,Scale=1.3, WordSpace=1]{Jameel Noori Nastaleeq}
\newfontfamily\latin[Ligatures=TeX]{Linux Libertine O}
\newfontfamily\greek[Script=Greek]{Linux Libertine O}
\fontspec[Script=Arabic,Scale=1.0,WordSpace=1]{Nafees}
\rightfootnoterule
\usepackage[perpage,bottom]{footmisc}
\usepackage{csquotes}
\pretitle{\begin{center}\LARGE}
\posttitle{\par\end{center}\vskip 6em}
%%% ToC (table of contents)APPEARANCE
\maxtocdepth{subsection} % include subsections
\renewcommand{\cftchapterpagefont}{}
\renewcommand{\cftchapterfont}{} % no bold!
\renewcommand*{\contentsname}{ÝÀÑÓÊ ö ãÖÇãیä}
\chapterstyle{ger}
\renewcommand*{\chaptername}{ÈÇÈ}
\renewcommand{\thepart}{}
\renewcommand{\printpartname}{}
\let\origfootnote\footnote
\renewcommand{\footnote}[1]{\kern-.2em\origfootnote{#1}}
\renewcommand*{\thefootnote}{\alph{footnote}}
\makepagenote
\renewcommand*{\pagenotesubhead}[3]{\section*{#2 #1}}
\renewcommand*{\notesname}{äæŠÓ}
\renewcommand*{\notenuminnotes}[1]{\latin #1.\space}
\renewcommand*{\prenoteinnotes}{\par\noindent\hangindent 2em}
\usepackage[backend=biber,autocite=footnote,sortcites=true,
style=authortitle-icomp,block=space,notetype=endonly,firstinits=true,language=british]{biblatex}
\addbibresource{bibliography.bib}
\title
{˜ÊÇÈ\\
{æÛیÑÀ}}
\author{ÎÇä}
\begin{document}
\setRL
\maketitle
\newpage
\tableofcontents*
\newpage
\chapter
 ÇیãÇä ˜ی Ïæš ãیŸ Ǎªی ÊÑÞی ˜Ñ ÑÀÿ ʪÿ! Êæ
ªÑ ˜Ó äÿ  ˜æ ÓÇÆی ˜ی یÑæی ˜Ñäÿ Óÿ Ñæ˜
áیÇ¿
\footnote{áÊیæŸ 5:\! 7}
ÒÀÑ ˜ÿ یÇáÿ ˜æ ÀæäŠæŸ ʘ ÇõŠªÇ ˜Ñ ÇõÓ äÿ ÈáÇ̪̘ ÇæÑ ÒäÏÀ Ïáی
Óÿ ÒÀÑ ˜æ ی áیÇ۔ یÀÇŸ ʘ Àã Ìæ ÓÇʪ ʪÿ
ÒیÇÏÀ ÊÑ ÓäȪáÿ ÀæÆÿ ʪÿ۔ áی˜ä ÌÈ Ïی˜ªÇ
\autocite[56--78]{Najim}
˜À æÀ ÒÀÑ ˜æ ی ˜Ñ ÊÀÀ ʘ Àä یÇ Àÿ Êæ Àã ǁäÿ ÂäÓæÄŸ ˜æ Ñæ˜
äÀ Ó˜ÿ۔ ãیŸ Ȫی ǁäÿ  Ñ ÞÇÈæ äÀ Ç Ó˜Ç Èá˜À ÒÇÑ æ
ÞØÇÑ Ñæäÿ áÇ۔
\autocite[33--34]{Murray1974}
%%print endnote
\newpage
\setLR{\printpagenotes*}
%%print endnote
\newpage
\printbibliography%[heading=bibliography]%
\end{document}
The bibliography.bib file linked to this:
@ARTICLE{Murray1974,
author = {Robert Murray},
title = {The Exhortation to Candidates for Ascetical Vows at Baptism in
the Ancient Syrian Church},
journal = {New Testament Studies},
year = {1974–75},
volume = {21},
pages = {58–79},
timestamp = {2013.03.13}
}
@BOOK{Najim,
title = {Antioch and Syrian Christianity},
author = {Najim, Michel},
editor = {Frazer, Terry},
subtitle = {A Chalcedonian Perspective on a Spiritual Heritage},
timestamp = {2011.08.29},
url = {www.stnicholasla.com/frmichel/antiochandsyriacchristianity.pdf},
urldate = {2011-08-31}
}
The font Jameel Noori Nastaleeq is found here http://urdu.ca/1 (Other
Operating Systems).
Please don't be bothered by the longer line in endnote 1. This is just due
to the minimized code.

No comments:

Post a Comment