summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* * src/libs/libgroff/tmpname.cpp (gen_tempname): Use O_BINARY.wl2013-11-061-2/+4
| | | | | | Problem reported by Charlie Van Dien <charlie@vandien.com>; see http://lists.gnu.org/archive/html/groff/2013-10/msg00006.html
* Fix overprinting issue with Acrobat reader.wl2013-07-311-2/+2
| | | | | | | | | Problem reported by Heinz-Jürgen Oertel <hj.oertel@t-online.de>. * src/devices/gropdf/gropdf.pl (do_t, FindChar): Use ascii octal notation (i.e., \015) when outputting characters with value < 32. This fixes a bug which affected acroread when control-M (cr) was embedded in a text string.
* * src/roff/grog/Makefile.sub (install_data, uninstall_sub): Typos.wl2013-07-161-4/+2
|
* [grolbp] Don't write trailer if no printer was created.wl2013-07-021-1/+2
| | | | * src/devices/grolbp/lbp.cpp (main): Implement it.
* Running text doesn't belong in the Synopsis section.esr2013-06-101-5/+5
|
* New project `contrib/RUNOFF'.bwarken2013-05-061-2/+2
| | | | Correction in `src/roff/groff/Makefile.sub'.
* src/roff/groff/Makefile.sub: Remove all `.PHONY:' lines.bwarken2013-05-011-4/+1
|
* src/roff/groff/Makefile.sub: Use $(GREP) instead of `egrep'. Don't usebwarken2013-04-301-6/+6
| | | | `$(CCSRCS)' any more as prerequisits..
* Makefile.in, m4/groff.m4: Add `@libprogramdir@' andbwarken2013-04-301-3/+2
| | | | | | | | | `$libprogramdir' (usually `/usr/local/lib/groff'). Change `$libdir/groff' into $libprogramdir for several `groff' programs. Run `autoreconf -I m4'. src/roff/groff/MAkefile.sub: Add $(DESTDIR) and $(srcdir) in order to support installation outside of source code.
* src/roff/groff/Makefile.sub: Replace some variables by shellbwarken2013-04-291-12/+13
| | | | commands. Improve the output for the `make' runs.
* src/roff/groff/Makefile.sub: Make this file a compatible Makefile.bwarken2013-04-281-21/+22
|
* src/roff/groff/Makefile.sub: Use `make' variables to getbwarken2013-04-281-12/+38
| | | | | `groff' options from `getopt' in `groff.cpp'. Create 2 files `groff_opts_no_arg.txt' and `groff_opts_with_arg.txt'.
* src/roff/groff:bwarken2013-04-262-177/+15
| | | | | | | `read_groff_options.pl' is no longer needed. `Makefile.sub': Get `groff' options from `getopt' in `groff.cpp'. Store it in a new file `groff_options.txt', which is installed in `groff libdir'.
* Various minor fixes.wl2013-04-261-8/+4
| | | | | | * INSTALL.gen: Take the newest version from the `gnulib' repository. * configure: Regenerated.
* src/roff/groff/read_groff_options.pl: Reads `groff' options frombwarken2013-04-251-0/+57
| | | | | | | `groff.cpp' and writes them into the file `groff_options.info'. src/roff/groff/Makefile.sub: Have the generated file `groff_options.info' be installed into the `groff libdir'.
* Add file <groff_top>/src/roff/groff/read_groff_options.plbwarken2013-04-251-0/+165
|
* INSTALL.gen: Replace this file by the daily `git' version ofbwarken2013-04-161-41/+49
| | | | | | | | | | | | | | | | | | | | | `automake' `INSTALL' file. INSTALL.autotools: Remove file. INSTALL.CVS: New file, moved from `INSTALL.autotools'. m4/ax_prog_perl_version.m4: New file, taken from package `autoconf-archive-2013.04.06'. m4/groff.m4: Remove unnecessary blank line. Makefile.in: Add `$(PERLVERSION)'. aclocal.m4: Run `autoreconf -I m4' (this includes `aclocal -I m4'). This creates a suitable `aclocal.m4'. Remove generated subdirectory `autom4te.cache'. src/roff/grog/Makefile.sub: Correct `sed' command. Use `tabs' that are needed by `GNU make'.
* Change $PERLPATH to $PERL.bwarken2013-04-154-11/+33
|
* grog: correct Makefile.subbwarken2013-04-121-35/+33
|
* grog: clear the file content in src/roff/grog/.bwarken2013-04-121-279/+0
|
* grog: perl_test.pl added to CVS.bwarken2013-04-121-0/+41
|
* grog: remove shell version. Add file perl_test.pl for testing the availablebwarken2013-04-121-18/+43
| | | | Perl version.
* * src/devices/grops/ps.h (resource_type): Add RESOURCE_FONTSET.wl2013-02-102-2/+5
|
* [grops] Make binary `%%BeginData' work; support `fontset' resource.wl2013-02-101-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | *src/devices/grops/psrm.cpp (resource_table): Add `fontset'. (resource_manager::read_resource_arg): Do a case insensitive comparison. The PostScript Reference Manual gives the following example for a CFF resource (example 5.7): %!PS-Adobe-3.0 Resource-FontSet %%DocumentNeedResources: ProcSet (FontSetInit) %%Title: (FontSet/CFFRoman27) %%Version: 1.000 %%EndComments %%IncludeResource: ProcSet (FontSetInit) %%BeginResource: FontSet (CFFRoman27) /FontSetInit /ProcSet findresource begin %%BeginData: 622532 Binary Bytes /CFFRoman27 622503 StartData ... 622,503 bytes of binary data ... %%EndData %%EndResource %%EOF Note the `ProcSet' and `FontSet' keywords. While the old DSC (Document Structure Convention) documentation doesn't cover `FontSet' at all (the DSC documentation predates the invention of CFF), it describes only `procset' (all letters downcase), and it also says that the DSC parser works in a case sensitive manner. In other words, `ProcSet' is not valid according to the DSC documentation, only `procset' is. So much about today's validity of DSC... This patch adapts grops's code to the PostScript reality. (resource_manager::do_begin_data): Fix typo (present since the beginning) which prevented correct handling of binary data.
* Version 1.22.2 releasedgroff-1_22_2_realwl2013-02-081-1/+1
| | | | | | | | | | | | ======================= * NEWS, REVISION, doc/groff.texinfo, doc/webpage.ms: Updated. * configure: Regenerated. * doc/texinfo.tex: Updated from `texinfo' repository. * src/roff/groff/groff.cpp (main) <'v'>: Update copyright year.
* * src/libs/gnulib/*: Update `gnulib' files.groff-1_22_2wl2013-02-0754-112/+108
|
* Whitespace.wl2013-02-021-2/+2
|
* [grohtml] Don't ignore return value of `dup'.wl2013-02-021-1/+6
| | | | | * src/preproc/html/pushback.cpp (pushBackBuffer::pushBackBuffer, pushBackBuffer::~pushBackBuffer): Abort if `dup' fails.
* Building clean-ups.wl2013-01-291-1/+2
| | | | | | | | | * Makefile.in: Use $(top_srcdir) where appropriate. * Makefile.sub (M4MACROS): Add `fcntl-o.m4' and `localcharset.m4'. * font/devpdf/Makefile.sub (UTILFILES): Removed, unused. (MOSTLYCLEANADD): Add `BuildFoundries'. * src/devices/gropdf/Makefile.sub (MOSTLYCLEANADD): Add `pdfmom'.
* Add email address groff-bernd.warken-72@web.de for Bernd Warken.bwarken2013-01-226-8/+8
|
* * src/devices/gropdf/gropdf.pl (do_x, do_p, do_s, Set_LWidth): Thewl2013-01-172-6/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | grops driver defaults to round linecaps and linejoins, gropdf incorrectly used butt caps and miter joins. (Since the MOM package expects to use butt caps and miter joins (emitting the necessary postscript code to change the caps and joins), gropdf now parses the same postscript commands.) * src/devices/gropdf/gropdf.man: Document the handling of linecaps and linejoins. * tmac/pdf.tmac (pdfbookmark): Fix bug where the current PDFOUTLINE.FOLDLEVEL may not be honoured if warnings of the type macro warning: adjusted level n bookmark; should be <= n Added copyright and mention debt owed to Keith Marshall for original `pdfmark.tmac', upon which `pdf.tmac' is largely based. * font/devpdf/Foundry.in, font/devpdf/util/BuildFoundries.pl (LocateFile): The font for EURO had the wrong entry in the `download' file (it pointed to The font in the build directory, which is wrong). It has always been permissable to include a path along with the font name in the Foundry file, but until now the font had to exist to be valid. It is now permitted to start the path with an asterisk which tells BuildFoundry to use the path/filename in the download file without checking if the font exists. This allows the font to be found in `../devps' even though it is not there during the build (if source and build are different), but will be there after the install.
* Oops, missed a line.wl2013-01-131-1/+1
|
* [eqn] Fix display of matrices in nroff output.wl2013-01-131-2/+2
| | | | | | | Problem reported by Andy Spencer <andy753421@gmail.com>. * src/preproc/eqn/pile.cpp (pile_box::compute_metrics): Fix rounding.
* [tbl] Allow characters #, `, and ' as eqn delimiters.wl2013-01-073-31/+68
| | | | | | | | | | | | | | | | While problems ` and ' have been unintentionally introduced rather recently, the limitation regarding # was there from the beginning. At the same time, fix a small bug causing `.lf' requests not starting a line. * src/preproc/tbl/table.cpp (table::init_output, table::compute_expand_width, table::compute_separation_factor, table::define_bottom_macro, table::do_bottom): Temporarily switch off eqn delimiters, wrapping the code into a `.ig' block. This uses the new functionality just added to eqn. * src/preproc/eqn/eqn.man, src/preproc/tbl/tbl.man: Updated.
* Revert previous change.wl2013-01-071-8/+4
|
* Whitespace.wl2013-01-071-4/+4
|
* [eqn] Handle border cases of `delim on' and `delim off'.wl2013-01-071-4/+8
| | | | | * src/preproc/eqn/lex.cpp (do_delim): Handle multiple sequences of `delim on' gracefully (ditto for `delim off').
* [eqn] Add `delim on'.wl2013-01-062-3/+31
| | | | | | | | | * src/preproc/eqn/lex.cpp (start_delim_saved, end_delim_saved): New global variables. (do_delim): Handle `delim on' to restore previous start and end delimiters. * src/preproc/eqn/eqn.man, NEWS: Document it.
* [gropdf] Various minor fixes.wl2013-01-041-7/+13
| | | | | | | | | | | | | * src/devices/gropdf/gropdf (do_x) <'X'> <'pdfpic'>: Using \X'pdf: pdfpic' with a zero width now works correctly. (LoadPDF): Scale width in proportion to given height. (do_s): In some circumstances a font size change is emitted before current font is established. Fix handles this situation.
* * src/libs/gnulib/*: Update `gnulib' files.wl2012-12-3047-1672/+5292
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Because we currently don't support `gnulib-tool' directly but add everything to the CVS repository, and many internal details of the gnulib setup has changed, it is necessary to do redo the import. . Temporarily rename `src/libs/gnulib' to `src/libs/gnulib.old'. . Call gnulib-tool --create-testdir \ --dir=src/libs/gnulib \ wcwidth . Manually move directories `src/libs/gnulib/gl{lib,m4}' to `src/libs/gnulib/{lib,m4}', and do `s/gllib/lib/' and `s/glm4/m4/' in all files to `convert' the gnulib testbed to a standard gnulib configuration as maintained by gnulib-tool. Additionally, remove the directory `src/libs/gnulib/gltests' and the references to `gltests' in all files. (All of this could be done with a script, but I hope that this is eventually replaced with migrating groff as a whole to gnulib and its setup). . Call gnulib-tool --add-import \ --dir=src/libs/gnulib \ wcwidth to update everything. . Merge the changed, new, and deleted files into `gnulib.old', delete `gnulib', rename `gnulib.old' to `gnulib', then commit.
* Version 1.22 releasedgroff-1_22wl2012-12-281-2/+2
| | | | | | | | | | | | | | | | ===================== * NEWS, VERSION, doc/groff.texinfo, doc/webpage.ms: Updated. * config.guess, config.sub: Updated from `config' repository. * INSTALL.gen: Updated from `gnulib' repository (file `INSTALL'). * aclocal.m4, configure: Regenerated. * doc/texinfo.tex: Updated from `texinfo' repository. * src/roff/groff/groff.cpp (main) <'v'>: Update copyright year.
* * src/devices/gropdf/gropdf: The command \D't N' moves horizontalwl2012-10-171-7/+9
| | | | | | | position by 'N'. gropdf now obeys this rule. Fixed kerning issue where width of non-kerned text could be wrongly calculated using previous kern factor.
* [gropdf] Various minor fixes.wl2012-09-202-2/+4
| | | | | | | | | | | | | | * font/devpdf/Foundry.in: Add font path to debian `gsfonts' package. * font/devpdf/util/BuildFoundries.pl: Handle missing fonts in a more sane way, do NOT abort the complete make run! * src/devices/gropdf/gropdf: Accept papersize names (i.e. A4) as either upper or lower case. The -p (papersize) option should be length,width (currently reversed - width,length) * src/devices/gropdf/pdfmom.pl: Support use of GROFF_BIN_PATH.
* * src/preproc/tbl/tbl.man: Better document `d' column specifier.wl2012-09-111-2/+57
|
* Add `pdfmom' to handle mom documents with gropdf.wl2012-08-314-10/+244
| | | | | | | | | | | | | | | | | * Makefile.in (OTHERDIRS): Move contrib/mom to be run after devices/gropdf. * src/devices/gropdf/gropdf.pl: Various fixes: . Correct image scaling issue. . Handle relative horizontal movement 'h' followed by absolute vertical movement 'V'. . Correct handling of track kerning. * src/devices/gropdf/pdfmom.pl: New wrapper for mom (pdfmom) using gropdf or grops driver. * src/devices/gropdf/pdfmom.man: New man page. * src/devices/gropdf/Makefile.sub: Updated to handle new files.
* Provide proper Unicode mapping from and to dotless j.wl2012-08-102-1/+3
| | | | | * src/libs/libgroff/glyphuni.cpp (glyph_to_unicode_list), src/libs/libgroff/uniglyph.cpp (unicode_to_glyph_list): Add it.
* Make this page translatable to DocBook.esr2012-07-201-6/+4
|
* Remove running text from Synopsis, it screws up mechanical parsing.esr2012-07-071-4/+4
|
* Remove running text from Synopsis, it screws up mechanical parsing.esr2012-07-072-6/+6
|
* Remove running text from Synopsis, it screws up mechanical parsing.esr2012-07-072-8/+8
|