mirror of
https://github.com/python/cpython.git
synced 2025-11-27 05:44:16 +00:00
Back to the Makefile...
This commit is contained in:
parent
573805afd6
commit
0e5f0097c4
1 changed files with 11 additions and 23 deletions
34
Doc/README
34
Doc/README
|
|
@ -9,28 +9,16 @@ The following are the LaTeX source files:
|
||||||
qua.tex, quabib.bib Article published in CWI Quarterly
|
qua.tex, quabib.bib Article published in CWI Quarterly
|
||||||
|
|
||||||
All except qua.tex use the style option file "myformat.sty". This
|
All except qua.tex use the style option file "myformat.sty". This
|
||||||
contains some simple macro definitions and sets style parameters. You
|
contains some macro definitions and sets style parameters. You can
|
||||||
can easily edit it to change the paper size (the default is European
|
easily edit it to change the paper size (the default is European
|
||||||
paper, "A4" or 21 x 29.7 cm).
|
paper, "A4": 21 x 29.7 cm).
|
||||||
|
|
||||||
To format a document, run latex on it, twice, to get the forward
|
There's a Makefile to call latex and other utilities (makeindex and
|
||||||
references right, then use dvips and lpr to print it, e.g.:
|
bibtex) in the right order and the right number of times. This will
|
||||||
|
produce dvi files for each document made; to preview them, use xdvi.
|
||||||
|
Printing depends on local conventions; at my site, I use dvips and
|
||||||
|
lpr. For example:
|
||||||
|
|
||||||
latex lib
|
make ref # creates ref.dvi
|
||||||
latex lib
|
xdvi ref # preview it
|
||||||
dvips lib | lpr
|
dvips -Ppsc ref | lpr -Ppsc # print it on printer "psc".
|
||||||
|
|
||||||
Before calling dvips and lpr, you should really preview the dvi file,
|
|
||||||
e.g.
|
|
||||||
|
|
||||||
xdvi lib
|
|
||||||
|
|
||||||
The qua document (which is not user documentation but a somewhat more
|
|
||||||
abstract review of Python and some work for which it was used) needs
|
|
||||||
a little more work:
|
|
||||||
|
|
||||||
latex qua
|
|
||||||
latex qua
|
|
||||||
bibtex qua
|
|
||||||
latex qua
|
|
||||||
dvips qua | lpr
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue