📄 changelog
字号:
* macros/tmac.latin1: New file. * macros/tmac.tty-char: Use tmac.latin1. (tmac.tty-tr): Deleted. * macros/Makefile: Install tmac.latin1. * macros/tmac.dvi: Use tmac.latin1. * macros/troffrc: Translate \[char160] onto no-break space here. * macros/{tmac.dvi,tmac.ps,tmac.tty,tmac.X75}: Don't do it here.Mon Jul 6 11:06:52 1992 James Clark (jjc at jclark) * macros/tmac.Xps: Use `do' request. * macros/tmac.ps: Use `do' request. * macros/tmac.e (@C): Use `do' request. * macros/tmac.X, macros/tmac.Xps: Moved from xditview. * macros/Makefile: Install tmac.X*. * tty/tmac.tty, tty/tmac.tty-char: Move to macros. * tty/Makefile: Don't install tmac.tty*. * macros/Makefile: Install tmac.tty*. * dvi/tmac.dvi: Move to macros. * dvi/Makefile: Don't install tmac.dvi. * macros/Makefile: Install tmac.dvi. * ps/tmac.ps*: Move to macros. * ps/Makefile: Don't install tmac.ps*. * macros/Makefile: Install tmac.ps*. * eqn/box.c: Provide draw_lines parameter corresponding to -D option. * macros/eqnrc: Set draw_lines parameter based on device. * groff.c: Don't pass -D flag to eqn. * groff.sh: Likewise. * eqn/main.c: Warn about use of -D. * troff/input.c (process_startup_file): New function. (main): Call process_startup_file(). * macros/troffrc: New file. * macros/Makefile: Install troffrc. * groff.c (main): Don't pass extra -m option to troff. For a pseudo device pass the name of the pseudo device to troff using -d. * groff.sh: Likewise. * groff.c (possible_command::prepend_arg): Deleted. * troff/input.c (do_request): New function. (init_input_requests): Bind "do" to do_request. * eqn/main.c (main): Instead of loading eqnchar from device directory, load eqnrc from macro directory. * macros/eqnrc: New file. * macros/Makefile: Install eqnrc. * ps/devps/eqnchar: Deleted. * ps/devps/Makefile: Don't install eqnchar. * dvi/devdvi/eqnchar: Deleted. * dvi/devdvi/Makefile: Don't install eqnchar. * groff.c (main): Pass -M to eqn. Don't pass -F to eqn. New variable optM. * lib/device.[ch]: New files. * lib/font.h (font::set_device_name, font::get_device_name): Deleted. * lib/fontfile.c: Use device.h. * lib/Makefile: Handle device.[ch]. Make paths.h define DEVICE. * troff/input.c: Delete definition of `device'. (main): Don't initialize device. * troff/troff.h: Include device.h rather than declaring device. * troff/Makefile: No need to handle DEVICE. * driver/input.c: Include device.h. Don't use font::{set,get}_device_name. * groff.c, Makefile: Rename device.h to config.h. * groff.c: Use library device variable. * eqn/main.c: Use library device variable. * eqn/Makefile: No need to handle DEVICE. * lib/searchpath.[ch]: New files. * lib/Makefile: Handle searchpath.[ch]. * troff/input.c (open_file, init_dirs): Deleted. (macro_dirs): Deleted. (open_mac_file, macro_source): Use class search_path. (add_string, struct string_list): Move definition. (main): Change -M option to use macro_path. Delete call to init_dirs(). * lib/fontfile.c (font::command_line_font_dir, font::open_file): Rewrite to use class search_path. * lib/font.h, lib/fontfile.c (font::cl_font_dirs): Deleted. * lib/Makefile: fontfile.c depends on searchpath.h. * lib/Makefile: Rename fontpath.h to paths.h. Make paths.h define MACROPATH. * lib/macropath.[ch]: New files. * troff/Makefile: No need to handle MACROPATH. * troff/input.c: Delete DUMP code. * lib/fontfile.c, lib/font.h: Delete font::forget_command_line_font_dirs. * troff/input.c (push_token): New function. (handle_first_page_transition): Use push_token(). (process_input_stack): Change handling of a space at the beginning of the line.Sun Jul 5 17:11:09 1992 James Clark (jjc at jclark) * troff/input.c (font_dirs): Delete unused variable. * eqn/lex.c (do_set): Correct error messages.Sat Jul 4 10:20:55 1992 James Clark (jjc at jclark) * troff/input.c (do_define_string): Allow the string name to be followed immediately by a tab. (define_character): Likewise.Thu Jul 2 10:59:15 1992 James Clark (jjc at jclark) * ps/ps.c (ps_printer::draw): When drawing an arc, don't allow k to be negative. * troff/input.c (input_iterator::is_file): New virtual function. (file_iterator::is_file): New function. (input_stack::end_file): New function. (input_stack::next_file): Handle the situation where there is no file on the input stack correctly. Avoid making two passes over the input stack. (next_file): Make the filename optional; in this case call input_stack::end_file().Wed Jul 1 10:17:25 1992 James Clark (jjc at jclark) * dvi/tmac.dvi: Change the definitions of \(ul and _ so that they produce a real _ charater when the current font is CW and _ otherwise. * lib/errarg.c (errarg::errarg(const char *)): Invert conditional expression to work around gcc 2.2 bug.Wed Jun 24 08:12:24 1992 James Clark (jjc at jclark) * eqn/main.c (main): Don't give an error if we can't find eqnchar. * troff/env.c (environment::add_padding): New function. (environment::add_char): Use add_padding(). (environment::space): Likewise. (environment::wrap_up_field): Add some padding if there is none and there's no current tab. * troff/env.h: Declare environment::add_padding.Mon Jun 22 08:37:45 1992 James Clark (jjc@jclark) * pic/pic.y: undef fmod and rand before declaring them.Sun Jun 14 11:40:18 1992 James Clark (jjc@jclark) * troff/input.c (main): If the DESC file specifies a font name of 0, then leave the corresponding font position empty. * nroff.sh: New file. * Makefile (install.nobin): Install nroff.sh. * tty/devlatin1/R.proto: Add ao as synonym for de. * tty/tmac.tty-char: Define ao as o. * tty/dev{ascii,latin1}/R.proto: Add aq. * tty/tmac.tty-char: Delete definition of aq.Mon Jun 8 11:43:20 1992 James Clark (jjc@jclark) * troff/input.c (init_charset_table): Don't translate 0240. * ps/tmac.ps: Translate char160 to space. * dvi/tmac.dvi: Likewise. * tty/tmac.tty: Likewise.Sun Jun 7 10:52:35 1992 James Clark (jjc@jclark) * dvi/tmac.dvi: Add support for all Latin-1 characters. * macros/tmac.s: Delete definitions of \(rg, \(ah, \(ad, \(a-, \(ao, \(ac, \(ho, \(-D, \(Sd, \(TP, \(Tp, \(ss, \(AE, \(ae, \(OE, \(oe, \(r?, \(r!. * tty/tmac.tty-char: Add \(ah. * dvi/tmac.dvi: Add definitions of Tp, TP, Sd, -D, ho. No need to define \(FM and \(!/. Conditionalize all character definitions. * ps/devps/lgreekmap: Add +h, +f, +p. * ps/tmac.psnew: New file. * ps/Makefile: Install tmac.psnew. * troff/input.c (charinfo_to_node_list): Don't ever interpret character definitions in compatible mode. * troff/input.c (remove_character): New function. (init_input_requests): Bind remove_character to "rchar". * ps/tmac.psold: New file. * ps/Makefile: Install tmac.psold. * ps/tmac.ps: Load tmac.psold. Move definitions of ISO Latin-1 characters into tmac.psold. Make these definitions unconditional. * tty/tmac.tty-char: Define \n(_C only if it is not already defined. * ps/tmac.ps: Don't define \('c and \('C. * ps/devps/textmap: Move Greek characters to... * ps/devps/symbolchars:Sat Jun 6 16:41:17 1992 James Clark (jjc@jclark) * ps/devps/text.enc: Add quotesingle. * ps/devps/textmap: Add +h, +f, +p, Fn, Bq, bq, aq, lz. * tty/tmac.tty-char: Likewise. * dvi/devdvi/texmi.map: Add +h, +f, +p. * dvi/devdvi/texi.map: Add Fn. * dvi/devdvi/msam.map: Add lz. * dvi/tmac.dvi: Handle Bq, bq, aq. * pic/lex.c (get_token): Recognize 'th. * pic/map.y: Allow `expr'th in contexts where ORDINAL was allowed.Fri Jun 5 11:20:46 1992 James Clark (jjc@jclark) * ps/devps/textmap: Move di, mu, +- to... * ps/devps/symbolchars: * macros/tmac.s (@XS): Don't call par@reset or fi. (XA): Call LP. Turn off adjustment. Reduce line length. * macros/tmac.s: Initially alias XS to LP. (XS): Rename to @XS. (cov*ab-init): Alias XS to @XS.Thu Jun 4 09:12:05 1992 James Clark (jjc@jclark) * troff/token.h: Delete TOKEN_CHAR_HEIGHT, TOKEN_CHAR_SLANT, TOKEN_FONT_NAME, TOKEN_FONT_POSITION, TOKEN_SIZE tokens. (token::is_size, token::changes_env): Deleted. * troff/number.c (parse_term): No need to process \s explicitly. Call tok.next() only after scale indicator has been processed. * troff/input.c (do_overstrike, do_bracket): No need to process \s, \f etc explicitly. (token::next): Handle \s, \f, \S, \H immediately rather than returning them as tokens. (token::operator==, token::description, token::add_to_node_list, token::process): Remove handling of deleted tokens. * troff/env.c (environment::add_char): When adding padding indicator character, call start_line() if necessary.Wed Jun 3 09:55:50 1992 James Clark (jjc@jclark) * ps/devps/afmtodit: Don't output 0 kerns. * ps/devps/afmtodit: Remove directory from name of encoding in font description file. * ps/devps/afmtodit: Improve error messages. * ps/devps/afmtodit: Allow DESC file to be specified with -d. * ps/devps/Makefile: Incorporate FontMakefile. Rework. * ps/devps/FontMakefile: Deleted. * ps/devps/afmname: New file. * ps/devps/symbol.sed: New file. * ps/devps/symbol.diff: Deleted. * ps/devps/FontMakefile: Generate symbol.afm using symbol.sed. Generate zapfdr.afm from zapfd.afm. * tty/tmac.tty (tty-char): Prefix definition with ". * macros/tmac.an (TP): Don't start a diversion if one has already been started. * tty/tmac.tty-char: Add Latin-1 characters. * tty/tmac.tty-char: Incorporate suggestions from Paul Eggert.Tue Jun 2 00:54:34 1992 James Clark (jjc@jclark) * tbl/table.c (table::allocate): Delete old_vline, old_entry. Move declaration of struct horizontal_span. * tbl/table.c (table::table): Initialize span_list. (table::~table): Delete span_list. * lib/ptable.h (PTABLE(T)::~PTABLE(T)): Delete v. * ps/devps/Makefile: Avoid dependency on GNU make. * ps/tmac.ps: Check that character does not already exist before defining it. * tty/tmac.tty: Add definitions of \(ff, \(!=, \(==, \(~=, \(sq, \(OE, \(oe, \(AE, \(ae, \(lh, \(rh. Delete definitions of \(en, \(ru, \(ul, \(br, \(bv, \(sl which are in the font description files. * tty/tmac.tty-char: New file. * tty/Makefile: Install tmac.tty-char. * tty/tmac.tty: Move definitions of \(ua, \(da, \(uA, \(dA into tmac.tty-char. * tty/tmac.tty: Fix definition of \(34. * tty/dev{ascii,latin1}/R.proto: Add ha and ti. Map bracket-drawing characters onto |. Add *o. * troff/env.c (environment::wrap_up_tab): Increment field_spaces only if current_field. * troff/dictionary.c (dictionary::lookup): Free old_table after rehashing. Mon Jun 1 10:15:22 1992 James Clark (jjc@jclark) * tty/dev{ascii,latin1}/R.proto: Add uppercase Greek characters whose glyphs are identical to glyphs of some Roman character. * tty/devlatin1/R.proto (bu): Deleted. * tty/devascii/R.proto (bu): Deleted. * tty/tmac.tty: Add definition of \(bu. * eqn/main.c (do_file): Pass FILE as argument. (main): Automatically load eqnchar. New options -F and -n. Pass do_file an opened FILE. * groff.c: Don't pass eqnchar to eqn. Pass -F options onto eqn. No need to include font.h. * groff.sh: Likewise. Don't need to use - for standard input. Prefix files with -- if first file starts with -. * macros/tmac.e: Conditionalize use of \$* on \n(.g. * troff/env.c (environment::possibly_break_line): Don't set line to 0 across call to output_line(). Don't call output_line() until after discarding nodes after break.Sun May 31 10:45:29 1992 James Clark (jjc@jclark) * request.h (macro::empty): Declare it. * input.c (macro::empty): New method. (interpolate_macro): Don't give a WARN_SPACE if the two-character macro is empty.Sat May 30 10:27:15 1992 James Clark (jjc@jclark) * troff/env.c (environment::start_field): Decrement space_total when a space is frozen.Fri May 22 14:34:38 1992 James Clark (jjc@jclark) * macros/tmac.an (R): Delete macro. * troff/input.c (get_copy, token::next): Support \# (like \" but newline is ignored). * troff/input.c (token::next): Fix error message in 'Y' case.Thu May 21 09:26:24 1992 James Clark (jjc@jclark) * eqn/delim.c (define_extensible_string): Recognize any prefix of a delimiter name.Fri May 15 10:20:41 1992 James Clark (jjc at jclark) * c++test.c: Include <osfcn.h>. * lib/strtol.c, lib/getcwd.c, ps/psbb.c: Declare errno in case <errno.h> doesn't.Fri May 8 09:37:19 1992 James Clark (jjc at jclark) * tbl/table.c (table::divide_span): Don't count column separation if expand was specified. * tbl/main.c (process_format): Don't ignore width specs in continued format. Give warning for changing equal widths or column separation in continued format. (process_data): Set column separation, minimum width, equal
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -