[XeTeX] Fwd: [wspr/fontspec] add optical bounds to fontspec (#282)

2017-03-17 Thread Will Robertson
Hi, (Forwarding this on on behalf of a fontspec user who would like a new feature. Not currently subscribed so please CC me directly if you have further comment.) TL;DR: +lfbd feature works in XeTeX but +rtbd does not. If there are further requests for fontspec OpenType feature support, please

Re: [XeTeX] why does Latin Modern Mono have some stretch and shrink with XeTeX ?

2017-01-24 Thread Will Robertson
Hi all, I'm not able to check this minute, but I wonder if lmmono is being "special-cases" by luaotfload -- would explain the results you're seeing. In fontspec if you load it with \setmonofont the stretch and shrink should be forced to zero, but I can agree it would be good to get to the bott

Re: [XeTeX] :letterspace oddities

2016-08-25 Thread Will Robertson
On 26 Aug 2016, at 2:32 AM, Philip Taylor wrote: > > 2) \fontdimen 2 is not affected by the :letterspace parameter; arguably it > should be, such that interword space is stretched in proportion to > interletter space (and perhaps \fontdimens 3, 4 & 7 should be modified as > well, and perhaps e

Re: [XeTeX] fontspec error (maybe?), but only in class file

2016-05-22 Thread Will Robertson
Hi Pat, Sorry for the inconvenience. > On 23 May 2016, at 11:41 AM, Patrick Carr wrote: > > Did I just miss or screw up an update or something? I tried searching > on the errors and the best I could describe it here, on stack > exchange, and the googles, but maybe I was searching for the wrong

Re: [XeTeX] Access All Alternates feature

2016-04-10 Thread Will Robertson
Hi David, I think I remember intentionally omitting this feature because it’s kind of useless for most fonts. (It’s been a long time, though. Happy to revisit.) I’d recommend creating your own feature option for it using something like: \newopentypefeature{Style}{AllAlternates}{+aalt} Hope thi

Re: [XeTeX] potential new feature: \XeTeXgenerateactualtext

2016-02-25 Thread Will Robertson
On 25 Feb 2016, at 8:33 PM, Jonathan Kew wrote: > > I'd guess it has always been possible, in principle, to attach ActualText to > math at the macro level, using \specials{}s to write the necessary PDF code > directly. But I confess I haven't really looked into what this would > involve pe

Re: [XeTeX] potential new feature: \XeTeXgenerateactualtext

2016-02-24 Thread Will Robertson
Hi Ross, Great to hear from you. I thought of you straight away when writing my email :) > On 25 Feb 2016, at 11:35 AM, Ross Moore wrote: > > You have to be *very* careful with /ActualText, since it must be done using > PDFdoc encoding, > as it becomes part of the page contents stream. > Any

Re: [XeTeX] potential new feature: \XeTeXgenerateactualtext

2016-02-24 Thread Will Robertson
On 24 Feb 2016, at 2:20 AM, Jonathan Kew wrote: > > For a document that wants some other kind of "ActualText", there's going to > need to be pretty detailed markup in the source, I think. (E.g. each word, or > similar unit, will need to be tagged to provide the desired ActualText that > goes w

Re: [XeTeX] Issue with Old Italic script & fontspec

2016-02-21 Thread Will Robertson
Hi David, > On 21 Feb 2016, at 11:36 AM, David J. Perry wrote: > > Simon kindly tested my font in the SILE editor. The script and language > settings and the stylistic set all work as expected there. So it seems the > font is not the source of the problems I'm experiencing. Any additional >

[XeTeX] Proposal for extensible arrows

2016-02-13 Thread Will Robertson
Hi all, Some recent discussions about unicode mathematics and so on brought up the following issue. I thought it might be good to raise here in case it sparks anything. If not, no harm done :) In the current unicode/OpenType maths support in XeTeX and LuaTeX, with proper setup of \Udelcode and

Re: [XeTeX] Command \providelength already defined

