From golierdesoimeme at gmail.com Fri Aug 7 17:43:40 2020 From: golierdesoimeme at gmail.com (morris roger) Date: Fri, 7 Aug 2020 11:43:40 -0400 Subject: [XeTeX] Colour specials for XeTeX In-Reply-To: References: Message-ID: 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.Taylor at hellenic-institute.uk> a ?crit : > In his 2005 /XeTeX notes/ < > http://mirror.las.iastate.edu/tex-archive/systems/doc/xetex/XeTeX-notes.pdf>, > 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} > > \special {x:textcolorpush} > > \special {x:textcolorpop} > > \special {x:rulecolor=color} > > \special {x:rulecolorpush} > > \special {x:rulecolorpop} > > > > where color is an RGB color value expressed as 6 hexadecimal digits. > > However, using this with today's DVIPDFMX driver, I obtain only a black > rule. I can obtained the desired effect using : > > > \special {color push}% > > > > \special {color cmyk 0.17 0.18 0.79 0.0}% > > > > \vrule > > > > \special {color pop}% > > > > but would be interested to know if (and why) Jonathan's x:textcolor / > x:rulecolor specials are no longer supported. > > /Philip Taylor/ > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From P.Taylor at Hellenic-Institute.Uk Fri Aug 7 17:53:51 2020 From: P.Taylor at Hellenic-Institute.Uk (Philip Taylor) Date: Fri, 7 Aug 2020 16:53:51 +0100 Subject: [XeTeX] Colour specials for XeTeX In-Reply-To: References: Message-ID: An HTML attachment was scrubbed... URL: From joseph.wright at morningstar2.co.uk Fri Aug 7 18:40:37 2020 From: joseph.wright at morningstar2.co.uk (Joseph Wright) Date: Fri, 7 Aug 2020 17:40:37 +0100 Subject: [XeTeX] Colour specials for XeTeX In-Reply-To: References: Message-ID: 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 From tianyi.chen at alumni.ou.edu Wed Aug 26 17:29:16 2020 From: tianyi.chen at alumni.ou.edu (Tianyi Chen) Date: Wed, 26 Aug 2020 15:29:16 +0000 Subject: [XeTeX] How did XeTeX find fonts? Message-ID: <31CAC1CD-B27D-4713-AFA6-A13A948596C3@alumni.ou.edu> Hi, this is Tianyi. I need some help with fonts. My operating system is mac. I found something really surprising, and that is I activated fonts in Adobe Creative Cloud, and the fonts can be used with XeTeX. To be more specific, the font collection app is not aware of the existence of the activated fonts, and the fonts is actually downloaded and hidden in a folder HD/Users/USER'SNAME/Library/Application Support/Adobe/CoreSync/plugins/livetype/.r Moreover, the filenames of fonts are actually font id, and there is another XML file containing info(like font name) corresponding to each font id. The activated fonts are not only usable with XeTeX, but also with other applications such as Word. I am confused that how those applications even know the existence of the activated fonts. If they are listed in the font collection app, then, I can understand, but they are in a hidden folder. How did XeTeX fond those fonts? For now, I can only imagine that there is an environment variable containing the path of the hidden folder.