| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
features I originally wanted mom to have originally have been
implemented, and appear to be stable.
o Major overhaul to the setting of page traps and the handling of
footnotes, both "normal" footnotes and footnotes that occur
inside QUOTE, BLOCKQUOTE and EPIGRAPH.
o Addtion of font "styles" to om.tmac, plus changes to the FAMILY
and FT macros to manage them. New section in the doc appendices
on adding fonts and managing the new font styles.
o Mom now uses a "fallback font" whenever there's an illegal call
to FAMILY.
o RW and EW now affect only the font in effect. A change of family
or font disables them.
o BR_AT_LINE_KERN now properly does a .brp (spread and break) when
used in justified text.
o NEWPAGE, which used to be an alias for .bp, has been moved into
its own macro, in order to make it more responsive to some unusal
situations.
o Some changes to elvis_syn.new, including that the file extensions
recognized by elvis now include both .mom and .tmac. This makes
om.tmac much easier to read.
*Jul 6 2004
o FT and FAM(ILY) reworked to take advantage of if S, if F and
\n[.sty] additions to groff (1.19.2). Warnings are emitted if a
style hasn't been registered, or if a font style doesn't exist in
the current family. Invalid .FAM(ILY) calls now use a "fallback"
font" (although no warning is issued); fallback is user-settable
o New macro, FALLBACK_FONT. Not only controls the fallback font
for invalid family calls, but also controls whether mom aborts on
invalid .FT calls after issuing a warning.
o RW/EW now affect only the current font (or font style)
o BR_AT_LINE_KERN now (properly) does a break-and-spread when text
is justified.
o Fairly extensive list of .sty's added to om.tmac. Hopefully,
this will make life easier for users wishing to add new fonts
and/or entire new families to their groff site-font/devps
directory.
*Jun 6 2004
o Altered kerning slightly for footnote markers in text. Daggers
and double-daggers were getting a bit jammed
|
|
|
|
| |
file can't be opened. UNIX tbl has the same behaviour.
|
|
|
|
|
| |
(DBRead): If in compatibility mode, take into account the text
when computing figure boundaries.
|
|
|
|
| |
from Tadziu Hoffmann.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Make hpftodit work correctly on big-endian systems.
* src/utils/hpftodit/hpftodit.cpp (File): New method
`get_uint32(char *)'.
(entry): New member `orig_value'.
(read_tags): Use new method.
(output_font_name, read_and_output_pcltypeface, dump_ascii):
Updated.
* tmac/s.tmac: Undo change 2003-06-29. The proper macro definitions
are already in X11's `macros.t' file.
* src/utils/hpftodit/hfptodit.cpp (output_font_name, dump_ascii):
Fix casting bug.
(read_and_output_pcltypeface): Handle strings with length <= 4.
|
|
|
|
|
|
|
|
|
|
|
| |
(pg*end-col, pg*end-page): Directly use PO register.
* man/groff_tmac.man: Mention `trace' and `pic' macro packages.
* src/preproc/refer/refer.cpp (output_references): Check for
empty hash table.
* src/preproc/refer/refer.man: Improve documentation of
`bibliography' command.
|
|
|
|
|
|
|
|
|
|
|
| |
* src/roff/troff/env.cpp (fill_color_change, glyph_color_change):
New functions.
(init_env_requests): Add `fcolor' and `gcolor'.
* src/roff/troff/input.h: Export do_glyph_color and do_fill_color.
* NEWS, man/groff_diff.man, man/groff.man, doc/groff.texinfo:
Document new requests.
|
|
|
|
|
|
|
|
|
|
| |
PS, VS, FPS, and FVS greater than or equal to 1000 is always divided
by 1000. For example, `.nr PS 10250' sets the font size to 10.25p.
* tmac/s.tmac (@AU, @AI, par@load-init, par@init, par@reset, NL,
PX): Handle fractional point sizes for PS, VS, FPS, and FVS.
* tmac/groff_ms.man, docs/groff.texinfo, NEWS: Document it.
|
|
|
|
|
|
| |
Update constructor.
(do_for, for_input::get, for_input::peek): Handle negative `by'.
* src/preproc/pic/pic.man, doc/pic.ms, NEWS: Document it.
|
|
|
|
| |
* tmac/groff_mdoc.man: Updated.
|
|
|
|
|
|
|
|
|
|
|
| |
Improve appearance of arrows in pic.
* src/preproc/pic/object.cpp (draw_arrow): Make outline of filled
arrow head thin.
Use two line segments for drawing non-filled arrow head.
(line_object::print, spline_object::print): Shorten line length to
avoid arrow sticking.
(arc_object::print): Take arrow direction into account.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
(RI, IR): Properly end with font `R'.
* man/ditroff.man, man/groff_font.man, man/groff_out.man,
src/devices/grohtml/grohtml.man, src/preproc/grn/grn.man,
src/preproc/pic/pic.man, tmac/groff_man.man, tmac/groff_ms.man:
Don't pass more than six arguments to .R, .I, .B, etc., for
compatibility with traditional troff macros.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
s/COMPATIBLE_RESTORE/POP_GROFFCOMP_MODE/.
Update all users.
(PUSH_COMP_MODE): New internal character constant.
Update all users.
* src/roff/troff/input.cpp (get_copy): Handle PUSH_GROFF_MODE,
PUSH_COMP_MODE, and POP_GROFFCOMP_MODE.
(token::next, macro::append): Handle PUSH_COMP_MODE.
(decode_args): Add PUSH_GROFF_MODE or PUSH_COMP_MODE before and
POP_GROFFCOMP after each of the decoded arguments to make them
independent from the compatibility mode status.
(comp_mode): Add `COMP_ENABLE'.
(do_define_string, do_define_macro): Handle COMP_ENABLE.
(define_string, append_string, define_macro, define_indirect_macro,
append_macro, append_indirect_macro): Handle `compatible_flag'.
(chop_macro, substring_request, asciify): Handle PUSH_COMP_MODE.
* man/groff_diff.man, doc/groff.texinfo: Updated.
|
|
|
|
|
|
|
|
| |
Use @documentencoding and convert document to latin-1; to do that
make latin characters active and assign proper macros (within a
@tex...@end tex environment).
* doc/Makefile.in (.texinfo.html, groff): Use --enable-encoding.
* doc/Makefile.sub (groff): Ditto.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
which check whether <name> is a valid font or style, respectively.
* src/libs/libgroff/font.cpp (text_file): Add `silent' member.
(text_file::text_file): Updated.
(text_file::error): Don't emit message if `silent' is set.
(font::load_font): Add optional third argument (which is directly
passed to `load'.
(font::load): Add optional second argument to check the header of
a font only, without emitting warning or error messages.
* src/include/font.h (font): Updated.
* src/roff/troff/input.cpp (do_if_request): Implement `S' and `F'
conditionals.
* src/roff/troff/node.cpp (mount_font_no_translate): Add optional
fourth argument to check a font without mounting.
(check_font, check_style): New functions.
* src/roff/troff/node.h: Updated.
* man/groff_diff.man, man/groff.man, NEWS, doc/groff.texinfo:
Updated.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
style name.
* env.cpp (environment::get_style_name_string): New function.
(init_env_requests): Add `.sty' register.
* env.h (environment): Updated.
* node.cpp (font_info): Make `get_style_name' a friend.
(get_style_name): New function.
* node.h: Updated.
* man/groff_diff.man, man/groff.man, NEWS, doc/groff.texinfo:
Updated.
|
| |
|
|
|
|
|
|
| |
* groffer.sh:
- To the search of the `--apropos-*' options, add man pages with a
subsection in their apropos output.
|
|
|
|
| |
`nospaces' option.
|
| |
|
|
|
|
| |
and \n[mo] to avoid dependency on current date.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* groffer.sh:
- Remove automatic call of `ash' due to inconsistencies of
different ash versions.
- In the first run, add recognition of `--shell' lines in the
groffer configuration files. To configure an external shell in
a configuration file, a line starting with `--shell' is
necessary.
- list_from_cmdline(): Simplify the arguments.
- As $POSIXLY_CORRECT is internally set to `y' by some GNU
`/bin/sh' shells the following 2 fixes are necessary:
-- `sed': Empty patterns are not allowed with $POSIXLY_CORRECT
set; so move the address information before the `s' command to the
pattern after the command, and write `.*' to the address field.
-- list_from_cmdline(): Remove the strange $POSIXLY_CORRECT style
to finish the option processing after the first non-option
argument; use the flexible GNU mixing of options and file names
instead.
* groffer.man:
- Remove any hints on `ash'.
- Add minus line behavior of `--shell' for configuration and add a
corresponding example.
- Update the information on $POSIXLY_CORRECT.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
and _QUAD. A single macro for each checks for the calling alias
(e.g. TITLE_FAMILY in _FAMILY), and performs the appropriate
action.
o All "COLOUR" aliases of "COLOR", no matter where, have been
removed.
o Added cover and doc cover page generation.
o Added reference macros COVERTITLE, DOC_COVERTITLE, MISC and
COPYRIGHT (for use with covers only)
o Fixed EL and TN so they don't spring page traps; in nofill modes
the preceding input line must be terminated by \c.
o Added #T_MARGIN_LEAD_ADJ to DO_B_MARGIN, DO_T_MARGIN and NEWPAGE
to ensure accurate placement of first lines on new pages when
docprocessing is not taking place.
o Made NEWPAGE it's own macro; formerly just an alias of .bp.
o Made BREAKQUOTE obsolete; rewrote sections of footnote handling,
including adding support macros to deal with processing of
footnotes that were started inside quotes, blockquotes and
epigraphs.
o Added a TERMINATE .em to docprocessing (except letters) to ensure
that deferred footnotes print on the last page of a doc.
|
| |
|
|
|
|
| |
libraries.
|
|
|
|
|
| |
order of libraries.
(install_data): Add $(srcdir).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add X11 stuff to CFLAGS, LDFLAGS, and LIBS temporarily.
Add test for Xmu library.
(GROFF_APPRESDIR_OPTION, GROFF_APPRESDIR_CHECK,
GROFF_APPRESDIR_DEFAULT): New macros.
* configure.ac: Call GROFF_APPRESDIR_OPTION, GROFF_APPRESDIR_CHECK,
and GROFF_APPRESDIR_DEFAULT.
* configure: Regenerated.
* Makefile.in (appresdir): New variable.
(MDEFINES): Add appresdir.
* src/devices/xditview/Makefile.sub (EXTRA_LDFLAGS): Add -Xmu and
-Xt.
(install_data, uninstall_sub): New targets to handle GXditview.ad.
* src/utils/indxbib/Makefiles.ub (install_data): Depend on
`$(srcdir)/eign', not `eign'.
* MANIFEST, INSTALL, NEWS, PROBLEMS: Updated.
* man/groff_out.man, man/roff.man, src/devices/grops/grops.man,
src/devices/xditview/gxditview.man, src/roff/groff/groff.man:
Protect (g)xditview with `\%' to avoid hyphenation.
Other minor formatting.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* src/xditview/*: Moved to ...
* src/devices/xditview/*: Here.
Moved DviChar.h and XFontName.h to src/include.
Moved DviChar.c and XFontName.c to new directory src/libs/libxutil.
Split off `xmalloc' into new file src/libs/libxutil/xmalloc.c.
Moved xtotroff.c to new directory src/utils/xtotroff.
Provide proper Makefile.sub files (reusing the stuff from
Imakefile.in).
DESC renamed to DESC.in.
Removed GXDitview-ad.h, INSTALL, Imakefile.in.
Converted everything from K&R to ANSI C.
Decorated with const where appropriate.
Cast string constants with `String' and `char *' where appropriate.
Made it compile with C++ (used as a C compiler).
Removed other minor compiler warnings.
* src/devices/xditview/device.c: Include config.h, string.h, and
defs.h.
Don't declare `exit', `strtok', `strchr', and `getenv'.
(FONTPATH): Remove.
* src/devices/xditview/font.c: Don't declare `XParseFontName' and
`XFormatFontName'.
* src/devices/xditview/xditview.c: Include config.h.
Include stdio.h earlier.
Protect declaration of `popen' and `pclose' with
NEED_DECLARATION_POPEN and NEED_DECLARATION_PCLOSE.
Replace `caddr_t' with `XtPointer'.
(MakePromptFunc): New typedef.
(DoPrint): Use RETSIGTYPE.
(promptfunction): Change type to MakePromptFunc.
(MakePrompt): Use MakePromptFunc for third argument.
(xmalloc): Removed.
* src/devices/xditview/ad2c: Add casts to `String'.
* src/include/XFontName.h (XFontNameString): Don't use array
notation.
Add prototypes for `XParseFontName', `XFormatFontName',
`XCompareFontName', and `XCopyFontName'.
* src/include/Makefile.sub (HDRS): Add `DviChar.h' and
`XFontName.h'.
* src/utils/xtotroff/xtotroff.c: Include getopt.h.
Don't declare `XParseFontName' and `XFormatFontName'.
(xmalloc): Removed.
(main): Remove `optind' and `optarg'.
* Makefile.in (XDEVDIRS, XPROGDIRS, XLIBDIRS): New variables
(to select programs which need X).
Make XDEVIDIRS depend on `FORCE'.
(X_CFLAGS, X_LIBS, X_EXTRA_LIBS, X_PRE_LIBS): New variables (for
X support).
(MDEFINES): Updated.
(LIBDIRS): Use XLIBDIRS.
(CPROGDIRS): Use XPROGDIRS.
(DEVDIRS): Remove font directories for gxditview.
(ALLDIRS, DISTDIRS): Add XDEVDIRS.
(EXTRADIRS): Remove src/xditview.
* Makefile.sub (DISCLEANFILES): Updated.
* Makefile.comm (LIBXUTIL): New variable.
(.cpp.o, .cpp.obj): Handle EXTRA_CCFLAGS.
(.c.o, .c.obj, .y.o): Handle EXTRA_CFLAGS.
* Makefile.cpg, Makefile.ccpg ($PROG): Handle EXTRA_LDFLAGS.
* aclocal.m4 (GROFF_X11): New function.
* configure.ac: Call GROFF_X11.
Don't create src/xditview/Imakefile.
Don't emit notice how to build gxditview.
* configure: Regenerated.
* test-groff.in (GROFF_BIN_PATH, XENVIRONMENT): Updated.
|
| |
|
|
|
|
|
|
|
|
|
| |
* groffer.sh:
Fix first run section to allow the starting shell to go on if
`ash' is not available.
* groffer.man:
Remove unnecessary information on groffer version.
|
|
|
|
| |
(MDEFINES): Add CPPFLAGS.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fix problems with `friend name injections'.
* src/preproc/eqn/box.h (make_mark_box, make_lineup_box,
make_script_box), src/roff/troff/div.h (end_diversions),
src/roff/troff/env.h (title), input.cpp (process_input_stack): Undo
change 2004-04-08.
* src/preproc/pic/pic.man, doc/pic.ms: Add example for `command'.
* src/libs/libgroff/cset.cpp, src/libs/libgroff/lf.cpp,
src/libs/libgroff/color.cpp: Include lib.h.
|
|
|
|
| |
through Forte 6u1, and for how to get GNU make on Solaris.
|
|
|
|
| |
by Paul Eggert.
|
|
|
|
| |
rule.
|
|
|
|
|
|
|
|
|
|
|
| |
* aclocal.m4 (GROFF_STDINT_H): Removed.
(GROFF_INTTYPES_H): Define HACE_CC_INTTYPES_H.
* configure.ac: Updated.
* configure, src/include/config.hin: Regenerated.
* src/libs/libgroff/tmpname.cpp: Don't include stdint.h but
inttypes.h conditionally.
|
|
|
|
|
|
|
|
|
| |
* groffer.sh:
Fix problems of `test' by adding subs to arguments.
* groffer.man:
Write the file license as macros that are called in sections
AUTHOR and COPYING.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
tmac/TODO: Updated.
* tmac/doc-syms (doc-str-Lb-libposix, doc-str-Lb-libpthread,
doc-str-Lb-librt): Reset font.
(Lb): Rename `doc-str-Lb' to `doc-str-Lb1'.
Provide `doc-str-Lb' to reset font.
* tmac/groff_mdoc.man: Updated.
|
| |
|
|
|
|
|
| |
snprintf versions which don't conform to ANSI C 99 (this is,
counting the string's trailing null byte in the return value).
|
|
|
|
| |
that all implementations of sprintf handle null pointers correctly.
|