Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
e40a2418
Commit
e40a2418
authored
Jun 27, 1997
by
Karl Berry
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(\image): New definition for new @image command.
From-SVN: r14329
parent
5c8346ed
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
44 additions
and
2 deletions
+44
-2
gcc/texinfo.tex
+44
-2
No files found.
gcc/texinfo.tex
View file @
e40a2418
%% TeX macros to handle Texinfo files.
%% TeX macros to handle Texinfo files.
%% $Id: texinfo.tex,v 2.20
4 1997/06/06 14:31:32
karl Exp $
%% $Id: texinfo.tex,v 2.20
7 1997/06/18 19:58:18
karl Exp $
% Copyright (C) 1985, 86, 88, 90, 91, 92, 93,
% Copyright (C) 1985, 86, 88, 90, 91, 92, 93,
% 94, 95, 96, 97 Free Software Foundation, Inc.
% 94, 95, 96, 97 Free Software Foundation, Inc.
...
@@ -36,7 +36,7 @@
...
@@ -36,7 +36,7 @@
% This automatically updates the version number based on RCS.
% This automatically updates the version number based on RCS.
\def\deftexinfoversion
$
#
1
: #
2
${
\def\texinfoversion
{
#2
}}
\def\deftexinfoversion
$
#
1
: #
2
${
\def\texinfoversion
{
#2
}}
\deftexinfoversion
$
Revision:
2
.
20
4
$
\deftexinfoversion
$
Revision:
2
.
20
7
$
\message
{
Loading texinfo package [Version
\texinfoversion
]:
}
\message
{
Loading texinfo package [Version
\texinfoversion
]:
}
% If in a .fmt file, print the version number
% If in a .fmt file, print the version number
...
@@ -4559,9 +4559,51 @@ width0pt\relax} \fi
...
@@ -4559,9 +4559,51 @@ width0pt\relax} \fi
%
%
\def\finalout
{
\overfullrule
=0pt
}
\def\finalout
{
\overfullrule
=0pt
}
% @image. We use the macros from epsf.tex to support this.
% If epsf.tex is not installed and @image is used, we complain.
%
% Check for and read epsf.tex up front. If we read it only at @image
% time, we might be inside a group, and then its definitions would get
% undone and the next image would fail.
\openin
1 = xepsf.tex
\ifeof
1
\else
\closein
1
\def\epsfannounce
{
\toks
0 =
}
% do not bother showing banner
\input
epsf.tex
\fi
%
\newif\ifwarnednoepsf
\newhelp\noepsfhelp
{
epsf.tex must be installed for images to
work. It is also included in the Texinfo distribution, or you can get
it from ftp://ftp.tug.org/tex/epsf.tex.
}
%
% Only complain once about lack of epsf.tex.
\def\image
#1
{
%
\ifx\epsfbox\undefined
\ifwarnednoepsf
\else
\errhelp
=
\noepsfhelp
\errmessage
{
epsf.tex not found, images will be ignored
}
%
\global\warnednoepsftrue
\fi
\else
\imagexxx
#1,,,
\finish
\fi
}
%
% Arguments to @image:
% #1 is (mandatory) image filename; we tack on .eps extension.
% #2 is (optional) width, #3 is (optional) height.
% #4 is just the usual extra ignored arg for parsing this stuff.
\def\imagexxx
#1,#2,#3,#4
\finish
{
%
% \epsfbox itself resets \epsf?size at each figure.
\setbox
0 =
\hbox
{
\ignorespaces
#2
}
\ifdim\wd
0 > 0pt
\epsfxsize
=#2
\relax
\fi
\setbox
0 =
\hbox
{
\ignorespaces
#3
}
\ifdim\wd
0 > 0pt
\epsfysize
=#3
\relax
\fi
\epsfbox
{
#1.eps
}
%
}
% End of control word definitions.
% End of control word definitions.
\message
{
and turning on texinfo input format.
}
\message
{
and turning on texinfo input format.
}
\def\openindices
{
%
\def\openindices
{
%
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment