@@ -30,11 +30,11 @@ XML::Parser and XML::DOM (man); xmlto (html); and dblatex and xelatex
3030
3131After the cmake step using -DBUILD_DOC=ON you must run either
3232
33- make all
33+ make -j4 all >& all.out
3434
3535or
3636
37- make build_docbook_documentation
37+ make -j4 build_docbook_documentation >& build_docbook_documentation.out
3838
3939to build the DocBook documentation. (The former builds all aspects of
4040PLplot including the documentation, while the latter is quicker
@@ -225,29 +225,35 @@ paragraph just after Table-3.5.
225225
2262261. man pages.
227227
228- (for MANPAGE in *.3plplot; do nroff -man $MANPAGE ; done) |less
228+ I cannot figure out how to get nroff to work properly with utf8 man pages
229+ so use the man command to test the generated man pages as follows:
230+
231+ From the top of the build tree....
232+
233+ mkdir -p man/man3
234+ ln -s $(find $(pwd) -name "*.3plplot") man/man3
235+ for MANPAGE in $(find man/man3 -type l|sort|grep -E '(plot3dcl|plsurf3dl)'); do MANPAGE1=${MANPAGE##*/}; man -M./man ${MANPAGE1%%.3plplot} ; done
229236
230237Two of our man pages (plot3dcl.3plplot and plsurf3dl.3plplot)
231- currently contain utf8 symbols (for the math symbols ≤ and ≥). Those
232- symbols do not render correctly using nroff -man (or any other
233- recommended nroff options such as -Tutf8). However, they display
234- without issues if viewed with man (by copying the files to a temporary
235- directory man/man3 and viewing them with, e.g., "man -M./man
236- plot3dcl").
238+ currently contain utf8 symbols (for the math symbols ≤ and ≥) so I have selected those in the
239+ above example, but if you prefer to look at all man pages that "|grep -E '(plot3dcl|plsurf3dl)'"
240+ stanza should be dropped.
237241
2382422. info pages.
239243
240- info --file plplotdoc.info
244+ info --file doc/docbook/src/ plplotdoc.info
241245
2422463. web pages.
243247
244- Browse with your favorite browser the index.html file that is generated
245- by xmlto.
248+ Browse with your favorite browser the
249+ doc/docbook/src/index.html file in your
250+ build tree.
246251
2472524. pdf file
248253
249- Browse with your favorite browser the plplot-$version.pdf file that
250- is generated by dblatex.
254+ Browse with your favorite browser the
255+ doc/docbook/src/plplot-$version.pdf file
256+ that is generated in your build tree.
251257
252258UTF-8 limitations of the current set of backend tools
253259=====================================================
0 commit comments