Re: [XeTeX] On an ugly hack to mathbf only in the local style.

2012-10-30 Thread Andrew Moschou
This document: http://tug.org/pipermail/xetex/attachments/20090929/921178b4/attachment-0001.tex which I wrote three years ago has some code to handle optional _ and ^ suffixes. I probably don't have the time to adapt it to this situation, but this means that it is theoretically possible. BTW, I

Re: [XeTeX] Testing custom hyphenation patterns

2012-05-02 Thread Andrew Moschou
Hi Aleksandr, I'm wondering, how do you implement Church Slavonic with XeTeX? Which font do you use? Is it pure Unicode, or do you have active characters and definitions? I'm asking because I'm trying to put something together based on Minion Pro. It worked successfully on my old TeX Live

Re: [XeTeX] Typesetting Greek mathematical text using Unicode

2012-01-18 Thread Andrew Moschou
I opened Cambria in a font editor, and it looks fine. I also opened Cambria in the character map, and it displayed it wrong just as you describe. No idea where the problem lies... Andrew On 18 January 2012 23:59, d fulano donfulan...@hotmail.com wrote: Many thanks for your replies, the

Re: [XeTeX] Typesetting Greek mathematical text using Unicode

2012-01-18 Thread Andrew Moschou
Try this, it works: \documentclass[a4paper]{article} \usepackage{xltxtra} \setmainfont[RawFeature=-ccmp]{Cambria} \begin{document} Ἀριθμὸς \char1F08 \end{document} There is an instruction in the font that says, when we come across Ἀ, replace it with Alpha and the smooth breathing mark. But in

Re: [XeTeX] TeXworks XeTeX : Pinyin u-with-third-tone

2012-01-04 Thread Andrew Moschou
On 5 January 2012 06:47, Daniel Greenhoe dgreen...@gmail.com wrote: Since you are using Antykwa fonts for the newsletter, I'm wondering whether you already considered to ask the authors to add the glyph. It would make a nice Christmas gift. However, the addition called for would really

Re: [XeTeX] Off topic: Devanagari fonts

2012-01-02 Thread Andrew Moschou
I like Sahadeva, http://bombay.indology.info/software/fonts/devanagari/index.html, developed for the University of Cambridge. But some of its letters have different glyphs in the so called Kolkata style: अ, ऋ (and related), झ, ण. Nakula is also available from the same web page. There are some more

Re: [XeTeX] Detect, whether a font contains a certain character

2011-11-27 Thread Andrew Moschou
2011/11/28 Zdenek Wagner zdenek.wag...@gmail.com Put it into an \hbox and measure its width (\wd). If the width is zero, the glyph does not exist. If the required glyph doesn't exist, wouldn't this measure the .notdef glyph? Andrew --

Re: [XeTeX] nbsp; in XeTeX

2011-11-14 Thread Andrew Moschou
We could also have an switch, when turned on displays the various whitespaces using particular glyphs. MS Word does this and displays an ordinary space with ·, a non breaking space with °, a tab with →, a line break with ↲ and a paragraph break with ¶. On 15 November 2011 09:13, Mike Maxwell

Re: [XeTeX] How to Convert Devanagari (sanskrit) text to Telugu Text (A u)

2011-10-27 Thread Andrew Moschou
On 27 October 2011 16:52, Shrisha Rao sh...@nyx.net wrote: Being able to use UTF-8 codings in such scripts to produce outputs in other scripts would require n × n mappings, as against 1 × n if the input is only in ITRANS. Actually, 1×n is all that is required, as long as the mappings are

Re: [XeTeX] xelatex question

2011-08-16 Thread Andrew Moschou
I would be happy to write one if it doesn't exist. I can't guarantee when it would be available if I do; I'm far too busy at the moment. Andrew On 16 August 2011 07:37, Ross Moore ross.mo...@mq.edu.au wrote: Hello Steve, On 15/08/2011, at 4:27 PM, Steve Deckelman wrote: Dear Ross, I came

Re: [XeTeX] Package conflict

2011-06-11 Thread Andrew Moschou
That's my fault. I'll release an update to mathspec soon to correct this. Andrew On 11 June 2011 18:20, Nathan Sidoli nathan.sid...@utoronto.ca wrote: There seems to be a conflict with the loading order of packages mathspec and arabxetex, which both require amsmath. The mathspec package

Re: [XeTeX] XeTeXcharclass and '\texttrademark'

2011-05-09 Thread Andrew Moschou
Just make sure that \texttrademark is defined as ™ like this: \renewcommand\texttrademark{™}. On 10 May 2011 04:23, Michael Joyner mich...@newsrx.com wrote: Hello and help! I am trying to setup a custom negative kerning setting for the following letter pairs: ™. and ™, so that the . and the

