[XeTeX] Sanskrit Typesetting

Yves Codet ycodet at club-internet.fr
Thu Mar 19 11:02:41 CET 2009


Hello.

Le 19 mars 09 à 10:19, chandrasekhar s a écrit :

>
>
>
> Could you imagine to read LOG files?
>
> LOG FILE :
>
> This is pdfTeX, Version 3.1415926-1.40.9 (MiKTeX 2.7) (preloaded  
> format=pdflatex 2009.3.19) 19 MAR 2009 14:48
> entering extended mode
> **Sanskrit.tex
> (Sanskrit.tex
> LaTeX2e <2005/12/01>
> Babel <v3.8l> and hyphenation patterns for english, dumylang,  
> nohyphenation, ge
> rman, ngerman, german-x-2008-06-18, ngerman-x-2008-06-18, french,  
> loaded.
> ("C:\Program Files\MiKTeX 2.7\tex\latex\base\article.cls"
> Document Class: article 2005/09/16 v1.4f Standard LaTeX document class
> ("C:\Program Files\MiKTeX 2.7\tex\latex\base\size12.clo"
> File: size12.clo 2005/09/16 v1.4f Standard LaTeX file (size option)
> )
> \c at part=\count79
> \c at section=\count80
> \c at subsection=\count81
> \c at subsubsection=\count82
> \c at paragraph=\count83
> \c at subparagraph=\count84
> \c at figure=\count85
> \c at table=\count86
> \abovecaptionskip=\skip41
> \belowcaptionskip=\skip42
> \bibindent=\dimen102
> )
> ("C:\Program Files\MiKTeX 2.7\tex\latex\velthuis\devanagari.sty"
> File: devanagari.sty 2006/05/04 v2.14 LaTeX macros for Velthuis  
> Devanagari
> \dev at chnum=\count87
> \itdim=\dimen103
> LaTeX Info: Redefining \dn at commands on input line 234.
> \anudep=\dimen104
> \anuwid=\dimen105
> ("C:\Program Files\MiKTeX 2.7\tex\latex\cite\cite.sty"
> LaTeX Info: Redefining \cite on input line 149.
> LaTeX Info: Redefining \nocite on input line 214.
> Package: cite 2003/11/04 v 4.01
> )
> ) (Sanskrit.aux)
> LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 6.
> LaTeX Font Info: ... okay on input line 6.
> LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 6.
> LaTeX Font Info: ... okay on input line 6.
> LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 6.
> LaTeX Font Info: ... okay on input line 6.
> LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 6.
> LaTeX Font Info: ... okay on input line 6.
> LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 6.
> LaTeX Font Info: ... okay on input line 6.
> LaTeX Font Info: Checking defaults for U/dn/m/n on input line 6.
> LaTeX Font Info: Try loading font information for U+dn on input  
> line 6.
> ("C:\Program Files\MiKTeX 2.7\tex\latex\velthuis\udn.fd"
> File: Udn.fd 2004/08/03 v2.14
> )
> LaTeX Font Info: ... okay on input line 6.
> ! Missing $ inserted.
> <inserted text>
> $
> l.8 {\dn te_
> ja_svi naa_vadhii!tamastu|} .
> I've inserted a begin-math/end-math symbol since I think
> you left one out. Proceed, with fingers crossed.
> LaTeX Font Info: External font `cmex10' loaded for size
> (Font) <12> on input line 8.
> LaTeX Font Info: External font `cmex10' loaded for size
> (Font) <8> on input line 8.
> LaTeX Font Info: External font `cmex10' loaded for size
> (Font) <6> on input line 8.
> ! Extra }, or forgotten $.
> l.8 {\dn te_ja_svi naa_vadhii!tamastu|}
> .
> I've deleted a group-closing symbol because it seems to be
> spurious, as in `$x}$'. But perhaps the } is legitimate and
> you forgot something else, as in `\hbox{$x}'. In such cases
> the way to recover is to insert both the forgotten and the
> deleted material, e.g., by typing `I$}'.
> ! Missing $ inserted.
> <inserted text>
> $
> l.9
> I've inserted a begin-math/end-math symbol since I think
> you left one out. Proceed, with fingers crossed.

This means you didn't preprocess your source file. With the "devnag"  
package, you write in a source file whose name ends with .dn  
(Sanskrit.dn in your case), which you can understand but which LaTeX  
can't use. So you have to run the "devnag" preprocessor on the  
command line:
	devnag Sanskrit.dn
to create a Sanskrit.tex, which you can't understand but which LaTeX  
can use.

> [1
> {C:/Documents and Settings/Administrator/Local Settings/Application  
> Data/MiKTeX
> /2.7/pdftex/config/pdftex.map}] (Sanskrit.aux) )
> (\end occurred inside a group at level 1)
> ### simple group (level 1) entered at line 8 ({)
> ### bottom level
> Here is how much of TeX's memory you used:
> 475 strings out of 95290
> 4745 string characters out of 1182842
> 50134 words of memory out of 1500000
> 3757 multiletter control sequences out of 110000
> 6747 words of font info for 24 fonts, out of 3000000 for 5000
> 14 hyphenation exceptions out of 8191
> 23i,4n,19p,148b,293s stack positions out of 5000i,500n,10000p, 
> 200000b,50000s
> <C:/Program Files/MiKTeX 2.7/fonts/type1/bluesky/cm/cmmi12.pfb>
> <C:/Program Files/MiKTeX 2.7/fonts/type1/bluesky/cm/cmmi8.pfb><C:/ 
> Program Files
> /MiKTeX 2.7/fonts/type1/bluesky/cm/cmr12.pfb><C:/Program Files/ 
> MiKTeX 2.7/fonts
> /type1/bluesky/cm/cmsy10.pfb><C:/Program Files/MiKTeX 2.7/fonts/ 
> type1/public/ve
> lthuis/dvng10.pfb>
> Output written on Sanskrit.pdf (1 page, 15841 bytes).
> PDF statistics:
> 26 PDF objects out of 1000 (max. 8388607)
> 0 named destinations out of 1000 (max. 131072)
> 1 words of extra memory for PDF output out of 10000 (max. 10000000)

Best wishes,

Yves




More information about the XeTeX mailing list