[XeTeX] \meaning on a \csname \let to a character

2013-01-07 Thread David Carlisle
I'm trying to update the bm package to work with xetex (and luatex, but concentrating on xetex for now) and in particular to work with unicode-math package. bm needs to look at each token (after expansion) and if it is a character look up the mathcode and construct a suitable bold replacement. I

Re: [XeTeX] \meaning on a \csname \let to a character

2013-01-07 Thread David Carlisle
On 7 January 2013 17:39, Khaled Hosny wrote: > This is already fixed in the development version, it now returns: the letter number "1D6FC ooh, OK thanks:-) since I need to decode this in macros could you say when it switches fro "the letter x" (in which case I need to use `x to get the number

Re: [XeTeX] \meaning on a \csname \let to a character

2013-01-07 Thread David Carlisle
>> (in which case the number is just there explicitly) >> >> is it just a function of the Unicode range? > > When x >= 0x1 (i.e. outside BMP). > > Guessed as much, thanks. Although thinking about it a bit more it doesn't really help knowing that as I need to parse out past "number" before I kn

Re: [XeTeX] \meaning on a \csname \let to a character

2013-01-08 Thread David Carlisle
In a similar thread ,\meaning or \show on a mathchardef'ed character such as \sumop in xetex gives \sumop=\XeTeXmathchar"202211 in luatex \sumop=\Umathchar"1"00"002211. the luatex version looks distinctly odd but is legal input. With the xetex version if you input it ! Bad math class (21058

Re: [XeTeX] \meaning on a \csname \let to a character

2013-01-09 Thread David Carlisle
On 9 January 2013 14:28, Khaled Hosny wrote: > It does now. Thanks David -- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex

Re: [XeTeX] Local changes to mathmode digits

2013-01-13 Thread David Carlisle
On 12 January 2013 15:58, Nathan Camillo Sidoli wrote: > Is there anyway to change the math mode digits for only certain parts of a > text? > > I have some math in Arabic text in a largely English document. I would like > to change the math mode digits in this parts to use Eastern Arabic digits, >

Re: [XeTeX] Problem with XeTeX 0.9999.2 and includegraphics

2013-04-18 Thread David Carlisle
On 18 April 2013 05:17, Wilfred van Rooijen wrote: > > >Avoid file names with an unusual number of dots (unusual is > > everything not equal to 0). > > I would say everything not equal to 1. In fact, I am surprised that > graphicx processes the file name with two dots correctly. Normally graphic

Re: [XeTeX] longtable and RTL (Arabic)

2013-04-30 Thread David Carlisle
Yes unfortunately the xetex/tex--xet beginL beginR method of marking bidirectional text can not (natively) re-order the columns of a table. The bidi package's longtable-bidi package does what it can and as far as I remember it works well enough although has (hard to solve) issues if the table star

Re: [XeTeX] longtable and RTL (Arabic)

2013-04-30 Thread David Carlisle
I'm sorry I can not read the script and am not that familiar with the footnote package that you are using, but footnotes should work in longtable. If I join your two tables together as one longtable so the file ends with نظري أو كشفي\فمب & ٣٩\\ \footnote{في المتن: "كشفى".} \hspace{2cm} & \h

Re: [XeTeX] longtable and RTL (Arabic)

2013-05-01 Thread David Carlisle
This isn't really the right list for latex package interaction probably but the situation is I think that \footnotetextB and friends work fine in l r or c columns (so the second column in your example) If I use the code below I get footnotes bb ww and zz at the bottom of the page (sorry I added so

Re: [XeTeX] \meaning on an outside BMP character

2013-06-30 Thread David Carlisle
On 30 June 2013 15:01, Khaled Hosny wrote: > On Sun, Jun 30, 2013 at 02:20:13PM +0800, Qing Lee wrote: >> Hi, >> >> It is relevant to the subject below. >> >> http://tug.org/pipermail/xetex/2013-January/023967.html >> >> I want to catch the character code of an implicit token by using >> the \mean

Re: [XeTeX] engine or unicode-math bug? Problems with math font switches in subscripts

2013-06-30 Thread David Carlisle
On 30 June 2013 18:23, Herbert Schulz wrote: > > On Jun 30, 2013, at 11:09 AM, Ulrike Fischer wrote: > >> Am Sun, 30 Jun 2013 07:52:52 -0500 schrieb Herbert Schulz: >> >>> I'm not seeing the problem here with `Version >>> 3.1415926-2.5-0..3 (TeX Live 2013)', i.e, the version you are >>> using

[XeTeX] position of items following \XeTeXpicfile

2013-12-11 Thread David Carlisle
This came up on Stackexchange here: http://tex.stackexchange.com/a/149526/1090 If I include an image using \XeTeXpicfile and then follow it with a box in the same hlist then the box seems to be oddly offset, and overprints the following text. If I put the \XeTeXpicfile into its own hbox, the foll

