summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/prerex/intro.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2014-03-23 22:12:25 +0000
committerKarl Berry <karl@freefriends.org>2014-03-23 22:12:25 +0000
commit43f0cab68a9ea1b2cc9385df46487eb6f4cba012 (patch)
treeb166042c22748d2090d128a93cd018421d3e54e4 /Master/texmf-dist/doc/latex/prerex/intro.tex
parent9abfc4f95bed4bf19e6ceb6bd34d9dc7e752f34d (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/intro.tex')
-rw-r--r--Master/texmf-dist/doc/latex/prerex/intro.tex29
1 files changed, 23 insertions, 6 deletions
diff --git a/Master/texmf-dist/doc/latex/prerex/intro.tex b/Master/texmf-dist/doc/latex/prerex/intro.tex
index e03d426e2fd..e89c60dcebe 100644
--- a/Master/texmf-dist/doc/latex/prerex/intro.tex
+++ b/Master/texmf-dist/doc/latex/prerex/intro.tex
@@ -132,7 +132,9 @@ to accommodate paper size, display resolution, or user preference.
Charts can also be converted to Portable Network Graphics (PNG)
format for in-line use on a web page. PNG format is also relatively compact
-and can be rendered directly by most web browsers.
+and can be rendered directly by most web browsers. Scalable Vector Graphics (SVG)
+format is a new standard which is increasingly supported by modern browsers; it is fairly easy to
+convert PDF pages to SVG images.
Prerex-formatted charts are produced by software that processes simple and convenient
text-based descriptions. These descriptions can be edited in any
@@ -475,6 +477,21 @@ From version 5.0, \verb|prerex.sty| (if processed by \verb\pdflatex\) generates
containing image-map data for the hyperlinked nodes in the chart; consult a
reference on the HTML language for an explanation of (client-side) image maps.
+\section{Conversion to Scalable Vector Graphics (SVG) Format}
+
+Recent versions of popular browsers support SVG graphics natively,; i.e., without
+requiring a plug-in or
+external application. The quality and size of SVG images are comparable to PDF when
+the files are compressed.
+
+On Unix-like platforms such as Linux, a small program called \verb\pdf2svg\ is
+available\footnote{%
+\myurl{http://www.cityinthesky.co.uk/opensource/pdf2svg/}}; it uses standard
+libraries (\verb\poppler\ and \verb\cairo\) to implement
+the conversion. Since version~6.5, pdf\LaTeX\ processing will generate an auxiliary
+file \verb|\jobname.dat| of data on links in the PDF, as most conversion
+applications do not attempt to convert PDF hyperlinks to SVG links.
+
\section{Terminology and Coordinate System}
Before we discuss the \texttt{prerex} editor and the format
@@ -533,14 +550,14 @@ in the background of a chart.
The coordinates of a
\emph{box,}
-\emph{mini,
+\emph{mini},
or
-\emph{text-line}}
+\emph{text}
are those of its centre point.
An
\emph{arrow}
is described by the
-coordinates of the centre points of its source and target boxes/minis/text-lines.
+coordinates of the centre points of its source and target boxes/minis/texts.
\section{Chart Editing}
\label{editor}
@@ -554,11 +571,11 @@ and the Fink\footnote{\myurl{http://fink.sourceforge.net/}} platform
on OS~X.
The editor supports add, remove, cut-and-paste, and edit operations
-on course boxes, minis, text-lines, and arrows, and shifts of specified diagram elements or an entire diagram.
+on course boxes, minis, texts, and arrows, and shifts of specified diagram elements or an entire diagram.
A summary of all
commands supported by \texttt{prerex} is given in Table~\ref{help}.
%on page~\pageref{help}.
-Note that if a course box/mini/text-line is ``cut''
+Note that if a course box/mini/text is ``cut''
and then ``pasted'' elsewhere, the target or source coordinates of arrows into or out of the source and target are
adjusted accordingly, and similarly if nodes are shifted or raised. To allow permutations of two or more
chart elements, the