Commit graph

22 commits

Author SHA1 Message Date
William S Fulton
9d5e37e7f9 Fix outdated info in Doc Makefile about pdf file generation 2016-11-25 07:39:06 +00:00
William S Fulton
ddf2e581b2 Check for qt patched version of wkhtmltopdf for pdf doc generation 2016-05-29 13:04:48 +01:00
William S Fulton
58279a4627 HTML pdf doc generation fixes
wkhtmltopdf isn't using a fixed-width font for CSS font-family:monospace.
Nor is it using one for <PRE> <CODE> or <TT> elements.
Add in some Courier fonts for it to use - note that Courier 10 Pitch is
installed on Ubuntu by default. Note these fonts need to be installed on
the system that generates the pdf documentation.

Previously the htmldoc stylesheet was kept in place and the SWIG
stylesheet was prepended to it inline in SWIGDocumentation.html.
Now the SWIG stylesheet has been amended with most of the htmldoc
stylesheet changes and completely replaced after htmldoc is run.
2015-12-30 22:22:33 +00:00
William S Fulton
f278fdac59 Replace pdf documentation generation tool with wkhtmltopdf from htmldoc
htmldoc does not seem to be generating pdfs properly any more (on Ubuntu
14.04). It has been replaced with wkhtmltopdf which is better as it
supports css and so the patched version of htmldoc with the simple css
support is no longer required. wkhtmldoc does have have a few problems
though which have been addressed in prior commits:

- <H1><a name="X"></a>Text</H1> style links need changing to:
  <H1><a name="X">Text</a></H1>
- tabs in <pre> elements should be expanded to 8 spaces by default, but
  are expanded to just one space and css expand-tab is not recognised.

The <pre> <tt> <code> elements do not always select a fixed-width font -
try installing a Courier font.
2015-12-30 22:22:33 +00:00
William S Fulton
0ae5bfa6e2 html links updates 2015-12-18 21:14:44 +00:00
William S Fulton
862b4c6138 Add a linkchecker target for checking broken links in SWIGDocumentation.html 2015-12-18 21:14:39 +00:00
William S Fulton
64dcd50b99 Remove dependency on yodl tools and remove ccache-swig man page
Use the CCache.html docs instead of the ccache-swig man page.
The yodl2man and yodl2html tools are no longer used and so SWIG no
longer has a dependency on these packages which were required when
building from git.

Closes #286
Closes #128
2015-12-17 02:36:48 +00:00
Karl Wette
d5b765d388 Whitespace cleanup of all Makefiles*
- some of the %.clean rules in the test-suite Makefiles were using a single tab
  as an empty rule, dangerous! I've replaced these with the safer '@exit 0'.
2014-05-02 20:06:11 +02:00
William S Fulton
162ced78f4 Better linkchecker configuration for checking html links. Fix broken links and update redirected links.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12381 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-01-08 23:17:23 +00:00
William S Fulton
13f861220a dependency fix for the .book files generation
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12251 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-10-04 06:15:53 +00:00
William S Fulton
eff2a7f9e9 dependency fix for the .book files generation
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12250 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-10-04 06:10:41 +00:00
William S Fulton
96fbbc50cc make maintainer-clean fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11965 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-04-03 00:30:16 +00:00
William S Fulton
03634e6c9b Add linkchecker target for checking html links
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11923 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-03-06 23:22:40 +00:00
William S Fulton
f8d3c2400d Add ccache documentation to main docs
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10990 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-12-20 01:45:11 +00:00
William S Fulton
47a0b98067 refine Makefile targets for documentation generation and remove generated ccache documentation from svn
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10976 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-12-09 21:33:19 +00:00
William S Fulton
81adce79a2 add details about htmldoc patch
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7555 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-29 20:18:21 +00:00
John Lenz
df8516b782 Update documentation and add margin-left.patch file for htmldoc
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7117 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-30 05:55:46 +00:00
William S Fulton
234d6eedca fixes for the validate target to be used by people other than myself
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7010 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-27 23:27:47 +00:00
John Lenz
13ad5fff85 - Updated documentation to use CSS and <div> instead of blockquotes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7003 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-26 02:56:29 +00:00
William S Fulton
7390bd581e point to mailing list page instead of listing email addresses
Few more HTML corrections


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6082 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-12 20:54:33 +00:00
William S Fulton
e872d1b3ea clean fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6079 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-04 21:46:53 +00:00
William S Fulton
2e745a4228 makefile for generating the single page html docs and pdf documentation using htmltidy and htmldoc
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6076 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-04 21:36:10 +00:00