Re: [XeTeX] Hyphenation around „ß“

2014-01-15 Thread David Carlisle
Phil wrote > Not as good as Knuth's, as it typesets the output rather than If you wanted something that worked like \showhyphens you could do this It produces the following with xetex Underfull \hbox (badness 1) in paragraph at lines 1--1 [] \tenrm good-bye hy-phen-ation Underfull \hbox

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

2014-04-25 Thread David Carlisle
> XeTeX My-file .. > XeTeX &LaTeX My-LaTeX-file Philip that's not been true for so long I'm surprised you can remember that far back:-) all the web2c engines load formats based on their name, there is no intrinsic difference between say pdflatex with a preloaded latex and pdftex with a pre loaded

[XeTeX] expandable version of \char

2014-05-04 Thread David Carlisle
Would it be possible (ever:-) to add a \Uchar primitive like that in luatex? So like \char but is expandable and returns a character token rather than a typesetting primitive. This would be useful in lots of situations, in particular for lowercase constructs and encoding mapping. In classic TeX i

Re: [XeTeX] New version of xetex

2014-07-29 Thread David Carlisle
On 29 July 2014 10:55, Khaled Hosny wrote: > On Mon, Jul 28, 2014 at 07:25:39PM +0200, Khaled Hosny wrote: >> On Mon, Jul 28, 2014 at 10:24:39PM +1000, Vafa Khalighi wrote: >> > > >> > > Thanks, fixed. >> > > >> > > >> > Thanks. I will try that. I know that in the new algorithm, \beginR, >> > \beg

Re: [XeTeX] New version of xetex

2014-07-29 Thread David Carlisle
On 29 July 2014 12:55, Vafa Khalighi wrote: > > >> >> >> If you are looking at extending xetex's RTL support is there any >> chance of addressing RTL tables (as affects for example longtable in >> the other thread)? >> as the nodes can only go in hmode there is no good place to put them >> to affe

Re: [XeTeX] New version of xetex

2014-07-29 Thread David Carlisle
> \hbox \bgroup $\beginR but couldn't you just do \hbox \bgroup \beginR$ to get the same, but working with older engines? > I will look at longtable and see if the same kind of thing can be done there. I don't have it here but can you put \beginR at the start of $$ and still have a display \ha

Re: [XeTeX] New version of xetex

2014-07-29 Thread David Carlisle
On 29 July 2014 16:27, Khaled Hosny wrote: >> >> \hbox \bgroup \beginR$ > > That wouldn't work, as math (inline and display) are ensured to always > be LTR. oh yes, I knew that really:-) sorry Vafa, I shouldn't have queried you:-) David -- Subs

Re: [XeTeX] avoiding line break after dash

2014-12-07 Thread David Carlisle
On 7 December 2014 at 23:34, Mike Maxwell wrote: > I have a document that has word-initial dashes (they indicate that the > "word" is a suffix). When the paragraph they're in is just right, xelatex > insists on inserting an unwanted line break immediately after the dash. > I've tried lots of thin

Re: [XeTeX] avoiding line break after dash

2014-12-08 Thread David Carlisle
On 8 December 2014 at 04:18, Mike Maxwell wrote: > On 12/7/2014 7:14 PM, David Carlisle wrote: >> >> If adding markup rather than a general setting is acceptable you can use >> >> \mbox{-}abcd > > > I see that this works--I had not expected it to, so I di

[XeTeX] additional beginL endL nodes in math

2015-04-14 Thread David Carlisle
As noted in the release notes direction support now works in math which is a good thing but a side effect seems to be that beginL endL nodes are added to every math list \tracingoutput1 \tracingonline1 $a$ \bye generates ..\hbox(4.30554+0.0)x469.75499, glue set 444.4691fil ...\hbox(0.0+0.0)x2

Re: [XeTeX] additional beginL endL nodes in math

2015-04-14 Thread David Carlisle
On 14 April 2015 at 17:47, David Carlisle wrote: > As noted in the release notes direction support now works in math > which is a good thing but a side effect seems to be that beginL endL > nodes are added to every math list > The change introduces an incompatibility between xete

Re: [XeTeX] additional beginL endL nodes in math

2015-04-14 Thread David Carlisle
On 14 April 2015 at 21:14, Khaled Hosny wrote: > On Tue, Apr 14, 2015 at 05:47:29PM +0100, David Carlisle wrote: >> As noted in the release notes direction support now works in math >> which is a good thing but a side effect seems to be that beginL endL >> nodes are add

Re: [XeTeX] additional beginL endL nodes in math

2015-04-14 Thread David Carlisle
> have used the xetex variant, sorry, I meant to write have used the etex variant, -- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex

Re: [XeTeX] additional beginL endL nodes in math

