[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 2/2] documentation for the locale keyword
From: |
Michal Vyskocil |
Subject: |
[PATCH 2/2] documentation for the locale keyword |
Date: |
Tue, 27 Sep 2011 11:53:30 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
---
doc/groff.texinfo | 5 +++--
man/groff_font.man | 6 ++++++
2 files changed, 9 insertions(+), 2 deletions(-)
diff --git a/doc/groff.texinfo b/doc/groff.texinfo
index 7b09e0f..87245f2 100644
--- a/doc/groff.texinfo
+++ b/doc/groff.texinfo
@@ -16530,8 +16530,9 @@ types @address@hidden, @address@hidden, @address@hidden,
significant for @var{string} if it holds predefined paper types.
Alternatively, @var{string} can be a file name (e.g.@:
@file{/etc/papersize}); if the file can be opened, @code{groff} reads
-the first line and tests for the above paper sizes. Finally,
address@hidden can be a custom paper size in the format
+the first line and tests for the above paper sizes. Or it can be a keyword
address@hidden, so groff will determine the papersize from system locale
+(@code{LC_ALL}).Finally, @var{string} can be a custom paper size in the format
@address@hidden,@var{width}} (no spaces before and after the comma).
Both @var{length} and @var{width} must have a unit appended; valid
values are @samp{i} for inches, @samp{C} for centimeters, @samp{p} for
diff --git a/man/groff_font.man b/man/groff_font.man
index 64bd212..dcd2813 100644
--- a/man/groff_font.man
+++ b/man/groff_font.man
@@ -150,6 +150,12 @@ can be a file name (e.g.\& `/etc/papersize'); if the file
can be opened,
.B groff
reads the first line and tests for the above paper sizes.
.
+Or
+.I string
+can be a keyword locale, so
+.B groff
+will determine the papersize from system locale (LC_ALL).
+.
Finally,
.I string
can be a custom paper size in the format
--
1.7.6.3
pgprgSqGYpZLN.pgp
Description: PGP signature