Re: [XeTeX] Kerning flaw with MinionPro XeTex xetex@tug.org

2011-02-06 Thread Andrew Moschou
On 7 February 2011 02:07, Peter Dyballa peter_dyba...@web.de wrote: Am 06.02.2011 um 15:44 schrieb Herbert Schulz: Hmmm... I thought 1ex was the height of an `x', not it's width, which makes measuring a width using ex's is kind of strange. A dimension or length is a dimension or

Re: [XeTeX] Setting greek letters in cmtt with XeTeX on OS X

2010-10-19 Thread Andrew Moschou
Please don't use the TeX Gyre fonts for Greek - their Greek glyphs are hideous. I recommend Consolas as a general purpose monospace font. On 19 October 2010 01:52, Arthur Reutenauer arthur.reutena...@normalesup.org wrote: Instead of the real (old) Computer Modern fonts it's also possible to

Re: [XeTeX] Localized XeLaTeX: was Greek XeLaTeX

2010-10-14 Thread Andrew Moschou
I think you misunderstand what em and ex are. The ex is the height of a lowercase letter without ascenders or descenders (the height of x) - This concept exists in Greek (but is not equal to the height of ξ). The em is traditionally the width of the upper case letter M, but today, it is generally

[XeTeX] Small caps bug in fontspec

2010-09-28 Thread Andrew Moschou
Hi all, It seems setting Numbers=OldStyle breaks \scshape. This example uses Sabon, but it happens with other fonts too. My fontspec version is 2.1a. Andrew \documentclass{article} \usepackage{fontspec} \setmainfont{Sabon LT Std} \begin{document} Some text {\scshape in small caps}? Yes.

[XeTeX] Colours are ignored with fontspec

2010-09-27 Thread Andrew Moschou
Hi Will and others, I don't recall this being reported here before now. Colours are ignored when a fontspec font is selected. See attached. My fontspec version is 2.1. \documentclass[a4paper,12pt]{article} \usepackage{fontspec} \usepackage{xcolor} \begin{document} {Is this black? \color{red}

Re: [XeTeX] Colours are ignored with fontspec

2010-09-27 Thread Andrew Moschou
Good! -- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex

Re: [XeTeX] OT: Ascender 2010 Font Pack w/ enhanced OpenType features

2010-07-09 Thread Andrew Moschou
Apparently, Word still uses fake small caps. On 10 July 2010 03:09, Jonathan Kew jfkth...@googlemail.com wrote: On 9 Jul 2010, at 10:29, William Adams wrote: Here: http://www.fontmarketplace.com/font/ascender-2010-pack.aspx Thought some people might want to grab this for testing

Re: [XeTeX] Typesetting XeLaTeX and LaTeX logo under MacTeX 2009

2010-06-03 Thread Andrew Moschou
Hi Iwan, Which versions of xltxtra and metalogo are you using? Andrew On 3 June 2010 19:07, Iwan Setyawan iwan.setya...@ieee.org wrote: Hi, First, my apologies if this has been brought up before. I'm having some difficulties typesetting the XeLaTeX and LaTeX logo under MacTeX 2009 and

Re: [XeTeX] (Off-topic) STIX Fonts

2010-05-30 Thread Andrew Moschou
Not really. The glyphs in the mathematical alphabets have different shapes to the glyphs in the text alphabets. I believe unicode-math is able to define the alphabets (I don't actually know, but I can't imagine any hindrance), with or without OpenType math tables, so using unicode-math would be

Re: [XeTeX] Em-dash

2010-05-04 Thread Andrew Moschou
On Linux, there is the compose key, on Mac, there is the option/alt key, and both are very convenient. On Windows, there are the alt key codes but these are very inconvenient, instead you can use the program AllChars ( allchars.zwolnet.com) which imitates the behaviour of the compose key. I use

Re: [XeTeX] Em-dash

2010-05-04 Thread Andrew Moschou
On my computer, compose is Shift+RightControl (see http://en.wikipedia.org/wiki/Compose_key). This approach is best for staying within one script. For example, typing accented Latin characters (for various western European languages for example) on a US English keyboard and the compose key

Re: [XeTeX] Diacritics

2010-05-03 Thread Andrew Moschou
That won't help sometimes: Word unhelpfully substitutes unavailable characters from some font which does include it, without warning. On 3 May 2010 23:18, Ulrike Fischer ne...@nililand.de wrote: Are you able to get the accent in this font e.g. in Word or a similar application?