texinfo-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[7294] XeTeX PDF color support


From: trueroad
Subject: [7294] XeTeX PDF color support
Date: Tue, 2 Aug 2016 13:44:26 +0000 (UTC)

Revision: 7294
          http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=7294
Author:   trueroad
Date:     2016-08-02 13:44:26 +0000 (Tue, 02 Aug 2016)
Log Message:
-----------
XeTeX PDF color support

Modified Paths:
--------------
    trunk/ChangeLog
    trunk/doc/texinfo.tex

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog     2016-08-01 19:01:33 UTC (rev 7293)
+++ trunk/ChangeLog     2016-08-02 13:44:26 UTC (rev 7294)
@@ -1,3 +1,9 @@
+2016-08-02  Masamichi Hosoda  <address@hidden>
+
+       * doc/texinfo.tex (\urlcolor, \linkcolor, \endlink):
+       Fix XeTeX PDF color support
+       by copying from the definition for pdfTeX.
+
 2016-08-01  Gavin Smith  <address@hidden>
 
        * tp/Texinfo/Parser.pm (_end_line) <"misc text" commands>:

Modified: trunk/doc/texinfo.tex
===================================================================
--- trunk/doc/texinfo.tex       2016-08-01 19:01:33 UTC (rev 7293)
+++ trunk/doc/texinfo.tex       2016-08-02 13:44:26 UTC (rev 7294)
@@ -3,7 +3,7 @@
 % Load plain if necessary, i.e., if running under initex.
 \expandafter\ifx\csname fmtname\endcsname\relax\input plain\fi
 %
-\def\texinfoversion{2016-08-01.14}
+\def\texinfoversion{2016-08-02.13}
 %
 % Copyright 1985, 1986, 1988, 1990, 1991, 1992, 1993, 1994, 1995,
 % 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
@@ -1623,6 +1623,11 @@
     \safewhatsit{\pdfdest name{\pdfdestname} xyz}%
   }}
   %
+  % by default, use black for everything.
+  \def\urlcolor{\rgbBlack}
+  \def\linkcolor{\rgbBlack}
+  \def\endlink{\setcolor{\maincolor}\pdfendlink}
+  %
   \def\dopdfoutline#1#2#3#4{%
     \iftxiuseunicodedestname
       \def\pdfoutlinedest{#3}% Pass through Unicode characters.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]