Next: , Previous: , Up: New features   [Contents][Index]


14.4 Version 1.50

  1. The syntax for entries in the initialization file .fweb (see Initialization) has been modified (in a way that is as backward-compatible as possible). Previously, ‘+’ meant process the option before the command-line options, ‘-’ meant process it after. This convention was somewhat hard to remember, given the statement that any command-line option could be put into .fweb; furthermore, just about everything in .fweb should, in fact, be processed before the command-line options. So now both ‘+’ and ‘-’ mean the same thing, namely process before (and the ‘+’ notation should fade away as time goes on). If you explicitly want something to be processed after all command-line options for some tricky reason, begin it with ‘&’. I.e., scan your ‘.fweb’ file for any line beginning with ‘-’ and replace that with ‘&’.
  2. The LaTeX processor (‘-PL’) is now the default.
  3. The experimental fwebmacL.sty macro package supplied with version 1.40 has been substantially reworked and is now the default fwebmac.sty. Remove any reference to fwebmacL.sty from your .fweb file.
  4. Support for LaTeX2e is now provided. See LaTeX.
  5. The style-file parameter index.name was added. This is the section name to be given to the Index (see Index), which should be the last major (starred) section. It becomes the contents of the macro \INDEX. Therefore, one can end one’s source file by saying
    @* \INDEX.
    
  6. The ‘$IF...’ class of built-in functions was reworked. They should now be more robust, recursive, and intuitive. Simple uses of these functions should work as before. However, complicated uses that depended on tricky things about the order of expansion of arguments may require revision. Carefully compare the descriptions of these functions in the documentation (e.g., see $IF) with your usage of them in any pre-existing code.

    In some cases, if a previous constructions using $IF no longer works, it might work if you say

    @m $IF(a,b,c) $$IF(a,b,c)
    

    and then use $$IF in your code. (This forces an extra level of macro expansion.) The same remark goes for $DEFINE.

    The old forms ‘_IF’ etc. no longer work; convert to ‘$IF’.

  7. The option ‘-j’ was added. This inhibits multiple inclusions via ‘@i’ of the same include file. See -j.
  8. One now has the ability to change the comment character that begins FTANGLE’s ‘line’ command. In the style file, say, e.g.,
    line_char.N '#'
    

    to change the default ‘*line’ output by FTANGLE in FORTRAN mode to ‘#line’. This could be useful if one runs the C preprocessor on the tangled FORTRAN output.

  9. FWEAVE’s processing of typedef statements in C and C++ was improved.
  10. FWEB should now be able to process C++ templates and exception handling, at least in simple situations. The typesetting of C++ references (e.g., ‘int&’) was also improved. Please report any difficulties.
  11. There were various miscellaneous obscure bug fixes.

Next: , Previous: , Up: New features   [Contents][Index]