| 1 | # graphics-pln |
| 2 | |
| 3 | ## Graphics code for non-LaTeX users. |
| 4 | |
| 5 | This directory provides a small wrapper file such that users of |
| 6 | formats based on plain TeX may make use of some of the parts of the |
| 7 | standard LaTeX distribution. |
| 8 | |
| 9 | These files are *NOT* supported by the LaTeX3 project, and any |
| 10 | problems with them should *NOT* be reported to the LaTeX bugs system. |
| 11 | |
| 12 | Problems should be reported as issues at |
| 13 | https://github.com/davidcarlisle/graphics-pln/issues |
| 14 | |
| 15 | |
| 16 | David Carlisle |
| 17 | 1995/01/29 |
| 18 | 1996/11/13 |
| 19 | 2016/08/17 |
| 20 | 2017/06/01 |
| 21 | 2018/01/16 |
| 22 | 2020/03/02 |
| 23 | 2020/10/30 |
| 24 | 2021/11/15 |
| 25 | 2022/06/13 |
| 26 | 2022/09/27 |
| 27 | 2022/09/28 |
| 28 | 2022/12/02 |
| 29 | 2023/11/09 |
| 30 | 2024/06/19 |
| 31 | |
| 32 | Copyright 1995-2024 David Carlisle |
| 33 | |
| 34 | All the files in this directory may be redistributed and/or modified |
| 35 | under the terms of the LaTeX Project Public License distributed from |
| 36 | CTAN archives in directory macros/latex/base/lppl.txt; either |
| 37 | version 1 of the License, or (at your option) any later version. |
| 38 | |
| 39 | |
| 40 | |
| 41 | This directory contains |
| 42 | |
| 43 | - README.md |
| 44 | This file. |
| 45 | |
| 46 | - exmplpic.tex |
| 47 | A plain TeX document using LaTeX' `picture mode': a portable |
| 48 | means of producing simple diagrams. |
| 49 | |
| 50 | - exmplgrf.tex |
| 51 | A plain TeX document using the LaTeX graphicx package, for |
| 52 | rotating and scaling text, and include PostScript and other |
| 53 | graphics formats. (This will include the file a.ps available |
| 54 | in the LaTeX graphics distribution.) |
| 55 | |
| 56 | - exmplcol.tex |
| 57 | A plain TeX document using the LaTeX color package, for |
| 58 | producing colour. |
| 59 | |
| 60 | - exmplpfg.tex |
| 61 | A plain TeX document using the contributed LaTeX psfrag package, |
| 62 | for including PostScript documents, while replacing certain text |
| 63 | strings with TeX typeset replacements. This uses the example.eps |
| 64 | figure from the psfrag 3.0 distribution. |
| 65 | Requires etex. |
| 66 | |
| 67 | - miniltx.tex |
| 68 | A small `miniLaTeX' that defines fakes or otherwise hacks |
| 69 | sufficient bits of LaTeX internals so that the packages can load. |
| 70 | |
| 71 | - picture.tex |
| 72 | The user interface to the picture environment. |
| 73 | `\input picture` |
| 74 | Normally a plain-style syntax is used, viz |
| 75 | ``` |
| 76 | \picture(100,100) |
| 77 | .... |
| 78 | \endpicture |
| 79 | ``` |
| 80 | |
| 81 | However if the command `\LaTeXbegin` is issued, then a LaTeX |
| 82 | syntax of |
| 83 | \begin{picture}(100,100) |
| 84 | .... |
| 85 | \end{picture} |
| 86 | May be used. this may be prefered if the picture is being copied |
| 87 | from a LaTeX document, or if it is produced automatically from |
| 88 | a drawing tool such as xfig or texcad. |
| 89 | |
| 90 | - autopict.sty |
| 91 | This is a frozen copy of a file that used to be distributed with |
| 92 | LaTeX but is no longer needed in that context, it is basically |
| 93 | the source of LaTeX Picture mode from LaTeX in 2014. The |
| 94 | original use for this package was to build a latex format in |
| 95 | which some environments such as picture and tabbing were not |
| 96 | defined by default, to save space if working with TeX on a |
| 97 | machine with 640K memory. |
| 98 | |
| 99 | |
| 100 | - graphicx.tex |
| 101 | The user interface to the graphicx package. |
| 102 | `\input graphicx` |
| 103 | See the documentation in grfguide.ps in the LaTeX graphics |
| 104 | distribution. |
| 105 | This file sets the driver to be dvips, pdftex or luatex. |
| 106 | If you use another driver, define `\Gin@driver` before inputting the file. |
| 107 | |
| 108 | - color.tex |
| 109 | The user interface to the color package. |
| 110 | `\input color` |
| 111 | See the documentation in grfguide.ps in the LaTeX graphics |
| 112 | distribution. |
| 113 | This file sets the driver to be dvips, pdftex or luatex. |
| 114 | If you use another driver, define `\Gin@driver` before inputting the file. |
| 115 | |
| 116 | |
| 117 | - psfrag.tex |
| 118 | The user interface to the psfrag package. |
| 119 | `\input psfrag` |
| 120 | See the documentation in pfgguide.tex in the psfrag distribution, |
| 121 | and the example document pfgexmpl.tex included here. |