History

Add docs for using the Gnuplot scraper

Jed Fox committed 6 years ago

Commit 3e040691 parent 7287d0b1 file · +20 −0Browse files

Unified · Split

docs/file-scrapers.md+20−0
@@ -34,6 +34,26 @@ Go to https://www.erlang.org/downloads and download the HTML documentation file. · 33 unmodified lines
3434 ### GCC
3535 ### GNU Fortran
3636
37+## Gnuplot
38+
39+NOTE: these steps may not work on macOS.
40+
41+Find the most recent tagged version on https://sourceforge.net/p/gnuplot/gnuplot-main/ref/master/tags/
42+and change `1.2.3` below to that tag when running the clone.
43+
44+```sh
45+DEVDOCS_ROOT=/path/to/devdocs
46+mkdir gnuplot-src gnuplot-conf $DEVDOCS_ROOT/docs/gnuplot
47+git clone -b $RELEASE --depth 1 https://git.code.sf.net/p/gnuplot/gnuplot-main ./gnuplot-src
48+cd gnuplot-src/
49+./prepare
50+cd ../gnuplot-conf
51+../gnuplot-src/configure
52+cd docs/
53+make nofigures.tex
54+latex2html -html 5.0,math -split 4 -link 8 -long_titles 5 -dir $DEVDOCS_ROOT/docs/gnuplot -ascii_mode -no_auto_link nofigures.tex
55+```
56+
3757 ## NumPy
3858
3959 ## OpenJDK