diff options
Diffstat (limited to 'Build')
24 files changed, 5 insertions, 3180 deletions
diff --git a/Build/source/texk/xdvipdfmx/BUGS b/Build/source/texk/xdvipdfmx/BUGS deleted file mode 100644 index 65f14244105..00000000000 --- a/Build/source/texk/xdvipdfmx/BUGS +++ /dev/null @@ -1,29 +0,0 @@ -$Header: /home/cvsroot/dvipdfmx/BUGS,v 1.9 2004/06/15 17:26:29 hirata Exp $ - -BUGS: The bug list for dvipdfmx -=============================== - -Last modified: June 16, 2004 - - - o CID-Keyed Font (CIDFontType 0) - - CID-Keyed font support is limited to CFF/OpenType format font. - Only Type 2 charstring is supported. The 'random' operator is not - implemented. - - o TrueType (CIDFontType 2) - - GSUB support: - - Ignores Script and LangSys table. Only `vert' feature is supported. - `smple' and `trad' support for Chinese, `jp78', `jp83', and `jp90' - variant support for Japanese may be needed. - - o Type 1 - - seac, ghost hint... - - o Dvipdfmx don't handle include images correctly if images are - included multiple times but with different bounding box. - diff --git a/Build/source/texk/xdvipdfmx/ChangeLog.TL b/Build/source/texk/xdvipdfmx/ChangeLog.TL index e8fe85bda79..0e44ddb2a38 100644 --- a/Build/source/texk/xdvipdfmx/ChangeLog.TL +++ b/Build/source/texk/xdvipdfmx/ChangeLog.TL @@ -4,6 +4,9 @@ ChangeLog.TL: TeX Live (TL) changes for xdvipdfmx 2012-08-26 Khaled Hosny <khaledhosny@eglug.org> * src/agl.c: Reduce differences with dvipdfmx. + * BUGS, NEWS, TODO, contrib/*, doc/*, index.html, style_base.css, + style_dflt.css, style_ie.css, style_plain.css: Remove files removed + from dvipdfmx. 2012-08-23 Khaled Hosny <khaledhosny@eglug.org> diff --git a/Build/source/texk/xdvipdfmx/Makefile.am b/Build/source/texk/xdvipdfmx/Makefile.am index b2f4e114042..1f467a60d9b 100644 --- a/Build/source/texk/xdvipdfmx/Makefile.am +++ b/Build/source/texk/xdvipdfmx/Makefile.am @@ -16,16 +16,8 @@ config.force: $(ZLIB_DEPEND) $(LIBPNG_DEPEND) $(LIBPNG_FREETYPE2) $(KPATHSEA_DEP DISTCLEANFILES = config.force EXTRA_DIST = \ - BUGS \ ChangeLog.TL \ - contrib \ - data \ - doc \ - index.html \ - style_base.css \ - style_dflt.css \ - style_ie.css \ - style_plain.css + data # in case of an SVN repository dist-hook: diff --git a/Build/source/texk/xdvipdfmx/Makefile.in b/Build/source/texk/xdvipdfmx/Makefile.in index 223c3111775..0446dd69337 100644 --- a/Build/source/texk/xdvipdfmx/Makefile.in +++ b/Build/source/texk/xdvipdfmx/Makefile.in @@ -267,14 +267,7 @@ DISTCLEANFILES = config.force EXTRA_DIST = \ BUGS \ ChangeLog.TL \ - contrib \ - data \ - doc \ - index.html \ - style_base.css \ - style_dflt.css \ - style_ie.css \ - style_plain.css + data all: config.h $(MAKE) $(AM_MAKEFLAGS) all-recursive diff --git a/Build/source/texk/xdvipdfmx/NEWS b/Build/source/texk/xdvipdfmx/NEWS deleted file mode 100644 index e69de29bb2d..00000000000 --- a/Build/source/texk/xdvipdfmx/NEWS +++ /dev/null diff --git a/Build/source/texk/xdvipdfmx/TODO b/Build/source/texk/xdvipdfmx/TODO deleted file mode 100644 index ace8bd25088..00000000000 --- a/Build/source/texk/xdvipdfmx/TODO +++ /dev/null @@ -1,56 +0,0 @@ -$Header: /home/cvsroot/dvipdfmx/TODO,v 1.9 2004/08/22 10:26:24 hirata Exp $ - -TODO: The todo list for dvipdfmx -================================ - -Last modified: August 17, 2004 - - -o XObject and Metadata. - -o XML Metadata. - -o pdf: specials to manipulate trees for tagged PDF(?) - - -Jin-Hwan Cho ------------- - -o Stylistic variants for Type1 and TrueType for non CIDFonts - -o No-embedding option for Type1 and TrueType for non CIDFonts - - -Shunsaku Hirata ---------------- - -o Font - - * Rewrite. - - * GSUB. - - * BASE: - BASE support is required for vertical wrting to obtain x-origins of the - /W2 glyph metrics. - - * Better compression with JBIG2, CCITT, or Flate with predictor for PK(?) - - * Complete Unicode support for Type1 font. - -o CMap, Encoding and Unicode - - * Many... - - * Reencode text (not only fonts). Remove remap option. - -o Graphics - - * Make PDF output independent from DVI input. - - * Downsampling - - * JPEG2000 - - * Enhance PS code support - diff --git a/Build/source/texk/xdvipdfmx/contrib/context/spec-dpx.tex b/Build/source/texk/xdvipdfmx/contrib/context/spec-dpx.tex deleted file mode 100644 index 0feffbf0b90..00000000000 --- a/Build/source/texk/xdvipdfmx/contrib/context/spec-dpx.tex +++ /dev/null @@ -1,841 +0,0 @@ -%D \module -%D [ file=spec-dpx, -%D version=2005.08.12, -%D title=\CONTEXT\ Special Macros, -%D subtitle=DVIPDFMx support, -%D author=Jin-Hwan Cho, -%D date=\currentdate, -%D copyright={Jin-Hwan Cho \& Hans Hagen}] -%C -%C DVIPDFMx is an eXtended version of the DVIPDFM, a DVI to PDF -%C translator, still under construction by Jin-Hwan Cho and -%C Shunsaku Hirata. -%C -%C It supports multi-byte character encodings and large character -%C sets for East Asian languages by CID-keyed font technology, -%C and many features including PDF encryption, PDF bookmarks and -%C annotations with Chinese, Japanese, Korean characters, etc. -%C -%C DVIPDFMx (and information) can be downloaded from: -%C -%C http://project.ktug.or.kr/dvipdfmx/ - -\unprotect - -%D This driver is built on top of the general \PDF\ macros, -%D as defined in \type{spec-fdf}, so we inherit that one. - -\startspecials[dpx][reset,fdf] - -%D 1. Modified codes from \type{spec-dpm} - -%D \macros -%D {jobsuffix} -%D -%D Because no intermediate output format is used, we set the -%D jobsuffix to \PDF. - -\setjobsuffix{pdf} - -%D Map files (experimental) - -\definespecial\doloadmapfile#1#2% - {\flushatshipout{\special{pdf:mapfile +#2}}} - -%D DVIPDFMx supports the special command \type{pdf: literal ...} -%D since the version \type{dvipdfmx-20021028}. -%D -%D 1. \type{pdf: literal #1} puts the given PDF commands \#1 -%D after changing the text matrix with \type{"1 0 0 1 x y cm"} -%D to set the current DVI position $(x,y)$ to the origin. -%D -%D 2. \type{pdf: literal reverse #1} puts the given PDF commands \#1 -%D after changing the text matrix with \type{"1 0 0 1 -x -y cm"}. -%D -%D 3. \type{pdf: literal direct #1} puts directly the given PDF -%D commands \#1 without changing the text matrix. -%D -%D Since the version \type{dvipdfmx-20050812}, the role of the special -%D command \type{pdf:literal} is changed so that -%D -%D 1. \type{pdf:literal #1} puts the given PDF commands \#1 -%D after changing the text matrix with \type{"1 0 0 1 x y cm"} -%D to set the current DVI position $(x,y)$ to the origin. After that -%D it restores the previous setting by changing the text matrix with -%D \type{"1 0 0 1 -x -y cm"}. -%D -%D 2. \type{pdf:literal direct #1} puts directly the given PDF commands -%D #1 without changing the text matrix. -%D -%D Literal \PDF\ inclusion is implemented as: - -\def\PDFcode #1{\special{pdf:literal #1}} -\def\PDFcontentcode#1{\special{pdf:content #1}} -\def\PDFdirectcode #1{\special{pdf:literal direct #1}} - -%D \type{\dosetuppaper} in \type{spec-dpm} did not work properly -%D because DVIPDFM did not permit changing the page size. -%D -%D However, DVIPDFMx permits different page size in each page -%D since the version \type{dvipdfmx-20021028}. -%D -%D \macros -%D {dosetuppaper} -%D -%D A simple one. - -\definespecial\dosetuppaper#1#2#3% - {\bgroup - \scratchdimen#2\edef\width {\the\scratchdimen\space}% - \scratchdimen#3\edef\height{\the\scratchdimen\space}% - \special{pdf:pagesize width \width height \height}% - \egroup} - -%D \macros -%D {doinsertfile} -%D -%D Only \METAPOST, \BMP\ \JPG\ \PNG\ and \PDF\ inclusion are supported. - -\definespecial\doinsertfile#1#2#3#4#5#6#7#8#9% - {\dodoinsertfile{dpx}{#1}{#2}{#3}{#4}{#5}{#6}{#7}{#8}{#9}} - -%D Even though DVIPDFM supports \METAPOST directly, the funtionality -%D is not good. It conflicts much with \CONTEXT. -%D -%D So, \METAPOST will be treated as the same way as PDFTeX using -%D MPtoPDF in DVIPDFMx since the version \type{dvipdfmx-20021028}. - -%\definefileinsertion{dpx}{mps}#1#2#3#4#5#6#7#8#9% -% {\hbox -% {%\convertMPcolors{#1}% plugged in supp-mpe -% \scratchdimen#3\points \PointsToReal{.01\scratchdimen}\xscale -% \scratchdimen#4\points \PointsToReal{.01\scratchdimen}\yscale -% \convertMPtoPDF{#1}\xscale\yscale -% \global\let\PDFimagereference\empty}} - -%D DVIPDFM (and DVIPDFMx too) supports the image files with -%D the extension, \PDF, \JPG, \PNG, \BMP, and \EPS. - -\def\handleepsimage#1#2#3#4#5#6#7#8#9% - {\PointsToWholeBigPoints{#7}\width - \PointsToWholeBigPoints{#8}\height - \special - {PSfile="#1"\space - llx=\EPSllx\space lly=\EPSlly\space - urx=\EPSurx\space ury=\EPSury\space - rwi=\width0\space rhi=\height0}} - -\definefileinsertion{dpx}{mps}{\handleepsimage} -\definefileinsertion{dpx}{eps}{\handleepsimage} % unstable - -\def\handlebmpimage#1#2#3#4#5#6#7#8#9% - {\bgroup - \scratchdimen#7\edef\width {\the\scratchdimen\space}% - \scratchdimen#8\edef\height{\the\scratchdimen\space}% - \special{pdf: image width \width height \height (#1)}% - \egroup} - -\definefileinsertion{dpx}{pdf}{\handlebmpimage} -\definefileinsertion{dpx}{jpg}{\handlebmpimage} -\definefileinsertion{dpx}{png}{\handlebmpimage} -\definefileinsertion{dpx}{bmp}{\handlebmpimage} - -\definefileinsertion{dpx}{mov}{\doPDFinsertmov} -\definefileinsertion{dpx}{avi}{\doPDFinsertmov} - -%D \macros -%D {doinsertsoundtrack} -%D -%D Sounds are supported too. - -\definespecial\doinsertsoundtrack{\doPDFinsertsoundtrack} - -%D \type{\doPDFovalbox} in \type{spec-fdf} was modifed because -%D the definition of \type{\PDFcode} was changed in this module. -%D -%D \macros -%D {doPDFovalbox} -%D -%D For drawing ovals we use quite raw \PDF\ code. The next -%D implementation does not differ that much from the one -%D implemented in the \POSTSCRIPT\ driver. - -\def\doPDFovalbox#1#2#3#4#5#6#7% todo: \scratchdimen/\scatchbox - {\bgroup - \dimen0=#4\divide\dimen0 2 - \doPDFovalcalc{0pt}{+\dimen0}\xmin - \doPDFovalcalc{#1}{-\dimen0}\xmax - \doPDFovalcalc{#2}{-\dimen0}\ymax - \doPDFovalcalc{-#3}{+\dimen0}\ymin - \advance\dimen0 by #5% - \doPDFovalcalc{0pt}{+\dimen0}\xxmin - \doPDFovalcalc{#1}{-\dimen0}\xxmax - \doPDFovalcalc{#2}{-\dimen0}\yymax - \doPDFovalcalc{-#3}{+\dimen0}\yymin - \doPDFovalcalc{#4}{\zeropoint}\stroke - \doPDFovalcalc{#5}{\zeropoint}\radius - \edef\dostroke{#6}% - \edef\dofill{#7}% - \setbox0\hbox - {\ifnum\dostroke\dofill>0 - \ifPDFstrokecolor\else\ifnum\dostroke=1 - \writestatus\m!colors{pdf stroke color will fail}\wait - \fi\fi - \special{pdf:content - \stroke\space w - \xxmin\space \ymin\space m - \xxmax\space \ymin\space l - \xmax \space \ymin\space \xmax\space \yymin\space y - \xmax \space \yymax\space l - \xmax \space \ymax\space \xxmax\space \ymax\space y - \xxmin\space \ymax\space l - \xmin \space \ymax\space \xmin\space \yymax\space y - \xmin \space \yymin\space l - \xmin \space \ymin\space \xxmin\space \ymin\space y - \ifnum\dostroke=1 S \fi - \ifnum\dofill=1 f \fi}% - \fi}% - \wd0=#1\ht0=#2\dp0=#3\box0 - \egroup} - -%D \macros -%D {doovalbox} - -\definespecial\doovalbox{\doPDFovalbox} - -%D \macros -%D {dostartgraymode,dostopgraymode, -%D dostartrgbcolormode,dostartcmykcolormode,dostartgraycolormode, -%D dostopcolormode, -%D dostartrotation,dostoprotation, -%D dostartscaling,dostopscaling, -%D dostartmirroring,dostopmirroring, -%D dostartnegative,dostopnegative} -%D -%D Unfortunately the direct \PDF\ inclusion is not suited -%D for the next macros, which means that we cannot use the -%D \type {\doPDF..} alternatives. Since \CONTEXT\ maintains -%D its own colorstack, we use the \DVIPS\ alternatives. - -\definespecial\dostartgraymode {\doPDFstartgraymode} -\definespecial\dostopgraymode {\doPDFstopgraymode} -\definespecial\dostartrgbcolormode {\doPDFstartrgbcolormode} -\definespecial\dostartcmykcolormode{\doPDFstartcmykcolormode} -\definespecial\dostartgraycolormode{\doPDFstartgraycolormode} -\definespecial\dostartspotcolormode{\doPDFstartspotcolormode} -\definespecial\dostopcolormode {\doPDFstopcolormode} - -\definespecial\doregistercmykspotcolor{\doPDFregistercmykspotcolor} -\definespecial\doregisterrgbspotcolor {\doPDFregisterrgbspotcolor} -\definespecial\doregistergrayspotcolor{\doPDFregistergrayspotcolor} - -\definespecial\doregistercmykindexcolor{\doPDFregistercmykindexcolor} -\definespecial\doregisterrgbindexcolor {\doPDFregisterrgbindexcolor} -\definespecial\doregistergrayindexcolor{\doPDFregistergrayindexcolor} - -\definespecial\doregisterfigurecolor{\doPDFregisterfigurecolor} - -\definespecial\dostartnonecolormode{\doPDFstartnonecolormode} -\definespecial\doregisternonecolor {\doPDFregisternonecolor} - -\definespecial\dostartrotation #1{\special{pdf:btrans rotate #1}} -\definespecial\dostoprotation {\special{pdf:etrans}} -\definespecial\dostartscaling#1#2{\special{pdf:btrans xscale #1 yscale #2}} -\definespecial\dostopscaling {\special{pdf:etrans}} -\definespecial\dostartmirroring {\special{pdf:btrans xscale -1}} -\definespecial\dostopmirroring {\special{pdf:etrans}} - -%D Negation is not (yet) supported: -\definespecial\dostartnegative {\doPDFstartnegative} -\definespecial\dostopnegative {\doPDFstopnegative} -\definespecial\dostartoverprint {\doPDFstartoverprint} -\definespecial\dostopoverprint {\doPDFstopoverprint} - -\definespecial\dostarttransparency{\doPDFstarttransparency} -\definespecial\dostoptransparency {\doPDFstoptransparency} - -\PDFtransparencysupportedtrue - -\def\@@PDT{@PDT@} - -\ifx\PDFcurrenttransparency\undefined - \newcount\PDFcurrenttransparency \PDFcurrenttransparency=0 % -1 -\fi - -\def\assignPDFtransparency#1#2% - {\def\PDFtransparencyidentifier{/Tr#1}% - %\def\PDFtransparencyreference{\PDFobjref{#2}}} - \def\PDFtransparencyreference{@TR:#2}} - -\def\presetPDFtransparency#1#2% - {\initializePDFtransparency - \executeifdefined{\@@PDT#1:#2}{\dopresetPDFtransparency{#1}{#2}}} - -\def\dopresetPDFtransparency#1#2% - {\global\advance\PDFcurrenttransparency \plusone - %\immediate\pdfobj{\PDFtransparancydictionary{#1}{#2}{}}% -% \special{pdf: object @TR:\the\PDFcurrenttransparency\space \PDFtransparancydictionary{#1}{#2}{}}% - \doPDFreserveDPXobject{TR:\the\PDFcurrenttransparency}{<< >>}% - \special{pdf:\doPDFcheckedDPXobject{TR:\the\PDFcurrenttransparency}\PDFtransparancydictionary{#1}{#2}{}}% - \edef\PDFtransparencyidentifier{/Tr\the\PDFcurrenttransparency}% - %\edef\PDFtransparencyreference {\PDFobjref\pdflastobj}% - \edef\PDFtransparencyreference {@TR:\the\PDFcurrenttransparency}% - \setxvalue{\@@PDT#1:#2}% - {\noexpand\assignPDFtransparency{\the\PDFcurrenttransparency}{\the\PDFcurrenttransparency}}% - \appendtoPDFdocumentextgstates - {\PDFtransparencyidentifier\space - \PDFtransparencyreference\space}} - -\def\initializePDFtransparency - %{\immediate\pdfobj{\PDFtransparancydictionary{1}{1}{/AIS false}}% -% {\special{pdf: object @TR:0 \PDFtransparancydictionary{1}{1}{/AIS false}}% - {\doPDFreserveDPXobject{TR:0}{<< >>}% - \special{pdf:\doPDFcheckedDPXobject{TR:0}\PDFtransparancydictionary{1}{1}{/AIS false}}% - \xdef\PDFtransparencyresetidentifier{/Tr0}% - %\xdef\PDFtransparencyresetreference{\PDFobjref\pdflastobj}% - \xdef\PDFtransparencyresetreference{@TR:0}% - \setxvalue{\@@PDT0:0}% - %{\noexpand\assignPDFtransparency{0}{\the\pdflastobj}}% - {\noexpand\assignPDFtransparency{0}{0}}% - \appendtoPDFdocumentextgstates - {\PDFtransparencyresetidentifier\space - \PDFtransparencyresetreference\space}% - \global\let\initializePDFtransparency\relax} - -%D \macros -%D {dosetupinteraction, -%D dosetupopenaction,dosetupcloseaction} - -\definespecial\dosetupinteraction - {\showmessage\m!interactions{21}{DVIPDFMx}} - -\definespecial\dosetupopenaction {\doPDFsetupopenaction} -\definespecial\dosetupcloseaction{\doPDFsetupcloseaction} - -%D \macros -%D {doresetgotowhereever, -%D dostartthisisrealpage,dostartthisislocation, -%D dostartgotorealpage,dostartgotolocation,dostartgotoJS} - -\definespecial\doresetgotowhereever {\doPDFresetgotowhereever} -\definespecial\dostartthisislocation{\doPDFstartthisislocation} - -\definespecial\dostartgotolocation{\doPDFstartgotolocation} -\definespecial\dostartgotorealpage{\doPDFstartgotorealpage} -\definespecial\dostartgotoJS {\doPDFstartgotoJS} - -%D \macros -%D {doflushJSpreamble} - -\definespecial\doflushJSpreamble#1% - {\bgroup - \let\compositeJScode\empty - \def\docommando##1% - {\edef\sanitizedJScode{\getJSpreamble{##1}}% - \@EA\doPSsanitizeJScode\sanitizedJScode\to\sanitizedJScode - \special{pdf:object @JS:##1 <</S /JavaScript /JS (\sanitizedJScode)>>}% - \edef\compositeJScode{\compositeJScode\space (##1) @JS:##1}}% - \processcommalist[#1]\docommando - \special{pdf:names /JavaScript [\compositeJScode]}% - \egroup} - -%D \macros -%D {dostarthide,dostophide} - -\definespecial\dostarthide{} -\definespecial\dostophide {} - -%D \macros -%D {dosetupscreen} - -\definespecial\dosetupscreen {\doPDFsetupscreen \printpaperheight} - -\definespecial\dosetupartbox {\doPDFsetupartbox \printpaperheight} -\definespecial\dosetupcropbox {\doPDFsetupcropbox \printpaperheight} -\definespecial\dosetupbleedbox{\doPDFsetupbleedbox\printpaperheight} -\definespecial\dosetuptrimbox {\doPDFsetuptrimbox \printpaperheight} - -%D \macros -%D {dostartexecutecommand} - -\definespecial\dostartexecutecommand{\doPDFstartexecutecommand} - -%D \macros -%D {dosetupidentity} - -\definespecial\dosetupidentity{\doPDFsetupidentity} - -%D \macros -%D {dostartrunprogam} - -\definespecial\dostartrunprogram{\doPDFstartrunprogram} - -%D \macros -%D {dostartgotoprofile, dostopgotoprofile, -%D dobeginofprofile, doendofprofile} - -\definespecial\dostartgotoprofile{\doPDFstartgotoprofile} - -\definespecial\dobeginofprofile#1#2#3#4% - {\bgroup - \setPDFdestination{#1}% - \scratchdimen#2\edef\width {\the\scratchdimen\space}% - \scratchdimen#3\edef\height{\the\scratchdimen\space}% - \doifsomething{\PDFdestination} - {\special - {pdf:thread @ART::\PDFdestination\space - width \width height \height - <</Title (\PDFdestination)>>}}% - \egroup} - -\definespecial\doendofprofile - {} - -%D \macros -%D {doinsertbookmark} - -\definespecial\doinsertbookmark{\doPDFinsertbookmark} - -%D \macros -%D {dostartobject,dostopobject,doinsertobject} -%D -%D Modified to support the color shading feature since version -%D \type{dvipdfmx-20021128}. - -% wd nextbox > #3 ivm offset - -\definespecial\dostartobject#1#2#3#4#5% - {\bgroup - \dowithnextbox - {\dosetobjectreference{#1}{#2}{@#1::#2}% - \scratchdimen#3\edef\width {\the\scratchdimen\space}% - \scratchdimen#4\edef\height{\the\scratchdimen\space}% - \setbox\nextbox\vbox - {\special{pdf:bxobj @#1::#2 width \width height \height}% - % we need to compensate for the box offset (ugly, sigh) - \scratchdimen\nextboxht - \advance\scratchdimen\nextboxdp - \advance\scratchdimen-#4\relax - \nextboxdp\zeropoint - \nextboxht\zeropoint - \hbox to #3{\hss\lower.5\scratchdimen\box\nextbox\hss}% - \ifx\currentPDFresources\empty - \else - \special{pdf:put @resources - <<\currentPDFresources\the\pdfpageresources>>}% - \global\let\currentPDFresources\empty - \fi - \special{pdf:exobj}}% - \smashbox\nextbox - \flushatshipout{\box\nextbox}% - \egroup}% - \hbox\bgroup} - -\definespecial\dostopobject - {\egroup} - -\definespecial\doinsertobject#1#2% - {\hbox - {\doPDFgetobjectreference{#1}{#2}\PDFobjectreference - \ifx\PDFobjectreference\empty \else - \special{pdf:uxobj @#1::#2}% - \fi}} - -%D \macros -%D {dosetpagetransition} - -\definespecial\dosetpagetransition{\doPDFsetpagetransition} - -%D \macros -%D {doinsertcomment, doflushcomments} - -\definespecial\doinsertcomment{\doPDFinsertcomment} -\definespecial\doflushcomments{\doPDFflushcomments} - -%D \macros -%D {dopresetlinefield,dopresettextfield, -%D dopresetchoicefield,dopresetpopupfield,dopresetcombofield, -%D dopresetpushfield,dopresetcheckfield, -%D dopresetradiofield,dopresetradiorecord} - -\definespecial\dopresetlinefield {\doFDFpresetlinefield} -\definespecial\dopresettextfield {\doFDFpresettextfield} -\definespecial\dopresetchoicefield{\doFDFpresetchoicefield} -\definespecial\dopresetpopupfield {\doFDFpresetpopupfield} -\definespecial\dopresetcombofield {\doFDFpresetcombofield} -\definespecial\dopresetpushfield {\doFDFpresetpushfield} -\definespecial\dopresetcheckfield {\doFDFpresetcheckfield} -\definespecial\dopresetradiofield {\doFDFpresetradiofield} -\definespecial\dopresetradiorecord{\doFDFpresetradiorecord} - -%D \macros -%D {dodefinefieldset,dogetfieldset,doiffieldset} - -\definespecial\dodefinefieldset{\doFDFdefinefieldset} -\definespecial\dogetfieldset {\doFDFgetfieldset} -\definespecial\doiffieldset {\doFDFiffieldset} - -%D \macros -%D {doregistercalculationset} - -\definespecial\doregistercalculationset{\doFDFregistercalculationset} - -%D \type{\doPDFdestination} in \type{spec-dpm} had a bug. -%D -%D \macros -%D {doPDFdestination} - -\def\doPDFdestination name #1% - {\special{pdf:names /Dests (#1) [@thispage \PDFpageviewwrd]}} - -%D \macros -%D {doPDFaction,doPDFannotation,ifsharePDFactions} -%D -%D Sharing is not yet supported. - -\newif\ifsharePDFactions \sharePDFactionsfalse - -\def\dodoPDFaction#1#2#3#4% - {\ifcollectreferenceactions - \xdef\lastPDFaction{#4}% - \else - \bgroup - % this is yet untested - %\ifsharePDFactions - % \ifcase\similarreference\relax - % \xdef\lastPDFaction{<<#4>>}% - % \or - % \global\advance\nofPDFsimilar by 1 - % \special{pdf: object @PDF::sim:\the\nofPDFsimilar\space<<#4>>}% - % \xdef\lastPDFaction{@PDF::sim:\the\nofPDFsimilar}% - % \else - % % leave \lastPDFaction untouched - % \fi - %\else - \xdef\lastPDFaction{<<#4>>}% - %\fi - \scratchdimen#2\edef\width {\the\scratchdimen\space}% - \scratchdimen#3\edef\height{\the\scratchdimen\space}% - \special{pdf:ann #1 width \width height \height - <</Subtype /Link /Border [0 0 0] - \ifhighlighthyperlinks \else /H /N \fi - /A \lastPDFaction\space>>}% - \egroup - \fi} - -\def\doPDFaction width #1 height #2 action #3% - {\dodoPDFaction\empty{#1}{#2}{#3}} - -%D \type{\doPDFannotation} in \type{spec-dpm} had a bug. -%D -%D \type{\doPDFannotation} conflicts with \type{\doPDFinsertmov}, -%D since width and height also defined in \type{\doPDFinsertmov}. - -\def\doPDFannotation width #1 height #2 data #3% - {\bgroup - \edef\data{#3}% - \scratchdimen#1\edef\width {\the\scratchdimen\space}% - \scratchdimen#2\edef\height{\the\scratchdimen\space}% - \special{pdf:ann width \width height \height <<\data>>}% - \egroup} - -%D \macros -%D {doPDFannotationobject,doPDFactionobject} - -\def\doPDFannotationobject class #1 name #2 width #3 height #4 data #5% - {\bgroup - \scratchdimen#3\edef\width {\the\scratchdimen\space}% - \scratchdimen#4\edef\height{\the\scratchdimen\space}% - \special{pdf:ann @#1::#2 width \width height \height <<#5>>}% - \dosetobjectreference{#1}{#2}{@#1::#2}% - \egroup} - -\def\doPDFactionobject class #1 name #2 width #3 height #4 action #5% - {\dodoPDFaction{@#1::#2}{#3}{#4}{#5}% - \dosetobjectreference{#1}{#2}{@#1::#2}} - -%D \macros -%D {doPDFaddtocatalog,doPDFaddtoinfo, -%D doPDFpageattribute,doPDFpagesattribute} - -% we could move much more to spec-fdf - -% \ifx\pdfcatalog \undefined \newtoks\pdfcatalog \fi -% \ifx\pdfinfo \undefined \newtoks\pdfinfo \fi -% \ifx\pdfpageattr \undefined \newtoks\pdfpageattr \fi -% \ifx\pdfpageresources\undefined \newtoks\pdfpageresources \fi -% \ifx\pdfpagesattr \undefined \newtoks\pdfpagesattr \fi - -% \def\doPDFaddtocatalog #1{\expanded{\global\pdfcatalog {#1\the\pdfcatalog }}} -% \def\doPDFaddtoinfo #1{\expanded{\global\pdfinfo {#1\the\pdfinfo }}} -% \def\doPDFpageattribute #1{\expanded{\global\pdfpageattr {#1\the\pdfpageattr }}} -% \def\doPDFpageresource #1{\expanded{\global\pdfpageresources{#1\the\pdfpageresources}}} -% \def\doPDFpagesattribute#1{\expanded{\global\pdfpagesattr {#1\the\pdfpagesattr }}} - -% \def\doPDFresetpageattributes{\global\pdfpageattr\emptytoks} -% \def\doPDFresetpageresources {\global\pdfpageresources\emptytoks} - -% \appendtoks -% \special{pdf: put @catalog <<#1>>}% -% \special{pdf: docinfo <<#1>>}% -% \special{pdf: put @pages <<#1>>}% -% \to \everylastshipout - -% \appendtoks -% \special{pdf: put @thispage <<#1>>}% -% \to\everyshipout - -\def\doPDFaddtocatalog#1% - {\special{pdf:put @catalog <<#1>>}} - -\def\doPDFaddtoinfo#1% - {\special{pdf:put @docinfo <<#1>>}} - -\def\doPDFpageattribute#1% - {\special{pdf:put @thispage <<#1>>}} - -\def\doPDFpagesattribute#1% - {\special{pdf:put @pages <<#1>>}} - -\def\doPDFpageresource#1% - {\special{pdf:put @resources <<#1>>}} - -\let\doPDFresetpageresources \relax -\let\doPDFresetpageattributes\relax - -%D \type{\doPDFbookmark} in \type{spec-dpm} had a bug. -%D The openbookmark option \#5 is not supported yet. -%D -%D \macros -%D {doPDFbookmark} - -\def\doPDFbookmark level #1 n #2 text #3 page #4 open #5% - {\ifcase#1\else - %\scratchcounter#4\advance\scratchcounter\minusone - \special{pdf:outline #1 %\ifcase#5 opened\fi - % <</Title (#3) /A <</S /GoTo /D (page:\the\scratchcounter)>>>>}% - <</Title (#3) /A <</S /GoTo /D [@page\number#4\space\PDFpageviewwrd]>> >>}% - \fi} - -%D \macros -%D {doPDFdictionaryobject,doPDFarrayobject} - -% Dvipdfmx can't handle -% -% \special{pdf:put @foo << /Bar @bar >>} -% \special{pdf:put @bar << /Foo @foo >>} -% -% Objects must be defined before they are used. -% -% \special{pdf:obj @foo << >>} -% \special{pdf:obj @bar << >>} -% \special{pdf:put @foo << /Bar @bar >>} -% \special{pdf:put @bar << /Foo @foo >>} -% -% However, this only works for dictionary and array. - -\def\doPDFreserveDPXobject#1#2% - {\ifundefined{r:pdx:d:#1}% - % we need a \flushatshipoutprep (prepended, normally appended) - \flushatshipout{\special{pdf:object @#1 #2}}% - \global\letvalue{r:pdx:d:#1}\empty - \fi} - -\def\doPDFreserveDPXobjectfirst#1#2% - {\ifundefined{r:pdx:d:#1}% - \doglobal\prependtoks\special{pdf:object @#1 #2}\to\everyfirstshipout - \global\letvalue{r:pdx:d:#1}\empty - \fi} - -\def\doPDFcheckedDPXobject#1{\ifundefined{r:pdx:d:#1}object\else put\fi\space @#1\space} - -% todo when etex is fixed, \everyPDFpresets, leeg voor pdftex, nodig voor dvipdfmx - -\doPDFreserveDPXobjectfirst{FDF::docuextgstates}{<< >>} - -\def\doPDFdictionaryobject class #1 name #2 data #3% - {\flushatshipout - {\special{pdf:\doPDFcheckedDPXobject{#1::#2}<<#3>>}% - \dosetobjectreference{#1}{#2}{@#1::#2}}} - -\def\doPDFarrayobject class #1 name #2 data #3% - {\flushatshipout - {\special{pdf:\doPDFcheckedDPXobject{#1::#2}[#3]}% - \dosetobjectreference{#1}{#2}{@#1::#2}}} - -%D \macros -%D {defaultobjectreference,doPDFgetobjectreference} - -\def\defaultobjectreference#1#2{@#1::#2} - -%D \type{\doPDFgetobjectreference} in \type{spec-dpm} had a bug. - -\def\doPDFgetobjectreference#1#2#3% - {\dogetobjectreference{#1}{#2}#3% - \ifx#3\empty\else\edef#3{#3}\fi} - -% \def\doPDFgetobjectpage #1#2#3{..} -% \def\doPDFgetobjectpagereference#1#2#3{..} - -\def\doPDFgetpagereference#1#2% - {\edef#2{@page#1}} - -%D Done. - -% %D 2. Modified codes from \type{spec-fdf} -% -% \definespecial\dostartgraphicgroup{\special{pdf: literal direct q}} -% \definespecial\dostopgraphicgroup {\special{pdf: literal direct Q}} - -%D 3. Copied codes from \type{spec-tpd} - -%D \macros -%D {dostartclipping,dostopclipping} -%D -%D Clipping in \PDFTEX\ is rather trivial. We can even hook -%D in \METAPOST\ without problems. - -\definespecial\dostartclipping#1#2#3% - {\PointsToBigPoints{#2}\width - \PointsToBigPoints{#3}\height - \grabMPclippath{#1}{1}\width\height - {0 0 m \width\space 0 l \width \height l 0 \height l}% - \PDFcode - {q 0 w \MPclippath\space W n}} - -\definespecial\dostopclipping - {\PDFcode{Q n}} - -%D 4. Modified codes from \type{supp-mpe} - -\def\stopMPshading - {\global\advance\currentPDFshade \plusone - \setxvalue{obj:Sh:\currentMPspecial}% - {/Sh\the\currentPDFshade\space @obj:Sh:\currentMPspecial\space}% - \setxvalue{mps:Sh:\currentMPspecial}% - {\the\currentPDFshade}} - -\defineMPspecial{30} - {\startMPshading{14}% type 2 - \setMPshadingcolors{4}{5}{6}{9}{10}{11}% - \special{pdf:object @ftn:Sh:\currentMPspecial\space - <</FunctionType 2 - /Domain [\gMPs1 \gMPs2] - /C0 [\MPshadeA] - /C1 [\MPshadeB] - /N \gMPs3>>}% - \special{pdf:object @obj:Sh:\currentMPspecial\space - <</ShadingType 2 - /ColorSpace /\MPshadeC\space - /Function @ftn:Sh:\currentMPspecial\space - /Coords [\gMPs7 \gMPs8 \gMPs{12} \gMPs{13}] - /Extend [true true]>>}% - \stopMPshading} - -\defineMPspecial{31} - {\startMPshading{16}% type 3 - \setMPshadingcolors{4}{5}{6}{10}{11}{12}% - \special{pdf:object @ftn:Sh:\currentMPspecial\space - <</FunctionType 2 - /Domain [\gMPs1 \gMPs2] - /C0 [\MPshadeA] - /C1 [\MPshadeB] - /N \gMPs3>>}% - \special{pdf:object @obj:Sh:\currentMPspecial\space - <</ShadingType 3 - /ColorSpace /\MPshadeC\space - /Function @ftn:Sh:\currentMPspecial\space - /Coords [\gMPs7 \gMPs8 \gMPs9 \gMPs{13} \gMPs{14} \gMPs{15}] - /Extend [true true]>>}% - \stopMPshading} - -\def\handleMPfigurespecial#1#2#3#4#5#6#7% toto : combine with ext fig - {\doiffileelse{#7} - {\vbox to \zeropoint - {\vss - \hbox to \zeropoint - {\special{pdf:btrans matrix #1 #2 #3 #4 #5 #6}% - \rlap{\special{pdf:image width 1bp height 1bp (#7)}} - \special{pdf:etrans}\hss}}} - {\message{[unknown figure #7]}}} - -%D 5. Modified codes from \type{supp-pdf} - -\let\handleMPfshow\dohandleMPfshow - -\newcounter\MPPDFcounter - -\def\setMPPDFobject#1#2% - {\ifx\currentPDFresources\empty\else\doPDFpageresource{#1}\fi - \def\getMPPDFobject{\box#2}} - -\let\getMPPDFobject\relax - -\definespecial\doinsertMPfile#1% - {\doiffileelse{./#1}{\includeMPasPDF{./#1}}{\message{[MP #1]}}} - -%D Experimental (untested): - -\definespecial\dostartfonteffect#1#2#3% - {\ifdim#2>\zeropoint - \PointsToBigPoints{#2}\ascii - \PDFdirectcode{\ascii\space w}% - \fi - \ifdim#3\points=\onepoint\else - \scratchdimen#3\points - \PDFdirectcode{\withoutpt{\the\scratchdimen}\space Tc}% - \fi - \PDFdirectcode{\purenumber#1 Tr}} - -\definespecial\dostopfonteffect - {\PDFdirectcode{1 w 0 Tc 0 Tr}} - -%D 6. Modified codes from \type{core-obj} -%D -%D In the viewpoint of TeX, the special command \type{pdf:uxobj @obj} -%D generates a box with zero point width and zero point height so that -%D it must be careful to place the box at the reference point. - -\def\dogetobject#1#2#3#4#5#6#7% don't change this, should work for dvi & pdf - {\initializepaper - \forgetall - \dontshowcomposition - \setbox\scratchbox\vbox - {\doinsertobject{#1}{#2}}% - \setbox\scratchbox#3% - {\vbox to #5\scaledpoint - {\ifdim\ht\scratchbox>#5\scaledpoint - \vss\hbox to #4\scaledpoint{\hss\box\scratchbox\hss}\vss - \else\ifdim\wd\scratchbox>#4\scaledpoint - \vss\hbox to #4\scaledpoint{\hss\box\scratchbox\hss}\vss - \else - %\vss\box\scratchbox - \vss\hbox to #4\scaledpoint{\box\scratchbox\hss} - \fi\fi}}% - \box\scratchbox - \elabelgroup} - -%D 7. Copied codes from \type{spec-dvi} - -\definespecial\dosetposition#1% - {\special{pos:pxy "#1"}} - -\definespecial\dosetpositionwhd#1#2#3#4% - {\special{pos:pxywhd "#1" #2 #3 #4}} - -\definespecial\dosetpositionplus#1#2#3#4#5% - {\special{pos:pxyplus "#1" #2 #3 #4 #5}} - -\let\flushDVIpositionpapersize\relax - -\definespecial\dosetpositionpapersize#1#2% - {\xdef\flushDVIpositionpapersize% - {\special{pos:papersize #1 #2}% - \noexpand\installprogram{dvipos \jobname}% - \global\noexpand\let\noexpand\flushDVIpositionpapersize\relax}} - -\prependtoksonce \flushDVIpositionpapersize \to \everyshipout - -\stopspecials - -\protect \endinput diff --git a/Build/source/texk/xdvipdfmx/contrib/latex/color.sty.sample b/Build/source/texk/xdvipdfmx/contrib/latex/color.sty.sample deleted file mode 100644 index 27009a3fe86..00000000000 --- a/Build/source/texk/xdvipdfmx/contrib/latex/color.sty.sample +++ /dev/null @@ -1,177 +0,0 @@ -%% -%% This is file `color.sty', -%% generated with the docstrip utility. -%% -%% The original source files were: -%% -%% color.dtx (with options: `package') -%% -%% color.dtx Copyright (C) 1994--1999 David Carlisle -%% -%% This file is part of the Standard LaTeX `Graphics Bundle'. -%% It may be distributed under the terms of the LaTeX Project Public -%% License, as described in lppl.txt in the base LaTeX distribution. -%% Either version 1.0 or, at your option, any later version. -%% -\NeedsTeXFormat{LaTeX2e}[1995/12/01] -\ProvidesPackage{color} - [1999/02/16 v1.0i Standard LaTeX Color (DPC)] -\edef\Gin@codes{% - \catcode`\noexpand\^^A\the\catcode`\^^A\relax - \catcode`\noexpand\"\the\catcode`\"\relax - \catcode`\noexpand\*\the\catcode`\*\relax - \catcode`\noexpand\!\the\catcode`\!\relax - \catcode`\noexpand\:\the\catcode`\:\relax} -\catcode`\^^A=\catcode`\% -\catcode`\"=12 -\catcode`\*=11 -\catcode`\!=12 -\catcode`\:=12 -\providecommand\Gin@driver{} -\def\c@lor@error#1{% - \@latex@error{Undefined color #1}\@ehd} -\DeclareOption{monochrome}{% - \def\c@lor@error#1{\PackageInfo{color}{Undefined color #1}}% - \AtEndOfPackage{% - \colors@false - \def\set@color{% - \c@lor@special\m@ne - {color push \current@color}\aftergroup\reset@color}% - \def\reset@color{\c@lor@special\m@ne{color pop}}% - \def\set@page@color{% - \c@lor@special\m@ne{background \current@color}}% - \def\define@color#1#2{% - \c@lor@special\m@ne{define #1 #2}}}} -\DeclareOption{debugshow}{\catcode`\^^A=9 \let\GDebug\typeout} -\DeclareOption{dvips}{\def\Gin@driver{dvips.def}% - \def\c@lor@namefile{dvipsnam.def}} -\DeclareOption{xdvi}{\ExecuteOptions{dvips,monochrome}} -\DeclareOption{dvipdf}{\def\Gin@driver{dvipdf.def}} -\DeclareOption{dvipdfm}{\def\Gin@driver{dvipdfm.def}} -\DeclareOption{dvipdfmx}{\def\Gin@driver{dvipdfmx.def}} -\DeclareOption{pdftex}{\def\Gin@driver{pdftex.def}} -\DeclareOption{dvipsone}{\def\Gin@driver{dvipsone.def}} -\DeclareOption{dviwindo}{\ExecuteOptions{dvipsone}} -\DeclareOption{emtex}{\def\Gin@driver{emtex.def}} -\DeclareOption{dviwin}{\def\Gin@driver{dviwin.def}} -\DeclareOption{oztex}{\ExecuteOptions{dvips}} -\DeclareOption{textures}{\def\Gin@driver{textures.def}} -\DeclareOption{pctexps}{\def\Gin@driver{pctexps.def}} -\DeclareOption{pctexwin}{\def\Gin@driver{pctexwin.def}} -\DeclareOption{pctexhp}{\def\Gin@driver{pctexhp.def}} -\DeclareOption{pctex32}{\def\Gin@driver{pctex32.def}} -\DeclareOption{truetex}{\def\Gin@driver{truetex.def}} -\DeclareOption{tcidvi}{\def\Gin@driver{tcidvi.def}} -\DeclareOption{vtex}{\def\Gin@driver{vtex.def}} -\DeclareOption{dvipsnames}{\def\c@lor@namefile{dvipsnam.def}} -\DeclareOption{nodvipsnames}{\let\c@lor@namefile\relax} -\let\c@lor@usename\@gobble -\DeclareOption{usenames}{% - \def\c@lor@usename#1{% - \expandafter\color@named\csname\string\color @#1\endcsname{#1}}} -\DeclareRobustCommand\color{% - \@ifnextchar[\@undeclaredcolor\@declaredcolor} -\def\@undeclaredcolor[#1]#2{% - \@ifundefined{color@#1}% - {\c@lor@error{model `#1'}}% - {\csname color@#1\endcsname\current@color{#2}% - \set@color}% - \ignorespaces} -\def\@declaredcolor#1{% - \@ifundefined{\string\color @#1}% - {\c@lor@error{`#1'}}% - {\expandafter\let\expandafter\current@color - \csname\string\color @#1\endcsname - \set@color}% - \ignorespaces} -\def\textcolor#1#{\@textcolor{#1}} -\def\@textcolor#1#2#3{\protect\leavevmode{\color#1{#2}#3}} -\def\pagecolor{% - \begingroup - \let\ignorespaces\endgroup - \let\set@color\set@page@color - \color} -\def\definecolor#1#2#3{% - \@ifundefined{color@#2}% - {\c@lor@error{model `#2'}}% - {\@ifundefined{\string\color @#1}{}% - {\PackageInfo{color}{Redefining color #1}}% - \csname color@#2\expandafter\endcsname - \csname\string\color @#1\endcsname{#3}}} -\def\DefineNamedColor#1#2#3#4{% - \@ifundefined{define@color@#1}% - {\c@lor@error{model `#1'}}% - {\@ifundefined{color@#3}% - {\c@lor@error{model `#3'}}% - {\@ifundefined{c@lor@#1@#2}{}% - {\PackageInfo{color}{Redefining color #2 in named color model}}% - \csname color@#3\endcsname\@tempa{#4}% - \csname define@color@#1\endcsname{#2}\@tempa - \c@lor@usename{#2}}}} -\@onlypreamble\DefineNamedColor -\newif\ifcolors@ -\colors@true -\def\c@lor@special#1#2{% - \edef\@tempa{\write#1{#2}}\@tempa} -\InputIfFileExists{color.cfg}{}{} -\ProcessOptions -\if!\Gin@driver! - \PackageError{color} - {No driver specified} - {You should make a default driver option in a file \MessageBreak - color.cfg\MessageBreak - eg: \protect\ExecuteOptions{dvips}% - } -\else - \PackageInfo{color}{Driver file: \Gin@driver} - \@ifundefined{ver@\Gin@driver}{\input{\Gin@driver}}{} -\fi -\@ifundefined{c@lor@namefile}{}{\input{\c@lor@namefile}} -\def\normalcolor{\let\current@color\default@color\set@color} -\AtBeginDocument{\let\default@color\current@color} -\def\color@block#1#2#3{% - {\set@color\rlap{\ifcolors@\vrule\@width#1\@height#2\@depth#3\fi}}} -\def\colorbox#1#{\color@box{#1}} -\def\color@box#1#2{\color@b@x\relax{\color#1{#2}}} -\def\fcolorbox#1#{\color@fbox{#1}} -\def\color@fbox#1#2#3{% - \color@b@x{\fboxsep\z@\color#1{#2}\fbox}{\color#1{#3}}} - -\long\def\color@b@x#1#2#3{% - \leavevmode - \setbox\z@\hbox{\kern\fboxsep{\set@color#3}\kern\fboxsep}% - \dimen@\ht\z@\advance\dimen@\fboxsep\ht\z@\dimen@ - \dimen@\dp\z@\advance\dimen@\fboxsep\dp\z@\dimen@ - {#1{#2\color@block{\wd\z@}{\ht\z@}{\dp\z@}% - \box\z@}}} -\def\color@setgroup{\begingroup\set@color} -\let\color@begingroup\begingroup -\def\color@endgroup{\endgraf\endgroup} -\def\color@hbox{\hbox\bgroup\color@begingroup} -\def\color@vbox{\vbox\bgroup\color@begingroup} -\def\color@endbox{\color@endgroup\egroup} -\ifx\color@gray\@undefined - \ifx\color@rgb\@undefined - \else - \definecolor{black}{rgb}{0,0,0} - \definecolor{white}{rgb}{1,1,1} - \fi -\else - \definecolor{black}{gray}{0} - \definecolor{white}{gray}{1} -\fi -\ifx\color@rgb\@undefined\else - \definecolor{red}{rgb}{1,0,0} - \definecolor{green}{rgb}{0,1,0} - \definecolor{blue}{rgb}{0,0,1} -\fi -\ifx\color@cmyk\@undefined\else - \definecolor{cyan}{cmyk}{1,0,0,0} - \definecolor{magenta}{cmyk}{0,1,0,0} - \definecolor{yellow}{cmyk}{0,0,1,0} -\fi -\Gin@codes -\let\Gin@codes\relax -\endinput -%% -%% End of file `color.sty'. diff --git a/Build/source/texk/xdvipdfmx/contrib/latex/dvipdfmx.def.sample b/Build/source/texk/xdvipdfmx/contrib/latex/dvipdfmx.def.sample deleted file mode 100644 index e67d195de3d..00000000000 --- a/Build/source/texk/xdvipdfmx/contrib/latex/dvipdfmx.def.sample +++ /dev/null @@ -1,139 +0,0 @@ -%% This is file `dvipdfmx.def' for DVIPDFMx by J.-H. Cho and S. Hirata -%% which is written based on `dvipdf.def' in the LaTeX `Graphics Bundle'. -%% -%% This is file `dvipdf.def', -%% generated with the docstrip utility. -%% -%% The original source files were: -%% -%% drivers.dtx (with options: `dvipdf,color1,psrulesZ') -%% -%% drivers.dtx Copyright (C) 1994 David Carlisle Sebastian Rahtz -%% Copyright (C) 1995 1996 1997 1998 1999 David Carlisle -%% -%% This file is part of the Standard LaTeX `Graphics Bundle'. -%% It may be distributed under the terms of the LaTeX Project Public -%% License, as described in lppl.txt in the base LaTeX distribution. -%% Either version 1.0 or, at your option, any later version. -%% -\ProvidesFile{dvipdfmx.def} - [1999/02/16 v3.0i Driver-dependant file (DPC,SPQR)] -\def\c@lor@arg#1{% - \dimen@#1\p@ - \ifdim\dimen@<\z@\dimen@\maxdimen\fi - \ifdim\dimen@>\p@ - \PackageError{color}{Argument `#1' not in range [0,1]}\@ehd - \fi} -\def\color@gray#1#2{% - \c@lor@arg{#2}% - \edef#1{[#2]}% - } -\def\color@cmyk#1#2{\c@lor@@cmyk#2\@@#1} -\def\c@lor@@cmyk#1,#2,#3,#4\@@#5{% - \c@lor@arg{#4}% - \c@lor@arg{#1}% - \c@lor@arg{#2}% - \c@lor@arg{#3}% - \edef#5{[#1 #2 #3 #4]}% - } -\def\color@rgb#1#2{\c@lor@@rgb#2\@@#1} -\def\c@lor@@rgb#1,#2,#3\@@#4{% - \c@lor@arg{#1}% - \c@lor@arg{#2}% - \c@lor@arg{#3}% - \edef#4{[#1 #2 #3]}% - } -\def\color@RGB#1#2{\c@lor@@RGB#2\@@#1} -\def\c@lor@@RGB#1,#2,#3\@@#4{% - \c@lor@RGB@rgb{#1}\@tempa - \c@lor@RGB@rgb{#2}\@tempb - \c@lor@RGB@rgb{#3}\@tempc - \c@lor@@rgb\@tempa,\@tempb,\@tempc\@@#4% - } -\def\c@lor@RGB@rgb#1#2{% - \dimen@#1\p@ - \divide\dimen@\@cclv - \edef#2{\strip@pt\dimen@}} -\def\color@hsb#1#2{\c@lor@@hsb#2\@@#1} -\def\c@lor@@hsb#1,#2,#3\@@#4{% - \c@lor@arg{#1}% - \c@lor@arg{#2}% - \c@lor@arg{#3}% - \edef#4{[#1 #2 #3] hsb}% - } -\def\color@named#1#2{\c@lor@@named#2,,\@@#1} -\def\c@lor@@named#1,#2,#3\@@#4{% - \@ifundefined{col@#1}% - {\PackageError{color}{Undefined color `#1'}\@ehd}% - {\edef#4{ #1}}% - } -\def\c@lor@to@ps#1 #2\@@{\csname c@lor@ps@#1\endcsname#2 \@@} -\def\c@lor@ps@#1 #2\@@{TeXDict begin #1 end} -\def\c@lor@ps@rgb#1\@@{#1 setrgbcolor} -\def\c@lor@ps@hsb#1\@@{#1 sethsbcolor} -\def\c@lor@ps@cmyk#1\@@{#1 setcmykcolor} -\def\c@lor@ps@gray#1\@@{#1 setgray} -\def\current@color{[0]} -\def\set@color{% - \special{pdf:bcolor \current@color - }\aftergroup\reset@color} -\def\reset@color{\special{% - pdf:ecolor}} -\def\set@page@color{\special{% - pdf:bgcolor \current@color}} -\def\define@color@named#1#2{% - \expandafter\let\csname col@#1\endcsname\@nnil} -\def\Ginclude@eps#1{% - \message{<#1>}% - \bgroup - \def\@tempa{!}% - \dimen@\Gin@req@width - \dimen@ii.1bp% - \divide\dimen@\dimen@ii - \@tempdima\Gin@req@height - \divide\@tempdima\dimen@ii - \special{PSfile="#1"\space - llx=\Gin@llx\space - lly=\Gin@lly\space - urx=\Gin@urx\space - ury=\Gin@ury\space - \ifx\Gin@scalex\@tempa\else rwi=\number\dimen@\space\fi - \ifx\Gin@scaley\@tempa\else rhi=\number\@tempdima\space\fi - \ifGin@clip clip\fi}% - \egroup} -\def\Ginclude@bmp#1{% - \message{<#1>}% - \bgroup - \def\@tempa{!}% - \special{pdf:image\space - width \the\Gin@req@width\space - height \the\Gin@req@height\space - (#1)}% - \egroup} -\def\Grot@start{% -\special{pdf:btrans rotate \Grot@angle}} -\def\Grot@end{\special{pdf:etrans}} -\def\Gscale@start{% -\special{pdf:btrans xscale \Gscale@x\space yscale \Gscale@y}} -\def\Gscale@end{\special{pdf:etrans}} -\def\Gin@PS@raw#1{\special{ps: #1}} -\def\Gin@PS@restored#1{\special{" #1}} -\def\Gin@PS@literal@header#1{\AtBeginDvi{\special{! #1}}} -\def\Gin@PS@file@header#1{\AtBeginDvi{\special{header=#1}}} -\@namedef{Gin@rule@.jpg}#1{{bmp}{.bb}{#1}} -\@namedef{Gin@rule@.jpeg}#1{{bmp}{.bb}{#1}} -\@namedef{Gin@rule@.png}#1{{bmp}{.bb}{#1}} -\@namedef{Gin@rule@.bmp}#1{{bmp}{.bb}{#1}} -\def\Gin@extensions{.eps,.ps,.eps.gz,.ps.gz,.eps.Z} -\@namedef{Gin@rule@.pdf}#1{{eps}{.bb}{#1}} -\@namedef{Gin@rule@.ps}#1{{eps}{.ps}{#1}} -\@namedef{Gin@rule@.eps}#1{{eps}{.eps}{#1}} -\@namedef{Gin@rule@.pz}#1{{eps}{.bb}{`gunzip -c #1}} -\@namedef{Gin@rule@.eps.Z}#1{{eps}{.eps.bb}{`gunzip -c #1}} -\@namedef{Gin@rule@.ps.Z}#1{{eps}{.ps.bb}{`gunzip -c #1}} -\@namedef{Gin@rule@.ps.gz}#1{{eps}{.ps.bb}{`gunzip -c #1}} -\@namedef{Gin@rule@.eps.gz}#1{{eps}{.eps.bb}{`gunzip -c #1}} -\@namedef{Gin@rule@*}#1{{eps}{\Gin@ext}{#1}} -\endinput -%% -%% End of file `dvipdfmx.def'. diff --git a/Build/source/texk/xdvipdfmx/contrib/latex/graphics.sty.sample b/Build/source/texk/xdvipdfmx/contrib/latex/graphics.sty.sample deleted file mode 100644 index 57c92cff620..00000000000 --- a/Build/source/texk/xdvipdfmx/contrib/latex/graphics.sty.sample +++ /dev/null @@ -1,473 +0,0 @@ -%% -%% This is file `graphics.sty', -%% generated with the docstrip utility. -%% -%% The original source files were: -%% -%% graphics.dtx (with options: `package') -%% -%% graphics.dtx Copyright (C) 1994 David Carlisle Sebastian Rahtz -%% Copyright (C) 1995--1999 2001 David Carlisle -%% -%% This file is part of the Standard LaTeX `Graphics Bundle'. -%% It may be distributed under the terms of the LaTeX Project Public -%% License, as described in lppl.txt in the base LaTeX distribution. -%% Either version 1.0 or, at your option, any later version. -%% -\NeedsTeXFormat{LaTeX2e}[1995/12/01] -\ProvidesPackage{graphics} - [2001/07/07 v1.0n Standard LaTeX Graphics (DPC,SPQR)] -\edef\Gin@codes{% - \catcode`\noexpand\^^A\the\catcode`\^^A\relax - \catcode`\noexpand\"\the\catcode`\"\relax - \catcode`\noexpand\*\the\catcode`\*\relax - \catcode`\noexpand\!\the\catcode`\!\relax - \catcode`\noexpand\:\the\catcode`\:\relax} -\catcode`\^^A=\catcode`\% -\@makeother\"% -\catcode`\*=11 -\@makeother\!% -\@makeother\:% -\RequirePackage{trig} -\providecommand\Grot@start{\@latex@error{Rotation not supported}\@ehc - \global\let\Grot@start\relax} -\providecommand\Grot@end{} -\providecommand\Gscale@start{\@latex@error{Scaling not supported}\@ehc - \global\let\Gscale@start\relax} -\providecommand\Gscale@end{} -\edef\Gread@BBox{\@percentchar\@percentchar BoundingBox} -\DeclareOption{draft}{\Gin@drafttrue} -\DeclareOption{final}{\Gin@draftfalse} -\newif\ifGin@draft -\DeclareOption{hiresbb}{% - \edef\Gread@BBox{\@percentchar\@percentchar HiResBoundingBox}} -\providecommand\Gin@driver{} -\DeclareOption{dvips}{\def\Gin@driver{dvips.def}} -\DeclareOption{xdvi}{\ExecuteOptions{dvips}} -\DeclareOption{dvipdf}{\def\Gin@driver{dvipdf.def}} -\DeclareOption{dvipdfm}{\def\Gin@driver{dvipdfm.def}} -\DeclareOption{dvipdfmx}{\def\Gin@driver{dvipdfmx.def}} -\DeclareOption{pdftex}{\def\Gin@driver{pdftex.def}} -\DeclareOption{dvipsone}{\def\Gin@driver{dvipsone.def}} -\DeclareOption{dviwindo}{\ExecuteOptions{dvipsone}} -\DeclareOption{emtex}{\def\Gin@driver{emtex.def}} -\DeclareOption{dviwin}{\def\Gin@driver{dviwin.def}} -\DeclareOption{oztex}{\ExecuteOptions{dvips}} -\DeclareOption{textures}{\def\Gin@driver{textures.def}} -\DeclareOption{pctexps}{\def\Gin@driver{pctexps.def}} -\DeclareOption{pctexwin}{\def\Gin@driver{pctexwin.def}} -\DeclareOption{pctexhp}{\def\Gin@driver{pctexhp.def}} -\DeclareOption{pctex32}{\def\Gin@driver{pctex32.def}} -\DeclareOption{truetex}{\def\Gin@driver{truetex.def}} -\DeclareOption{tcidvi}{\def\Gin@driver{tcidvi.def}} -\DeclareOption{vtex}{\def\Gin@driver{vtex.def}} -\DeclareOption{debugshow}{\catcode`\^^A=9 \let\GDebug\typeout} -\InputIfFileExists{graphics.cfg}{}{} -\DeclareOption{hiderotate}{% - \def\Grot@start{\begingroup\setbox\z@\hbox\bgroup} - \def\Grot@end{\egroup\endgroup}} -\DeclareOption{hidescale}{% - \def\Gscale@start{\begingroup\setbox\z@\hbox\bgroup} - \def\Gscale@end{\egroup\endgroup}} -\ProcessOptions -\if!\Gin@driver! - \PackageError{graphics} - {No driver specified} - {You should make a default driver option in a file \MessageBreak - graphics.cfg\MessageBreak - eg: \protect\ExecuteOptions{textures}% - } -\else - \PackageInfo{graphics}{Driver file: \Gin@driver} - \@ifundefined{ver@\Gin@driver}{\input{\Gin@driver}}{} -\fi -\def\Gin@llx{0} -\let\Gin@lly\Gin@llx -\let\Gin@urx\Gin@llx -\let\Gin@ury\Gin@llx -\let\Gin@nat@width\leftmarginv -\let\Gin@nat@height\leftmarginvi -\newif\ifGin@clip -\newcommand\DeclareGraphicsExtensions[1]{% - \edef\Gin@extensions{\zap@space#1 \@empty}} -\providecommand\Gin@extensions{} -\def\includegraphics{% - \@ifstar - {\Gin@cliptrue\Gin@i}% - {\Gin@clipfalse\Gin@i}} -\def\Gin@i{% - \@ifnextchar[%] - \Gin@ii - {\Gin@bboxfalse\Ginclude@graphics}} -\def\Gin@ii[#1]{% - \@ifnextchar[%] - {\Gin@iii[#1]} - {\Gin@iii[0,0][#1]}} -\def\Gin@iii[#1,#2][#3,#4]#5{% - \begingroup - \Gin@bboxtrue - \Gin@defaultbp\Gin@llx{#1}% - \Gin@defaultbp\Gin@lly{#2}% - \Gin@defaultbp\Gin@urx{#3}% - \Gin@defaultbp\Gin@ury{#4}% - \Ginclude@graphics{#5}% - \endgroup} -\def\Gin@defaultbp#1#2{% - \afterassignment\Gin@def@bp\dimen@#2bp\relax{#1}{#2}} -\def\Gin@def@bp#1\relax#2#3{% - \if!#1!% - \def#2{#3}% - \else - \dimen@.99626\dimen@ - \edef#2{\strip@pt\dimen@}% - \fi} -\def\DeclareGraphicsRule#1#2#3#4{% - \edef\@tempa{\string *}\def\@tempb{#3}% - \expandafter\edef\csname Gin@rule@#1\endcsname##1% - {{#2}% - {\ifx\@tempa\@tempb\noexpand\Gin@ext\else#3\fi}% - {\ifx\indent#4\indent##1\else#4\fi}}} -\def\graphicspath#1{\def\Ginput@path{#1}} -\ifx\Ginput@path\@undefined - \let\Ginput@path\input@path -\fi -\def\Gin@getbase#1{% - \edef\Gin@tempa{% - \def\noexpand\@tempa####1#1\space{% - \def\noexpand\Gin@base{####1}}}% - \IfFileExists{\filename@area\filename@base#1}% - {\Gin@tempa - \expandafter\@tempa\@filef@und - \edef\Gin@ext{#1}}{}}% -\let\Gin@ext\relax -\def\Gin@sepdefault{.} -\def\Ginclude@graphics#1{% - \begingroup - \let\input@path\Ginput@path - \filename@parse{#1}% - \ifx\filename@ext\relax - \@for\Gin@temp:=\Gin@extensions\do{% - \ifx\Gin@ext\relax - \Gin@getbase\Gin@temp - \fi}% - \else - \Gin@getbase{\Gin@sepdefault\filename@ext}% - \ifx\Gin@ext\relax - \@warning{File `#1' not found}% - \def\Gin@base{\filename@area\filename@base}% - \edef\Gin@ext{\Gin@sepdefault\filename@ext}% - \fi - \fi - \ifx\Gin@ext\relax - \@latex@error{File `#1' not found}% - {I could not locate the file with any of these extensions:^^J% - \Gin@extensions^^J\@ehc}% - \else - \@ifundefined{Gin@rule@\Gin@ext}% - {\ifx\Gin@rule@*\@undefined - \@latex@error{Unknown graphics extension: \Gin@ext}\@ehc - \else - \expandafter\Gin@setfile\Gin@rule@*{\Gin@base\Gin@ext}% - \fi}% - {\expandafter\expandafter\expandafter\Gin@setfile - \csname Gin@rule@\Gin@ext\endcsname{\Gin@base\Gin@ext}}% - \fi - \endgroup} -\newif\ifGread@\Gread@true -\def\Gin@setfile#1#2#3{% - \ifx\\#2\\\Gread@false\fi - \ifGin@bbox\else - \ifGread@ - \csname Gread@% - \expandafter\ifx\csname Gread@#1\endcsname\relax - eps% - \else - #1% - \fi - \endcsname{\Gin@base#2}% - \else - \Gin@nosize{#3}% - \fi - \fi - \Gin@viewport@code - \Gin@nat@height\Gin@ury bp% - \advance\Gin@nat@height-\Gin@lly bp% - \Gin@nat@width\Gin@urx bp% - \advance\Gin@nat@width-\Gin@llx bp% - \Gin@req@sizes - \expandafter\ifx\csname Ginclude@#1\endcsname\relax - \Gin@drafttrue - \expandafter\ifx\csname Gread@#1\endcsname\relax - \@latex@error{Can not include graphics of type: #1}\@ehc - \global\expandafter\let\csname Gread@#1\endcsname\@empty - \fi - \fi - \leavevmode - \ifGin@draft - \hb@xt@\Gin@req@width{% - \vrule\hss - \vbox to \Gin@req@height{% - \hrule \@width \Gin@req@width - \vss - \edef\@tempa{#3}% - \rlap{ \ttfamily\expandafter\strip@prefix\meaning\@tempa}% - \vss - \hrule}% - \hss\vrule}% - \else - \@addtofilelist{#3}% - \ProvidesFile{#3}[Graphic file (type #1)]% - \setbox\z@\hbox{\csname Ginclude@#1\endcsname{#3}}% - \dp\z@\z@ - \ht\z@\Gin@req@height - \wd\z@\Gin@req@width - \box\z@ - \fi} -\def\Gin@exclamation{!} -\let\Gin@req@sizes\relax -\def\Gin@scalex{1}% -\let\Gin@scaley\Gin@exclamation -\let\Gin@req@height\Gin@nat@height -\let\Gin@req@width\Gin@nat@width -\let\Gin@viewport@code\relax -\def\Gin@nosize#1{% - \@latex@error - {Cannot determine size of graphic in #1 (no size specifed)}% - \@ehc} -\newif\ifGin@bbox -\def\Gread@eps#1{% - \begingroup - \@tempcnta\z@ - \loop\ifnum\@tempcnta<\@xxxii - \catcode\@tempcnta14 % - \advance\@tempcnta\@ne - \repeat - \catcode`\^^?14 % - \let\do\@makeother - \dospecials - \catcode`\ 10 % - \catcode`\^^I10 % - \catcode\endlinechar5 % - \@makeother\:% - \@makeother\-% - \immediate\openin\@inputcheck#1 % - \ifeof\@inputcheck - \@latex@error{File `#1' not found}\@ehc - \else - \Gread@true - \let\@tempb\Gread@false - \loop - \read\@inputcheck to\@tempa - \ifeof\@inputcheck - \Gread@false - \else - \expandafter\Gread@find@bb\@tempa:.\\% - \fi - \ifGread@ - \repeat - \immediate\closein\@inputcheck - \fi - \ifGin@bbox\else - \@latex@error - {Cannot determine size of graphic in #1 (no BoundingBox)}% - \@ehc - \gdef\@gtempa{0 0 72 72 }% - \fi - \endgroup - \expandafter\Gread@parse@bb\@gtempa\\} -\long\def\Gread@find@bb#1:#2#3\\{% - \def\@tempa{#1}% - \ifx\@tempa\Gread@BBox - \Gread@test@atend#2#3()\\% - \fi} -\def\Gread@test@atend#1(#2)#3\\{% - \def\@tempa{#2}% - \ifx\@tempa\Gread@atend - \Gread@true - \let\@tempb\relax - \else - \gdef\@gtempa{#1}% - \@tempb - \Gin@bboxtrue - \fi} -\def\Gread@parse@bb#1 #2 #3 #4 #5\\{% - \Gin@defaultbp\Gin@llx{#1}% - \Gin@defaultbp\Gin@lly{#2}% - \Gin@defaultbp\Gin@urx{#3}% - \Gin@defaultbp\Gin@ury{#4}}% -\def\Gread@atend{atend} -\let\Grot@height\@ovxx -\let\Grot@left\@ovyy -\let\Grot@right\@ovdx -\let\Grot@depth\@ovdy -\let\Grot@l\@ovro -\let\Grot@r\@ovri -\let\Grot@h\@xdim -\let\Grot@d\@ydim -\let\Grot@x\@linelen -\let\Grot@y\@dashdim -\long\def\rotatebox#1#2{% - \leavevmode - \Grot@setangle{#1}% - \setbox\z@\hbox{{#2}}% - \Grot@x\z@ - \Grot@y\z@ - \Grot@box} -\def\Grot@setangle#1{\edef\Grot@angle{#1}} -\def\Grot@Px#1#2#3{% - #1\Grot@cos#2% - \advance#1-\Grot@sin#3} -\def\Grot@Py#1#2#3{% - #1\Grot@sin#2% - \advance#1\Grot@cos#3} -\def\Grot@box{% - \begingroup - \CalculateSin\Grot@angle - \CalculateCos\Grot@angle - \edef\Grot@sin{\UseSin\Grot@angle}% - \edef\Grot@cos{\UseCos\Grot@angle}% -^^A \GDebug{Rotate: angle \Grot@angle, sine is \Grot@sin, -^^A cosine is \Grot@cos}% - \Grot@r\wd\z@ \advance\Grot@r-\Grot@x - \Grot@l\z@ \advance\Grot@l-\Grot@x - \Grot@h\ht\z@ \advance\Grot@h-\Grot@y - \Grot@d-\dp\z@ \advance\Grot@d-\Grot@y - \ifdim\Grot@sin\p@>\z@ - \ifdim\Grot@cos\p@>\z@ - \Grot@Py\Grot@height \Grot@r\Grot@h%B - \Grot@Px\Grot@right \Grot@r\Grot@d%E - \Grot@Px\Grot@left \Grot@l\Grot@h%C - \Grot@Py\Grot@depth \Grot@l\Grot@d%D - \else - \Grot@Py\Grot@height \Grot@r\Grot@d%E - \Grot@Px\Grot@right \Grot@l\Grot@d%D - \Grot@Px\Grot@left \Grot@r\Grot@h%B - \Grot@Py\Grot@depth \Grot@l\Grot@h%C - \fi - \else - \ifdim\Grot@cos\p@<\z@ - \Grot@Py\Grot@height \Grot@l\Grot@d%D - \Grot@Px\Grot@right \Grot@l\Grot@h%C - \Grot@Px\Grot@left \Grot@r\Grot@d%E - \Grot@Py\Grot@depth \Grot@r\Grot@h%B - \else - \Grot@Py\Grot@height \Grot@l\Grot@h%C - \Grot@Px\Grot@right \Grot@r\Grot@h%B - \Grot@Px\Grot@left \Grot@l\Grot@d%D - \Grot@Py\Grot@depth \Grot@r\Grot@d%E - \fi - \fi - \advance\Grot@height\Grot@y - \advance\Grot@depth\Grot@y - \Grot@Px\dimen@ \Grot@x\Grot@y - \Grot@Py\dimen@ii \Grot@x\Grot@y - \dimen@-\dimen@ \advance\dimen@-\Grot@left - \dimen@ii-\dimen@ii \advance\dimen@ii\Grot@y -^^A \GDebug{Rotate: (l,r,h,d)^^J% -^^A Original \the\Grot@l,\the\Grot@r,\the\Grot@h,\the\Grot@d,^^J% -^^A New..... \the\Grot@left,\the\Grot@right,% -^^A \the\Grot@height,\the\Grot@depth}% - \setbox\z@\hbox{% - \kern\dimen@ - \raise\dimen@ii\hbox{\Grot@start\box\z@\Grot@end}}% - \ht\z@\Grot@height - \dp\z@-\Grot@depth - \advance\Grot@right-\Grot@left\wd\z@\Grot@right - \leavevmode\box\z@ - \endgroup} -\def\scalebox#1{% - \@ifnextchar[{\Gscale@box{#1}}{\Gscale@box{#1}[#1]}} -\long\def\Gscale@box#1[#2]#3{% - \leavevmode - \def\Gscale@x{#1}\def\Gscale@y{#2}% - \setbox\z@\hbox{{#3}}% - \setbox\tw@\hbox{\Gscale@start\rlap{\copy\z@}\Gscale@end}% - \ifdim#2\p@<\z@ - \ht\tw@-#2\dp\z@ - \dp\tw@-#2\ht\z@ - \else - \ht\tw@#2\ht\z@ - \dp\tw@#2\dp\z@ - \fi - \ifdim#1\p@<\z@ - \hb@xt@-#1\wd\z@{\kern-#1\wd\z@\box\tw@\hss}% - \else - \wd\tw@#1\wd\z@ - \box\tw@ - \fi} -\def\reflectbox{\Gscale@box-1[1]} -\def\resizebox{% - \leavevmode - \@ifstar{\Gscale@@box\totalheight}{\Gscale@@box\height}} -\def\Gscale@@box#1#2#3{% - \let\@tempa\Gin@exclamation - \expandafter\def\expandafter\@tempb\expandafter{\string#2}% - \expandafter\def\expandafter\@tempc\expandafter{\string#3}% - \ifx\@tempb\@tempa - \ifx\@tempc\@tempa - \toks@{\mbox}% - \else - \toks@{\Gscale@box@dd{#3}#1}% - \fi - \else - \ifx\@tempc\@tempa - \toks@{\Gscale@box@dd{#2}\width}% - \else - \toks@{\Gscale@box@dddd{#2}\width{#3}#1}% - \fi - \fi - \the\toks@} -\long\def\Gscale@box@dd#1#2#3{% - \@begin@tempboxa\hbox{#3}% - \setlength\@tempdima{#1}% - \setlength\@tempdimb{#2}% - \Gscale@div\@tempa\@tempdima\@tempdimb - \Gscale@box\@tempa[\@tempa]{\box\@tempboxa}% - \@end@tempboxa} -\long\def\Gscale@box@dddd#1#2#3#4#5{% - \@begin@tempboxa\hbox{#5}% - \setlength\@tempdima{#1}% - \setlength\@tempdimb{#2}% - \Gscale@div\@tempa\@tempdima\@tempdimb - \setlength\@tempdima{#3}% - \setlength\@tempdimb{#4}% - \Gscale@div\@tempb\@tempdima\@tempdimb - \ifGin@iso - \ifdim\@tempa\p@>\@tempb\p@ - \let\@tempa\@tempb - \else - \let\@tempb\@tempa - \fi - \fi - \Gscale@box\@tempa[\@tempb]{\box\@tempboxa}% - \@end@tempboxa} -\newif\ifGin@iso -\def\Gscale@div#1#2#3{% - \setlength\dimen@{#3}% - \ifdim\dimen@=\z@ - \PackageError{graphics}{Division by 0}\@eha - \dimen@#2% - \fi - \edef\@tempd{\the\dimen@}% - \setlength\dimen@{#2}% - \count@65536\relax - \ifdim\dimen@<\z@ - \dimen@-\dimen@ - \count@-\count@ - \fi - \ifdim\dimen@>\z@ - \loop - \ifdim\dimen@<8192\p@ - \dimen@\tw@\dimen@ - \divide\count@\tw@ - \repeat - \dimen@ii\@tempd\relax - \divide\dimen@ii\count@ - \divide\dimen@\dimen@ii - \fi - \edef#1{\strip@pt\dimen@}} -\Gin@codes -\let\Gin@codes\relax -\endinput -%% -%% End of file `graphics.sty'. diff --git a/Build/source/texk/xdvipdfmx/contrib/patches/glyphlist-cm-add.txt b/Build/source/texk/xdvipdfmx/contrib/patches/glyphlist-cm-add.txt deleted file mode 100644 index ba8497776e6..00000000000 --- a/Build/source/texk/xdvipdfmx/contrib/patches/glyphlist-cm-add.txt +++ /dev/null @@ -1,76 +0,0 @@ -# Additional entries for CMR10, CMMI10, CMSY10 -# -# CMR10 -# suppress -> COMBINING SHORT SOLIDUS OVERLAY -#supress;0337 -# CMMI10 -# tie -> COMBINING INVERTED BREVE -# vector -> COMBINING RIGHT ARROW ABOVE -# arrowhookleft, arrowhookright missing -# -pi1;03D6 -rho1;03F1 -arrowlefttophalf;21BC -arrowleftbothalf;21BD -arrowrighttophalf;21C0 -arrowrightbothalf;21C1 -triangleright;25C3 -triangleleft;25B9 -flat;266D -natural;266E -sharp;266F -slurbelow;2323 -slurabove;2322 -lscript;2113 -vector;20D7 -epsilon1;03F5 -star;22C6 -#tie;0311 -# CMSY10 -# owner -> CONTAINS AS MEMBER -# circlecopyrt -> COMBINING ENCLOSING CIRCLE -# mapsto + [RIGHTWARDS ARROW] -> [RIGHTWARDS ARROW FROM BAR] -arrownortheast;2197 -arrowsoutheast;2198 -similarequal;2245 -arrownorthwest;2196 -arrowsouthwest;2199 -prime;2032 -owner;220B -triangle;25B3 -triangleinv;25BD -negationslash;0338 -#mapsto;21A6 -Rfractur;211C -Ifractur;2111 -latticetop;22A4 -unionmulti;228E -turnstileleft;22A2 -turnstileright;22A3 -floorleft;230A -floorright;230B -ceilingleft;2308 -ceilingright;2309 -angbracketleft;2329 -angbracketright;232A -bardbl;2225 -arrowbothv;2195 -arrowdblbothv;21D5 -wreathproduct;2240 -coproduct;2210 -unionsq;2294 -intersectionsq;2293 -subsetsqequal;2286 -supersetsqequal;2287 -diamondmath;22C4 -circleminus;2296 -circledivide;2298 -circledot;2299 -circlecopyrt;20DD -equivasymptotic;2243 -precedesequal;227C -followsequal;227D -lessmuch;226A -greatermuch;226B -follows;227B -#--end diff --git a/Build/source/texk/xdvipdfmx/contrib/patches/patch-ebb-artbox.diff b/Build/source/texk/xdvipdfmx/contrib/patches/patch-ebb-artbox.diff deleted file mode 100644 index 7c9ff45c660..00000000000 --- a/Build/source/texk/xdvipdfmx/contrib/patches/patch-ebb-artbox.diff +++ /dev/null @@ -1,103 +0,0 @@ ---- ebb.c.orig Fri Jun 29 04:55:26 2001 -+++ ebb.c Tue Dec 2 11:48:16 2003 -@@ -40,7 +40,7 @@ - #endif - - #define EBB_PROGRAM "ebb" --#define EBB_VERSION "Version 0.5.2" -+#define EBB_VERSION "Version 0.5.2 (+ArtBox)" - - static void usage (void) - { -@@ -51,11 +51,13 @@ - fprintf (stderr, "under certain conditions. Details are distributed with the software.\n"); - fprintf (stderr, "\nUsage: [-v] [-b] ebb [files]\n"); - fprintf (stderr, "\t-b\t\tWrite .bb file in binary mode\n"); -+ fprintf (stderr, "\t-c\t\tUse MediaBox/CropBox for BoundingBox. (PDF)\n"); - fprintf (stderr, "\t-v\t\tVerbose\n"); - exit(1); - } - - static char verbose = 0; -+static char compat = 0; - - static void do_time(FILE *file) - { -@@ -189,7 +191,7 @@ - - void do_pdf (FILE *file, char *filename) - { -- pdf_obj *trailer, *catalog, *page_tree, *media_box, *crop_box; -+ pdf_obj *trailer, *catalog, *page_tree, *media_box, *crop_box, *rotate; - pdf_obj *kids_ref, *kids, *tmp1; - if (verbose) { - fprintf (stderr, "%s looks like a PDF file...", filename); -@@ -211,6 +213,7 @@ - /* Media box can be inherited so start looking for it now */ - media_box = pdf_deref_obj (pdf_lookup_dict (page_tree, "MediaBox")); - crop_box = pdf_deref_obj (pdf_lookup_dict (page_tree, "CropBox")); -+ rotate = pdf_deref_obj(pdf_lookup_dict(page_tree, "Rotate")); - while ((kids_ref = pdf_lookup_dict (page_tree, "Kids")) != NULL) { - kids = pdf_deref_obj (kids_ref); - pdf_release_obj (page_tree); -@@ -228,15 +231,43 @@ - pdf_release_obj (crop_box); - if (tmp1) - crop_box = tmp1; -+ tmp1 = pdf_deref_obj(pdf_lookup_dict(page_tree, "Rotate")); -+ if (tmp1 && rotate) -+ pdf_release_obj (rotate); -+ if (tmp1) -+ rotate = tmp1; - } -+ -+ if (crop_box) { -+ pdf_release_obj(media_box); -+ media_box = crop_box; -+ } -+ -+ if (!compat) { -+ pdf_obj *tmp; -+ -+ if ((tmp = pdf_deref_obj(pdf_lookup_dict(page_tree, "TrimBox")))) { -+ if (media_box) -+ pdf_release_obj(media_box); -+ media_box = tmp; -+ } -+ if ((tmp = pdf_deref_obj(pdf_lookup_dict(page_tree, "BleedBox")))) { -+ if (media_box) -+ pdf_release_obj(media_box); -+ media_box = tmp; -+ } -+ if ((tmp = pdf_deref_obj(pdf_lookup_dict(page_tree, "ArtBox")))) { -+ if (media_box) -+ pdf_release_obj(media_box); -+ media_box = tmp; -+ } -+ if (rotate && pdf_number_value(rotate) != 0.0) -+ fprintf(stderr, "\n<< /Rotate %d >> found.\n", (int)pdf_number_value(rotate)); -+ } -+ - /* At this point, we should have the media box for the first page */ - { - pdf_obj *bbllx, *bblly, *bburx, *bbury; -- if (crop_box) { -- pdf_release_obj (media_box); -- media_box = crop_box; -- crop_box = NULL; -- } - if ((bbllx = pdf_get_array (media_box, 0)) == NULL || - (bblly = pdf_get_array (media_box, 1)) == NULL || - (bburx = pdf_get_array (media_box, 2)) == NULL || -@@ -267,6 +298,11 @@ - bb_file_mode = FOPEN_WBIN_MODE; - case 'v': - verbose = 1; -+ argc -= 1; -+ argv += 1; -+ break; -+ case 'c': -+ compat = 1; - argc -= 1; - argv += 1; - break; diff --git a/Build/source/texk/xdvipdfmx/doc/CJK-CID.txt b/Build/source/texk/xdvipdfmx/doc/CJK-CID.txt deleted file mode 100644 index 8089a1773ba..00000000000 --- a/Build/source/texk/xdvipdfmx/doc/CJK-CID.txt +++ /dev/null @@ -1,76 +0,0 @@ -Traditional Chinese: Adobe-CNS1 - Supplement 0 of Adobe-CNS1 provides supports for Big - five and CNS 11643-1992 (Planes 1 and 2 only) character - set standard (CIDs 0 through 14098) - This contains glyphs for basic support for traditional - Chinese. - Supplement 1: Adds 3,309 glyphs and provides support for - the Hong Kong GCCS, and some of extensions and vender - specific character set from Monotype and Dynalab. - Supplement 2: Ignore this. Additional proportional and - half-width Latin glyphs and pre-rotated forms. - Supplement 3: Adds 1245 glyphs (CIDs from 17601 to 18845) - Adds glyphs for fully supporting Hong Kong SCS. - Supplement 4: Adds 119 new CIDs (from 18846 to 18964) for - supporting addition to HKSCS made in 2001. - - Acrobat/Adobe Reader fonts: - MSung-Light-Acro: Adobe-CNS1-0 (Reader 4) - MHei-Medium-Acro: Adobe-CNS1-0 (Reader 4) - MSungStd-Light-Acro: Adobe-CNS1-4 (Reader 5) - AdobeMingStd-Light: Adobe-CNS1-4 (Reader 6) - - Examples: - - % For using never-embedded Acrobat font. - % You don't need to make those fonts visible to - % dvipdfmx (Don't do that, your are not allowed - % to "use" those fonts with dvipdfmx). Use Adobe or - % Acrobat Reader (with Asian font pack) to view and - % print documents. - b5sl@Big5@ ETen-B5-H MSung-Light-Acro - b5sm@Big5@ ETen-B5-H MHei-Medium-Acro - % sung-cid here is 16-bit CID encoded font. - % You should not use proportinal glyphs unless you - % embed fonts. - sung-cid Adobe-CNS1-4 MSungStd-Light-Acro - % Unicode - sung@Unicode@ UniCNS-UCS2-H MSungStd-Light-Acro - -Simplified Chinese: Adobe-GB1-0 - Supplement 0 of Adobe-GB1 provided support for GB 2312-80 - and GB 1988-89 character set standards. (7,717 glyphs) - Supplement 1: Adds 2,180 glyphs (upto CID 9896) and - provided support for GB/T 12345-90. - Supplement 2: Adds 12,230 glyphs (CIDs 9897 through 22126) - Support for GBK character set standard (GB 13000.1-93) - Supplement 3: Latin glyphs (esp. pre-rotated). Ignore this. - Supplement 4: Adds 6,712 glyphs (CIDs 22353 to 29064). - The major part of addition is to cover the Unicode block - "Unified Han Ideographs Extension A" (Unicode 3.0). - - Acrobat/Adobe Reader fonts: - STSong-Light-Acro: Adobe-GB1-2 (Reader 4) - STSongStd-Light-Acro: Adobe-GB1-4 (Reader 5) - AdobeSongStd-Light: Adobe-GB1-4 (Reader 6) - -Korean: Adobe-Korea1 - - Acrobat/Adobe Reader fonts: - HYGoThic-Medium-Acro: Adobe-Korea1-1 (Reader 4) - HYSMyeongJo-Medium-Acro: Adobe-Korea1-1 (Reader 4) - HYSMyeongJoStd-Medium-Acro: Adobe-Korea1-2 (Reader 5) - AdobeMyungjoStd-Medium-Acro: Adobe-Korea1-2 (Reader 6) - AdobeMyungJoStd-Medium: Adobe-Korea1-2 (Reader 7) - -Japanese: Adobe-Japan1 - - Acrobat/Adobe Reader fonts: - HeiseiMin-W3-Acro: Adobe-Japan1-2 (Reader 4) - HeiseiKakuGo-W5-Acro: Adobe-Japan1-2 (Reader 4) - KozMinPro-Regular-Acro: Adobe-Japan1-4 (Reader 5) - KozGoPro-Medium: Adobe-Japan1-4 (Reader 6) - KozMinProVI-Regular: Adobe-Japan1-6 (Reader 7) - - - diff --git a/Build/source/texk/xdvipdfmx/doc/images/dvipdfm-cjk.png b/Build/source/texk/xdvipdfmx/doc/images/dvipdfm-cjk.png Binary files differdeleted file mode 100644 index eac8098091a..00000000000 --- a/Build/source/texk/xdvipdfmx/doc/images/dvipdfm-cjk.png +++ /dev/null diff --git a/Build/source/texk/xdvipdfmx/doc/images/dvipdfmx-logo.png b/Build/source/texk/xdvipdfmx/doc/images/dvipdfmx-logo.png Binary files differdeleted file mode 100644 index 8e8dc2a1f3e..00000000000 --- a/Build/source/texk/xdvipdfmx/doc/images/dvipdfmx-logo.png +++ /dev/null diff --git a/Build/source/texk/xdvipdfmx/doc/images/dvipdfmx.png b/Build/source/texk/xdvipdfmx/doc/images/dvipdfmx.png Binary files differdeleted file mode 100644 index aaa94d984c7..00000000000 --- a/Build/source/texk/xdvipdfmx/doc/images/dvipdfmx.png +++ /dev/null diff --git a/Build/source/texk/xdvipdfmx/doc/images/right_triangle.png b/Build/source/texk/xdvipdfmx/doc/images/right_triangle.png Binary files differdeleted file mode 100644 index 9b9b0d97ee9..00000000000 --- a/Build/source/texk/xdvipdfmx/doc/images/right_triangle.png +++ /dev/null diff --git a/Build/source/texk/xdvipdfmx/doc/images/rightarrow.png b/Build/source/texk/xdvipdfmx/doc/images/rightarrow.png Binary files differdeleted file mode 100644 index 5a82e71f1cc..00000000000 --- a/Build/source/texk/xdvipdfmx/doc/images/rightarrow.png +++ /dev/null diff --git a/Build/source/texk/xdvipdfmx/doc/tug2003.pdf b/Build/source/texk/xdvipdfmx/doc/tug2003.pdf Binary files differdeleted file mode 100644 index ce1536a7187..00000000000 --- a/Build/source/texk/xdvipdfmx/doc/tug2003.pdf +++ /dev/null diff --git a/Build/source/texk/xdvipdfmx/index.html b/Build/source/texk/xdvipdfmx/index.html deleted file mode 100644 index c92726c4bd7..00000000000 --- a/Build/source/texk/xdvipdfmx/index.html +++ /dev/null @@ -1,640 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> -<html lang="en-US"> -<head> - <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> - <meta http-equiv="Content-Language" content="en-US"> - <title>The DVIPDFMx Project</title> - <base href="http://project.ktug.or.kr/dvipdfmx/"> - <meta name="author" content="The DVIPDFMx Project Team"> - <meta name="keywords" content="DVIPDFMx, dvipdfm, DVI, PDF, TeX, Chinese, Japanese, Korean, CJK"> - <meta name="description" content="DVIPDFMx - a DVI to PDF converter"> - <meta name="revised" content="Wed, 07 May 2005 01:23:22 +0900"> - <meta name="copyright" content="Copyright (C) 2002-2005, The DVIPDFMx Project Team"> - <link rev="made" href="mailto:dvipdfmx@project.ktug.or.kr"> - <link rel="stylesheet" href="style_base.css" type="text/css" media="all"> - <link rel="stylesheet" title="Plain" href="style_plain.css" type="text/css" media="all"> - <link rel="alternate stylesheet" title="Screen" href="style_dflt.css" type="text/css" media="all"> - <!--[if IE]> - <link rel="stylesheet" href="style_ie.css" type="text/css" media="screen"> - <![endif]--> - <!-- script type="text/javascript" src="stylesel.js"></script --> -</head> - -<body lang="en-US"> - -<div id="navmenu" class="menu" title="Navigation Menu"> - <p><a href="#title" title="top">Top</a></p> - <p><a href="#news" title="Recent News">News</a></p> - <p><a href="#sec-download" title="Download">Obtain...</a></p> - <p><a href="#sec-features" title="Features">Features</a></p> - <p><a href="#sec-examples" title="Examples">Examples</a></p> - <p><a href="#sec-resource" title="Resource">Resources</a></p> -</div> - - -<div id="contents" class="contents"> - -<h1 id="title">THE DVIPDFM<i>x</i> PROJECT</h1> - -<p class="abstract"> -The <dfn title="extended dvipdfm">DVIPDFMx</dfn> project provides an eXtended version of the -<dfn><a title="The dvipdfm Development Homepage" href="http://gaspra.kettering.edu/dvipdfm/">dvipdfm</a></dfn>, -a <abbr title="Device Independent">DVI</abbr> format to <abbr title="Portable Document Format">PDF</abbr> translator -developed by <span class="person">Mark A. Wicks</span>. - -The primary goal of this project is to support multi-byte character encodings and large character sets for East Asian -languages by <abbr title="Character Identifier">CID</abbr>-keyed font technology. -The secondary goal is to support as many features as -<span><a title="The pdfTeX Development Homepage" href="http://www.tug.org/applications/pdftex/">pdfTeX</a></span> -developed by <span class="person">Hàn Thê Thành</span>. - -This project is a combined work of the <span>dvipdfm-jpn</span> project by -<!-- <span class="person" lang="ja-JP">平田 俊作</span> (Hirata, Shunsaku) --> -<span class="person">Shunsaku Hirata</span> -and its modified one, <span>dvipdfm-kor</span> by -<!-- <span class="person" lang="ko-KR">趙 珍煥</span> (Cho, Jin-Hwan). --> -<span class="person">Jin-Hwan Cho</span>. -</p> - -<p class="annot"> -Choosing stylesheet <q>Screen</q> will show side-menu and -select sans-serif font at smaller size, and -stylesheet <q>Plain</q> will hide side-menu and select -serif font at medium size. -</p> - -<h2 id="news">What's New</h2> - -<div id="changelog"> -<ul class="log"> - <li><div class="item"><span class="date">2005-05-05</span> Bug Fix in PK Font Generation</div> - <p class="desc"> - Dvipdfmx-20040912 and 20050201 had a bug that it fails to generate PK font. - Patch: - <a href="snapshot/patch/tfm-c-20050201.diff">diff to <span class="file">src/tfm.c</span></a> - for 20040902-20050504. - </p> - </li> - <li><div class="item"><span class="date">2005-03-05</span> Bug Fix in MetaPost Support</div> - <p class="desc"> - Dvipdfmx-20040824 and 20050201 had a bug that it doesn't correctly handle text strings in MetaPost output. - (CJK-LaTeX and HLaTeX users are affected.) - Patch: - <a href="snapshot/patch/mpost-c-20050201.diff">diff to <span class="file">src/mpost.c</span></a> - for 20050201-20050304. - </p> - </li> - <li><div class="item"><span class="date">2005-02-01</span> Important Note</div> - <p class="desc"> - A few bugs were fixed, which occurred either in subfont scheme, e.g., CJK-LaTeX or HLaTeX, or in Truetype - fonts with CIDType2 format. We encourage the users to recompile the source in the - <a href="http://cvs.ktug.or.kr/viewcvs/dvipdfmx/">CVS repository</a> (with the tag DVIPDFMX-20050201). - For MiKTeX 2.4 users, see note in the section <q><a href="#sec-package">Binary Packages</a></q>. - </p> - </li> - <li><div class="item"><span class="date">2005-08-03</span> Graphics and Image Support</div> - <p class="desc"> - Experimental embedded <abbr>ICC</abbr> profile - support for <abbr>JPEG</abbr> and <abbr>PNG</abbr> format images. - <abbr>BMP</abbr> image format is supported. - Bug fixes on <code>TPIC</code> support. - </p> - </li> - <li><div class="item"><span class="date">2004-08-03</span> Unicode Support</div> - <p class="desc"> - A new encoding keyword "unicode" can be specified in fontmap - file for TrueType and Type1 font. - TrueType font must have Windows UCS2 (format 4) or UCS4 (format - 12) cmap subtable. Glyph list file (PS glyph name to Unicode - mapping) is required for Type1 font support. - Automatic creation and embedding of ToUnicode CMap is available - for Type 1, TrueType, and OpenType font. - </p> - </li> -</ul> -</div> - -<h2 id="sec-download">Obtaining Dvipdfmx</h2> - -<p class="abstract"> -The DVIPDFM<i>x</i> project basically does not offer pre-compiled binary packages. -See, the section <q><a href="#sec-package">Binary Packages</a></q> for obtaining binary packages -for each platforms. -</p> - -<h3 id="sec-source">Source Code</h3> - -<p> -You can obtain the latest snapshot from <a href="snapshot/">http://project.ktug.or.kr/dvipdfmx/snapshot/</a>. -An anonymous access to the -<abbr title="Concurrent Version System">CVS</abbr> repository -is also available: You can update your local copy of DVIPDFMx source code via following commands: -</p> - -<pre title="Instruction On Anonymous CVS Access"> -cvs -d:pserver:anonymous@cvs.ktug.or.kr:/home/cvsroot login -cvs -d:pserver:anonymous@cvs.ktug.or.kr:/home/cvsroot co dvipdfmx -</pre> - -<p> -When prompted for a password for <code>anonymous</code> account, just press the <kbd>Enter</kbd> key. -You can browse <abbr>CVS</abbr> repositories through browser interface at -<a href="http://cvs.ktug.or.kr/viewcvs/dvipdfmx/">http://cvs.ktug.or.kr/viewcvs/dvipdfmx/</a>. -</p> - -<p> -To compile dvipdfmx, you need at least the kpathsea library which is used for finding location of -various resource files, and dvipdfmx won't work without this library properly installed. -Kpathsea library version heigher than 3.3 is recommended. - -In addition to this, the -<a title="Go To Zlib Homepage" href="http://www.gzip.org/zlib/">zlib</a> -data-compression library is required for compression support. -Both zlib and -<a title="Go To Libpng Homepage" href="http://www.libpng.org/pub/png/libpng.html">libpng</a> -library is required for reading <abbr title="Portable Network Graphics">PNG</abbr> format image files. -Dvipdfmx optionally support <span>libpaper</span> library for handling paper sizes. -Please read <span class="file"><a href="README">README</a></span> file for more details. -</p> - -<div class="important"> -<!--[if IE]><p>Important Note:</p><![endif]--> -<p class="note"> -Default search path for various resource files required by dvipdfmx, namely -<abbr>SFD</abbr>, CMap, and OpenType font files, may be different in recent -installation of TeX, and dvipdfmx may fail to find those files if you update kpathsea library and dvipdfmx -without adjusting existing <code>texmf</code> directory structure. -In this case, please follow the instruction described -in the section <cite><q>TeX Directory Structure (TDS)</q></cite> -of <span class="file"><a href="README">README</a></span> file. -</p> -</div> - - -<h3 id="sec-package">Binary Packages</h3> - -<ul> - <li><div class="item">MiKTeX : - <a title="MiKTeX Development Homepage" href="http://www.miktex.org">http://www.miktex.org</a> - </div> - <p class="desc"> - An up-to-date implementation of TeX and related programs for Microsoft Windows - maintained by <span class="person">Christian Schenk</span>. - Cabinet binary packages of dvipdfmx for MiKTeX version 2.2, 2.3, and 2.4 - is available - from <span class="file"><a href="snapshot/miktex/">snapshot/miktex/</a></span> - directory of the <a href=".">dvipdfmx project site</a>. - </p> - </li> - <li><div class="item">W32TeX : - <a href="http://www.fsci.fuk.kindai.ac.jp/kakuto/win32-ptex/">http://www.fsci.fuk.kindai.ac.jp/kakuto/win32-ptex/</a> - </div> - <p class="desc"> - A TeX package for Microsoft Windows platforms based on Web2c, maintained by <span class="person">Akira Kakuto</span>; - including <span>pTeX</span>, <span>jTeX</span>, <span>GhostScript</span> and many other localized version of TeX - related programs especially useful for typesetting Japanese text. - </p> - </li> -</ul> - -<div class="important"> -<!--[if IE]><p>Important Note:</p><![endif]--> -<div class="note"> -<p> -DVIPDFMx in the MiKTeX 2.4 distribution does not work smoothly due to several reasons. -We encourage users to update as follows: -</p> - -<ol> - <li> - <p class="desc"> - Download the latest version of dvipdfmx program executable - <span class="file"><a href="snapshot/miktex/2.4/dvipdfmx.exe">dvipdfmx.exe</a></span>, - an update for MiKTeX 2.4 configuration file - <span class="file"><a href="snapshot/miktex/2.4/miktex.ini">miktex.ini</a></span> - for dvipdfmx, and an archive file - <span class="file"><a href="snapshot/miktex/2.4/ttf2pk.zip">ttf2pk.zip</a></span> - (a collection of various <abbr>SFD</abbr> files) from - <span class="file"><a href="snapshot/miktex/2.4/">snapshot/miktex/2.4/</a></span> - directory of the <a href=".">dvipdfmx project site</a>. - And obtain <q>Adobe Glyph List 2.0</q> from the - <a href="http://partners.adobe.com/public/developer/en/opentype/glyphlist.txt">Adobe's Developers site</a> - (rename it as <span class="file">glyphlist.txt</span> if file name is different). - </p> - <li> - <p class="desc"> - Replace dvipdfmx program executable - <span class="file">C:\texmf\miktex\bin\dvipdfmx.exe</span> with the one downloaded above. - </p> - </li> - <li> - <p class="desc"> - Update your MiKTeX configuration file - <span class="file">C:\texmf\miktex\config\miktex.ini</span> - by replacing it with the one obtained above, or modify that manually as appropriate if you have your - own settings (i.e., the configuration is different from the initial installation). - The required changes are search path sections of <code>ttf2pk</code> and <code>ttf2tfm</code> programs. - </p> - </li> - <li> - <p class="desc"> - Extract the archive file <span class="file">ttf2pk.zip</span> into the directory - <span class="file">C:\texmf</span> (or in other adequate places). - </p> - </li> - <li> - <p class="desc"> - Place <span class="file">glyphlist.txt</span> file under the <span>dvipdfmx</span> - application data directory, e.g., <span class="file">C:\texmf\dvipdfm</span>. - </p> - </li> -</ol> -</div> -</div> - - -<h2 id="sec-features">Features</h2> - -<p class="abstract"> -Most features and enhancement added to <span>dvipdfm</span> is related to multi-byte encoding -and font support, especially for supporting <abbr title="Chinese Japanese Korean">CJK</abbr> languages. -</p> - - -<h3>Font and Encoding</h3> - -<p> -Dvipdfmx supports various encodings in rather unintuitive way (due to various reasons). -For 8-bits encodings, it supports <q><code>.enc</code></q> format glyph encoding -file (used by <code>dvips</code> program) with few extensions undocumented here and -<q>remapping</q> of a set of 8-bit encoded TeX fonts to a single double-byte font with -<abbr title="Subfont Definition">SFD</abbr> file support. And it can also support various -multibyte encodings (excluding state-full encoding) by loading PostScript CMap resource. -Not all encodings are supported depending on format of font to be used. -</p> - -<p> -The following font formats are supported: -</p> - -<ul> - <li><div class="item">PostScript Type1</div> - <p class="desc"> - PostScript Type1 format font is supported as in dvipdfm, - but they are converted to <abbr title="Compact Font Format">CFF</abbr> - format (for reducing <abbr>PDF</abbr> file size when compression is enabled) - and always embedded as a font subset. Currently usable only with - 8-bit encodings. - Multiple-Master font is not supported yet. - </p> - </li> - <li><div class="item">OpenType</div> - <p class="desc"> - All flavours of OpenType fonts is supported: OpenType font with PostScript - outline, TrueType outline, and as <abbr>CID</abbr>Font in an OpenType - <q>wrapper</q>. However, as dvipdfmx is <em>not</em> a text manipulation - program nor layout program, it supports only a part of OpenType features; - partial support for OpenType <code>GSUB</code> Layout table just enough - for supporting vertical writing, some of ligatures, small-caps, and so on. - </p> - </li> - <li><div class="item">TrueType</div> - <p class="desc"> - Both TrueType and <abbr title="TrueType Collection">TTC</abbr> format is supported. - There are several enhancement to dvipdfm including font subsetting. - They may be embedded as a TrueType font or as a <code>CIDFontType</code> 2 CIDFont. - </p> - </li> -</ul> - - -<h3>PDF Encryption</h3> - -<p> -Encrypted <abbr>PDF</abbr> files can be generated if the <code>-S</code> -option is given. The key bits (40-128 bits) and the permission flags are -specified either in the configuration file <code>dvipdfmx.cfg</code> or -with command line options <code>-K</code> (for key bits) -and <code>-P</code> (for permission flags). -</p> - -<h3>Graphics Support</h3> - -<p> -All graphics format supported in dvipdfm is also supported in dvipdfmx -with few improvement: -A little enhancement on <abbr>PDF</abbr> inclusion (can handle dvipdfm -output <abbr>PDF</abbr>). -Improved <abbr title="Portable Network Graphics">PNG</abbr> support; -alpha channel and <code>tRNS</code> chunk is fully supported. -Indexed-color image is no longer converted to 24-bit -<abbr title="Red Green Blue">RGB</abbr> color image. -Experimental embedded -<abbr title="International Color Consortium">ICC</abbr> profile -support for <abbr title="Joint Photographic Experts Group">JPEG</abbr> -and <abbr>PNG</abbr> format images. -Windows <abbr>BMP</abbr> format is also supported in dvipdfmx. -</p> - -<p> -Nearly arbitrary graphics format can be supported with the help of external -program as long as they can be translated into single page <abbr>PDF</abbr> -<q>image</q> (like dvipdfm). -There are few improvement on interpreting and translating PostScript code -inserted with <code>\special</code> command or read from MetaPost output -PostScript files. But there are still many limitations and restrictions. -</p> - -<h2 id="sec-examples">Examples</h2> - -<p class="abstract"> -Sample outputs of dvipdfmx is available from the <span class="file"><a href="sample">sample/</a></span> -directory of the <a href=".">dvipdfmx project site</a>. -</p> - -<p class="annot"> -Some of examples presented in this section contains embedded -<abbr>CJK</abbr> TrueType fonts. You need a <abbr>PDF</abbr> viewer supporting -at least PDF version 1.3. For printing with PostScript printers, -you may need <abbr>CID</abbr>-keyed font supporting printer, -depending on how PDF files are converted to PostScript format. -</p> - -<h3>ConTeXt</h3> - -<p> -Most of examples are contributed by <span class="person">Lei Wang</span>. -</p> - -<ul> - <li><div class="item">Chinese Zodiac</div> - <p class="desc"> - Nice example by <span class="person">Lei Wang</span>. - Chinese zodiac and it's explanation: - <a href="sample/context/zodiac.pdf">zodiac.pdf</a>. - <span class="note">This document will be opened in fullscreen mode. Please press <kbd>ESC</kbd> key - to show menu bar in Adobe Reader.</span> - </p> - </li> - <li><div class="item">Examples contributed by Lei Wang</div> - <p class="desc"> - ConTeXt examples with Chinese. GBK encoding is used in source files. - TrueType font embedded in <abbr>PDF</abbr>. - Bookmarks - [<a href="sample/context/bookmark.pdf">PDF (bookmark.pdf)</a>, - <a href="sample/context/bookmark.tex">TeX (bookmark.tex)</a>], - PDF Interaction - [<a href="sample/context/help-test.pdf">PDF (help-test.pdf)</a>, - <a href="sample/context/help-test.tex">TeX (help-test.tex)</a>], - and MetaPost graphics - [<a href="sample/context/mp-test.pdf">PDF (mp-test.pdf)</a>, - <a href="sample/context/mp-test.tar.gz">source archive (mp-test.tar.gz)</a>]. - </p> - </li> - <li><div class="item">Other ConTeXt Examples</div> - <p class="desc"> - Page Size Changes - [<a href="sample/context/papersize.pdf">PDF (papersize.pdf)</a>, - <a href="sample/context/papersize.tex">TeX (papersize.tex)</a>] - and Color Shading Example - [<a href="sample/context/color-shading.pdf">PDF (color-shading.pdf)</a>, - <a href="sample/context/color-shading.tex">TeX (color-shading.tex)</a>]. - </p> - </li> -</ul> - - -<h3>CJK-LaTeX Package</h3> - -<p> -A <span class="file"><a href="testsuite">testsuite</a></span> for testing CJK-LaTeX compatibility is -available: -<span class="file"><a href="testsuite/testsuite_cjk-latex.tar.gz">testsuite_cjk-latex.tar.gz</a></span> -containing <span class="file">cjkmix2</span> for testing various <abbr>CJK</abbr> encodings and -TrueType font support with CJK-LaTeX package + dvipdfmx. -</p> - -<ul> - <li><div class="item"><a href="sample/cjk-latex/hunmin.pdf">HunMinJeongEum</a></div> - <p class="desc"> - TrueType font embedded, 88K bytes. Contributed by <span class="person">Kangsoo Kim</span>. - </p> - </li> - <li><div class="item"><a href="sample/cjk-latex/kwandong.pdf">KwanDongByeolGok</a></div> - <p class="desc"> - TrueType embedded, 257K bytes. - </p> - </li> - <li><div class="item"><a href="sample/cjk-latex/unicode.pdf">UTF8 text with several languages mixed</a></div> - <p class="desc"> - Bitstream Cyberbit TrueType font is embedded, 43K bytes. - </p> - </li> -</ul> - - -<h3>HLaTeX Package</h3> - -<ul> - <li><div class="item"><a href="sample/hlatex/msfonts-kor.pdf">Korean MS-Windows TrueType Fonts</a></div> - <p class="desc"> - KS encoding was used in the source. TrueType (no embedded font) with stylistic variants, 19K bytes. - You need MS-Windows Korean TrueType fonts, <code>batang.ttc</code> and <code>gulim.ttc</code>. - </p> - </li> - <li><div class="item"><a href="http://www.ktug.or.kr/doc/lshort-kr/lshort-kr-sandol.pdf">The Not So Short Introduction to LaTeX2e (Korean)</a></div> - <p class="desc"> - KS encoding. TrueType embedded, 1.1M bytes. - Contributed by the lshort-kr project team. - </p> - </li> -</ul> - -<h2><a name="sec-resource">Resources</a></h2> - -<p class="abstract"> -This section contains documents related to DVIPDFMx, some useful information for -typesetting <abbr>CJK</abbr> text with TeX, and a small list of freely available fonts, etc... -</p> - -<h3>DVIPDFM<i>x</i> Documents</h3> - -<p> -There are no <abbr title="Hyper Text Markup Language">HTML</abbr> nor <abbr>PDF</abbr> manulas for dvipdfmx -available yet, -however, as dvipdfmx is an extended version of dvipdfm, basic usage is not different from the -original one. Please refer <cite><q>The Dvipdfm User's Manual</q></cite> and other documents contained in -<a href="http://gaspra.kettering.edu/dvipdfm/">dvipdfm</a> distribution. -The <span class="file"><a href="README">README</a></span> file may contain brief instruction for installation, -short description of additional resources, and summary of extension made in dvipdfmx. -There are few documents related to dvipdfmx available from the <span class="file"><a href="doc">doc/</a></span> -section of the <a href=".">dvipdfmx project site</a>: -<cite><q><a href="doc/tug2003.pdf">DVIPDFM<i>x</i>, an eXtension of DVIPDFM</a></q></cite>, -PDF version of presentation given at the <abbr title="TeX Users Group">TUG</abbr> 2003 conference. -</p> - -<h3>TeX Related, LaTeX Packages, and Extended TeX</h3> - -<ul> - <li> - <div class="item">Aleph</div> - <p class="desc"> - <cite title="Cited from Aleph entry of TeX FAQ" lang="en"> - <q>The Aleph project aims to build a <q>usable</q> version of Omega, incorporating e-TeX extensions - from the NTS project.</q> - </cite> - Some information and link to Aleph package can be found in the - <a href="http://www.tex.ac.uk/cgi-bin/texfaq2html?label=aleph">Aleph</a> entry of - the <a href="http://www.tex.ac.uk/faq">TeX FAQ</a> - and <a href="http://www.pragma-ade.com/general/manuals/aleph.pdf">Aleph manual</a> (link to <abbr>PDF</abbr> file) - available from <a href="http://www.pragma-ade.com/">www.pragma-ade.com</a>. - </p> - </li> - <li><div class="item"> - <a title="ASCII pTeX Homepage" href="http://www.ascii.co.jp/pb/ptex/">ASCII pTeX</a> - </div> - <p class="desc"> - A localized (Japanese) version of TeX. - Extensions for typesetting Japanese text and vertical writing. - </p> - </li> - <li><div class="item"> - <a title="CJK-LaTeX Homepage" href="http://cjk.ffii.org/">CJK-LaTeX</a> - </div> - <p class="desc"> - A <span title="LaTeX 2e">LaTeX 2ε</span> macro package which enables the use of CJK scripts (Chinese/Japanese/Korean) in - various encodings, written by <span class="person">Werner Lemberg</span>. - </p> - </li> - <li><div class="item"><a title="Go To ConTeXt Development Homepage" href="http://www.pragma-ade.com/">ConTeXt</a></div> - <p class="desc"> - The ConTeXt driver file <a href="contrib/context/spec-dpx.tex">spec-dpx.tex</a> - for DVIPDFMx is contained in the - <a href="http://www.pragma-ade.com/beta.htm">beta version of ConTeXt</a> - since December 4, 2002. - Choose <code>dvipdfmx</code> as output option. - </p> - </li> - <li><div class="item"><a href="http://project.ktug.or.kr/hlatex/">HLaTeX</a></div> - <p class="desc"> - Packages for typesetting Korean language with LaTeX, includes Korean localization and fonts. - </p> - </li> - <li><div class="item"><a href="http://oku.edu.mie-u.ac.jp/~okumura/texfaq/">Japanese TeX FAQ</a></div> - <p class="desc">A page maintained by <span class="person">Haruhiko Okumura</span>. (In Japanese)</p> - </li> - <li><div class="item"><a href="http://www.ktug.or.kr">KTUG</a></div> - <p class="desc">Korean TeX Users Group. (In Korean)</p> - </li> - <li><div class="item">Omega</div></li> -</ul> - - -<h3>CJK or Unicode Font</h3> - -<p> -Many CJK/Unicode fonts are freely available in various formats and -in a variety of qualities. -</p> - -<ul> - <li><div class="item"><a href="http://www.adobe.com/products/acrobat/acrrasianfontpack.html">Asian and Central European font packs for Adobe Reader</a></div> - <p class="desc"> - Several OpenType <abbr>CID</abbr>-keyed fonts are freely available from Adobe - <strong>for use with <span class="registered">Adobe</span> <span class="registered">Reader</span></strong>. - It also contains several CMap resources for standard CJK encodings and useful ToUnicode CMaps. - In the recent version of asian font pack, no san-serif font... - </p> - </li> - <li><div class="item"><a href="http://www.alanwood.net/unicode/">Alan Wood's Unicode Resources</a></div> - <p class="desc"> - <!-- — --> - ... Unicode and Multilingual Support in HTML, Fonts, Web Browsers and Other Applications. - List of Unicode TrueType/OpenType fonts available for various platforms, along with - Unicode ranges covered by each font. - </p> - </li> - <li><div class="item">Arphic TrueType and Wang TrueType Font</div> - <p class="desc"> - Several Chinese TrueType fonts can be found from - <a href="ftp://freebsd.sinica.edu.tw/pub/keith/">ftp://freebsd.sinica.edu.tw/pub/keith/</a>. - </p> - </li> - <li><div class="item">Korean Un Fonts</div> - <p class="desc"> - Several Korean TrueType fonts can be found from - <a href="http://kldp.net/projects/unfonts/">http://kldp.net/projects/unfonts/</a>. (in Korean) - </p> - </li> - <li><div class="item">Gentium - a typeface for the nations</div> - <p class="desc"> - Available from <a href="http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&item_id=Gentium">SIL international</a>. - <cite title="Cited from Gentium Homepage..." lang="en"> - <q>Gentium is a typeface family designed to enable the diverse ethnic groups around the world who use - the Latin script to produce readable, high-quality publications. It supports a wide range of - Latin-based alphabets and includes glyphs that correspond to all the Latin ranges of Unicode.</q> - </cite> - </p> - </li> - <li><div class="item"> - <a href="http://www.microsoft.com/windows/ie/downloads/recommended/ime/default.asp">Microsoft Global Input Method Editors...</a> - </div> - <p class="desc"> - ... Further Enhance East Asian Text Input:<!-- long title :( --> - Add-on packages for Microsoft Global <abbr title="Input Method Editor">IME</abbr>. - You can find TrueType fonts as a part of additional language packs - <strong>for use with Microsoft Windows OS</strong>. - <span class="file">MS Hei</span> and <span class="file">MS Song</span> (Simplified Chinese), - <span class="file">MingLiu</span> (Traditional Chinese), - <span class="file">GulimChe</span> (Korean), and <span class="file">MS Gothic</span> (Japanese) are available. - </p> - </li> -</ul> - - -<h3>Specifications</h3> - -<p> -Useful documents and resources for developers. -</p> - -<ul> - <li><div class="item"><a href="http://partners.adobe.com/public/developer/main.html">Adobe Solutions Network | Product and Technical Resources</a></div> - <p class="desc"> - Resources for Developers, Print Service Providers, and others interested in making the most of - Adobe products and technologies. - </p> - </li> - <li><div class="item"><a href="http://www.microsoft.com/typography/otspec/default.htm">OpenType specification</a></div> - <p class="desc"> - <span class="trademarked">OpenType</span> Specification from Microsoft Corporation. - </p> - </li> -</ul> - -<p> -DVI standard is available from <code>CTAN:dviware/driv-standard</code>. -</p> - - -<div id="footer" class="foot"> -<div class="logo"> -<a href="http://validator.w3.org/check/referer"><img src="http://www.w3.org/Icons/valid-html401" alt="Valid HTML 4.01!" height="31" width="88"></a> -</div> -<div> -Copyright © 2002-2005, -The DVIPDFMx Project Team -<span class="mail"><a href="mailto:dvipdfmx@project.ktug.or.kr">dvipdfmx@project.ktug.or.kr</a></span> -<br> -<span class="person"><a href="mailto:chofchof@ktug.or.kr">Jin-Hwan Cho</a></span> -and -<span class="person">Shunsaku Hirata</span>, -Last modified on May 5, 2005. -</div> -</div> - -</div> -<!-- class contents --> - -</body> -</html> diff --git a/Build/source/texk/xdvipdfmx/style_base.css b/Build/source/texk/xdvipdfmx/style_base.css deleted file mode 100644 index 2c3b9ac48bf..00000000000 --- a/Build/source/texk/xdvipdfmx/style_base.css +++ /dev/null @@ -1,367 +0,0 @@ - -body { - font-weight: normal; - font-size: medium; - font-style: normal; - color: #000000; - background-color: #ffffff; -} - -q:lang(fr), -*:lang(fr) > q { - quotes: "«" "»" "\2039" "\203A"; -} - -q:lang(en), -*:lang(en) > q { - quotes: "\201C" "\201D" "\2018" "\2019"; -} - -:lang(ar) { - font-size: 120%; - direction: rtl; - unicode-bidi: normal; -} - -h1, h2, h3, h4 { - color: #000000; - font-weight: bold; - text-align: left; - margin-left: 1.0em; - margin-bottom: 0.1em; -} - -h2, h3 { - margin-top: 2em; - margin-bottom: 1em; -} - -h1 { - margin-left: 0; - margin-bottom: 1em; - font-size: 200%; - border-bottom: solid 2px #336699; -} - -h2 { - font-size: 140%; - border-bottom: solid 1px #336699; - width: 95%; -} - -h3 { - font-size: 120%; -} - -h4 { - font-size: 100%; - font-style: italic; - margin-left: 1.5em; -} - -p { - text-align: justify; - margin: .5em 2.5em .5em 2.5em; -} - -/* -p.abstract { - margin: 1em 2.5em 1em 2.5em; -} -*/ - -p.note, div.note { - border: solid 2px #336699; -} - -span.note { - border: none; -} - -/* open-paren ? */ -span.note:before { - font-weight: normal; - content: '[' "Note: "; -} - -span.note:after { - font-weight: normal; - content: ']'; -} - -/* -.note[class|="important"] { -} -*/ - -/* wrapper */ -.important { - padding: 0; - margin: 0; -} - -div.important > -p.note, div.note { - padding: 1em 1em 1em 1em; - margin-top: 2em; - margin-bottom: 2em; - /* centering */ - margin-left: auto; - margin-right: auto; - width: 80%; - color: black; - /* font-style: italic; */ - border: solid 2px #cc6666; - font-weight: normal; -} - -/* fixme */ -div.important > -p.note:before, div.note:before { - color: #cc6666; - font-style: normal; - font-weight: bold; - margin-right: 1em; - content: "Important Note:"; -} - -span.important { - font-style: italic; - color: #cc6666; -} - -span.important:before { - color: #cc6666; - font-style: normal; - font-weight: bold; - margin-right: .5em; - content: "Important "; -} - - -.annot { - font-size: smaller; - font-family: sans-serif; - padding: 1em 1em 1em 1em; - margin-top: 2em; - margin-bottom: 2em; - /* right */ - /* float: right; */ - margin-left: auto; - margin-right: 0; - width: 46%; - color: #666666; - /* font-style: italic; */ - border: solid 2px #666666; - font-weight: normal; -} - - -ul { - list-style: disc outside; -} - -ol { - list-style: decimal outside -} - -li { - line-height: 120%; -} - -em { - font-weight: bold; - font-style: normal; -} - - -ul li div.item { - /* text-align: left; - width: 100%; - */ - text-align: left; - font-weight: bolder; - margin-left: 0; - /* margin-right: auto; */ -} - -li p.desc { - text-align: justify; - margin: 0.5em 0 1em; - width: 95%; -} - -#changelog { - margin-left: 1.5em; - padding: 0; -} - -ul.log { - padding: 0; - margin: 2em 0 2em; /* top left-right bottom */ - list-style: none; -} - -ul.log li div.item { - margin-left: 0; - font-weight: bold; - font-style: normal; - text-align: left; -} - -ul.log li div.item .date { - color: #666666; - font-weight: normal; - font-style : normal; - margin-right: 0.5em; -} - -ul.log li p.desc { - margin-left: 2em; - width: 90%; -} - -/* -ul.links { - margin-left: 0; - list-style: disc outside; -} - -ul.links li div.item a:after { - text-align: right; - margin: 0 auto 0 0; - content: " \2014 " attr(href); -} -*/ - - -kbd, code, pre, adress, -*.file, *.date, *.mail { - font-family: monospace; - font-style: normal; - font-weight: normal; - font-variant: normal; -} - -.date { - color: #666666; -} - -pre, div.file { - white-space: pre; - text-align: left; - line-height: 140%; - margin: 2em auto 2em; - border: solid 2px #336699; - padding: 1em 2em 1em; - width: 80%; - overflow: auto; -} - -span.file { - white-space: nowrap; -} - -span.file:before { - content: '\''; -} - -span.file:after { - content: '\''; -} - - -.person .trademarked, .registered { - white-space: nowrap; -} - -.trademarked:after { - content: '\2122'; -} - -.registered:after { - content: '\00ae'; -} - -address, *.mail { - white-space: nowrap; - -} - -.mail:before { - content: '<'; -} - -.mail:after { - content: '>'; -} - -.logo a { - border: none; -} - -div.foot { - text-align: left; - border-top: solid 2px #336699; - margin: 1em 1em 1em 1em; - /* font-size: 90%; */ - font-style: italic; - padding: 1em 0em 1em 0em; -} - -a[href] { - color: #336699; - font-weight: normal; - text-decoration: underline; -} - -a[href]:visited { - color: #333333; -} - -a[href]:hover { - color: #6699CC; -} - -abbr, acronym { - font-style: normal; - font-weight: normal; - text-decoration: none; - border: none; -} - -/* dotted underline for abbr with title */ -/* -abbr[title], acronym[title] { - border-bottom: 1px dotted #000000; -} -*/ - -abbr[title]:after, acronym[title]:after { - color: #666666; - content: '<' attr(title) '>'; -} - -/* nasty trick for internal link */ -#contents a[href|="#sec"] { - color: #003366; - font-style: italic; - text-decoration: none; -} - - -@media print { - .annot { - display: none; - overflow: hidden; - float: none; - } - body { - margin: auto; - } - a { - text-decoration: none; - color: #000000; - border: none; - } -} diff --git a/Build/source/texk/xdvipdfmx/style_dflt.css b/Build/source/texk/xdvipdfmx/style_dflt.css deleted file mode 100644 index 913a4387650..00000000000 --- a/Build/source/texk/xdvipdfmx/style_dflt.css +++ /dev/null @@ -1,95 +0,0 @@ - -/* @import "style_base.css"; */ - -body { - font-family: "Verdana", "Lucida Sans", sans-serif; - font-size: small medium; - margin-right: 2em; - margin-left: 11em; - /* font-size-adjust: .56; */ -} - -h1 { - background-image: url("doc/images/dvipdfmx-logo.png"); - background-repeat: no-repeat; - background-position: top right; -} - -/* -h2, h3 { - font-variant: normal; - background-repeat: no-repeat; - background-position: top left; - margin-top: 2em; - margin-bottom: 1em; - padding: 0 0 0 16px; - background-image: url("doc/images/rightarrow.png"); -} -*/ - -.note:before, .important:before { - font-variant: normal; -} - -.logo { - display: block; - float: right; -} - -kbd, code, pre, adress, -*.file, *.mail, *.date { - font-family: "Andale Mono", "Lucida Sans Typewriter", monospace; - /* font-size-adjust: .56; */ -} - - -#navmenu { - display: block; - margin: 0; - padding: 0.5em; - font-weight: bold; - line-height: 120%; - position: absolute; - top: 3.0em; - left: 0.5em; - width: 7em; - background: white; - border: dashed 2px #336699; - overflow: hidden; -} - -#navmenu p { - text-align: left; - margin: 0; - padding: 0.5em 0.5em; - border-bottom: dashed 2px #336699; - overflow: hidden; -} - -#navmenu a[href], -#navmenu a[href|="#sec"] { - font-style: normal; - font-weight: bold; -} - -@media print { - #navmenu, *.logo { - display: none; - float: none; - overflow: hidden; - } -} - -@media tty { - #navmenu, *.logo { - display: none; - float: none; - overflow: hidden; - } -} - -@media screen { - #navmenu { - position: fixed; - } -} diff --git a/Build/source/texk/xdvipdfmx/style_ie.css b/Build/source/texk/xdvipdfmx/style_ie.css deleted file mode 100644 index 4bd8bf81330..00000000000 --- a/Build/source/texk/xdvipdfmx/style_ie.css +++ /dev/null @@ -1,14 +0,0 @@ - -body { - overflow-y: hidden -} - -/* Stylesheet selection not work */ -.annot { - display: none; -} - -#contents { - overflow: auto; - height: 100% -} diff --git a/Build/source/texk/xdvipdfmx/style_plain.css b/Build/source/texk/xdvipdfmx/style_plain.css deleted file mode 100644 index 3c82d40f357..00000000000 --- a/Build/source/texk/xdvipdfmx/style_plain.css +++ /dev/null @@ -1,77 +0,0 @@ -/* @import "style_base.css"; */ - -body { - font-family: "Palatino Linotype", serif; - /* font-size-adjust: 0.47 */ - font-size: medium; - margin-right: 6%; - margin-left: 6%; -} - -:lang(ko) { - font-family: serif; -} - -:lang(ja) { - font-family: serif; -} - -abbr { - font-variant: small-caps; -} - -.note:before, .important:before { - font-style: normal; - font-weight: bold; - /* I'm just interested in how browsers behaves with that. */ - font-variant: small-caps; -} - -.note, .important { - font-variant: normal; -} - -h1, h2 { - /* I'm just interested in how browsers behaves with that. - * The result is often ugly. - */ - font-variant: small-caps; - letter-spacing: 0.2em; -} - -kbd, code, pre, adress, -*.file, *.mail, *.date { - font-family: "Courier New", monospace; -} - -/* - [font-family~="monospace"] { -*/ -kbd, code, pre, adress, -*.file, *.mail { - /* adjust 'monospace' font size slightly since they - often has taller x-height compared to serif font - for body text. Capheight letters will be shorter - with this... */ - font-size: 95%; - /* font-size-adjust: .47; */ -} - -.logo { - display: none; - float: none; -} - -#navmenu { - float: none; - display: none; - overflow: hidden; -} - -@media print { - #navmenu, *.logo { - display: none; - float: none; - overflow: hidden; - } -} |