mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-26 22:17:41 +00:00
* Enable man2ps to work without hard-coding the locations of groff or dpost.
* 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
This commit is contained in:
parent
9c5a0331a3
commit
9a88b1d8be
@ -60,12 +60,11 @@ DTL_DBN = $(DOCS) $(SRC) $(TESTS)
|
||||
$(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
|
||||
|
||||
|
@ -13,7 +13,7 @@ ASCII text representation of a DVI file.
|
||||
|
||||
References for DVI file structure:
|
||||
----------------------------------
|
||||
|
||||
|
||||
In this distribution:
|
||||
|
||||
dvi.doc
|
||||
@ -21,7 +21,7 @@ In this distribution:
|
||||
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.
|
||||
@ -39,7 +39,7 @@ The other DTL commands correspond one-to-one with DVI commands, but I
|
||||
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)
|
||||
|
@ -22,7 +22,7 @@ DVI Commands
|
||||
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
|
||||
|
@ -20,16 +20,16 @@ case `basename $0` in
|
||||
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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user