diff options
author | Karl Berry <karl@freefriends.org> | 2014-03-23 22:12:25 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2014-03-23 22:12:25 +0000 |
commit | 43f0cab68a9ea1b2cc9385df46487eb6f4cba012 (patch) | |
tree | b166042c22748d2090d128a93cd018421d3e54e4 /Master/texmf-dist/doc/latex/prerex/prerex.sty.7 | |
parent | 9abfc4f95bed4bf19e6ceb6bd34d9dc7e752f34d (diff) |
prerex (23mar14)
git-svn-id: svn://tug.org/texlive/trunk@33264 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/prerex/prerex.sty.7')
-rw-r--r-- | Master/texmf-dist/doc/latex/prerex/prerex.sty.7 | 35 |
1 files changed, 25 insertions, 10 deletions
diff --git a/Master/texmf-dist/doc/latex/prerex/prerex.sty.7 b/Master/texmf-dist/doc/latex/prerex/prerex.sty.7 index d71cf77aeee..acc4b0abe75 100644 --- a/Master/texmf-dist/doc/latex/prerex/prerex.sty.7 +++ b/Master/texmf-dist/doc/latex/prerex/prerex.sty.7 @@ -1,4 +1,4 @@ -.TH PREREX.STY 7 2014-02-28 "prerex.sty-6.4" "" +.TH PREREX.STY 7 2014-03-22 "prerex.sty-6.5" "" .SH NAME prerex.sty \- a LaTeX document style for prerequisite charts .SH DESCRIPTION @@ -8,9 +8,10 @@ defines macros that can use to draw charts consisting of labelled course boxes linked by arrows that represent pre- and co-requisite requirements. -In addition to the usual -.B [pdf]latex -output, auxiliary files will be generated containing image-map data for the +If +.B pdflatex +is used, +auxiliary files will be generated as follows: image-map data and xlink commands for the hyperlinked nodes in the diagram and a shell script to crop a PNG image generated from a Postscript or PDF chart. .P @@ -202,7 +203,7 @@ command. .SH WEB LINKS Course boxes (including minis) may be hyperlinked. The default URL for course boxes is -.IR course-code .html +.IR ./course-code .html where .I course-code is @@ -351,7 +352,7 @@ This implementation of .B prerex.sty uses .B pgf -(version 1.18 or later) +(version 3.0 or later) with add-on package .B tikz. The following additional packages are used: @@ -371,6 +372,10 @@ followed by .BR dvips (1) (and possibly .BR ps2pdf (1)) +.I or +.BR latex (1) +followed by +.BR dvipdfmx (1) may be used. .P To convert a chart to a compact but reasonably high-quality image, it is suggested to use the @@ -395,6 +400,12 @@ crops the image at the southeast corner. It is possible to use a PNG compression application such as .BR optipng (1) to reduce the file-size of the cropped image (without loss of quality). +.P +To convert a PDF chart to SVG (Scaleable Vector Graphic) format, it is recommended to +use +.BR pdf2svg (1), +obtainable from +http://www.cityinthesky.co.uk/opensource/pdf2svg/. .SH IMPLEMENTATION DETAILS .P @@ -430,16 +441,18 @@ PDF viewers to compute chart coordinates. .P To support HTML versions of charts, .B prerex.sty +(when processed by +.BR pdflatex (1)) generates a script to crop a chart image at the southeast corner, allowing descriptive notes below the chart to be treated as ordinary text. Also, -it generates image-map data for use with an HTML image map. To +it generates image-map data for use with an HTML image map and +xlink data for use with a SVG image. To obtain absolute page coordinates, the .B zsavepos, .B zposx and .B zposy -commands are used; the page coordinates are converted into pixel coordinates -for cropping and image-map use. +commands are used; the page coordinates are converted into pixel coordinates. .SH LICENSE .B prerex.sty and this document may be distributed and/or modified under the @@ -449,6 +462,7 @@ R. D. Tennent (rdt@cs.queensu.ca) .SH SEE ALSO .BR ImageMagick (1), .BR convert (1). +.BR dvipdfmx (1), .BR dvips (1), .BR evince (1), .BR gpdf (1), @@ -456,12 +470,13 @@ R. D. Tennent (rdt@cs.queensu.ca) .BR latex (1), .BR okular (1), .BR optipng (1), +.BR pdf2svg (1), .BR pdflatex (1), .BR prerex (1), .BR prerex (5), .BR ps2pdf (1), .BR tikz (1), -.BR tgf (1), +.BR pgf (1), .BR vprerex (1), and .BR xpdf (1). |