From ae6dfdc6fd101623f9477cf506a23bcdfbf9035d Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sun, 22 Nov 2009 18:58:23 +0000 Subject: graphics-plain, replacing plgraph, for new miniltx (T S, 20 Nov 2009 15:42:40) git-svn-id: svn://tug.org/texlive/trunk@16123 c570f23f-e606-0410-a88d-b1316a301751 --- .../texmf-dist/doc/plain/graphics-pln/00readme.txt | 105 +++++++++++++++++++++ .../texmf-dist/doc/plain/graphics-pln/exmplcol.tex | 6 ++ .../texmf-dist/doc/plain/graphics-pln/exmplgrf.tex | 10 ++ .../texmf-dist/doc/plain/graphics-pln/exmplpfg.tex | 17 ++++ .../texmf-dist/doc/plain/graphics-pln/exmplpic.tex | 15 +++ 5 files changed, 153 insertions(+) create mode 100644 Master/texmf-dist/doc/plain/graphics-pln/00readme.txt create mode 100644 Master/texmf-dist/doc/plain/graphics-pln/exmplcol.tex create mode 100644 Master/texmf-dist/doc/plain/graphics-pln/exmplgrf.tex create mode 100644 Master/texmf-dist/doc/plain/graphics-pln/exmplpfg.tex create mode 100644 Master/texmf-dist/doc/plain/graphics-pln/exmplpic.tex (limited to 'Master/texmf-dist/doc/plain') diff --git a/Master/texmf-dist/doc/plain/graphics-pln/00readme.txt b/Master/texmf-dist/doc/plain/graphics-pln/00readme.txt new file mode 100644 index 00000000000..ccabe9f77ca --- /dev/null +++ b/Master/texmf-dist/doc/plain/graphics-pln/00readme.txt @@ -0,0 +1,105 @@ + +Graphics code for non-LaTeX users. +================================== + +This directory provides a small wrapper file such that users of +formats based on plain TeX may make use of some of the parts of the +standard LaTeX distribution. + +These files are *NOT* supported by the LaTeX3 project, and any +problems with them should *NOT* be reported to the LaTeX bugs system. + +Currently problems may be reported to me, david@dcarlisle.demon.co.uk +although as I only ever use LaTeX for documents, these files have not +been extensively tested. If some plain TeX user wants to `adopt' them +and take over their support then they are welcome to it:-) + +David Carlisle 1995/01/29 + 1996/11/13 + +Copyright 1995 1996 David Carlisle + + All the files in this directory may be redistributed and/or modified + under the terms of the LaTeX Project Public License distributed from + CTAN archives in directory macros/latex/base/lppl.txt; either + version 1 of the License, or (at your option) any later version. + + + +This directory contains + +00readme.txt This file. + +exmplpic.tex + A plain TeX document using LaTeX' `picture mode': a portable + means of producing simple diagrams. + +exmplgrf.tex + A plain TeX document using the LaTeX graphicx package, for + rotating and scaling text, and include PostScript and other + graphics formats. (This will include the file a.ps available + in the LaTeX graphics distribution.) + +exmplcol.tex + A plain TeX document using the LaTeX color package, for + producing colour. + +exmplpfg.tex + A plain TeX document using the contributed LaTeX psfrag package, + for including PostScript documents, while replacing certain text + strings with TeX typeset replacements. This uses the example.eps + figure from the psfrag 3.0 distribution. + +miniltx.tex + A small `miniLaTeX' that defines fakes or otherwise hacks + sufficient bits of LaTeX internals so that the packages can load. + +picture.tex + The user interface to the picture environment. + \input picture. + Normally a plain-style syntax is used, viz + \picture(100,100) + .... + \endpicture + + However if the command \LaTeXbegin is issued, then a LaTeX + syntax of + \begin{picture}(100,100) + .... + \end{picture} + May be used. this may be prefered if the picture is being copied + from a LaTeX document, or if it is produced automatically from + a drawing tool such as xfig or texcad. + +autopict.ins + picture.tex requires the use of the Standard LaTeX file + autopict.sty. To generate this, either run the autoload.ins + install file in the main LaTeX distribution, which will make + autopict.sty along with some other files (not needed here) or + alternatively just obtain obtain ltpictur.dtx and docstrip.tex + from the LaTeX distribution, and TeX the file autopict.ins that + is included in this distribution. + + +graphicx.tex + The user interface to the graphicx package. + \input graphicx + See the documentation in grfguide.ps in the LaTeX graphics + distribution. + This file sets the driver to be dvips. If you + use another driver, edit accordingly. + +color.tex + The user interface to the color package. + \input color + See the documentation in grfguide.ps in the LaTeX graphics + distribution. + This file sets the driver to be dvips. If you + use another driver, edit accordingly. + + +psfrag.tex + The user interface to the psfrag package. + \input psfrag + See the documentation in pfgguide.tex in the psfrag distribution, + and the example document pfgexmpl.tex included here. \ No newline at end of file diff --git a/Master/texmf-dist/doc/plain/graphics-pln/exmplcol.tex b/Master/texmf-dist/doc/plain/graphics-pln/exmplcol.tex new file mode 100644 index 00000000000..0442ed9a404 --- /dev/null +++ b/Master/texmf-dist/doc/plain/graphics-pln/exmplcol.tex @@ -0,0 +1,6 @@ + +\input color + +a \textcolor{red}{bbb} \colorbox{green}{one two} + +\bye diff --git a/Master/texmf-dist/doc/plain/graphics-pln/exmplgrf.tex b/Master/texmf-dist/doc/plain/graphics-pln/exmplgrf.tex new file mode 100644 index 00000000000..d1a51b8ef10 --- /dev/null +++ b/Master/texmf-dist/doc/plain/graphics-pln/exmplgrf.tex @@ -0,0 +1,10 @@ + +\input graphicx + +\includegraphics{a} + +\includegraphics[scale=2]{a} + +hello\rotatebox[origin=c]{180}{hello}hello + +\bye diff --git a/Master/texmf-dist/doc/plain/graphics-pln/exmplpfg.tex b/Master/texmf-dist/doc/plain/graphics-pln/exmplpfg.tex new file mode 100644 index 00000000000..0026cd0ee68 --- /dev/null +++ b/Master/texmf-dist/doc/plain/graphics-pln/exmplpfg.tex @@ -0,0 +1,17 @@ + +\input psfrag + +First without psfrag: + + \includegraphics[width=3.5in]{example.eps} + +and now with: + + \psfragscanon + \psfrag{p1}[][l]{$\ast$} + \psfrag{p2}[][l]{$\ast$} + \psfrag{p3}{$\cos(t)$} + \includegraphics[width=3.5in]{example.eps} + + +\bye diff --git a/Master/texmf-dist/doc/plain/graphics-pln/exmplpic.tex b/Master/texmf-dist/doc/plain/graphics-pln/exmplpic.tex new file mode 100644 index 00000000000..cb8852123be --- /dev/null +++ b/Master/texmf-dist/doc/plain/graphics-pln/exmplpic.tex @@ -0,0 +1,15 @@ +\input picture + +\picture(100,100) +\put(0,0){\line(1,1){50}} +\endpicture + +\LaTeXbegin + +\begin{picture}(40,40) +\put(0,0){\vector(1,1){40}} +\multiput(0,5)(10,10){4}{a} +\end{picture} + +\bye + -- cgit v1.2.3