[OS X TeX] Re: MacOSX-TeX Digest, Vol 38, Issue 13

TIMOTHY P. LIGHTHISER tlighthiser at gmail.com
Sun Dec 12 16:09:18 EST 2010


" \textsanskrit is not defined. You probably need to load polyglossia
for this, i.e., remove the percent sign."

When I remove the percent sign, "Package polyglossia Error: The
current roman font does not contain the Devanagari script! Please
define \devanagarifont with \newfontfamily." occurs in the console and
the Roman characters are not changed into Devanagari.

tia!!

t





On Sun, Dec 12, 2010 at 12:00 PM,  <macosx-tex-request at email.esm.psu.edu> wrote:
> Send MacOSX-TeX mailing list submissions to
>        macosx-tex at email.esm.psu.edu
>
> To subscribe or unsubscribe via the World Wide Web, visit
>        http://email.esm.psu.edu/mailman/listinfo/macosx-tex
> or, via email, send a message with subject or body 'help' to
>        macosx-tex-request at email.esm.psu.edu
>
> You can reach the person managing the list at
>        macosx-tex-owner at email.esm.psu.edu
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of MacOSX-TeX digest..."
>
>
> Today's Topics:
>
>   1. Roman> Devanagari, RomDev, fontspec (TIMOTHY P. LIGHTHISER)
>   2. uninstall (George Gratzer)
>   3. Re: uninstall (Alan Munn)
>   4. Re: uninstall (George Gratzer)
>   5. Re: Roman> Devanagari, RomDev, fontspec (Peter Dyballa)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Sat, 11 Dec 2010 15:03:20 -0800
> From: "TIMOTHY P. LIGHTHISER" <tlighthiser at gmail.com>
> Subject: [OS X TeX] Roman> Devanagari, RomDev, fontspec
> To: macosx-tex at email.esm.psu.edu
> Message-ID:
>        <AANLkTi=-Yen5NSXcw_qPdq2fjSoXOKrxsN+y9CbUQ+58 at mail.gmail.com>
> Content-Type: text/plain; charset=UTF-8
>
> Hi!
>
> It would be great to be able to easily transform accented Roman
> characters into Devanagari characters.
>
> It is possible with the minimal example that follows, but I need to
> hammer the characters into shape with an extra carriage return (after
> having received the error message in the console which is below).
>
> I was able to do the transformation w/o the extra carriage return
> several weeks ago, but something has changed (updated to TeX Live
> 2010?).
>
> I tried putting fontspec.cfg in the same folder as the source file,
> but I still need the extra carriage return.
> %\aliasfontfeatureoption{Ligatures}{Historic}{Historical}
> % \let\newfontinstance\newfontfamily
>
> Ideally, I'd also like to use Mac's Devanagari MT if possible, but
> when its selected the conjunct characters do not form.
>
> What can be done?
>
> TIA!
>
> t
>
>
> %!TEX TS-program = xelatex
> %!TEX encoding = UTF-8 Unicode
> \XeTeXuseglyphmetrics=1
> \documentclass{article}
> %\usepackage{polyglossia}
> %\setdefaultlanguage{english}
> %\setotherlanguage{sanskrit}
> \usepackage{fontspec}
>
> \defaultfontfeatures{Mapping=tex-text}
> \setmainfont{Charis SIL}
> %http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&id=CharisSILfont
>
> \newfontfamily\sahadevaunicode[Script=Devanagari,Mapping=RomDev]{Sahadeva}
> \newcommand{\sahauni}[1]{{\sahadevaunicode\textsanskrit{#1}}}
> %http://github.com/somadeva/RomDev > RomDev.map
> % http://bombay.indology.info/software/fonts/index.html  > Sahadeva font
> % http://cikitsa.blogspot.com/2010_07_01_archive.html > Switching from
> DevanÄ garÄ« to Roman with a single command
>
> \begin{document}
> \sahauni{Ä sÄ«drÄ jÄ  nalo nÄ ma vÄ«rsenasuto balÄ«} > Ä sÄ«drÄ jÄ  nalo nÄ ma
> vīrsenasuto balī
> \end{document}
>
>
> This is XeTeX, Version 3.1415926-2.2-0.9997.4 (TeX Live 2010)
>  restricted \write18 enabled.
> entering extended mode
> (./Untitled.tex
> LaTeX2e <2009/09/24>
> Babel <v3.8l> and hyphenation patterns for english, dumylang, nohyphenation, ge
> rman-x-2009-06-19, ngerman-x-2009-06-19, ancientgreek, ibycus, arabic, armenian
> , basque, bulgarian, catalan, pinyin, coptic, croatian, czech, danish, dutch, u
> kenglish, usenglishmax, esperanto, estonian, farsi, finnish, french, galician,
> german, ngerman, swissgerman, monogreek, greek, hungarian, icelandic, assamese,
>  bengali, gujarati, hindi, kannada, malayalam, marathi, oriya, panjabi, tamil,
> telugu, indonesian, interlingua, irish, italian, kurmanji, lao, latin, latvian,
>  lithuanian, mongolian, mongolianlmc, bokmal, nynorsk, polish, portuguese, roma
> nian, russian, sanskrit, serbian, slovak, slovenian, spanish, swedish, turkish,
>  turkmen, ukrainian, uppersorbian, welsh, loaded.
> (/usr/local/texlive/2010/texmf-dist/tex/latex/base/article.cls
> Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
> (/usr/local/texlive/2010/texmf-dist/tex/latex/base/size10.clo))
> (/usr/local/texlive/2010/texmf-dist/tex/latex/fontspec/fontspec.sty
> (/usr/local/texlive/2010/texmf-dist/tex/latex/expl3/expl3.sty
> (/usr/local/texlive/2010/texmf-dist/tex/latex/expl3/l3names.sty)
> (/usr/local/texlive/2010/texmf-dist/tex/latex/etex-pkg/etex.sty)
> (/usr/local/texlive/2010/texmf-dist/tex/latex/expl3/l3basics.sty)
> (/usr/local/texlive/2010/texmf-dist/tex/latex/expl3/l3expan.sty)
> (/usr/local/texlive/2010/texmf-dist/tex/latex/expl3/l3tl.sty)
> (/usr/local/texlive/2010/texmf-dist/tex/latex/expl3/l3intexpr.sty)
> (/usr/local/texlive/2010/texmf-dist/tex/latex/expl3/l3quark.sty)
> (/usr/local/texlive/2010/texmf-dist/tex/latex/expl3/l3seq.sty)
> (/usr/local/texlive/2010/texmf-dist/tex/latex/expl3/l3toks.sty)
> (/usr/local/texlive/2010/texmf-dist/tex/latex/expl3/l3int.sty)
> (/usr/local/texlive/2010/texmf-dist/tex/latex/expl3/l3prg.sty)
> (/usr/local/texlive/2010/texmf-dist/tex/latex/expl3/l3clist.sty)
> (/usr/local/texlive/2010/texmf-dist/tex/latex/expl3/l3token.sty)
> (/usr/local/texlive/2010/texmf-dist/tex/latex/expl3/l3prop.sty)
> (/usr/local/texlive/2010/texmf-dist/tex/latex/expl3/l3msg.sty)
> (/usr/local/texlive/2010/texmf-dist/tex/latex/expl3/l3io.sty)
> (/usr/local/texlive/2010/texmf-dist/tex/latex/expl3/l3skip.sty)
> (/usr/local/texlive/2010/texmf-dist/tex/latex/expl3/l3box.sty)
> (/usr/local/texlive/2010/texmf-dist/tex/latex/expl3/l3keyval.sty)
> (/usr/local/texlive/2010/texmf-dist/tex/latex/expl3/l3keys.sty)
> (/usr/local/texlive/2010/texmf-dist/tex/latex/expl3/l3precom.sty)
> (/usr/local/texlive/2010/texmf-dist/tex/latex/expl3/l3xref.sty)
> (/usr/local/texlive/2010/texmf-dist/tex/latex/expl3/l3file.sty)
> (/usr/local/texlive/2010/texmf-dist/tex/latex/expl3/l3fp.sty)
> (/usr/local/texlive/2010/texmf-dist/tex/latex/tools/calc.sty))
> (/usr/local/texlive/2010/texmf-dist/tex/latex/xpackages/xbase/xparse.sty)
> (/usr/local/texlive/2010/texmf-dist/tex/generic/kastrup/binhex.tex)
> (/usr/local/texlive/2010/texmf-dist/tex/latex/xkeyval/xkeyval.sty
> (/usr/local/texlive/2010/texmf-dist/tex/generic/xkeyval/xkeyval.tex
> (/usr/local/texlive/2010/texmf-dist/tex/generic/xkeyval/keyval.tex)))
> (/usr/local/texlive/2010/texmf-dist/tex/latex/fontspec/fontspec-patches.sty
> (/usr/local/texlive/2010/texmf-dist/tex/latex/base/fixltx2e.sty))
> (/usr/local/texlive/2010/texmf-dist/tex/latex/base/fontenc.sty
> (/usr/local/texlive/2010/texmf-dist/tex/latex/euenc/eu1enc.def)
> (/usr/local/texlive/2010/texmf-dist/tex/latex/euenc/eu1lmr.fd))
> fontspec.cfg loaded.
> (/usr/local/texlive/2010/texmf-dist/tex/latex/fontspec/fontspec.cfg))
> No file Untitled.aux.
> ! Undefined control sequence.
> \sahauni #1->{\sahadevaunicode \textsanskrit
>                                             {#1}}
> l.20 ...Åsƒ´drƒÅjƒÅ nalo nƒÅma vƒ´rsenasuto balƒ´}
>                                                   > Æ’Ã…sƒ´drÆ’Ã…jÆ’Ã… nalo nÆ’Ã…ma...
>
> ?
> [1] (./Untitled.aux) )
> Output written on Untitled.pdf (1 page).
> Transcript written on Untitled.log.
>
>
> ------------------------------
>
> Message: 2
> Date: Sat, 11 Dec 2010 19:33:57 -0600
> From: George Gratzer <gratzer at me.com>
> Subject: [OS X TeX] uninstall
> To: TeX on Mac OS X Mailing List <macosx-tex at email.esm.psu.edu>
> Message-ID: <A44E3E3C-DB09-4D30-8675-865E1FC5E106 at me.com>
> Content-Type: text/plain; charset=us-ascii
>
> I installed the TeX distribution and TeXShop on a loaner.
>
> Ho do I uninstall?
>
> GG
>
>
> ------------------------------
>
> Message: 3
> Date: Sat, 11 Dec 2010 20:55:35 -0500
> From: Alan Munn <amunn at gmx.com>
> Subject: Re: [OS X TeX] uninstall
> To: TeX on Mac OS X Mailing List <macosx-tex at email.esm.psu.edu>
> Message-ID: <893324E4-9E9D-4DAC-A481-D5E775172EBF at gmx.com>
> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
>
>
> On Dec 11, 2010, at 8:33 PM, George Gratzer wrote:
>
>> I installed the TeX distribution and TeXShop on a loaner.
>>
>> Ho do I uninstall?
>
>
> <http://www.tug.org/mactex/uninstalling.html>
>
> Although the instructions for getting rid of the ghostscript stuff
> aren't very obvious or simple.  Are you obliged to get rid of
> everything?
>
> Alan
>
>
>
>
>
> ------------------------------
>
> Message: 4
> Date: Sat, 11 Dec 2010 22:00:12 -0600
> From: George Gratzer <gratzer at me.com>
> Subject: Re: [OS X TeX] uninstall
> To: TeX on Mac OS X Mailing List <macosx-tex at email.esm.psu.edu>
> Message-ID: <E8F27775-8E4B-4DD8-935B-9A7E05B79048 at me.com>
> Content-Type: text/plain; CHARSET=US-ASCII
>
>
> On 2010-12-11, at 7:55 PM, Alan Munn wrote:
>
>>
>> On Dec 11, 2010, at 8:33 PM, George Gratzer wrote:
>>
>>> I installed the TeX distribution and TeXShop on a loaner.
>>>
>>> Ho do I uninstall?
>>
>>
>> <http://www.tug.org/mactex/uninstalling.html>
>>
>> Although the instructions for getting rid of the ghostscript stuff aren't very obvious or simple.  Are you obliged to get rid of everything?
>
> No, not really. Just the bulky staff.
>
> Thanks,
>
> GG
>
>>
>> Alan
>>
>>
>>
>> ----------- Please Consult the Following Before Posting -----------
>> TeX FAQ: http://www.tex.ac.uk/faq
>> List Reminders and Etiquette: http://email.esm.psu.edu/mac-tex/
>> List Archive: http://tug.org/pipermail/macostex-archives/
>> TeX on Mac OS X Website: http://mactex-wiki.tug.org/
>> List Info: http://email.esm.psu.edu/mailman/listinfo/macosx-tex
>>
>
>
>
> ------------------------------
>
> Message: 5
> Date: Sun, 12 Dec 2010 10:03:45 +0100
> From: Peter Dyballa <Peter_Dyballa at Web.DE>
> Subject: Re: [OS X TeX] Roman> Devanagari, RomDev, fontspec
> To: TeX on Mac OS X Mailing List <macosx-tex at email.esm.psu.edu>
> Message-ID: <E6D820A5-4070-496E-B305-CC5B315414B3 at Web.DE>
> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
>
>
> Am 12.12.2010 um 00:03 schrieb TIMOTHY P. LIGHTHISER:
>
>> ! Undefined control sequence.
>> \sahauni #1->{\sahadevaunicode \textsanskrit
>>                                             {#1}}
>
> \textsanskrit is not defined. You probably need to load polyglossia
> for this, i.e., remove the percent sign.
>
> --
> Greetings
>
>   Pete
>
> Give a man a fish, and you've fed him for a day. Teach him to fish,
> and you've depleted the lake.
>
>
>
> ------------------------------
>
>
> -------------------------- Helpful Info --------------------------
> TeX FAQ: http://www.tex.ac.uk/faq
> List Reminders and Etiquette: http://email.esm.psu.edu/mac-tex/
> List Info: http://email.esm.psu.edu/mailman/listinfo/macosx-tex
> List Archive: http://tug.org/pipermail/macostex-archives/
> TeX on Mac OS X Website: http://mactex-wiki.tug.org/
>
>
>
> End of MacOSX-TeX Digest, Vol 38, Issue 13
> ******************************************
>



-- 
Timothy P. Lighthiser
1263 33rd Avenue
San Francisco, CA 94122-1302
USA

Email is a wonderful thing for people whose role in life is to be on
top of things. But not for me; my role is to be on the bottom of
things. What I do takes long hours of studying and uninterruptible
concentration.  [Donald Knuth]



More information about the MacOSX-TeX mailing list