<feed xmlns='http://www.w3.org/2005/Atom'>
<title>halibut/doc/manpage.but, branch master</title>
<subtitle>My halibut tree</subtitle>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/halibut/'/>
<entry>
<title>New output mode to write CHM files directly.</title>
<updated>2017-05-13T17:37:04+00:00</updated>
<author>
<name>Simon Tatham</name>
<email>anakin@pobox.com</email>
</author>
<published>2017-05-13T17:33:51+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/halibut/commit/?id=7e330bca5bc45fa7feb6c31da5c3f1b6b44c208c'/>
<id>7e330bca5bc45fa7feb6c31da5c3f1b6b44c208c</id>
<content type='text'>
I became aware a few months ago that enough is known about CHM files
that free software _can_ write them without benefit of the MS HTML
Help compiler - in particular there's a thing called 'chmcmd' in the
Free Pascal Compiler software distribution which is more or less a
drop-in replacement for hhc.exe itself.

But although depending on chmcmd would be a bit nicer than depending
on hhc.exe, Halibut has always preferred to do the whole job itself if
it can. So here's my own from-scratch code to generate CHM directly
from Halibut source.

The new output mode is presented as a completely separate top-level
thing independent of HTML mode. Of course, in reality, the two back
ends share all of the HTML-generation code, differing only in a few
configuration defaults and the minor detail of what will be _done_
with each chunk of HTML as it's generated (this is what the recent
refactoring in b3db1cce3 was in aid of). But even so, the output modes
are properly independent from a user-visible-behaviour perspective:
they use parallel sets of config directives rather than sharing the
same ones (you can set \cfg{html-foo} and \cfg{chm-foo} independently,
for a great many values of 'foo'), and you can run either or neither
or both as you choose in a given run of Halibut.

The old HTML Help support, in the form of some config directives for
HTML mode to output the auxiliary files needed by hhc.exe, is still
around and should still work the same as it always did. I have no real
intention of removing it, partly for the reasons stated in the manual
(someone might find it useful to have Halibut generate the .HHP file
once and then make manual adjustments to it, so that they can change
styling options that the direct CHM output doesn't permit), and mostly
because it wouldn't save a great deal of code or complexity in any
case - the big two of the three auxiliary files (the HHC and HHK) have
to be generated _anyway_ to go inside the .CHM, so all the code would
have to stay around regardless.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
I became aware a few months ago that enough is known about CHM files
that free software _can_ write them without benefit of the MS HTML
Help compiler - in particular there's a thing called 'chmcmd' in the
Free Pascal Compiler software distribution which is more or less a
drop-in replacement for hhc.exe itself.

But although depending on chmcmd would be a bit nicer than depending
on hhc.exe, Halibut has always preferred to do the whole job itself if
it can. So here's my own from-scratch code to generate CHM directly
from Halibut source.

The new output mode is presented as a completely separate top-level
thing independent of HTML mode. Of course, in reality, the two back
ends share all of the HTML-generation code, differing only in a few
configuration defaults and the minor detail of what will be _done_
with each chunk of HTML as it's generated (this is what the recent
refactoring in b3db1cce3 was in aid of). But even so, the output modes
are properly independent from a user-visible-behaviour perspective:
they use parallel sets of config directives rather than sharing the
same ones (you can set \cfg{html-foo} and \cfg{chm-foo} independently,
for a great many values of 'foo'), and you can run either or neither
or both as you choose in a given run of Halibut.

