groff-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Groff-commit] Changes to //var/cvs/groff


From: wlemb
Subject: [Groff-commit] Changes to //var/cvs/groff
Date: 7 Jul 2003 07:38:10 -0000

Log from commit: 

Update of /var/cvs/groff/src/devices/grotty
In directory genba:/tmp/cvs-serv7821/src/devices/grotty

Modified Files:
        tty.cpp 
Log Message:


Make grotty work on platforms which have unsigned char as the
default for char.  Based on a patch by Thomas Klausner
<address@hidden>.

* src/devices/grotty/tty.cpp (schar): New typedef.
Updated calls to declare_ptable and implement_ptable.
(glyph): Use schar for back_color_idx and fore_color_idx.
(tty_printer): Use schar for curr_fore_idx and curr_back_idx.
(tty_printer::tty_color, tty_printer::tty_printer,
tty_printer::color_to_idx, tty_printer::put_color): Updated.


* src/roff/nroff/nroff.sh: Add option -d for completeness.
* src/roff/nroff/nroff.man: Updated.

* NEWS, tmac/groff_www.man: Updated.
* doc/Makefile.sub: Updated.


Implement support for multiple HTML output files.

* src/preproc/html/pre-html.cpp (scanArguments): Dummy handling for
-j command line option.

* src/devices/grohtml/post-html.cpp (job_name, multiple_files): New
global variables.
(file): New fields `new_output_file', `require_links',
`output_file_name'.
(file::file): Updated.
(files::set_file_name, files::set_links_required,
files::are_links_required, files::is_new_output_file,
files::file_name, files::next_file_name): New functions.
(header_desc): New fields `no_of_level_one_headings',
`header_filename'.
(header_desc::header_desc): Updated.
(header_desc::write_headings): Handle multiple files.
(html_printer::write_header): Save file name in which header occurs.
(html_printer::determine_header_level): Possibly split files on
level one headings.
(html_printer::do_links, html_printer::troff_tag): Updated.
(html_printer::insert_split_file, html_printer::do_job_name,
html_printer::emit_link, html_printer::write_navigation,
html_printer::do_file_components): New functions.
(html_printer::~html_printer): Handle multiple files.
(main): Handle command line option `-j'.

* src/devices/grohtml/grohtml.man: Updated.

* doc/Makefile.sub (pic.html), doc/Makefile.in (pic.html): New rule
which splits file.

* tmac/www.tmac (JOBNAME): New macro.
* tmac/s.tmac (SH-NO-TAG): New macro.
(@SH): Call SH-NO-TAG.
(@NH): Updated.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]