2015-04-15 Thread David Carlisle
Is there no other way that the issues you have could be addressed without introducing TeX-XeT? The more we look at this the more it seems a very unfortunate step, introducing several incompatibilities with pdftex and luatex. Especially if there is a possibility of moving in the end to an Omega/lu

Re: [XeTeX] additional beginL endL nodes in math

2015-04-15 Thread David Carlisle
On 15 April 2015 at 20:05, Khaled Hosny wrote: > On Wed, Apr 15, 2015 at 04:29:47PM +0100, David Carlisle wrote: >> Is there no other way that the issues you have could be addressed >> without introducing TeX-XeT? > > I first reported this issue in 2008, 7 years ago, so it se

Re: [XeTeX] additional beginL endL nodes in math

2015-04-15 Thread David Carlisle
> It is either that or live with dysfunctional right-to-left support in > XeTeX, it is obvious which one I’m going to chose, sorry. Yes sure, sometimes you just have to make choices and live with them, I understand that. Let me go and read some of those issues, thanks for the pointer, David -

Re: [XeTeX] additional beginL endL nodes in math

2015-04-15 Thread David Carlisle
On 15 April 2015 at 21:18, Khaled Hosny wrote: > On Wed, Apr 15, 2015 at 09:07:05PM +0100, David Carlisle wrote: >> Let me go and read some of those issues, thanks for the pointer, > > Just in case it is not clear why reviving the long dead TeX-XeT is a fix > here; TeX-XeT does

Re: [XeTeX] additional beginL endL nodes in math

2015-04-15 Thread David Carlisle
On 15 April 2015 at 21:36, Zdenek Wagner wrote: > Hi all, > > I do not want to vote but I feel that TeX behaviour was really wrong. When I > type an English paragraph quoting in a middle of a sentence an Urdu text آپ > جآمع مسجد کی مینار پر جا کستِ ہِں without special LTR/RTL markup, the output >

Re: [XeTeX] additional beginL endL nodes in math

2015-04-15 Thread David Carlisle
On 15 April 2015 at 21:19, Philip Taylor wrote: > > > Khaled Hosny wrote: > >> On Wed, Apr 15, 2015 at 08:52:38PM +0100, Philip Taylor wrote: > >>> Might it not be possible to resolve this by making the new behaviour >>> optional, using a new primitive for the purpose ? >> >> So this just penalize

Re: [XeTeX] additional beginL endL nodes in math

2015-04-15 Thread David Carlisle
\font\x="Arial" at 12pt \x two verses:\beginR ק את אשפן וכ' ופסוק ואת הארנבת\endR; f.≈89r: \bye On 15 April 2015 at 21:54, Philip Taylor wrote: > > > David Carlisle wrote: > >> Khaled will correct me if I'm wrong, but I don't think the change >

Re: [XeTeX] additional beginL endL nodes in math

2015-04-16 Thread David Carlisle
On 16 April 2015 at 01:21, Vafa Khalighi wrote: > I also support Khaled's changes to xetex; I only tested it few months ago > and if the issues I reported are fixed now, then it is good. And since when > LaTeX has a package/ or test files that uses \beginL \endL? All I remember > is that there are

Re: [XeTeX] additional beginL endL nodes in math

2015-04-16 Thread David Carlisle
To see a non contrived example where the change breaks existing documents, take this example (using a math expression from the breqn package documentation) \documentclass[]{article} \usepackage{breqn} \begin{document} aaa \begin{dmath*} g = 0 + 1 - 1 \end{dmath*} a

Re: [XeTeX] additional beginL endL nodes in math

2015-04-16 Thread David Carlisle
On 16 April 2015 at 11:54, Vafa Khalighi wrote: > I have not got TeXLive 2015 but that is just bad. Does the new xetex effect > any other of math typesetting that used to work fine with Knuth TeX? yes see the example I posted in the second message I posted to this thread in Knuth TeX it typesets

Re: [XeTeX] additional beginL endL nodes in math

2015-04-16 Thread David Carlisle
On 16 April 2015 at 12:35, Khaled Hosny wrote: > I’m testing a change that removes the direction node from around inline math > and instead (ab)uses the presence of \math(on|off) node to output the > necessary dvi opcode, and it seems to fix this issue as well. Lets hope that > there is no some bl

Re: [XeTeX] additional beginL endL nodes in math

2015-04-16 Thread David Carlisle
On 16 April 2015 at 20:51, Khaled Hosny wrote: > On Thu, Apr 16, 2015 at 12:39:47PM +0100, David Carlisle wrote: >> On 16 April 2015 at 12:35, Khaled Hosny wrote: >> > I’m testing a change that removes the direction node from around inline >> > math >> >

Re: [XeTeX] additional beginL endL nodes in math

2015-04-17 Thread David Carlisle
On 17 April 2015 at 13:07, Julian Bradfield wrote: > On 2015-04-16, David Carlisle wrote: >> On 16 April 2015 at 20:51, Khaled Hosny wrote: >>> That was very naive and did not work when inline math is broken over >>> multiple lines, so I reverted this and the wh