The old HTML Help support, in the form of some config directives for
HTML mode to output the auxiliary files needed by hhc.exe, is still
around and should still work the same as it always did. I have no real
intention of removing it, partly for the reasons stated in the manual
(someone might find it useful to have Halibut generate the .HHP file
once and then make manual adjustments to it, so that they can change
styling options that the direct CHM output doesn't permit), and mostly
because it wouldn't save a great deal of code or complexity in any
case - the big two of the three auxiliary files (the HHC and HHK) have
to be generated _anyway_ to go inside the .CHM, so all the code would
have to stay around regardless.
</pre>
</div>
</content>
</entry>
<entry>
<title>Switch chiark URLs to https.</title>
<updated>2017-05-07T15:21:17+00:00</updated>
<author>
<name>Simon Tatham</name>
<email>anakin@pobox.com</email>
</author>
<published>2017-05-07T15:21:17+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/halibut/commit/?id=84ed4f99448094cb6f964cd5dd8444553219b445'/>
<id>84ed4f99448094cb6f964cd5dd8444553219b445</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove Subversion expanded keywords everywhere.</title>
<updated>2014-09-24T10:32:41+00:00</updated>
<author>
<name>Simon Tatham</name>
<email>anakin@pobox.com</email>
</author>
<published>2014-09-24T10:32:41+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/halibut/commit/?id=aa2709b2fdd600b9300c52eb534d13672a572239'/>
<id>aa2709b2fdd600b9300c52eb534d13672a572239</id>
<content type='text'>
The \versionids in the docs are now added by the bob script; the one
in inputs/test.but has been replaced by fixed text (it didn't matter
what it contained anyway, of course, for test purposes), and the one
in misc/halibut.vim has simply been removed (it wasn't actually
expanded by svn anyway - it still had its old CVS value).

[originally from svn r10253]
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The \versionids in the docs are now added by the bob script; the one
in inputs/test.but has been replaced by fixed text (it didn't matter
what it contained anyway, of course, for test purposes), and the one
in misc/halibut.vim has simply been removed (it wasn't actually
expanded by svn anyway - it still had its old CVS value).

[originally from svn r10253]
</pre>
</div>
</content>
</entry>
<entry>
<title>Add a --list-fonts option, since getting PostScript names out of TrueType</title>
<updated>2007-02-13T21:38:21+00:00</updated>
<author>
<name>Ben Harris</name>
<email>bjh21@bjh21.me.uk</email>
</author>
<published>2007-02-13T21:38:21+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/halibut/commit/?id=dae489a4529c014654b894d104faa9e5cfea0b04'/>
<id>dae489a4529c014654b894d104faa9e5cfea0b04</id>
<content type='text'>
fonts is difficult.

[originally from svn r7281]
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
fonts is difficult.

[originally from svn r7281]
</pre>
</div>
</content>
</entry>
<entry>
<title>Actually, the separator in the "NAME" section really ought to be an</title>
<updated>2006-12-11T23:28:51+00:00</updated>
<author>
<name>Ben Harris</name>
<email>bjh21@bjh21.me.uk</email>
</author>
<published>2006-12-11T23:28:51+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/halibut/commit/?id=a09517c77adf5c0f53606bccc602c5ad77c10d0e'/>
<id>a09517c77adf5c0f53606bccc602c5ad77c10d0e</id>
<content type='text'>
EN DASH, falling back to MINUS and then HYPHEN-MINUS.  Make it so.

[originally from svn r6992]
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
EN DASH, falling back to MINUS and then HYPHEN-MINUS.  Make it so.

[originally from svn r6992]
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix amusing cut-and-paste error in section keywords :-)</title>
<updated>2006-12-11T09:54:06+00:00</updated>
<author>
<name>Simon Tatham</name>
<email>anakin@pobox.com</email>
</author>
<published>2006-12-11T09:54:06+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/halibut/commit/?id=9bffad2da8e9f2806bdfe815b240d18db8901692'/>
<id>9bffad2da8e9f2806bdfe815b240d18db8901692</id>
<content type='text'>
[originally from svn r6989]
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
[originally from svn r6989]
</pre>
</div>
</content>
</entry>
<entry>
<title>Mention PDF before PostScript everywhere, partly because PDF is the</title>
<updated>2006-12-09T15:02:32+00:00</updated>
<author>
<name>Ben Harris</name>
<email>bjh21@bjh21.me.uk</email>
</author>
<published>2006-12-09T15:02:32+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/halibut/commit/?id=3a989950162ce14a357e1ae49f767e604efe509b'/>
<id>3a989950162ce14a357e1ae49f767e604efe509b</id>
<content type='text'>
dominant format for print-oriented documents, but mostly because it's
hard to mention pdfmark without having mentioned PDF already.

Also mention pdfmark.

[originally from svn r6975]
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
dominant format for print-oriented documents, but mostly because it's
hard to mention pdfmark without having mentioned PDF already.

Also mention pdfmark.

[originally from svn r6975]
</pre>
</div>
</content>
</entry>
<entry>
<title>Two of the bugs listed in the man page are out of date: Unicode and</title>
<updated>2006-12-04T14:51:39+00:00</updated>
<author>
<name>Simon Tatham</name>
<email>anakin@pobox.com</email>
</author>
<published>2006-12-04T14:51:39+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/halibut/commit/?id=1fd1d665dfd86fe3d0586a4ba2a651de2617080a'/>
<id>1fd1d665dfd86fe3d0586a4ba2a651de2617080a</id>
<content type='text'>
character set support, and the HTML back end, have both been
extensively revamped since that section was written, and I think
neither of them is shoddy enough to warrant this sort of
self-disparagement any more.

[originally from svn r6959]
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
character set support, and the HTML back end, have both been
extensively revamped since that section was written, and I think
neither of them is shoddy enough to warrant this sort of
self-disparagement any more.

[originally from svn r6959]
</pre>
</div>
</content>
</entry>
<entry>
<title>It's conventional to use a minus sign rather than a hyphen to separate</title>
<updated>2006-05-08T00:08:48+00:00</updated>
<author>
<name>Ben Harris</name>
<email>bjh21@bjh21.me.uk</email>
</author>
<published>2006-05-08T00:08:48+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/halibut/commit/?id=baac0b24687b8b91ea1ba907883ef72fca99831e'/>
<id>baac0b24687b8b91ea1ba907883ef72fca99831e</id>
<content type='text'>
the description from the name in the NAME section of a manpage.  Halibut
can do that now, so make use of that ability.

[originally from svn r6664]
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
the description from the name in the NAME section of a manpage.  Halibut
can do that now, so make use of that ability.

[originally from svn r6664]
</pre>
</div>
</content>
</entry>
<entry>
<title>Add a `--list-charsets' option to Halibut to enumerate canonical names of known</title>
<updated>2005-02-18T13:17:28+00:00</updated>
<author>
<name>Jacob Nevins</name>
<email>jacobn@chiark.greenend.org.uk</email>
</author>
<published>2005-02-18T13:17:28+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/halibut/commit/?id=1fa5a06bb8ef61eb1a736641138221b1dc16b49e'/>
<id>1fa5a06bb8ef61eb1a736641138221b1dc16b49e</id>
<content type='text'>
character sets.

(Also make libcharset `return_in_enum' values saner.)

[originally from svn r5341]
[this svn revision also touched charset,filter,timber]
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
character sets.

(Also make libcharset `return_in_enum' values saner.)

[originally from svn r5341]
[this svn revision also touched charset,filter,timber]
</pre>
</div>
</content>
</entry>
</feed>
