summaryrefslogtreecommitdiff
path: root/test-groff.in
Commit message (Collapse)AuthorAgeFilesLines
* Add new output device `gropdf'.wl2011-07-261-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | * font/devpdf/*: New device files for gropdf. * src/devices/gropdf/*: New device. * Makefile.comm (install_dev, uninstall_dev): Handle more subdirectories. * Makefile.in (DEVDIRS, OTHERDIRS, EXTRADIRS): Add directories related to gropdf. * MANIFEST: Updated. * test-groff.in (GROFF_BIN_PATH): Updated. * tmac/Makefile.sub (NORMALFILES): Updated. * tmac/pdf.tmac: New file. * tmac/troffrc: Updated. * doc/groff.texinfo: Document it. * doc/Makefile.in, doc/Makefile.sub (groff_bin_dirs): Udpated. * doc/pic.ms: Updated. * man/groff_out.man, src/devices/grops/grops.man, src/preproc/pic/pic.man, src/roff/groff/groff.man, src/utils/afmtodit/afmtodit.man, src/utils/pfbtops/pfbtops.man: Updated. * contrib/pdfmark/pdfmark.ms: Updated.
* Update copyright year.wl2009-01-051-1/+1
|
* * */*: Update GPL2 to GPL3.wl2009-01-041-5/+4
|
* Add copyrights and/or normalize them.wl2007-07-111-0/+20
|
* New preprocessor `preconv' to convert input encodings to somethingwl2005-12-301-0/+1
| | | | | | | | | | | | | | | groff can understand. Not yet integrated within groff. Proper autoconf stuff is missing too. Tomohiro Kubota has written a first draft of this program, and some ideas have been reused (while almost no code has been taken actually). * src/preproc/preconv/preconv.cpp. src/preproc/preconv/Makefile.sub: New files. * MANIFEST, Makefile.in (CCPROGDIRS), test-groff.in (GROFF_BIN_PATH): Add preconv.
* Make `test-groff' work again -- previously, wrong paths have beenwl2004-12-161-13/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | used. Additionally, it can now be called from anywhere. * test-groff.in: Don't test for groff binary. This is no longer necessary since the proper paths are determined by `configure'. (EXEEXT): Removed. No longer used. (srcdir, builddir): Use values provided by the configure script. (XENVIRONMENT): Updated. * INSTALL: Updated. Make .tag and .taga work for all devices (but only grohtml actually handles them). * src/devices/grohtml/post-html.cpp: s/html-tag/devtag/. (text_glob::is_br, page::add_tag, html_printer::troff_tag, html_printer::handle_assertion): Don't use hard-coded string lengths. (html_printer::lookahead_for_table): Reset `tbl' properly if necessary. (html_printer::devtag): New function, handling `devtag'. (html_printer::special): Don't handle `html-tag'. * src/include/printer.h, src/libs/libdriver/printer.cpp (printer::devtag): New virtual function. * src/libs/libdriver/input.cpp (parse_x_command) <'X'>: Handle `devtag'. * src/roff/troff/env.cpp, src/roff/troff/mtsm.cpp, src/roff/troff/node.cpp: s/html-tag/devtag/. * src/roff/troff/input.cpp (tag, taga): Always call curenv->add_node. * tmac/an-old.tmac, tmac/s.tmac, tmac/troffrc-end: Use DEVTAG* macros instead of HTML-TAG*. * tmac/devtag.tmac: New file, defining the DEVTAG-* macros. * tmac/www.tmac: Load devtag.tmac. Replace HTML-TAG* macros with DEVTAG* macros. (HTML, HTML-NS): Changed definitions. (URL): Use HTML-NS. (HTML-TAG, HTML-TAG-NS, HTML-TAG-NEXT): Removed. * tmac/Makefile.sub (NORMALFILES): Add devtag.tmac.
* Integrate gxditview into groff's standard directory hierarchy.wlemb2004-06-011-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* * test-groff.in (SEP): Quote value.wlemb2003-12-311-1/+1
| | | | | | * src/roff/troff/node.cpp (suppress_node::tprint): Change type of `tem' to `char*' to avoid deallocation of a pointer to a constant object which some compilers don't like.
* More fixes for MSVC compiler.wlemb2003-12-301-0/+44
* doc/Makefile.sub, contrib/mom/Makefile.sub (GROFF_BIN_PATH): Use $(SEP). * src/include/nonposix.h (STDIN_FILENO, STDOUT_FILENO, STDERR_FILENO) [_MSC_VER]: Define conditionally. (getpid) [_MSC_VER]: Remove. Include direct.h and process.h conditionally. * src/roff/troff/node.cpp (suppress_node::tprint): Don't use parentheses for a_delete. * src/utils/lookbib/lookbib.cpp: Include nonposix.h. * test-groff: Replaced with... * test-groff.in: This new template to handle path separator properly. * configure.ac: Check for direct.h and process.h. Generate test-groff script. * configure, src/include/config.hin: Regenerated.