| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
|
|
|
|
|
| |
in the index. This allows, with both the btree and index, full emulation
of apropos(1) and other goodies.
|
|
|
|
|
|
| |
\# Everything up to and including the next newline is
ignored. This is interpreted in copy mode. This is like \"
except that the terminating newline is ignored as well.
|
|
|
|
|
|
| |
value part of the index. This is the actual manual section---before,
mandoc.cgi was relying on the file suffix, but this can be (e.g.) .man or
whatnot. This is The Correct Way (tm).
|
|
|
|
| |
STYLE attributes, and so on. Now renders nicely in lynx.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
a public (mandoc.h) function mandoc_escape(), which merges the
functionality of both prior functions.
Reason: code duplication. The a2roffdeco() and mandoc_special()
functions were pretty much the same thing and both quite complex. This
allows one function to receive improvements in (e.g.) subexpression
handling and performance, instead of having to replicate functionality.
As such, the mandoc_escape() function already handles a superset of the
escapes handled in previous versions and has improvements in performance
(using strcspn(), for example) and reliable handling of subexpressions.
This code Works For Me, but may need work to catch any regressions.
Since the benefits are great (leaner code, simpler API), I'd rather have
it in-tree than floating as a patch.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
non-macro lines as "text lines" (after defining them as such). Clean up
notion of font scope. Note comma usage in multiple `Nm's. Note
ordering of SYNOPSIS section stuff. Add some bits about DESCRIPTION
syntax (brief description, then args). Note that `Bl' can also contain
HEAD. Finally, fix some `Cm' entries to be properly `Ar'.
Ok Jason McIntyre.
|
|
|
|
|
| |
Bug reported by Tristan dot LeGuern at gmail dot com in fvwm2(1).
tweaks and ok kristaps@; earlier version looked good to espie@ as well
|
| |
|
|
|
|
| |
manuals. This covers the majority case.
|
|
|
|
| |
segfault in NetBSD.
|
|
|
|
| |
documents.
|
| |
|
|
|
|
| |
From a patch by Yuri Pankov, thanks!
|
|
|
|
| |
perusal of online manuals.
|
| |
|
| |
|
| |
|
|
|
|
| |
those that are quoted and not angular-bracketed).
|
|
|
|
| |
being used.
|
|
|
|
| |
twice.
|
| |
|
| |
|
|
|
|
| |
includes an unreported bug where `Ex' wasn't properly adding a newline.
|
| |
|
|
|
|
|
| |
output. This also makes it easier to read. While here, remove
superfluous assignment to local variables for this and `Mt'.
|
| |
|
|
|
|
|
| |
assumptions about its children. Also remove superfluous reassignment to
local variable.
|
|
|
|
| |
variables.
|
|
|
|
|
| |
first argument. groff of course doesn't do links, but it will uglify
subsequent arguments in the list (we warn about >1, anyway).
|
|
|
|
|
| |
the generated index and keyword databases). Add some documentation
within mandoc-db.c.
|
|
|
|
| |
keyword database, which references the index of hard-coding files.
|
|
|
|
|
|
| |
database from a directory, instead of a path. This is because it'll
also output an index of files to that same directory. Add documentation
to the local variable names, too.
|
|
|
|
|
|
| |
throw assertions due to per-file-error not being properly set in mmsg().
This is reasonable behaviour (we shouldn't be able to ignore FATAL after
all). Thus, make sure wlevel is sanitised.
|
| |
|
|
|
|
| |
non-zero. From a PR by Yuri Pankov, ok schwarze@.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This will be used during BSDCan-2011, paired with a web front-end, as a
demonstrandum of semantic annotations (mdoc) versus those of man. This
isn't linked to the build in any way but for cleaning created files. This
code has been heavily tested under valgrind and is known to work on
GNU/Linux (needs -ldb library), all BSDs, and Mac OSX.
Please don't repost this, for the time being, as I don't want to spoil the
fun for the conference. This utility is still constantly under development
(e.g., it will also generate a recno database of filenames and `Nd' output
so that paths needn't be hard-coded) but is mature enough to warrant being
checked in.
|
|
|
|
|
| |
included in the brackets. We really should have a warning about this,
but that'll wait for another day.
|
|
|
|
| |
'...' have a properly-escaped initial dot.
|
| |
|
|
|
|
| |
Alexander Schrijver---thanks!
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
line. Note that we now properly ignore \.", which earlier would have
been pushed through macro detection. This required attention to all
entries of roff_parse().
This removes a TODO by schwarze@ to the effect that \. can be a control
character, which is now handled in mandoc_getcontrol().
|
| |
|
|
|
|
| |
macro has been invoked. libroff is next.
|