From 03cef02ac7442c44e1884adabd858ec2ed7e63fd Mon Sep 17 00:00:00 2001 From: Martin Schröder Date: Wed, 31 Jan 2007 21:25:39 +0000 Subject: pdftex 1.40.2 git-svn-id: svn://tug.org/texlive/trunk@3840 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf/doc/pdftex/Announcement-1.40.1 | 67 -------------------- Master/texmf/doc/pdftex/Announcement-1.40.2 | 64 +++++++++++++++++++ Master/texmf/doc/pdftex/NEWS | 6 ++ Master/texmf/doc/pdftex/README | 4 +- .../doc/pdftex/manual/samplepdf/samplepdf.tex | 74 +++++++++++++++++++++- 5 files changed, 143 insertions(+), 72 deletions(-) delete mode 100644 Master/texmf/doc/pdftex/Announcement-1.40.1 create mode 100644 Master/texmf/doc/pdftex/Announcement-1.40.2 (limited to 'Master/texmf') diff --git a/Master/texmf/doc/pdftex/Announcement-1.40.1 b/Master/texmf/doc/pdftex/Announcement-1.40.1 deleted file mode 100644 index 199b7bf1c83..00000000000 --- a/Master/texmf/doc/pdftex/Announcement-1.40.1 +++ /dev/null @@ -1,67 +0,0 @@ -The pdfTeX team is happy to announce the release of a new stable version: - -=========================================================================== - pdfTeX 1.40.1 -=========================================================================== - -This is the announcement of pdfTeX 1.40.1, an extended version of TeX that -can create PDF directly from TeX source files and enhance the result of TeX -typesetting with the help of PDF. - -=========================================================================== - Main changes of pdfTeX 1.40.1 -=========================================================================== - -- bugfix: the shell escape function was a bit broken -- bugfix: \pdffontattr gave confusing warnings -- allow JBIG2 images only with PDF >= 1.4 -- allow \pdfglyphtounicode in dvi mode for format generation -- pdfTeX uses libpng 1.2.15 - -For complete release notes see http://www.pdftex.org/NEWS - -=========================================================================== - Legal notice / license -=========================================================================== - -pdfTeX is copyright (c) 1996-2007 Han The Thanh, - -pdfTeX is free software; you can redistribute it and/or modify it under the -terms of the GNU General Public License as published by the Free Software -Foundation; either version 2 of the License, or (at your option) any later -version. - -For a complete README (with a full discussion of the license) -please look at http://www.pdftex.org/README - -=========================================================================== - The files / installation -=========================================================================== - -You should first try to get a new version of pdfTeX through your -distribution. - -If you want to compile it yourself, have a look at http://www.pdftex.org -- -there you can find links to the pdfTeX sources on CTAN. And some useful -documentation. - -=========================================================================== - Mailing lists / web pages: -=========================================================================== - - Mailing list: - http://tug.org/mailman/listinfo/pdftex - - Related web pages: - http://www.pdftex.org - http://sarovar.org/projects/pdftex/ - http://www.tug.org/tex-live/ - http://www.tug.org/tetex/ - http://www.tex.ac.uk/cgi-bin/texfaq2html?introduction=yes - http://www.dante.de/ - http://tug.org/ - http://www.pragma-ade.com/ - -Have fun! - -Martin Schröder (martin@pdftex.org) for the pdfTeX team, January 2007 diff --git a/Master/texmf/doc/pdftex/Announcement-1.40.2 b/Master/texmf/doc/pdftex/Announcement-1.40.2 new file mode 100644 index 00000000000..cbdd212b9f7 --- /dev/null +++ b/Master/texmf/doc/pdftex/Announcement-1.40.2 @@ -0,0 +1,64 @@ +The pdfTeX team is happy to announce the release of a new stable version: + +=========================================================================== + pdfTeX 1.40.2 +=========================================================================== + +This is the announcement of pdfTeX 1.40.2, an extended version of TeX that +can create PDF directly from TeX source files and enhance the result of TeX +typesetting with the help of PDF. + +=========================================================================== + Main changes of pdfTeX 1.40.2 +=========================================================================== + +- bugfix: maplines starting with = would not work as advertised +- bugfix: xpdf would complain that PDF 1.7 is too new + +For complete release notes see http://www.pdftex.org/NEWS + +=========================================================================== + Legal notice / license +=========================================================================== + +pdfTeX is copyright (c) 1996-2007 Han The Thanh, + +pdfTeX is free software; you can redistribute it and/or modify it under the +terms of the GNU General Public License as published by the Free Software +Foundation; either version 2 of the License, or (at your option) any later +version. + +For a complete README (with a full discussion of the license) +please look at http://www.pdftex.org/README + +=========================================================================== + The files / installation +=========================================================================== + +You should first try to get a new version of pdfTeX through your +distribution. + +If you want to compile it yourself, have a look at http://www.pdftex.org -- +there you can find links to the pdfTeX sources on CTAN. And some useful +documentation. + +=========================================================================== + Mailing lists / web pages: +=========================================================================== + + Mailing list: + http://tug.org/mailman/listinfo/pdftex + + Related web pages: + http://www.pdftex.org + http://sarovar.org/projects/pdftex/ + http://www.tug.org/tex-live/ + http://www.tug.org/tetex/ + http://www.tex.ac.uk/cgi-bin/texfaq2html?introduction=yes + http://www.dante.de/ + http://tug.org/ + http://www.pragma-ade.com/ + +Have fun! + +Martin Schröder (martin@pdftex.org) for the pdfTeX team, January 2007 diff --git a/Master/texmf/doc/pdftex/NEWS b/Master/texmf/doc/pdftex/NEWS index c3f919ca9b9..38419061284 100644 --- a/Master/texmf/doc/pdftex/NEWS +++ b/Master/texmf/doc/pdftex/NEWS @@ -1,3 +1,9 @@ +------------------------------------------------- +pdfTeX 3.141592-1.40.2 was released on 2007-01-31 +------------------------------------------------- +- bugfix: maplines starting with = would not work as advertised +- bugfix: xpdf would complain that PDF 1.7 is too new + ------------------------------------------------- pdfTeX 3.141592-1.40.1 was released on 2007-01-08 ------------------------------------------------- diff --git a/Master/texmf/doc/pdftex/README b/Master/texmf/doc/pdftex/README index d71f361e0bd..6261b8ba0e9 100644 --- a/Master/texmf/doc/pdftex/README +++ b/Master/texmf/doc/pdftex/README @@ -1,10 +1,10 @@ pdfTeX ====== -README for version 3.14159-1.40.1 +README for version 3.14159-1.40.2 ================================= -This directory contains the version 1.40.1 of pdfTeX, an extended version +This directory contains the version 1.40.2 of pdfTeX, an extended version of eTeX that can create PDF directly from TeX source files and enhance the result of TeX typesetting with the help of PDF. When PDF output is not selected, pdfTeX produces normal DVI output, otherwise it produces PDF diff --git a/Master/texmf/doc/pdftex/manual/samplepdf/samplepdf.tex b/Master/texmf/doc/pdftex/manual/samplepdf/samplepdf.tex index 2204f1eed7a..0ac5793c8fa 100644 --- a/Master/texmf/doc/pdftex/manual/samplepdf/samplepdf.tex +++ b/Master/texmf/doc/pdftex/manual/samplepdf/samplepdf.tex @@ -231,6 +231,43 @@ A simple picture: \pdfliteral page {q -1 0 0 1 612 0 cm .5 g}\hfill Do you like that?\pdfliteral page {Q} \endfeature +% Every page in PDF document has its own graphic state, automatically restored +% by the viever application. In example, unless set explicitly, text colour at +% the beginning of the every page is always black, regardless the text color at +% the end of the previous page. This may be a little bit confusing for those +% who get used to dvi output and color macros based on Postscript specials. In +% the case of PDF, passing text colour (as well as any other graphic +% properties) between pages requires much more care. Since normally we don't +% know where TeX is going to break tyhe page, one probably need to use \mark(s) +% register(s) for page-wise graphic stack, as it is in pdfcolor.tex macro input above. + +\feature 1.40.0 {Graphic stack} +\def\pdfsetcolor#1{}% disable generic color support of pdfcolor.tex + +% pdfTeX 1.40.0 introduces graphic stack support. \pdfcolorstackinit primitive +% introduces new graphic stack and returns its number. Here we create a +% page-wise color stack with black as an initial stack value. \pdfcolorstack +% command operates on graphic stacks. + +\chardef\Color=\pdfcolorstackinit page direct{0 g} +default color, +\pdfcolorstack\Color set{1 1 0 0 k} +some new default +\pdfcolorstack\Color push{0 1 1 0 k} +red, +\pdfcolorstack\Color push{1 0 1 0 k} +green, +\vfill\eject +still green, +\pdfcolorstack\Color pop +red again, +\pdfcolorstack\Color pop +default again, +\pdfcolorstack\Color set{0 g} +back to black. + +\endfeature + \bigskip % User-defined object can be inserted into the pdf output by \pdfobj. The @@ -524,7 +561,7 @@ The last image has \the\pdflastximagepages\ page(s). width \dimen0 {pic.pdf} % by setting image width to the calculated value \pdfrefximage \pdflastximage -% While working with bitmap graphic it might be more convenient to operate on +% While working with bitmap graphic it might be more convenient to operate on % pixels rather then dimension units. Starting from version 1.30.0, pdfTeX offers % a special, scalable unit called `px'. The real value associated with `px' is controlled % via \pdfpxdimen primitive. It used to be a count register defaulted to 65536 (1pt = 1px). @@ -663,8 +700,8 @@ Hacked image color space. % the figure cmr10.103 was created by running Metapost on cmr10.mf -% \convertMPtoPDF {filename} {x scale} {y scale} -\convertMPtoPDF{cmr10.103}{1}{1} +%\convertMPtoPDF {filename} {x scale} {y scale} +%\convertMPtoPDF{cmr10.103}{1}{1} \newpage % It is possible to have Metapost code inside the tex sources and call @@ -1155,6 +1192,37 @@ The link is object \the\pdflastlink. % For better understaing \pdfliteral rules, play with the transformations above using % `direct' and `page' modifiers. Expect surprises, including corrupted output... +% One may already notice that any transformation applied to text or some other +% page graphic object do not affect active rectangles of links and other +% annotations. This is because those rectangles are kept in PDF as a different +% structure then the page content. pdfTeX is not aware of any transformation +% shown above (\pdfliteral content is not analyzed anyhow), so any annotation +% related to the box being transformed remains untouched. + +% Check it out: +% \pdfliteral{q 0.87 -0.5 0.5 0.87 0 0 cm} +% \setbox0\hbox{\f\pdfstartlink goto page \pageno{/FitH}Link\pdfendlink} +% \avoidboxdimen0 +% \pdfliteral{Q} + +% pdfTeX 1.40.0 comes with three extra primitives that fixes this problem. +% \pdfsetmatrix primitive inserts first four numbers of the afine +% transformation matrix into the page content stream and updates annotations +% accordingly. \pdfsave saves the current matrix, \pdfrestore resores the +% previously saved matrix. + +\bigskip + +\feature 1.40.0 {Saving/restoring transformation matrix} + +\setbox0\hbox{\f\pdfstartlink goto page \pageno{/FitH}Link\pdfendlink} +\pdfsave +\pdfsetmatrix{0.87 -0.5 0.5 0.87} +\avoidboxdimen0 +\pdfrestore + +\endfeature + % To have a smoothly readable PDF output one may use a newline character to % separate entries written directly do PDF code. No matter for the viewer. -- cgit v1.2.3