Re: [XeTeX] Colour specials for XeTeX

2020-08-07 Thread Joseph Wright
On 07/08/2020 16:43, morris roger wrote: There are much simpler ways of adding colour; see https://ctan.org/pkg/do-it-yourself-tex where I include examples using opmac Roger H-F, Ottawa That's still wrappers around the same specials. Joseph

Re: [XeTeX] Colour specials for XeTeX

2020-08-07 Thread Philip Taylor
morris roger wrote: There are much simpler ways of adding colour; see https://ctan.org/pkg/do-it-yourself-tex where I include examples using opmac Roger H-F, Ottawa Fell at the sec

Re: [XeTeX] Colour specials for XeTeX

2020-08-07 Thread morris roger
There are much simpler ways of adding colour; see https://ctan.org/pkg/do-it-yourself-tex where I include examples using opmac Roger H-F, Ottawa Le sam. 6 juin 2020, à 07 h 41, Philip Taylor < p.tay...@hellenic-institute.uk> a écrit : > In his 2005 /XeTeX notes/ < > http://mirror.las.iastate.edu

Re: [XeTeX] Colour specials for XeTeX

2020-06-08 Thread Ulrike Fischer
Am Mon, 8 Jun 2020 11:28:56 +0200 schrieb Zdenek Wagner: > PostScript can directly set both the colour and > the colour model by setgray, setrgbcolor, setcmykcolor or first change > the model and then set the colour by setcolor the number of parameters > of which depend on the current colour mode

Re: [XeTeX] Colour specials for XeTeX

2020-06-08 Thread Philip Taylor
On 08/06/2020 10:28, Zdeněk Wagner wrote: The request of supporting dvips specials in xdvipdfmx is not very fair. PDF is modelled after PostScript but not the same. PostScript is a linear language, PDF lacks programming structures but makes use of streams, even indirect streams and indirect

Re: [XeTeX] Colour specials for XeTeX

2020-06-08 Thread Zdenek Wagner
po 8. 6. 2020 v 10:48 odesílatel Philip Taylor napsal: > > > > Hallo again Benct — > > > Dijkstra was a great theoretician, and in principle it is of course > > right that the spec/documentation should dictate the behavior, but > > as we all know there is usually, for practical reasons, more or le

Re: [XeTeX] Colour specials for XeTeX

2020-06-08 Thread Philip Taylor
Hallo again Benct — Dijkstra was a great theoretician, and in principle it is of course right that the spec/documentation should dictate the behavior, but as we all know there is usually, for practical reasons, more or less distance between theory and practice, and in practice a piece of s

Re: [XeTeX] Colour specials for XeTeX

2020-06-08 Thread BPJ
Den sön 7 juni 2020 21:34Philip Taylor skrev: > > > BPJ wrote: > > > Well as everything in a computer program they are defined in the source > code. > > That is the very antithesis of Dijkstra's position on the subject, and I > strongly agree with him ! The behaviour / syntax / semantics are desc

Re: [XeTeX] Colour specials for XeTeX

2020-06-07 Thread Philip Taylor
BPJ wrote: Well as everything in a computer program they are defined in the source code. That is the very antithesis of Dijkstra's position on the subject, and I strongly agree with him !  The behaviour / syntax / semantics are described outside of the program — the program is merely one o

Re: [XeTeX] Colour specials for XeTeX

2020-06-07 Thread BPJ
Den sön 7 juni 2020 11:02Philip Taylor skrev: > > > As it turns out, the \special {color push} that > he mentions no longer works, but \special {color push }) does, as > do the other two, yet I cannot find out where their behaviour > is defined other than in the source code. /Surely /they must

Re: [XeTeX] Colour specials for XeTeX

2020-06-07 Thread Philip Taylor
Ulrike Fischer wrote: (x)dvipdfmx is the successor of dvipdfm and half of the documentation is in the dvipdfm documentation so texdoc dvipdfm texdoc dvipdfmx gives the two part ... Well, thank you for that, Ulrike, but whilst "TeXdoc dvipdfm" sheds additional light on the matter, it /s

Re: [XeTeX] Colour specials for XeTeX

2020-06-06 Thread Ulrike Fischer
Am Sat, 6 Jun 2020 17:49:59 +0100 schrieb Philip Taylor: > what is the recommended source of information today on the set of > colour specials accepted by the "xdvipdfmx" driver ?  "TeXdoc > xdvipdfmx" returns what I had thought would be the definitive > reference, (x)dvipdfmx is the successor of

Re: [XeTeX] Colour specials for XeTeX

2020-06-06 Thread Philip Taylor
Apostolos Syropoulos wrote: When I was trying to include spot color support I had to read the source code... Apostolos I can only synpathise ...

Re: [XeTeX] Colour specials for XeTeX

2020-06-06 Thread Apostolos Syropoulos via XeTeX
 When I was trying to include spot colorsupport I had to read the source code...Apostolos Στάλθηκε από το Ταχυδρομείο Yahoo σε Android Στις Σάβ, 6 Ιουν, 2020 στις 21:28, ο χρήστηςPhilip Taylor έγραψε: David Carlisle wrote: > > Phil wrote 'However, it would seem that while the "xdv2pd

Re: [XeTeX] Colour specials for XeTeX

