Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
d2c448a1
Commit
d2c448a1
authored
Jul 29, 2005
by
Fred Drake
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use a test for PDF support that is more portable across teTeX major versions
(closes SF bug #1238210)
parent
083ac15f
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
4 deletions
+8
-4
Doc/texinputs/howto.cls
Doc/texinputs/howto.cls
+4
-2
Doc/texinputs/manual.cls
Doc/texinputs/manual.cls
+4
-2
No files found.
Doc/texinputs/howto.cls
View file @
d2c448a1
...
@@ -50,7 +50,8 @@
...
@@ -50,7 +50,8 @@
%
%
\renewcommand
{
\maketitle
}{
\renewcommand
{
\maketitle
}{
\py
@doHorizontalRule
\py
@doHorizontalRule
\@
ifundefined
{
pdfinfo
}{}{{
\ifpdf
\begingroup
% This \def is required to deal with multi-line authors; it
% This \def is required to deal with multi-line authors; it
% changes \\ to ', ' (comma-space), making it pass muster for
% changes \\ to ', ' (comma-space), making it pass muster for
% generating document info in the PDF file.
% generating document info in the PDF file.
...
@@ -59,7 +60,8 @@
...
@@ -59,7 +60,8 @@
/Author (
\@
author)
/Author (
\@
author)
/Title (
\@
title)
/Title (
\@
title)
}
}
}}
\endgroup
\fi
\begin{flushright}
\begin{flushright}
{
\rm\Huge\py
@HeaderFamily
\@
title
}
\par
{
\rm\Huge\py
@HeaderFamily
\@
title
}
\par
{
\em\large\py
@HeaderFamily
\py
@release
\releaseinfo
}
\par
{
\em\large\py
@HeaderFamily
\py
@release
\releaseinfo
}
\par
...
...
Doc/texinputs/manual.cls
View file @
d2c448a1
...
@@ -64,7 +64,8 @@
...
@@ -64,7 +64,8 @@
\let\footnotesize\small
\let\footnotesize\small
\let\footnoterule\relax
\let\footnoterule\relax
\py
@doHorizontalRule
%
\py
@doHorizontalRule
%
\@
ifundefined
{
pdfinfo
}{}{{
\ifpdf
\begingroup
% This \def is required to deal with multi-line authors; it
% This \def is required to deal with multi-line authors; it
% changes \\ to ', ' (comma-space), making it pass muster for
% changes \\ to ', ' (comma-space), making it pass muster for
% generating document info in the PDF file.
% generating document info in the PDF file.
...
@@ -73,7 +74,8 @@
...
@@ -73,7 +74,8 @@
/Author (
\@
author)
/Author (
\@
author)
/Title (
\@
title)
/Title (
\@
title)
}
}
}}
\endgroup
\fi
\begin{flushright}
%
\begin{flushright}
%
{
\rm\Huge\py
@HeaderFamily
\@
title
\par
}
%
{
\rm\Huge\py
@HeaderFamily
\@
title
\par
}
%
{
\em\LARGE\py
@HeaderFamily
\py
@release
\releaseinfo
\par
}
{
\em\LARGE\py
@HeaderFamily
\py
@release
\releaseinfo
\par
}
...
...
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