Re: [XeTeX] additional beginL endL nodes in math

2015-04-17 Thread David Carlisle
On 17 April 2015 at 15:26, Philip Taylor wrote: > > > David Carlisle wrote: > >> possibly but in the interests of keeping divergence of tex-related >> engines to a minimum >> as a first approach (if different approaches were being considered) >> I'd look

Re: [XeTeX] additional beginL endL nodes in math

2015-04-17 Thread David Carlisle
> > Is there a good tool or TeXnique that lets one see the contents of a > math-stream, after all macros are processed, and during the internal > page-construction stage? > I'd like something a bit better than just examining box contents after > using \tracingall . $x+y\showlists$ might be wha

Re: [XeTeX] additional beginL endL nodes in math

2015-04-17 Thread David Carlisle
On 17 April 2015 at 21:43, Ross Moore wrote: > > > > > B. > I'm currently writing a paper describing a method to attach tooltips to > mathematical symbols and expressions. After setting the chunks in boxes for > measuring, this ultimately puts >\pdfannot > into the math-stream. > To not

[XeTeX] printing of characters above "FFFF with \string \meaning (and potentially \Uchar)

2015-04-23 Thread David Carlisle
Last year I asked about the possibility of adding \Uchar copied from luatex. http://tug.org/pipermail/xetex/2014-May/025260.html Bruno suggested a possible implementation, and I finally got round to trying that adjusted for the sources as in the texlive 2015 pretest tree (diff attached) This see

Re: [XeTeX] printing of characters above "FFFF with \string \meaning (and potentially \Uchar)

2015-04-23 Thread David Carlisle
I can confirm that \string does convert character tokens to two tokens giving the UTF-16 representation. With the attached file luatex produces 90,33 34,33 233,33 233,33 65530,33 65537,33 65537,33 which is in each case the unicode value of the character followed by that of ! xetex produces 90

Re: [XeTeX] Media9 buttons in RTL text

2015-04-24 Thread David Carlisle
This runs without error and I think gives the intended layout, although I can not read the text, sorry. \documentclass{article} \usepackage{libertine,media9,polyglossia} \setdefaultlanguage[variant=british]{english} \setotherlanguage[]{hebrew} \begin{document} \marginpar{\includemedia[ label=so

Re: [XeTeX] Media9 buttons in RTL text

2015-04-24 Thread David Carlisle
On 24 April 2015 at 18:35, Karljurgen Feuerherm wrote: > I tried all kinds of variations (including \texthebrew{} in the button > labels), but not this! > > I guess the \textenglish{} wrappers keep things tidy, somehow? > > Thanks so much. > > K > Yes the problem is that the underlying \begi

Re: [XeTeX] XeTeX maintenance

2015-04-25 Thread David Carlisle
On 25 April 2015 at 18:31, Khaled Hosny wrote: > Due to lack of time, skills and motivation, I’ll be no longer able to > work on XeTeX, so I’m stepping down as a maintainer. > > Regards, > Khaled > > Khaled, thanks for all your work on this. I have a horrible feeling that my tex--xet bug repor

Re: [XeTeX] XeTeX maintenance

2015-04-27 Thread David Carlisle
On 27 April 2015 at 01:05, Douglas McKenna wrote: > Joseph Wright wrote: > > > \def\"{0}\expandafter\def\csname^00022\endcsname{1} > > \ifnum\"=0 \message{tex82}\else\message{newstuff}\fi > > When I implemented a Unicode escape sequence extension using double-caret > notation in the JSBox TeX

Re: [XeTeX] XeTeX maintenance

2015-04-27 Thread David Carlisle
On 27 April 2015 at 23:41, Douglas McKenna wrote: > Ross Moore wrote - > > > On 27/04/2015, at 10:05 AM, Douglas McKenna wrote: > > > >> Given that the number of TeX input files using ^^u is likely miniscule, > and the number of those that follow the ^^u or ^^U with four or six hex > digits is ev

Re: [XeTeX] Bug fixes and new features related to Unicode character codes, surrogates, etc

2015-05-05 Thread David Carlisle
On 4 May 2015 at 16:27, Jonathan Kew wrote: > ... > > A fix for this bug, so that \string generates single Unicode characters > even for values above U+, is currently on the utf16-issues branch in > the XeTeX repository on sourceforge.[1] > > A bug with characters above U+ within \scantok

Re: [XeTeX] Assignment of codes (particularly \catcode) based on Unicode data

2015-05-06 Thread David Carlisle
On 6 May 2015 at 20:15, Philip Taylor wrote: > > > Apostolos Syropoulos wrote: > >> It seems to me that most people have no idea what Unicode is and what is >> really >> involved. > > OK, so if we restrict the Universe of Discourse to the set of native > Hellenic speakers who know what Unicode is

Re: [XeTeX] Bug fixes and new features related to Unicode character codes, surrogates, etc

2015-05-06 Thread David Carlisle
On 6 May 2015 at 23:04, Arthur Reutenauer wrote: > While working on these bugs, we also discussed how surrogate > characters were handled in XeTeX. Surrogate characters are the 2048 > code points that are used in UTF-16 to encode characters with code > points above 65536: a pair of them makes u

Re: [XeTeX] Bug fixes and new features related to Unicode character codes, surrogates, etc

2015-05-06 Thread David Carlisle
> The character itself, as bytes that is, is not wrong and users should be able > to create these. > But preferably through macros that ensure that they come correctly paired. placing two character tokens representing a surrogate pair should not though magically turn itself into a single characte

Re: [XeTeX] Bug fixes and new features related to Unicode character codes, surrogates, etc

2015-05-07 Thread David Carlisle
On 7 May 2015 at 02:07, Ross Moore wrote: > Hi David, > > .. > > No disagreement to this. > > OK:-) > > In the current versions d835dc00 is two characters in luatex > and one character in xetex > as the implementation detail that xetex's underlying storage is mostly > UTF-16 is exp

[XeTeX] (not) understanding XeTeXinterchartoks

2015-05-08 Thread David Carlisle
The following plain xetex document loops forever on \show\tmpb the \show don't cause the looping, if they are replaced by \def\zzzb{} xetex just hangs in a tight loop. The fact that it loops isn't necessarily a bug. \def\zzz{\zzz}\zzz does the same, but are there any words that could be added to

Re: [XeTeX] (not) understanding XeTeXinterchartoks

2015-05-08 Thread David Carlisle
On 8 May 2015 at 11:45, Adam Twardoch (List) wrote: > In modern text processing (Unicode+OpenType), a text run is a series of > characters with the same formatting (font, size, color etc.), directionality > (ltr, rtl) and script (writing system such as Latin, Greek, Arabic or > Gujarati). > er

Re: [XeTeX] (not) understanding XeTeXinterchartoks

2015-05-08 Thread David Carlisle
On 8 May 2015 at 13:44, Jonathan Kew wrote: > If what you want to do here doesn't involve inserting text, yes, well what I wanted to do here was understand \XeTeXcharclass, so it doesn't necessarily involve inserting text:-) \XeTeXcharclass is a slightly strange beast as it is documented as wo