2020-06-06 Thread Philip Taylor
David Carlisle wrote: Phil wrote 'However, it would seem that while the "xdv2pdf" driver was happy with \special {color push}, the "xdvipdfmx" driver is not. ' I doubt that ever worked, the semantics of "push" on any stack mean you have to say what you are putting on the stack, unlike pop

Re: [XeTeX] Colour specials for XeTeX

2020-06-06 Thread David Carlisle
Phil wrote > However, it would seem that while the "xdv2pdf" driver was happy with \special {color push}, the "xdvipdfmx" driver is not. I doubt that ever worked, the semantics of "push" on any stack mean you have to say what you are putting on the stack, unlike pop where you just take off the top

Re: [XeTeX] Colour specials for XeTeX

2020-06-06 Thread Zdenek Wagner
so 6. 6. 2020 v 19:01 odesílatel Philip Taylor napsal: > > > > Zdenek Wagner wrote: > > The short answer for TeX Live users: > > texdoc dvipdfmx > > But that is the very document at which I am looking, and I cannot find them > defined there. Could you possibly quote a short fragment or give a pa

Re: [XeTeX] Colour specials for XeTeX

2020-06-06 Thread Philip Taylor
Zdenek Wagner wrote: The short answer for TeX Live users: texdoc dvipdfmx But that is the very document at which I am looking, and I cannot find them defined there.  Could you possibly quote a short fragment or give a page ref ?

Re: [XeTeX] Colour specials for XeTeX

2020-06-06 Thread Zdenek Wagner
so 6. 6. 2020 v 18:50 odesílatel Philip Taylor napsal: > > > > Philip Taylor wrote : > ... > > However, it would seem that while the "xdv2pdf" driver was happy with > \special {color push}, the "xdvipdfmx" driver is not. It appears to require > \special {color push } (e.g., \special {color push

Re: [XeTeX] Colour specials for XeTeX

2020-06-06 Thread Philip Taylor
Philip Taylor wrote : Well, perhaps I spoke too soon.  Having commented out the x:rulecolor specials and left in thecolor equivalents, I now see in the transcript : [snip] xdvipdfmx:warning: Interpreting special command push (color) failed. xdvipdfmx:warning: >> at page="1" position="(28

Re: [XeTeX] Colour specials for XeTeX

2020-06-06 Thread Philip Taylor
Philip Taylor wrote: Excellent, many thanks to Akira-san and David.  All now perfect. Well, perhaps I spoke too soon.  Havinf commented out the x:rulecolor specials and left in thecolor equivalents, I now see in the transcript : This is XeTeX, Version 3.14159265-2.6-0.92 (TeX Live 20

Re: [XeTeX] Colour specials for XeTeX

2020-06-06 Thread Philip Taylor
Excellent, many thanks to Akira-san and David.  All now perfect.  I will update my TeXworks configuration accordingly. ** Phil. Akira Kakuto wrote: xetex -output-driver="xdvipdfmx -E" file.tex or  xetex -output-driver="xdvipdfmx -v -E" file.tex  (verbose) Default is "xdvipdfmx -q -E"

Re: [XeTeX] Colour specials for XeTeX

2020-06-06 Thread Akira Kakuto
Dear Philip, Is there any way (perhaps through a command-line option to XeTeX) that one could obtain those most usedful diagnostics using XeTeX in "standard" mode xetex -output-driver="xdvipdfmx -E" file.tex or xetex -output-driver="xdvipdfmx -v -E" file.tex (verbose) Default is "xdvipdfm

Re: [XeTeX] Colour specials for XeTeX

2020-06-06 Thread David Carlisle
On Sat, 6 Jun 2020 at 13:40, Philip Taylor wrote: > Thank you all for your comments and explanations. One question to > Akira-san, though : > > > If you use -no-pdf option and apply xdvipdfmx to a created > > .xdv file, you can see messages like > > > > xdvipdfmx:warning: xetex-style \special{x:

Re: [XeTeX] Colour specials for XeTeX

2020-06-06 Thread Philip Taylor
Thank you all for your comments and explanations.  One question to Akira-san, though : If you use -no-pdf option and apply xdvipdfmx to a created .xdv file, you can see messages like xdvipdfmx:warning: xetex-style \special{x:rulecolorpush} is not supported by this driver; Is there any way (p

Re: [XeTeX] Colour specials for XeTeX

2020-06-06 Thread Akira Kakuto
Dear Philip, xdv2pdf was a driver for MacOS by Jonathan. If you use -no-pdf option and apply xdvipdfmx to a created .xdv file, you can see messages like xdvipdfmx:warning: xetex-style \special{x:rulecolorpush} is not supported by this driver; I don't know details, perhaps \special{x:something}

Re: [XeTeX] Colour specials for XeTeX

2020-06-06 Thread Zdenek Wagner
Hi all, AFAIK xdv2pdf was available for Mac OS X only, it was not available for other platforms while dvipdfmx is another driver which is cross-platform. so 6. 6. 2020 v 13:42 odesílatel Philip Taylor napsal: > > In his 2005 /XeTeX notes/ >

[XeTeX] Colour specials for XeTeX

2020-06-06 Thread Philip Taylor
In his 2005 /XeTeX notes/ , Jonathan Kew writes : 4.1 \special commands 4.1.1 Color The xdv2pdf driver supports several \specials to allow color to be used in XeTeX documents. These are: \special {x:textcolor=color