[XeTeX] Extra space after opening quote

Sasi Kumar sasi.fsf at gmail.com
Wed Jul 9 12:59:12 CEST 2014


Dear friends,

I find that when I compile an article with the following code, xelatex
inserts a space after the opening quote, which is unnecessary. A minimal
sample is given below. I am using Malayalam text with Rachana font. You can
see the space inserted after the opening quote at two places in the text,
close to the bottom.

Thanks and regards,
Sasi

The sample code below:

\documentclass[a4paper,12pt]{article}
\usepackage[margin=1in]{geometry}
\usepackage{fontspec}
\usepackage{polyglossia,xltxtra}
\newfontfamily\malayalamfont[Script=Malayalam,Mapping=tex-text]{Rachana}
\setromanfont{DejaVu Serif}

\usepackage{url}
\usepackage{fancyhdr}
\setdefaultlanguage{malayalam}
\newcommand{\dash}{\raisebox{2pt}{\rule{3mm}{0.5pt}}}


\date{}

\begin{document}
\lefthyphenmin=2
\righthyphenmin=2

\thispagestyle{empty}
\pagestyle{fancy}


\newfontfamily\malayalamfont[Script=Malayalam]{Meera}

\begin{center}
\newfontfamily\malayalamfont[Script=Malayalam]{Meera}
{\Large\textbf{വിഡ്ഢിപ്പെട്ടി കൊല്ലുമത്രെ!}}

\vspace{5mm}{\textbf{ഡോ.~വി.~ശശി കുമാര്‍}}
\end{center}

\newfontfamily\malayalamfont[Script=Malayalam]{Rachana}
\setlength{\baselineskip}{1.2\baselineskip}\addtolength{\parskip}{10pt}
നാം വിഡ്ഢിപ്പെട്ടി എന്നു് മലയാളത്തിലും Idiot Box എന്നു് ഇംഗ്ലിഷിലും
കളിയാക്കി വിളിച്ചുവരുന്ന ആധുനിക മായാജാലയന്ത്രമായ ടെലിവിഷന്‍ വളരെനേരം
കാണുന്നതു് നല്ലതല്ല എന്നു് മാതാപിതാക്കള്‍ കുട്ടികളോടെങ്കിലും പറയാറുണ്ടു്.
എന്നാല്‍ പല മാതാപിതാക്കളും എത്ര മണിക്കൂറാണു് ഓരോ ദിവസവും വിഡ്ഢിപ്പെട്ടിയുടെ
മുന്നില്‍ ചെലവഴിക്കുന്നതെന്നു് ആത്മപരിശോധന നടത്തുന്നതു് നന്നായിരിക്കും. ഒരു
കഥ വായിക്കുമ്പോള്‍ അതിലെ സംഭവങ്ങളും സാഹചര്യങ്ങളും മറ്റും നാം
സങ്കല്പിക്കുകയാണു് ചെയ്യുക. അത്രകണ്ടെങ്കിലും മാനസികവ്യായാമം വായനക്കാര്‍
ചെയ്യുന്നുണ്ടു്. എന്നാല്‍ അതേ കഥ നാം ടെലിവിഷനിലോ സിനിമയിലോ കാണുമ്പോള്‍
പൂര്‍ണ്ണ നിഷ്ക്രിയരായി നോക്കിയിരിക്കുക മാത്രമാണു് ചെയ്യുന്നതു്.
മനസ്സിനുമില്ല വ്യായാമം, ശരീരത്തിനുമില്ല. ഈ മാനസിക വ്യായാമമില്ലായ്ക
കുട്ടികളെ കൂടുതല്‍ ബാധിക്കുമെങ്കില്‍ ശാരീരിക വ്യായാമമില്ലായ്മ എല്ലാവരെയും
ബാധിക്കും. വെറുതെയല്ല ഒരുപാടുസമയം ടെലിവിഷനുമുന്നില്‍ ചെലവഴിക്കുന്നവരെ
ഇംഗ്ലിഷില്‍ couch potato (ശയ്യാകിഴങ്ങന്‍) എന്നു വിളിക്കുന്നതു്.
മാനസികാദ്ധ്വാനമില്ലാതെ ഇവര്‍ യഥാര്‍ത്ഥത്തില്‍ `കിഴങ്ങന്മാരായി'
തീരുകമാത്രമല്ല, അവരുടെ ജീവിതംതന്നെ വേഗം തീര്‍ന്നുകിട്ടും എന്നാണു്
സ്പെയ്‌നില്‍നിന്നുള്ള പഠനം കാണിക്കുന്നതു്. അതെക്കുറിച്ചു് ``വിശദമായി
പരിശോധിക്കാം''.

\end{document}

-- 
V. Sasi Kumar
Free Software Foundation of India
Please see: http://swatantryam.blogspot.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/xetex/attachments/20140709/bfc3fa46/attachment.html>


More information about the XeTeX mailing list