gzz-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gzz-commits] gzz/Documentation/Manuscripts/Paper Makefile pa...


From: Antti-Juhani Kaijanaho
Subject: [Gzz-commits] gzz/Documentation/Manuscripts/Paper Makefile pa...
Date: Sat, 30 Nov 2002 05:56:06 -0500

CVSROOT:        /cvsroot/gzz
Module name:    gzz
Changes by:     Antti-Juhani Kaijanaho <address@hidden> 02/11/30 05:56:06

Modified files:
        Documentation/Manuscripts/Paper: Makefile paper.tex 

Log message:
        Add support for command-line based switch of document class

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gzz/gzz/Documentation/Manuscripts/Paper/Makefile.diff?tr1=1.7&tr2=1.8&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gzz/gzz/Documentation/Manuscripts/Paper/paper.tex.diff?tr1=1.103&tr2=1.104&r1=text&r2=text

Patches:
Index: gzz/Documentation/Manuscripts/Paper/Makefile
diff -u gzz/Documentation/Manuscripts/Paper/Makefile:1.7 
gzz/Documentation/Manuscripts/Paper/Makefile:1.8
--- gzz/Documentation/Manuscripts/Paper/Makefile:1.7    Fri Nov 29 15:37:27 2002
+++ gzz/Documentation/Manuscripts/Paper/Makefile        Sat Nov 30 05:56:06 2002
@@ -1,15 +1,21 @@
 .SUFFIXES: $(SUFFIXES) .eps .pdf .fig
 
+ifeq ($(USEARTICLE),yes)
+LATEXCMD=\def\usearticle{yes}\input
+else
+LATEXCMD=
+endif
+
 all: perceptual-model.eps pipeline.eps
-       latex paper
+       latex "${LATEXCMD} paper"
        BIBINPUTS=..:$$BIBINPUTS bibtex paper
-       latex paper
+       latex "${LATEXCMD} paper"
 
 # doesn't work because of .ps screenshots
 pdf: perceptual-model.pdf pipeline.pdf
-       pdflatex paper
+       pdflatex "${LATEXCMD} paper"
        BIBINPUTS=..:$$BIBINPUTS bibtex paper
-       pdflatex paper
+       pdflatex "${LATEXCMD} paper"
 
 pipeline.eps: pipeline.fig Makefile
        fig2dev -L eps -m .42 pipeline.fig pipeline.eps
@@ -28,4 +34,4 @@
 shots_paper:
        for i in ../../../shots/multipaper.png 
../../../shots/paperbasistex.png; do \
            pngtopnm <$$i | pnmcrop | pnmtops -noturn -imagewidth 4  > 
`basename $$i .png`.ps; \
-       done
+       donE
Index: gzz/Documentation/Manuscripts/Paper/paper.tex
diff -u gzz/Documentation/Manuscripts/Paper/paper.tex:1.103 
gzz/Documentation/Manuscripts/Paper/paper.tex:1.104
--- gzz/Documentation/Manuscripts/Paper/paper.tex:1.103 Sat Nov 30 03:34:57 2002
+++ gzz/Documentation/Manuscripts/Paper/paper.tex       Sat Nov 30 05:56:06 2002
@@ -1,4 +1,5 @@
-\if0
+\def\yes{yes}
+\ifx\usearticle\yes
 \documentclass[twocolumn]{article}
 \usepackage[latin1]{inputenc}
 % \usepackage{times}




reply via email to

[Prev in Thread] Current Thread [Next in Thread]