Re: [XeTeX] Does there exist the equivalent of testfont.tex/fonttable.tex for XeTeX?

2015-06-12 Thread David Carlisle
On 12 June 2015 at 16:05, roger wrote: > As François Charette states on page 4 of his ««ArabXeTeX Manual»» there is > a great advantage to being able to input a language via code rather than > typing the glyph. This is particularly true if the language is not one > that you master. As a personal

Re: [XeTeX] Discretionary hyphens don't work in paragraphed footnotes

2015-10-08 Thread David Carlisle
On 8 October 2015 at 09:25, Philip Taylor wrote: > > > Zdenek Wagner wrote: > >> I have no time to look deep into it but does anybody know what is the >> definition of \- if these packages is used? Isn't is possible that it is >> a fragile macro? I remember one thing from Phil Taylor's tutorial he

Re: [XeTeX] Discretionary hyphens don't work in paragraphed footnotes

2015-10-08 Thread David Carlisle
On 8 October 2015 at 09:50, Philip Taylor wrote: > Hmmm, completely stymied : not even this works ... It wouldn't be expected to really, this was asked on stackexchange initially and it looks almost certainly due to the interface between tex's hyphenation and the font libraries, that is, an issu

Re: [XeTeX] Discretionary hyphens don't work in paragraphed footnotes

2015-10-08 Thread David Carlisle
> Yes, it's very possible this is an engine bug. What would be most useful > here, I think, would be a reduced (non-LaTeX!) > testcase demonstrating the > underlying incorrect behavior at the (Xe)TeX primitive level. Any takers? I'll see what I can do David ---

Re: [XeTeX] Discretionary hyphens don't work in paragraphed footnotes

2015-10-08 Thread David Carlisle
Here is a plain tex example, not quite as minimal as I'd like but out of time for now. This hyphenates with pdftex but not xetex \nopagenumbers \catcode`\@=11 \ifx\Umathchar\@undefined \font\x=cmr12 \else \font\x="[lmroman12-regular]:mapping=tex-text" \fi \x \newbox\FN@tempboxa \newbox\FN@t

Re: [XeTeX] Discretionary hyphens don't work in paragraphed footnotes

2015-10-08 Thread David Carlisle
On 8 October 2015 at 17:53, Dominik Wujastyk wrote: > The original questioner said he was doing a critical edition. If he's using > EDMAC or LEDMAC then perhaps I can note that EDMAC does some work to avoid > setting footnote text in "restricted horizontal mode". Restricted > horizontal mode doe

