| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch introduces three new values to `.cflags':
don't break before character: 128
don't break after character: 256
allow inter-character break: 512
They are handled differently if compared to other cflags values:
(1) hcode values are completely ignored
(2) similar to kern values, and contrary to the other cflags
values, troff looks at pairs of characters to decide whether a
break gets inserted
A yet-to-be-written patch should add inter-character spacing if
those flags are active; currently, only zero-width breakpoints are
inserted.
* src/roff/troff/charinfo.h (charinfo): Change type of `flags' to
`int'. Update callers accordingly.
New enum values `DONT_BREAK_BEFORE', `DONT_BREAK_AFTER', and
`INTER_CHAR_SPACE'.
New member functions `prohibit_break_before',
`prohibit_break_after', and `inter_char_space'.
* src/roff/troff/input.cpp: Updated.
* src/roff/troff/node.cpp (inter_char_space_node): New class similar
to kern_pair_node, collecting charinfo entities with the
abovementioned cflags values.
(break_char_type): Add new enum values.
(glyph_node::merge_glyph_node): Handle abovementioned cflags values
and emit an `inter_char_space_node' if necessary.
* tmac/ja.tmac: Use new cflags values.
* doc/groff.texinfo, NEWS, man/groff_diff.man: Document new values.
|
|
|
|
|
|
|
| |
Remove trailing spaces.
* tmac/ja.tmac: New file.
* tmac/Makefile.sub (NORMALFILES): Updated.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* tmac/doc-common (doc-operating-system-NetBSD): Add versions 5.0,
5.0.1, and 5.0.2.
(doc-operating-system-OpenBSD-*): New strings.
(doc-operating-system-FreeBSD-*): Add version 8.1.
(doc-operating-system-DragonFly-*): Add versions 2.2, 2.4, 2.6, and
2.8.
(Os): Handle DragonFly and OpenBSD.
* tmac/groff_mdoc.man: Document OpenBSD releases.
Add DragonFly release 2.8.
|
|
|
|
|
|
| |
* tmac/groff_tmac.man: Fix prologue macro order.
Update NetBSD, FreeBSD, and DragonflyBSD version numbers.
Other minor layout improvements.
|
|
|
|
| |
From Krzysztof Zelechowski <giecrilj@stegny.2a.pl>
|
|
|
|
| |
Suggested by Krzysztof Zelechowski <giecrilj@stegny.2a.pl>.
|
|
|
|
| |
Problem reported by Ted.
|
|
|
|
|
|
| |
* tmac/doc-common: Add FreeBSD versions 7.2, 7.3, and 8.0
* tmac/doc-syms: Add Posix 2008
* tmac/groff_mdoc.man: Document it.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* tmac/s.tmac (@MC): Define `pg*col-top' after the paragraph has
been initialized. Otherwise, using this example,
.nh
.nf
.kern 0
.pl 6c
.ll 70n
.MC 30n
Text for multiple columns.
Text for multiple columns.
Text for multiple columns.
Text for multiple columns.
Text for multiple columns.
the columns start at different vertical positions.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
* tmac/doc-common (%U): New register.
(Rd): Handle `doc-url-count' and `doc-url-name'.
* tmac/doc.tmac (doc-url-count, doc-url-name): New registers.
(doc-save-global-vars, doc-restore-global-vars, doc-reset-reference,
doc-print-reference): Handle `doc-url-count' and `doc-url-name'.
(%U): New macro.
* NEWS, tmac/groff_mdoc.man: Document `%U' macro.
|
| |
|
|
|
|
| |
Reported by Seb <sbb@tuxfamily.org>.
|
|
|
|
| |
From Colin.
|
| |
|
|
|
|
|
| |
to...
(MOSTLYCLEANADD, MOSTLYCLEANNOTSRCDIRADD, MOSTLYCLEANDIRADD): This.
|
| |
|
| |
|
|
|
|
|
| |
EN), tmac/e.tmac (TS, TE, EQ, EN): Set line length to a large value
if processed with -Thtml.
|
|
|
|
|
| |
if processed with -Thtml to avoid warning messages (from code
inserted by tbl, for example).
|
| |
|
| |
|
| |
|
|
|
|
|
| |
(HTML</p>): Handle non-HTML devices.
(www:url_check_tag): Avoid warnings.
|
|
|
|
| |
conservatively to ASCII for the sake of easy cut and paste.
|
| |
|
|
|
|
| |
* NEWS, man/groff_tmac: man: Document it.
|
|
|
|
| |
Minor typos and simplifications.
|
|
|
|
|
|
| |
* tmac/www.tmac (BCL, BGIMG, PIMG, MPIMG, LNS): For the sake of
XHTML, quote more arguments.
(IMG): Fix quoting.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* tmac/www.tmac (www:url_breaks_splitted): Renamed to...
(www:url_breaks_split): This.
(www->): New string to close tag singletons like <img> or <hr>. In
XHTML mode (not implemented yet), this has to be changed from `>' to
`/>'.
(IMG): Don't use </img>
Use www->.
(PIMG, MPIMG): Don't use </img>
Use www->.
Fix doublequote issues.
(HR): Don't use </hr>.
Use www->.
(LNS): Fix doublequote issues.
|
| |
|
|
|
|
|
|
|
|
|
| |
headers.
* tmac/andoc.tmac (reload-doc): Simplify due to change in
doc-common.
* NEWS: Document it.
|
|
|
|
| |
NetBSD 4.0.1.
|
|
|
|
|
|
|
|
| |
Tadziu Hoffmann. It can now process multiple man pages with both
man and mdoc formats intermixed.
* NEWS, tmaca/groff_man.man, tmac/groff_mdoc.man,
man/groff_tmac.man: Document it.
|
| |
|
|
|
|
| |
default macros. This causes endless loops (at least for TE).
|
|
|
|
|
| |
\O[5] non-transparent w.r.t. beginning-of-line recognition (similar
to the other \O variants).
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(trace-full): New register to be set on the command line; it
controls whether number and string register assignments get traced
also.
(!!c): New macro for comments.
(rm): New traced macro.
(de, de1, am, am1): Use \\[xxx]\\ calling method to pass \$0 to
`!!xxx'; this makes doc.tmac completely traceable.
Trace call of .de and friends also.
* tmac/groff_tmac.man, NEWS: Update.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
Use `.de1' where possible to make source code more readable.
(so, mso, als, rn): Restore escape character before executing the
request.
(de, de1, am, am1): Trace `.foo' also if called as `\\[foo]'.
|
|
|
|
| |
Hoffmann.
|
|
|
|
| |
`.Nm' work properly if next manual page is printed.
|
|
|
|
|
|
| |
by Denis M. Wilson.
* tmac/www.tmac (.EQ, .EN, .TS, .TE): Fix definitions.
|
|
|
|
|
|
|
|
|
|
|
|
| |
In case of a forward reference in a call to .URL, write `(see below)'. In
case of a backwards reference use the page number instead. The reference
gets stored in a string `TAG_<label>' and can be overridden while calling
`.TAG' with its new optional argument -- this is useful for a second-pass
system which resolves forward references.
* tmac/www.tmac (www:url_check_tag): New function.
(URL): Use it.
(TAG): Add optional argument to define string `TAG_<label>.
|
|
|
|
|
|
|
|
|
|
|
| |
* tmac/www.tmac (PIMG): Replace `.ie' (without `.el') with `.if'.
If used with -mtrace, and this clause was active, the macro was
executed twice.
* tmac/pspic.tmac (PSPIC): Accept option `-C' for orthogonality.
This makes `.PIMG -C <file>' (from www.tmac) work on non-HTML
devices.
* man/groff_tmac.man: Document it.
|
|
|
|
|
|
|
|
|
|
| |
mention that it should never be called stand-alone.
* tmac/groff_www.man, doc/groff.texinfo, man/groff_font.man,
man/groff_tmac.man, man/groff_out.man, README, README.MinGW,
src/roff/groff/groff.man: Mention -Txhtml.
* man/groff_font.man, man/groff_tmac.man, man/roff.man: Revised.
|