summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* Fix the behaviour of constructions like \e{index \i{term}} -- the index tagJacob Nevins2007-01-01
| | | | | | | | | | | was causing emphasis to be broken (particularly noticeable in text-like backends). There are some instances of this in the PuTTY manual, for instance. Unfortunately, \k references in similar situations still aren't quite right, but fixing that will be more involved, and I haven't found any instances yet. [originally from svn r7049]
* Bump copyright dates, and change the one at the start of the manual to beBen Harris2007-01-01
| | | | | | a range rather than a single year. [originally from svn r7047]
* Generate ligature information from the standard AFM files rather thanBen Harris2007-01-01
| | | | | | | hard-coding it. No practical gain, since the hard-coded entries were correct, but aesthetically better. [originally from svn r7046]
* Initial ligature support. This adds support for emitting ligatures, and addsBen Harris2006-12-31
| | | | | | | | the "fi" and "fl" ligatures to the built-in fonts, but doesn't add support for reading ligature information from AFM files because that requires coping with forward references to glyph names, which is tricky. [originally from svn r7045]
* Fix segfault in info backend when invoked with inputs/test.butJacob Nevins2006-12-31
| | | | | | (which triggers err_infonodechar with fpos==NULL). [originally from svn r7044]
* Emit lots of odd characters so as to test the paper backends' ability toBen Harris2006-12-31
| | | | | | use two encodings of the same font. [originally from svn r7042]
* Tweak /OUT pdfmark generation -- PLRM suggests that constructing a largeBen Harris2006-12-12
| | | | | | | | executable array is likely to use lots of stack space, which might be bad on Level 1 interpreters, so use the same mechanism as for other pdfmarks and have a procedure that does nothing if pdfmark isn't defined. [originally from svn r6995]
* These HHP window dimensions seem to be rubbish. Better off withoutSimon Tatham2006-12-12
| | | | | | any, I reckon. [originally from svn r6994]
* Rough-and-ready line wrapping for PostScript, to keep us below the DSC-mandatedBen Harris2006-12-12
| | | | | | | | 255 characters per line (excluding newline characters). In fact, it tries to keep us below 80 characters so as to make the PostScript more readable (and demonstrate that it's working). [originally from svn r6993]
* Actually, the separator in the "NAME" section really ought to be anBen Harris2006-12-11
| | | | | | EN DASH, falling back to MINUS and then HYPHEN-MINUS. Make it so. [originally from svn r6992]
* Support for the MS HTML Help system in the HTML back end. As yet ISimon Tatham2006-12-11
| | | | | | | | 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]
* Just noticed that Ben missed another PostScript/PDF inversion.Simon Tatham2006-12-11
| | | | [originally from svn r6990]
* Fix amusing cut-and-paste error in section keywords :-)Simon Tatham2006-12-11
| | | | [originally from svn r6989]
* Make the title a bit scarier to test the PostScript backend some more,Ben Harris2006-12-10
| | | | | | including testing some bug fixes it doesn't have yet. [originally from svn r6988]
* Explicitly set the title via pdfmark, since that allows us to putBen Harris2006-12-10
| | | | | | in Unicode, which we can't (reliably) in %%Title. [originally from svn r6987]
* Remove accidentally-committed deflate-debugging code.Ben Harris2006-12-10
| | | | [originally from svn r6985]
* Put all the pieces together: introduce a secondary test mode forSimon Tatham2006-12-09
| | | | | | | winhelp.c which uses all my new library code to import an arbitrary PNG and embed it into the test help file. [originally from svn r6984]
* Remember to initialise the bmp array for AFM fonts, or Unicode fallbacksBen Harris2006-12-09
| | | | | | won't work properly. [originally from svn r6982]
* Support, in the winhelp module only, for adding pictures to .HLPSimon Tatham2006-12-09
| | | | | | | files. Halibut does not make use of this feature, but I hope that one day it might. [originally from svn r6980]
* Update copyright dates.Ben Harris2006-12-09
| | | | [originally from svn r6979]
* Some documentation of Halibut's font-embedding support, now that it works.Ben Harris2006-12-09
| | | | [originally from svn r6977]
* This somehow got missed in my "put PDF before PostScript" sweep.Ben Harris2006-12-09
| | | | [originally from svn r6976]
* Mention PDF before PostScript everywhere, partly because PDF is theBen Harris2006-12-09
| | | | | | | | | 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]
* Correct embedding of Type 1 fonts in PDF. Error cases (e.g. invalid Type 1Ben Harris2006-12-09
| | | | | | fonts) may not be well handled, and may emit invalid PDF. [originally from svn r6974]
* I've just noticed some unacceptably long lines in code paragraphs inSimon Tatham2006-12-07
| | | | | | | | | | | | | | | 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]
* Fix typo in limit test in deflate_buildhuf(). (The only two limitSimon Tatham2006-12-07
| | | | | | | values ever used are 15 and 7, so testing against 16 is silly.) [originally from svn r6969] [this svn revision also touched misc]
* Specify the /Border of /ANN pdfmarks correctly.Ben Harris2006-12-07
| | | | [originally from svn r6968]
* Update deflate.c to include nearly all the changes I've been makingSimon Tatham2006-12-06
| | | | | | | | in the main version. The one missing thing is the fancy new LZ77 compressor in misc/libcode/lz77.c, in whose stability I'm not yet confident enough to consider it ready for prime-time. [originally from svn r6967]
* Distingush font files from other input by magic number rather than name.Ben Harris2006-12-05
| | | | | | | | This prevents one having Halibut files that begin "StartFontMetrics", "%!FontType1-", or "%!PS-AdobeFont-", but I doubt that will be a great hardship. [originally from svn r6960]
* Two of the bugs listed in the man page are out of date: Unicode andSimon Tatham2006-12-04
| | | | | | | | | 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]
* Paging through the newly compressed PDF manual to make sure itSimon Tatham2006-12-04
| | | | | | | | 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]
* Tweak prologue so that it works correctly on interpreters that don't supportBen Harris2006-12-03
| | | | | | | pdfmark, specifically by having the dummy versions of "p", "x", and "u" pop their arguments rather than leaving them on the stack to cause trouble. [originally from svn r6956]
* Support for emitting outlines using pdfmark.Ben Harris2006-12-02
| | | | [originally from svn r6952]
* PDF outlines already do use PDFDocEncoding or Unicode, so remove that fromBen Harris2006-12-02
| | | | | | the TODO list. [originally from svn r6951]
* Adjust ps_string so that it escapes characters above 126. This makesBen Harris2006-12-02
| | | | | | Halibut's output 7-bit clean, which seems the best approach in PostScript. [originally from svn r6950]
* Rough pdfmark support. Links are implemented, but not outlines.Ben Harris2006-12-02
| | | | [originally from svn r6949]
* Add a procedure to our prologue to draw filled rectangles, and use it.Ben Harris2006-12-01
| | | | [originally from svn r6938]
* Factor out printing a destination (in either an annotation or an outline)Ben Harris2006-12-01
| | | | | | into its own function. [originally from svn r6937]
* Increase page-tree branching factor from two to eight, since two was obviouslyBen Harris2006-12-01
| | | | | | silly, and eight isn't. [originally from svn r6936]
* Add support for compressed PDF streams, using Simon's new deflate library.Ben Harris2006-11-30
| | | | [originally from svn r6931]
* Small tweak: add a /ProcSet array to the top-level /Resources dictionary,Ben Harris2006-11-26
| | | | | | as recommended by the PDF spec. [originally from svn r6923]
* Explicitly explain the meaning of each HTML variant.Ben Harris2006-11-18
| | | | [originally from svn r6913]
* Emit a PageLabels dictionary to make it clear what page numbering schemeBen Harris2006-11-18
| | | | | | Halibut uses. [originally from svn r6912]
* `man', at least on Debian 3.1, will treat a paragraph beginning withSimon Tatham2006-10-11
| | | | | | | | | | | | a period specially _even_ if there's an \fB or similar escape sequence before the period. Therefore, man_rdaddctrl() now doesn't clear the QUOTE_INITCTRL flag just because it generated some text; instead, its call sites clear the flag when the _type_ of generated text is appropriate for this. This should remove an error from the `lns' man page (utils/lns/lns.but), which was where I noticed the problem. [originally from svn r6871]
* I've apparently had this lying around for months but forgotten toSimon Tatham2006-06-13
| | | | | | | | | commit it. Add `-i' option to cstable, which causes charset names to be output as CS_* constants where meaningful. (Doesn't apply to MBCS base charsets, because CS_* constants identify _encodings_.) [originally from svn r6728] [this svn revision also touched charset,filter,timber]
* Introduce global (cross-backend) \cfg{contents} and \cfg{index}Simon Tatham2006-06-02
| | | | | | | commands, allowing the fixed words "Contents" and "Index" generated in various output formats to be reconfigured into other languages. [originally from svn r6724]
* About time I fixed this: allow for some people's md5sum utilitiesSimon Tatham2006-05-19
| | | | | | producing output on stdout even in -c mode. [originally from svn r6707]
* Remove an outright lie I've just noticed in the comment at the topSimon Tatham2006-05-18
| | | | | | | of this file! [originally from svn r6705] [this svn revision also touched charset,filter,timber]
* Missing error handling: the HTML and WinHelp back ends would bothSimon Tatham2006-05-18
| | | | | | segfault if they were unable to open their output files. [originally from svn r6704]
* On Level 2 implementations, use setpagedevice to select the correct page size.Ben Harris2006-05-16
| | | | [originally from svn r6689]