Re: [XeTeX] Problem with bidi + longtable + caption packages

2015-10-20 Thread David Carlisle
On 21 October 2015 at 02:34, Herbert Schulz wrote: >> On Oct 20, 2015, at 7:55 PM, maxwell wrote: >> > The longtable environment is like a tabular environment, not the same as a > floating environment like the teble environment. It's floats that take the > caption. Try > No! longtable has a c

Re: [XeTeX] Problem with bidi + longtable + caption packages

2015-10-20 Thread David Carlisle
On 21 October 2015 at 01:55, maxwell wrote: > (Apologies if this isn't the right mailing list--the documentation I have > says I should send this to persian-...@tug.org, but I don't see that mailing > list on the list of TUG mailing lists, nor am I subscribed to it... and if > it does exist, I don

Re: [XeTeX] Problem with bidi + longtable + caption packages

2015-10-21 Thread David Carlisle
The caption wasn't really centred (hard to tell as the text was short) it is a justified paragraph (set in a centred box) the problem is that bidi doesn't "patch" the caption code to add \beginR it redefines the standard one, so over-writing the caption package changes. The following simply prese

Re: [XeTeX] not enough \XeTeXcharclass registers

2015-12-13 Thread David Carlisle
On 13 December 2015 at 07:04, Werner LEMBERG wrote: > > [XeTeX 3.14159265-2.6-0.2 (TeX Live 2015)] > > > Folks, > > > I'm updating the `ucharclasses.sty' to completely cover Unicode. This > style file maps Unicode character blocks to character classes, and > I've hit the 256 entry limit of \X

Re: [XeTeX] [6933] luatex output encoding

2016-01-12 Thread David Carlisle
In experiments with using the inputencoding for latex https://github.com/wspr/xetex-inputenc/blob/master/xetex-inputenc.dtx deal with that problem by writing \XeTeXinputencoding "utf8" at the top of the auxiliary file so that it is read back in utf8 even if the main document is using a legacy e

Re: [XeTeX] misplaced accents in printout only?

2016-01-21 Thread David Carlisle
On 20 January 2016 at 23:42, Zdenek Wagner wrote: > As far as I know nowadays with HarfBuzz it does nothing, HarfBuzz handles > normalization in its own way. > > Zdeněk Wagner > http://ttsm.icpf.cas.cz/team/wagner.shtml > http://icebearsoft.euweb.cz > > 2016-01-21 0:35 GMT+01:00 maxwell : > >> On

Re: [XeTeX] not enough \XeTeXcharclass registers

2016-02-01 Thread David Carlisle
Thanks for the test sources, It all seems to work for me (texlive 2015/cygwin 64 build), but.. I do wonder if this change is going in the right direction. The main problem with the char classes is not the overall number, in fact since the important thing as far as specifying code is the boundary

Re: [XeTeX] not enough \XeTeXcharclass registers

2016-02-01 Thread David Carlisle
On 1 February 2016 at 10:53, Jonathan Kew wrote: > On 1/2/16 10:25, David Carlisle wrote: > >> y. >> > > You're right, of course; this is a limitation of the concept as currently > implemented. > > In practice, I suppose I don't expect there to be a

Re: [XeTeX] Copyright page with \pagestyle{empty} clears all styles

2016-02-06 Thread David Carlisle
That seems to be a general latex question rather than anything xetex related, but to affect just one page use \thispagestyle not \pagestyle David On 6 February 2016 at 11:26, Shakthi Kannan wrote: > Hi, > > I have released the Tamil-English XeTeX customized book template at: > > https://github

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

2016-02-10 Thread David Carlisle
ote I was using Khaled's xits-math variant not the original stix version, xits-math has many improvements to the opentype internals. The VS1 combinations in xits-math work for example in firefox. David > > On 2/9/2016 8:54 AM, David Carlisle wrote: > > Sending this separately to xetex

Re: [XeTeX] Overfull boxes return status of 0 in XeTeX

2016-03-13 Thread David Carlisle
On 13 March 2016 at 08:53, Philip Taylor wrote: > A (very) recent discussion on the TeXworks list included the following > extract : > 6) [new] A test file yields (in the log) : Overfull \hbox (0.58942pt too wide) in paragraph at lines 20--20 []\bodyfont brian.smith0...@btinter

Re: [XeTeX] Overfull boxes return status of 0 in XeTeX

2016-03-13 Thread David Carlisle
> non-zero status codes should be reserved for various categories > of warning, error, severe error, fatal error, etc., should they not ? No I think the (now, whatever the convention in vms was) normal convention is that programs have a clear distinction between warnings and errors. The engine,

Re: [XeTeX] Overfull boxes return status of 0 in XeTeX

