ne 16. 9. 2018 v 21:15 odesílatel Philip Taylor <p.tay...@rhul.ac.uk> napsal: > > > > Apostolos Syropoulos wrote: > > > > And what is wrong in using the color or xcolor (or event the xespotcolor) > > packages? > > The colour (etc) packages are intended to offer colour support for engines > such as TeX and PdfTeX that do not offer intrinsic colour support at the > primitive level. XeTeX /does /offer intrinsic colour support at the (\font) > primitive level, but that support is currently limited to the RGB colour > model. The colour (etc) packages can, of course, be used with XeTeX, and for > some operations their functionality may well be beneficial or even necessary > (if one does not want to use \pdfliteral or similar mechanisms), but they do > not extend the functionality of the XeTeX \font primitive and are therefore > not of direct benefit in the context of the original proposal. Furthermore, > if they are to be used in conjunction with XeTeX rather than with XeLaTeX, > they require additional packages such as "miniltx" or "eplain" to be loaded, > thus adding considerable overheads (while at the same time reducing > robustness, since such packages can and do evolve over time) if one simply > wishes to > have one or more fonts rendered in a particular (non-black) colour, > functionality which XeTeX natively supports. > /-- // > //<Signature> > Philip Taylor/ > It is not IMHO neded to use large packages, you can change colours directly by an appropriate \special. However, this may cause issues with a colour stack. Suppose that you have an important paragraph that should be printed in blue. Within this paragraph you will refer to a footnote that will have to be printed in red. The important paragraph is long and will continue to the next page. The footnote is long as well and will continue on the next page. Will the colours survive?
And in addition to the texts, we need rules so we should be able to set colours of \vrule and \hrule as easily as a colour of a font. > Zdeněk Wagner http://ttsm.icpf.cas.cz/team/wagner.shtml http://icebearsoft.euweb.cz > -------------------------------------------------- > Subscriptions, Archive, and List information, etc.: > http://tug.org/mailman/listinfo/xetex -------------------------------------------------- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex