1 [[I|tschwinge]] started writing a plugin to render [Texinfo](http://www.gnu.org/software/texinfo/)
2 inside the ikiwiki environment.
4 The plugin is available at <http://www.schwinge.homeip.net/~thomas/tmp/texinfo.pm>.
6 It's very basic at the moment, but will be improved over time.
11 ## N-to-M Mapping of Input and Output Files
13 Conventional ikiwiki [[*htmlize*ing|plugins/write#index6h3]] plugins
14 have a one-to-one mapping of input file and output file:
15 `some/where/page.mdwn` is rendered to `some/where/page.html`.
16 This can also be achieved for Texinfo files, but is somewhat
17 unusual there, when rendering them to HTML. In general, there
20 * N Texinfo input files (a main `.texi` file,
21 several helper files (`fdl.texi`, `version.texi`, ...), and
22 additional text files which are included from the main `.texi`
23 file, e.g. `history.texi`, `libfoo.texi`, `libbar.texi`.
24 * M Texinfo output files: the main `.texi` file (which `include`s
25 the other input files) is usually rendered into a (flat) hierarchy
26 of HTML files, one file per node, see the table on
27 <http://www.gnu.org/software/texinfo/manual/texinfo/html_node/#Top>
30 How to teach this to ikiwiki?
33 ## Copyright and Licensing Snippets
35 ikiwiki (obviously) doesn't understand (parse) the copyright and licensing
36 statements which are included in `.texi` files.
41 `makeinfo --html` is being used for rendering. It creates stand-alone
42 HTML files, while ikiwiki only needs the files' `<body>`s.