2016-02-10 Thread Will Robertson
On 11 Feb 2016, at 4:27 PM, Shakthi Kannan wrote: > > ! LaTeX Error: Command \providelength already defined. > Or name \end... illegal, see p.192 of the manual. How ironic… it should have been defined with \providecommand in both cases! (If they both behave identically, which I gue

Re: [XeTeX] Handling of combining and variant selector characters in math

2016-02-10 Thread Will Robertson
On 11 Feb 2016, at 8:06 AM, David J. Perry wrote: > > I looked in a font editor at the font (XITS) that was used to produce the > sample PDF. As far as I can see, it has no support for combining marks or > variation selectors of the sort that I would expect, based on my non-math > experience.

Re: [XeTeX] XeTeX (/not/ XeLaTeX) : Marginal kerning, font protrusion, hyperlinks

2014-04-25 Thread Will Robertson
On 15 Apr 2014, at 9:49 am, Khaled Hosny wrote: > On Thu, Apr 10, 2014 at 12:58:23PM +0100, Philip Taylor wrote: >> >> Why are these key XeTeX primitives (\XeTeXprotrudechars, \rpcode, etc) >> not documented in /The XƎTEX reference guide/ ? Will, Khaled, >> Jonathan : can you comment on this,

Re: [XeTeX] fontspec_if_current_script or \fontspec_if_script functions of fontspec

2011-09-17 Thread Will Robertson
On 2011-09-17 18:44:48 +0930, VAFA KHALIGHI said: Why this always returns "non-RTL script"? \newif\if@Latin \fontspec_if_current_script:nTF {arab} {\@Latinfalse} {\@Latintrue} I wondered if the documentation for this feature needed work, but it seems okay if a little terse: "Test whether t

Re: [XeTeX] Question about \fontspec_set_family function of fontspec

2011-09-14 Thread Will Robertson
On 2011-09-15 02:13:15 +0930, VAFA KHALIGHI said: Here is my minimal example. What is the difference between \newfontfamily and \fontspec_set_family? Sorry, I should have added more information to that section of the manual. Here's the new text for \fontspec_set_family: % Defines a new NF

Re: [XeTeX] fontspec 2.2 update and bug

2011-09-14 Thread Will Robertson
On 2011-09-14 19:14:13 +0930, VAFA KHALIGHI said: Are you going to change the actual code or you will be adding backward compatibility? I like to use the new code for my xepersian package but I need to know if the new code is also going to get changed? The documented functions \fontspec_set

[XeTeX] fontspec 2.2 update and bug

2011-09-13 Thread Will Robertson
On 2011-09-13 21:05:33 +0930, CTAN Announcements said: Name of contribution: fontspec Author's name: Will Robertson Package version: v2.2 Location on CTAN: macros/latex/contrib/fontspec/ Summary description: Advanced font selection in XeLaTeX and LuaLaTeX License type: lppl Announcement

Re: [XeTeX] bug using \underbrace with unicode-math package

2011-09-13 Thread Will Robertson
On 2011-09-12 06:24:38 +0930, Daniel Greenhoe said: Using \underbrace with the unicode-math package under XeLaTeX produces garbage output. Here is a minimal example: \documentclass{book} \usepackage{unicode-math} \setmathfont{xits-math.otf} \begin{document}% \[ \underbrace{xyz} \] \end{doc

Re: [XeTeX] fontspec's \setmathrm seems to have no effect

2011-09-04 Thread Will Robertson
On 2011-09-03 07:30:41 +0930, Daniel Greenhoe said: Thank you Ulrike --- I have started using the unicode-math package. It works great. Your suggestion was very helpful. Note that if you're just looking to change the font used for the italic alphabetic characters, the mathspec package might

Re: [XeTeX] How to mix math fonts?

2011-07-31 Thread Will Robertson
On 2011-07-14 16:33:59 +0930, Mojca Miklavec said: Wow, Ulrik, Perfect! I will simply use your version now (not trying to learn the syntax). Will - Maybe it makes sense to incorporate some of the changes into your original document? Or at least create a second copy or style file with the pur

Re: [XeTeX] How to mix math fonts?

2011-07-12 Thread Will Robertson
On 06/07/2011, at 3:41 PM, Mojca Miklavec wrote: > I would like to know how I can use unicode-math package for mixing > multiple fonts. (I don't mean taking a few characters from one font > and a few symbols from the other.) I would like to display one > character from LM Math for example and the

Re: [XeTeX] XeTeX, fontspec, OTF, and fontdimens

2011-02-28 Thread Will Robertson
On 2011-03-01 00:58:45 +1030, msk...@ansuz.sooke.bc.ca said: It's important not to override the widths of glyphs because of the common case I described earlier of a font that is in some meaningful way monospaced, but doesn't have all characters exactly the same width. Also note that XeTeX cur

Re: [XeTeX] XeTeX, fontspec, OTF, and fontdimens

2011-02-28 Thread Will Robertson
On 01/03/2011, at 1:28 AM, Vadim Radionov wrote: > one side-effect of your patch is that now, afaics, WordSpace multipliers work > cumulatively in > > \newfontfamily\russianfont[Mapping=tex-text,Script=Cyrillic,WordSpace={1.4,.9,.8}, > SmallCapsFeatures={LetterSpace=5,WordSpace={1.5,1,1}}]{Char

Re: [XeTeX] XeTeX, fontspec, OTF, and fontdimens

2011-02-27 Thread Will Robertson
On 28/02/2011, at 10:11 AM, msk...@ansuz.sooke.bc.ca wrote: >> http://github.com/wspr/fontspec/issues/99 >> >> Have I missed anything? > > On issue 99: you mention "an option to add two ‘spaces’ instead of one > might be a nice customisation." That calls for some caution - does it > mean "add

Re: [XeTeX] XeTeX, fontspec, OTF, and fontdimens

2011-02-27 Thread Will Robertson
On 28/02/2011, at 12:56 AM, msk...@ansuz.sooke.bc.ca wrote: > If I edit the fontspec.sty file to include the above definition instead of > the existing one, then inter-word spaces scale correctly. Inter-sentence > spaces don't. Ideally there would be similar code addressing \fontdimen7 > in rela

Re: [XeTeX] XeTeX, fontspec, OTF, and fontdimens

2011-02-27 Thread Will Robertson
On 27/02/2011, at 8:12 PM, Vadim Radionov wrote: > But still there are things to be improved. If i want to change WordSpace > locally, I have to add > some other dummy feature (say, LetterSpace=0), or this change of inter-word > space will be applied globally to the current font. Hi Vadim, Th

Re: [XeTeX] XeTeX, fontspec, OTF, and fontdimens

2011-02-26 Thread Will Robertson
On 2011-02-20 11:42:30 +1030, msk...@ansuz.sooke.bc.ca said: * Ideally the fact that the font is monospace is auto-detected, but if that is difficult or impossible, it would be reasonable that I set some option to let the system know that spaces should not stretch. Could we measure the wi

Re: [XeTeX] XeTeX, fontspec, OTF, and fontdimens

2011-02-26 Thread Will Robertson
On 2011-02-20 03:51:03 +1030, msk...@ansuz.sooke.bc.ca said: Manually setting \fontdimen3 and \fontdimen4 seems to correctly change the space stretchability - and in fact is the workaround I'm using for the time being - but it must be repeated after every size change and so it breaks semantic m

Re: [XeTeX] Fontspec bug

2011-02-26 Thread Will Robertson
On 2011-02-17 15:12:53 +1030, Vafa Khalighi said: This is not a problem but when preview package is used Then you get error: ! Package xkeyval Error: no key specified for value `'. See the xkeyval package documentation for explanation. Hi Vafa, Sorry for the delay with this. I think I've

Re: [XeTeX] Proper way to set up OT Features

2011-02-13 Thread Will Robertson
On 2011-02-12 11:58:07 +1030, David Perry said: In one of my fonts, I'm having a hard time getting the OT features to work correctly in XeLaTeX. If I include the following line: \setmainfont[Numbers=Lowercase,Ligatures={Rare,Historical}]{Cardo} then the oldstyle numerals and ligature

Re: [XeTeX] \XeTeXglyphbounds question

2011-02-07 Thread Will Robertson
Hi Jonathan, Thanks for your comments. On 2011-02-07 22:34:05 +1030, Jonathan Kew said: So while I think I agree that it would be good for \XeTeXcharglyph to respect the font's selected OT features, it's important to recognize the limitations inherent in *any* API that tries to get glyph

Re: [XeTeX] \XeTeXglyphbounds question

2011-02-07 Thread Will Robertson
On 2011-02-04 23:57:38 +1030, Jonathan Kew said: On 4 Feb 2011, at 05:41, Adam Twardoch (List) wrote: I could use: \XeTeXcharglyph`f but this only gives me the glyph ID of the *default* glyph for the "f" character. Yet since the font uses contextual alternates, I may end up having any alter

[XeTeX] Testing unicode-math

2011-01-29 Thread Will Robertson
Dear all, After many months of work largely by Philipp Stephani, I've finally got around to fixing a couple of niggling bugs and packaging up a new release for unicode-math. In general there are no large changes, but I'd still like to make a test release of the package available in case I've ac

Re: [XeTeX] xdv2pdf vs xdvipdfmx

2011-01-29 Thread Will Robertson
On 2011-01-21 18:57:06 +1030, Oleg Parashchenko said: what is the state of xdv2pdf? Is it ok to use this driver in production environment, or are there any issues? What xdvipdfmx provides, what xdv2pdf can not do? It's probably safe to say that xdvipdfmx is the more supported option these d

Re: [XeTeX] Getting vinculum in fractions with Asana Math and unicode-math when compiled with xelatex

2011-01-05 Thread Will Robertson
On 2011-01-05 11:50:55 +1030, Paul Vojta said: I've attached a patch that fixes the problem, seems not to break anything else, and seems reasonable. It also fixes: problems with segfaults with delimiters (xe-test-delim.tex) problems with incorrect rendering of radicals (xe-t

Re: [XeTeX] problem with package versions?

2010-11-14 Thread Will Robertson
On 2010-11-15 10:18:56 +1030, Adam McCollum said: When I run XeLaTeX on a file (I've tried several), I get this error message. [snip] By the way, I've run TeX Live and updated everything. You must be using TeX Live 2009. The current version is TeX Live 2010, and you can't upgrade from the f

Re: [XeTeX] Font variant selection in Fontspec/Mathspec options incomplete

2010-11-11 Thread Will Robertson
On 2010-11-10 19:09:33 +1030, Christian Schmidt said: Selecting a font via the extension option/feature from Truetype or Opentype font files and, at the same time, specifying the corresponding font varian ts through the other options, fontspec/mathspec is not able to set the vari ant "Bold It

Re: [XeTeX] WordSpace in SizeFeatures

2010-10-27 Thread Will Robertson
On 2010-10-27 22:11:47 +1030, Vadim Radionov said: Is it possible to set different interword space for different font sizes? SizeFeatures={ {Size=-10,LetterSpace=-10,WordSpace={20,1,1}}, {Size=10-,WordSpace={1.1,1,1}}} I am afraid that this is a limitation in LaTeX's font selection mechanis

Re: [XeTeX] Problems with spacing in math formulae

2010-10-20 Thread Will Robertson
On 2010-10-20 19:09:52 +1030, Taco Hoekwater said: On 10/20/2010 10:35 AM, Khaled Hosny wrote: Very useful! Knowing that there were a working version I was able to track this down (with some git bisect magic), the culprit is the DisplayOperatorMinHeight math parameter, while ago I increased

Re: [XeTeX] Problems with spacing in math formulae

2010-10-19 Thread Will Robertson
On 2010-10-20 09:13:36 +1030, Khaled Hosny said: I can reproduce it and while ago have seen it in a posted sample somewhere on the web. I don't know what is special about Euler's display summation to trigger such a bug (if it is actually a bug), Strange, with a little more effort I can now

Re: [XeTeX] Problems with spacing in math formulae

2010-10-19 Thread Will Robertson
On 2010-10-20 07:52:09 +1030, Ross Moore said: On 20/10/2010, at 6:14 AM, Christian Pech wrote: I already reported this problem a week ago, but maybe the message got lost. The following latex-file produces wrong spacing when compiled with xelatex, I confirm the bad layout, as reported belo

Re: [XeTeX] bug in fontspec?

2010-10-19 Thread Will Robertson
On 2010-10-19 22:55:23 +1030, Herbert Schulz said: How long in testing before you submit the update to CTAN/TeX Live? Who knows :) I'm not sure what precendent to set here. I don't exactly want to bother the CTAN people for every minor bug fix, but I don't want to wait too long before relea

Re: [XeTeX] bug in fontspec?

2010-10-18 Thread Will Robertson
On 2010-10-19 03:30:24 +1030, Pablo Rodríguez said: as Ulrike Fischer has noticed (http://tug.org/pipermail/xetex/2010-October/018895.html), fontspec enters in a loop italics are defined as slanted: \def\itdefault{sl} This problem, funnily enough, has existed pretty much forever. I

Re: [XeTeX] Error with latest expl3?

2010-10-16 Thread Will Robertson
On 2010-10-17 02:17:37 +1030, Herbert Schulz said: On Oct 16, 2010, at 10:31 AM, enrico.grego...@univr.it wrote: \expandafter\let\csname intexpr_if_even:nTF\expandafter\endcsname \csname int_if_even:nTF\endcsname That certainly fixes things here. Kind of ugly though. :-) Oops, my fau

Re: [XeTeX] New environment fails in float

2010-10-12 Thread Will Robertson
On 2010-10-12 01:20:09 +1030, Gareth Hughes said: I'm having problems with an environment definition. Using the xparse and etoolbox packages, I have created the environment syriacpoem in my .sty file. Hi Gareth, This appears to be a bug with nested environments in xparse. I've reported the

Re: [XeTeX] Primes and unicode-math.

2010-10-12 Thread Will Robertson
On 2010-10-12 06:31:36 +1030, Khaled Hosny said: Put the line \setmathfont{xits-math.otf} AFTER the line \setmathfont[range=\mathit/{latin,Latin,greek,Greek}]{Linux Libertine O Italic} I'm not sure this would be side effect free, at least in XeTeX since many math typesetting parameters are

Re: [XeTeX] Math italics with unicode-math.

2010-10-09 Thread Will Robertson
On 2010-10-10 08:08:20 +1030, Khaled Hosny said: fontspec Warning: Font 'Linux Libertine O' does not contain script 'Math'. I guess Libertine isn't a math font. Right, and this warning should be harmful as regard of this context (it basically means you want get proper radicals or large oper

Re: [XeTeX] Prime + Unicode-math

2010-10-04 Thread Will Robertson
On 2010-10-05 09:07:07 +1030, Kamal Abdali said: The math symbols in XITS seem rather small. When trying to increase XITS character size with the Scale option, I noticed that math accents get amplified too much, and get placed too far from the subject symbols. The example below shows that by c

Re: [XeTeX] XeTeX in lshort

2010-10-04 Thread Will Robertson
On 2010-10-05 05:21:21 +1030, Apostolos Syropoulos said: written in WEB, which is a Pascal-based system + documentation; it is often converted to C for compilation. And TeX itself doesn't look anything like LISP to me, but maybe I'm missing s.t.? (Like a CAR and a CDR and...) Several ye

Re: [XeTeX] hyperref broken??

2010-10-03 Thread Will Robertson
On 2010-10-04 11:57:27 +1030, "David J. Perry" said: Ross and Will, So the first question should be what is the version of XeTeX that MikTeX is providing. And is David actually using that, or still an earlier version, as I was on a Mac. If the primitive is not there, then the latest versions

Re: [XeTeX] hyperref broken??

2010-10-03 Thread Will Robertson
Am 03.10.2010 um 15:52 schrieb Will Robertson: > On 03/10/2010, at 11:41 PM, Philipp Stephani wrote: > >> Am 03.10.2010 um 14:02 schrieb David Perry: >> >>> If I omit the option, or use 'xetex' in place of 'hypertex' or use the >>> dr

Re: [XeTeX] Undefined control sequence

2010-10-02 Thread Will Robertson
On 2010-10-03 00:08:20 +0930, Cesar Romani said: I'm using xelatex from TexLive 2008 on Win XP. \usepackage{fontspec} \usepackage{xunicode} \usepackage{xltxtra} \usepackage{polyglossia} I'm afraid your example works correctly for me. There has been some development on these packages since

Re: [XeTeX] Problem with footnotes and xltxtra

2010-09-30 Thread Will Robertson
On 2010-09-30 19:25:45 +0930, Will Robertson said: In terms of debugging the problem, I haven't worked out what causes the error but I know how to fix it. There seems to be a strange interaction with \DeclareRobustCommand and the xparse package which we'll need to sort out. Sc

Re: [XeTeX] Problem with footnotes and xltxtra

2010-09-30 Thread Will Robertson
On 2010-09-30 18:13:50 +0930, Dominik Wujastyk said: A quick trial of this shows that the problem goes away when the "no-sscript" argument is removed from xltxtra (and the "minimal" class is replaced by "article" to get the \footnotesize command). Next thing to do (not by me) is debug [no-ssc

Re: [XeTeX] XeTeX in lshort

2010-09-29 Thread Will Robertson
On 2010-09-30 07:10:07 +0930, Philipp Stephani said: [Beginners] don't know what a text file or a text editor is, they have never heard the word "Unicode", and they have never used a programming language before. What they need are step- by-step instructions that tell them, in simple words, h

Re: [XeTeX] unicode-math problem

2010-09-29 Thread Will Robertson
On 2010-09-29 21:29:22 +0930, Herbert Schulz said: Had another update of unicode-math this morning and have no problems compiling the file here. Right, the two packages were out of sync for a couple of days. It should all be working now. Sorry for the inconvenience. (In the future I need

Re: [XeTeX] Small caps bug in fontspec

2010-09-29 Thread Will Robertson
On 2010-09-29 15:50:29 +0930, Andrew Moschou said: It seems setting Numbers=OldStyle breaks \scshape. This example uses Sabon, but it happens with other fonts too. My fontspec version is 2.1a. Hi Andrew, Sorry for this, and thanks for reporting it. The bug fix (2.1b) is on its way to CTAN.

Re: [XeTeX] Problem changing default fonts

2010-09-26 Thread Will Robertson
On 2010-09-27 02:14:03 +0930, Drébon said: \usepackage{pxfonts} \usepackage{txfonts} \usepackage[osf,sc]{mathpazo} You just changed the math/text font three times... \usepackage[scaled=0.85]{beramono} \usepackage[euler-digits]{eulervm} \usepackage{helvet} ...and this is the second change

Re: [XeTeX] Redefining \em and \emph

2010-09-26 Thread Will Robertson
On 2010-09-25 09:33:20 +0930, Gareth Hughes said: Will Robertson wrote: It doesn't seem to. In that case I'd write something like \let\oldemph\emph \renewcommand\emph{% \...@rtl \expandafter\aemph \else \expandafter\oldelse \fi } I still can't figure out how to do this fo

Re: [XeTeX] Redefining \em and \emph

2010-09-23 Thread Will Robertson
On 2010-09-23 22:20:05 +0930, Gareth Hughes said: Will Robertson wrote: On 2010-09-23 09:07:39 +0930, Gareth Hughes said: I'm looking at ways to redefine emphasis within Syriac text (seeing as slanted text is not traditional or pretty). I've got most of the redefinitions workin

Re: [XeTeX] Extra trailing space in IPA font with xltxtra

2010-09-23 Thread Will Robertson
On 2010-09-23 20:38:14 +0930, Paolo Matteucci said: Therefore *maybe", whatever approach is used to address this bug, the same "fix" should be applied to fontspec, too...? The \scantokens is somewhere in tipa.sty or its accompanying packages. But the problem only occurs if fontspec is loade

Re: [XeTeX] Redefining \em and \emph

2010-09-22 Thread Will Robertson
On 2010-09-23 09:07:39 +0930, Gareth Hughes said: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 As I understand it, the line about redefining emphasis and inner emphasis at the end of section 6.3 of the fontspec documentation XETEX users will need to load the xltxtra package before the advic

Re: [XeTeX] If font under fontspec

2010-09-20 Thread Will Robertson
On 2010-09-21 09:39:51 +0930, Gareth Hughes said: Peter Dyballa wrote: Am 20.09.2010 um 20:44 schrieb Gareth Hughes: I'm asking for a more useful implementation that checks whether a certain font is in use now Wouldn't it be sufficient to check what \{rm,sf,tt}default are set to? Perh

Re: [XeTeX] Let me get it straight...

2010-09-19 Thread Will Robertson
On 2010-09-19 21:02:27 +0930, Herbert Schulz said: Thanks! That's the information I was wanting. Do you have version numbers after which this is all true? Are the bits and pieces released to CTAN and now in TeX Live? Everything is now on CTAN but not quite yet in TeX Live I think. But sinc

Re: [XeTeX] Let me get it straight...

2010-09-19 Thread Will Robertson
On 2010-09-19 00:27:40 +0930, Herbert Schulz said: Right now I'm loading xltxtra alone (since it loads xunicode and fontspec). In some of my older documents I am loading all three. With an updated fontspec (as of version ?) under xelatex which of the three packages do I need to be loading. J

Re: [XeTeX] Separate fonts for Latin and Greek with fontspec?

2010-09-17 Thread Will Robertson
On 2010-09-18 03:17:21 +0930, "Fr. Michael Gilmary" said: Gareth Hughes wrote: I've been using that version of kashida.sty with Syriac definitions for some time now. Are there any plans to make it an official CTAN package, or part of one? Well, I haven't a clue how to do that. Simply c

Re: [XeTeX] \...@nameuse question

2010-09-17 Thread Will Robertson
On 2010-09-17 19:44:54 +0930, Michiel Kamermans said: \if\value{iclass}<\...@nameuse{#1class} These lines should be \ifnum, at the very least. You might also want to terminate them with \relax: \if\value{iclass}<\...@nameuse{#1class}\relax I haven't checked the rest of the code

Re: [XeTeX] wspr's realscripts & updated xelatex templates

2010-09-15 Thread Will Robertson
On 2010-09-15 17:50:42 +0930, David Cottenden said: On 15/09/10 09:08, Will Robertson wrote: - Defines the dubiously useful commands \vfrac - for vulgar fractions with fontspec \namedglyph - to access font glyphs by name #4(a,b) are probably never used. No! Don't remove

Re: [XeTeX] wspr's realscripts & updated xelatex templates

2010-09-15 Thread Will Robertson
On 2010-09-16 00:01:32 +0930, Ulrike Fischer said: Am Tue, 14 Sep 2010 21:49:40 +0300 schrieb Khaled Hosny: Fontspec loads xunicode for luatex Only the version from github. The "official" version on CTAN 2010/08/01 v2.0c doesn't load xunicode yet. Oops, thanks. Need to get that updated

Re: [XeTeX] wspr's realscripts & updated xelatex templates

2010-09-15 Thread Will Robertson
On 2010-09-15 04:19:40 +0930, Khaled Hosny said: On Tue, Sep 14, 2010 at 10:44:06AM -0400, Joel C. Salomon wrote: I’ve not been following the recent back-and-forth regarding which XɘLaTeX packages are now obsolete, and which are compatible with LuaLaTeX. Right now my personal style files fil

Re: [XeTeX] Fontspec: Historic not Historical Ligatures?

2010-09-13 Thread Will Robertson
On 2010-09-13 00:04:53 +0930, David Perry said: On 9/12/2010 10:05 AM, Kevin Klement wrote: Wouldn't it be possible, however, to alias one to the other so that both worked? That would make sense, unless something else is going on here that we don't know about; Will can perhaps speak to this

Re: [XeTeX] XeTeX documentation initiative - a website

2010-09-12 Thread Will Robertson
On 2010-09-12 19:29:31 +0930, Michiel Kamermans said: I've put up a wiki with a highly tentative structure on http://wiki.xelatex.org/doku.php - sadly xetex.org is taken by some domain hiking service so there's no obvious xetex.org counterpart to be had... Looks great so far. If I could tent

Re: [XeTeX] XeTeX documentation "initiative"

2010-09-11 Thread Will Robertson
On 2010-09-12 05:11:54 +0930, Philipp Stephani said: OpenType Math is still in a very early stage in XeTeX and has so many bugs that it is not ready for production use. Thanks for the vote of confidence. And where are all these OpenType math fonts you'd like to use? W --

Re: [XeTeX] XeTeXpdffile media box etc

2010-09-10 Thread Will Robertson
On 2010-09-09 16:33:55 +0930, Paul Isambert said: The pdfTeX manual states: "one may also decide in the pdf image case, which page box of the image is to be treated as a final bounding box." I guess XeTeX works in the same way. Thanks. For what it's worth, the development version of xete

Re: [XeTeX] XeTeXpdffile media box etc

2010-09-10 Thread Will Robertson
On 2010-09-10 01:14:34 +0930, Heiko Oberdiek said: Who are the maintainers of xetex.def? Can they add the option `pagebox' as well? Not me, I'm afraid. The copyright lists Jonathan (Kew) and Ross Moore. W -- Subscriptions, Archive, and Lis

Re: [XeTeX] XeTeXpdffile media box etc

2010-09-08 Thread Will Robertson
Hi, Thanks Paul and William for the useful info. Another clarification: Crop, Bleed and Trim are standard printing terms and the usage reflects that. Media is used to describe the underlying page size to which one would likely be printing the file and art is what one wants people to see. An

[XeTeX] XeTeXpdffile media box etc

2010-09-07 Thread Will Robertson
Hi, I'm writing up the syntax of \XeTeXpdffile and \XeTeXpicfile and I'd like someone who knows better than I do to explain the optional argument to \XeTeXpdffile to control the bounding box of the graphic: [ crop | media | bleed | trim | art ] Any volunteers? (If these are standard "ind

Re: [XeTeX] Invalid fontname

2010-09-05 Thread Will Robertson
Philip Taylor (Webmaster, Ret'd writes: > I get a different error, using TL 2010 pre-release : > > (e:/TeX/Live/2010/texmf-dist/tex/latex/fontspec/fontspec.cfg)) > ! Undefined control sequence. > \newfontinstance This command is deprecated; please use \newfontfamily or \newfontface instead.

Re: [XeTeX] XeTeX documentation? (from "Checking if a font exists")

2010-09-01 Thread Will Robertson
On 2010-09-01 18:34:30 +0930, Heiko Oberdiek said: The rotation is specified in degree (360 is full circle) and the rotation is counterclockwise as usual. Thanks for the info. I've added it to the project, and I'll try and write it up sooner rather than later: http://github.com/wspr/xetex

Re: [XeTeX] XeTeX documentation? (from "Checking if a font exists")

2010-08-31 Thread Will Robertson
On 2010-08-31 21:22:31 +0930, Shrisha Rao said: There is an interesting paper titled "If writers can't program and programm ers can't write, who's writing user documentation?" -- see http://portal.ac m.org/citation.cfm?id=10563.10574. Great link, thanks! Will --

Re: [XeTeX] XeTeX documentation? (from "Checking if a font exists")

2010-08-31 Thread Will Robertson
On 2010-08-31 00:02:43 +0930, Heiko Oberdiek said: However it's quite incomplete, two examples: * \suppressfontnotfounderror is missing * For the correct syntax of \XeTeXpdffile I had to look into the sources of XeTeX. I've added \suppressfontnotfounderror to the source: http://github.c

Re: [XeTeX] OldStyle Numbers not changeable to Lining Numbers

2010-08-20 Thread Will Robertson
On 2010-08-18 19:24:01 +0930, "M. Niedermair" said: Is there a way to display with fontspec all supported features of a special font? No (eventually planned), but you can use the opentype-info.tex "document" to do this. Are all standard otf feature mapped to fontspec-parameters? If not

Re: [XeTeX] OldStyle Numbers not changeable to Lining Numbers

2010-08-17 Thread Will Robertson
On 2010-08-17 08:23:15 +0930, Tobias Schoel said: \defaultfeatures{Numbers=OldStyle} gives medieval numbers, \addfontfeature{Numbers=Lining} afterwards keeps medieval numbers. Minimal Example: \documentclass{article} \usepackage{fontspec} \defaultfontfeatures{Numbers={OldStyle}} \setmainfont

Re: [XeTeX] Checking for existence of font feature

2010-08-17 Thread Will Robertson
On 2010-08-12 16:16:54 +0930, Khaled Hosny said: Ah, thank you. Are these features (relatively) new? Rather embarrassing not to have spotted them, but anyway… All were introduced in version 2, I think. Yep, very new. I've got a problem using these commands. Using XeTeX v0.9995.1 texlive

Re: [XeTeX] unicode-math (I think) redefines \slash

2010-08-17 Thread Will Robertson
On 2010-08-12 04:54:45 +0930, "Joel C. Salomon" said: Using all packages as of TL ’10 pretest. At one point in my document I needed an optional line-break after a slash, but blah blah overfull line UNIX\slash Linux didn’t break. Inserting the line \show\slash showed me that \

Re: [XeTeX] [lltx] fontspec and xunicode

2010-08-05 Thread Will Robertson
On 05/08/2010, at 6:07 PM, Khaled Hosny wrote: > And even with the "/doc" from ctan, I still can't build the package > because `make doc` insists on generating the test files which fails > here. Bleah. Sounds like I need to revisit the makefile. You can force the tests to pass with `rm testfiles

Re: [XeTeX] [lltx] fontspec and xunicode

2010-08-05 Thread Will Robertson
On 05/08/2010, at 5:05 PM, Khaled Hosny wrote: > Well, I can not actually upload fontspec to CTAN since I am unable to > build the documentation :) (even if I got all the non-free fonts, I > still can not generate the AAT examples). I think, adding the PDFs of > the examples to the repository woul

Re: [XeTeX] [lltx] fontspec and xunicode

2010-08-05 Thread Will Robertson
On 05/08/2010, at 4:58 PM, Khaled Hosny wrote: > Based on the previous discussion here, I think there is a general > agreement that a simple wrapper around xunicode is better than forking > it. Where the wrapper == fontspec? (As I just implemented.) Or do you mean an entirely separate package tha

[XeTeX] fontspec and xunicode

2010-08-05 Thread Will Robertson
Hey, Quick message to say that the new version of fontspec (v2.1) on GitHub now loads xunicode directly, and references to xunicode been removed entirely from euenc. If necessary, Khaled can release fontspec & euenc to CTAN while I'm away for the next couple of weeks, but otherwise if all is we

Re: [XeTeX] fontspec: loading different shapes/scales of one font as different font instances?

2010-08-02 Thread Will Robertson
On 2010-08-02 06:39:27 +0930, BPJ said: I'll still need to stick in commands/define features to get smallcaps, though... \newfontface\foosc[Letters=SmallCaps]{TeX Gyre Pagella} W -- Subscriptions, Archive, and List information, etc.: http

Re: [XeTeX] Pipes in XeTeX

2010-07-29 Thread Will Robertson
On 2010-07-28 22:10:49 +0930, Florian Gilcher said: Actually, pdftex in both texlive 2009 and 2010 supports it. The difference between MiKTeX and texlive is that MiKTeX has a special CLI flag for it (--enable-pipes) while pdftex on texlive checks for (--shell-escape). Thanks for the info.

Re: [XeTeX] fontspec: loading different shapes/scales of one font as different font instances?

2010-07-29 Thread Will Robertson
On 2010-07-28 23:32:14 +0930, BPJ said: As the subject line says I wonder if it's possible with fontspec to load different shapes of the same font as different font instances? I don't understand the question, sorry. fontspec provides \newfontfamily\foo[]{} You can use this as many times as

Re: [XeTeX] Pipes in XeTeX

2010-07-28 Thread Will Robertson
On 2010-07-27 00:07:02 +0930, Florian Gilcher said: I really like the following feature of pdftex and others for development purposes: \input{|"darcs changes -s"} % print a detailed log of changes and include that into my document as a "running log" for other reviewers. Sure, it requires

Re: [XeTeX] \ifincsname: unexpected behaviour after nested \csname...\endcsname

2010-07-21 Thread Will Robertson
On 2010-07-22 09:12:14 +0930, Grzegorz Murzynowski said: I noted quite unexpectedly that nesting \csname…\endcsname, results in turning |\ifincsname| false: the example above typesets \before nested csname: In csname \ after nested csname: Not in csname Is it a bug or a feature? (I

Re: [XeTeX] [OT] Free fonts for fontspec examples?

2010-07-14 Thread Will Robertson
On 2010-07-14 22:24:30 +0930, "Fr. Michael Gilmary" said: Oh, good! Then, I humbly request, for the benefit of those you love on this list, that the next version of fontspec documentation have hyperlinks for ToC, etc Maybe you've already done this in more recent versions that we have her

Re: [XeTeX] [OT] Free fonts for fontspec examples?

2010-07-14 Thread Will Robertson
On 2010-07-14 19:46:02 +0930, François Charette said: [quite off-topic] In 19th-century Rome, a prince and mathematician named Baldassare Boncompagni... P.S. I love this list. Thanks :) W -- Subscriptions, Archive, and List information

Re: [XeTeX] XeLaTex and Armenian

2010-07-14 Thread Will Robertson
On 2010-07-14 06:40:52 +0930, Apostolos Syropoulos said: In different words, if a font includes glyphs for the Armenian script and the Latin script and the kern and liga features are defined for both scripts, then there is no reason to use different fonts. But don't you still need markup (pe

Re: [XeTeX] [OT] Free fonts for fontspec examples?

2010-07-14 Thread Will Robertson
On 2010-07-14 12:38:56 +0930, Alexey Kryukov said: On Tue, 13 Jul 2010 00:00:00 +0930 Will Robertson wrote: Why? If they are "historical forms" isn't it better to give them a meaningful OpenType feature name? To my mind, an attempt to provide meaningful feature names for

Re: [XeTeX] [OT] Free fonts for fontspec examples?

2010-07-13 Thread Will Robertson
On 2010-07-13 21:50:50 +0930, David Perry said: Sure, or cv01 (like ss01) if you implement the short tags. Fontspec is unusual in that it lets (actually, requires) users to request stylistic alternates by number. Most programs present the alternates visually in a character palette. Well, t

Re: [XeTeX] [OT] Free fonts for fontspec examples?

2010-07-12 Thread Will Robertson
On 2010-07-13 03:37:13 +0930, David Perry said: This has always been available under the "Variant=0/1/2/3/..." feature but this name wasn't very obvious. In more recent versions of fontspec you can use "StylisticSet=0/1/2...". Thank you, thank you. I hadn't picked up on this. The naming con

  1   2   >