* Re-add whitespace fluff to {dvi,dtl}.doc --- minimize change to original package.
* Enable man2ps (and hence doc) targets in Makefile to build out of the box.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14359
a592a061-630c-0410-9148-
cb99ea01b6c8
$(DITROFF) -man -Tascii $< | $(COL) >$@
.man.ps:
- $(MAN2PS) < $< > $@
+ $(MAN2PS) $< > $@
#=======================================================================
-#all: dtl check doc
-all: dtl check
+all: dtl check doc
doc: dt2dv.hlp dv2dt.hlp dt2dv.ps dv2dt.ps
References for DVI file structure:
----------------------------------
-
+
In this distribution:
dvi.doc
In the TeX archives:
CTAN: dviware/driv-standard/level-0/dvistd0.tex
-
+
"The DVI Driver Standard, Level 0",
by The TUG DVI Driver Standards Committee (now defunct)
chaired by Joachim Schrod.
have used briefer names (except for `special') than those used in the
DVI standards document.
- DTL : DVI
+ DTL : DVI
(text) : series of set_char commands, for printable ASCII text
\( : literal ASCII left parenthesis in (text)
Listed in the free format:
"Opcode Symbol Parameter[Signed? Bytes] ... Action".
-
+
0 set_char_0 - set character 0 from current font
...
127 set_char_127 - set character 127 from current font
esac
# We can use either GNU groff or Sun Solaris troff + dpost
-if [ -x /usr/local/bin/groff ]
+if [ which groff > /dev/null ]
then # GNU groff
TROFF="groff $FORMAT"
TROFF2PS="cat"
-elif [ -x /usr/lib/lp/postscript/dpost ]
+elif [ which dpost > /dev/null ]
then # Solaris 2.1
TROFF="troff $FORMAT"
TROFF2PS="/usr/lib/lp/postscript/dpost"
else
- echo "Cannot find troff-to-PostScript filter"
+ echo "Cannot find troff-to-PostScript filter" >&2
exit 1
fi