[XeTeX] XeTeX Digest, Vol 123, Issue 20

Sasi Kumar sasi.fsf at gmail.com
Sat Jun 28 12:09:52 CEST 2014


Dear Sri Wagner,

I am not very sure what all I did, but now it is coming properly. I
got the text and everything seems to have come as intended, except
some overflow on the right margin which I will have to correct
manually. But this is a big relief for me since I was struggling under
the weight of aleph for a long time.

Thank you all the same and warm regards from the tropics.
Sasi

On 28/06/2014, xetex-request at tug.org <xetex-request at tug.org> wrote:
> Send XeTeX mailing list submissions to
> 	xetex at tug.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> 	http://tug.org/mailman/listinfo/xetex
> or, via email, send a message with subject or body 'help' to
> 	xetex-request at tug.org
>
> You can reach the person managing the list at
> 	xetex-owner at tug.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of XeTeX digest..."
>
>
> Today's Topics:
>
>    1. Problem with Malayalam book class using xelatex (Sasi Kumar)
>    2. Re: Problem with Malayalam book class using xelatex
>       (Zdenek Wagner)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Fri, 27 Jun 2014 21:36:21 +0530
> From: Sasi Kumar <sasi.fsf at gmail.com>
> To: xetex <xetex at tug.org>
> Subject: [XeTeX] Problem with Malayalam book class using xelatex
> Message-ID:
> 	<CAOZpsvs8O1XxbiJJLGdfJ3sf3-kLhVJea2ht_14mUpT5XM0UFw at mail.gmail.com>
> Content-Type: text/plain; charset="UTF-8"
>
> Hello everyone,
>
> I had written a book using aleph and it was compiling properly till I
> changed my laptop and installed everything afresh. Then it developed
> several problems, some of which I could solve with help. But there
> still remained some problem and finally, I decided to use xelatex.
> Thus, I modified the code to suit xelatex and compiled. It compiled
> without any error and gave a pdf output. But the pdf file contained
> only boxes and no text. I used my favourite Rachana font with old
> style letters. I am giving the entire preamble below. Could someone
> tell me what I could be doing wrong? I have Rachana installed on my
> system and use it to create documents occasionally with Libre Office.
> In fact, I have been usng xelatex with Rachana font for writing
> articles without any problem. Thus this looks rather strange!
>
> Thank you in advance for any help.
>
> Regards,
> Sasi
>
> My preamble:
>
> \documentclass[a5paper,11pt,openany]{book}
> \oddsidemargin=-1in
> \topmargin=-1in
> \usepackage{graphicx}
> \let\footruleskip\undefined
> \usepackage{fancyhdr}
> \usepackage{multicol}
> \usepackage[paperheight=22.225cm,,paperwidth=14.2875cm,lmargin=15mm,tmargin=20mm]{geometry}
> \textheight=16cm
> \textwidth=11cm
> \usepackage{url}
> \usepackage{polyglossia}
> \newfontfamily \mayalamfont[Script=Malayalam]{Rachana}
> \setromanfont{DejaVu Serif}
>
> \usepackage{makeidx}
> \usepackage{caption}
> \setcounter{tocdepth}{0}
> \usepackage{balance}
> \makeatletter
> \def\thickhrule{\leavevmode \leaders \hrule height 1ex \hfill \kern \z@}
> \def\position{\centering}
>
> \renewcommand{\@makechapterhead}[1]{%
>  \vspace*{10\p@}%
>   {\parindent \z@ \position \reset at font
>         {\centering\LARGE  \thechapter .  #1}
>         \par\nobreak
>         \vspace*{5\p@}%
>         \interlinepenalty\@M
>        \par\nobreak
>        \vspace*{2\p@}%
>     \vskip 5mm
>   }}
> \makeatother
>
> \makeatletter
>
> \renewcommand\chapter{%
>                    \vskip 25mm
>                     \@afterindentfalse
>                     \secdef\@chapter\@schapter}
> \makeatother
>
> \makeatletter
> \renewcommand\section{\@startsection {section}{1}{\z@}%
>                                    {-3.5ex \@plus -1ex \@minus -.2ex}%
>                                    {2.3ex \@plus.2ex}%
>                                    {\normalfont}}
> \makeatother
> \setlength{\parindent}{8mm}
> \newcommand{\dash}{\raisebox{2pt}{\rule{3mm}{0.5pt}}}
> \newcommand{\chem}[1]{\ensuremath\mathrm{#1}}
> \lefthyphenmin=3
> \righthyphenmin=3
> \setlength{\parskip}{0cm}
>
> \makeindex
> \pagenumbering{roman}
> \def\thepage{{ \roman{page}}}
>
> \makeatletter
> \DeclareOldFontCommand{\rm}{\normalfont\rmfamily}{\mathrm}
> \DeclareOldFontCommand{\sf}{\normalfont\sffamily}{\mathsf}
> \DeclareOldFontCommand{\tt}{\normalfont\ttfamily}{\mathtt}
> \DeclareOldFontCommand{\bf}{\normalfont\bfseries}{\mathbf}
> \DeclareOldFontCommand{\it}{\normalfont\itshape}{\mathit}
> \DeclareOldFontCommand{\sl}{\normalfont\slshape}{\@nomath\sl}
> \DeclareOldFontCommand{\sc}{\normalfont\scshape}{\@nomath\sc}
> \makeatother
> %================================ BODY ===================================
>
> \begin{document}
>
> --
> V. Sasi Kumar
> Free Software Foundation of India
> Please see: http://swatantryam.blogspot.com/
>
>
>
> ------------------------------
>
> Message: 2
> Date: Fri, 27 Jun 2014 18:48:29 +0200
> From: Zdenek Wagner <zdenek.wagner at gmail.com>
> To: "XeTeX (Unicode-based TeX) discussion." <xetex at tug.org>
> Subject: Re: [XeTeX] Problem with Malayalam book class using xelatex
> Message-ID:
> 	<CAC1phyY-pjoT4PsgAYgaO4LiMwYTbq8+KeLYJQkoBWmZNdCxCA at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-2"
>
> Namaste Sasi,
>
> could you send me a sample document, not just a preamble? I do have Rachana
> installed but I do not know Malayalam, I need something to test.
>
>
> 2014-06-27 18:06 GMT+02:00 Sasi Kumar <sasi.fsf at gmail.com>:
>
>> Hello everyone,
>>
>> I had written a book using aleph and it was compiling properly till I
>> changed my laptop and installed everything afresh. Then it developed
>> several problems, some of which I could solve with help. But there
>> still remained some problem and finally, I decided to use xelatex.
>> Thus, I modified the code to suit xelatex and compiled. It compiled
>> without any error and gave a pdf output. But the pdf file contained
>> only boxes and no text. I used my favourite Rachana font with old
>> style letters. I am giving the entire preamble below. Could someone
>> tell me what I could be doing wrong? I have Rachana installed on my
>> system and use it to create documents occasionally with Libre Office.
>> In fact, I have been usng xelatex with Rachana font for writing
>> articles without any problem. Thus this looks rather strange!
>>
>> Thank you in advance for any help.
>>
>> Regards,
>> Sasi
>>
>> My preamble:
>>
>> \documentclass[a5paper,11pt,openany]{book}
>> \oddsidemargin=-1in
>> \topmargin=-1in
>> \usepackage{graphicx}
>> \let\footruleskip\undefined
>> \usepackage{fancyhdr}
>> \usepackage{multicol}
>>
>> \usepackage[paperheight=22.225cm,,paperwidth=14.2875cm,lmargin=15mm,tmargin=20mm]{geometry}
>> \textheight=16cm
>> \textwidth=11cm
>> \usepackage{url}
>> \usepackage{polyglossia}
>> \newfontfamily \mayalamfont[Script=Malayalam]{Rachana}
>> \setromanfont{DejaVu Serif}
>>
>> \usepackage{makeidx}
>> \usepackage{caption}
>> \setcounter{tocdepth}{0}
>> \usepackage{balance}
>> \makeatletter
>> \def\thickhrule{\leavevmode \leaders \hrule height 1ex \hfill \kern \z@}
>> \def\position{\centering}
>>
>> \renewcommand{\@makechapterhead}[1]{%
>>  \vspace*{10\p@}%
>>   {\parindent \z@ \position \reset at font
>>         {\centering\LARGE  \thechapter .  #1}
>>         \par\nobreak
>>         \vspace*{5\p@}%
>>         \interlinepenalty\@M
>>        \par\nobreak
>>        \vspace*{2\p@}%
>>     \vskip 5mm
>>   }}
>> \makeatother
>>
>> \makeatletter
>>
>> \renewcommand\chapter{%
>>                    \vskip 25mm
>>                     \@afterindentfalse
>>                     \secdef\@chapter\@schapter}
>> \makeatother
>>
>> \makeatletter
>> \renewcommand\section{\@startsection {section}{1}{\z@}%
>>                                    {-3.5ex \@plus -1ex \@minus -.2ex}%
>>                                    {2.3ex \@plus.2ex}%
>>                                    {\normalfont}}
>> \makeatother
>> \setlength{\parindent}{8mm}
>> \newcommand{\dash}{\raisebox{2pt}{\rule{3mm}{0.5pt}}}
>> \newcommand{\chem}[1]{\ensuremath\mathrm{#1}}
>> \lefthyphenmin=3
>> \righthyphenmin=3
>> \setlength{\parskip}{0cm}
>>
>> \makeindex
>> \pagenumbering{roman}
>> \def\thepage{{ \roman{page}}}
>>
>> \makeatletter
>> \DeclareOldFontCommand{\rm}{\normalfont\rmfamily}{\mathrm}
>> \DeclareOldFontCommand{\sf}{\normalfont\sffamily}{\mathsf}
>> \DeclareOldFontCommand{\tt}{\normalfont\ttfamily}{\mathtt}
>> \DeclareOldFontCommand{\bf}{\normalfont\bfseries}{\mathbf}
>> \DeclareOldFontCommand{\it}{\normalfont\itshape}{\mathit}
>> \DeclareOldFontCommand{\sl}{\normalfont\slshape}{\@nomath\sl}
>> \DeclareOldFontCommand{\sc}{\normalfont\scshape}{\@nomath\sc}
>> \makeatother
>> %================================ BODY
>> ===================================
>>
>> \begin{document}
>>
>> --
>> V. Sasi Kumar
>> Free Software Foundation of India
>> Please see: http://swatantryam.blogspot.com/
>>
>>
>>
>> --------------------------------------------------
>> Subscriptions, Archive, and List information, etc.:
>>   http://tug.org/mailman/listinfo/xetex
>>
>
>
>
> --
> Zden?k Wagner
> http://hroch486.icpf.cas.cz/wagner/
> http://icebearsoft.euweb.cz
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> <http://tug.org/pipermail/xetex/attachments/20140627/4fd7a48a/attachment-0001.html>
>
> ------------------------------
>
> Subject: Digest Footer
>
> _______________________________________________
> XeTeX mailing list
> XeTeX at tug.org
> http://tug.org/mailman/listinfo/xetex
>
>
> ------------------------------
>
> End of XeTeX Digest, Vol 123, Issue 20
> **************************************
>


-- 
V. Sasi Kumar
Free Software Foundation of India
Please see: http://swatantryam.blogspot.com/



More information about the XeTeX mailing list