2016-03-13 Thread David Carlisle
On 13 March 2016 at 09:43, Philip Taylor wrote: > Also please consider the following text from Wikipædia : (Well from Wikipedia actually) Yes the relevant part is > On many systems, the higher the value, the more severe the > cause of the error. so the status code should be 0 unless an error is

Re: [XeTeX] Overfull boxes return status of 0 in XeTeX

2016-03-13 Thread David Carlisle
On 13 March 2016 at 10:14, Philip Taylor wrote: > > > David Carlisle wrote: > >> Philip Taylor wrote: > >>> Also please consider the following text from Wikipædia : >> (Well from Wikipedia actually) >> >> Yes the relevant part is >> >>

Re: [XeTeX] xelatex, hyperref, and new TeXLive

2016-06-15 Thread David Carlisle
On 15 June 2016 at 21:56, maxwell wrote: > We've downloaded and installed the new 2016 TeXLive distribution. I was all > set to be happy...but. There seems to be an incompatibility between the new > xelatex and the new hyperref package. No matter what I do, I get the error > msg: >

Re: [XeTeX] xelatex, hyperref, and new TeXLive

2016-06-15 Thread David Carlisle
I get the same error with texlive 2015 so I don't think there is any recent change (since support for hyperref moved to github) that has changed this, with texlive 2015: (/usr/local/texlive/2015/texmf-dist/tex/latex/hyperref/pd1enc.def) (/usr/local/texlive/2015/texmf-dist/tex/latex/latexconfig/hyp

Re: [XeTeX] xelatex, hyperref, and new TeXLive

2016-06-15 Thread David Carlisle
> But surely there are lots of people out there happily using xelatex and > hyperref without any problem, right? yes but most will use no driver option or specify xetex which works, the explicit dvipdfm option doesn't but I'm not sure when that stopped. this year we moved support to github and ma

Re: [XeTeX] xelatex, hyperref, and new TeXLive

2016-06-15 Thread David Carlisle
On 15 June 2016 at 23:46, maxwell wrote: > With the help of David Carlisle and Herbert Schulz, I've found part of the > problem. For some reason, in the (our?) 2016 version, kpsewhich points to > this hyperref.cfg file: >...texlive/2016/texmf-dist/doc/latex/listings-ext/hype

Re: [XeTeX] xelatex, hyperref, and new TeXLive

2016-06-15 Thread David Carlisle
On 16 June 2016 at 00:08, Herb Schulz wrote: > Howdy, > > Again, sorry for the top post. > > Does > > kpsewhich hyperref.cfg > > really return a file in the .../doc/... branch? > Oh of course! well spotted. So that is the error. The file is correctly installed in the doc branch but the OP's $TE

Re: [XeTeX] xelatex, hyperref, and new TeXLive

2016-06-15 Thread David Carlisle
On 16 June 2016 at 00:25, Ross Moore wrote: > Hi Mike, David, Herb, > > I’m seeing the same behaviour, but for me the packages are as follows: > > (/usr/local/texlive/2016/texmf-dist/tex/latex/latexconfig/hyperref.cfg) > > /usr/local/texlive/2016/texmf-dist/tex/latex/hyperref/hyperref.sty:4322: >

Re: [XeTeX] Grey fonts with XeTeX

2016-06-24 Thread David Carlisle
see the color package documentation \color[cmyk]{0.1,0.2,0.3,0.4} hello On 24 June 2016 at 21:50, Philip Taylor wrote: > Although I normally work with full-colour projects, the financial constraints > of a current project require me to avoid colour on any page on which it is > not strictly nec

Re: [XeTeX] Grey fonts with XeTeX

2016-06-29 Thread David Carlisle
On 29 June 2016 at 13:35, Philip Taylor wrote: > > > David Carlisle wrote: > > see the color package documentation > > I tried this again today, David, and came up with a new problem which I do > not understand. Are you able to explain why the insertion of l.~12 : possib

Re: [XeTeX] [tex-live] Seemingly inexplicable shift in page origin between TL 2014 and TL 2016

2016-07-14 Thread David Carlisle
On 12 July 2016 at 16:17, Philip Taylor wrote: > \advance \voffset by 1 true in % REQUIRED ONLY FOR TL 2016 If it's really a difference in texlive check that you specified the same default driver page size (presumably A4) in both installations, not A4 in one and letter in the other or it ma

Re: [XeTeX] [tex-live] Seemingly inexplicable shift in page origin between TL 2014 and TL 2016

2016-07-14 Thread David Carlisle
On 14 July 2016 at 23:40, Philip Taylor wrote: > It transpires that it is /not/ the PDF/X-1A \specials that are the root cause > of the problem. It is the use of > > \input eplain > \beginpackages > \usepackage {color} > \endpackages > > If I replace this with what I believe to be the functi

Re: [XeTeX] [tex-live] Seemingly inexplicable shift in page origin between TL 2014 and TL 2016

