summaryrefslogtreecommitdiff
path: root/doc (unfollow)
Commit message (Collapse)Author
2017-05-20Replace Halibut's makefiles with autotools.Simon Tatham
This commit updates the libcharset submodule to incorporate the autotools-ification that I just pushed to that subproject, and builds on it by replacing Halibut's own makefile system similarly with an autotools setup. The new Makefile.am incorporates both of the old Makefile and doc/Makefile, so a single run of 'make' should now build Halibut itself and all the formats of its own documentation, which also means that the automake-generated 'make install' target can do the right thing in terms of putting an appropriate subset of those documentation formats in the assorted installation directories. The old Makefiles are gone, as is release.sh (which is now obsolete because autotools's 'make dist' doesn't do anything obviously wrong). The bob build script is comprehensively rewritten, but should still work - even the clang-based Windows build can use the autotools-generated makefile system, provided I do the libcharset build with a manual override of bin_PROGRAMS to prevent it trying to build the libcharset supporting utilities (which are not completely Windows-portable).
2017-05-15Update copyright date.Simon Tatham
I think it's fair to say that I've added substantial new code this year.
2017-05-13New output mode to write CHM files directly.Simon Tatham
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.
2017-05-07Switch chiark URLs to https.Simon Tatham
2016-01-22Mention \s in a section title.Simon Tatham
A user points out that that recently added markup feature is easy to miss because it's not as prominently documented as it should be.
2015-04-26Makefile: create subdirs of the install directory too.Simon Tatham
Now you can 'make install prefix=/some/previously/nonexistent/path' and have all the necessary subdirs created for you.
2014-09-24Remove Subversion expanded keywords everywhere.Simon Tatham
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]
2014-08-11Typo fix in the docs.Simon Tatham
Also from J. Lewis Muir. [originally from svn r10213]
2013-03-23Index term tweaks in manual for \s to quell warnings when building, etc.Jacob Nevins
[originally from svn r9774]
2013-03-10Add \s for 'strong' text, i.e. bold rather than italics. I've missedSimon Tatham
this a couple of times in Halibut markup recently (in particular, it's handy to have a typographical distinction between 'this term is emphasised because it's new' and 'this term is emphasised because I want you to pay attention to it'), so here's an implementation, basically parallel to \e. One slight oddity is that strong text in headings will not be distinguished in some output formats, since they already use bolded text for their headings. [originally from svn r9772]
2010-01-14Clarify the section about backend-generic config options to make itSimon Tatham
look less as if they're the _only_ config options. [originally from svn r8842]
2009-01-20Fix missing docs for \cfg{paper-contents-indent-step} andSimon Tatham
\cfg{paper-contents-margin}. Also correct the spelling of the former. [originally from svn r8424]
2008-11-23Cut-and-paste error: reference to "man page" in Windows Help section.Jacob Nevins
[originally from svn r8320]
2008-02-25New option *-section-shownumber, alongside *-section-numeric and inSimon Tatham
both the back ends which currently support that, to leave out chapter and section numbers totally in section headings. Can be useful for publishing man pages (which don't normally want section numbers) on the web. [originally from svn r7892]
2007-12-02Typo.Simon Tatham
[originally from svn r7799]
2007-04-08Add support for doing different underlining of different heading levelsBen Harris
in the Info backend, with the defaults chosen to match what Emacs recognises and renders prettily. [originally from svn r7452]
2007-04-08GNU manuals are fairly clear that "Info" is spelt in mixed case and setBen Harris
in a Roman font. Follow suit. [originally from svn r7450]
2007-02-13Document TrueType support.Ben Harris
[originally from svn r7284]
2007-02-13Make quite a lot of hyphens into non-breaking ones. This gives ratherBen Harris
nicer output. [originally from svn r7282]
2007-02-13Add a --list-fonts option, since getting PostScript names out of TrueTypeBen Harris
fonts is difficult. [originally from svn r7281]
2007-02-07Remove slightly odd formatting left in by accident.Jacob Nevins
[originally from svn r7248]
2007-01-31Add an `Up' link to the HTML navigation bar of sufficiently deep documents.Jacob Nevins
(This doesn't affect any of the source texts I know about.) Also add <link rel="up">, even in the cases where it's just the same as <link rel="ToC">. (This does.) [originally from svn r7193]
2007-01-31I haven't found any browsers that do anything disgusting withJacob Nevins
\cfg{html-rellinks}, and it generally seems to be a Good Thing, so I've turned it on by default. (The lurkers support me in u2u.) [originally from svn r7188]
2007-01-28Use consistent capitalisation for HTML tags.Jacob Nevins
[originally from svn r7178]
2007-01-28Minimal support for <LINK REL="next"> etc machine-readable navigation links.Jacob Nevins
Off by default for now, but I don't intend that it should stay this way; they seem useful and harmless. I just want to check a few more browsers to ensure they don't do anything obnoxious with them. So far I've only seen lynx and links do something with them (provide toolbars). iCab and some Mozilla derivatives/extensions are also alleged to do this; Opera is said to allow PgDn type browsing through the entire set of pages; and Mozilla is rumoured to use the "next" link for prefetching. [originally from svn r7177]
2007-01-27Add support for PFB files. This seems to have caused me to completelyBen Harris
rewrite the Type 1 font support, and I'm sure the result is more complex than it needs to be, but it seems to work correctly, so I shouldn't complain. [originally from svn r7175]
2007-01-01Bump copyright dates, and change the one at the start of the manual to beBen Harris
a range rather than a single year. [originally from svn r7047]
2006-12-11Actually, the separator in the "NAME" section really ought to be anBen Harris
EN DASH, falling back to MINUS and then HYPHEN-MINUS. Make it so. [originally from svn r6992]
2006-12-11Support for the MS HTML Help system in the HTML back end. As yet ISimon Tatham
don't know how to write out a .CHM directly, but I am at least able to have the HTML back end write out the three auxiliary files which enable a .CHM to be generated using the MS HTML Help compiler. [originally from svn r6991]
2006-12-11Just noticed that Ben missed another PostScript/PDF inversion.Simon Tatham
[originally from svn r6990]
2006-12-11Fix amusing cut-and-paste error in section keywords :-)Simon Tatham
[originally from svn r6989]
2006-12-09Update copyright dates.Ben Harris
[originally from svn r6979]
2006-12-09Some documentation of Halibut's font-embedding support, now that it works.Ben Harris
[originally from svn r6977]
2006-12-09This somehow got missed in my "put PDF before PostScript" sweep.Ben Harris
[originally from svn r6976]
2006-12-09Mention PDF before PostScript everywhere, partly because PDF is theBen Harris
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]
2006-12-07I've just noticed some unacceptably long lines in code paragraphs inSimon Tatham
the Halibut manual. They turn out to be \cfg directives with multiple braced sections after them. The obvious thing to do for legibility would be to wrap those sections by putting newlines between } and {, but that isn't legal in the Halibut syntax. Therefore, it is now :-) For paragraph types which don't have any body text (such as \cfg), we are now lenient about whitespace between multiple keywords. So I can fix the docs so they don't go over the limit, and be confident that the fixed version is still technically accurate. [originally from svn r6970]
2006-12-04Two of the bugs listed in the man page are out of date: Unicode andSimon Tatham
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]
2006-12-04Paging through the newly compressed PDF manual to make sure itSimon Tatham
worked, I happened to notice this typo. I think Wikipedia might have permanently removed my ability to read any document for any purpose without spotting at least one error in it. [originally from svn r6958]
2006-11-18Explicitly explain the meaning of each HTML variant.Ben Harris
[originally from svn r6913]
2006-06-02Introduce global (cross-backend) \cfg{contents} and \cfg{index}Simon Tatham
commands, allowing the fixed words "Contents" and "Index" generated in various output formats to be reconfigured into other languages. [originally from svn r6724]
2006-05-09297mm is closer to 842pt than to 841pt, and the former seems to be theBen Harris
accepted length of A4 paper in the PostScript/PDF world, so use it as our default. [originally from svn r6669]
2006-05-08Add font-selection mechanism to the paper backend. Since we have no way toBen Harris
load font metrics dynamically, we're restricted to the fonts whose metrics are compiled into Halibut. Font structures aren't reused when the same font is specified twice, nor are unused fonts removed from the output. Finally, the default configuration overflows lines in the manual, but this would need a change to Halibut's grammar to fix. Still, what's there works. [originally from svn r6667]
2006-05-08Now that I've found the core AFMs, I notice that they have a perfectlyBen Harris
good free licence. Abide by its terms even though I'm not sure Halibut is a derived work in law. [originally from svn r6666]
2006-05-08It's conventional to use a minus sign rather than a hyphen to separateBen Harris
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]
2006-05-07New configuration directives need new aliases in the index too.Ben Harris
[originally from svn r6663]
2006-05-06Improve rule generation in the "man" backend so that if the outputBen Harris
is processed by nroff, the rule is made up of \cfg{man-rule} characters (same defaults as \cfg{text-rule}). [originally from svn r6651]
2006-01-08It's a new year.Jacob Nevins
[originally from svn r6513] [this svn revision also touched putty,putty-website,puzzles]
2005-03-08Ability to specify multiple arguments to \cfg{html-template-fragment};Jacob Nevins
Halibut will output fragment names in all specified formats. (I forget now precisely why I thought this was necessary, but it seems potentially useful.) Also ensure that legal fragment names are generated even if none of the characters from the original turn out to be legal (e.g., %k with an entirely numeric keyword), and correct an untruth I inserted in the documentation of this. (This commit hits more than just the HTML backend as I've generalised an error message, and fixed a fault in the info backend's error handling while there.) [originally from svn r5457]
2005-03-07Move contact details inside <address> to make validator.w3.org happy.Jacob Nevins
[originally from svn r5454]
2005-02-18Oops, overzealous search-and-replaceJacob Nevins
[originally from svn r5349]