| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
ok joerg@
|
|
|
|
|
|
| |
calculation. E.g. .Sm can occur as direct child of .Bl.
OK schwarze@
|
|
|
|
|
| |
MANDOCERR_BODYLOST is not intended to be fatal;
required to unbreak the OpenBSD build
|
| |
|
| |
|
|
|
|
| |
and add one new .Bl -tag issue reported by Joerg
|
|
|
|
|
|
|
| |
This will eventually be used so that mdoc_macro can known whether to
dump list line arguments into the body (`Bl -column' overflowing).
Remove a2list() and arg_listtype() because of this.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
stringified in main.c.
Allow `An' to handle an argument and child (with a warning).
Allow `Rv' and `Ex' to work without a prior `Nm' as groff does (with a
warning).
Allow inconsistent column syntax to only raise a warning.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Installing roff.7 and added it to index.sgml.
Small fix for `D1' and `Bd' in -Thtml.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is the bsd.lv part of the main step to bring it back in sync.
At the same time, this prevents trailing whitespace in the output:
We delay writing blanks until we are sure printable characters follow.
This is achieved by
* remembering the end of the word instead of its length
* and not using vbl any longer for the control of line breaking
* such that vbl can sum up all kinds of white space
* before writing a word, printing all the blanks collected in vbl
* within the word, adding NBSP chars to vbl, then continuing with the word
* after the word, adding blanks to vbl, then starting the next word
"looks good" kristaps@
|
|
|
|
|
| |
Added test files for ie/el.
Using `if 0' as a baseline for "false" roff instructions instead of `if t'.
|
| |
|
|
|
|
| |
and `de1'. This is also documented in roff.7.
|
|
|
|
|
|
|
|
|
|
| |
conditional-negative context so as to preserve structural integrity.
Initial "rules" (deny/allow) are now inherited for future work in
evaluating conditionals.
Lint-fix noted by Joerg.
Added regression tests for zany constructs.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
.ig ig
asdf
.ig
fdsa
..
or
.ig if
asdf
.if n \
foo
for a laugh. It all works. Lots of regression tests supporting this
and documentation for the same.
|
|
|
|
| |
with .Bd.
|
|
|
|
|
| |
Check against some strange `.if' constructs I missed.
Added initial roff.7 manual.
|
| |
|
| |
|
|
|
|
| |
Consensus is on using a *.in for regression tests (symmetry-broken by Ingo).
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
constructs: single-level and multi-level blocks; nested, varied-level
blocks; recalculating buffer (begin) boundaries pushed correctly into
the back-ends, and so on. This will allow, once conditions are turned
on, for things like `.ie n .TH FOO 1' then `.el .Dd Mdocdate'. Read
it and weep.
|
|
|
|
|
|
|
|
|
| |
Allow roff_parseln() to manipulate the line buffer offset. This is used
in situations like `.ie n .TH FOO 1' or `.ie n .ie n', where the line
buffer offset is recalculated then the roff parser re-run.
Fix mdoc_parseln() and man_parseln() to accept the initial line offset.
WARNING: backed-out ALL roff macros whilst accomodating for how roff
handles multi-line conditionals (in short, re-running the parser).
|
|
|
|
|
|
| |
introduce a #define to get rid of the magic number
describing the ASCII character used to represent non-breaking space;
ok kristaps
|
| |
|
| |
|
|
|
|
| |
roff preprocessor.
|
| |
|
| |
|
|
|
|
| |
Initial warning/error messages in place (still experimental).
|
| |
|
|
|
|
| |
because roff instructions will be nixed from the underlying systems anyway.
|
| |
|
|
|
|
|
|
| |
with unified ones.
Add initial roff pre-processor shim, a compiler sitting outside of the other compilers that processes pure roff instructions.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
if TH is called again, which never happens anyway).
Fixed my email address in man_action.c and msec.c.
Removed superfluous <time.h> inclusion in msec.c.
|
|
|
|
|
|
| |
All manual sections (unknown, 3p, 3f, etc.) correctly handled by -mdoc.
Useful warning printed if unknown manual section.
Checking for manual sections (e.g., LIBRARY) checks only first character, so 3p, 3f, etc. are free.
|