Browse Source

minor changes

Martin Thoma 12 years ago
parent
commit
c654ee54ee

+ 1 - 1
math/gnuplot/high-order-knot/Makefile

@@ -5,7 +5,7 @@ WIDTH = 500
 
 
 make:
 make:
 	gnuplot plot.gnuplot
 	gnuplot plot.gnuplot
-	pdflatex -shell-escape $(SOURCE).tex -output-format=pdf
+	pdflatex $(SOURCE).tex -output-format=pdf
 	make clean
 	make clean
 
 
 clean:
 clean:

+ 7 - 3
math/gnuplot/high-order-knot/README.md

@@ -2,12 +2,16 @@ Use gnuplot within latex
 ========================
 ========================
 First make sure that you can use gnuplot:
 First make sure that you can use gnuplot:
 * Execute "gnuplot" in your command line
 * Execute "gnuplot" in your command line
-** Doesn't work: Look up where the binary is located (e.g. `C:\Programs\gnuplot\bin\gnuplot.exe`) and add it to your path (Windows + Pause -> System variables -> Path). Then try executing "gnuplot" in terminal again
-** remember: You have to use `-shell-escape`
+ * Doesn't work: Look up where the binary is located (e.g. `C:\Programs\gnuplot\bin\gnuplot.exe`) and add it to your path (Windows + Pause -> System variables -> Path). Then try executing "gnuplot" in terminal again
+
+It is a good idea to separate gnuplot-code from LaTeX-code! (see plot.gnuplot)
+
+`-shell-escape` or `enable-write18` is NOT needed for this solution!
 
 
 GnuPlot Terminal types
 GnuPlot Terminal types
 ----------------------
 ----------------------
 Available terminal types:
 Available terminal types:
+
            aed512  AED 512 Terminal
            aed512  AED 512 Terminal
            aed767  AED 767 Terminal
            aed767  AED 767 Terminal
              aifm  Adobe Illustrator 3.0 Format
              aifm  Adobe Illustrator 3.0 Format
@@ -29,7 +33,6 @@ Available terminal types:
           hp2623A  HP2623A and maybe others
           hp2623A  HP2623A and maybe others
            hp2648  HP2648 and HP2647
            hp2648  HP2648 and HP2647
            hp500c  HP DeskJet 500c, [75 100 150 300] [rle tiff]
            hp500c  HP DeskJet 500c, [75 100 150 300] [rle tiff]
-
              hpdj  HP DeskJet 500, [75 100 150 300]
              hpdj  HP DeskJet 500, [75 100 150 300]
              hpgl  HP7475 and relatives [number of pens] [eject]
              hpgl  HP7475 and relatives [number of pens] [eject]
            hpljii  HP Laserjet series II, [75 100 150 300]
            hpljii  HP Laserjet series II, [75 100 150 300]
@@ -71,6 +74,7 @@ Available terminal types:
             xterm  Xterm Tektronix 4014 Mode
             xterm  Xterm Tektronix 4014 Mode
 
 
 The following sound good:
 The following sound good:
+
             eepic  EEPIC -- extended LaTeX picture environment
             eepic  EEPIC -- extended LaTeX picture environment
             emtex  LaTeX picture environment with emTeX specials
             emtex  LaTeX picture environment with emTeX specials
          epslatex  LaTeX picture environment using graphicx package
          epslatex  LaTeX picture environment using graphicx package

BIN
math/gnuplot/high-order-knot/high-order-knot.pdf


+ 1 - 1
math/gnuplot/high-order-knot/high-order-knot.tex

@@ -3,5 +3,5 @@
 \usepackage{graphicx}
 \usepackage{graphicx}
 
 
 \begin{document}
 \begin{document}
-\input plot
+\input plot-tmp
 \end{document}
 \end{document}