summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-11-15 03:00:48 +0000
committerNorbert Preining <norbert@preining.info>2019-11-15 03:00:48 +0000
commit0e223aaa93c5ee0c0e937c23f75535269324d217 (patch)
treea1560443dbf550de1e05ee7cbea5af5a4b2df808 /graphics
parent49c6cb1416b2c29d19762437e2e219c9b73047d0 (diff)
CTAN sync 201911150300
Diffstat (limited to 'graphics')
-rw-r--r--graphics/prerex/README2
-rw-r--r--graphics/prerex/doc/intro.pdfbin290147 -> 325302 bytes
-rw-r--r--graphics/prerex/doc/intro.tex5
-rw-r--r--graphics/prerex/prerex.sty83
4 files changed, 61 insertions, 29 deletions
diff --git a/graphics/prerex/README b/graphics/prerex/README
index 63bd10440e..1990c45cea 100644
--- a/graphics/prerex/README
+++ b/graphics/prerex/README
@@ -1,4 +1,4 @@
-prerex, version 2017-11-28. Macros for prerequisite charts, with
+prerex, version 2019-11-14. Macros for prerequisite charts, with
associated editor and viewer applications.
This package consists of
diff --git a/graphics/prerex/doc/intro.pdf b/graphics/prerex/doc/intro.pdf
index 79fd0d517e..72c0c78a4f 100644
--- a/graphics/prerex/doc/intro.pdf
+++ b/graphics/prerex/doc/intro.pdf
Binary files differ
diff --git a/graphics/prerex/doc/intro.tex b/graphics/prerex/doc/intro.tex
index f8fe305ebc..2764fa2547 100644
--- a/graphics/prerex/doc/intro.tex
+++ b/graphics/prerex/doc/intro.tex
@@ -118,11 +118,6 @@ Here are some of these:
\subsection{Prerex-Formatted Prerequisite Charts}
-\subsubsection*{Where can I see prerex-formatted charts in use?}
-
-There are several charts for both specialized and multi-disciplinary programs
-on-line here: \myurl{http://www.cs.queensu.ca/undergraduate/prerequisites}.
-
\subsubsection*{What file formats are used for prerex-formatted charts?}
The charts themselves are best distributed in the Portable Document
diff --git a/graphics/prerex/prerex.sty b/graphics/prerex/prerex.sty
index 2acc9372e7..5480354290 100644
--- a/graphics/prerex/prerex.sty
+++ b/graphics/prerex/prerex.sty
@@ -1,6 +1,6 @@
%% This is file 'prerex.sty'
%%
-%% Copyright (C) 2006-14 R. D. Tennent, rdt@cs.queensu.ca
+%% Copyright (C) 2006-19 R. D. Tennent, rdt@cs.queensu.ca
%%
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either version 1.3
@@ -13,7 +13,7 @@
%% This work has the LPPL maintenance status "author-maintained".
%%
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
-\ProvidesPackage{prerex}[2014/03/22 v6.6.0 LaTeX style for prerequisite charts, pgf version]
+\ProvidesPackage{prerex}[2019/11/14 v6.7.0 LaTeX style for prerequisite charts, pgf version]
%
% Changelog is at the end of the file.
%
@@ -442,13 +442,24 @@
\def\@curved#1,#2,#3,#4;#5:{
- \setcounter{@dy}{#2-#4}
- \ifnum#3<#1
- \setcounter{@dx}{#1-#3}
- \setcounter{@myangle}{(-#5) * \the@dx * \the@dy * 2}
- \else
- \setcounter{@dx}{#3-#1}
- \setcounter{@myangle}{#5 * \the@dx * \the@dy * 2}
+ \ifnum#4<#2
+ \setcounter{@dy}{#2-#4}
+ \ifnum#3<#1
+ \setcounter{@dx}{#1-#3}
+ \setcounter{@myangle}{-#5 * \the@dx * \the@dy * 2}
+ \else
+ \setcounter{@dx}{#3-#1}
+ \setcounter{@myangle}{#5 * \the@dx * \the@dy * 2}
+ \fi
+ \else
+ \setcounter{@dy}{#4-#2}
+ \ifnum#3<#1
+ \setcounter{@dx}{#1-#3}
+ \setcounter{@myangle}{-#5 * \the@dx * \the@dy * 2}
+ \else
+ \setcounter{@dx}{#3-#1}
+ \setcounter{@myangle}{#5 * \the@dx * \the@dy * 2}
+ \fi
\fi
\setcounter{@myangle}{\the@myangle / ((\the@dx + \the@dy) * (\the@dx + \the@dy))}
\setcounter{@inangle}{180 - \the@myangle}
@@ -474,13 +485,24 @@
}
\def\@curvedDashed#1,#2,#3,#4;#5:{
- \setcounter{@dy}{#2-#4}
- \ifnum#3<#1
- \setcounter{@dx}{#1-#3}
- \setcounter{@myangle}{(-#5) * \the@dx * \the@dy * 2}
- \else
- \setcounter{@dx}{#3-#1}
- \setcounter{@myangle}{#5 * \the@dx * \the@dy * 2}
+ \ifnum#4<#2
+ \setcounter{@dy}{#2-#4}
+ \ifnum#3<#1
+ \setcounter{@dx}{#1-#3}
+ \setcounter{@myangle}{-#5 * \the@dx * \the@dy * 2}
+ \else
+ \setcounter{@dx}{#3-#1}
+ \setcounter{@myangle}{#5 * \the@dx * \the@dy * 2}
+ \fi
+ \else
+ \setcounter{@dy}{#4-#2}
+ \ifnum#3<#1
+ \setcounter{@dx}{#1-#3}
+ \setcounter{@myangle}{-#5 * \the@dx * \the@dy * 2}
+ \else
+ \setcounter{@dx}{#3-#1}
+ \setcounter{@myangle}{#5 * \the@dx * \the@dy * 2}
+ \fi
\fi
\setcounter{@myangle}{\the@myangle / ((\the@dx + \the@dy) * (\the@dx + \the@dy))}
\setcounter{@inangle}{180 - \the@myangle}
@@ -506,13 +528,24 @@
}
\def\@curvedDotted#1,#2,#3,#4;#5:{
- \setcounter{@dy}{#2-#4}
- \ifnum#3<#1
- \setcounter{@dx}{#1-#3}
- \setcounter{@myangle}{(-#5) * \the@dx * \the@dy * 2}
- \else
- \setcounter{@dx}{#3-#1}
- \setcounter{@myangle}{#5 * \the@dx * \the@dy * 2}
+ \ifnum#4<#2
+ \setcounter{@dy}{#2-#4}
+ \ifnum#3<#1
+ \setcounter{@dx}{#1-#3}
+ \setcounter{@myangle}{-#5 * \the@dx * \the@dy * 2}
+ \else
+ \setcounter{@dx}{#3-#1}
+ \setcounter{@myangle}{#5 * \the@dx * \the@dy * 2}
+ \fi
+ \else
+ \setcounter{@dy}{#4-#2}
+ \ifnum#3<#1
+ \setcounter{@dx}{#1-#3}
+ \setcounter{@myangle}{-#5 * \the@dx * \the@dy * 2}
+ \else
+ \setcounter{@dx}{#3-#1}
+ \setcounter{@myangle}{#5 * \the@dx * \the@dy * 2}
+ \fi
\fi
\setcounter{@myangle}{\the@myangle / ((\the@dx + \the@dy) * (\the@dx + \the@dy))}
\setcounter{@inangle}{180 - \the@myangle}
@@ -600,6 +633,10 @@
%
% Changelog:
%
+% Versin 6.7.0
+%
+% allow for curved upward arrows
+%
% Version 6.6.0
%
% remove code to generate \jobname.map and \jobname.sh files