[latex3-commits] [git/LaTeX3-latex3-latex2e] develop: use font-free EPS example a.eps for issue #357 (b0807441)

David Carlisle d.p.carlisle at gmail.com
Fri Aug 21 18:23:58 CEST 2020


Repository : https://github.com/latex3/latex2e
On branch  : develop
Link       : https://github.com/latex3/latex2e/commit/b0807441d08cd693e248e6e74d483bc537688805

>---------------------------------------------------------------

commit b0807441d08cd693e248e6e74d483bc537688805
Author: David Carlisle <d.p.carlisle at gmail.com>
Date:   Fri Aug 21 17:23:58 2020 +0100

    use font-free EPS example a.eps for issue #357


>---------------------------------------------------------------

b0807441d08cd693e248e6e74d483bc537688805
 required/graphics/changes.txt  |   4 +
 required/graphics/grfguide.tex | 162 ++++-------------------------------------
 2 files changed, 20 insertions(+), 146 deletions(-)

diff --git a/required/graphics/changes.txt b/required/graphics/changes.txt
index 1a3f8694..666621f6 100644
--- a/required/graphics/changes.txt
+++ b/required/graphics/changes.txt
@@ -4,6 +4,10 @@ completeness or accuracy and it contains some references to files that
 are not part of the distribution.
 =======================================================================
 
+2020-08-21  David Carlisle  <David.Carlisle at latex-project.org>
+
+	* grfguide.tex: replace a.ps and a.pdf by a.eps gh/357
+
 2020-08-13  David Carlisle  <David.Carlisle at latex-project.org>
 
 	* graphics.dtx: Normalise \endlinechar while reading files gh/286
diff --git a/required/graphics/grfguide.tex b/required/graphics/grfguide.tex
index d25bcac2..8df07c5a 100644
--- a/required/graphics/grfguide.tex
+++ b/required/graphics/grfguide.tex
@@ -8,151 +8,21 @@
 %%
 %% This file has the LPPL maintenance status "maintained".
 
-\begin{filecontents*}{a.ps}
-%!
-%%BoundingBox:0 0 72 72
+\begin{filecontents*}{a.eps}
+%!PS-Adobe-2.0 EPSF-2.0
+%%BoundingBox: 0 0 72 72
 0 0 moveto
 72 72 rlineto
 72 neg 0 rlineto
 72 72 neg rlineto
 stroke
+newpath
 0 0 moveto
-/Times-Roman findfont
-72 scalefont
-setfont
-(A) show
-showpage
-\end{filecontents*}
-\begin{filecontents*}{a.pdf}
-%PDF-1.4
-%%%%%
-1 0  obj
-<<
-/Pages 2 0 R
-/Type /Catalog
->>
- endobj
-2 0  obj
-<<
-/Kids [3 0 R]
-/Type /Pages
-/Count 1
->>
- endobj
-3 0  obj
-<<
-/Rotate 0
-/Parent 2 0 R
-/MediaBox [0 0 72 72]
- /Resources
-<<
-/ExtGState 4 0 R
-/Font 5 0 R
-/ProcSet [/PDF /Text]
->>
-/pdftk_PageNum 1
-/Type /Page
-/Contents 6 0 R
->>
- endobj
-4 0  obj
-<<
-/R7 7 0 R
->>
- endobj
-5 0  obj
-<<
-/R8 8 0 R
->>
- endobj
-6 0  obj
-<<
-/Length 135
->>
-stream
-q 0.1 0 0 0.1 0 0 cm
-/R7 gs
-10 w
-0 G
-0 0 m
-720 720 l
-0 720 l
-720 0 l
-S
-0 g
-q
-10 0 0 10 0 0 cm BT
-/R8 72 Tf
-1 0 0 1 0 0 Tm
-(A)Tj
-ET
-Q
-Q
-
- endstream
- endobj
-7 0  obj
-<<
-/Type /ExtGState
-/OPM 1
->>
- endobj
-8 0  obj
-<<
-/BaseFont /Times-Roman
-/LastChar 65
-/Subtype /Type1
-/FontDescriptor 9 0 R
-/Widths [722]
-/Type /Font
-/Encoding /WinAnsiEncoding
-/FirstChar 65
->>
- endobj
-9 0  obj
-<<
-/FontName /Times-Roman
-/StemV 105
-/CharSet (/A)
-/Ascent 674
-/Flags 65568
-/Descent 0
-/ItalicAngle 0
-/MissingWidth 250
-/FontBBox [0 0 706 674]
-/Type /FontDescriptor
-/CapHeight 674
->>
- endobj
-10 0  obj
-<<
-/Producer (GPL Ghostscript 9.06)
-/ModDate (D:20140426202438+01'00')
-/CreationDate (D:20140426202438+01'00')
->>
-endobj xref
-0 11
-0000000000 65535  f
-0000000015 00000  n
-0000000066 00000  n
-0000000125 00000  n
-0000000308 00000  n
-0000000341 00000  n
-0000000374 00000  n
-0000000563 00000  n
-0000000610 00000  n
-0000000774 00000  n
-0000000975 00000  n
-trailer
-
-<<
-/Info 10 0 R
-/Root 1 0 R
-/Size 11
-/ID [<4ca1370d594acd28b9d948a5e8b925c3> <4ca1370d594acd28b9d948a5e8b925c3>]
->>
-startxref
-1106
+20 40 lineto
+40 0 lineto
+10 20 moveto
+30 20 lineto
+stroke
 %%EOF
 \end{filecontents*}
 \documentclass{ltxguide}
