[XeTeX] XeTeX Digest, Vol 98, Issue 48

Shiva Shankar shivably04sdst at gmail.com
Fri Jun 1 13:09:13 CEST 2012


Hi,

On Thu, May 31, 2012 at 10:11 PM, <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. Re: Printer doesn't print formulas (Tobias Schoel)
>   2. Re: Printer doesn't print formulas (Mojca Miklavec)
>   3. Re: Printer doesn't print formulas (Zdenek Wagner)
>   4. Re: font problem (A u)
>   5. Re: font problem (Zdenek Wagner)
>   6. Re: Two issues with bibliography (Gildas Hamel)
>
>
> ---------- Forwarded message ----------
> From: Tobias Schoel <liesdiedatei at googlemail.com>
> To: Unicode-based TeX for Mac OS X and other platforms <xetex at tug.org>
> Cc:
> Date: Thu, 31 May 2012 14:20:54 +0200
> Subject: Re: [XeTeX] Printer doesn't print formulas
>
> Hi,
> On 30.05.2012 20:27, Mojca Miklavec wrote:
>
>> On Mon, May 28, 2012 at 10:14 PM, Tobias Schoel
>> <liesdiedatei at googlemail.com>  wrote:
>>
>>> Hi,
>>>
>>> since some days ago, my printer stopped printing documents with math
>>> formulas correctly. He prints until the first formula, then stops and
>>> ejects
>>> the paper.
>>>
>>> The documents are all created with xelatex using TeX Gyre Pagella, Linux
>>> Biolinum O and Asana Math.
>>>
>>> I haven't updated anything lately except for siunitx, which isn't
>>> involved
>>> in all of that documents.
>>>
>>
>> The question: did you update printer drivers or OS?
>>
> Not conciously, which should mean, not at all, on my system.
>
>>
>> It is almost impossible that it would stop working without updating
>> anything at all, neither TeX engines nor fonts nor printer drivers.
>>
> As I said, I updated siunitx via tlmgr. Could it be, that it updates other
> files as dependencies?
>
>>
>> You didn't specify what operating system you are using.
>>
> Lubuntu 12.04 with texlive 2011 from tug.org.
>  One very
>
>> ingenious example was Apple's update to OS X 10.6.8 when all
>> Type1-flavoured OpenType fonts failed to print on all Macs and the
>> whole system was broken. At that time printing from Cups helped.
>>
>>  This may sound like a printer bug, but lets look at the following minimal
>>> example.
>>>
>>> \documentclass{minimal}
>>> \usepackage{fontspec}
>>> \usepackage{unicode-math}
>>> \setmathfont{Asana Math}
>>> \begin{document}
>>> \[\int_1^2f(x)dx\]
>>> \end{document}
>>>
>>> The printed document will be empty.
>>> Replacing Asana Math by XITS Math results in \int_1^2 being printed, the
>>> rest not.
>>>
>>
>> This only tells you that both OpenType fonts are broken. Do you get
>> the same problem with TeX Gyre Pagella Math
>> (http://www.ctan.org/tex-**archive/fonts/tex-gyre-math/**opentype<http://www.ctan.org/tex-archive/fonts/tex-gyre-math/opentype>)
>> or
>>
> Yes, the same problem. (BTW: I copied this font to either
> /usr/share/fonts/opentype or texlive2011/texmf-dist/fonts/**opentype/public.
> fc-list named it TG Pagella Math but I couldn't load it via \setmathfont{TG
> Pagella Math}. Only copying to the directory and loading it by filename
> worked.)
>
>> Cambria Math (if you have access to that one)?
>>
> I don't.
>
>>
>>  Removing fontspec, unicode-math and \setmathfont alltogether results in
>>> the
>>> whole formula being printed (in default font of course).
>>>
>>
>> But then the old Type1 font is used.
>>
> Of course.
>
>>
>> I would say that either OS is "broken" or there is some very very
>> subtle problem that isn't manifested on anyone else's machine. From
>> what I understood you had the same problem with LuaTeX and you didn't
>> yet report if other OpenType math fonts cause problems.
>>
> I hadn't tested it with lualatex. I did now and it has the same problems.
>
>>
>> Mojca
>>
>
> Thanks for your help.
>
> ciao
>
> Toscho
>
>
>
> ---------- Forwarded message ----------
> From: Mojca Miklavec <mojca.miklavec.lists at gmail.com>
> To: <liesdiedatei at gmail.com>
> Cc: Unicode-based TeX for Mac OS X and other platforms <xetex at tug.org>
> Date: Thu, 31 May 2012 14:52:36 +0200
> Subject: Re: [XeTeX] Printer doesn't print formulas
> On Thu, May 31, 2012 at 2:20 PM, Tobias Schoel wrote:
> > On 30.05.2012 20:27, Mojca Miklavec wrote:
> >> On Mon, May 28, 2012 at 10:14 PM, Tobias Schoel wrote:
> >>>
> >>> since some days ago, my printer stopped printing documents with math
> >>> formulas correctly. He prints until the first formula, then stops and
> >>> ejects the paper.
> >>
> >> The question: did you update printer drivers or OS?
> >
> > Not conciously, which should mean, not at all, on my system.
> >
> >> You didn't specify what operating system you are using.
> >
> > Lubuntu 12.04 with texlive 2011 from tug.org.
>
> And which/what kind of printer? (I guess it is a PostScript printer.)
> There is also a slight chance that the printer has problems with those
> fonts, or at least the part of software that "converts" PDF into
> PostScript and passes it to printer.
>
> When I was printing my thesis on Ubuntu Linux in 2009, everything from
> one particular figure on was blank. It might be that also Evince
> wasn't able to display that figure, everything was just white. When I
> printed to the same printer from Mac, it worked well.
>
> Can you try printing the same faulty PDF with live CD from a different
> linux distribution on the same printer? Are you able to send the
> document to printer by circumventing all the GUI programs (using "lpr"
> for example)?
>
> >> I would say that either OS is "broken" or there is some very very
> >> subtle problem that isn't manifested on anyone else's machine. From
> >> what I understood you had the same problem with LuaTeX and you didn't
> >> yet report if other OpenType math fonts cause problems.
> >
> > I hadn't tested it with lualatex. I did now and it has the same problems.
>
> Testing my ConTeXt example counted as testing LuaTeX. So yes, I would
> expect the same problems with LuaLaTeX.
>
> Mojca
>
>
>
> ---------- Forwarded message ----------
> From: Zdenek Wagner <zdenek.wagner at gmail.com>
> To: Unicode-based TeX for Mac OS X and other platforms <xetex at tug.org>
> Cc:
> Date: Thu, 31 May 2012 15:05:55 +0200
> Subject: Re: [XeTeX] Printer doesn't print formulas
> 2012/5/31 Mojca Miklavec <mojca.miklavec.lists at gmail.com>:
> > On Thu, May 31, 2012 at 2:20 PM, Tobias Schoel wrote:
> >> On 30.05.2012 20:27, Mojca Miklavec wrote:
> >>> On Mon, May 28, 2012 at 10:14 PM, Tobias Schoel wrote:
> >>>>
> >>>> since some days ago, my printer stopped printing documents with math
> >>>> formulas correctly. He prints until the first formula, then stops and
> >>>> ejects the paper.
> >>>
> >>> The question: did you update printer drivers or OS?
> >>
> >> Not conciously, which should mean, not at all, on my system.
> >>
> >>> You didn't specify what operating system you are using.
> >>
> >> Lubuntu 12.04 with texlive 2011 from tug.org.
> >
> > And which/what kind of printer? (I guess it is a PostScript printer.)
> > There is also a slight chance that the printer has problems with those
> > fonts, or at least the part of software that "converts" PDF into
> > PostScript and passes it to printer.
> >
> > When I was printing my thesis on Ubuntu Linux in 2009, everything from
> > one particular figure on was blank. It might be that also Evince
> > wasn't able to display that figure, everything was just white. When I
> > printed to the same printer from Mac, it worked well.
> >
> In case of figures or in documents with many complex fonts such
> behavior may be caused by exhausting printer's memory. different
> programs may convert PDF to PS in different way. Acrobat Reader may be
> set to be memory conservative in printing and it is also possible to
> select "Print as image". In such a case the pages are rendered in a
> computer memory, printing is usually much slower but less demanding to
> a printer memory.
>
> > Can you try printing the same faulty PDF with live CD from a different
> > linux distribution on the same printer? Are you able to send the
> > document to printer by circumventing all the GUI programs (using "lpr"
> > for example)?
> >
> >>> I would say that either OS is "broken" or there is some very very
> >>> subtle problem that isn't manifested on anyone else's machine. From
> >>> what I understood you had the same problem with LuaTeX and you didn't
> >>> yet report if other OpenType math fonts cause problems.
> >>
> >> I hadn't tested it with lualatex. I did now and it has the same
> problems.
> >
> > Testing my ConTeXt example counted as testing LuaTeX. So yes, I would
> > expect the same problems with LuaLaTeX.
> >
> > Mojca
> >
> >
> > --------------------------------------------------
> > 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
>
>
>
>
> ---------- Forwarded message ----------
> From: A u <akupadhyayula at gmail.com>
> To: Unicode-based TeX for Mac OS X and other platforms <xetex at tug.org>
> Cc:
> Date: Thu, 31 May 2012 09:53:33 -0400
> Subject: Re: [XeTeX] font problem
> Shiva,
> I did with Xelatex
> it is definitely font issue, I tried with "Nakula" it worked fine however
> it did not render well with "Sanskrit 2003" however the same thing when I
> type on Mac it renders alright with sanskrit 2003, I think it has something
> to do with itrans typing
>
> regards
> Aku
>
> On Thu, May 31, 2012 at 3:29 AM, Shiva Shankar <shivably04sdst at gmail.com>wrote:
>
>> Hi,
>>
>>
>> I am using AA_NAGARI_SHREE_L3 font for typesetting sanskrit verses.
>> The ligature "tryaa"(पुत्र्या) is not coming out properly. If I copy the
>> same
>> word in either openoffice or html(selecting AA_NAGARI_SHREE_L3 font) page
>> then ligature looks correct.
>> But when i typeset it using XeLaTex system then ligature looks odd.
>> Why this happens?
>>
>>
>>
>> --
>> Regards
>> Shivashankar
>>
>>
>>
>>
>> --------------------------------------------------
>> Subscriptions, Archive, and List information, etc.:
>>  http://tug.org/mailman/listinfo/xetex
>>
>>
>
>
> ---------- Forwarded message ----------
> From: Zdenek Wagner <zdenek.wagner at gmail.com>
> To: Unicode-based TeX for Mac OS X and other platforms <xetex at tug.org>
> Cc:
> Date: Thu, 31 May 2012 16:07:10 +0200
> Subject: Re: [XeTeX] font problem
> 2012/5/31 A u <akupadhyayula at gmail.com>:
> > Shiva,
> > I did with Xelatex
> > it is definitely font issue, I tried with "Nakula" it worked fine
> however it
> > did not render well with "Sanskrit 2003" however the same thing when I
> type
> > on Mac it renders alright with sanskrit 2003, I think it has something
> to do
> > with itrans typing
> >
> No, it cannot be an itrans issue. The input goes (by Knuth's words)
> first through TeX's mouth to TeX's stomach where all macros are
> expanded. The expanded text goes through teckit mapping to the
> paragraph builder. In this stage the font metrics is needed, thus all
> lookup tables must be interpreted in exactly the same way as will be
> used later when building the glyphs in the output driver (eg
> xdvipdfmx). Thus it does not matter whether the input text is typed
> directly in unicode or in any transliteration, the typesetting engine
> will always see unicode.
>
>
To continue the conversation of font problem I have typeset a line in
Sanskrit using XeLaTeX which shows how
"tryaa((त्र्या)" is typeset in different fonts. I am hereby attaching png
images.
So all except Nakula and Sahadev (which are twin fonts) are not working
properly –
I wonder why these two work ok, what is different about how they have been
created.
I am using TeXlive 2011.




> > regards
> > Aku
> >
> > On Thu, May 31, 2012 at 3:29 AM, Shiva Shankar <shivably04sdst at gmail.com
> >
> > wrote:
> >>
> >> Hi,
> >>
> >>
> >> I am using AA_NAGARI_SHREE_L3 font for typesetting sanskrit verses.
> >> The ligature "tryaa"(पुत्र्या) is not coming out properly. If I copy the
> >> same
> >> word in either openoffice or html(selecting AA_NAGARI_SHREE_L3 font)
> page
> >> then ligature looks correct.
> >> But when i typeset it using XeLaTex system then ligature looks odd.
> >> Why this happens?
> >>
> >>
> >>
> >> --
> >> Regards
> >> Shivashankar
> >>
> >>
> >>
> >>
> >> --------------------------------------------------
> >> Subscriptions, Archive, and List information, etc.:
> >>  http://tug.org/mailman/listinfo/xetex
> >>
> >
> >
> >
> >
> > --------------------------------------------------
> > 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
>
>
>
>
> ---------- Forwarded message ----------
> From: Gildas Hamel <gweltaz at ucsc.edu>
> To: Unicode-based TeX for Mac OS X and other platforms <xetex at tug.org>
> Cc:
> Date: Thu, 31 May 2012 09:40:48 -0700
> Subject: Re: [XeTeX] Two issues with bibliography
> * Skriv a reas anakreon at csd.auth.gr (anakreon at csd.auth.gr):
>  |>  Hello.
>  |>
>  |>  I have two  issues with bibliography references  that are demonstrated
>  |>  in the  attached document. Please find  attached the tex and  bib file
>  |>  used for compiling the document.
>  |>
>  |>  I use polyglossia  with Greek as the main language  and English as the
>  |>  second one.   Hyphenation works  fine for Greek  and for  English too,
>  |>  except for bibliography references. Ion the third line of the attached
>  |>  document, the reference exceeds the document margin.
>  |>
>  |>  The  second problem  is shown  on  page two  of the  document. I  have
>  |>  enclosed  the bibliography  references in  the english  environment to
>  |>  enable hyphenation. As a side effect,  instead of using the greek term
>  |>  for  "Bibliography",  I  get  the  english  one.   How  can  I  enable
>  |>  hyphenation and have the greek term?
>  |>
>  |>  Thanks in advance for your reply.
>  |>
> I think the following will work if you use biblatex with biber backend,
> but I only tested it by adding the hyphenation field to your bib file. That
> is, I entered english in the hyphenation field of your reference.bib for
> Bengtsson citation:
>
> \documentclass[twoside,a4paper,12pt]{report}
> \usepackage{fontspec}
> \setmainfont[Ligatures=TeX]{Arial}
> \newfontfamily\greekfont[Script=Greek, Ligatures=TeX]{Arial}
> \defaultfontfeatures{Ligatures=TeX}
> \setmonofont[Script=Greek]{DejaVu Sans}
> \usepackage{polyglossia}
> \setdefaultlanguage{greek}
> \setotherlanguage{english}
> \usepackage{csquotes}
> \usepackage[backend=biber,babel=other,style=apa]{biblatex}
> \addbibresource{reference.bib}
>
> \begin{document}
> text in Greek.
>
> \printbibliography
> \end{document}
>
> --Gildas
>
>
> _______________________________________________
> XeTeX mailing list
> XeTeX at tug.org
> http://tug.org/mailman/listinfo/xetex
>
>


-- 
Regards
Shivashankar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/xetex/attachments/20120601/bec7ce81/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: AA_NAGARI_SHREE_L2.png
Type: image/png
Size: 13982 bytes
Desc: not available
URL: <http://tug.org/pipermail/xetex/attachments/20120601/bec7ce81/attachment-0008.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: AA_NAGARI_SHREE_L3.png
Type: image/png
Size: 14098 bytes
Desc: not available
URL: <http://tug.org/pipermail/xetex/attachments/20120601/bec7ce81/attachment-0009.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Lohit_Hindi.png
Type: image/png
Size: 17255 bytes
Desc: not available
URL: <http://tug.org/pipermail/xetex/attachments/20120601/bec7ce81/attachment-0010.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Mangal.png
Type: image/png
Size: 11519 bytes
Desc: not available
URL: <http://tug.org/pipermail/xetex/attachments/20120601/bec7ce81/attachment-0011.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Nakula.png
Type: image/png
Size: 17804 bytes
Desc: not available
URL: <http://tug.org/pipermail/xetex/attachments/20120601/bec7ce81/attachment-0012.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Sahadeva.png
Type: image/png
Size: 20007 bytes
Desc: not available
URL: <http://tug.org/pipermail/xetex/attachments/20120601/bec7ce81/attachment-0013.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Sanskrit_2003.png
Type: image/png
Size: 16874 bytes
Desc: not available
URL: <http://tug.org/pipermail/xetex/attachments/20120601/bec7ce81/attachment-0014.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Siddhanta.png
Type: image/png
Size: 18252 bytes
Desc: not available
URL: <http://tug.org/pipermail/xetex/attachments/20120601/bec7ce81/attachment-0015.png>


More information about the XeTeX mailing list