Building Joseph E. St. Sauver's tex primer for vax

Suresh Govindachar sgovindachar at yahoo.com
Sun Aug 9 23:02:03 CEST 2020


[Attached the commands used.]

On 8/9/2020 1:51 PM, Suresh Govindachar via texhax wrote:

In attempting to build, using MikTeX on Windows, Joseph E. St. Sauver's 
tex primer for vax found at 
http://tug.ctan.org/info/tex-primer_vms-specific , I ran into a few issues:

1) In overhead2.tex, had to replace two occurrences of Helvetica with 
something else (used Computer Modern).

2) Appendix F ends up with a watermark of upside down F, and Appendix G 
with a watermark of G.

3) The generated index.tex needs to be transformed to something like 
myindex2.tex.

Two questions:

a) My naive attempts to replace Helvetica with Arial failed. How would 
this replacement be done?

b) Why do Appendix F and G have watermarks, and how can they be removed?

Incidentally, here's an archive of the author's own files from 2013: 
https://web.archive.org/web/20130117212630/http://pages.uoregon.edu/joe/tex-primer/
-------------- next part --------------
mkdir -p vax_tex_primer/src \
         derived/vax_tex_primer/scratch \
         derived/vax_tex_primer/output \
         derived/vax_tex_primer/auxiliary

pushd vax_tex_primer/src
  wget http://tug.ctan.org/info/tex-primer_vms-specific/a.tex
  wget http://tug.ctan.org/info/tex-primer_vms-specific/app-a.tex
  wget http://tug.ctan.org/info/tex-primer_vms-specific/app-b.tex
  wget http://tug.ctan.org/info/tex-primer_vms-specific/app-c.tex
  wget http://tug.ctan.org/info/tex-primer_vms-specific/app-d.tex
  wget http://tug.ctan.org/info/tex-primer_vms-specific/app-e.tex
  wget http://tug.ctan.org/info/tex-primer_vms-specific/app-f-a.tex
  wget http://tug.ctan.org/info/tex-primer_vms-specific/app-f.tex
  wget http://tug.ctan.org/info/tex-primer_vms-specific/app-g.tex
  wget http://tug.ctan.org/info/tex-primer_vms-specific/b.tex
  wget http://tug.ctan.org/info/tex-primer_vms-specific/bevbarsmall.eps
  wget http://tug.ctan.org/info/tex-primer_vms-specific/c.tex
  wget http://tug.ctan.org/info/tex-primer_vms-specific/cover.ps
  wget http://tug.ctan.org/info/tex-primer_vms-specific/d.tex
  wget http://tug.ctan.org/info/tex-primer_vms-specific/disspla2.ps
  wget http://tug.ctan.org/info/tex-primer_vms-specific/e.tex
  wget http://tug.ctan.org/info/tex-primer_vms-specific/eightpi.ps
  wget http://tug.ctan.org/info/tex-primer_vms-specific/epsgraphs.tex
  wget http://tug.ctan.org/info/tex-primer_vms-specific/f-a.tex
  wget http://tug.ctan.org/info/tex-primer_vms-specific/f.tex
  wget http://tug.ctan.org/info/tex-primer_vms-specific/fishyl.eps
  wget http://tug.ctan.org/info/tex-primer_vms-specific/fontsize.tex
  wget http://tug.ctan.org/info/tex-primer_vms-specific/g.tex
  wget http://tug.ctan.org/info/tex-primer_vms-specific/indexit.tex
  wget http://tug.ctan.org/info/tex-primer_vms-specific/joesmall.eps
  wget http://tug.ctan.org/info/tex-primer_vms-specific/make_primer.com
  wget http://tug.ctan.org/info/tex-primer_vms-specific/myindex2.tex
  wget http://tug.ctan.org/info/tex-primer_vms-specific/nuclear.tex
  wget http://tug.ctan.org/info/tex-primer_vms-specific/overhead2.tex
  wget http://tug.ctan.org/info/tex-primer_vms-specific/readme
  wget http://tug.ctan.org/info/tex-primer_vms-specific/resume2.tex
  wget http://tug.ctan.org/info/tex-primer_vms-specific/survey2.tex
  wget http://tug.ctan.org/info/tex-primer_vms-specific/tex_primer.tex
  wget http://tug.ctan.org/info/tex-primer_vms-specific/uothesis.tex

popd
  cp -ira vax_tex_primer/src/* derived/vax_tex_primer/scratch/

# $ diff derived/vax_tex_primer/scratch/overhead2.tex vax_tex_primer/src/overhead2.tex
# 19,23c19,20
# < %-original-% \font\thtyhvbld=Helvetica-Bold at 30pt
# < %-original-% \font\thtyhv=Helvetica at 30pt
# < %\font\thtyhvbld=Arial-BoldMT at 30pt
# < \font\thtyhvbld=CMB10 at 30pt
# < \font\thtyhv=CMR12 at 30pt
# ---
# > \font\thtyhvbld=Helvetica-Bold at 30pt
# > \font\thtyhv=Helvetica at 30pt
# $

pushd derived/vax_tex_primer/scratch/
  ps2pdf cover.ps       ../output/cover.pdf
  pdftex tex_primer.tex -aux-directory=../auxiliary  -output-directory=../output
  pdftex app-a.tex      -aux-directory=../auxiliary  -output-directory=../output
  pdftex app-b.tex      -aux-directory=../auxiliary  -output-directory=../output
  pdftex app-c.tex      -aux-directory=../auxiliary  -output-directory=../output
  pdftex app-d.tex      -aux-directory=../auxiliary  -output-directory=../output
  pdftex app-e.tex      -aux-directory=../auxiliary  -output-directory=../output
  pdftex app-f.tex      -aux-directory=../auxiliary  -output-directory=../output
  tex app-f-a.tex
  dvips app-f-a.dvi
  ps2pdf app-f-a.ps
  mv app-f-a.pdf  ../output
  tex app-g.tex
  dvips app-g.dvi
  ps2pdf app-g.ps
  mv app-g.pdf ../output
  pdftex myindex2.tex   -aux-directory=../auxiliary  -output-directory=../output

  cd ../output
  pdftk cover.pdf  \
   tex_primer.pdf   \
   app-a.pdf   \
   app-b.pdf   \
   app-c.pdf   \
   app-d.pdf   \
   app-e.pdf   \
   app-f.pdf   \
   app-f-a.pdf   \
   app-g.pdf   \
   myindex2.pdf   \
   cat output tex_primer_vax_joseph_e_st_sauver.pdf
popd

cp -ira derived/vax_tex_primer/output/tex_primer_vax_joseph_e_st_sauver.pdf \
        vax_tex_primer/



More information about the texhax mailing list.