@@ -190,7 +60,7 @@ startxref
 \begin{document}
 \title{Packages in the `graphics' bundle}
 \author{D. P. Carlisle \and The \LaTeX3 Project}
-\date{2017-06-01}
+\date{2020-08-21}
 
 \maketitle
 
@@ -789,24 +659,24 @@ left---\fbox{\includegraphics{a}}---right
 With different options supplied to |\includegraphics|.
 
 No optional argument.\\
-left---\fbox{\includegraphics{a}}---right
+left---\fbox{\includegraphics{a.eps}}---right
 
 \gs |\scalebox{0.5}{\includegraphics{a}}|\\
 \gx |\includegraphics[scale=.5]{a}|\\
-left---\fbox{\includegraphics[scale=.5]{a}}---right
+left---\fbox{\includegraphics[scale=.5]{a.eps}}---right
 
 \gs |\includegraphics[15,10][35,45]{a}}|\\
 \gx |\includegraphics[viewport= 15 10 35 45]{a}|\\
-left---\fbox{\includegraphics[viewport= 15 10 35 45]{a}}---right
+left---\fbox{\includegraphics[viewport= 15 10 35 45]{a.eps}}---right
 
 \gs |\includegraphics*[15,10][35,45]{a}}|\\
 \gx |\includegraphics[viewport= 15 10 35 45,clip]{a}|\\
-left---\fbox{\includegraphics[viewport= 15 10 35 45,clip]{a}}---right
+left---\fbox{\includegraphics[viewport= 15 10 35 45,clip]{a.eps}}---right
 
 \gs |\scalebox{0.5}{\includegraphics{a}}|
                    and |draft| option.\\
 \gx |\includegraphics[scale=.5, draft]{a}|\\
-left---\fbox{\includegraphics[scale=.5, draft]{a}}---right
+left---\fbox{\includegraphics[scale=.5, draft]{a.eps}}---right
 
 \subsection{Other commands in the \package{graphics} package}
 
@@ -843,7 +713,7 @@ Note that if the extension is not specified in the |\includegraphics|
 command, the graphics file must exist at the time \LaTeX\ is run, as
 the existence of the file is used to determine which extension from
 the list to choose. However if a file extension \emph{is} specified,
-e.g.\ |\includegraphics{a.ps}| instead of |\includegraphics{a}|, then
+e.g.\ |\includegraphics{a.eps}| instead of |\includegraphics{a}|, then
 the graphics file need not exist at the time \LaTeX\ is used. (In
 particular it may be created on the fly by  the \m{command}
 specified in the |\DeclareGraphicsRule| command described below.)





More information about the latex3-commits mailing list.