Re: [XeTeX] Test for font presence

2011-05-10 Thread Ron Aaron
Here's a tested version using 'fc-list'. It works on kubuntu (and should work equally well on any *nix, don't know if it would work on Windows). Note you need to add "-shell-escape" to the xetex command line: \newif\iffontexists \newread\fontcheck \def\fontexist#1{ \fontexist

Re: [XeTeX] Test for font presence

2011-05-10 Thread Peter Dyballa
Am 10.05.2011 um 07:30 schrieb Ron Aaron: is there a simple way to make xdvipdfmx look for fonts in exactly the same manner as xetex? Teach it to use OS font services instead of TeX mechanisms! -- Greetings Pete Only useless documentation transcends the first two laws.

Re: [XeTeX] Test for font presence

2011-05-10 Thread Ron Aaron
Was that a sarcastic answer? How would one go about accomplishing that? > > Teach it to use OS font services instead of TeX mechanisms! > > -- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex

Re: [XeTeX] Test for font presence

2011-05-10 Thread Peter Dyballa
Am 10.05.2011 um 10:53 schrieb Ron Aaron: Was that a sarcastic answer? Not really. It's more of an inability to imagine something else, which is not complicated. How would one go about accomplishing that? Writing code that fits into xdvipdfmx and augments it. -- Greetings Pete E

Re: [XeTeX] Test for font presence

2011-05-10 Thread Ron Aaron
So the correct answer would have been: "I don't know of a way to do that without changing xdvipdfmx". On 05/10/2011 12:12 PM, Peter Dyballa wrote: > > Not really. It's more of an inability to imagine something else, which > is not complicated. > >> How would one go about accomplishing that? > >

Re: [XeTeX] Test for font presence

2011-05-10 Thread Peter Dyballa
Am 10.05.2011 um 14:09 schrieb Ron Aaron: So the correct answer would have been: "I don't know of a way to do that without changing xdvipdfmx". No. (Could you be so kind to read my answers again? Maybe my English is a bit too bad to express in a comprehensible way what I thought I coul

Re: [XeTeX] Oldstyle figures in seperate file

2011-05-10 Thread Wolfgang Keller
Hello, Probably I mis-explained my objective... > I'd use another font instance for the small caps and the old-style > figures The point is that I already _have_ the oldstyle figures in another font file. And I _don't_ want _another_ font instance just for oldstyle numbers. > and use this fon

[XeTeX] Tracking for small caps?

2011-05-10 Thread Wolfgang Keller
Hello, with Microtype, it's easy to get automatic tracking for all small caps text within the entire document by putting %\DeclareMicrotypeSet*[tracking]{my}{ font = */*/*/sc/* } \SetTracking {encoding = *,shape = sc }{foo} into the preamble. What would be the corresponding preamble line(s) for

Re: [XeTeX] Test for font presence

2011-05-10 Thread Mojca Miklavec
On Mon, May 9, 2011 at 18:28, Ron Aaron wrote: > Hi all - > > Is there a way to test -- from within a XeTeX document -- for the > presence of a font, without causing the run to fail if the font doesn't > exist? There is a parameter \suppressfontnotfounderror that you probably want to set to 1

Re: [XeTeX] hyphenation in Ethiopian languages

2011-05-10 Thread Mojca Miklavec
On Fri, May 6, 2011 at 19:24, Jonathan Kew wrote: > > For line-breaking after the word separators, doesn't it work to just set > >  \XeTeXlinebreaklocale "en" >  \XeTeXlinebreakskip 0pt plus 1pt > > or similar? Yes, thanks a lot. This does work. However there are two problems with it: - Only ETHI

[XeTeX] xelatex and table of contents

2011-05-10 Thread François Patte
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bonsoir, I am using xelatex with linux libertine fonts and everything seems OK. Today, I added at the the end of the document: \tableofcontents And, in the table of contents, every letters with a diacritical mark used in \chapter \section ... comm

Re: [XeTeX] xelatex and table of contents

2011-05-10 Thread Ross Moore
Hi Francois, On 11/05/2011, at 7:18 AM, François Patte wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Bonsoir, > > I am using xelatex with linux libertine fonts and everything seems OK. > > Today, I added at the the end of the document: > > \tableofcontents > > And, in the tabl

Re: [XeTeX] xelatex and table of contents

2011-05-10 Thread Wilfred van Rooijen
Hi, Please send a minimal example file which illustrates the problem. Then we can try to reproduce and fix the error. Cheers, Wilfred --- On Wed, 11/5/11, Ross Moore wrote: > From: Ross Moore > Subject: Re: [XeTeX] xelatex and table of contents > To: "Unicode-based TeX for Mac OS X and other

Re: [XeTeX] xelatex and table of contents

2011-05-10 Thread Herbert Schulz
On May 10, 2011, at 6:37 PM, Wilfred van Rooijen wrote: > Hi, > > Please send a minimal example file which illustrates the problem. Then we can > try to reproduce and fix the error. > > Cheers, > Wilfred > > Howdy, Without the example I can't tell since I can't reproduce the problem with m