diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2011-01-30 16:05:37 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2011-01-30 16:05:37 +0000 |
commit | b60f8021eeb3855308829414f20eca4897096fa7 (patch) | |
tree | fde633a186759120328c6e6ae9c0e5f2bd8fbe5a /out.h | |
parent | 739c1eaf9cb6f5ff01a9c080620dfb1542000215 (diff) | |
download | mandoc-b60f8021eeb3855308829414f20eca4897096fa7.tar.gz mandoc-b60f8021eeb3855308829414f20eca4897096fa7.tar.zst mandoc-b60f8021eeb3855308829414f20eca4897096fa7.zip |
Implement the \N'number' (numbered character) roff escape sequence.
Don't use it in new manuals, it is inherently non-portable, but we
need it for backward-compatibility with existing manuals, for example
in Xenocara driver pages.
ok kristaps@ jmc@ and tested by Matthieu Herrb (matthieu at openbsd dot org)
Diffstat (limited to 'out.h')
-rw-r--r-- | out.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1,6 +1,6 @@ -/* $Id: out.h,v 1.15 2011/01/05 15:37:23 kristaps Exp $ */ +/* $Id: out.h,v 1.16 2011/01/30 16:05:37 schwarze Exp $ */ /* - * Copyright (c) 2009 Kristaps Dzonsons <kristaps@bsd.lv> + * Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv> * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -52,6 +52,7 @@ enum roffscale { enum roffdeco { DECO_NONE, + DECO_NUMBERED, /* numbered character */ DECO_SPECIAL, /* special character */ DECO_SSPECIAL, /* single-char special */ DECO_RESERVED, /* reserved word */ |