2016-07-14 Thread David Carlisle
On 15 July 2016 at 00:19, Ross Moore wrote: > Hi David, > > On Jul 15, 2016, at 8:49 AM, David Carlisle > wrote: > > > well that'll be the page size special change as mentioned earlier I assume. > > > Hmm. In which version of color.sty was this introduced?

Re: [XeTeX] [tex-live] Seemingly inexplicable shift in page origin between TL 2014 and TL 2016

2016-07-15 Thread David Carlisle
Phil, > And why does : > >\input miniltx > \input color > /not/ change my page size ? as stated earlier, if used under latex the specified page size is known and set in the latex allocated registers \paperheight/paperwidth, but if used under plain these are not set and that section of x

Re: [XeTeX] [tex-live] Seemingly inexplicable shift in page origin between TL 2014 and TL 2016

2016-07-15 Thread David Carlisle
On 15 July 2016 at 09:17, Philip Taylor wrote: > P.S. Option "nosetpagesize" does not seem to appear in the PDF output of > "TeXdoc color", for the version of 2016/05/22. well no, it wouldnt. 2016-06-02 David Carlisle * graphics.dtx, color.dtx, drivers

Re: [XeTeX] [tex-live] Seemingly inexplicable shift in page origin between TL 2014 and TL 2016

2016-07-15 Thread David Carlisle
but if you have an up to date system it is in the documented code (texdoc color.pdf) I should probably update grfguide at some point. David On 15 July 2016 at 09:24, David Carlisle wrote: > On 15 July 2016 at 09:17, Philip Taylor wrote: >> P.S. Option "nosetpagesize" does

Re: [XeTeX] How to reduce terminal output from xelatex?

2016-08-01 Thread David Carlisle
> xelatex "\def\istwocol{1} \input{./tmpmyfile.tex} -max-print-line=2048 > -c-style-errors -interaction=batchmode" You are applying the options too late so they are ignored. xelatex -max-print-line=2048 -c-style-errors -interaction=batchmode "\def\istwocol{1} \input{./tmpmyfile.tex}" Davi

Re: [XeTeX] Devanagari, xelatex, and \footnote

2016-08-15 Thread David Carlisle
If you base it on catcode changes it will never work in the argument of another command, not just footnotes. There is no need to switch catcodes. leave ~ as active always and when you want it locally to be a normal ~ do \edef~{\string~} so the active ~ just expands to a non-active one. David

[XeTeX] atopwithdelims

2016-10-28 Thread David Carlisle
I've been looking to see if I can make \atopwithdelims and related commands a little more consistent between the tex engines (specifically in relation to the amsmath \genfrac usage) Short version: would it be possible to make \atopwithdelims scale \Udelimiter specified delimiters to a size determi

Re: [XeTeX] Random number primitives

2016-11-13 Thread David Carlisle
On 13 November 2016 at 13:58, Apostolos Syropoulos wrote: > > > Thank you very much for your prompt response. I would say that > this feature makes the typesetting engine more independent and > this is definitely a good thing. Also, I think it should be > implemented using the drand48 function as

Re: [XeTeX] Random number primitives

2016-11-13 Thread David Carlisle
On 13 November 2016 at 15:46, Apostolos Syropoulos wrote: > Let me say that I find this point of view far too conservative. OK METAFONT > lives in the previous century but luatex and xetex are products of this > century so they must utilize what is better. Also, the point of introducing > XeTeX w

Re: [XeTeX] Random number primitives

2016-11-13 Thread David Carlisle
On 13 November 2016 at 16:47, Apostolos Syropoulos wrote: >> >> That's true except that as pdftex and luatex have this already and have had >> for years, in this particular instance it's playing catchup that is >> being suggested. >> Not promoting novel functionality. >> > > So just because the de

Re: [XeTeX] Random number primitives

2016-11-14 Thread David Carlisle
On 13 November 2016 at 16:50, Apostolos Syropoulos wrote: > > OK please let me know how the pdftex thing is implemented and I will do the > thing with drand48. Then people can check the implementation, etc. > > A.S. > People using a fixed seed to get reproducible results would not be well served

Re: [XeTeX] Random number primitives

2016-11-14 Thread David Carlisle
On 14 November 2016 at 09:22, Apostolos Syropoulos wrote: >> >> Changing the source isn't the issue, are you offering also to help >> with user support to manage the change >> and explain to people why it's not possible to re-create documents >> that they created before they updated >> their tex s

Re: [XeTeX] XeTeX bugs in bidirectional typesetting

2016-11-19 Thread David Carlisle
ems were > fixed. The only issue was that the original TeX-XeT model adds \beginL > ... \endL and that would cause some problem in math typesetting > (sorry, I can not remember what exactly it was about but I remember it > was reported by David Carlisle). For this problem, one can look at

  1   2   >